Burn a Position
Last updated
Last updated
Β© 2024 Stryke
Burn an existing position using the specified handler.
Parameters
Name | Type | Description |
---|---|---|
Returns
Name | Type | Description |
---|---|---|
The `_burnPositionData
` parameter has to be constructed the following way:
Field Name | Type | Description |
---|---|---|
_handler
IHandler
The address of the handler to use.
_burnPositionData
bytes
The data required to burn the position.
sharesBurned
uint256
The number of shares burned.
pool
IUniswapV3Pool
The Uniswap V3 pool contract
hook
address
The address of the hook contract
tickLower
int24
The lower tick of the position
tickUpper
int24
The upper tick of the position
shares
uint128
The amount of shares to burn