Type Alias SetCollectProtocolFeesAuthorityInstruction<TProgram, TAccountWhirlpoolsConfig, TAccountCollectProtocolFeesAuthority, TAccountNewCollectProtocolFeesAuthority, TRemainingAccounts>

SetCollectProtocolFeesAuthorityInstruction: IInstruction<TProgram> & IInstructionWithData<
    Uint8Array,
> & IInstructionWithAccounts<
    [
        TAccountWhirlpoolsConfig extends string
            ? WritableAccount<TAccountWhirlpoolsConfig>
            : TAccountWhirlpoolsConfig,
        TAccountCollectProtocolFeesAuthority extends string
            ? ReadonlySignerAccount<TAccountCollectProtocolFeesAuthority> & IAccountSignerMeta<
                TAccountCollectProtocolFeesAuthority,
            >
            : TAccountCollectProtocolFeesAuthority,
        TAccountNewCollectProtocolFeesAuthority extends string
            ? ReadonlyAccount<TAccountNewCollectProtocolFeesAuthority>
            : TAccountNewCollectProtocolFeesAuthority,
        ...TRemainingAccounts,
    ],
>

Type Parameters

  • TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
  • TAccountWhirlpoolsConfig extends string | IAccountMeta<string> = string
  • TAccountCollectProtocolFeesAuthority extends string | IAccountMeta<string> = string
  • TAccountNewCollectProtocolFeesAuthority extends string | IAccountMeta<string> = string
  • TRemainingAccounts extends readonly IAccountMeta<string>[] = []