Module pool_sync::filter::LiquidityFilter

source ·
Expand description

Generated by the following Solidity interface…

interface LiquidityFilter {
    constructor(address[] pools, address[] dexes, bool[] dexIsUniV3, address weth, uint256 wethInPoolThreshold);

    function tokenToWethPrices(address) external view returns (uint128);
}

…which was generated by the following JSON ABI:

[
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "pools",
        "type": "address[]",
        "internalType": "address[]"
      },
      {
        "name": "dexes",
        "type": "address[]",
        "internalType": "address[]"
      },
      {
        "name": "dexIsUniV3",
        "type": "bool[]",
        "internalType": "bool[]"
      },
      {
        "name": "weth",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "wethInPoolThreshold",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "tokenToWethPrices",
    "inputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint128",
        "internalType": "uint128"
      }
    ],
    "stateMutability": "view"
  }
]

Structs§

Enums§

Statics§

  • The creation / init bytecode of the contract.
  • The runtime bytecode of the contract, as deployed on the network.

Functions§

  • Deploys this contract using the given provider and constructor arguments, if any.
  • Creates a RawCallBuilder for deploying this contract using the given provider and constructor arguments, if any.
  • Creates a new wrapper around an on-chain LiquidityFilter contract instance.