Type Alias SetRewardEmissionsV2Instruction<TProgram, TAccountWhirlpool, TAccountRewardAuthority, TAccountRewardVault, TRemainingAccounts>

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

Type Parameters

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