Type Alias CollectProtocolFeesInstruction<TProgram, TAccountWhirlpoolsConfig, TAccountWhirlpool, TAccountCollectProtocolFeesAuthority, TAccountTokenVaultA, TAccountTokenVaultB, TAccountTokenDestinationA, TAccountTokenDestinationB, TAccountTokenProgram, TRemainingAccounts>
CollectProtocolFeesInstruction: IInstruction<TProgram> & IInstructionWithData< Uint8Array,> & IInstructionWithAccounts< [ TAccountWhirlpoolsConfig extends string ? ReadonlyAccount<TAccountWhirlpoolsConfig> : TAccountWhirlpoolsConfig, TAccountWhirlpool extends string ? WritableAccount<TAccountWhirlpool> : TAccountWhirlpool, TAccountCollectProtocolFeesAuthority extends string ? ReadonlySignerAccount<TAccountCollectProtocolFeesAuthority> & IAccountSignerMeta< TAccountCollectProtocolFeesAuthority, > : TAccountCollectProtocolFeesAuthority, TAccountTokenVaultA extends string ? WritableAccount<TAccountTokenVaultA> : TAccountTokenVaultA, TAccountTokenVaultB extends string ? WritableAccount<TAccountTokenVaultB> : TAccountTokenVaultB, TAccountTokenDestinationA extends string ? WritableAccount<TAccountTokenDestinationA> : TAccountTokenDestinationA, TAccountTokenDestinationB extends string ? WritableAccount<TAccountTokenDestinationB> : TAccountTokenDestinationB, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, ...TRemainingAccounts, ],> Type Parameters
- TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
- TAccountWhirlpoolsConfig extends string | IAccountMeta<string> = string
- TAccountWhirlpool extends string | IAccountMeta<string> = string
- TAccountCollectProtocolFeesAuthority extends string | IAccountMeta<string> = string
- TAccountTokenVaultA extends string | IAccountMeta<string> = string
- TAccountTokenVaultB extends string | IAccountMeta<string> = string
- TAccountTokenDestinationA extends string | IAccountMeta<string> = string
- TAccountTokenDestinationB extends string | IAccountMeta<string> = string
- TAccountTokenProgram extends string | IAccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
- TRemainingAccounts extends readonly IAccountMeta<string>[] = []