Mint a Position
Last updated
Was this helpful?
Last updated
Was this helpful?
Mint a new position using the specified handler.
Parameters
_handler
IHandler
The address of the handler to use.
_mintPositionData
bytes
The data required to mint the position.
Returns
sharesMinted
uint256
The number of shares minted.
The `_mintPositionData` parameter has to be constructed the following way:
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