@dhedge/trading-widget 3.3.0-alpha.0 → 3.3.0-alpha.1
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 +9 -0
- package/core-kit/abi/easy-swapper-v2.d.ts +4 -0
- package/core-kit/abi/pool-logic.d.ts +5 -692
- package/core-kit/hooks/pool/index.d.ts +1 -0
- package/core-kit/hooks/pool/multicall/use-pool.static.d.ts +12 -691
- package/core-kit/hooks/pool/multicall/use-pools.dynamic.d.ts +413 -3161
- package/core-kit/hooks/pool/use-has-dhedge-vault-in-composition.d.ts +64 -0
- package/core-kit/hooks/trading/deposit-v2/use-deposit-quote-contract-read.d.ts +4 -0
- package/core-kit/hooks/trading/use-is-transaction-loading.d.ts +2 -0
- 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 → use-get-init-withdraw-transaction-arguments.d.ts} +2 -2
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-transaction.d.ts +5 -1
- package/core-kit/hooks/trading/withdraw-v2/use-withdrawal-vault-address.d.ts +4 -0
- package/core-kit/hooks/user/multicall/use-user-multicall.d.ts +4 -0
- package/core-kit/utils/transaction.d.ts +3 -3
- package/{index-a29190ba.js → index-5ba43d21.js} +8032 -8852
- package/index-addee486.cjs +217 -0
- package/index.cjs +1 -1
- package/index.d.ts +1 -1
- package/index.js +89 -88
- package/package.json +1 -1
- package/{pyth-adapter-a81f3e9c.cjs → pyth-adapter-557e7325.cjs} +1 -1
- package/{pyth-adapter-330946d6.js → pyth-adapter-ae35e010.js} +1 -1
- package/style.css +1 -1
- package/trading-widget/components/deposit/button/trade-button/trade-button.hooks.d.ts +1 -0
- package/trading-widget/components/deposit/button/valid-deposit-button/valid-deposit-button.hooks.d.ts +1 -0
- package/trading-widget/components/widget/widget-buttons/approve-button/approve-button.hooks.d.ts +1 -0
- package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-deposit-swap-quote-button/reload-deposit-swap-quote-button.hooks.d.ts +0 -1
- package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-withdraw-swap-quote-button/reload-withdraw-swap-quote-button.hooks.d.ts +0 -1
- package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-overlay.hooks.d.ts +1 -0
- package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-summary/vault-transaction-summary.d.ts +1 -7
- package/trading-widget/components/withdraw/complete-step/button/claim-button/claim-button.hooks.d.ts +1 -0
- package/trading-widget/components/withdraw/complete-step/button/swap-button/swap-button.hooks.d.ts +1 -0
- package/trading-widget/components/withdraw/init-step/button/init-withdraw-button/init-withdraw-button.hooks.d.ts +1 -0
- package/trading-widget/components/withdraw/init-step/meta/transaction-disclosure/transaction-disclosure.hooks.d.ts +1 -0
- package/trading-widget/providers/theme-provider/theme-provider.types.d.ts +5 -0
- package/trading-widget/providers/translation-provider/translation-provider.types.d.ts +1 -0
- package/index-486e8b60.cjs +0 -217
- /package/core-kit/hooks/trading/withdraw-v2/init-step/{use-init-withdraw-aave-swap-data.d.ts → use-fetch-init-withdraw-aave-swap-data.d.ts} +0 -0
|
@@ -1,247 +1,4 @@
|
|
|
1
1
|
export declare const PoolLogicAbi: readonly [{
|
|
2
|
-
readonly anonymous: false;
|
|
3
|
-
readonly inputs: readonly [{
|
|
4
|
-
readonly indexed: true;
|
|
5
|
-
readonly internalType: "address";
|
|
6
|
-
readonly name: "owner";
|
|
7
|
-
readonly type: "address";
|
|
8
|
-
}, {
|
|
9
|
-
readonly indexed: true;
|
|
10
|
-
readonly internalType: "address";
|
|
11
|
-
readonly name: "spender";
|
|
12
|
-
readonly type: "address";
|
|
13
|
-
}, {
|
|
14
|
-
readonly indexed: false;
|
|
15
|
-
readonly internalType: "uint256";
|
|
16
|
-
readonly name: "value";
|
|
17
|
-
readonly type: "uint256";
|
|
18
|
-
}];
|
|
19
|
-
readonly name: "Approval";
|
|
20
|
-
readonly type: "event";
|
|
21
|
-
}, {
|
|
22
|
-
readonly anonymous: false;
|
|
23
|
-
readonly inputs: readonly [{
|
|
24
|
-
readonly indexed: false;
|
|
25
|
-
readonly internalType: "address";
|
|
26
|
-
readonly name: "fundAddress";
|
|
27
|
-
readonly type: "address";
|
|
28
|
-
}, {
|
|
29
|
-
readonly indexed: false;
|
|
30
|
-
readonly internalType: "address";
|
|
31
|
-
readonly name: "investor";
|
|
32
|
-
readonly type: "address";
|
|
33
|
-
}, {
|
|
34
|
-
readonly indexed: false;
|
|
35
|
-
readonly internalType: "address";
|
|
36
|
-
readonly name: "assetDeposited";
|
|
37
|
-
readonly type: "address";
|
|
38
|
-
}, {
|
|
39
|
-
readonly indexed: false;
|
|
40
|
-
readonly internalType: "uint256";
|
|
41
|
-
readonly name: "amountDeposited";
|
|
42
|
-
readonly type: "uint256";
|
|
43
|
-
}, {
|
|
44
|
-
readonly indexed: false;
|
|
45
|
-
readonly internalType: "uint256";
|
|
46
|
-
readonly name: "valueDeposited";
|
|
47
|
-
readonly type: "uint256";
|
|
48
|
-
}, {
|
|
49
|
-
readonly indexed: false;
|
|
50
|
-
readonly internalType: "uint256";
|
|
51
|
-
readonly name: "fundTokensReceived";
|
|
52
|
-
readonly type: "uint256";
|
|
53
|
-
}, {
|
|
54
|
-
readonly indexed: false;
|
|
55
|
-
readonly internalType: "uint256";
|
|
56
|
-
readonly name: "totalInvestorFundTokens";
|
|
57
|
-
readonly type: "uint256";
|
|
58
|
-
}, {
|
|
59
|
-
readonly indexed: false;
|
|
60
|
-
readonly internalType: "uint256";
|
|
61
|
-
readonly name: "fundValue";
|
|
62
|
-
readonly type: "uint256";
|
|
63
|
-
}, {
|
|
64
|
-
readonly indexed: false;
|
|
65
|
-
readonly internalType: "uint256";
|
|
66
|
-
readonly name: "totalSupply";
|
|
67
|
-
readonly type: "uint256";
|
|
68
|
-
}, {
|
|
69
|
-
readonly indexed: false;
|
|
70
|
-
readonly internalType: "uint256";
|
|
71
|
-
readonly name: "time";
|
|
72
|
-
readonly type: "uint256";
|
|
73
|
-
}];
|
|
74
|
-
readonly name: "Deposit";
|
|
75
|
-
readonly type: "event";
|
|
76
|
-
}, {
|
|
77
|
-
readonly anonymous: false;
|
|
78
|
-
readonly inputs: readonly [{
|
|
79
|
-
readonly indexed: false;
|
|
80
|
-
readonly internalType: "address";
|
|
81
|
-
readonly name: "pool";
|
|
82
|
-
readonly type: "address";
|
|
83
|
-
}, {
|
|
84
|
-
readonly indexed: false;
|
|
85
|
-
readonly internalType: "address";
|
|
86
|
-
readonly name: "manager";
|
|
87
|
-
readonly type: "address";
|
|
88
|
-
}, {
|
|
89
|
-
readonly indexed: false;
|
|
90
|
-
readonly internalType: "uint256";
|
|
91
|
-
readonly name: "available";
|
|
92
|
-
readonly type: "uint256";
|
|
93
|
-
}, {
|
|
94
|
-
readonly indexed: false;
|
|
95
|
-
readonly internalType: "uint256";
|
|
96
|
-
readonly name: "daoFee";
|
|
97
|
-
readonly type: "uint256";
|
|
98
|
-
}, {
|
|
99
|
-
readonly indexed: false;
|
|
100
|
-
readonly internalType: "uint256";
|
|
101
|
-
readonly name: "managerFee";
|
|
102
|
-
readonly type: "uint256";
|
|
103
|
-
}, {
|
|
104
|
-
readonly indexed: false;
|
|
105
|
-
readonly internalType: "uint256";
|
|
106
|
-
readonly name: "tokenPriceAtLastFeeMint";
|
|
107
|
-
readonly type: "uint256";
|
|
108
|
-
}];
|
|
109
|
-
readonly name: "ManagerFeeMinted";
|
|
110
|
-
readonly type: "event";
|
|
111
|
-
}, {
|
|
112
|
-
readonly anonymous: false;
|
|
113
|
-
readonly inputs: readonly [{
|
|
114
|
-
readonly indexed: false;
|
|
115
|
-
readonly internalType: "address";
|
|
116
|
-
readonly name: "poolManagerLogic";
|
|
117
|
-
readonly type: "address";
|
|
118
|
-
}, {
|
|
119
|
-
readonly indexed: false;
|
|
120
|
-
readonly internalType: "address";
|
|
121
|
-
readonly name: "from";
|
|
122
|
-
readonly type: "address";
|
|
123
|
-
}];
|
|
124
|
-
readonly name: "PoolManagerLogicSet";
|
|
125
|
-
readonly type: "event";
|
|
126
|
-
}, {
|
|
127
|
-
readonly anonymous: false;
|
|
128
|
-
readonly inputs: readonly [{
|
|
129
|
-
readonly indexed: false;
|
|
130
|
-
readonly internalType: "bool";
|
|
131
|
-
readonly name: "isPoolPrivate";
|
|
132
|
-
readonly type: "bool";
|
|
133
|
-
}];
|
|
134
|
-
readonly name: "PoolPrivacyUpdated";
|
|
135
|
-
readonly type: "event";
|
|
136
|
-
}, {
|
|
137
|
-
readonly anonymous: false;
|
|
138
|
-
readonly inputs: readonly [{
|
|
139
|
-
readonly indexed: false;
|
|
140
|
-
readonly internalType: "address";
|
|
141
|
-
readonly name: "pool";
|
|
142
|
-
readonly type: "address";
|
|
143
|
-
}, {
|
|
144
|
-
readonly indexed: false;
|
|
145
|
-
readonly internalType: "address";
|
|
146
|
-
readonly name: "manager";
|
|
147
|
-
readonly type: "address";
|
|
148
|
-
}, {
|
|
149
|
-
readonly indexed: false;
|
|
150
|
-
readonly internalType: "uint16";
|
|
151
|
-
readonly name: "transactionType";
|
|
152
|
-
readonly type: "uint16";
|
|
153
|
-
}, {
|
|
154
|
-
readonly indexed: false;
|
|
155
|
-
readonly internalType: "uint256";
|
|
156
|
-
readonly name: "time";
|
|
157
|
-
readonly type: "uint256";
|
|
158
|
-
}];
|
|
159
|
-
readonly name: "TransactionExecuted";
|
|
160
|
-
readonly type: "event";
|
|
161
|
-
}, {
|
|
162
|
-
readonly anonymous: false;
|
|
163
|
-
readonly inputs: readonly [{
|
|
164
|
-
readonly indexed: true;
|
|
165
|
-
readonly internalType: "address";
|
|
166
|
-
readonly name: "from";
|
|
167
|
-
readonly type: "address";
|
|
168
|
-
}, {
|
|
169
|
-
readonly indexed: true;
|
|
170
|
-
readonly internalType: "address";
|
|
171
|
-
readonly name: "to";
|
|
172
|
-
readonly type: "address";
|
|
173
|
-
}, {
|
|
174
|
-
readonly indexed: false;
|
|
175
|
-
readonly internalType: "uint256";
|
|
176
|
-
readonly name: "value";
|
|
177
|
-
readonly type: "uint256";
|
|
178
|
-
}];
|
|
179
|
-
readonly name: "Transfer";
|
|
180
|
-
readonly type: "event";
|
|
181
|
-
}, {
|
|
182
|
-
readonly anonymous: false;
|
|
183
|
-
readonly inputs: readonly [{
|
|
184
|
-
readonly indexed: false;
|
|
185
|
-
readonly internalType: "address";
|
|
186
|
-
readonly name: "fundAddress";
|
|
187
|
-
readonly type: "address";
|
|
188
|
-
}, {
|
|
189
|
-
readonly indexed: false;
|
|
190
|
-
readonly internalType: "address";
|
|
191
|
-
readonly name: "investor";
|
|
192
|
-
readonly type: "address";
|
|
193
|
-
}, {
|
|
194
|
-
readonly indexed: false;
|
|
195
|
-
readonly internalType: "uint256";
|
|
196
|
-
readonly name: "valueWithdrawn";
|
|
197
|
-
readonly type: "uint256";
|
|
198
|
-
}, {
|
|
199
|
-
readonly indexed: false;
|
|
200
|
-
readonly internalType: "uint256";
|
|
201
|
-
readonly name: "fundTokensWithdrawn";
|
|
202
|
-
readonly type: "uint256";
|
|
203
|
-
}, {
|
|
204
|
-
readonly indexed: false;
|
|
205
|
-
readonly internalType: "uint256";
|
|
206
|
-
readonly name: "totalInvestorFundTokens";
|
|
207
|
-
readonly type: "uint256";
|
|
208
|
-
}, {
|
|
209
|
-
readonly indexed: false;
|
|
210
|
-
readonly internalType: "uint256";
|
|
211
|
-
readonly name: "fundValue";
|
|
212
|
-
readonly type: "uint256";
|
|
213
|
-
}, {
|
|
214
|
-
readonly indexed: false;
|
|
215
|
-
readonly internalType: "uint256";
|
|
216
|
-
readonly name: "totalSupply";
|
|
217
|
-
readonly type: "uint256";
|
|
218
|
-
}, {
|
|
219
|
-
readonly components: readonly [{
|
|
220
|
-
readonly internalType: "address";
|
|
221
|
-
readonly name: "asset";
|
|
222
|
-
readonly type: "address";
|
|
223
|
-
}, {
|
|
224
|
-
readonly internalType: "uint256";
|
|
225
|
-
readonly name: "amount";
|
|
226
|
-
readonly type: "uint256";
|
|
227
|
-
}, {
|
|
228
|
-
readonly internalType: "bool";
|
|
229
|
-
readonly name: "externalWithdrawProcessed";
|
|
230
|
-
readonly type: "bool";
|
|
231
|
-
}];
|
|
232
|
-
readonly indexed: false;
|
|
233
|
-
readonly internalType: "struct PoolLogic.WithdrawnAsset[]";
|
|
234
|
-
readonly name: "withdrawnAssets";
|
|
235
|
-
readonly type: "tuple[]";
|
|
236
|
-
}, {
|
|
237
|
-
readonly indexed: false;
|
|
238
|
-
readonly internalType: "uint256";
|
|
239
|
-
readonly name: "time";
|
|
240
|
-
readonly type: "uint256";
|
|
241
|
-
}];
|
|
242
|
-
readonly name: "Withdrawal";
|
|
243
|
-
readonly type: "event";
|
|
244
|
-
}, {
|
|
245
2
|
readonly inputs: readonly [{
|
|
246
3
|
readonly internalType: "address";
|
|
247
4
|
readonly name: "owner";
|
|
@@ -305,26 +62,6 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
305
62
|
}];
|
|
306
63
|
readonly stateMutability: "view";
|
|
307
64
|
readonly type: "function";
|
|
308
|
-
}, {
|
|
309
|
-
readonly inputs: readonly [];
|
|
310
|
-
readonly name: "creationTime";
|
|
311
|
-
readonly outputs: readonly [{
|
|
312
|
-
readonly internalType: "uint256";
|
|
313
|
-
readonly name: "";
|
|
314
|
-
readonly type: "uint256";
|
|
315
|
-
}];
|
|
316
|
-
readonly stateMutability: "view";
|
|
317
|
-
readonly type: "function";
|
|
318
|
-
}, {
|
|
319
|
-
readonly inputs: readonly [];
|
|
320
|
-
readonly name: "creator";
|
|
321
|
-
readonly outputs: readonly [{
|
|
322
|
-
readonly internalType: "address";
|
|
323
|
-
readonly name: "";
|
|
324
|
-
readonly type: "address";
|
|
325
|
-
}];
|
|
326
|
-
readonly stateMutability: "view";
|
|
327
|
-
readonly type: "function";
|
|
328
65
|
}, {
|
|
329
66
|
readonly inputs: readonly [];
|
|
330
67
|
readonly name: "decimals";
|
|
@@ -335,24 +72,6 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
335
72
|
}];
|
|
336
73
|
readonly stateMutability: "view";
|
|
337
74
|
readonly type: "function";
|
|
338
|
-
}, {
|
|
339
|
-
readonly inputs: readonly [{
|
|
340
|
-
readonly internalType: "address";
|
|
341
|
-
readonly name: "spender";
|
|
342
|
-
readonly type: "address";
|
|
343
|
-
}, {
|
|
344
|
-
readonly internalType: "uint256";
|
|
345
|
-
readonly name: "subtractedValue";
|
|
346
|
-
readonly type: "uint256";
|
|
347
|
-
}];
|
|
348
|
-
readonly name: "decreaseAllowance";
|
|
349
|
-
readonly outputs: readonly [{
|
|
350
|
-
readonly internalType: "bool";
|
|
351
|
-
readonly name: "";
|
|
352
|
-
readonly type: "bool";
|
|
353
|
-
}];
|
|
354
|
-
readonly stateMutability: "nonpayable";
|
|
355
|
-
readonly type: "function";
|
|
356
75
|
}, {
|
|
357
76
|
readonly inputs: readonly [{
|
|
358
77
|
readonly internalType: "address";
|
|
@@ -363,138 +82,13 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
363
82
|
readonly name: "_amount";
|
|
364
83
|
readonly type: "uint256";
|
|
365
84
|
}];
|
|
366
|
-
readonly name: "deposit";
|
|
367
|
-
readonly outputs: readonly [{
|
|
368
|
-
readonly internalType: "uint256";
|
|
369
|
-
readonly name: "liquidityMinted";
|
|
370
|
-
readonly type: "uint256";
|
|
371
|
-
}];
|
|
372
|
-
readonly stateMutability: "nonpayable";
|
|
373
|
-
readonly type: "function";
|
|
374
|
-
}, {
|
|
375
|
-
readonly inputs: readonly [{
|
|
376
|
-
readonly internalType: "address";
|
|
377
|
-
readonly name: "_recipient";
|
|
378
|
-
readonly type: "address";
|
|
379
|
-
}, {
|
|
380
|
-
readonly internalType: "address";
|
|
381
|
-
readonly name: "_asset";
|
|
382
|
-
readonly type: "address";
|
|
383
|
-
}, {
|
|
384
|
-
readonly internalType: "uint256";
|
|
385
|
-
readonly name: "_amount";
|
|
386
|
-
readonly type: "uint256";
|
|
387
|
-
}];
|
|
388
|
-
readonly name: "depositFor";
|
|
389
|
-
readonly outputs: readonly [{
|
|
390
|
-
readonly internalType: "uint256";
|
|
391
|
-
readonly name: "liquidityMinted";
|
|
392
|
-
readonly type: "uint256";
|
|
393
|
-
}];
|
|
394
|
-
readonly stateMutability: "nonpayable";
|
|
395
|
-
readonly type: "function";
|
|
396
|
-
}, {
|
|
397
|
-
readonly inputs: readonly [{
|
|
398
|
-
readonly internalType: "address";
|
|
399
|
-
readonly name: "_recipient";
|
|
400
|
-
readonly type: "address";
|
|
401
|
-
}, {
|
|
402
|
-
readonly internalType: "address";
|
|
403
|
-
readonly name: "_asset";
|
|
404
|
-
readonly type: "address";
|
|
405
|
-
}, {
|
|
406
|
-
readonly internalType: "uint256";
|
|
407
|
-
readonly name: "_amount";
|
|
408
|
-
readonly type: "uint256";
|
|
409
|
-
}, {
|
|
410
|
-
readonly internalType: "uint256";
|
|
411
|
-
readonly name: "_cooldown";
|
|
412
|
-
readonly type: "uint256";
|
|
413
|
-
}];
|
|
414
|
-
readonly name: "depositForWithCustomCooldown";
|
|
415
|
-
readonly outputs: readonly [{
|
|
416
|
-
readonly internalType: "uint256";
|
|
417
|
-
readonly name: "liquidityMinted";
|
|
418
|
-
readonly type: "uint256";
|
|
419
|
-
}];
|
|
420
|
-
readonly stateMutability: "nonpayable";
|
|
421
|
-
readonly type: "function";
|
|
422
|
-
}, {
|
|
423
|
-
readonly inputs: readonly [{
|
|
424
|
-
readonly internalType: "address";
|
|
425
|
-
readonly name: "to";
|
|
426
|
-
readonly type: "address";
|
|
427
|
-
}, {
|
|
428
|
-
readonly internalType: "bytes";
|
|
429
|
-
readonly name: "data";
|
|
430
|
-
readonly type: "bytes";
|
|
431
|
-
}];
|
|
432
|
-
readonly name: "execTransaction";
|
|
433
|
-
readonly outputs: readonly [{
|
|
434
|
-
readonly internalType: "bool";
|
|
435
|
-
readonly name: "success";
|
|
436
|
-
readonly type: "bool";
|
|
437
|
-
}];
|
|
438
|
-
readonly stateMutability: "nonpayable";
|
|
439
|
-
readonly type: "function";
|
|
440
|
-
}, {
|
|
441
|
-
readonly inputs: readonly [{
|
|
442
|
-
readonly components: readonly [{
|
|
443
|
-
readonly internalType: "address";
|
|
444
|
-
readonly name: "to";
|
|
445
|
-
readonly type: "address";
|
|
446
|
-
}, {
|
|
447
|
-
readonly internalType: "bytes";
|
|
448
|
-
readonly name: "data";
|
|
449
|
-
readonly type: "bytes";
|
|
450
|
-
}];
|
|
451
|
-
readonly internalType: "struct PoolLogic.TxToExecute[]";
|
|
452
|
-
readonly name: "txs";
|
|
453
|
-
readonly type: "tuple[]";
|
|
454
|
-
}];
|
|
455
|
-
readonly name: "execTransactions";
|
|
456
|
-
readonly outputs: readonly [];
|
|
457
|
-
readonly stateMutability: "nonpayable";
|
|
458
|
-
readonly type: "function";
|
|
459
|
-
}, {
|
|
460
|
-
readonly inputs: readonly [{
|
|
461
|
-
readonly internalType: "address[]";
|
|
462
|
-
readonly name: "assets";
|
|
463
|
-
readonly type: "address[]";
|
|
464
|
-
}, {
|
|
465
|
-
readonly internalType: "uint256[]";
|
|
466
|
-
readonly name: "amounts";
|
|
467
|
-
readonly type: "uint256[]";
|
|
468
|
-
}, {
|
|
469
|
-
readonly internalType: "uint256[]";
|
|
470
|
-
readonly name: "premiums";
|
|
471
|
-
readonly type: "uint256[]";
|
|
472
|
-
}, {
|
|
473
|
-
readonly internalType: "address";
|
|
474
|
-
readonly name: "initiator";
|
|
475
|
-
readonly type: "address";
|
|
476
|
-
}, {
|
|
477
|
-
readonly internalType: "bytes";
|
|
478
|
-
readonly name: "params";
|
|
479
|
-
readonly type: "bytes";
|
|
480
|
-
}];
|
|
481
|
-
readonly name: "executeOperation";
|
|
482
|
-
readonly outputs: readonly [{
|
|
483
|
-
readonly internalType: "bool";
|
|
484
|
-
readonly name: "success";
|
|
485
|
-
readonly type: "bool";
|
|
486
|
-
}];
|
|
487
|
-
readonly stateMutability: "nonpayable";
|
|
488
|
-
readonly type: "function";
|
|
489
|
-
}, {
|
|
490
|
-
readonly inputs: readonly [];
|
|
491
|
-
readonly name: "factory";
|
|
85
|
+
readonly name: "deposit";
|
|
492
86
|
readonly outputs: readonly [{
|
|
493
|
-
readonly internalType: "
|
|
494
|
-
readonly name: "";
|
|
495
|
-
readonly type: "
|
|
87
|
+
readonly internalType: "uint256";
|
|
88
|
+
readonly name: "liquidityMinted";
|
|
89
|
+
readonly type: "uint256";
|
|
496
90
|
}];
|
|
497
|
-
readonly stateMutability: "
|
|
91
|
+
readonly stateMutability: "nonpayable";
|
|
498
92
|
readonly type: "function";
|
|
499
93
|
}, {
|
|
500
94
|
readonly inputs: readonly [{
|
|
@@ -573,98 +167,6 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
573
167
|
}];
|
|
574
168
|
readonly stateMutability: "view";
|
|
575
169
|
readonly type: "function";
|
|
576
|
-
}, {
|
|
577
|
-
readonly inputs: readonly [{
|
|
578
|
-
readonly internalType: "address";
|
|
579
|
-
readonly name: "spender";
|
|
580
|
-
readonly type: "address";
|
|
581
|
-
}, {
|
|
582
|
-
readonly internalType: "uint256";
|
|
583
|
-
readonly name: "addedValue";
|
|
584
|
-
readonly type: "uint256";
|
|
585
|
-
}];
|
|
586
|
-
readonly name: "increaseAllowance";
|
|
587
|
-
readonly outputs: readonly [{
|
|
588
|
-
readonly internalType: "bool";
|
|
589
|
-
readonly name: "";
|
|
590
|
-
readonly type: "bool";
|
|
591
|
-
}];
|
|
592
|
-
readonly stateMutability: "nonpayable";
|
|
593
|
-
readonly type: "function";
|
|
594
|
-
}, {
|
|
595
|
-
readonly inputs: readonly [{
|
|
596
|
-
readonly internalType: "address";
|
|
597
|
-
readonly name: "_factory";
|
|
598
|
-
readonly type: "address";
|
|
599
|
-
}, {
|
|
600
|
-
readonly internalType: "bool";
|
|
601
|
-
readonly name: "_privatePool";
|
|
602
|
-
readonly type: "bool";
|
|
603
|
-
}, {
|
|
604
|
-
readonly internalType: "string";
|
|
605
|
-
readonly name: "_fundName";
|
|
606
|
-
readonly type: "string";
|
|
607
|
-
}, {
|
|
608
|
-
readonly internalType: "string";
|
|
609
|
-
readonly name: "_fundSymbol";
|
|
610
|
-
readonly type: "string";
|
|
611
|
-
}];
|
|
612
|
-
readonly name: "initialize";
|
|
613
|
-
readonly outputs: readonly [];
|
|
614
|
-
readonly stateMutability: "nonpayable";
|
|
615
|
-
readonly type: "function";
|
|
616
|
-
}, {
|
|
617
|
-
readonly inputs: readonly [{
|
|
618
|
-
readonly internalType: "address";
|
|
619
|
-
readonly name: "";
|
|
620
|
-
readonly type: "address";
|
|
621
|
-
}];
|
|
622
|
-
readonly name: "lastDeposit";
|
|
623
|
-
readonly outputs: readonly [{
|
|
624
|
-
readonly internalType: "uint256";
|
|
625
|
-
readonly name: "";
|
|
626
|
-
readonly type: "uint256";
|
|
627
|
-
}];
|
|
628
|
-
readonly stateMutability: "view";
|
|
629
|
-
readonly type: "function";
|
|
630
|
-
}, {
|
|
631
|
-
readonly inputs: readonly [{
|
|
632
|
-
readonly internalType: "address";
|
|
633
|
-
readonly name: "";
|
|
634
|
-
readonly type: "address";
|
|
635
|
-
}];
|
|
636
|
-
readonly name: "lastExitCooldown";
|
|
637
|
-
readonly outputs: readonly [{
|
|
638
|
-
readonly internalType: "uint256";
|
|
639
|
-
readonly name: "";
|
|
640
|
-
readonly type: "uint256";
|
|
641
|
-
}];
|
|
642
|
-
readonly stateMutability: "view";
|
|
643
|
-
readonly type: "function";
|
|
644
|
-
}, {
|
|
645
|
-
readonly inputs: readonly [];
|
|
646
|
-
readonly name: "lastFeeMintTime";
|
|
647
|
-
readonly outputs: readonly [{
|
|
648
|
-
readonly internalType: "uint256";
|
|
649
|
-
readonly name: "";
|
|
650
|
-
readonly type: "uint256";
|
|
651
|
-
}];
|
|
652
|
-
readonly stateMutability: "view";
|
|
653
|
-
readonly type: "function";
|
|
654
|
-
}, {
|
|
655
|
-
readonly inputs: readonly [{
|
|
656
|
-
readonly internalType: "address";
|
|
657
|
-
readonly name: "";
|
|
658
|
-
readonly type: "address";
|
|
659
|
-
}];
|
|
660
|
-
readonly name: "lastWhitelistTransfer";
|
|
661
|
-
readonly outputs: readonly [{
|
|
662
|
-
readonly internalType: "uint256";
|
|
663
|
-
readonly name: "";
|
|
664
|
-
readonly type: "uint256";
|
|
665
|
-
}];
|
|
666
|
-
readonly stateMutability: "view";
|
|
667
|
-
readonly type: "function";
|
|
668
170
|
}, {
|
|
669
171
|
readonly inputs: readonly [];
|
|
670
172
|
readonly name: "mintManagerFee";
|
|
@@ -681,32 +183,6 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
681
183
|
}];
|
|
682
184
|
readonly stateMutability: "view";
|
|
683
185
|
readonly type: "function";
|
|
684
|
-
}, {
|
|
685
|
-
readonly inputs: readonly [{
|
|
686
|
-
readonly internalType: "address";
|
|
687
|
-
readonly name: "operator";
|
|
688
|
-
readonly type: "address";
|
|
689
|
-
}, {
|
|
690
|
-
readonly internalType: "address";
|
|
691
|
-
readonly name: "from";
|
|
692
|
-
readonly type: "address";
|
|
693
|
-
}, {
|
|
694
|
-
readonly internalType: "uint256";
|
|
695
|
-
readonly name: "tokenId";
|
|
696
|
-
readonly type: "uint256";
|
|
697
|
-
}, {
|
|
698
|
-
readonly internalType: "bytes";
|
|
699
|
-
readonly name: "data";
|
|
700
|
-
readonly type: "bytes";
|
|
701
|
-
}];
|
|
702
|
-
readonly name: "onERC721Received";
|
|
703
|
-
readonly outputs: readonly [{
|
|
704
|
-
readonly internalType: "bytes4";
|
|
705
|
-
readonly name: "magicSelector";
|
|
706
|
-
readonly type: "bytes4";
|
|
707
|
-
}];
|
|
708
|
-
readonly stateMutability: "nonpayable";
|
|
709
|
-
readonly type: "function";
|
|
710
186
|
}, {
|
|
711
187
|
readonly inputs: readonly [];
|
|
712
188
|
readonly name: "poolManagerLogic";
|
|
@@ -717,36 +193,6 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
717
193
|
}];
|
|
718
194
|
readonly stateMutability: "view";
|
|
719
195
|
readonly type: "function";
|
|
720
|
-
}, {
|
|
721
|
-
readonly inputs: readonly [];
|
|
722
|
-
readonly name: "privatePool";
|
|
723
|
-
readonly outputs: readonly [{
|
|
724
|
-
readonly internalType: "bool";
|
|
725
|
-
readonly name: "";
|
|
726
|
-
readonly type: "bool";
|
|
727
|
-
}];
|
|
728
|
-
readonly stateMutability: "view";
|
|
729
|
-
readonly type: "function";
|
|
730
|
-
}, {
|
|
731
|
-
readonly inputs: readonly [{
|
|
732
|
-
readonly internalType: "address";
|
|
733
|
-
readonly name: "_poolManagerLogic";
|
|
734
|
-
readonly type: "address";
|
|
735
|
-
}];
|
|
736
|
-
readonly name: "setPoolManagerLogic";
|
|
737
|
-
readonly outputs: readonly [];
|
|
738
|
-
readonly stateMutability: "nonpayable";
|
|
739
|
-
readonly type: "function";
|
|
740
|
-
}, {
|
|
741
|
-
readonly inputs: readonly [{
|
|
742
|
-
readonly internalType: "bool";
|
|
743
|
-
readonly name: "_privatePool";
|
|
744
|
-
readonly type: "bool";
|
|
745
|
-
}];
|
|
746
|
-
readonly name: "setPoolPrivate";
|
|
747
|
-
readonly outputs: readonly [];
|
|
748
|
-
readonly stateMutability: "nonpayable";
|
|
749
|
-
readonly type: "function";
|
|
750
196
|
}, {
|
|
751
197
|
readonly inputs: readonly [];
|
|
752
198
|
readonly name: "symbol";
|
|
@@ -767,26 +213,6 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
767
213
|
}];
|
|
768
214
|
readonly stateMutability: "view";
|
|
769
215
|
readonly type: "function";
|
|
770
|
-
}, {
|
|
771
|
-
readonly inputs: readonly [];
|
|
772
|
-
readonly name: "tokenPriceAtLastFeeMint";
|
|
773
|
-
readonly outputs: readonly [{
|
|
774
|
-
readonly internalType: "uint256";
|
|
775
|
-
readonly name: "";
|
|
776
|
-
readonly type: "uint256";
|
|
777
|
-
}];
|
|
778
|
-
readonly stateMutability: "view";
|
|
779
|
-
readonly type: "function";
|
|
780
|
-
}, {
|
|
781
|
-
readonly inputs: readonly [];
|
|
782
|
-
readonly name: "tokenPriceWithoutManagerFee";
|
|
783
|
-
readonly outputs: readonly [{
|
|
784
|
-
readonly internalType: "uint256";
|
|
785
|
-
readonly name: "price";
|
|
786
|
-
readonly type: "uint256";
|
|
787
|
-
}];
|
|
788
|
-
readonly stateMutability: "view";
|
|
789
|
-
readonly type: "function";
|
|
790
216
|
}, {
|
|
791
217
|
readonly inputs: readonly [];
|
|
792
218
|
readonly name: "totalSupply";
|
|
@@ -797,56 +223,6 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
797
223
|
}];
|
|
798
224
|
readonly stateMutability: "view";
|
|
799
225
|
readonly type: "function";
|
|
800
|
-
}, {
|
|
801
|
-
readonly inputs: readonly [{
|
|
802
|
-
readonly internalType: "address";
|
|
803
|
-
readonly name: "recipient";
|
|
804
|
-
readonly type: "address";
|
|
805
|
-
}, {
|
|
806
|
-
readonly internalType: "uint256";
|
|
807
|
-
readonly name: "amount";
|
|
808
|
-
readonly type: "uint256";
|
|
809
|
-
}];
|
|
810
|
-
readonly name: "transfer";
|
|
811
|
-
readonly outputs: readonly [{
|
|
812
|
-
readonly internalType: "bool";
|
|
813
|
-
readonly name: "";
|
|
814
|
-
readonly type: "bool";
|
|
815
|
-
}];
|
|
816
|
-
readonly stateMutability: "nonpayable";
|
|
817
|
-
readonly type: "function";
|
|
818
|
-
}, {
|
|
819
|
-
readonly inputs: readonly [{
|
|
820
|
-
readonly internalType: "address";
|
|
821
|
-
readonly name: "sender";
|
|
822
|
-
readonly type: "address";
|
|
823
|
-
}, {
|
|
824
|
-
readonly internalType: "address";
|
|
825
|
-
readonly name: "recipient";
|
|
826
|
-
readonly type: "address";
|
|
827
|
-
}, {
|
|
828
|
-
readonly internalType: "uint256";
|
|
829
|
-
readonly name: "amount";
|
|
830
|
-
readonly type: "uint256";
|
|
831
|
-
}];
|
|
832
|
-
readonly name: "transferFrom";
|
|
833
|
-
readonly outputs: readonly [{
|
|
834
|
-
readonly internalType: "bool";
|
|
835
|
-
readonly name: "";
|
|
836
|
-
readonly type: "bool";
|
|
837
|
-
}];
|
|
838
|
-
readonly stateMutability: "nonpayable";
|
|
839
|
-
readonly type: "function";
|
|
840
|
-
}, {
|
|
841
|
-
readonly inputs: readonly [{
|
|
842
|
-
readonly internalType: "uint256";
|
|
843
|
-
readonly name: "_fundTokenAmount";
|
|
844
|
-
readonly type: "uint256";
|
|
845
|
-
}];
|
|
846
|
-
readonly name: "withdraw";
|
|
847
|
-
readonly outputs: readonly [];
|
|
848
|
-
readonly stateMutability: "nonpayable";
|
|
849
|
-
readonly type: "function";
|
|
850
226
|
}, {
|
|
851
227
|
readonly inputs: readonly [{
|
|
852
228
|
readonly internalType: "uint256";
|
|
@@ -888,69 +264,6 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
888
264
|
readonly outputs: readonly [];
|
|
889
265
|
readonly stateMutability: "nonpayable";
|
|
890
266
|
readonly type: "function";
|
|
891
|
-
}, {
|
|
892
|
-
readonly inputs: readonly [{
|
|
893
|
-
readonly internalType: "address";
|
|
894
|
-
readonly name: "_recipient";
|
|
895
|
-
readonly type: "address";
|
|
896
|
-
}, {
|
|
897
|
-
readonly internalType: "uint256";
|
|
898
|
-
readonly name: "_fundTokenAmount";
|
|
899
|
-
readonly type: "uint256";
|
|
900
|
-
}];
|
|
901
|
-
readonly name: "withdrawTo";
|
|
902
|
-
readonly outputs: readonly [];
|
|
903
|
-
readonly stateMutability: "nonpayable";
|
|
904
|
-
readonly type: "function";
|
|
905
|
-
}, {
|
|
906
|
-
readonly inputs: readonly [{
|
|
907
|
-
readonly internalType: "address";
|
|
908
|
-
readonly name: "_recipient";
|
|
909
|
-
readonly type: "address";
|
|
910
|
-
}, {
|
|
911
|
-
readonly internalType: "uint256";
|
|
912
|
-
readonly name: "_fundTokenAmount";
|
|
913
|
-
readonly type: "uint256";
|
|
914
|
-
}, {
|
|
915
|
-
readonly components: readonly [{
|
|
916
|
-
readonly internalType: "address";
|
|
917
|
-
readonly name: "supportedAsset";
|
|
918
|
-
readonly type: "address";
|
|
919
|
-
}, {
|
|
920
|
-
readonly internalType: "bytes";
|
|
921
|
-
readonly name: "withdrawData";
|
|
922
|
-
readonly type: "bytes";
|
|
923
|
-
}, {
|
|
924
|
-
readonly internalType: "uint256";
|
|
925
|
-
readonly name: "slippageTolerance";
|
|
926
|
-
readonly type: "uint256";
|
|
927
|
-
}];
|
|
928
|
-
readonly internalType: "struct IPoolLogic.ComplexAsset[]";
|
|
929
|
-
readonly name: "_complexAssetsData";
|
|
930
|
-
readonly type: "tuple[]";
|
|
931
|
-
}];
|
|
932
|
-
readonly name: "withdrawToSafe";
|
|
933
|
-
readonly outputs: readonly [];
|
|
934
|
-
readonly stateMutability: "nonpayable";
|
|
935
|
-
readonly type: "function";
|
|
936
|
-
}, {
|
|
937
|
-
readonly inputs: readonly [{
|
|
938
|
-
readonly internalType: "address";
|
|
939
|
-
readonly name: "_recipient";
|
|
940
|
-
readonly type: "address";
|
|
941
|
-
}, {
|
|
942
|
-
readonly internalType: "uint256";
|
|
943
|
-
readonly name: "_fundTokenAmount";
|
|
944
|
-
readonly type: "uint256";
|
|
945
|
-
}, {
|
|
946
|
-
readonly internalType: "uint256";
|
|
947
|
-
readonly name: "_slippageTolerance";
|
|
948
|
-
readonly type: "uint256";
|
|
949
|
-
}];
|
|
950
|
-
readonly name: "withdrawToSafe";
|
|
951
|
-
readonly outputs: readonly [];
|
|
952
|
-
readonly stateMutability: "nonpayable";
|
|
953
|
-
readonly type: "function";
|
|
954
267
|
}];
|
|
955
268
|
export declare const ComplexWithdrawalAssetSrcDataAbiItem: readonly [{
|
|
956
269
|
readonly type: "tuple[]";
|