modifier lock()
internal
Developer note: Reentrancy protection. Implemented in every function of the contract since there are checks of balances.
The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool
Developer note: This value can overflow the uint256
The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool
Developer note: This value can overflow the uint256
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.
The currently in range liquidity available to the pool
Developer note: This value has no relationship to the total liquidity across all ticks. Returned value cannot exceed type(uint128).max
Returns the lock time for added liquidity
Returns the information about active incentive
Developer note: if there is no active incentive at the moment, virtualPool,endTimestamp,startTimestamp would be equal to 0
The pool tick spacing
Developer note: Ticks can only be used at multiples of this value e.g.: a tickSpacing of 60 means ticks can be initialized every 60th tick, i.e., ..., -120, -60, 0, 60, 120, ... This value is an int24 to avoid casting even though it is always positive.
Look up information about a specific tick in the pool
Developer note: This is a public structure, so the `return` natspec tags are omitted.
Returns 256 packed tick initialized boolean values. See TickTable for more information