Type Alias DecreaseLiquidityParams

DecreaseLiquidityParams: {
    position: PublicKey;
    positionAuthority: PublicKey;
    positionTokenAccount: PublicKey;
    tickArrayLower: PublicKey;
    tickArrayUpper: PublicKey;
    tokenOwnerAccountA: PublicKey;
    tokenOwnerAccountB: PublicKey;
    tokenVaultA: PublicKey;
    tokenVaultB: PublicKey;
    whirlpool: PublicKey;
} & DecreaseLiquidityInput

Parameters to remove liquidity from a position.

The total amount of Liquidity the user is withdrawing

The minimum amount of token A to remove from the position.

The minimum amount of token B to remove from the position.

PublicKey for the whirlpool that the position will be opened for.

PublicKey for the position will be opened for.

PublicKey for the position token's associated token address.

PublicKey for the token A account that will be withdrawed from.

PublicKey for the token B account that will be withdrawed from.

PublicKey for the tokenA vault for this whirlpool.

PublicKey for the tokenB vault for this whirlpool.

PublicKey for the tick-array account that hosts the tick at the lower tick index.

PublicKey for the tick-array account that hosts the tick at the upper tick index.

authority that owns the token corresponding to this desired position.