@dhedge/trading-widget 3.2.0 → 3.3.0-alpha.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 -0
- package/core-kit/abi/aave/aave-asset-guard.d.ts +50 -0
- package/core-kit/abi/easy-swapper-v2.d.ts +92 -0
- package/core-kit/abi/index.d.ts +3 -2
- package/core-kit/abi/pool-logic.d.ts +875 -121
- package/core-kit/abi/pool-manager-logic.d.ts +19 -0
- package/core-kit/const/contracts/polygon.d.ts +2 -0
- package/core-kit/hooks/pool/multicall/use-pool-manager.dynamic.d.ts +75 -190
- package/core-kit/hooks/pool/multicall/use-pool-manager.static.d.ts +57 -0
- package/core-kit/hooks/pool/multicall/use-pool.static.d.ts +981 -20
- package/core-kit/hooks/pool/multicall/use-pools.dynamic.d.ts +3331 -230
- package/core-kit/hooks/pool/use-pool-dynamic-contract-data.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/use-deposit-quote-contract-read.d.ts +92 -0
- package/core-kit/hooks/trading/use-swaps-data-query.d.ts +6 -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-fetch-aave-swap-params.d.ts +6 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-fetch-init-withdraw-complex-asset-data.d.ts +5 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-aave-swap-data.d.ts +5 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-transaction-arguments.d.ts +6 -1
- package/core-kit/hooks/trading/withdraw-v2/use-withdrawal-vault-address.d.ts +92 -0
- package/core-kit/hooks/user/multicall/use-user-multicall.d.ts +92 -0
- package/core-kit/hooks/web3/use-static-call-query.d.ts +7 -6
- package/core-kit/types/contract.types.d.ts +28 -0
- package/core-kit/types/index.d.ts +1 -0
- package/core-kit/types/web3.types.d.ts +0 -12
- package/core-kit/utils/transaction.d.ts +14 -3
- package/core-kit/utils/web3.d.ts +0 -2
- package/index-486e8b60.cjs +217 -0
- package/{index-d62956b7.js → index-a29190ba.js} +10593 -9573
- package/index.cjs +1 -1
- package/index.d.ts +1 -1
- package/index.js +125 -126
- package/package.json +1 -1
- package/{pyth-adapter-e278f630.js → pyth-adapter-330946d6.js} +1 -1
- package/{pyth-adapter-c8d76d79.cjs → pyth-adapter-a81f3e9c.cjs} +1 -1
- package/trading-widget/providers/config-provider/config-provider.types.d.ts +1 -0
- package/index-8d920656.cjs +0 -217
- /package/core-kit/abi/{aave-lending-pool.d.ts → aave/aave-lending-pool.d.ts} +0 -0
|
@@ -1,4 +1,247 @@
|
|
|
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
|
+
}, {
|
|
2
245
|
readonly inputs: readonly [{
|
|
3
246
|
readonly internalType: "address";
|
|
4
247
|
readonly name: "owner";
|
|
@@ -11,82 +254,564 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
11
254
|
readonly name: "allowance";
|
|
12
255
|
readonly outputs: readonly [{
|
|
13
256
|
readonly internalType: "uint256";
|
|
14
|
-
readonly name: "";
|
|
257
|
+
readonly name: "";
|
|
258
|
+
readonly type: "uint256";
|
|
259
|
+
}];
|
|
260
|
+
readonly stateMutability: "view";
|
|
261
|
+
readonly type: "function";
|
|
262
|
+
}, {
|
|
263
|
+
readonly inputs: readonly [{
|
|
264
|
+
readonly internalType: "address";
|
|
265
|
+
readonly name: "spender";
|
|
266
|
+
readonly type: "address";
|
|
267
|
+
}, {
|
|
268
|
+
readonly internalType: "uint256";
|
|
269
|
+
readonly name: "amount";
|
|
270
|
+
readonly type: "uint256";
|
|
271
|
+
}];
|
|
272
|
+
readonly name: "approve";
|
|
273
|
+
readonly outputs: readonly [{
|
|
274
|
+
readonly internalType: "bool";
|
|
275
|
+
readonly name: "";
|
|
276
|
+
readonly type: "bool";
|
|
277
|
+
}];
|
|
278
|
+
readonly stateMutability: "nonpayable";
|
|
279
|
+
readonly type: "function";
|
|
280
|
+
}, {
|
|
281
|
+
readonly inputs: readonly [{
|
|
282
|
+
readonly internalType: "address";
|
|
283
|
+
readonly name: "account";
|
|
284
|
+
readonly type: "address";
|
|
285
|
+
}];
|
|
286
|
+
readonly name: "balanceOf";
|
|
287
|
+
readonly outputs: readonly [{
|
|
288
|
+
readonly internalType: "uint256";
|
|
289
|
+
readonly name: "";
|
|
290
|
+
readonly type: "uint256";
|
|
291
|
+
}];
|
|
292
|
+
readonly stateMutability: "view";
|
|
293
|
+
readonly type: "function";
|
|
294
|
+
}, {
|
|
295
|
+
readonly inputs: readonly [{
|
|
296
|
+
readonly internalType: "uint256";
|
|
297
|
+
readonly name: "fundValue";
|
|
298
|
+
readonly type: "uint256";
|
|
299
|
+
}];
|
|
300
|
+
readonly name: "calculateAvailableManagerFee";
|
|
301
|
+
readonly outputs: readonly [{
|
|
302
|
+
readonly internalType: "uint256";
|
|
303
|
+
readonly name: "fee";
|
|
304
|
+
readonly type: "uint256";
|
|
305
|
+
}];
|
|
306
|
+
readonly stateMutability: "view";
|
|
307
|
+
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
|
+
}, {
|
|
329
|
+
readonly inputs: readonly [];
|
|
330
|
+
readonly name: "decimals";
|
|
331
|
+
readonly outputs: readonly [{
|
|
332
|
+
readonly internalType: "uint8";
|
|
333
|
+
readonly name: "";
|
|
334
|
+
readonly type: "uint8";
|
|
335
|
+
}];
|
|
336
|
+
readonly stateMutability: "view";
|
|
337
|
+
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
|
+
}, {
|
|
357
|
+
readonly inputs: readonly [{
|
|
358
|
+
readonly internalType: "address";
|
|
359
|
+
readonly name: "_asset";
|
|
360
|
+
readonly type: "address";
|
|
361
|
+
}, {
|
|
362
|
+
readonly internalType: "uint256";
|
|
363
|
+
readonly name: "_amount";
|
|
364
|
+
readonly type: "uint256";
|
|
365
|
+
}];
|
|
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";
|
|
492
|
+
readonly outputs: readonly [{
|
|
493
|
+
readonly internalType: "address";
|
|
494
|
+
readonly name: "";
|
|
495
|
+
readonly type: "address";
|
|
496
|
+
}];
|
|
497
|
+
readonly stateMutability: "view";
|
|
498
|
+
readonly type: "function";
|
|
499
|
+
}, {
|
|
500
|
+
readonly inputs: readonly [{
|
|
501
|
+
readonly internalType: "address";
|
|
502
|
+
readonly name: "sender";
|
|
503
|
+
readonly type: "address";
|
|
504
|
+
}];
|
|
505
|
+
readonly name: "getExitRemainingCooldown";
|
|
506
|
+
readonly outputs: readonly [{
|
|
507
|
+
readonly internalType: "uint256";
|
|
508
|
+
readonly name: "remaining";
|
|
509
|
+
readonly type: "uint256";
|
|
510
|
+
}];
|
|
511
|
+
readonly stateMutability: "view";
|
|
512
|
+
readonly type: "function";
|
|
513
|
+
}, {
|
|
514
|
+
readonly inputs: readonly [];
|
|
515
|
+
readonly name: "getFundSummary";
|
|
516
|
+
readonly outputs: readonly [{
|
|
517
|
+
readonly components: readonly [{
|
|
518
|
+
readonly internalType: "string";
|
|
519
|
+
readonly name: "name";
|
|
520
|
+
readonly type: "string";
|
|
521
|
+
}, {
|
|
522
|
+
readonly internalType: "uint256";
|
|
523
|
+
readonly name: "totalSupply";
|
|
524
|
+
readonly type: "uint256";
|
|
525
|
+
}, {
|
|
526
|
+
readonly internalType: "uint256";
|
|
527
|
+
readonly name: "totalFundValue";
|
|
528
|
+
readonly type: "uint256";
|
|
529
|
+
}, {
|
|
530
|
+
readonly internalType: "address";
|
|
531
|
+
readonly name: "manager";
|
|
532
|
+
readonly type: "address";
|
|
533
|
+
}, {
|
|
534
|
+
readonly internalType: "string";
|
|
535
|
+
readonly name: "managerName";
|
|
536
|
+
readonly type: "string";
|
|
537
|
+
}, {
|
|
538
|
+
readonly internalType: "uint256";
|
|
539
|
+
readonly name: "creationTime";
|
|
540
|
+
readonly type: "uint256";
|
|
541
|
+
}, {
|
|
542
|
+
readonly internalType: "bool";
|
|
543
|
+
readonly name: "privatePool";
|
|
544
|
+
readonly type: "bool";
|
|
545
|
+
}, {
|
|
546
|
+
readonly internalType: "uint256";
|
|
547
|
+
readonly name: "performanceFeeNumerator";
|
|
548
|
+
readonly type: "uint256";
|
|
549
|
+
}, {
|
|
550
|
+
readonly internalType: "uint256";
|
|
551
|
+
readonly name: "managerFeeNumerator";
|
|
552
|
+
readonly type: "uint256";
|
|
553
|
+
}, {
|
|
554
|
+
readonly internalType: "uint256";
|
|
555
|
+
readonly name: "managerFeeDenominator";
|
|
556
|
+
readonly type: "uint256";
|
|
557
|
+
}, {
|
|
558
|
+
readonly internalType: "uint256";
|
|
559
|
+
readonly name: "exitFeeNumerator";
|
|
560
|
+
readonly type: "uint256";
|
|
561
|
+
}, {
|
|
562
|
+
readonly internalType: "uint256";
|
|
563
|
+
readonly name: "exitFeeDenominator";
|
|
564
|
+
readonly type: "uint256";
|
|
565
|
+
}, {
|
|
566
|
+
readonly internalType: "uint256";
|
|
567
|
+
readonly name: "entryFeeNumerator";
|
|
568
|
+
readonly type: "uint256";
|
|
569
|
+
}];
|
|
570
|
+
readonly internalType: "struct PoolLogic.FundSummary";
|
|
571
|
+
readonly name: "";
|
|
572
|
+
readonly type: "tuple";
|
|
573
|
+
}];
|
|
574
|
+
readonly stateMutability: "view";
|
|
575
|
+
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
|
+
}, {
|
|
669
|
+
readonly inputs: readonly [];
|
|
670
|
+
readonly name: "mintManagerFee";
|
|
671
|
+
readonly outputs: readonly [];
|
|
672
|
+
readonly stateMutability: "nonpayable";
|
|
673
|
+
readonly type: "function";
|
|
674
|
+
}, {
|
|
675
|
+
readonly inputs: readonly [];
|
|
676
|
+
readonly name: "name";
|
|
677
|
+
readonly outputs: readonly [{
|
|
678
|
+
readonly internalType: "string";
|
|
679
|
+
readonly name: "";
|
|
680
|
+
readonly type: "string";
|
|
681
|
+
}];
|
|
682
|
+
readonly stateMutability: "view";
|
|
683
|
+
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";
|
|
15
696
|
readonly type: "uint256";
|
|
697
|
+
}, {
|
|
698
|
+
readonly internalType: "bytes";
|
|
699
|
+
readonly name: "data";
|
|
700
|
+
readonly type: "bytes";
|
|
16
701
|
}];
|
|
17
|
-
readonly
|
|
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";
|
|
18
709
|
readonly type: "function";
|
|
19
710
|
}, {
|
|
20
|
-
readonly inputs: readonly [
|
|
711
|
+
readonly inputs: readonly [];
|
|
712
|
+
readonly name: "poolManagerLogic";
|
|
713
|
+
readonly outputs: readonly [{
|
|
21
714
|
readonly internalType: "address";
|
|
22
|
-
readonly name: "
|
|
715
|
+
readonly name: "";
|
|
23
716
|
readonly type: "address";
|
|
24
|
-
}, {
|
|
25
|
-
readonly internalType: "uint256";
|
|
26
|
-
readonly name: "amount";
|
|
27
|
-
readonly type: "uint256";
|
|
28
717
|
}];
|
|
29
|
-
readonly
|
|
718
|
+
readonly stateMutability: "view";
|
|
719
|
+
readonly type: "function";
|
|
720
|
+
}, {
|
|
721
|
+
readonly inputs: readonly [];
|
|
722
|
+
readonly name: "privatePool";
|
|
30
723
|
readonly outputs: readonly [{
|
|
31
724
|
readonly internalType: "bool";
|
|
32
725
|
readonly name: "";
|
|
33
726
|
readonly type: "bool";
|
|
34
727
|
}];
|
|
35
|
-
readonly stateMutability: "
|
|
728
|
+
readonly stateMutability: "view";
|
|
36
729
|
readonly type: "function";
|
|
37
730
|
}, {
|
|
38
731
|
readonly inputs: readonly [{
|
|
39
732
|
readonly internalType: "address";
|
|
40
|
-
readonly name: "
|
|
733
|
+
readonly name: "_poolManagerLogic";
|
|
41
734
|
readonly type: "address";
|
|
42
735
|
}];
|
|
43
|
-
readonly name: "
|
|
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
|
+
}, {
|
|
751
|
+
readonly inputs: readonly [];
|
|
752
|
+
readonly name: "symbol";
|
|
44
753
|
readonly outputs: readonly [{
|
|
45
|
-
readonly internalType: "
|
|
754
|
+
readonly internalType: "string";
|
|
46
755
|
readonly name: "";
|
|
756
|
+
readonly type: "string";
|
|
757
|
+
}];
|
|
758
|
+
readonly stateMutability: "view";
|
|
759
|
+
readonly type: "function";
|
|
760
|
+
}, {
|
|
761
|
+
readonly inputs: readonly [];
|
|
762
|
+
readonly name: "tokenPrice";
|
|
763
|
+
readonly outputs: readonly [{
|
|
764
|
+
readonly internalType: "uint256";
|
|
765
|
+
readonly name: "price";
|
|
47
766
|
readonly type: "uint256";
|
|
48
767
|
}];
|
|
49
768
|
readonly stateMutability: "view";
|
|
50
769
|
readonly type: "function";
|
|
51
770
|
}, {
|
|
52
|
-
readonly inputs: readonly [
|
|
771
|
+
readonly inputs: readonly [];
|
|
772
|
+
readonly name: "tokenPriceAtLastFeeMint";
|
|
773
|
+
readonly outputs: readonly [{
|
|
53
774
|
readonly internalType: "uint256";
|
|
54
|
-
readonly name: "
|
|
775
|
+
readonly name: "";
|
|
55
776
|
readonly type: "uint256";
|
|
56
777
|
}];
|
|
57
|
-
readonly
|
|
778
|
+
readonly stateMutability: "view";
|
|
779
|
+
readonly type: "function";
|
|
780
|
+
}, {
|
|
781
|
+
readonly inputs: readonly [];
|
|
782
|
+
readonly name: "tokenPriceWithoutManagerFee";
|
|
58
783
|
readonly outputs: readonly [{
|
|
59
784
|
readonly internalType: "uint256";
|
|
60
|
-
readonly name: "
|
|
785
|
+
readonly name: "price";
|
|
61
786
|
readonly type: "uint256";
|
|
62
787
|
}];
|
|
63
788
|
readonly stateMutability: "view";
|
|
64
789
|
readonly type: "function";
|
|
65
790
|
}, {
|
|
66
791
|
readonly inputs: readonly [];
|
|
67
|
-
readonly name: "
|
|
792
|
+
readonly name: "totalSupply";
|
|
68
793
|
readonly outputs: readonly [{
|
|
69
|
-
readonly internalType: "
|
|
794
|
+
readonly internalType: "uint256";
|
|
70
795
|
readonly name: "";
|
|
71
|
-
readonly type: "
|
|
796
|
+
readonly type: "uint256";
|
|
72
797
|
}];
|
|
73
798
|
readonly stateMutability: "view";
|
|
74
799
|
readonly type: "function";
|
|
75
800
|
}, {
|
|
76
801
|
readonly inputs: readonly [{
|
|
77
802
|
readonly internalType: "address";
|
|
78
|
-
readonly name: "
|
|
803
|
+
readonly name: "recipient";
|
|
79
804
|
readonly type: "address";
|
|
80
805
|
}, {
|
|
81
806
|
readonly internalType: "uint256";
|
|
82
|
-
readonly name: "
|
|
807
|
+
readonly name: "amount";
|
|
83
808
|
readonly type: "uint256";
|
|
84
809
|
}];
|
|
85
|
-
readonly name: "
|
|
810
|
+
readonly name: "transfer";
|
|
86
811
|
readonly outputs: readonly [{
|
|
87
|
-
readonly internalType: "
|
|
88
|
-
readonly name: "
|
|
89
|
-
readonly type: "
|
|
812
|
+
readonly internalType: "bool";
|
|
813
|
+
readonly name: "";
|
|
814
|
+
readonly type: "bool";
|
|
90
815
|
}];
|
|
91
816
|
readonly stateMutability: "nonpayable";
|
|
92
817
|
readonly type: "function";
|
|
@@ -95,136 +820,125 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
95
820
|
readonly internalType: "address";
|
|
96
821
|
readonly name: "sender";
|
|
97
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";
|
|
98
831
|
}];
|
|
99
|
-
readonly name: "
|
|
832
|
+
readonly name: "transferFrom";
|
|
100
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 [{
|
|
101
842
|
readonly internalType: "uint256";
|
|
102
|
-
readonly name: "
|
|
843
|
+
readonly name: "_fundTokenAmount";
|
|
103
844
|
readonly type: "uint256";
|
|
104
845
|
}];
|
|
105
|
-
readonly
|
|
846
|
+
readonly name: "withdraw";
|
|
847
|
+
readonly outputs: readonly [];
|
|
848
|
+
readonly stateMutability: "nonpayable";
|
|
106
849
|
readonly type: "function";
|
|
107
850
|
}, {
|
|
108
|
-
readonly inputs: readonly [
|
|
109
|
-
|
|
110
|
-
|
|
851
|
+
readonly inputs: readonly [{
|
|
852
|
+
readonly internalType: "uint256";
|
|
853
|
+
readonly name: "_fundTokenAmount";
|
|
854
|
+
readonly type: "uint256";
|
|
855
|
+
}, {
|
|
111
856
|
readonly components: readonly [{
|
|
112
|
-
readonly internalType: "string";
|
|
113
|
-
readonly name: "name";
|
|
114
|
-
readonly type: "string";
|
|
115
|
-
}, {
|
|
116
|
-
readonly internalType: "uint256";
|
|
117
|
-
readonly name: "totalSupply";
|
|
118
|
-
readonly type: "uint256";
|
|
119
|
-
}, {
|
|
120
|
-
readonly internalType: "uint256";
|
|
121
|
-
readonly name: "totalFundValue";
|
|
122
|
-
readonly type: "uint256";
|
|
123
|
-
}, {
|
|
124
857
|
readonly internalType: "address";
|
|
125
|
-
readonly name: "
|
|
858
|
+
readonly name: "supportedAsset";
|
|
126
859
|
readonly type: "address";
|
|
127
860
|
}, {
|
|
128
|
-
readonly internalType: "
|
|
129
|
-
readonly name: "
|
|
130
|
-
readonly type: "
|
|
131
|
-
}, {
|
|
132
|
-
readonly internalType: "uint256";
|
|
133
|
-
readonly name: "creationTime";
|
|
134
|
-
readonly type: "uint256";
|
|
135
|
-
}, {
|
|
136
|
-
readonly internalType: "bool";
|
|
137
|
-
readonly name: "privatePool";
|
|
138
|
-
readonly type: "bool";
|
|
139
|
-
}, {
|
|
140
|
-
readonly internalType: "uint256";
|
|
141
|
-
readonly name: "performanceFeeNumerator";
|
|
142
|
-
readonly type: "uint256";
|
|
143
|
-
}, {
|
|
144
|
-
readonly internalType: "uint256";
|
|
145
|
-
readonly name: "managerFeeNumerator";
|
|
146
|
-
readonly type: "uint256";
|
|
147
|
-
}, {
|
|
148
|
-
readonly internalType: "uint256";
|
|
149
|
-
readonly name: "managerFeeDenominator";
|
|
150
|
-
readonly type: "uint256";
|
|
151
|
-
}, {
|
|
152
|
-
readonly internalType: "uint256";
|
|
153
|
-
readonly name: "exitFeeNumerator";
|
|
154
|
-
readonly type: "uint256";
|
|
155
|
-
}, {
|
|
156
|
-
readonly internalType: "uint256";
|
|
157
|
-
readonly name: "exitFeeDenominator";
|
|
158
|
-
readonly type: "uint256";
|
|
861
|
+
readonly internalType: "bytes";
|
|
862
|
+
readonly name: "withdrawData";
|
|
863
|
+
readonly type: "bytes";
|
|
159
864
|
}, {
|
|
160
865
|
readonly internalType: "uint256";
|
|
161
|
-
readonly name: "
|
|
866
|
+
readonly name: "slippageTolerance";
|
|
162
867
|
readonly type: "uint256";
|
|
163
868
|
}];
|
|
164
|
-
readonly internalType: "struct
|
|
165
|
-
readonly name: "";
|
|
166
|
-
readonly type: "tuple";
|
|
869
|
+
readonly internalType: "struct IPoolLogic.ComplexAsset[]";
|
|
870
|
+
readonly name: "_complexAssetsData";
|
|
871
|
+
readonly type: "tuple[]";
|
|
167
872
|
}];
|
|
168
|
-
readonly
|
|
169
|
-
readonly type: "function";
|
|
170
|
-
}, {
|
|
171
|
-
readonly inputs: readonly [];
|
|
172
|
-
readonly name: "mintManagerFee";
|
|
873
|
+
readonly name: "withdrawSafe";
|
|
173
874
|
readonly outputs: readonly [];
|
|
174
875
|
readonly stateMutability: "nonpayable";
|
|
175
876
|
readonly type: "function";
|
|
176
877
|
}, {
|
|
177
|
-
readonly inputs: readonly [
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
readonly
|
|
181
|
-
|
|
182
|
-
readonly
|
|
878
|
+
readonly inputs: readonly [{
|
|
879
|
+
readonly internalType: "uint256";
|
|
880
|
+
readonly name: "_fundTokenAmount";
|
|
881
|
+
readonly type: "uint256";
|
|
882
|
+
}, {
|
|
883
|
+
readonly internalType: "uint256";
|
|
884
|
+
readonly name: "_slippageTolerance";
|
|
885
|
+
readonly type: "uint256";
|
|
183
886
|
}];
|
|
184
|
-
readonly
|
|
887
|
+
readonly name: "withdrawSafe";
|
|
888
|
+
readonly outputs: readonly [];
|
|
889
|
+
readonly stateMutability: "nonpayable";
|
|
185
890
|
readonly type: "function";
|
|
186
891
|
}, {
|
|
187
|
-
readonly inputs: readonly [
|
|
188
|
-
readonly name: "poolManagerLogic";
|
|
189
|
-
readonly outputs: readonly [{
|
|
892
|
+
readonly inputs: readonly [{
|
|
190
893
|
readonly internalType: "address";
|
|
191
|
-
readonly name: "";
|
|
894
|
+
readonly name: "_recipient";
|
|
192
895
|
readonly type: "address";
|
|
193
|
-
}
|
|
194
|
-
readonly stateMutability: "view";
|
|
195
|
-
readonly type: "function";
|
|
196
|
-
}, {
|
|
197
|
-
readonly inputs: readonly [];
|
|
198
|
-
readonly name: "symbol";
|
|
199
|
-
readonly outputs: readonly [{
|
|
200
|
-
readonly internalType: "string";
|
|
201
|
-
readonly name: "";
|
|
202
|
-
readonly type: "string";
|
|
203
|
-
}];
|
|
204
|
-
readonly stateMutability: "view";
|
|
205
|
-
readonly type: "function";
|
|
206
|
-
}, {
|
|
207
|
-
readonly inputs: readonly [];
|
|
208
|
-
readonly name: "tokenPrice";
|
|
209
|
-
readonly outputs: readonly [{
|
|
896
|
+
}, {
|
|
210
897
|
readonly internalType: "uint256";
|
|
211
|
-
readonly name: "
|
|
898
|
+
readonly name: "_fundTokenAmount";
|
|
212
899
|
readonly type: "uint256";
|
|
213
900
|
}];
|
|
214
|
-
readonly
|
|
901
|
+
readonly name: "withdrawTo";
|
|
902
|
+
readonly outputs: readonly [];
|
|
903
|
+
readonly stateMutability: "nonpayable";
|
|
215
904
|
readonly type: "function";
|
|
216
905
|
}, {
|
|
217
|
-
readonly inputs: readonly [
|
|
218
|
-
|
|
219
|
-
|
|
906
|
+
readonly inputs: readonly [{
|
|
907
|
+
readonly internalType: "address";
|
|
908
|
+
readonly name: "_recipient";
|
|
909
|
+
readonly type: "address";
|
|
910
|
+
}, {
|
|
220
911
|
readonly internalType: "uint256";
|
|
221
|
-
readonly name: "";
|
|
912
|
+
readonly name: "_fundTokenAmount";
|
|
222
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[]";
|
|
223
931
|
}];
|
|
224
|
-
readonly
|
|
932
|
+
readonly name: "withdrawToSafe";
|
|
933
|
+
readonly outputs: readonly [];
|
|
934
|
+
readonly stateMutability: "nonpayable";
|
|
225
935
|
readonly type: "function";
|
|
226
936
|
}, {
|
|
227
937
|
readonly inputs: readonly [{
|
|
938
|
+
readonly internalType: "address";
|
|
939
|
+
readonly name: "_recipient";
|
|
940
|
+
readonly type: "address";
|
|
941
|
+
}, {
|
|
228
942
|
readonly internalType: "uint256";
|
|
229
943
|
readonly name: "_fundTokenAmount";
|
|
230
944
|
readonly type: "uint256";
|
|
@@ -233,8 +947,48 @@ export declare const PoolLogicAbi: readonly [{
|
|
|
233
947
|
readonly name: "_slippageTolerance";
|
|
234
948
|
readonly type: "uint256";
|
|
235
949
|
}];
|
|
236
|
-
readonly name: "
|
|
950
|
+
readonly name: "withdrawToSafe";
|
|
237
951
|
readonly outputs: readonly [];
|
|
238
952
|
readonly stateMutability: "nonpayable";
|
|
239
953
|
readonly type: "function";
|
|
240
954
|
}];
|
|
955
|
+
export declare const ComplexWithdrawalAssetSrcDataAbiItem: readonly [{
|
|
956
|
+
readonly type: "tuple[]";
|
|
957
|
+
readonly components: readonly [{
|
|
958
|
+
readonly type: "address";
|
|
959
|
+
readonly name: "asset";
|
|
960
|
+
}, {
|
|
961
|
+
readonly type: "uint256";
|
|
962
|
+
readonly name: "amount";
|
|
963
|
+
}, {
|
|
964
|
+
readonly type: "tuple";
|
|
965
|
+
readonly name: "swapData";
|
|
966
|
+
readonly components: readonly [{
|
|
967
|
+
readonly type: "bytes32";
|
|
968
|
+
readonly name: "routerKey";
|
|
969
|
+
}, {
|
|
970
|
+
readonly type: "bytes";
|
|
971
|
+
readonly name: "txData";
|
|
972
|
+
}];
|
|
973
|
+
}];
|
|
974
|
+
}];
|
|
975
|
+
export declare const ComplexWithdrawalDataAbiItem: readonly [{
|
|
976
|
+
readonly type: "tuple";
|
|
977
|
+
readonly components: readonly [{
|
|
978
|
+
readonly type: "bytes";
|
|
979
|
+
readonly name: "encodedSrcData";
|
|
980
|
+
}, {
|
|
981
|
+
readonly type: "tuple";
|
|
982
|
+
readonly name: "dstData";
|
|
983
|
+
readonly components: readonly [{
|
|
984
|
+
readonly type: "address";
|
|
985
|
+
readonly name: "dstAddress";
|
|
986
|
+
}, {
|
|
987
|
+
readonly type: "uint256";
|
|
988
|
+
readonly name: "dstAmount";
|
|
989
|
+
}];
|
|
990
|
+
}, {
|
|
991
|
+
readonly type: "uint256";
|
|
992
|
+
readonly name: "slippage";
|
|
993
|
+
}];
|
|
994
|
+
}];
|