Add Liquidity
More liquidity can be added to an open position through the addLiquidity
function. This function requires, as input:
positionId
-> id of the corresponding farming positionFarmingPositionRequest
struct
Like the openPosition
function, the addLiquidity
function internally calls the _addLiquidity
method (passing the already created NFT id of the position), which internally calls the _increaseLiquidity
method of the INonfungiblePositionManager
to add liquidity to the NFT.
Last updated