Type Alias SetFeeRateInstruction<TProgram, TAccountWhirlpoolsConfig, TAccountWhirlpool, TAccountFeeAuthority, TRemainingAccounts>

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

Type Parameters

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