Type alias IncreaseLiquidityInput

IncreaseLiquidityInput: {
    liquidityAmount: BN;
    tokenMaxA: BN;
    tokenMaxB: BN;
}

Input parameters to deposit liquidity into a position.

This type is usually generated by a quote class to estimate the amount of tokens required to deposit a certain amount of liquidity into a position.

Type declaration

  • liquidityAmount: BN
  • tokenMaxA: BN
  • tokenMaxB: BN

Param: tokenMaxA

the maximum amount of tokenA allowed to withdraw from the source wallet.

Param: tokenMaxB

the maximum amount of tokenB allowed to withdraw from the source wallet.

Param: liquidityAmount

the desired amount of liquidity to deposit into the position/

Generated using TypeDoc