Documentation
    Preparing search index...

    Type Alias IncreaseLiquidityQuoteParam

    The amount of input tokens to deposit.

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

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

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

    The Whirlpool's current tickIndex

    The Whirlpool's current sqrtPrice

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

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

    The maximum slippage allowed when calculating the minimum tokens received.

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

    Properties

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