Type Alias ParsedSetRewardAuthorityInstruction<TProgram, TAccountMetas>

ParsedSetRewardAuthorityInstruction: {
    accounts: {
        newRewardAuthority: TAccountMetas[2];
        rewardAuthority: TAccountMetas[1];
        whirlpool: TAccountMetas[0];
    };
    data: SetRewardAuthorityInstructionData;
    programAddress: Address<TProgram>;
}

Type Parameters

  • TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
  • TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]

Type declaration