Type Alias ParsedCollectRewardV2Instruction<TProgram, TAccountMetas>

ParsedCollectRewardV2Instruction: {
    accounts: {
        memoProgram: TAccountMetas[8];
        position: TAccountMetas[2];
        positionAuthority: TAccountMetas[1];
        positionTokenAccount: TAccountMetas[3];
        rewardMint: TAccountMetas[5];
        rewardOwnerAccount: TAccountMetas[4];
        rewardTokenProgram: TAccountMetas[7];
        rewardVault: TAccountMetas[6];
        whirlpool: TAccountMetas[0];
    };
    data: CollectRewardV2InstructionData;
    programAddress: Address<TProgram>;
}

Type Parameters

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

Type declaration