Type Alias CollectFeesInput<TAccountWhirlpool, TAccountPositionAuthority, TAccountPosition, TAccountPositionTokenAccount, TAccountTokenOwnerAccountA, TAccountTokenVaultA, TAccountTokenOwnerAccountB, TAccountTokenVaultB, TAccountTokenProgram>

CollectFeesInput: {
    position: Address<TAccountPosition>;
    positionAuthority: TransactionSigner<TAccountPositionAuthority>;
    positionTokenAccount: Address<TAccountPositionTokenAccount>;
    tokenOwnerAccountA: Address<TAccountTokenOwnerAccountA>;
    tokenOwnerAccountB: Address<TAccountTokenOwnerAccountB>;
    tokenProgram?: Address<TAccountTokenProgram>;
    tokenVaultA: Address<TAccountTokenVaultA>;
    tokenVaultB: Address<TAccountTokenVaultB>;
    whirlpool: Address<TAccountWhirlpool>;
}

Type Parameters

  • TAccountWhirlpool extends string = string
  • TAccountPositionAuthority extends string = string
  • TAccountPosition extends string = string
  • TAccountPositionTokenAccount extends string = string
  • TAccountTokenOwnerAccountA extends string = string
  • TAccountTokenVaultA extends string = string
  • TAccountTokenOwnerAccountB extends string = string
  • TAccountTokenVaultB extends string = string
  • TAccountTokenProgram extends string = string

Type declaration