Skip to main content
Positions represent an owner address’ liquidity between a lower and upper tick boundary Positions store additional state for tracking fees owed to the position

Functions

get

Returns the Info struct of a position, given an owner and position boundaries

Parameters:

Return Values:

update

Credits accumulated fees to a user’s position and updates period-based reward accounting

Parameters:

positionHash

Returns the hash used to store positions in a mapping: keccak256(abi.encodePacked(owner, index, tickLower, tickUpper))

Parameters: