Position
Manages and updates the position information
get
Retrieves the position information for the given owner and tick range
Params:
Name
Type
Description
self
mapping(bytes32 => PositionInfo)
Storage mapping for position information
owner
address
The owner of the position
tickLower
int24
The lower tick of the position range
tickUpper
int24
The upper tick of the position range
Returns:
Name
Type
Description
position
PositionInfo
update
Updates the position information based on the liquidity delta and growth information
Params:
Name
Type
Description
self
PositionInfo
liquidityDelta
int128
The change in pool liquidity for the position
insideLast
GrowthX128
Last updated
Was this helpful?