Documentation
    Preparing search index...

    Type Alias IncreaseLiquidityQuoteByLiquidityParam

    The amount of liquidity value to deposit into the Whirlpool.

    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 IncreaseLiquidityQuoteByLiquidityParam = {
        liquidity: BN;
        slippageTolerance: Percentage;
        sqrtPrice: BN;
        tickCurrentIndex: number;
        tickLowerIndex: number;
        tickUpperIndex: number;
        tokenExtensionCtx: TokenExtensionContextForPool;
    }
    Index

    Properties

    liquidity: BN
    slippageTolerance: Percentage
    sqrtPrice: BN
    tickCurrentIndex: number
    tickLowerIndex: number
    tickUpperIndex: number
    tokenExtensionCtx: TokenExtensionContextForPool