@dhedge/trading-widget 4.5.2 → 4.5.3-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,3 +12,4 @@ export { useHasSingleAssetWithdrawBlockers } from '../../hooks/pool/use-has-sing
12
12
  export { usePoolDynamicExitRemainingCooldown } from '../../hooks/pool/use-pool-dynamic-exit-remaining-cooldown';
13
13
  export { useUserVaultsBalances } from '../../hooks/pool/use-user-vaults-balances';
14
14
  export { useUserVaultBalance } from '../../hooks/pool/use-user-vault-balance';
15
+ export { useAvailableManagerFee } from '../../hooks/pool/use-available-manager-fee';
@@ -1,4 +1,10 @@
1
- export declare const useAvailableManagerFee: () => import("wagmi").UseReadContractReturnType<readonly [{
1
+ import type { Address, ChainId } from '../../types';
2
+ interface UseAvailableManagerFeeParams<T = number> {
3
+ address: Address;
4
+ chainId: ChainId;
5
+ select?: (data: bigint) => T;
6
+ }
7
+ export declare const useAvailableManagerFee: <T = number>({ address, chainId, select, }: UseAvailableManagerFeeParams<T>) => import("wagmi").UseReadContractReturnType<readonly [{
2
8
  readonly inputs: readonly [{
3
9
  readonly internalType: "address";
4
10
  readonly name: "owner";
@@ -264,4 +270,5 @@ export declare const useAvailableManagerFee: () => import("wagmi").UseReadContra
264
270
  readonly outputs: readonly [];
265
271
  readonly stateMutability: "nonpayable";
266
272
  readonly type: "function";
267
- }], "calculateAvailableManagerFee", [bigint], number>;
273
+ }], "calculateAvailableManagerFee", [bigint], T>;
274
+ export {};