Skip to main content
Contains functions for managing tick processes and relevant calculations

Functions

tickSpacingToMaxLiquidityPerTick

Derives max liquidity per tick from given tick spacing Executed within the pool constructor

Parameters:

Return Values:

getFeeGrowthInside

Retrieves fee growth data

Parameters:

Return Values:

update

Updates a tick and returns true if the tick was flipped from initialized to uninitialized, or vice versa

Parameters:

Return Values:

clear

Clears tick data

Parameters:

cross

Transitions to next tick as needed by price movement

Parameters:

Return Values: