Type Alias CollectProtocolFeesV2Input<TAccountWhirlpoolsConfig, TAccountWhirlpool, TAccountCollectProtocolFeesAuthority, TAccountTokenMintA, TAccountTokenMintB, TAccountTokenVaultA, TAccountTokenVaultB, TAccountTokenDestinationA, TAccountTokenDestinationB, TAccountTokenProgramA, TAccountTokenProgramB, TAccountMemoProgram>

CollectProtocolFeesV2Input: {
    collectProtocolFeesAuthority: TransactionSigner<
        TAccountCollectProtocolFeesAuthority,
    >;
    memoProgram: Address<TAccountMemoProgram>;
    remainingAccountsInfo: CollectProtocolFeesV2InstructionDataArgs["remainingAccountsInfo"];
    tokenDestinationA: Address<TAccountTokenDestinationA>;
    tokenDestinationB: Address<TAccountTokenDestinationB>;
    tokenMintA: Address<TAccountTokenMintA>;
    tokenMintB: Address<TAccountTokenMintB>;
    tokenProgramA: Address<TAccountTokenProgramA>;
    tokenProgramB: Address<TAccountTokenProgramB>;
    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
  • TAccountTokenMintA extends string = string
  • TAccountTokenMintB extends string = string
  • TAccountTokenVaultA extends string = string
  • TAccountTokenVaultB extends string = string
  • TAccountTokenDestinationA extends string = string
  • TAccountTokenDestinationB extends string = string
  • TAccountTokenProgramA extends string = string
  • TAccountTokenProgramB extends string = string
  • TAccountMemoProgram extends string = string

Type declaration