@dhedge/trading-widget 3.2.0-alpha.0 → 3.2.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.
- package/README.md +1 -5
- package/core-kit/abi/easy-swapper-v2.d.ts +0 -48
- package/core-kit/abi/index.d.ts +2 -3
- package/core-kit/abi/pool-logic.d.ts +124 -878
- package/core-kit/abi/pool-manager-logic.d.ts +0 -19
- package/core-kit/const/contracts/base.d.ts +1 -1
- package/core-kit/const/contracts/polygon.d.ts +0 -2
- package/core-kit/const/default-data.d.ts +1 -1
- package/core-kit/const/synthetix.d.ts +1 -0
- package/core-kit/hooks/pool/multicall/use-pool-manager.dynamic.d.ts +190 -75
- package/core-kit/hooks/pool/multicall/use-pool-manager.static.d.ts +0 -57
- package/core-kit/hooks/pool/multicall/use-pool.static.d.ts +5 -878
- package/core-kit/hooks/pool/multicall/use-pools.dynamic.d.ts +214 -3315
- package/core-kit/hooks/pool/use-pool-dynamic-contract-data.d.ts +0 -1
- package/core-kit/hooks/pool/use-pool-fees.d.ts +1 -0
- package/core-kit/hooks/state/action.d.ts +0 -3
- package/core-kit/hooks/state/index.d.ts +1 -2
- package/core-kit/hooks/trading/deposit-v2/use-deposit-quote-contract-read.d.ts +0 -48
- package/core-kit/hooks/trading/use-swaps-data-query.d.ts +0 -6
- package/core-kit/hooks/trading/withdraw-v2/init-step/index.d.ts +1 -1
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-transaction-arguments.d.ts +1 -6
- package/core-kit/hooks/trading/withdraw-v2/use-withdrawal-vault-address.d.ts +0 -48
- package/core-kit/hooks/user/multicall/use-user-multicall.d.ts +0 -48
- package/core-kit/hooks/web3/use-static-call-query.d.ts +6 -7
- package/core-kit/types/index.d.ts +0 -1
- package/core-kit/types/state.types.d.ts +0 -8
- package/core-kit/types/web3.types.d.ts +12 -0
- package/core-kit/utils/transaction.d.ts +3 -14
- package/core-kit/utils/web3.d.ts +2 -0
- package/index-8d920656.cjs +217 -0
- package/{index-97262ee5.js → index-d62956b7.js} +10949 -12275
- package/index.cjs +1 -1
- package/index.d.ts +3 -3
- package/index.js +203 -204
- package/package.json +1 -1
- package/{pyth-adapter-3dec6847.cjs → pyth-adapter-c8d76d79.cjs} +1 -1
- package/{pyth-adapter-4822ae26.js → pyth-adapter-e278f630.js} +1 -1
- package/style.css +1 -1
- package/trading-widget/components/deposit/meta/transaction-disclosure/transaction-disclosure.hooks.d.ts +0 -3
- package/trading-widget/components/widget/widget-buttons/approve-button/approve-button.hooks.d.ts +0 -1
- package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-deposit-swap-quote-button/reload-deposit-swap-quote-button.hooks.d.ts +1 -2
- package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-withdraw-swap-quote-button/reload-withdraw-swap-quote-button.hooks.d.ts +1 -2
- package/trading-widget/components/widget/widget-overlay/index.d.ts +0 -1
- package/trading-widget/components/withdraw/init-step/meta/transaction-disclosure/transaction-disclosure.hooks.d.ts +0 -3
- package/trading-widget/providers/config-provider/config-provider.types.d.ts +0 -1
- package/trading-widget/providers/translation-provider/translation-provider.types.d.ts +0 -1
- package/core-kit/abi/aave/aave-asset-guard.d.ts +0 -50
- package/core-kit/hooks/state/meta.d.ts +0 -6
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-fetch-aave-swap-params.d.ts +0 -6
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-fetch-init-withdraw-complex-asset-data.d.ts +0 -5
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-aave-swap-data.d.ts +0 -5
- package/core-kit/types/contract.types.d.ts +0 -28
- package/index-3ff0a312.cjs +0 -217
- package/trading-widget/components/widget/widget-overlay/pending-approval-overlay/pending-approval-overlay.d.ts +0 -2
- package/trading-widget/components/widget/widget-overlay/pending-approval-overlay/pending-approval-overlay.hooks.d.ts +0 -3
- package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-summary/claim-summary.d.ts +0 -7
- /package/core-kit/abi/{aave/aave-lending-pool.d.ts → aave-lending-pool.d.ts} +0 -0
|
@@ -2,249 +2,6 @@ import type { PoolContractCallParams } from 'core-kit/types';
|
|
|
2
2
|
export declare const usePoolStatic: ({ address, chainId }: PoolContractCallParams) => import("wagmi").UseReadContractsReturnType<readonly [{
|
|
3
3
|
readonly address: `0x${string}`;
|
|
4
4
|
readonly abi: readonly [{
|
|
5
|
-
readonly anonymous: false;
|
|
6
|
-
readonly inputs: readonly [{
|
|
7
|
-
readonly indexed: true;
|
|
8
|
-
readonly internalType: "address";
|
|
9
|
-
readonly name: "owner";
|
|
10
|
-
readonly type: "address";
|
|
11
|
-
}, {
|
|
12
|
-
readonly indexed: true;
|
|
13
|
-
readonly internalType: "address";
|
|
14
|
-
readonly name: "spender";
|
|
15
|
-
readonly type: "address";
|
|
16
|
-
}, {
|
|
17
|
-
readonly indexed: false;
|
|
18
|
-
readonly internalType: "uint256";
|
|
19
|
-
readonly name: "value";
|
|
20
|
-
readonly type: "uint256";
|
|
21
|
-
}];
|
|
22
|
-
readonly name: "Approval";
|
|
23
|
-
readonly type: "event";
|
|
24
|
-
}, {
|
|
25
|
-
readonly anonymous: false;
|
|
26
|
-
readonly inputs: readonly [{
|
|
27
|
-
readonly indexed: false;
|
|
28
|
-
readonly internalType: "address";
|
|
29
|
-
readonly name: "fundAddress";
|
|
30
|
-
readonly type: "address";
|
|
31
|
-
}, {
|
|
32
|
-
readonly indexed: false;
|
|
33
|
-
readonly internalType: "address";
|
|
34
|
-
readonly name: "investor";
|
|
35
|
-
readonly type: "address";
|
|
36
|
-
}, {
|
|
37
|
-
readonly indexed: false;
|
|
38
|
-
readonly internalType: "address";
|
|
39
|
-
readonly name: "assetDeposited";
|
|
40
|
-
readonly type: "address";
|
|
41
|
-
}, {
|
|
42
|
-
readonly indexed: false;
|
|
43
|
-
readonly internalType: "uint256";
|
|
44
|
-
readonly name: "amountDeposited";
|
|
45
|
-
readonly type: "uint256";
|
|
46
|
-
}, {
|
|
47
|
-
readonly indexed: false;
|
|
48
|
-
readonly internalType: "uint256";
|
|
49
|
-
readonly name: "valueDeposited";
|
|
50
|
-
readonly type: "uint256";
|
|
51
|
-
}, {
|
|
52
|
-
readonly indexed: false;
|
|
53
|
-
readonly internalType: "uint256";
|
|
54
|
-
readonly name: "fundTokensReceived";
|
|
55
|
-
readonly type: "uint256";
|
|
56
|
-
}, {
|
|
57
|
-
readonly indexed: false;
|
|
58
|
-
readonly internalType: "uint256";
|
|
59
|
-
readonly name: "totalInvestorFundTokens";
|
|
60
|
-
readonly type: "uint256";
|
|
61
|
-
}, {
|
|
62
|
-
readonly indexed: false;
|
|
63
|
-
readonly internalType: "uint256";
|
|
64
|
-
readonly name: "fundValue";
|
|
65
|
-
readonly type: "uint256";
|
|
66
|
-
}, {
|
|
67
|
-
readonly indexed: false;
|
|
68
|
-
readonly internalType: "uint256";
|
|
69
|
-
readonly name: "totalSupply";
|
|
70
|
-
readonly type: "uint256";
|
|
71
|
-
}, {
|
|
72
|
-
readonly indexed: false;
|
|
73
|
-
readonly internalType: "uint256";
|
|
74
|
-
readonly name: "time";
|
|
75
|
-
readonly type: "uint256";
|
|
76
|
-
}];
|
|
77
|
-
readonly name: "Deposit";
|
|
78
|
-
readonly type: "event";
|
|
79
|
-
}, {
|
|
80
|
-
readonly anonymous: false;
|
|
81
|
-
readonly inputs: readonly [{
|
|
82
|
-
readonly indexed: false;
|
|
83
|
-
readonly internalType: "address";
|
|
84
|
-
readonly name: "pool";
|
|
85
|
-
readonly type: "address";
|
|
86
|
-
}, {
|
|
87
|
-
readonly indexed: false;
|
|
88
|
-
readonly internalType: "address";
|
|
89
|
-
readonly name: "manager";
|
|
90
|
-
readonly type: "address";
|
|
91
|
-
}, {
|
|
92
|
-
readonly indexed: false;
|
|
93
|
-
readonly internalType: "uint256";
|
|
94
|
-
readonly name: "available";
|
|
95
|
-
readonly type: "uint256";
|
|
96
|
-
}, {
|
|
97
|
-
readonly indexed: false;
|
|
98
|
-
readonly internalType: "uint256";
|
|
99
|
-
readonly name: "daoFee";
|
|
100
|
-
readonly type: "uint256";
|
|
101
|
-
}, {
|
|
102
|
-
readonly indexed: false;
|
|
103
|
-
readonly internalType: "uint256";
|
|
104
|
-
readonly name: "managerFee";
|
|
105
|
-
readonly type: "uint256";
|
|
106
|
-
}, {
|
|
107
|
-
readonly indexed: false;
|
|
108
|
-
readonly internalType: "uint256";
|
|
109
|
-
readonly name: "tokenPriceAtLastFeeMint";
|
|
110
|
-
readonly type: "uint256";
|
|
111
|
-
}];
|
|
112
|
-
readonly name: "ManagerFeeMinted";
|
|
113
|
-
readonly type: "event";
|
|
114
|
-
}, {
|
|
115
|
-
readonly anonymous: false;
|
|
116
|
-
readonly inputs: readonly [{
|
|
117
|
-
readonly indexed: false;
|
|
118
|
-
readonly internalType: "address";
|
|
119
|
-
readonly name: "poolManagerLogic";
|
|
120
|
-
readonly type: "address";
|
|
121
|
-
}, {
|
|
122
|
-
readonly indexed: false;
|
|
123
|
-
readonly internalType: "address";
|
|
124
|
-
readonly name: "from";
|
|
125
|
-
readonly type: "address";
|
|
126
|
-
}];
|
|
127
|
-
readonly name: "PoolManagerLogicSet";
|
|
128
|
-
readonly type: "event";
|
|
129
|
-
}, {
|
|
130
|
-
readonly anonymous: false;
|
|
131
|
-
readonly inputs: readonly [{
|
|
132
|
-
readonly indexed: false;
|
|
133
|
-
readonly internalType: "bool";
|
|
134
|
-
readonly name: "isPoolPrivate";
|
|
135
|
-
readonly type: "bool";
|
|
136
|
-
}];
|
|
137
|
-
readonly name: "PoolPrivacyUpdated";
|
|
138
|
-
readonly type: "event";
|
|
139
|
-
}, {
|
|
140
|
-
readonly anonymous: false;
|
|
141
|
-
readonly inputs: readonly [{
|
|
142
|
-
readonly indexed: false;
|
|
143
|
-
readonly internalType: "address";
|
|
144
|
-
readonly name: "pool";
|
|
145
|
-
readonly type: "address";
|
|
146
|
-
}, {
|
|
147
|
-
readonly indexed: false;
|
|
148
|
-
readonly internalType: "address";
|
|
149
|
-
readonly name: "manager";
|
|
150
|
-
readonly type: "address";
|
|
151
|
-
}, {
|
|
152
|
-
readonly indexed: false;
|
|
153
|
-
readonly internalType: "uint16";
|
|
154
|
-
readonly name: "transactionType";
|
|
155
|
-
readonly type: "uint16";
|
|
156
|
-
}, {
|
|
157
|
-
readonly indexed: false;
|
|
158
|
-
readonly internalType: "uint256";
|
|
159
|
-
readonly name: "time";
|
|
160
|
-
readonly type: "uint256";
|
|
161
|
-
}];
|
|
162
|
-
readonly name: "TransactionExecuted";
|
|
163
|
-
readonly type: "event";
|
|
164
|
-
}, {
|
|
165
|
-
readonly anonymous: false;
|
|
166
|
-
readonly inputs: readonly [{
|
|
167
|
-
readonly indexed: true;
|
|
168
|
-
readonly internalType: "address";
|
|
169
|
-
readonly name: "from";
|
|
170
|
-
readonly type: "address";
|
|
171
|
-
}, {
|
|
172
|
-
readonly indexed: true;
|
|
173
|
-
readonly internalType: "address";
|
|
174
|
-
readonly name: "to";
|
|
175
|
-
readonly type: "address";
|
|
176
|
-
}, {
|
|
177
|
-
readonly indexed: false;
|
|
178
|
-
readonly internalType: "uint256";
|
|
179
|
-
readonly name: "value";
|
|
180
|
-
readonly type: "uint256";
|
|
181
|
-
}];
|
|
182
|
-
readonly name: "Transfer";
|
|
183
|
-
readonly type: "event";
|
|
184
|
-
}, {
|
|
185
|
-
readonly anonymous: false;
|
|
186
|
-
readonly inputs: readonly [{
|
|
187
|
-
readonly indexed: false;
|
|
188
|
-
readonly internalType: "address";
|
|
189
|
-
readonly name: "fundAddress";
|
|
190
|
-
readonly type: "address";
|
|
191
|
-
}, {
|
|
192
|
-
readonly indexed: false;
|
|
193
|
-
readonly internalType: "address";
|
|
194
|
-
readonly name: "investor";
|
|
195
|
-
readonly type: "address";
|
|
196
|
-
}, {
|
|
197
|
-
readonly indexed: false;
|
|
198
|
-
readonly internalType: "uint256";
|
|
199
|
-
readonly name: "valueWithdrawn";
|
|
200
|
-
readonly type: "uint256";
|
|
201
|
-
}, {
|
|
202
|
-
readonly indexed: false;
|
|
203
|
-
readonly internalType: "uint256";
|
|
204
|
-
readonly name: "fundTokensWithdrawn";
|
|
205
|
-
readonly type: "uint256";
|
|
206
|
-
}, {
|
|
207
|
-
readonly indexed: false;
|
|
208
|
-
readonly internalType: "uint256";
|
|
209
|
-
readonly name: "totalInvestorFundTokens";
|
|
210
|
-
readonly type: "uint256";
|
|
211
|
-
}, {
|
|
212
|
-
readonly indexed: false;
|
|
213
|
-
readonly internalType: "uint256";
|
|
214
|
-
readonly name: "fundValue";
|
|
215
|
-
readonly type: "uint256";
|
|
216
|
-
}, {
|
|
217
|
-
readonly indexed: false;
|
|
218
|
-
readonly internalType: "uint256";
|
|
219
|
-
readonly name: "totalSupply";
|
|
220
|
-
readonly type: "uint256";
|
|
221
|
-
}, {
|
|
222
|
-
readonly components: readonly [{
|
|
223
|
-
readonly internalType: "address";
|
|
224
|
-
readonly name: "asset";
|
|
225
|
-
readonly type: "address";
|
|
226
|
-
}, {
|
|
227
|
-
readonly internalType: "uint256";
|
|
228
|
-
readonly name: "amount";
|
|
229
|
-
readonly type: "uint256";
|
|
230
|
-
}, {
|
|
231
|
-
readonly internalType: "bool";
|
|
232
|
-
readonly name: "externalWithdrawProcessed";
|
|
233
|
-
readonly type: "bool";
|
|
234
|
-
}];
|
|
235
|
-
readonly indexed: false;
|
|
236
|
-
readonly internalType: "struct PoolLogic.WithdrawnAsset[]";
|
|
237
|
-
readonly name: "withdrawnAssets";
|
|
238
|
-
readonly type: "tuple[]";
|
|
239
|
-
}, {
|
|
240
|
-
readonly indexed: false;
|
|
241
|
-
readonly internalType: "uint256";
|
|
242
|
-
readonly name: "time";
|
|
243
|
-
readonly type: "uint256";
|
|
244
|
-
}];
|
|
245
|
-
readonly name: "Withdrawal";
|
|
246
|
-
readonly type: "event";
|
|
247
|
-
}, {
|
|
248
5
|
readonly inputs: readonly [{
|
|
249
6
|
readonly internalType: "address";
|
|
250
7
|
readonly name: "owner";
|
|
@@ -308,26 +65,6 @@ export declare const usePoolStatic: ({ address, chainId }: PoolContractCallParam
|
|
|
308
65
|
}];
|
|
309
66
|
readonly stateMutability: "view";
|
|
310
67
|
readonly type: "function";
|
|
311
|
-
}, {
|
|
312
|
-
readonly inputs: readonly [];
|
|
313
|
-
readonly name: "creationTime";
|
|
314
|
-
readonly outputs: readonly [{
|
|
315
|
-
readonly internalType: "uint256";
|
|
316
|
-
readonly name: "";
|
|
317
|
-
readonly type: "uint256";
|
|
318
|
-
}];
|
|
319
|
-
readonly stateMutability: "view";
|
|
320
|
-
readonly type: "function";
|
|
321
|
-
}, {
|
|
322
|
-
readonly inputs: readonly [];
|
|
323
|
-
readonly name: "creator";
|
|
324
|
-
readonly outputs: readonly [{
|
|
325
|
-
readonly internalType: "address";
|
|
326
|
-
readonly name: "";
|
|
327
|
-
readonly type: "address";
|
|
328
|
-
}];
|
|
329
|
-
readonly stateMutability: "view";
|
|
330
|
-
readonly type: "function";
|
|
331
68
|
}, {
|
|
332
69
|
readonly inputs: readonly [];
|
|
333
70
|
readonly name: "decimals";
|
|
@@ -338,24 +75,6 @@ export declare const usePoolStatic: ({ address, chainId }: PoolContractCallParam
|
|
|
338
75
|
}];
|
|
339
76
|
readonly stateMutability: "view";
|
|
340
77
|
readonly type: "function";
|
|
341
|
-
}, {
|
|
342
|
-
readonly inputs: readonly [{
|
|
343
|
-
readonly internalType: "address";
|
|
344
|
-
readonly name: "spender";
|
|
345
|
-
readonly type: "address";
|
|
346
|
-
}, {
|
|
347
|
-
readonly internalType: "uint256";
|
|
348
|
-
readonly name: "subtractedValue";
|
|
349
|
-
readonly type: "uint256";
|
|
350
|
-
}];
|
|
351
|
-
readonly name: "decreaseAllowance";
|
|
352
|
-
readonly outputs: readonly [{
|
|
353
|
-
readonly internalType: "bool";
|
|
354
|
-
readonly name: "";
|
|
355
|
-
readonly type: "bool";
|
|
356
|
-
}];
|
|
357
|
-
readonly stateMutability: "nonpayable";
|
|
358
|
-
readonly type: "function";
|
|
359
78
|
}, {
|
|
360
79
|
readonly inputs: readonly [{
|
|
361
80
|
readonly internalType: "address";
|
|
@@ -374,131 +93,6 @@ export declare const usePoolStatic: ({ address, chainId }: PoolContractCallParam
|
|
|
374
93
|
}];
|
|
375
94
|
readonly stateMutability: "nonpayable";
|
|
376
95
|
readonly type: "function";
|
|
377
|
-
}, {
|
|
378
|
-
readonly inputs: readonly [{
|
|
379
|
-
readonly internalType: "address";
|
|
380
|
-
readonly name: "_recipient";
|
|
381
|
-
readonly type: "address";
|
|
382
|
-
}, {
|
|
383
|
-
readonly internalType: "address";
|
|
384
|
-
readonly name: "_asset";
|
|
385
|
-
readonly type: "address";
|
|
386
|
-
}, {
|
|
387
|
-
readonly internalType: "uint256";
|
|
388
|
-
readonly name: "_amount";
|
|
389
|
-
readonly type: "uint256";
|
|
390
|
-
}];
|
|
391
|
-
readonly name: "depositFor";
|
|
392
|
-
readonly outputs: readonly [{
|
|
393
|
-
readonly internalType: "uint256";
|
|
394
|
-
readonly name: "liquidityMinted";
|
|
395
|
-
readonly type: "uint256";
|
|
396
|
-
}];
|
|
397
|
-
readonly stateMutability: "nonpayable";
|
|
398
|
-
readonly type: "function";
|
|
399
|
-
}, {
|
|
400
|
-
readonly inputs: readonly [{
|
|
401
|
-
readonly internalType: "address";
|
|
402
|
-
readonly name: "_recipient";
|
|
403
|
-
readonly type: "address";
|
|
404
|
-
}, {
|
|
405
|
-
readonly internalType: "address";
|
|
406
|
-
readonly name: "_asset";
|
|
407
|
-
readonly type: "address";
|
|
408
|
-
}, {
|
|
409
|
-
readonly internalType: "uint256";
|
|
410
|
-
readonly name: "_amount";
|
|
411
|
-
readonly type: "uint256";
|
|
412
|
-
}, {
|
|
413
|
-
readonly internalType: "uint256";
|
|
414
|
-
readonly name: "_cooldown";
|
|
415
|
-
readonly type: "uint256";
|
|
416
|
-
}];
|
|
417
|
-
readonly name: "depositForWithCustomCooldown";
|
|
418
|
-
readonly outputs: readonly [{
|
|
419
|
-
readonly internalType: "uint256";
|
|
420
|
-
readonly name: "liquidityMinted";
|
|
421
|
-
readonly type: "uint256";
|
|
422
|
-
}];
|
|
423
|
-
readonly stateMutability: "nonpayable";
|
|
424
|
-
readonly type: "function";
|
|
425
|
-
}, {
|
|
426
|
-
readonly inputs: readonly [{
|
|
427
|
-
readonly internalType: "address";
|
|
428
|
-
readonly name: "to";
|
|
429
|
-
readonly type: "address";
|
|
430
|
-
}, {
|
|
431
|
-
readonly internalType: "bytes";
|
|
432
|
-
readonly name: "data";
|
|
433
|
-
readonly type: "bytes";
|
|
434
|
-
}];
|
|
435
|
-
readonly name: "execTransaction";
|
|
436
|
-
readonly outputs: readonly [{
|
|
437
|
-
readonly internalType: "bool";
|
|
438
|
-
readonly name: "success";
|
|
439
|
-
readonly type: "bool";
|
|
440
|
-
}];
|
|
441
|
-
readonly stateMutability: "nonpayable";
|
|
442
|
-
readonly type: "function";
|
|
443
|
-
}, {
|
|
444
|
-
readonly inputs: readonly [{
|
|
445
|
-
readonly components: readonly [{
|
|
446
|
-
readonly internalType: "address";
|
|
447
|
-
readonly name: "to";
|
|
448
|
-
readonly type: "address";
|
|
449
|
-
}, {
|
|
450
|
-
readonly internalType: "bytes";
|
|
451
|
-
readonly name: "data";
|
|
452
|
-
readonly type: "bytes";
|
|
453
|
-
}];
|
|
454
|
-
readonly internalType: "struct PoolLogic.TxToExecute[]";
|
|
455
|
-
readonly name: "txs";
|
|
456
|
-
readonly type: "tuple[]";
|
|
457
|
-
}];
|
|
458
|
-
readonly name: "execTransactions";
|
|
459
|
-
readonly outputs: readonly [];
|
|
460
|
-
readonly stateMutability: "nonpayable";
|
|
461
|
-
readonly type: "function";
|
|
462
|
-
}, {
|
|
463
|
-
readonly inputs: readonly [{
|
|
464
|
-
readonly internalType: "address[]";
|
|
465
|
-
readonly name: "assets";
|
|
466
|
-
readonly type: "address[]";
|
|
467
|
-
}, {
|
|
468
|
-
readonly internalType: "uint256[]";
|
|
469
|
-
readonly name: "amounts";
|
|
470
|
-
readonly type: "uint256[]";
|
|
471
|
-
}, {
|
|
472
|
-
readonly internalType: "uint256[]";
|
|
473
|
-
readonly name: "premiums";
|
|
474
|
-
readonly type: "uint256[]";
|
|
475
|
-
}, {
|
|
476
|
-
readonly internalType: "address";
|
|
477
|
-
readonly name: "initiator";
|
|
478
|
-
readonly type: "address";
|
|
479
|
-
}, {
|
|
480
|
-
readonly internalType: "bytes";
|
|
481
|
-
readonly name: "params";
|
|
482
|
-
readonly type: "bytes";
|
|
483
|
-
}];
|
|
484
|
-
readonly name: "executeOperation";
|
|
485
|
-
readonly outputs: readonly [{
|
|
486
|
-
readonly internalType: "bool";
|
|
487
|
-
readonly name: "success";
|
|
488
|
-
readonly type: "bool";
|
|
489
|
-
}];
|
|
490
|
-
readonly stateMutability: "nonpayable";
|
|
491
|
-
readonly type: "function";
|
|
492
|
-
}, {
|
|
493
|
-
readonly inputs: readonly [];
|
|
494
|
-
readonly name: "factory";
|
|
495
|
-
readonly outputs: readonly [{
|
|
496
|
-
readonly internalType: "address";
|
|
497
|
-
readonly name: "";
|
|
498
|
-
readonly type: "address";
|
|
499
|
-
}];
|
|
500
|
-
readonly stateMutability: "view";
|
|
501
|
-
readonly type: "function";
|
|
502
96
|
}, {
|
|
503
97
|
readonly inputs: readonly [{
|
|
504
98
|
readonly internalType: "address";
|
|
@@ -576,98 +170,6 @@ export declare const usePoolStatic: ({ address, chainId }: PoolContractCallParam
|
|
|
576
170
|
}];
|
|
577
171
|
readonly stateMutability: "view";
|
|
578
172
|
readonly type: "function";
|
|
579
|
-
}, {
|
|
580
|
-
readonly inputs: readonly [{
|
|
581
|
-
readonly internalType: "address";
|
|
582
|
-
readonly name: "spender";
|
|
583
|
-
readonly type: "address";
|
|
584
|
-
}, {
|
|
585
|
-
readonly internalType: "uint256";
|
|
586
|
-
readonly name: "addedValue";
|
|
587
|
-
readonly type: "uint256";
|
|
588
|
-
}];
|
|
589
|
-
readonly name: "increaseAllowance";
|
|
590
|
-
readonly outputs: readonly [{
|
|
591
|
-
readonly internalType: "bool";
|
|
592
|
-
readonly name: "";
|
|
593
|
-
readonly type: "bool";
|
|
594
|
-
}];
|
|
595
|
-
readonly stateMutability: "nonpayable";
|
|
596
|
-
readonly type: "function";
|
|
597
|
-
}, {
|
|
598
|
-
readonly inputs: readonly [{
|
|
599
|
-
readonly internalType: "address";
|
|
600
|
-
readonly name: "_factory";
|
|
601
|
-
readonly type: "address";
|
|
602
|
-
}, {
|
|
603
|
-
readonly internalType: "bool";
|
|
604
|
-
readonly name: "_privatePool";
|
|
605
|
-
readonly type: "bool";
|
|
606
|
-
}, {
|
|
607
|
-
readonly internalType: "string";
|
|
608
|
-
readonly name: "_fundName";
|
|
609
|
-
readonly type: "string";
|
|
610
|
-
}, {
|
|
611
|
-
readonly internalType: "string";
|
|
612
|
-
readonly name: "_fundSymbol";
|
|
613
|
-
readonly type: "string";
|
|
614
|
-
}];
|
|
615
|
-
readonly name: "initialize";
|
|
616
|
-
readonly outputs: readonly [];
|
|
617
|
-
readonly stateMutability: "nonpayable";
|
|
618
|
-
readonly type: "function";
|
|
619
|
-
}, {
|
|
620
|
-
readonly inputs: readonly [{
|
|
621
|
-
readonly internalType: "address";
|
|
622
|
-
readonly name: "";
|
|
623
|
-
readonly type: "address";
|
|
624
|
-
}];
|
|
625
|
-
readonly name: "lastDeposit";
|
|
626
|
-
readonly outputs: readonly [{
|
|
627
|
-
readonly internalType: "uint256";
|
|
628
|
-
readonly name: "";
|
|
629
|
-
readonly type: "uint256";
|
|
630
|
-
}];
|
|
631
|
-
readonly stateMutability: "view";
|
|
632
|
-
readonly type: "function";
|
|
633
|
-
}, {
|
|
634
|
-
readonly inputs: readonly [{
|
|
635
|
-
readonly internalType: "address";
|
|
636
|
-
readonly name: "";
|
|
637
|
-
readonly type: "address";
|
|
638
|
-
}];
|
|
639
|
-
readonly name: "lastExitCooldown";
|
|
640
|
-
readonly outputs: readonly [{
|
|
641
|
-
readonly internalType: "uint256";
|
|
642
|
-
readonly name: "";
|
|
643
|
-
readonly type: "uint256";
|
|
644
|
-
}];
|
|
645
|
-
readonly stateMutability: "view";
|
|
646
|
-
readonly type: "function";
|
|
647
|
-
}, {
|
|
648
|
-
readonly inputs: readonly [];
|
|
649
|
-
readonly name: "lastFeeMintTime";
|
|
650
|
-
readonly outputs: readonly [{
|
|
651
|
-
readonly internalType: "uint256";
|
|
652
|
-
readonly name: "";
|
|
653
|
-
readonly type: "uint256";
|
|
654
|
-
}];
|
|
655
|
-
readonly stateMutability: "view";
|
|
656
|
-
readonly type: "function";
|
|
657
|
-
}, {
|
|
658
|
-
readonly inputs: readonly [{
|
|
659
|
-
readonly internalType: "address";
|
|
660
|
-
readonly name: "";
|
|
661
|
-
readonly type: "address";
|
|
662
|
-
}];
|
|
663
|
-
readonly name: "lastWhitelistTransfer";
|
|
664
|
-
readonly outputs: readonly [{
|
|
665
|
-
readonly internalType: "uint256";
|
|
666
|
-
readonly name: "";
|
|
667
|
-
readonly type: "uint256";
|
|
668
|
-
}];
|
|
669
|
-
readonly stateMutability: "view";
|
|
670
|
-
readonly type: "function";
|
|
671
173
|
}, {
|
|
672
174
|
readonly inputs: readonly [];
|
|
673
175
|
readonly name: "mintManagerFee";
|
|
@@ -684,105 +186,29 @@ export declare const usePoolStatic: ({ address, chainId }: PoolContractCallParam
|
|
|
684
186
|
}];
|
|
685
187
|
readonly stateMutability: "view";
|
|
686
188
|
readonly type: "function";
|
|
687
|
-
}, {
|
|
688
|
-
readonly inputs: readonly [{
|
|
689
|
-
readonly internalType: "address";
|
|
690
|
-
readonly name: "operator";
|
|
691
|
-
readonly type: "address";
|
|
692
|
-
}, {
|
|
693
|
-
readonly internalType: "address";
|
|
694
|
-
readonly name: "from";
|
|
695
|
-
readonly type: "address";
|
|
696
|
-
}, {
|
|
697
|
-
readonly internalType: "uint256";
|
|
698
|
-
readonly name: "tokenId";
|
|
699
|
-
readonly type: "uint256";
|
|
700
|
-
}, {
|
|
701
|
-
readonly internalType: "bytes";
|
|
702
|
-
readonly name: "data";
|
|
703
|
-
readonly type: "bytes";
|
|
704
|
-
}];
|
|
705
|
-
readonly name: "onERC721Received";
|
|
706
|
-
readonly outputs: readonly [{
|
|
707
|
-
readonly internalType: "bytes4";
|
|
708
|
-
readonly name: "magicSelector";
|
|
709
|
-
readonly type: "bytes4";
|
|
710
|
-
}];
|
|
711
|
-
readonly stateMutability: "nonpayable";
|
|
712
|
-
readonly type: "function";
|
|
713
189
|
}, {
|
|
714
190
|
readonly inputs: readonly [];
|
|
715
191
|
readonly name: "poolManagerLogic";
|
|
716
192
|
readonly outputs: readonly [{
|
|
717
193
|
readonly internalType: "address";
|
|
718
194
|
readonly name: "";
|
|
719
|
-
readonly type: "address";
|
|
720
|
-
}];
|
|
721
|
-
readonly stateMutability: "view";
|
|
722
|
-
readonly type: "function";
|
|
723
|
-
}, {
|
|
724
|
-
readonly inputs: readonly [];
|
|
725
|
-
readonly name: "privatePool";
|
|
726
|
-
readonly outputs: readonly [{
|
|
727
|
-
readonly internalType: "bool";
|
|
728
|
-
readonly name: "";
|
|
729
|
-
readonly type: "bool";
|
|
730
|
-
}];
|
|
731
|
-
readonly stateMutability: "view";
|
|
732
|
-
readonly type: "function";
|
|
733
|
-
}, {
|
|
734
|
-
readonly inputs: readonly [{
|
|
735
|
-
readonly internalType: "address";
|
|
736
|
-
readonly name: "_poolManagerLogic";
|
|
737
|
-
readonly type: "address";
|
|
738
|
-
}];
|
|
739
|
-
readonly name: "setPoolManagerLogic";
|
|
740
|
-
readonly outputs: readonly [];
|
|
741
|
-
readonly stateMutability: "nonpayable";
|
|
742
|
-
readonly type: "function";
|
|
743
|
-
}, {
|
|
744
|
-
readonly inputs: readonly [{
|
|
745
|
-
readonly internalType: "bool";
|
|
746
|
-
readonly name: "_privatePool";
|
|
747
|
-
readonly type: "bool";
|
|
748
|
-
}];
|
|
749
|
-
readonly name: "setPoolPrivate";
|
|
750
|
-
readonly outputs: readonly [];
|
|
751
|
-
readonly stateMutability: "nonpayable";
|
|
752
|
-
readonly type: "function";
|
|
753
|
-
}, {
|
|
754
|
-
readonly inputs: readonly [];
|
|
755
|
-
readonly name: "symbol";
|
|
756
|
-
readonly outputs: readonly [{
|
|
757
|
-
readonly internalType: "string";
|
|
758
|
-
readonly name: "";
|
|
759
|
-
readonly type: "string";
|
|
760
|
-
}];
|
|
761
|
-
readonly stateMutability: "view";
|
|
762
|
-
readonly type: "function";
|
|
763
|
-
}, {
|
|
764
|
-
readonly inputs: readonly [];
|
|
765
|
-
readonly name: "tokenPrice";
|
|
766
|
-
readonly outputs: readonly [{
|
|
767
|
-
readonly internalType: "uint256";
|
|
768
|
-
readonly name: "price";
|
|
769
|
-
readonly type: "uint256";
|
|
195
|
+
readonly type: "address";
|
|
770
196
|
}];
|
|
771
197
|
readonly stateMutability: "view";
|
|
772
198
|
readonly type: "function";
|
|
773
199
|
}, {
|
|
774
200
|
readonly inputs: readonly [];
|
|
775
|
-
readonly name: "
|
|
201
|
+
readonly name: "symbol";
|
|
776
202
|
readonly outputs: readonly [{
|
|
777
|
-
readonly internalType: "
|
|
203
|
+
readonly internalType: "string";
|
|
778
204
|
readonly name: "";
|
|
779
|
-
readonly type: "
|
|
205
|
+
readonly type: "string";
|
|
780
206
|
}];
|
|
781
207
|
readonly stateMutability: "view";
|
|
782
208
|
readonly type: "function";
|
|
783
209
|
}, {
|
|
784
210
|
readonly inputs: readonly [];
|
|
785
|
-
readonly name: "
|
|
211
|
+
readonly name: "tokenPrice";
|
|
786
212
|
readonly outputs: readonly [{
|
|
787
213
|
readonly internalType: "uint256";
|
|
788
214
|
readonly name: "price";
|
|
@@ -800,83 +226,6 @@ export declare const usePoolStatic: ({ address, chainId }: PoolContractCallParam
|
|
|
800
226
|
}];
|
|
801
227
|
readonly stateMutability: "view";
|
|
802
228
|
readonly type: "function";
|
|
803
|
-
}, {
|
|
804
|
-
readonly inputs: readonly [{
|
|
805
|
-
readonly internalType: "address";
|
|
806
|
-
readonly name: "recipient";
|
|
807
|
-
readonly type: "address";
|
|
808
|
-
}, {
|
|
809
|
-
readonly internalType: "uint256";
|
|
810
|
-
readonly name: "amount";
|
|
811
|
-
readonly type: "uint256";
|
|
812
|
-
}];
|
|
813
|
-
readonly name: "transfer";
|
|
814
|
-
readonly outputs: readonly [{
|
|
815
|
-
readonly internalType: "bool";
|
|
816
|
-
readonly name: "";
|
|
817
|
-
readonly type: "bool";
|
|
818
|
-
}];
|
|
819
|
-
readonly stateMutability: "nonpayable";
|
|
820
|
-
readonly type: "function";
|
|
821
|
-
}, {
|
|
822
|
-
readonly inputs: readonly [{
|
|
823
|
-
readonly internalType: "address";
|
|
824
|
-
readonly name: "sender";
|
|
825
|
-
readonly type: "address";
|
|
826
|
-
}, {
|
|
827
|
-
readonly internalType: "address";
|
|
828
|
-
readonly name: "recipient";
|
|
829
|
-
readonly type: "address";
|
|
830
|
-
}, {
|
|
831
|
-
readonly internalType: "uint256";
|
|
832
|
-
readonly name: "amount";
|
|
833
|
-
readonly type: "uint256";
|
|
834
|
-
}];
|
|
835
|
-
readonly name: "transferFrom";
|
|
836
|
-
readonly outputs: readonly [{
|
|
837
|
-
readonly internalType: "bool";
|
|
838
|
-
readonly name: "";
|
|
839
|
-
readonly type: "bool";
|
|
840
|
-
}];
|
|
841
|
-
readonly stateMutability: "nonpayable";
|
|
842
|
-
readonly type: "function";
|
|
843
|
-
}, {
|
|
844
|
-
readonly inputs: readonly [{
|
|
845
|
-
readonly internalType: "uint256";
|
|
846
|
-
readonly name: "_fundTokenAmount";
|
|
847
|
-
readonly type: "uint256";
|
|
848
|
-
}];
|
|
849
|
-
readonly name: "withdraw";
|
|
850
|
-
readonly outputs: readonly [];
|
|
851
|
-
readonly stateMutability: "nonpayable";
|
|
852
|
-
readonly type: "function";
|
|
853
|
-
}, {
|
|
854
|
-
readonly inputs: readonly [{
|
|
855
|
-
readonly internalType: "uint256";
|
|
856
|
-
readonly name: "_fundTokenAmount";
|
|
857
|
-
readonly type: "uint256";
|
|
858
|
-
}, {
|
|
859
|
-
readonly components: readonly [{
|
|
860
|
-
readonly internalType: "address";
|
|
861
|
-
readonly name: "supportedAsset";
|
|
862
|
-
readonly type: "address";
|
|
863
|
-
}, {
|
|
864
|
-
readonly internalType: "bytes";
|
|
865
|
-
readonly name: "withdrawData";
|
|
866
|
-
readonly type: "bytes";
|
|
867
|
-
}, {
|
|
868
|
-
readonly internalType: "uint256";
|
|
869
|
-
readonly name: "slippageTolerance";
|
|
870
|
-
readonly type: "uint256";
|
|
871
|
-
}];
|
|
872
|
-
readonly internalType: "struct IPoolLogic.ComplexAsset[]";
|
|
873
|
-
readonly name: "_complexAssetsData";
|
|
874
|
-
readonly type: "tuple[]";
|
|
875
|
-
}];
|
|
876
|
-
readonly name: "withdrawSafe";
|
|
877
|
-
readonly outputs: readonly [];
|
|
878
|
-
readonly stateMutability: "nonpayable";
|
|
879
|
-
readonly type: "function";
|
|
880
229
|
}, {
|
|
881
230
|
readonly inputs: readonly [{
|
|
882
231
|
readonly internalType: "uint256";
|
|
@@ -891,69 +240,6 @@ export declare const usePoolStatic: ({ address, chainId }: PoolContractCallParam
|
|
|
891
240
|
readonly outputs: readonly [];
|
|
892
241
|
readonly stateMutability: "nonpayable";
|
|
893
242
|
readonly type: "function";
|
|
894
|
-
}, {
|
|
895
|
-
readonly inputs: readonly [{
|
|
896
|
-
readonly internalType: "address";
|
|
897
|
-
readonly name: "_recipient";
|
|
898
|
-
readonly type: "address";
|
|
899
|
-
}, {
|
|
900
|
-
readonly internalType: "uint256";
|
|
901
|
-
readonly name: "_fundTokenAmount";
|
|
902
|
-
readonly type: "uint256";
|
|
903
|
-
}];
|
|
904
|
-
readonly name: "withdrawTo";
|
|
905
|
-
readonly outputs: readonly [];
|
|
906
|
-
readonly stateMutability: "nonpayable";
|
|
907
|
-
readonly type: "function";
|
|
908
|
-
}, {
|
|
909
|
-
readonly inputs: readonly [{
|
|
910
|
-
readonly internalType: "address";
|
|
911
|
-
readonly name: "_recipient";
|
|
912
|
-
readonly type: "address";
|
|
913
|
-
}, {
|
|
914
|
-
readonly internalType: "uint256";
|
|
915
|
-
readonly name: "_fundTokenAmount";
|
|
916
|
-
readonly type: "uint256";
|
|
917
|
-
}, {
|
|
918
|
-
readonly components: readonly [{
|
|
919
|
-
readonly internalType: "address";
|
|
920
|
-
readonly name: "supportedAsset";
|
|
921
|
-
readonly type: "address";
|
|
922
|
-
}, {
|
|
923
|
-
readonly internalType: "bytes";
|
|
924
|
-
readonly name: "withdrawData";
|
|
925
|
-
readonly type: "bytes";
|
|
926
|
-
}, {
|
|
927
|
-
readonly internalType: "uint256";
|
|
928
|
-
readonly name: "slippageTolerance";
|
|
929
|
-
readonly type: "uint256";
|
|
930
|
-
}];
|
|
931
|
-
readonly internalType: "struct IPoolLogic.ComplexAsset[]";
|
|
932
|
-
readonly name: "_complexAssetsData";
|
|
933
|
-
readonly type: "tuple[]";
|
|
934
|
-
}];
|
|
935
|
-
readonly name: "withdrawToSafe";
|
|
936
|
-
readonly outputs: readonly [];
|
|
937
|
-
readonly stateMutability: "nonpayable";
|
|
938
|
-
readonly type: "function";
|
|
939
|
-
}, {
|
|
940
|
-
readonly inputs: readonly [{
|
|
941
|
-
readonly internalType: "address";
|
|
942
|
-
readonly name: "_recipient";
|
|
943
|
-
readonly type: "address";
|
|
944
|
-
}, {
|
|
945
|
-
readonly internalType: "uint256";
|
|
946
|
-
readonly name: "_fundTokenAmount";
|
|
947
|
-
readonly type: "uint256";
|
|
948
|
-
}, {
|
|
949
|
-
readonly internalType: "uint256";
|
|
950
|
-
readonly name: "_slippageTolerance";
|
|
951
|
-
readonly type: "uint256";
|
|
952
|
-
}];
|
|
953
|
-
readonly name: "withdrawToSafe";
|
|
954
|
-
readonly outputs: readonly [];
|
|
955
|
-
readonly stateMutability: "nonpayable";
|
|
956
|
-
readonly type: "function";
|
|
957
243
|
}];
|
|
958
244
|
readonly functionName: "poolManagerLogic";
|
|
959
245
|
readonly chainId: number;
|
|
@@ -1395,54 +681,6 @@ export declare const usePoolStatic: ({ address, chainId }: PoolContractCallParam
|
|
|
1395
681
|
}];
|
|
1396
682
|
readonly stateMutability: "view";
|
|
1397
683
|
readonly type: "function";
|
|
1398
|
-
}, {
|
|
1399
|
-
readonly inputs: readonly [{
|
|
1400
|
-
readonly internalType: "address";
|
|
1401
|
-
readonly name: "_dHedgeVault";
|
|
1402
|
-
readonly type: "address";
|
|
1403
|
-
}, {
|
|
1404
|
-
readonly internalType: "uint256";
|
|
1405
|
-
readonly name: "_amountIn";
|
|
1406
|
-
readonly type: "uint256";
|
|
1407
|
-
}, {
|
|
1408
|
-
readonly components: readonly [{
|
|
1409
|
-
readonly internalType: "address";
|
|
1410
|
-
readonly name: "supportedAsset";
|
|
1411
|
-
readonly type: "address";
|
|
1412
|
-
}, {
|
|
1413
|
-
readonly internalType: "bytes";
|
|
1414
|
-
readonly name: "withdrawData";
|
|
1415
|
-
readonly type: "bytes";
|
|
1416
|
-
}, {
|
|
1417
|
-
readonly internalType: "uint256";
|
|
1418
|
-
readonly name: "slippageTolerance";
|
|
1419
|
-
readonly type: "uint256";
|
|
1420
|
-
}];
|
|
1421
|
-
readonly internalType: "struct IPoolLogic.ComplexAsset[]";
|
|
1422
|
-
readonly name: "_complexAssetsData";
|
|
1423
|
-
readonly type: "tuple[]";
|
|
1424
|
-
}];
|
|
1425
|
-
readonly name: "initWithdrawal";
|
|
1426
|
-
readonly outputs: readonly [{
|
|
1427
|
-
readonly components: readonly [{
|
|
1428
|
-
readonly internalType: "address";
|
|
1429
|
-
readonly name: "token";
|
|
1430
|
-
readonly type: "address";
|
|
1431
|
-
}, {
|
|
1432
|
-
readonly internalType: "uint256";
|
|
1433
|
-
readonly name: "balance";
|
|
1434
|
-
readonly type: "uint256";
|
|
1435
|
-
}];
|
|
1436
|
-
readonly internalType: "struct IWithdrawalVault.TrackedAsset[]";
|
|
1437
|
-
readonly name: "trackedAssets";
|
|
1438
|
-
readonly type: "tuple[]";
|
|
1439
|
-
}, {
|
|
1440
|
-
readonly internalType: "address";
|
|
1441
|
-
readonly name: "vault";
|
|
1442
|
-
readonly type: "address";
|
|
1443
|
-
}];
|
|
1444
|
-
readonly stateMutability: "nonpayable";
|
|
1445
|
-
readonly type: "function";
|
|
1446
684
|
}, {
|
|
1447
685
|
readonly inputs: readonly [{
|
|
1448
686
|
readonly internalType: "address";
|
|
@@ -2394,54 +1632,6 @@ export declare const usePoolStatic: ({ address, chainId }: PoolContractCallParam
|
|
|
2394
1632
|
}];
|
|
2395
1633
|
readonly stateMutability: "view";
|
|
2396
1634
|
readonly type: "function";
|
|
2397
|
-
}, {
|
|
2398
|
-
readonly inputs: readonly [{
|
|
2399
|
-
readonly internalType: "address";
|
|
2400
|
-
readonly name: "_dHedgeVault";
|
|
2401
|
-
readonly type: "address";
|
|
2402
|
-
}, {
|
|
2403
|
-
readonly internalType: "uint256";
|
|
2404
|
-
readonly name: "_amountIn";
|
|
2405
|
-
readonly type: "uint256";
|
|
2406
|
-
}, {
|
|
2407
|
-
readonly components: readonly [{
|
|
2408
|
-
readonly internalType: "address";
|
|
2409
|
-
readonly name: "supportedAsset";
|
|
2410
|
-
readonly type: "address";
|
|
2411
|
-
}, {
|
|
2412
|
-
readonly internalType: "bytes";
|
|
2413
|
-
readonly name: "withdrawData";
|
|
2414
|
-
readonly type: "bytes";
|
|
2415
|
-
}, {
|
|
2416
|
-
readonly internalType: "uint256";
|
|
2417
|
-
readonly name: "slippageTolerance";
|
|
2418
|
-
readonly type: "uint256";
|
|
2419
|
-
}];
|
|
2420
|
-
readonly internalType: "struct IPoolLogic.ComplexAsset[]";
|
|
2421
|
-
readonly name: "_complexAssetsData";
|
|
2422
|
-
readonly type: "tuple[]";
|
|
2423
|
-
}];
|
|
2424
|
-
readonly name: "initWithdrawal";
|
|
2425
|
-
readonly outputs: readonly [{
|
|
2426
|
-
readonly components: readonly [{
|
|
2427
|
-
readonly internalType: "address";
|
|
2428
|
-
readonly name: "token";
|
|
2429
|
-
readonly type: "address";
|
|
2430
|
-
}, {
|
|
2431
|
-
readonly internalType: "uint256";
|
|
2432
|
-
readonly name: "balance";
|
|
2433
|
-
readonly type: "uint256";
|
|
2434
|
-
}];
|
|
2435
|
-
readonly internalType: "struct IWithdrawalVault.TrackedAsset[]";
|
|
2436
|
-
readonly name: "trackedAssets";
|
|
2437
|
-
readonly type: "tuple[]";
|
|
2438
|
-
}, {
|
|
2439
|
-
readonly internalType: "address";
|
|
2440
|
-
readonly name: "vault";
|
|
2441
|
-
readonly type: "address";
|
|
2442
|
-
}];
|
|
2443
|
-
readonly stateMutability: "nonpayable";
|
|
2444
|
-
readonly type: "function";
|
|
2445
1635
|
}, {
|
|
2446
1636
|
readonly inputs: readonly [{
|
|
2447
1637
|
readonly internalType: "address";
|
|
@@ -2955,71 +2145,8 @@ export declare const usePoolStatic: ({ address, chainId }: PoolContractCallParam
|
|
|
2955
2145
|
readonly functionName: "customCooldown";
|
|
2956
2146
|
readonly args: readonly [];
|
|
2957
2147
|
readonly chainId: number;
|
|
2958
|
-
}, {
|
|
2959
|
-
readonly address: `0x${string}`;
|
|
2960
|
-
readonly chainId: number;
|
|
2961
|
-
readonly abi: readonly [{
|
|
2962
|
-
readonly inputs: readonly [{
|
|
2963
|
-
readonly internalType: "address";
|
|
2964
|
-
readonly name: "asset";
|
|
2965
|
-
readonly type: "address";
|
|
2966
|
-
}];
|
|
2967
|
-
readonly name: "getAssetPrice";
|
|
2968
|
-
readonly outputs: readonly [{
|
|
2969
|
-
readonly internalType: "uint256";
|
|
2970
|
-
readonly name: "price";
|
|
2971
|
-
readonly type: "uint256";
|
|
2972
|
-
}];
|
|
2973
|
-
readonly stateMutability: "view";
|
|
2974
|
-
readonly type: "function";
|
|
2975
|
-
}, {
|
|
2976
|
-
readonly inputs: readonly [{
|
|
2977
|
-
readonly internalType: "address";
|
|
2978
|
-
readonly name: "";
|
|
2979
|
-
readonly type: "address";
|
|
2980
|
-
}];
|
|
2981
|
-
readonly name: "isPool";
|
|
2982
|
-
readonly outputs: readonly [{
|
|
2983
|
-
readonly internalType: "bool";
|
|
2984
|
-
readonly name: "";
|
|
2985
|
-
readonly type: "bool";
|
|
2986
|
-
}];
|
|
2987
|
-
readonly stateMutability: "view";
|
|
2988
|
-
readonly type: "function";
|
|
2989
|
-
}, {
|
|
2990
|
-
readonly inputs: readonly [{
|
|
2991
|
-
readonly internalType: "address";
|
|
2992
|
-
readonly name: "extContract";
|
|
2993
|
-
readonly type: "address";
|
|
2994
|
-
}];
|
|
2995
|
-
readonly name: "getAssetGuard";
|
|
2996
|
-
readonly outputs: readonly [{
|
|
2997
|
-
readonly internalType: "address";
|
|
2998
|
-
readonly name: "guard";
|
|
2999
|
-
readonly type: "address";
|
|
3000
|
-
}];
|
|
3001
|
-
readonly stateMutability: "view";
|
|
3002
|
-
readonly type: "function";
|
|
3003
|
-
}, {
|
|
3004
|
-
readonly inputs: readonly [{
|
|
3005
|
-
readonly internalType: "address";
|
|
3006
|
-
readonly name: "extContract";
|
|
3007
|
-
readonly type: "address";
|
|
3008
|
-
}];
|
|
3009
|
-
readonly name: "getContractGuard";
|
|
3010
|
-
readonly outputs: readonly [{
|
|
3011
|
-
readonly internalType: "address";
|
|
3012
|
-
readonly name: "guard";
|
|
3013
|
-
readonly type: "address";
|
|
3014
|
-
}];
|
|
3015
|
-
readonly stateMutability: "view";
|
|
3016
|
-
readonly type: "function";
|
|
3017
|
-
}];
|
|
3018
|
-
readonly functionName: "getAssetGuard";
|
|
3019
|
-
readonly args: readonly [`0x${string}`];
|
|
3020
2148
|
}], true, {
|
|
3021
2149
|
poolManagerLogic: `0x${string}` | undefined;
|
|
3022
2150
|
isCustomCooldownDepositAllowed: boolean | undefined;
|
|
3023
2151
|
customCooldown: bigint | undefined;
|
|
3024
|
-
aaveAssetGuardAddress: `0x${string}` | undefined;
|
|
3025
2152
|
}>;
|