@dhedge/trading-widget 4.6.0-canary.0 → 4.6.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.
Files changed (54) hide show
  1. package/core-kit/const/currency.d.ts +1 -1
  2. package/core-kit/const/flat-money.d.ts +3 -2
  3. package/core-kit/const/gmx.d.ts +1 -1
  4. package/core-kit/const/index.d.ts +0 -1
  5. package/core-kit/const/{tokens/index.d.ts → tokens.d.ts} +1 -6
  6. package/core-kit/hooks/pool/index.d.ts +2 -0
  7. package/core-kit/hooks/pool/use-is-deposit-blocked.d.ts +7 -0
  8. package/core-kit/hooks/pool/use-user-vault-balance.d.ts +1 -1
  9. package/core-kit/hooks/pool/use-user-vaults-balances.d.ts +1 -1
  10. package/core-kit/hooks/pool/use-vault-contract-data.d.ts +561 -0
  11. package/core-kit/hooks/state/action.d.ts +18 -14
  12. package/core-kit/hooks/state/settings.d.ts +2 -1
  13. package/core-kit/hooks/trading/allowance/use-approve.d.ts +1 -1
  14. package/core-kit/hooks/trading/deposit-v2/use-vault-deposit-tokens.d.ts +1 -1
  15. package/core-kit/hooks/trading/projected-earnings/use-projected-earnings-core.d.ts +2 -1
  16. package/core-kit/hooks/trading/withdraw-v2/complete-step/index.d.ts +1 -1
  17. package/core-kit/hooks/web3/use-static-call-query.d.ts +1 -1
  18. package/core-kit/types/config.types.d.ts +1 -2
  19. package/core-kit/types/index.d.ts +0 -1
  20. package/core-kit/types/state.types.d.ts +8 -3
  21. package/core-kit/types/trading-panel.types.d.ts +1 -7
  22. package/core-kit/types/trading.types.d.ts +0 -18
  23. package/core-kit/utils/aave.d.ts +1 -1
  24. package/core-kit/utils/error.d.ts +0 -7
  25. package/core-kit/utils/flat-money.d.ts +5 -1
  26. package/core-kit/utils/formatter.d.ts +1 -16
  27. package/core-kit/utils/gmx.d.ts +2 -2
  28. package/core-kit/utils/index.d.ts +0 -1
  29. package/core-kit/utils/number.d.ts +0 -4
  30. package/core-kit/utils/swap-data.d.ts +10 -1
  31. package/core-kit/utils/web3.d.ts +0 -3
  32. package/index.cjs +1 -1
  33. package/index.d.ts +11 -5
  34. package/index.js +2813 -2797
  35. package/package.json +3 -2
  36. package/trading-widget/components/widget/widget-overlay/pool-select-overlay/pool-select-overlay.hooks.d.ts +1 -1
  37. package/trading-widget/components/widget/widget-overlay/token-select-overlay/multi-token-select-item/multi-token-select-item.hooks.d.ts +1 -1
  38. package/trading-widget/components/widget/widget-overlay/token-select-overlay/token-select-item/token-select-item.hooks.d.ts +1 -1
  39. package/trading-widget/components/widget/widget-overlay/token-select-overlay/token-select-overlay.hooks.d.ts +1 -1
  40. package/trading-widget/components/widget/widget-overlay/trading-overlay/deposits/success-deposit-overlay.hooks.d.ts +1 -1
  41. package/trading-widget/providers/component-provider/component-provider.hooks.d.ts +1 -0
  42. package/core-kit/const/contracts/arbitrum.d.ts +0 -4
  43. package/core-kit/const/contracts/base.d.ts +0 -7
  44. package/core-kit/const/contracts/index.d.ts +0 -6
  45. package/core-kit/const/contracts/mainnet.d.ts +0 -3
  46. package/core-kit/const/contracts/optimism.d.ts +0 -5
  47. package/core-kit/const/contracts/polygon.d.ts +0 -5
  48. package/core-kit/const/tokens/arbitrum.d.ts +0 -11
  49. package/core-kit/const/tokens/base.d.ts +0 -9
  50. package/core-kit/const/tokens/mainnet.d.ts +0 -5
  51. package/core-kit/const/tokens/optimism.d.ts +0 -12
  52. package/core-kit/const/tokens/polygon.d.ts +0 -10
  53. package/core-kit/types/balance.types.d.ts +0 -8
  54. package/core-kit/utils/url.d.ts +0 -3
@@ -1,4 +1,4 @@
1
- import type { ApyCurrency } from '../types';
1
+ import type { ApyCurrency } from '@shared/types';
2
2
  export declare const CURRENCY_SYMBOL_MAP: Record<ApyCurrency, string>;
3
3
  export declare const CURRENCY_DECIMALS_MAP: Record<ApyCurrency, number>;
4
4
  export declare const STABLE_TOKEN_SYMBOLS: string[];
@@ -1,13 +1,14 @@
1
+ import type { Address } from 'viem';
1
2
  declare const FLATMONEY_LEVERAGED_ASSET_MAP: {
2
3
  readonly RETH_BASE: "0xdb0cd65dcc7fe07003ce1201f91e1f966fa95768";
3
4
  readonly WBTC_OPTIMISM: "0x6d857e9d24a7566bb72a3fb0847a3e0e4e1c2879";
4
5
  readonly WBTC_ARBITRUM: "0xb1353d51991e79fefd4bfdba2a03e9f0232814a6";
5
6
  };
6
- type FlatMoneyLeveragedAssetAddress = (typeof FLATMONEY_LEVERAGED_ASSET_MAP)[keyof typeof FLATMONEY_LEVERAGED_ASSET_MAP];
7
+ export type FlatMoneyLeveragedAssetAddress = (typeof FLATMONEY_LEVERAGED_ASSET_MAP)[keyof typeof FLATMONEY_LEVERAGED_ASSET_MAP];
7
8
  type FlatMoneyCollateral = {
8
9
  symbol: string;
9
10
  decimals: number;
10
- address: string;
11
+ address: Address;
11
12
  };
12
13
  export declare const FLAT_MONEY_LEVERAGED_ASSET_ADDRESSES: ("0xdb0cd65dcc7fe07003ce1201f91e1f966fa95768" | "0x6d857e9d24a7566bb72a3fb0847a3e0e4e1c2879" | "0xb1353d51991e79fefd4bfdba2a03e9f0232814a6")[];
13
14
  export declare const FLAT_MONEY_COLLATERAL_MAP: Record<FlatMoneyLeveragedAssetAddress, FlatMoneyCollateral>;
@@ -1,4 +1,4 @@
1
- import type { TradingToken } from '../types';
1
+ import type { TradingToken } from '@shared/types';
2
2
  export declare const GMX_MARKET_ASSETS_MAP: {
3
3
  readonly SOL_ARBITRUM: "0x09400d9db990d5ed3f35d7be61dfaeb900af03c9";
4
4
  readonly BTC_ARBITRUM: "0x47c031236e19d024b42f8ae6780e44a573170703";
@@ -3,7 +3,6 @@ export * from '../const/currency';
3
3
  export * from '../const/default-data';
4
4
  export * from '../const/logger';
5
5
  export * from '../const/web3';
6
- export * from '../const/contracts';
7
6
  export * from '../const/config';
8
7
  export * from '../const/error';
9
8
  export * from '../const/tokens';
@@ -1,9 +1,4 @@
1
- import type { ChainId, TradingToken } from '../../types';
2
- export * from '../../const/tokens/arbitrum';
3
- export * from '../../const/tokens/base';
4
- export * from '../../const/tokens/optimism';
5
- export * from '../../const/tokens/polygon';
6
- export * from '../../const/tokens/mainnet';
1
+ import type { ChainId, TradingToken } from '@shared/types';
7
2
  export declare const MULTI_ASSET_TOKEN: TradingToken;
8
3
  export declare const BRIDGED_TOKENS_SYMBOLS: Record<string, string>;
9
4
  export declare const WETH_BY_CHAIN_ID: Record<number, TradingToken>;
@@ -14,3 +14,5 @@ export { useUserVaultsBalances } from '../../hooks/pool/use-user-vaults-balances
14
14
  export { useUserVaultBalance } from '../../hooks/pool/use-user-vault-balance';
15
15
  export { useAvailableManagerFee } from '../../hooks/pool/use-available-manager-fee';
16
16
  export { useVaultSupplyCap } from '../../hooks/pool/use-vault-supply-cap';
17
+ export { useIsDepositBlocked } from '../../hooks/pool/use-is-deposit-blocked';
18
+ export { useVaultContractData } from '../../hooks/pool/use-vault-contract-data';
@@ -0,0 +1,7 @@
1
+ import type { Address, SupportedChainId } from '@shared/types';
2
+ interface UseIsDepositBlockedParams {
3
+ address: Address;
4
+ chainId: SupportedChainId;
5
+ }
6
+ export declare const useIsDepositBlocked: ({ address, chainId, }: UseIsDepositBlockedParams) => boolean;
7
+ export {};
@@ -265,4 +265,4 @@ export declare const useUserVaultBalance: ({ account, chainId, address, }: PoolC
265
265
  readonly outputs: readonly [];
266
266
  readonly stateMutability: "nonpayable";
267
267
  readonly type: "function";
268
- }], "balanceOf", [`0x${string}`], import('../../types').Balance>;
268
+ }], "balanceOf", [`0x${string}`], import("@shared/types").Balance>;
@@ -1,4 +1,4 @@
1
- import type { Address, UserPoolBalances } from '../../types';
1
+ import type { Address, UserPoolBalances } from '@shared/types';
2
2
  interface UseUserVaultsBalancesParams {
3
3
  account?: Address;
4
4
  }
@@ -0,0 +1,561 @@
1
+ import type { Address, SupportedChainId } from '@shared/types';
2
+ interface UseVaultContractDataParams {
3
+ address: Address;
4
+ chainId: SupportedChainId;
5
+ enabled?: boolean;
6
+ }
7
+ export declare const useVaultContractData: (params: UseVaultContractDataParams) => import("wagmi").UseReadContractsReturnType<readonly [{
8
+ readonly address: `0x${string}`;
9
+ readonly abi: readonly [{
10
+ readonly inputs: readonly [{
11
+ readonly internalType: "address";
12
+ readonly name: "owner";
13
+ readonly type: "address";
14
+ }, {
15
+ readonly internalType: "address";
16
+ readonly name: "spender";
17
+ readonly type: "address";
18
+ }];
19
+ readonly name: "allowance";
20
+ readonly outputs: readonly [{
21
+ readonly internalType: "uint256";
22
+ readonly name: "";
23
+ readonly type: "uint256";
24
+ }];
25
+ readonly stateMutability: "view";
26
+ readonly type: "function";
27
+ }, {
28
+ readonly inputs: readonly [{
29
+ readonly internalType: "address";
30
+ readonly name: "spender";
31
+ readonly type: "address";
32
+ }, {
33
+ readonly internalType: "uint256";
34
+ readonly name: "amount";
35
+ readonly type: "uint256";
36
+ }];
37
+ readonly name: "approve";
38
+ readonly outputs: readonly [{
39
+ readonly internalType: "bool";
40
+ readonly name: "";
41
+ readonly type: "bool";
42
+ }];
43
+ readonly stateMutability: "nonpayable";
44
+ readonly type: "function";
45
+ }, {
46
+ readonly inputs: readonly [{
47
+ readonly internalType: "address";
48
+ readonly name: "account";
49
+ readonly type: "address";
50
+ }];
51
+ readonly name: "balanceOf";
52
+ readonly outputs: readonly [{
53
+ readonly internalType: "uint256";
54
+ readonly name: "";
55
+ readonly type: "uint256";
56
+ }];
57
+ readonly stateMutability: "view";
58
+ readonly type: "function";
59
+ }, {
60
+ readonly inputs: readonly [{
61
+ readonly internalType: "uint256";
62
+ readonly name: "fundValue";
63
+ readonly type: "uint256";
64
+ }];
65
+ readonly name: "calculateAvailableManagerFee";
66
+ readonly outputs: readonly [{
67
+ readonly internalType: "uint256";
68
+ readonly name: "fee";
69
+ readonly type: "uint256";
70
+ }];
71
+ readonly stateMutability: "view";
72
+ readonly type: "function";
73
+ }, {
74
+ readonly inputs: readonly [];
75
+ readonly name: "decimals";
76
+ readonly outputs: readonly [{
77
+ readonly internalType: "uint8";
78
+ readonly name: "";
79
+ readonly type: "uint8";
80
+ }];
81
+ readonly stateMutability: "view";
82
+ readonly type: "function";
83
+ }, {
84
+ readonly inputs: readonly [{
85
+ readonly internalType: "address";
86
+ readonly name: "_asset";
87
+ readonly type: "address";
88
+ }, {
89
+ readonly internalType: "uint256";
90
+ readonly name: "_amount";
91
+ readonly type: "uint256";
92
+ }];
93
+ readonly name: "deposit";
94
+ readonly outputs: readonly [{
95
+ readonly internalType: "uint256";
96
+ readonly name: "liquidityMinted";
97
+ readonly type: "uint256";
98
+ }];
99
+ readonly stateMutability: "nonpayable";
100
+ readonly type: "function";
101
+ }, {
102
+ readonly inputs: readonly [{
103
+ readonly internalType: "address";
104
+ readonly name: "sender";
105
+ readonly type: "address";
106
+ }];
107
+ readonly name: "getExitRemainingCooldown";
108
+ readonly outputs: readonly [{
109
+ readonly internalType: "uint256";
110
+ readonly name: "remaining";
111
+ readonly type: "uint256";
112
+ }];
113
+ readonly stateMutability: "view";
114
+ readonly type: "function";
115
+ }, {
116
+ readonly inputs: readonly [];
117
+ readonly name: "getFundSummary";
118
+ readonly outputs: readonly [{
119
+ readonly components: readonly [{
120
+ readonly internalType: "string";
121
+ readonly name: "name";
122
+ readonly type: "string";
123
+ }, {
124
+ readonly internalType: "uint256";
125
+ readonly name: "totalSupply";
126
+ readonly type: "uint256";
127
+ }, {
128
+ readonly internalType: "uint256";
129
+ readonly name: "totalFundValue";
130
+ readonly type: "uint256";
131
+ }, {
132
+ readonly internalType: "address";
133
+ readonly name: "manager";
134
+ readonly type: "address";
135
+ }, {
136
+ readonly internalType: "string";
137
+ readonly name: "managerName";
138
+ readonly type: "string";
139
+ }, {
140
+ readonly internalType: "uint256";
141
+ readonly name: "creationTime";
142
+ readonly type: "uint256";
143
+ }, {
144
+ readonly internalType: "bool";
145
+ readonly name: "privatePool";
146
+ readonly type: "bool";
147
+ }, {
148
+ readonly internalType: "uint256";
149
+ readonly name: "performanceFeeNumerator";
150
+ readonly type: "uint256";
151
+ }, {
152
+ readonly internalType: "uint256";
153
+ readonly name: "managerFeeNumerator";
154
+ readonly type: "uint256";
155
+ }, {
156
+ readonly internalType: "uint256";
157
+ readonly name: "managerFeeDenominator";
158
+ readonly type: "uint256";
159
+ }, {
160
+ readonly internalType: "uint256";
161
+ readonly name: "exitFeeNumerator";
162
+ readonly type: "uint256";
163
+ }, {
164
+ readonly internalType: "uint256";
165
+ readonly name: "exitFeeDenominator";
166
+ readonly type: "uint256";
167
+ }, {
168
+ readonly internalType: "uint256";
169
+ readonly name: "entryFeeNumerator";
170
+ readonly type: "uint256";
171
+ }];
172
+ readonly internalType: "struct PoolLogic.FundSummary";
173
+ readonly name: "";
174
+ readonly type: "tuple";
175
+ }];
176
+ readonly stateMutability: "view";
177
+ readonly type: "function";
178
+ }, {
179
+ readonly inputs: readonly [];
180
+ readonly name: "mintManagerFee";
181
+ readonly outputs: readonly [];
182
+ readonly stateMutability: "nonpayable";
183
+ readonly type: "function";
184
+ }, {
185
+ readonly inputs: readonly [];
186
+ readonly name: "name";
187
+ readonly outputs: readonly [{
188
+ readonly internalType: "string";
189
+ readonly name: "";
190
+ readonly type: "string";
191
+ }];
192
+ readonly stateMutability: "view";
193
+ readonly type: "function";
194
+ }, {
195
+ readonly inputs: readonly [];
196
+ readonly name: "poolManagerLogic";
197
+ readonly outputs: readonly [{
198
+ readonly internalType: "address";
199
+ readonly name: "";
200
+ readonly type: "address";
201
+ }];
202
+ readonly stateMutability: "view";
203
+ readonly type: "function";
204
+ }, {
205
+ readonly inputs: readonly [];
206
+ readonly name: "symbol";
207
+ readonly outputs: readonly [{
208
+ readonly internalType: "string";
209
+ readonly name: "";
210
+ readonly type: "string";
211
+ }];
212
+ readonly stateMutability: "view";
213
+ readonly type: "function";
214
+ }, {
215
+ readonly inputs: readonly [];
216
+ readonly name: "tokenPrice";
217
+ readonly outputs: readonly [{
218
+ readonly internalType: "uint256";
219
+ readonly name: "price";
220
+ readonly type: "uint256";
221
+ }];
222
+ readonly stateMutability: "view";
223
+ readonly type: "function";
224
+ }, {
225
+ readonly inputs: readonly [];
226
+ readonly name: "totalSupply";
227
+ readonly outputs: readonly [{
228
+ readonly internalType: "uint256";
229
+ readonly name: "";
230
+ readonly type: "uint256";
231
+ }];
232
+ readonly stateMutability: "view";
233
+ readonly type: "function";
234
+ }, {
235
+ readonly inputs: readonly [{
236
+ readonly internalType: "uint256";
237
+ readonly name: "_fundTokenAmount";
238
+ readonly type: "uint256";
239
+ }, {
240
+ readonly components: readonly [{
241
+ readonly internalType: "address";
242
+ readonly name: "supportedAsset";
243
+ readonly type: "address";
244
+ }, {
245
+ readonly internalType: "bytes";
246
+ readonly name: "withdrawData";
247
+ readonly type: "bytes";
248
+ }, {
249
+ readonly internalType: "uint256";
250
+ readonly name: "slippageTolerance";
251
+ readonly type: "uint256";
252
+ }];
253
+ readonly internalType: "struct IPoolLogic.ComplexAsset[]";
254
+ readonly name: "_complexAssetsData";
255
+ readonly type: "tuple[]";
256
+ }];
257
+ readonly name: "withdrawSafe";
258
+ readonly outputs: readonly [];
259
+ readonly stateMutability: "nonpayable";
260
+ readonly type: "function";
261
+ }, {
262
+ readonly inputs: readonly [{
263
+ readonly internalType: "uint256";
264
+ readonly name: "_fundTokenAmount";
265
+ readonly type: "uint256";
266
+ }, {
267
+ readonly internalType: "uint256";
268
+ readonly name: "_slippageTolerance";
269
+ readonly type: "uint256";
270
+ }];
271
+ readonly name: "withdrawSafe";
272
+ readonly outputs: readonly [];
273
+ readonly stateMutability: "nonpayable";
274
+ readonly type: "function";
275
+ }];
276
+ readonly functionName: "tokenPrice";
277
+ readonly chainId: number;
278
+ readonly args: readonly [];
279
+ }, {
280
+ readonly address: `0x${string}`;
281
+ readonly abi: readonly [{
282
+ readonly inputs: readonly [{
283
+ readonly internalType: "address";
284
+ readonly name: "owner";
285
+ readonly type: "address";
286
+ }, {
287
+ readonly internalType: "address";
288
+ readonly name: "spender";
289
+ readonly type: "address";
290
+ }];
291
+ readonly name: "allowance";
292
+ readonly outputs: readonly [{
293
+ readonly internalType: "uint256";
294
+ readonly name: "";
295
+ readonly type: "uint256";
296
+ }];
297
+ readonly stateMutability: "view";
298
+ readonly type: "function";
299
+ }, {
300
+ readonly inputs: readonly [{
301
+ readonly internalType: "address";
302
+ readonly name: "spender";
303
+ readonly type: "address";
304
+ }, {
305
+ readonly internalType: "uint256";
306
+ readonly name: "amount";
307
+ readonly type: "uint256";
308
+ }];
309
+ readonly name: "approve";
310
+ readonly outputs: readonly [{
311
+ readonly internalType: "bool";
312
+ readonly name: "";
313
+ readonly type: "bool";
314
+ }];
315
+ readonly stateMutability: "nonpayable";
316
+ readonly type: "function";
317
+ }, {
318
+ readonly inputs: readonly [{
319
+ readonly internalType: "address";
320
+ readonly name: "account";
321
+ readonly type: "address";
322
+ }];
323
+ readonly name: "balanceOf";
324
+ readonly outputs: readonly [{
325
+ readonly internalType: "uint256";
326
+ readonly name: "";
327
+ readonly type: "uint256";
328
+ }];
329
+ readonly stateMutability: "view";
330
+ readonly type: "function";
331
+ }, {
332
+ readonly inputs: readonly [{
333
+ readonly internalType: "uint256";
334
+ readonly name: "fundValue";
335
+ readonly type: "uint256";
336
+ }];
337
+ readonly name: "calculateAvailableManagerFee";
338
+ readonly outputs: readonly [{
339
+ readonly internalType: "uint256";
340
+ readonly name: "fee";
341
+ readonly type: "uint256";
342
+ }];
343
+ readonly stateMutability: "view";
344
+ readonly type: "function";
345
+ }, {
346
+ readonly inputs: readonly [];
347
+ readonly name: "decimals";
348
+ readonly outputs: readonly [{
349
+ readonly internalType: "uint8";
350
+ readonly name: "";
351
+ readonly type: "uint8";
352
+ }];
353
+ readonly stateMutability: "view";
354
+ readonly type: "function";
355
+ }, {
356
+ readonly inputs: readonly [{
357
+ readonly internalType: "address";
358
+ readonly name: "_asset";
359
+ readonly type: "address";
360
+ }, {
361
+ readonly internalType: "uint256";
362
+ readonly name: "_amount";
363
+ readonly type: "uint256";
364
+ }];
365
+ readonly name: "deposit";
366
+ readonly outputs: readonly [{
367
+ readonly internalType: "uint256";
368
+ readonly name: "liquidityMinted";
369
+ readonly type: "uint256";
370
+ }];
371
+ readonly stateMutability: "nonpayable";
372
+ readonly type: "function";
373
+ }, {
374
+ readonly inputs: readonly [{
375
+ readonly internalType: "address";
376
+ readonly name: "sender";
377
+ readonly type: "address";
378
+ }];
379
+ readonly name: "getExitRemainingCooldown";
380
+ readonly outputs: readonly [{
381
+ readonly internalType: "uint256";
382
+ readonly name: "remaining";
383
+ readonly type: "uint256";
384
+ }];
385
+ readonly stateMutability: "view";
386
+ readonly type: "function";
387
+ }, {
388
+ readonly inputs: readonly [];
389
+ readonly name: "getFundSummary";
390
+ readonly outputs: readonly [{
391
+ readonly components: readonly [{
392
+ readonly internalType: "string";
393
+ readonly name: "name";
394
+ readonly type: "string";
395
+ }, {
396
+ readonly internalType: "uint256";
397
+ readonly name: "totalSupply";
398
+ readonly type: "uint256";
399
+ }, {
400
+ readonly internalType: "uint256";
401
+ readonly name: "totalFundValue";
402
+ readonly type: "uint256";
403
+ }, {
404
+ readonly internalType: "address";
405
+ readonly name: "manager";
406
+ readonly type: "address";
407
+ }, {
408
+ readonly internalType: "string";
409
+ readonly name: "managerName";
410
+ readonly type: "string";
411
+ }, {
412
+ readonly internalType: "uint256";
413
+ readonly name: "creationTime";
414
+ readonly type: "uint256";
415
+ }, {
416
+ readonly internalType: "bool";
417
+ readonly name: "privatePool";
418
+ readonly type: "bool";
419
+ }, {
420
+ readonly internalType: "uint256";
421
+ readonly name: "performanceFeeNumerator";
422
+ readonly type: "uint256";
423
+ }, {
424
+ readonly internalType: "uint256";
425
+ readonly name: "managerFeeNumerator";
426
+ readonly type: "uint256";
427
+ }, {
428
+ readonly internalType: "uint256";
429
+ readonly name: "managerFeeDenominator";
430
+ readonly type: "uint256";
431
+ }, {
432
+ readonly internalType: "uint256";
433
+ readonly name: "exitFeeNumerator";
434
+ readonly type: "uint256";
435
+ }, {
436
+ readonly internalType: "uint256";
437
+ readonly name: "exitFeeDenominator";
438
+ readonly type: "uint256";
439
+ }, {
440
+ readonly internalType: "uint256";
441
+ readonly name: "entryFeeNumerator";
442
+ readonly type: "uint256";
443
+ }];
444
+ readonly internalType: "struct PoolLogic.FundSummary";
445
+ readonly name: "";
446
+ readonly type: "tuple";
447
+ }];
448
+ readonly stateMutability: "view";
449
+ readonly type: "function";
450
+ }, {
451
+ readonly inputs: readonly [];
452
+ readonly name: "mintManagerFee";
453
+ readonly outputs: readonly [];
454
+ readonly stateMutability: "nonpayable";
455
+ readonly type: "function";
456
+ }, {
457
+ readonly inputs: readonly [];
458
+ readonly name: "name";
459
+ readonly outputs: readonly [{
460
+ readonly internalType: "string";
461
+ readonly name: "";
462
+ readonly type: "string";
463
+ }];
464
+ readonly stateMutability: "view";
465
+ readonly type: "function";
466
+ }, {
467
+ readonly inputs: readonly [];
468
+ readonly name: "poolManagerLogic";
469
+ readonly outputs: readonly [{
470
+ readonly internalType: "address";
471
+ readonly name: "";
472
+ readonly type: "address";
473
+ }];
474
+ readonly stateMutability: "view";
475
+ readonly type: "function";
476
+ }, {
477
+ readonly inputs: readonly [];
478
+ readonly name: "symbol";
479
+ readonly outputs: readonly [{
480
+ readonly internalType: "string";
481
+ readonly name: "";
482
+ readonly type: "string";
483
+ }];
484
+ readonly stateMutability: "view";
485
+ readonly type: "function";
486
+ }, {
487
+ readonly inputs: readonly [];
488
+ readonly name: "tokenPrice";
489
+ readonly outputs: readonly [{
490
+ readonly internalType: "uint256";
491
+ readonly name: "price";
492
+ readonly type: "uint256";
493
+ }];
494
+ readonly stateMutability: "view";
495
+ readonly type: "function";
496
+ }, {
497
+ readonly inputs: readonly [];
498
+ readonly name: "totalSupply";
499
+ readonly outputs: readonly [{
500
+ readonly internalType: "uint256";
501
+ readonly name: "";
502
+ readonly type: "uint256";
503
+ }];
504
+ readonly stateMutability: "view";
505
+ readonly type: "function";
506
+ }, {
507
+ readonly inputs: readonly [{
508
+ readonly internalType: "uint256";
509
+ readonly name: "_fundTokenAmount";
510
+ readonly type: "uint256";
511
+ }, {
512
+ readonly components: readonly [{
513
+ readonly internalType: "address";
514
+ readonly name: "supportedAsset";
515
+ readonly type: "address";
516
+ }, {
517
+ readonly internalType: "bytes";
518
+ readonly name: "withdrawData";
519
+ readonly type: "bytes";
520
+ }, {
521
+ readonly internalType: "uint256";
522
+ readonly name: "slippageTolerance";
523
+ readonly type: "uint256";
524
+ }];
525
+ readonly internalType: "struct IPoolLogic.ComplexAsset[]";
526
+ readonly name: "_complexAssetsData";
527
+ readonly type: "tuple[]";
528
+ }];
529
+ readonly name: "withdrawSafe";
530
+ readonly outputs: readonly [];
531
+ readonly stateMutability: "nonpayable";
532
+ readonly type: "function";
533
+ }, {
534
+ readonly inputs: readonly [{
535
+ readonly internalType: "uint256";
536
+ readonly name: "_fundTokenAmount";
537
+ readonly type: "uint256";
538
+ }, {
539
+ readonly internalType: "uint256";
540
+ readonly name: "_slippageTolerance";
541
+ readonly type: "uint256";
542
+ }];
543
+ readonly name: "withdrawSafe";
544
+ readonly outputs: readonly [];
545
+ readonly stateMutability: "nonpayable";
546
+ readonly type: "function";
547
+ }];
548
+ readonly functionName: "getFundSummary";
549
+ readonly chainId: number;
550
+ }], true, {
551
+ tokenPrice: string | undefined;
552
+ totalValueD18: string | undefined;
553
+ totalSupplyD18: string | undefined;
554
+ isPrivateVault: boolean | undefined;
555
+ performanceFee: string | undefined;
556
+ streamingFee: string | undefined;
557
+ entryFee: string | undefined;
558
+ exitFee: string | undefined;
559
+ managerAddress: string | undefined;
560
+ }>;
561
+ export {};