Expand description
Module containing a contract’s types and functions.
interface IPancakeV3Pool {
function factory() external view returns (address);
function token0() external view returns (address);
function token1() external view returns (address);
function fee() external view returns (uint24);
function tickSpacing() external view returns (int24);
function maxLiquidityPerTick() external view returns (uint128);
function slot0() external view returns (uint160 sqrtPriceX96, int24 tick, uint16 observationIndex, uint16 observationCardinality, uint16 observationCardinalityNext, uint32 feeProtocol, bool unlocked);
function feeGrowthGlobal0X128() external view returns (uint256);
function feeGrowthGlobal1X128() external view returns (uint256);
function protocolFees() external view returns (uint128 token0, uint128 token1);
function liquidity() external view returns (uint128);
function ticks(int24 tick) external view returns (uint128 liquidityGross, int128 liquidityNet, uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128, int56 tickCumulativeOutside, uint160 secondsPerLiquidityOutsideX128, uint32 secondsOutside, bool initialized);
function tickBitmap(int16 wordPosition) external view returns (uint256);
function positions(bytes32 key) external view returns (uint128 _liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1);
function observations(uint256 index) external view returns (uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulativeX128, bool initialized);
}
Modules§
- Contains dynamic ABI definitions for this contract.
Structs§
- A
IPancakeV3Pool
instance. - Function with signature
factory()
and selector0xc45a0155
. - Container type for the return parameters of the
factory()
function. - Function with signature
fee()
and selector0xddca3f43
. - Function with signature
feeGrowthGlobal0X128()
and selector0xf3058399
. - Container type for the return parameters of the
feeGrowthGlobal0X128()
function. - Function with signature
feeGrowthGlobal1X128()
and selector0x46141319
. - Container type for the return parameters of the
feeGrowthGlobal1X128()
function. - Container type for the return parameters of the
fee()
function. - Function with signature
liquidity()
and selector0x1a686502
. - Container type for the return parameters of the
liquidity()
function. - Function with signature
maxLiquidityPerTick()
and selector0x70cf754a
. - Container type for the return parameters of the
maxLiquidityPerTick()
function. - Function with signature
observations(uint256)
and selector0x252c09d7
. - Container type for the return parameters of the
observations(uint256)
function. - Function with signature
positions(bytes32)
and selector0x514ea4bf
. - Container type for the return parameters of the
positions(bytes32)
function. - Function with signature
protocolFees()
and selector0x1ad8b03b
. - Container type for the return parameters of the
protocolFees()
function. - Function with signature
slot0()
and selector0x3850c7bd
. - Container type for the return parameters of the
slot0()
function. - Function with signature
tickBitmap(int16)
and selector0x5339c296
. - Container type for the return parameters of the
tickBitmap(int16)
function. - Function with signature
tickSpacing()
and selector0xd0c93a7c
. - Container type for the return parameters of the
tickSpacing()
function. - Function with signature
ticks(int24)
and selector0xf30dba93
. - Container type for the return parameters of the
ticks(int24)
function. - Function with signature
token0()
and selector0x0dfe1681
. - Container type for the return parameters of the
token0()
function. - Function with signature
token1()
and selector0xd21220a7
. - Container type for the return parameters of the
token1()
function.
Enums§
- Container for all the
IPancakeV3Pool
function calls.
Functions§
- Creates a new wrapper around an on-chain
IPancakeV3Pool
contract instance.