globalState()
view external
The globalState structure in the pool stores many values but requires only one slot and is exposed as a single method to save gas when accessed externally.
Returns:
Name | Type | Description |
---|---|---|
totalFeeGrowth0Token()
view external
The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool
Returns:
totalFeeGrowth1Token()
view external
The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool
Returns:
liquidity()
view external
The currently in range liquidity available to the pool
Returns:
ticks(int24)
view external
Look up information about a specific tick in the pool
Returns:
tickTable(int16)
view external
Returns 256 packed tick initialized boolean values. See TickTable for more information
Returns:
positions(bytes32)
view external
Returns the information about a position by the position's key
Returns:
timepoints(uint256)
view external
Returns data about a specific timepoint index
Returns:
activeIncentive()
view external
Returns the information about active incentive
Returns:
liquidityCooldown()
view external
Returns the lock time for added liquidity
Returns:
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|