Mint a Position
Mint a new position using the specified handler.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the handler to use. |
|
| The data required to mint the position. |
Returns
Name | Type | Description |
---|---|---|
|
| The number of shares minted. |
The `_mintPositionData` parameter has to be constructed the following way:
MintPositionParams 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 |
liquidity | uint128 | The amount of liquidity to mint |
Last updated