Burn a Position
Burn an existing position using the specified handler.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the handler to use. |
|
| The data required to burn the position. |
Returns
Name | Type | Description |
---|---|---|
|
| The number of shares burned. |
The `_burnPositionData
` parameter has to be constructed the following way:
BurnPositionParams Struct
Field Name | Type | Description |
---|---|---|
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 |
Last updated