Type Alias CollectRewardInstruction<TProgram, TAccountWhirlpool, TAccountPositionAuthority, TAccountPosition, TAccountPositionTokenAccount, TAccountRewardOwnerAccount, TAccountRewardVault, TAccountTokenProgram, TRemainingAccounts>
CollectRewardInstruction: 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, TAccountRewardVault extends string ? WritableAccount<TAccountRewardVault> : TAccountRewardVault, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, ...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
- TAccountRewardVault extends string | IAccountMeta<string> = string
- TAccountTokenProgram extends string | IAccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
- TRemainingAccounts extends readonly IAccountMeta<string>[] = []