Type Alias SetRewardAuthorityInstruction<TProgram, TAccountWhirlpool, TAccountRewardAuthority, TAccountNewRewardAuthority, TRemainingAccounts>

SetRewardAuthorityInstruction: IInstruction<TProgram> & IInstructionWithData<
    Uint8Array,
> & IInstructionWithAccounts<
    [
        TAccountWhirlpool extends string
            ? WritableAccount<TAccountWhirlpool>
            : TAccountWhirlpool,
        TAccountRewardAuthority extends string
            ? ReadonlySignerAccount<TAccountRewardAuthority> & IAccountSignerMeta<
                TAccountRewardAuthority,
            >
            : TAccountRewardAuthority,
        TAccountNewRewardAuthority extends string
            ? ReadonlyAccount<TAccountNewRewardAuthority>
            : TAccountNewRewardAuthority,
        ...TRemainingAccounts,
    ],
>

Type Parameters

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