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§
- A
LiquidityFilterinstance. - Constructor`.
- Function with signature
tokenToWethPrices(address)and selector0x0ed45c8e. - Container type for the return parameters of the
tokenToWethPrices(address)function.
Enums§
- Container for all the
LiquidityFilterfunction calls.
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
providerand constructor arguments, if any. - Creates a
RawCallBuilderfor deploying this contract using the givenproviderand constructor arguments, if any. - Creates a new wrapper around an on-chain
LiquidityFiltercontract instance.