Type Alias CollectRewardV2Input<TAccountWhirlpool, TAccountPositionAuthority, TAccountPosition, TAccountPositionTokenAccount, TAccountRewardOwnerAccount, TAccountRewardMint, TAccountRewardVault, TAccountRewardTokenProgram, TAccountMemoProgram>

CollectRewardV2Input: {
    memoProgram: Address<TAccountMemoProgram>;
    position: Address<TAccountPosition>;
    positionAuthority: TransactionSigner<TAccountPositionAuthority>;
    positionTokenAccount: Address<TAccountPositionTokenAccount>;
    remainingAccountsInfo: CollectRewardV2InstructionDataArgs["remainingAccountsInfo"];
    rewardIndex: CollectRewardV2InstructionDataArgs["rewardIndex"];
    rewardMint: Address<TAccountRewardMint>;
    rewardOwnerAccount: Address<TAccountRewardOwnerAccount>;
    rewardTokenProgram: Address<TAccountRewardTokenProgram>;
    rewardVault: Address<TAccountRewardVault>;
    whirlpool: Address<TAccountWhirlpool>;
}

Type Parameters

  • TAccountWhirlpool extends string = string
  • TAccountPositionAuthority extends string = string
  • TAccountPosition extends string = string
  • TAccountPositionTokenAccount extends string = string
  • TAccountRewardOwnerAccount extends string = string
  • TAccountRewardMint extends string = string
  • TAccountRewardVault extends string = string
  • TAccountRewardTokenProgram extends string = string
  • TAccountMemoProgram extends string = string

Type declaration