loom_defi_abi::uniswap4

Module IUniswapV4Pool

Source
Expand description

Module containing a contract’s types and functions.

interface IUniswapV4Pool {
    struct Slot0 { uint160 sqrtPriceX96; int24 tick; uint16 protocolFee; uint24 swapFee; }
    struct TickInfo { uint128 liquidityGross; int128 liquidityNet; uint256 feeGrowthOutside0X128; uint256 feeGrowthOutside1X128; }
    struct SwapParams { int24 tickSpacing; bool zeroForOne; int256 amountSpecified; uint160 sqrtPriceLimitX96; }
    struct ModifyPositionParams { address owner; int24 tickLower; int24 tickUpper; int128 liquidityDelta; int24 tickSpacing; }
}

Structs§