Type Alias ParsedCollectRewardInstruction<TProgram, TAccountMetas>

ParsedCollectRewardInstruction: {
    accounts: {
        position: TAccountMetas[2];
        positionAuthority: TAccountMetas[1];
        positionTokenAccount: TAccountMetas[3];
        rewardOwnerAccount: TAccountMetas[4];
        rewardVault: TAccountMetas[5];
        tokenProgram: TAccountMetas[6];
        whirlpool: TAccountMetas[0];
    };
    data: CollectRewardInstructionData;
    programAddress: Address<TProgram>;
}

Type Parameters

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

Type declaration