Type Alias ParsedInitializeRewardV2Instruction<TProgram, TAccountMetas>

ParsedInitializeRewardV2Instruction: {
    accounts: {
        funder: TAccountMetas[1];
        rent: TAccountMetas[8];
        rewardAuthority: TAccountMetas[0];
        rewardMint: TAccountMetas[3];
        rewardTokenBadge: TAccountMetas[4];
        rewardTokenProgram: TAccountMetas[6];
        rewardVault: TAccountMetas[5];
        systemProgram: TAccountMetas[7];
        whirlpool: TAccountMetas[2];
    };
    data: InitializeRewardV2InstructionData;
    programAddress: Address<TProgram>;
}

Type Parameters

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

Type declaration