Class

UniswapV3Pool

UniswapV3Pool(options)

Constructor

# new UniswapV3Pool(options)

UniswapV3Pool Object

Parameters:
Name Type Description
options UniswapV3Pool~Options

View Source models/Uniswap/UniswapV3Pool.js, line 4

Type Definitions

Object

# burnType

Properties:
Name Type Description
amount0 uint256
amount1 uint256

View Source models/Uniswap/UniswapV3Pool.js, line 14

Object

# collectProtocolType

Properties:
Name Type Description
amount0 uint128
amount1 uint128

View Source models/Uniswap/UniswapV3Pool.js, line 64

Object

# collectType

Properties:
Name Type Description
amount0 uint128
amount1 uint128

View Source models/Uniswap/UniswapV3Pool.js, line 37

Object

# mintType

Properties:
Name Type Description
amount0 uint256
amount1 uint256

View Source models/Uniswap/UniswapV3Pool.js, line 170

Object

# observationsType

Properties:
Name Type Description
blockTimestamp uint32
tickCumulative int56
secondsPerLiquidityCumulativeX128 uint160
initialized bool

View Source models/Uniswap/UniswapV3Pool.js, line 197

Object

# observeType

Properties:
Name Type Description
tickCumulatives Array.<int56>
secondsPerLiquidityCumulativeX128s Array.<uint160>

View Source models/Uniswap/UniswapV3Pool.js, line 212

Object

# positionsType

Properties:
Name Type Description
liquidity uint128
feeGrowthInside0LastX128 uint256
feeGrowthInside1LastX128 uint256
tokensOwed0 uint128
tokensOwed1 uint128

View Source models/Uniswap/UniswapV3Pool.js, line 229

Object

# protocolFeesType

Properties:
Name Type Description
token0 uint128
token1 uint128

View Source models/Uniswap/UniswapV3Pool.js, line 245

Object

# slot0Type

Properties:
Name Type Description
sqrtPriceX96 uint160
tick int24
observationIndex uint16
observationCardinality uint16
observationCardinalityNext uint16
feeProtocol uint8
unlocked bool

View Source models/Uniswap/UniswapV3Pool.js, line 274

Object

# snapshotCumulativesInsideType

Properties:
Name Type Description
tickCumulativeInside int56
secondsPerLiquidityInsideX128 uint160
secondsInside uint32

View Source models/Uniswap/UniswapV3Pool.js, line 300

Object

# swapType

Properties:
Name Type Description
amount0 int256
amount1 int256

View Source models/Uniswap/UniswapV3Pool.js, line 324

Object

# ticksType

Properties:
Name Type Description
liquidityGross uint128
liquidityNet int128
feeGrowthOutside0X128 uint256
feeGrowthOutside1X128 uint256
tickCumulativeOutside int56
secondsPerLiquidityOutsideX128 uint160
secondsOutside uint32
initialized bool

View Source models/Uniswap/UniswapV3Pool.js, line 366