Type Alias CollectFeesV2Instruction<TProgram, TAccountWhirlpool, TAccountPositionAuthority, TAccountPosition, TAccountPositionTokenAccount, TAccountTokenMintA, TAccountTokenMintB, TAccountTokenOwnerAccountA, TAccountTokenVaultA, TAccountTokenOwnerAccountB, TAccountTokenVaultB, TAccountTokenProgramA, TAccountTokenProgramB, TAccountMemoProgram, TRemainingAccounts>
CollectFeesV2Instruction: 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, TAccountTokenMintA extends string ? ReadonlyAccount<TAccountTokenMintA> : TAccountTokenMintA, TAccountTokenMintB extends string ? ReadonlyAccount<TAccountTokenMintB> : TAccountTokenMintB, TAccountTokenOwnerAccountA extends string ? WritableAccount<TAccountTokenOwnerAccountA> : TAccountTokenOwnerAccountA, TAccountTokenVaultA extends string ? WritableAccount<TAccountTokenVaultA> : TAccountTokenVaultA, TAccountTokenOwnerAccountB extends string ? WritableAccount<TAccountTokenOwnerAccountB> : TAccountTokenOwnerAccountB, TAccountTokenVaultB extends string ? WritableAccount<TAccountTokenVaultB> : TAccountTokenVaultB, TAccountTokenProgramA extends string ? ReadonlyAccount<TAccountTokenProgramA> : TAccountTokenProgramA, TAccountTokenProgramB extends string ? ReadonlyAccount<TAccountTokenProgramB> : TAccountTokenProgramB, 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
- TAccountTokenMintA extends string | IAccountMeta<string> = string
- TAccountTokenMintB extends string | IAccountMeta<string> = string
- TAccountTokenOwnerAccountA extends string | IAccountMeta<string> = string
- TAccountTokenVaultA extends string | IAccountMeta<string> = string
- TAccountTokenOwnerAccountB extends string | IAccountMeta<string> = string
- TAccountTokenVaultB extends string | IAccountMeta<string> = string
- TAccountTokenProgramA extends string | IAccountMeta<string> = string
- TAccountTokenProgramB extends string | IAccountMeta<string> = string
- TAccountMemoProgram extends string | IAccountMeta<string> = string
- TRemainingAccounts extends readonly IAccountMeta<string>[] = []