Function getDecreaseLiquidityV2Instruction
- getDecreaseLiquidityV2Instruction<
TAccountWhirlpool extends string,
TAccountTokenProgramA extends string,
TAccountTokenProgramB extends string,
TAccountMemoProgram extends string,
TAccountPositionAuthority extends string,
TAccountPosition extends string,
TAccountPositionTokenAccount extends string,
TAccountTokenMintA extends string,
TAccountTokenMintB extends string,
TAccountTokenOwnerAccountA extends string,
TAccountTokenOwnerAccountB extends string,
TAccountTokenVaultA extends string,
TAccountTokenVaultB extends string,
TAccountTickArrayLower extends string,
TAccountTickArrayUpper extends string,
TProgramAddress extends
Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">,
>(
input: DecreaseLiquidityV2Input<
TAccountWhirlpool,
TAccountTokenProgramA,
TAccountTokenProgramB,
TAccountMemoProgram,
TAccountPositionAuthority,
TAccountPosition,
TAccountPositionTokenAccount,
TAccountTokenMintA,
TAccountTokenMintB,
TAccountTokenOwnerAccountA,
TAccountTokenOwnerAccountB,
TAccountTokenVaultA,
TAccountTokenVaultB,
TAccountTickArrayLower,
TAccountTickArrayUpper,
>,
config?: { programAddress?: TProgramAddress },
): DecreaseLiquidityV2Instruction<
TProgramAddress,
TAccountWhirlpool,
TAccountTokenProgramA,
TAccountTokenProgramB,
TAccountMemoProgram,
TAccountPositionAuthority,
TAccountPosition,
TAccountPositionTokenAccount,
TAccountTokenMintA,
TAccountTokenMintB,
TAccountTokenOwnerAccountA,
TAccountTokenOwnerAccountB,
TAccountTokenVaultA,
TAccountTokenVaultB,
TAccountTickArrayLower,
TAccountTickArrayUpper,
> Type Parameters
- TAccountWhirlpool extends string
- TAccountTokenProgramA extends string
- TAccountTokenProgramB extends string
- TAccountMemoProgram extends string
- TAccountPositionAuthority extends string
- TAccountPosition extends string
- TAccountPositionTokenAccount extends string
- TAccountTokenMintA extends string
- TAccountTokenMintB extends string
- TAccountTokenOwnerAccountA extends string
- TAccountTokenOwnerAccountB extends string
- TAccountTokenVaultA extends string
- TAccountTokenVaultB extends string
- TAccountTickArrayLower extends string
- TAccountTickArrayUpper extends string
- TProgramAddress extends Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">
Parameters
- input: DecreaseLiquidityV2Input<
TAccountWhirlpool,
TAccountTokenProgramA,
TAccountTokenProgramB,
TAccountMemoProgram,
TAccountPositionAuthority,
TAccountPosition,
TAccountPositionTokenAccount,
TAccountTokenMintA,
TAccountTokenMintB,
TAccountTokenOwnerAccountA,
TAccountTokenOwnerAccountB,
TAccountTokenVaultA,
TAccountTokenVaultB,
TAccountTickArrayLower,
TAccountTickArrayUpper,
> Optional
config: { programAddress?: TProgramAddress }