Mint a Position
Last updated
Last updated
Β© 2024 Stryke
Mint a new position using the specified handler.
Parameters
Name | Type | Description |
---|---|---|
Returns
Name | Type | Description |
---|---|---|
The `_mintPositionData` parameter has to be constructed the following way:
Field Name | Type | Description |
---|---|---|
_handler
IHandler
The address of the handler to use.
_mintPositionData
bytes
The data required to mint the position.
sharesMinted
uint256
The number of shares minted.
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