Burn a Position
Burn an existing position using the specified handler.
Parameters
| Name | Type | Description |
|---|---|---|
_handler | IHandler | The address of the handler to use. |
_burnPositionData | bytes | The data required to burn the position. |
Returns
| Name | Type | Description |
|---|---|---|
sharesBurned | uint256 | 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 |