Documentation
    Preparing search index...

    Type Alias DecreaseLiquidityQuoteParam

    The desired liquidity to withdraw from the Whirlpool

    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 DecreaseLiquidityQuoteParam = {
        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