Type Alias CollectProtocolFeesInput<TAccountWhirlpoolsConfig, TAccountWhirlpool, TAccountCollectProtocolFeesAuthority, TAccountTokenVaultA, TAccountTokenVaultB, TAccountTokenDestinationA, TAccountTokenDestinationB, TAccountTokenProgram>

CollectProtocolFeesInput: {
    collectProtocolFeesAuthority: TransactionSigner<
        TAccountCollectProtocolFeesAuthority,
    >;
    tokenDestinationA: Address<TAccountTokenDestinationA>;
    tokenDestinationB: Address<TAccountTokenDestinationB>;
    tokenProgram?: Address<TAccountTokenProgram>;
    tokenVaultA: Address<TAccountTokenVaultA>;
    tokenVaultB: Address<TAccountTokenVaultB>;
    whirlpool: Address<TAccountWhirlpool>;
    whirlpoolsConfig: Address<TAccountWhirlpoolsConfig>;
}

Type Parameters

  • TAccountWhirlpoolsConfig extends string = string
  • TAccountWhirlpool extends string = string
  • TAccountCollectProtocolFeesAuthority extends string = string
  • TAccountTokenVaultA extends string = string
  • TAccountTokenVaultB extends string = string
  • TAccountTokenDestinationA extends string = string
  • TAccountTokenDestinationB extends string = string
  • TAccountTokenProgram extends string = string

Type declaration