Type Alias DecreaseLiquidityInput<TAccountWhirlpool, TAccountTokenProgram, TAccountPositionAuthority, TAccountPosition, TAccountPositionTokenAccount, TAccountTokenOwnerAccountA, TAccountTokenOwnerAccountB, TAccountTokenVaultA, TAccountTokenVaultB, TAccountTickArrayLower, TAccountTickArrayUpper>

DecreaseLiquidityInput: {
    liquidityAmount: DecreaseLiquidityInstructionDataArgs["liquidityAmount"];
    position: Address<TAccountPosition>;
    positionAuthority: TransactionSigner<TAccountPositionAuthority>;
    positionTokenAccount: Address<TAccountPositionTokenAccount>;
    tickArrayLower: Address<TAccountTickArrayLower>;
    tickArrayUpper: Address<TAccountTickArrayUpper>;
    tokenMinA: DecreaseLiquidityInstructionDataArgs["tokenMinA"];
    tokenMinB: DecreaseLiquidityInstructionDataArgs["tokenMinB"];
    tokenOwnerAccountA: Address<TAccountTokenOwnerAccountA>;
    tokenOwnerAccountB: Address<TAccountTokenOwnerAccountB>;
    tokenProgram?: Address<TAccountTokenProgram>;
    tokenVaultA: Address<TAccountTokenVaultA>;
    tokenVaultB: Address<TAccountTokenVaultB>;
    whirlpool: Address<TAccountWhirlpool>;
}

Type Parameters

  • TAccountWhirlpool extends string = string
  • TAccountTokenProgram extends string = string
  • TAccountPositionAuthority extends string = string
  • TAccountPosition extends string = string
  • TAccountPositionTokenAccount extends string = string
  • TAccountTokenOwnerAccountA extends string = string
  • TAccountTokenOwnerAccountB extends string = string
  • TAccountTokenVaultA extends string = string
  • TAccountTokenVaultB extends string = string
  • TAccountTickArrayLower extends string = string
  • TAccountTickArrayUpper extends string = string

Type declaration