Function getCollectProtocolFeesInstruction
- getCollectProtocolFeesInstruction<
TAccountWhirlpoolsConfig extends string,
TAccountWhirlpool extends string,
TAccountCollectProtocolFeesAuthority extends string,
TAccountTokenVaultA extends string,
TAccountTokenVaultB extends string,
TAccountTokenDestinationA extends string,
TAccountTokenDestinationB extends string,
TAccountTokenProgram extends string,
TProgramAddress extends
Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">,
>(
input: CollectProtocolFeesInput<
TAccountWhirlpoolsConfig,
TAccountWhirlpool,
TAccountCollectProtocolFeesAuthority,
TAccountTokenVaultA,
TAccountTokenVaultB,
TAccountTokenDestinationA,
TAccountTokenDestinationB,
TAccountTokenProgram,
>,
config?: { programAddress?: TProgramAddress },
): CollectProtocolFeesInstruction<
TProgramAddress,
TAccountWhirlpoolsConfig,
TAccountWhirlpool,
TAccountCollectProtocolFeesAuthority,
TAccountTokenVaultA,
TAccountTokenVaultB,
TAccountTokenDestinationA,
TAccountTokenDestinationB,
TAccountTokenProgram,
> Type Parameters
- TAccountWhirlpoolsConfig extends string
- TAccountWhirlpool extends string
- TAccountCollectProtocolFeesAuthority extends string
- TAccountTokenVaultA extends string
- TAccountTokenVaultB extends string
- TAccountTokenDestinationA extends string
- TAccountTokenDestinationB extends string
- TAccountTokenProgram extends string
- TProgramAddress extends Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">