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