Function getCollectProtocolFeesV2Instruction
getCollectProtocolFeesV2Instruction< TAccountWhirlpoolsConfig extends string, TAccountWhirlpool extends string, TAccountCollectProtocolFeesAuthority extends string, TAccountTokenMintA extends string, TAccountTokenMintB extends string, TAccountTokenVaultA extends string, TAccountTokenVaultB extends string, TAccountTokenDestinationA extends string, TAccountTokenDestinationB extends string, TAccountTokenProgramA extends string, TAccountTokenProgramB extends string, TAccountMemoProgram extends string, TProgramAddress extends Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">,>( input: CollectProtocolFeesV2Input< TAccountWhirlpoolsConfig, TAccountWhirlpool, TAccountCollectProtocolFeesAuthority, TAccountTokenMintA, TAccountTokenMintB, TAccountTokenVaultA, TAccountTokenVaultB, TAccountTokenDestinationA, TAccountTokenDestinationB, TAccountTokenProgramA, TAccountTokenProgramB, TAccountMemoProgram, >, config?: { programAddress?: TProgramAddress },): CollectProtocolFeesV2Instruction< TProgramAddress, TAccountWhirlpoolsConfig, TAccountWhirlpool, TAccountCollectProtocolFeesAuthority, TAccountTokenMintA, TAccountTokenMintB, TAccountTokenVaultA, TAccountTokenVaultB, TAccountTokenDestinationA, TAccountTokenDestinationB, TAccountTokenProgramA, TAccountTokenProgramB, TAccountMemoProgram,> Type Parameters
- TAccountWhirlpoolsConfig extends string
- TAccountWhirlpool extends string
- TAccountCollectProtocolFeesAuthority extends string
- TAccountTokenMintA extends string
- TAccountTokenMintB extends string
- TAccountTokenVaultA extends string
- TAccountTokenVaultB extends string
- TAccountTokenDestinationA extends string
- TAccountTokenDestinationB extends string
- TAccountTokenProgramA extends string
- TAccountTokenProgramB extends string
- TAccountMemoProgram extends string
- TProgramAddress extends Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">
Parameters
- input: CollectProtocolFeesV2Input<
TAccountWhirlpoolsConfig,
TAccountWhirlpool,
TAccountCollectProtocolFeesAuthority,
TAccountTokenMintA,
TAccountTokenMintB,
TAccountTokenVaultA,
TAccountTokenVaultB,
TAccountTokenDestinationA,
TAccountTokenDestinationB,
TAccountTokenProgramA,
TAccountTokenProgramB,
TAccountMemoProgram,
> Optional
config: { programAddress?: TProgramAddress }