Type Alias CollectRewardInput<TAccountWhirlpool, TAccountPositionAuthority, TAccountPosition, TAccountPositionTokenAccount, TAccountRewardOwnerAccount, TAccountRewardVault, TAccountTokenProgram>

CollectRewardInput: {
    position: Address<TAccountPosition>;
    positionAuthority: TransactionSigner<TAccountPositionAuthority>;
    positionTokenAccount: Address<TAccountPositionTokenAccount>;
    rewardIndex: CollectRewardInstructionDataArgs["rewardIndex"];
    rewardOwnerAccount: Address<TAccountRewardOwnerAccount>;
    rewardVault: Address<TAccountRewardVault>;
    tokenProgram?: Address<TAccountTokenProgram>;
    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
  • TAccountRewardVault extends string = string
  • TAccountTokenProgram extends string = string

Type declaration