Type Alias SetRewardEmissionsSuperAuthorityInstruction<TProgram, TAccountWhirlpoolsConfig, TAccountRewardEmissionsSuperAuthority, TAccountNewRewardEmissionsSuperAuthority, TRemainingAccounts>

SetRewardEmissionsSuperAuthorityInstruction: IInstruction<TProgram> & IInstructionWithData<
    Uint8Array,
> & IInstructionWithAccounts<
    [
        TAccountWhirlpoolsConfig extends string
            ? WritableAccount<TAccountWhirlpoolsConfig>
            : TAccountWhirlpoolsConfig,
        TAccountRewardEmissionsSuperAuthority extends string
            ? ReadonlySignerAccount<TAccountRewardEmissionsSuperAuthority> & IAccountSignerMeta<
                TAccountRewardEmissionsSuperAuthority,
            >
            : TAccountRewardEmissionsSuperAuthority,
        TAccountNewRewardEmissionsSuperAuthority extends string
            ? ReadonlyAccount<TAccountNewRewardEmissionsSuperAuthority>
            : TAccountNewRewardEmissionsSuperAuthority,
        ...TRemainingAccounts,
    ],
>

Type Parameters

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