Type alias IncreaseLiquidityQuoteParam

IncreaseLiquidityQuoteParam: {
    inputTokenAmount: BN;
    inputTokenMint: PublicKey;
    slippageTolerance: Percentage;
    sqrtPrice: BN;
    tickCurrentIndex: number;
    tickLowerIndex: number;
    tickUpperIndex: number;
    tokenExtensionCtx: TokenExtensionContextForPool;
    tokenMintA: PublicKey;
    tokenMintB: PublicKey;
}

Type declaration

  • inputTokenAmount: BN
  • inputTokenMint: PublicKey
  • slippageTolerance: Percentage
  • sqrtPrice: BN
  • tickCurrentIndex: number
  • tickLowerIndex: number
  • tickUpperIndex: number
  • tokenExtensionCtx: TokenExtensionContextForPool
  • tokenMintA: PublicKey
  • tokenMintB: PublicKey

Param: inputTokenAmount

The amount of input tokens to deposit.

Param: inputTokenMint

The mint of the input token the user would like to deposit.

Param: tokenMintA

The mint of tokenA in the Whirlpool the user is depositing into.

Param: tokenMintB

The mint of tokenB in the Whirlpool the user is depositing into.

Param: tickCurrentIndex

The Whirlpool's current tickIndex

Param: sqrtPrice

The Whirlpool's current sqrtPrice

Param: tickLowerIndex

The lower index of the position that we are withdrawing from.

Param: tickUpperIndex

The upper index of the position that we are withdrawing from.

Param: slippageTolerance

The maximum slippage allowed when calculating the minimum tokens received.

Generated using TypeDoc