Type Alias CollectRewardV2Instruction<TProgram, TAccountWhirlpool, TAccountPositionAuthority, TAccountPosition, TAccountPositionTokenAccount, TAccountRewardOwnerAccount, TAccountRewardMint, TAccountRewardVault, TAccountRewardTokenProgram, TAccountMemoProgram, TRemainingAccounts>
CollectRewardV2Instruction: IInstruction<TProgram> & IInstructionWithData< Uint8Array,> & IInstructionWithAccounts< [ TAccountWhirlpool extends string ? ReadonlyAccount<TAccountWhirlpool> : TAccountWhirlpool, TAccountPositionAuthority extends string ? ReadonlySignerAccount<TAccountPositionAuthority> & IAccountSignerMeta< TAccountPositionAuthority, > : TAccountPositionAuthority, TAccountPosition extends string ? WritableAccount<TAccountPosition> : TAccountPosition, TAccountPositionTokenAccount extends string ? ReadonlyAccount<TAccountPositionTokenAccount> : TAccountPositionTokenAccount, TAccountRewardOwnerAccount extends string ? WritableAccount<TAccountRewardOwnerAccount> : TAccountRewardOwnerAccount, TAccountRewardMint extends string ? ReadonlyAccount<TAccountRewardMint> : TAccountRewardMint, TAccountRewardVault extends string ? WritableAccount<TAccountRewardVault> : TAccountRewardVault, TAccountRewardTokenProgram extends string ? ReadonlyAccount<TAccountRewardTokenProgram> : TAccountRewardTokenProgram, TAccountMemoProgram extends string ? ReadonlyAccount<TAccountMemoProgram> : TAccountMemoProgram, ...TRemainingAccounts, ],> Type Parameters
- TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
- TAccountWhirlpool extends string | IAccountMeta<string> = string
- TAccountPositionAuthority extends string | IAccountMeta<string> = string
- TAccountPosition extends string | IAccountMeta<string> = string
- TAccountPositionTokenAccount extends string | IAccountMeta<string> = string
- TAccountRewardOwnerAccount extends string | IAccountMeta<string> = string
- TAccountRewardMint extends string | IAccountMeta<string> = string
- TAccountRewardVault extends string | IAccountMeta<string> = string
- TAccountRewardTokenProgram extends string | IAccountMeta<string> = string
- TAccountMemoProgram extends string | IAccountMeta<string> = string
- TRemainingAccounts extends readonly IAccountMeta<string>[] = []