Type Alias SetDefaultProtocolFeeRateInstruction<TProgram, TAccountWhirlpoolsConfig, TAccountFeeAuthority, TRemainingAccounts>

SetDefaultProtocolFeeRateInstruction: IInstruction<TProgram> & IInstructionWithData<
    Uint8Array,
> & IInstructionWithAccounts<
    [
        TAccountWhirlpoolsConfig extends string
            ? WritableAccount<TAccountWhirlpoolsConfig>
            : TAccountWhirlpoolsConfig,
        TAccountFeeAuthority extends string
            ? ReadonlySignerAccount<TAccountFeeAuthority> & IAccountSignerMeta<
                TAccountFeeAuthority,
            >
            : TAccountFeeAuthority,
        ...TRemainingAccounts,
    ],
>

Type Parameters

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