Type Alias ParsedInitializeRewardInstruction<TProgram, TAccountMetas>

ParsedInitializeRewardInstruction: {
    accounts: {
        funder: TAccountMetas[1];
        rent: TAccountMetas[7];
        rewardAuthority: TAccountMetas[0];
        rewardMint: TAccountMetas[3];
        rewardVault: TAccountMetas[4];
        systemProgram: TAccountMetas[6];
        tokenProgram: TAccountMetas[5];
        whirlpool: TAccountMetas[2];
    };
    data: InitializeRewardInstructionData;
    programAddress: Address<TProgram>;
}

Type Parameters

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

Type declaration