@gearbox-protocol/sdk 1.3.3 → 1.5.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/lib/apy/index.d.ts +1 -0
- package/lib/core/adapter.d.ts +34 -0
- package/lib/core/adapter.js +76 -0
- package/lib/core/assets.d.ts +34 -0
- package/lib/core/assets.js +98 -0
- package/lib/core/constants.d.ts +1 -0
- package/lib/core/constants.js +3 -1
- package/lib/core/creditAccount.d.ts +14 -5
- package/lib/core/creditAccount.js +35 -3
- package/lib/core/creditManager.d.ts +12 -3
- package/lib/core/creditManager.js +34 -36
- package/lib/core/strategy.d.ts +15 -5
- package/lib/core/strategy.js +42 -7
- package/lib/core/trade.d.ts +49 -0
- package/lib/core/trade.js +70 -0
- package/lib/core/wcOperation.d.ts +54 -0
- package/lib/core/wcOperation.js +76 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.js +6 -0
- package/lib/parsers/abstractParser.d.ts +18 -0
- package/lib/parsers/abstractParser.js +32 -0
- package/lib/parsers/convexBaseRewardPoolAdapterParser.d.ts +9 -0
- package/lib/parsers/convexBaseRewardPoolAdapterParser.js +60 -0
- package/lib/parsers/convexBaseRewardPoolAdapterParser.spec.d.ts +1 -0
- package/lib/parsers/convexBaseRewardPoolAdapterParser.spec.js +24 -0
- package/lib/parsers/convexBoosterAdapterParser.d.ts +10 -0
- package/lib/parsers/convexBoosterAdapterParser.js +62 -0
- package/lib/parsers/convexBoosterAdapterParser.spec.d.ts +1 -0
- package/lib/parsers/convexBoosterAdapterParser.spec.js +20 -0
- package/lib/parsers/creditFacadeParser.d.ts +9 -0
- package/lib/parsers/creditFacadeParser.js +66 -0
- package/lib/parsers/creditFacadeParser.spec.d.ts +1 -0
- package/lib/parsers/creditFacadeParser.spec.js +27 -0
- package/lib/parsers/curveAdapterParser.d.ts +12 -0
- package/lib/parsers/curveAdapterParser.js +106 -0
- package/lib/parsers/curveAdapterParser.spec.d.ts +1 -0
- package/lib/parsers/curveAdapterParser.spec.js +49 -0
- package/lib/parsers/iParser.d.ts +3 -0
- package/lib/{types/contracts/test/suites/mainnet/IPriceFeedsRegistry.js → parsers/iParser.js} +0 -0
- package/lib/parsers/lidoAdapterParser.d.ts +7 -0
- package/lib/parsers/lidoAdapterParser.js +46 -0
- package/lib/parsers/lidoAdapterParser.spec.d.ts +1 -0
- package/lib/parsers/lidoAdapterParser.spec.js +17 -0
- package/lib/parsers/txParser.d.ts +18 -0
- package/lib/parsers/txParser.js +122 -0
- package/lib/parsers/uniV2AdapterParser.d.ts +8 -0
- package/lib/parsers/uniV2AdapterParser.js +73 -0
- package/lib/parsers/uniV2AdapterParser.spec.d.ts +1 -0
- package/lib/parsers/uniV2AdapterParser.spec.js +48 -0
- package/lib/parsers/uniV3AdapterParser.d.ts +9 -0
- package/lib/parsers/uniV3AdapterParser.js +99 -0
- package/lib/parsers/uniV3AdapterParser.spec.d.ts +1 -0
- package/lib/parsers/uniV3AdapterParser.spec.js +82 -0
- package/lib/parsers/yearnAdapterParser.spec.d.ts +1 -0
- package/lib/parsers/yearnAdapterParser.spec.js +36 -0
- package/lib/parsers/yearnV2AdapterParser.d.ts +7 -0
- package/lib/parsers/yearnV2AdapterParser.js +54 -0
- package/lib/tokens/convex.d.ts +4 -2
- package/lib/tokens/convex.js +10 -1
- package/lib/tokens/decimals.d.ts +2 -0
- package/lib/tokens/decimals.js +62 -0
- package/lib/tokens/tokenType.d.ts +10 -9
- package/lib/tokens/tokenType.js +10 -9
- package/lib/types/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExtended.d.ts +66 -2
- package/lib/types/contracts/interfaces/adapters/curve/ICurveV1_2AssetsAdapter.d.ts +620 -0
- package/lib/types/contracts/interfaces/adapters/curve/ICurveV1_2AssetsAdapter.js +2 -0
- package/lib/types/contracts/interfaces/adapters/curve/ICurveV1_3AssetsAdapter.d.ts +622 -0
- package/lib/types/contracts/interfaces/adapters/curve/ICurveV1_3AssetsAdapter.js +2 -0
- package/lib/types/contracts/interfaces/adapters/curve/ICurveV1_4AssetsAdapter.d.ts +648 -0
- package/lib/types/contracts/interfaces/adapters/curve/ICurveV1_4AssetsAdapter.js +2 -0
- package/lib/types/contracts/interfaces/adapters/curve/index.d.ts +3 -0
- package/lib/types/contracts/interfaces/adapters/index.d.ts +2 -0
- package/lib/types/contracts/interfaces/adapters/yearn/IYearnV2Adapter.d.ts +330 -0
- package/lib/types/contracts/interfaces/adapters/yearn/IYearnV2Adapter.js +2 -0
- package/lib/types/contracts/interfaces/adapters/yearn/index.d.ts +1 -0
- package/lib/types/contracts/interfaces/adapters/yearn/index.js +2 -0
- package/lib/types/contracts/pathfinder/interfaces/IClosePathResolver.d.ts +28 -7
- package/lib/types/contracts/pathfinder/interfaces/IDepositor.sol/IDepositor.d.ts +30 -9
- package/lib/types/contracts/pathfinder/interfaces/IDepositor.sol/IDepositorOptions.d.ts +31 -10
- package/lib/types/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorker.d.ts +28 -7
- package/lib/types/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorkerOptions.d.ts +28 -7
- package/lib/types/contracts/pathfinder/interfaces/IPathFinder.d.ts +24 -0
- package/lib/types/contracts/pathfinder/interfaces/IPathFinderComponent.d.ts +50 -0
- package/lib/types/contracts/pathfinder/interfaces/IPathFinderComponent.js +2 -0
- package/lib/types/contracts/pathfinder/interfaces/IPathResolver.d.ts +29 -8
- package/lib/types/contracts/pathfinder/interfaces/ISwapAggregator.d.ts +99 -15
- package/lib/types/contracts/pathfinder/interfaces/ISwapper.d.ts +17 -1
- package/lib/types/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawer.d.ts +53 -9
- package/lib/types/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawerOptions.d.ts +53 -9
- package/lib/types/contracts/pathfinder/interfaces/index.d.ts +1 -0
- package/lib/types/contracts/test/suites/mainnet/ITokenTestSuite.d.ts +110 -18
- package/lib/types/contracts/test/suites/mainnet/SupportedContracts.sol/ISupportedContracts.d.ts +50 -0
- package/lib/types/contracts/test/suites/mainnet/SupportedContracts.sol/ISupportedContracts.js +2 -0
- package/lib/types/contracts/test/suites/mainnet/SupportedContracts.sol/index.d.ts +1 -0
- package/lib/types/contracts/test/suites/mainnet/SupportedContracts.sol/index.js +2 -0
- package/lib/types/contracts/test/suites/mainnet/Tokens.sol/IToken.d.ts +60 -0
- package/lib/types/contracts/test/suites/mainnet/Tokens.sol/IToken.js +2 -0
- package/lib/types/contracts/test/suites/mainnet/Tokens.sol/index.d.ts +1 -0
- package/lib/types/contracts/test/suites/mainnet/Tokens.sol/index.js +2 -0
- package/lib/types/contracts/test/suites/mainnet/index.d.ts +4 -1
- package/lib/types/factories/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExtended__factory.js +62 -0
- package/lib/types/factories/contracts/{test/suites/mainnet/IPriceFeedsRegistry__factory.d.ts → interfaces/adapters/curve/ICurveV1_2AssetsAdapter__factory.d.ts} +4 -4
- package/lib/types/factories/contracts/interfaces/adapters/curve/ICurveV1_2AssetsAdapter__factory.js +1066 -0
- package/lib/types/factories/contracts/interfaces/adapters/curve/ICurveV1_3AssetsAdapter__factory.d.ts +32 -0
- package/lib/types/factories/contracts/interfaces/adapters/curve/ICurveV1_3AssetsAdapter__factory.js +1066 -0
- package/lib/types/factories/contracts/interfaces/adapters/curve/ICurveV1_4AssetsAdapter__factory.d.ts +32 -0
- package/lib/types/factories/contracts/interfaces/adapters/curve/ICurveV1_4AssetsAdapter__factory.js +1066 -0
- package/lib/types/factories/contracts/interfaces/adapters/curve/index.d.ts +3 -0
- package/lib/types/factories/contracts/interfaces/adapters/curve/index.js +7 -1
- package/lib/types/factories/contracts/interfaces/adapters/index.d.ts +1 -0
- package/lib/types/factories/contracts/interfaces/adapters/index.js +2 -1
- package/lib/types/factories/contracts/interfaces/adapters/yearn/IYearnV2Adapter__factory.d.ts +46 -0
- package/lib/types/factories/contracts/interfaces/adapters/yearn/IYearnV2Adapter__factory.js +487 -0
- package/lib/types/factories/contracts/interfaces/adapters/yearn/index.d.ts +1 -0
- package/lib/types/factories/contracts/interfaces/adapters/yearn/index.js +8 -0
- package/lib/types/factories/contracts/pathfinder/interfaces/IClosePathResolver__factory.d.ts +12 -2
- package/lib/types/factories/contracts/pathfinder/interfaces/IClosePathResolver__factory.js +54 -8
- package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/IDepositorOptions__factory.js +138 -32
- package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/IDepositor__factory.js +110 -24
- package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorkerOptions__factory.js +54 -8
- package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorker__factory.js +54 -8
- package/lib/types/factories/contracts/pathfinder/interfaces/IPathFinderComponent__factory.d.ts +18 -0
- package/lib/types/factories/contracts/pathfinder/interfaces/IPathFinderComponent__factory.js +48 -0
- package/lib/types/factories/contracts/pathfinder/interfaces/IPathFinder__factory.js +32 -0
- package/lib/types/factories/contracts/pathfinder/interfaces/IPathResolver__factory.d.ts +12 -2
- package/lib/types/factories/contracts/pathfinder/interfaces/IPathResolver__factory.js +82 -16
- package/lib/types/factories/contracts/pathfinder/interfaces/ISwapAggregator__factory.js +877 -56
- package/lib/types/factories/contracts/pathfinder/interfaces/ISwapper__factory.d.ts +12 -2
- package/lib/types/factories/contracts/pathfinder/interfaces/ISwapper__factory.js +26 -0
- package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawerOptions__factory.js +365 -24
- package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawer__factory.js +355 -24
- package/lib/types/factories/contracts/pathfinder/interfaces/index.d.ts +1 -0
- package/lib/types/factories/contracts/pathfinder/interfaces/index.js +3 -1
- package/lib/types/factories/contracts/support/MultiCall.sol/Multicall2__factory.d.ts +1 -1
- package/lib/types/factories/contracts/support/MultiCall.sol/Multicall2__factory.js +1 -1
- package/lib/types/factories/contracts/test/suites/mainnet/ITokenTestSuite__factory.d.ts +2 -12
- package/lib/types/factories/contracts/test/suites/mainnet/ITokenTestSuite__factory.js +140 -12
- package/lib/types/factories/contracts/test/suites/mainnet/SupportedContracts.sol/ISupportedContracts__factory.d.ts +22 -0
- package/lib/types/factories/contracts/test/suites/mainnet/{IPriceFeedsRegistry__factory.js → SupportedContracts.sol/ISupportedContracts__factory.js} +25 -17
- package/lib/types/factories/contracts/test/suites/mainnet/SupportedContracts.sol/index.d.ts +1 -0
- package/lib/types/factories/contracts/test/suites/mainnet/SupportedContracts.sol/index.js +8 -0
- package/lib/types/factories/contracts/test/suites/mainnet/Tokens.sol/IToken__factory.d.ts +22 -0
- package/lib/types/factories/contracts/test/suites/mainnet/Tokens.sol/IToken__factory.js +79 -0
- package/lib/types/factories/contracts/test/suites/mainnet/Tokens.sol/index.d.ts +1 -0
- package/lib/types/factories/contracts/test/suites/mainnet/Tokens.sol/index.js +8 -0
- package/lib/types/factories/contracts/test/suites/mainnet/index.d.ts +2 -1
- package/lib/types/factories/contracts/test/suites/mainnet/index.js +26 -3
- package/lib/types/index.d.ts +14 -2
- package/lib/types/index.js +17 -5
- package/lib/utils/math.d.ts +1 -0
- package/lib/utils/math.js +5 -1
- package/package.json +6 -2
- package/lib/types/contracts/test/suites/mainnet/IPriceFeedsRegistry.d.ts +0 -42
package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawer__factory.js
CHANGED
|
@@ -6,6 +6,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.IWithdrawer__factory = void 0;
|
|
7
7
|
var ethers_1 = require("ethers");
|
|
8
8
|
var _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [],
|
|
11
|
+
name: "getComponentId",
|
|
12
|
+
outputs: [
|
|
13
|
+
{
|
|
14
|
+
internalType: "enum PathFinderComponent",
|
|
15
|
+
name: "",
|
|
16
|
+
type: "uint8",
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
stateMutability: "view",
|
|
20
|
+
type: "function",
|
|
21
|
+
},
|
|
9
22
|
{
|
|
10
23
|
inputs: [
|
|
11
24
|
{
|
|
@@ -54,7 +67,7 @@ var _abi = [
|
|
|
54
67
|
},
|
|
55
68
|
{
|
|
56
69
|
internalType: "uint256",
|
|
57
|
-
name: "
|
|
70
|
+
name: "slippagePerStep",
|
|
58
71
|
type: "uint256",
|
|
59
72
|
},
|
|
60
73
|
{
|
|
@@ -70,9 +83,14 @@ var _abi = [
|
|
|
70
83
|
type: "address",
|
|
71
84
|
},
|
|
72
85
|
{
|
|
73
|
-
internalType: "address
|
|
74
|
-
name: "
|
|
75
|
-
type: "address
|
|
86
|
+
internalType: "address",
|
|
87
|
+
name: "depositAdapter",
|
|
88
|
+
type: "address",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
internalType: "address",
|
|
92
|
+
name: "withdrawAdapter",
|
|
93
|
+
type: "address",
|
|
76
94
|
},
|
|
77
95
|
],
|
|
78
96
|
internalType: "struct TokenAdapters[]",
|
|
@@ -89,6 +107,11 @@ var _abi = [
|
|
|
89
107
|
name: "gasUsage",
|
|
90
108
|
type: "uint256",
|
|
91
109
|
},
|
|
110
|
+
{
|
|
111
|
+
internalType: "uint256",
|
|
112
|
+
name: "slippageMultiplier",
|
|
113
|
+
type: "uint256",
|
|
114
|
+
},
|
|
92
115
|
{
|
|
93
116
|
internalType: "uint256",
|
|
94
117
|
name: "initTargetBalance",
|
|
@@ -165,7 +188,7 @@ var _abi = [
|
|
|
165
188
|
},
|
|
166
189
|
{
|
|
167
190
|
internalType: "uint256",
|
|
168
|
-
name: "
|
|
191
|
+
name: "slippagePerStep",
|
|
169
192
|
type: "uint256",
|
|
170
193
|
},
|
|
171
194
|
{
|
|
@@ -181,9 +204,14 @@ var _abi = [
|
|
|
181
204
|
type: "address",
|
|
182
205
|
},
|
|
183
206
|
{
|
|
184
|
-
internalType: "address
|
|
185
|
-
name: "
|
|
186
|
-
type: "address
|
|
207
|
+
internalType: "address",
|
|
208
|
+
name: "depositAdapter",
|
|
209
|
+
type: "address",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
internalType: "address",
|
|
213
|
+
name: "withdrawAdapter",
|
|
214
|
+
type: "address",
|
|
187
215
|
},
|
|
188
216
|
],
|
|
189
217
|
internalType: "struct TokenAdapters[]",
|
|
@@ -200,6 +228,11 @@ var _abi = [
|
|
|
200
228
|
name: "gasUsage",
|
|
201
229
|
type: "uint256",
|
|
202
230
|
},
|
|
231
|
+
{
|
|
232
|
+
internalType: "uint256",
|
|
233
|
+
name: "slippageMultiplier",
|
|
234
|
+
type: "uint256",
|
|
235
|
+
},
|
|
203
236
|
{
|
|
204
237
|
internalType: "uint256",
|
|
205
238
|
name: "initTargetBalance",
|
|
@@ -231,6 +264,19 @@ var _abi = [
|
|
|
231
264
|
stateMutability: "view",
|
|
232
265
|
type: "function",
|
|
233
266
|
},
|
|
267
|
+
{
|
|
268
|
+
inputs: [],
|
|
269
|
+
name: "version",
|
|
270
|
+
outputs: [
|
|
271
|
+
{
|
|
272
|
+
internalType: "uint256",
|
|
273
|
+
name: "",
|
|
274
|
+
type: "uint256",
|
|
275
|
+
},
|
|
276
|
+
],
|
|
277
|
+
stateMutability: "view",
|
|
278
|
+
type: "function",
|
|
279
|
+
},
|
|
234
280
|
{
|
|
235
281
|
inputs: [
|
|
236
282
|
{
|
|
@@ -284,7 +330,7 @@ var _abi = [
|
|
|
284
330
|
},
|
|
285
331
|
{
|
|
286
332
|
internalType: "uint256",
|
|
287
|
-
name: "
|
|
333
|
+
name: "slippagePerStep",
|
|
288
334
|
type: "uint256",
|
|
289
335
|
},
|
|
290
336
|
{
|
|
@@ -300,9 +346,14 @@ var _abi = [
|
|
|
300
346
|
type: "address",
|
|
301
347
|
},
|
|
302
348
|
{
|
|
303
|
-
internalType: "address
|
|
304
|
-
name: "
|
|
305
|
-
type: "address
|
|
349
|
+
internalType: "address",
|
|
350
|
+
name: "depositAdapter",
|
|
351
|
+
type: "address",
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
internalType: "address",
|
|
355
|
+
name: "withdrawAdapter",
|
|
356
|
+
type: "address",
|
|
306
357
|
},
|
|
307
358
|
],
|
|
308
359
|
internalType: "struct TokenAdapters[]",
|
|
@@ -319,6 +370,11 @@ var _abi = [
|
|
|
319
370
|
name: "gasUsage",
|
|
320
371
|
type: "uint256",
|
|
321
372
|
},
|
|
373
|
+
{
|
|
374
|
+
internalType: "uint256",
|
|
375
|
+
name: "slippageMultiplier",
|
|
376
|
+
type: "uint256",
|
|
377
|
+
},
|
|
322
378
|
{
|
|
323
379
|
internalType: "uint256",
|
|
324
380
|
name: "initTargetBalance",
|
|
@@ -395,7 +451,252 @@ var _abi = [
|
|
|
395
451
|
},
|
|
396
452
|
{
|
|
397
453
|
internalType: "uint256",
|
|
398
|
-
name: "
|
|
454
|
+
name: "slippagePerStep",
|
|
455
|
+
type: "uint256",
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
internalType: "enum TokenType",
|
|
459
|
+
name: "targetType",
|
|
460
|
+
type: "uint8",
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
components: [
|
|
464
|
+
{
|
|
465
|
+
internalType: "address",
|
|
466
|
+
name: "token",
|
|
467
|
+
type: "address",
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
internalType: "address",
|
|
471
|
+
name: "depositAdapter",
|
|
472
|
+
type: "address",
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
internalType: "address",
|
|
476
|
+
name: "withdrawAdapter",
|
|
477
|
+
type: "address",
|
|
478
|
+
},
|
|
479
|
+
],
|
|
480
|
+
internalType: "struct TokenAdapters[]",
|
|
481
|
+
name: "foundAdapters",
|
|
482
|
+
type: "tuple[]",
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
internalType: "uint256",
|
|
486
|
+
name: "gasPriceTargetRAY",
|
|
487
|
+
type: "uint256",
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
internalType: "uint256",
|
|
491
|
+
name: "gasUsage",
|
|
492
|
+
type: "uint256",
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
internalType: "uint256",
|
|
496
|
+
name: "slippageMultiplier",
|
|
497
|
+
type: "uint256",
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
internalType: "uint256",
|
|
501
|
+
name: "initTargetBalance",
|
|
502
|
+
type: "uint256",
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
components: [
|
|
506
|
+
{
|
|
507
|
+
internalType: "address",
|
|
508
|
+
name: "target",
|
|
509
|
+
type: "address",
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
internalType: "bytes",
|
|
513
|
+
name: "callData",
|
|
514
|
+
type: "bytes",
|
|
515
|
+
},
|
|
516
|
+
],
|
|
517
|
+
internalType: "struct MultiCall[]",
|
|
518
|
+
name: "calls",
|
|
519
|
+
type: "tuple[]",
|
|
520
|
+
},
|
|
521
|
+
],
|
|
522
|
+
internalType: "struct StrategyPathTask",
|
|
523
|
+
name: "",
|
|
524
|
+
type: "tuple",
|
|
525
|
+
},
|
|
526
|
+
],
|
|
527
|
+
stateMutability: "view",
|
|
528
|
+
type: "function",
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
inputs: [
|
|
532
|
+
{
|
|
533
|
+
internalType: "address",
|
|
534
|
+
name: "lpToken",
|
|
535
|
+
type: "address",
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
components: [
|
|
539
|
+
{
|
|
540
|
+
internalType: "address",
|
|
541
|
+
name: "creditAccount",
|
|
542
|
+
type: "address",
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
components: [
|
|
546
|
+
{
|
|
547
|
+
internalType: "address",
|
|
548
|
+
name: "token",
|
|
549
|
+
type: "address",
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
internalType: "uint256",
|
|
553
|
+
name: "balance",
|
|
554
|
+
type: "uint256",
|
|
555
|
+
},
|
|
556
|
+
],
|
|
557
|
+
internalType: "struct Balance[]",
|
|
558
|
+
name: "balances",
|
|
559
|
+
type: "tuple[]",
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
internalType: "address",
|
|
563
|
+
name: "target",
|
|
564
|
+
type: "address",
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
internalType: "address[]",
|
|
568
|
+
name: "connectors",
|
|
569
|
+
type: "address[]",
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
internalType: "address[]",
|
|
573
|
+
name: "adapters",
|
|
574
|
+
type: "address[]",
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
internalType: "uint256",
|
|
578
|
+
name: "slippagePerStep",
|
|
579
|
+
type: "uint256",
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
internalType: "enum TokenType",
|
|
583
|
+
name: "targetType",
|
|
584
|
+
type: "uint8",
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
components: [
|
|
588
|
+
{
|
|
589
|
+
internalType: "address",
|
|
590
|
+
name: "token",
|
|
591
|
+
type: "address",
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
internalType: "address",
|
|
595
|
+
name: "depositAdapter",
|
|
596
|
+
type: "address",
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
internalType: "address",
|
|
600
|
+
name: "withdrawAdapter",
|
|
601
|
+
type: "address",
|
|
602
|
+
},
|
|
603
|
+
],
|
|
604
|
+
internalType: "struct TokenAdapters[]",
|
|
605
|
+
name: "foundAdapters",
|
|
606
|
+
type: "tuple[]",
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
internalType: "uint256",
|
|
610
|
+
name: "gasPriceTargetRAY",
|
|
611
|
+
type: "uint256",
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
internalType: "uint256",
|
|
615
|
+
name: "gasUsage",
|
|
616
|
+
type: "uint256",
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
internalType: "uint256",
|
|
620
|
+
name: "slippageMultiplier",
|
|
621
|
+
type: "uint256",
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
internalType: "uint256",
|
|
625
|
+
name: "initTargetBalance",
|
|
626
|
+
type: "uint256",
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
components: [
|
|
630
|
+
{
|
|
631
|
+
internalType: "address",
|
|
632
|
+
name: "target",
|
|
633
|
+
type: "address",
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
internalType: "bytes",
|
|
637
|
+
name: "callData",
|
|
638
|
+
type: "bytes",
|
|
639
|
+
},
|
|
640
|
+
],
|
|
641
|
+
internalType: "struct MultiCall[]",
|
|
642
|
+
name: "calls",
|
|
643
|
+
type: "tuple[]",
|
|
644
|
+
},
|
|
645
|
+
],
|
|
646
|
+
internalType: "struct StrategyPathTask",
|
|
647
|
+
name: "task",
|
|
648
|
+
type: "tuple",
|
|
649
|
+
},
|
|
650
|
+
],
|
|
651
|
+
name: "withdrawAll",
|
|
652
|
+
outputs: [
|
|
653
|
+
{
|
|
654
|
+
internalType: "uint256",
|
|
655
|
+
name: "amountOut",
|
|
656
|
+
type: "uint256",
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
components: [
|
|
660
|
+
{
|
|
661
|
+
internalType: "address",
|
|
662
|
+
name: "creditAccount",
|
|
663
|
+
type: "address",
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
components: [
|
|
667
|
+
{
|
|
668
|
+
internalType: "address",
|
|
669
|
+
name: "token",
|
|
670
|
+
type: "address",
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
internalType: "uint256",
|
|
674
|
+
name: "balance",
|
|
675
|
+
type: "uint256",
|
|
676
|
+
},
|
|
677
|
+
],
|
|
678
|
+
internalType: "struct Balance[]",
|
|
679
|
+
name: "balances",
|
|
680
|
+
type: "tuple[]",
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
internalType: "address",
|
|
684
|
+
name: "target",
|
|
685
|
+
type: "address",
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
internalType: "address[]",
|
|
689
|
+
name: "connectors",
|
|
690
|
+
type: "address[]",
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
internalType: "address[]",
|
|
694
|
+
name: "adapters",
|
|
695
|
+
type: "address[]",
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
internalType: "uint256",
|
|
699
|
+
name: "slippagePerStep",
|
|
399
700
|
type: "uint256",
|
|
400
701
|
},
|
|
401
702
|
{
|
|
@@ -411,9 +712,14 @@ var _abi = [
|
|
|
411
712
|
type: "address",
|
|
412
713
|
},
|
|
413
714
|
{
|
|
414
|
-
internalType: "address
|
|
415
|
-
name: "
|
|
416
|
-
type: "address
|
|
715
|
+
internalType: "address",
|
|
716
|
+
name: "depositAdapter",
|
|
717
|
+
type: "address",
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
internalType: "address",
|
|
721
|
+
name: "withdrawAdapter",
|
|
722
|
+
type: "address",
|
|
417
723
|
},
|
|
418
724
|
],
|
|
419
725
|
internalType: "struct TokenAdapters[]",
|
|
@@ -430,6 +736,11 @@ var _abi = [
|
|
|
430
736
|
name: "gasUsage",
|
|
431
737
|
type: "uint256",
|
|
432
738
|
},
|
|
739
|
+
{
|
|
740
|
+
internalType: "uint256",
|
|
741
|
+
name: "slippageMultiplier",
|
|
742
|
+
type: "uint256",
|
|
743
|
+
},
|
|
433
744
|
{
|
|
434
745
|
internalType: "uint256",
|
|
435
746
|
name: "initTargetBalance",
|
|
@@ -504,7 +815,7 @@ var _abi = [
|
|
|
504
815
|
},
|
|
505
816
|
{
|
|
506
817
|
internalType: "uint256",
|
|
507
|
-
name: "
|
|
818
|
+
name: "slippagePerStep",
|
|
508
819
|
type: "uint256",
|
|
509
820
|
},
|
|
510
821
|
{
|
|
@@ -520,9 +831,14 @@ var _abi = [
|
|
|
520
831
|
type: "address",
|
|
521
832
|
},
|
|
522
833
|
{
|
|
523
|
-
internalType: "address
|
|
524
|
-
name: "
|
|
525
|
-
type: "address
|
|
834
|
+
internalType: "address",
|
|
835
|
+
name: "depositAdapter",
|
|
836
|
+
type: "address",
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
internalType: "address",
|
|
840
|
+
name: "withdrawAdapter",
|
|
841
|
+
type: "address",
|
|
526
842
|
},
|
|
527
843
|
],
|
|
528
844
|
internalType: "struct TokenAdapters[]",
|
|
@@ -539,6 +855,11 @@ var _abi = [
|
|
|
539
855
|
name: "gasUsage",
|
|
540
856
|
type: "uint256",
|
|
541
857
|
},
|
|
858
|
+
{
|
|
859
|
+
internalType: "uint256",
|
|
860
|
+
name: "slippageMultiplier",
|
|
861
|
+
type: "uint256",
|
|
862
|
+
},
|
|
542
863
|
{
|
|
543
864
|
internalType: "uint256",
|
|
544
865
|
name: "initTargetBalance",
|
|
@@ -610,7 +931,7 @@ var _abi = [
|
|
|
610
931
|
},
|
|
611
932
|
{
|
|
612
933
|
internalType: "uint256",
|
|
613
|
-
name: "
|
|
934
|
+
name: "slippagePerStep",
|
|
614
935
|
type: "uint256",
|
|
615
936
|
},
|
|
616
937
|
{
|
|
@@ -626,9 +947,14 @@ var _abi = [
|
|
|
626
947
|
type: "address",
|
|
627
948
|
},
|
|
628
949
|
{
|
|
629
|
-
internalType: "address
|
|
630
|
-
name: "
|
|
631
|
-
type: "address
|
|
950
|
+
internalType: "address",
|
|
951
|
+
name: "depositAdapter",
|
|
952
|
+
type: "address",
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
internalType: "address",
|
|
956
|
+
name: "withdrawAdapter",
|
|
957
|
+
type: "address",
|
|
632
958
|
},
|
|
633
959
|
],
|
|
634
960
|
internalType: "struct TokenAdapters[]",
|
|
@@ -645,6 +971,11 @@ var _abi = [
|
|
|
645
971
|
name: "gasUsage",
|
|
646
972
|
type: "uint256",
|
|
647
973
|
},
|
|
974
|
+
{
|
|
975
|
+
internalType: "uint256",
|
|
976
|
+
name: "slippageMultiplier",
|
|
977
|
+
type: "uint256",
|
|
978
|
+
},
|
|
648
979
|
{
|
|
649
980
|
internalType: "uint256",
|
|
650
981
|
name: "initTargetBalance",
|
|
@@ -4,6 +4,7 @@ export * as iWithdrawerSol from "./IWithdrawer.sol";
|
|
|
4
4
|
export { IClosePathResolver__factory } from "./IClosePathResolver__factory";
|
|
5
5
|
export { IGasPricer__factory } from "./IGasPricer__factory";
|
|
6
6
|
export { IPathFinder__factory } from "./IPathFinder__factory";
|
|
7
|
+
export { IPathFinderComponent__factory } from "./IPathFinderComponent__factory";
|
|
7
8
|
export { IPathResolver__factory } from "./IPathResolver__factory";
|
|
8
9
|
export { ISwapAggregator__factory } from "./ISwapAggregator__factory";
|
|
9
10
|
export { ISwapper__factory } from "./ISwapper__factory";
|
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.ISwapper__factory = exports.ISwapAggregator__factory = exports.IPathResolver__factory = exports.IPathFinder__factory = exports.IGasPricer__factory = exports.IClosePathResolver__factory = exports.iWithdrawerSol = exports.ilpWorkerSol = exports.iDepositorSol = void 0;
|
|
26
|
+
exports.ISwapper__factory = exports.ISwapAggregator__factory = exports.IPathResolver__factory = exports.IPathFinderComponent__factory = exports.IPathFinder__factory = exports.IGasPricer__factory = exports.IClosePathResolver__factory = exports.iWithdrawerSol = exports.ilpWorkerSol = exports.iDepositorSol = void 0;
|
|
27
27
|
/* Autogenerated file. Do not edit manually. */
|
|
28
28
|
/* tslint:disable */
|
|
29
29
|
/* eslint-disable */
|
|
@@ -36,6 +36,8 @@ var IGasPricer__factory_1 = require("./IGasPricer__factory");
|
|
|
36
36
|
Object.defineProperty(exports, "IGasPricer__factory", { enumerable: true, get: function () { return IGasPricer__factory_1.IGasPricer__factory; } });
|
|
37
37
|
var IPathFinder__factory_1 = require("./IPathFinder__factory");
|
|
38
38
|
Object.defineProperty(exports, "IPathFinder__factory", { enumerable: true, get: function () { return IPathFinder__factory_1.IPathFinder__factory; } });
|
|
39
|
+
var IPathFinderComponent__factory_1 = require("./IPathFinderComponent__factory");
|
|
40
|
+
Object.defineProperty(exports, "IPathFinderComponent__factory", { enumerable: true, get: function () { return IPathFinderComponent__factory_1.IPathFinderComponent__factory; } });
|
|
39
41
|
var IPathResolver__factory_1 = require("./IPathResolver__factory");
|
|
40
42
|
Object.defineProperty(exports, "IPathResolver__factory", { enumerable: true, get: function () { return IPathResolver__factory_1.IPathResolver__factory; } });
|
|
41
43
|
var ISwapAggregator__factory_1 = require("./ISwapAggregator__factory");
|
|
@@ -12,7 +12,7 @@ export declare class Multicall2__factory extends ContractFactory {
|
|
|
12
12
|
}): TransactionRequest;
|
|
13
13
|
attach(address: string): Multicall2;
|
|
14
14
|
connect(signer: Signer): Multicall2__factory;
|
|
15
|
-
static readonly bytecode = "
|
|
15
|
+
static readonly bytecode = "0x608060405234801561001057600080fd5b50610b51806100206000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c806372425d9d11610081578063bce38bd71161005b578063bce38bd714610181578063c3077fa9146101a1578063ee82ac5e146101b457600080fd5b806372425d9d1461016757806386d516e81461016d578063a8b0574e1461017357600080fd5b8063399542e9116100b2578063399542e91461011757806342cbb15c146101395780634d2301cc1461013f57600080fd5b80630f28c97d146100d9578063252dba42146100ee57806327e86d6e1461010f575b600080fd5b425b6040519081526020015b60405180910390f35b6101016100fc3660046107df565b6101c6565b6040516100e5929190610896565b6100db610373565b61012a61012536600461091e565b610386565b6040516100e5939291906109db565b436100db565b6100db61014d366004610a03565b73ffffffffffffffffffffffffffffffffffffffff163190565b446100db565b456100db565b6040514181526020016100e5565b61019461018f36600461091e565b61039e565b6040516100e59190610a25565b61012a6101af3660046107df565b610599565b6100db6101c2366004610a38565b4090565b8051439060609067ffffffffffffffff8111156101e5576101e56105b6565b60405190808252806020026020018201604052801561021857816020015b60608152602001906001900390816102035790505b50905060005b835181101561036d5760008085838151811061023c5761023c610a51565b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff1686848151811061027057610270610a51565b6020026020010151602001516040516102899190610a80565b6000604051808303816000865af19150503d80600081146102c6576040519150601f19603f3d011682016040523d82523d6000602084013e6102cb565b606091505b50915091508161033c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4d756c746963616c6c206167677265676174653a2063616c6c206661696c656460448201526064015b60405180910390fd5b8084848151811061034f5761034f610a51565b602002602001018190525050508061036690610acb565b905061021e565b50915091565b6000610380600143610b04565b40905090565b4380406060610395858561039e565b90509250925092565b6060815167ffffffffffffffff8111156103ba576103ba6105b6565b60405190808252806020026020018201604052801561040057816020015b6040805180820190915260008152606060208201528152602001906001900390816103d85790505b50905060005b82518110156105925760008084838151811061042457610424610a51565b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff1685848151811061045857610458610a51565b6020026020010151602001516040516104719190610a80565b6000604051808303816000865af19150503d80600081146104ae576040519150601f19603f3d011682016040523d82523d6000602084013e6104b3565b606091505b5091509150851561054b578161054b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4d756c746963616c6c32206167677265676174653a2063616c6c206661696c6560448201527f64000000000000000000000000000000000000000000000000000000000000006064820152608401610333565b604051806040016040528083151581526020018281525084848151811061057457610574610a51565b602002602001018190525050508061058b90610acb565b9050610406565b5092915050565b60008060606105a9600185610386565b9196909550909350915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610608576106086105b6565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715610655576106556105b6565b604052919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461068157600080fd5b919050565b6000601f838184011261069857600080fd5b8235602067ffffffffffffffff808311156106b5576106b56105b6565b8260051b6106c483820161060e565b93845286810183019383810190898611156106de57600080fd5b84890192505b858310156107d2578235848111156106fc5760008081fd5b890160407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0828d0381018213156107335760008081fd5b61073b6105e5565b61074689850161065d565b8152828401358881111561075a5760008081fd5b8085019450508d603f8501126107705760008081fd5b8884013588811115610784576107846105b6565b6107938a848e8401160161060e565b92508083528e848287010111156107aa5760008081fd5b808486018b85013760009083018a0152808901919091528452505091840191908401906106e4565b9998505050505050505050565b6000602082840312156107f157600080fd5b813567ffffffffffffffff81111561080857600080fd5b61081484828501610686565b949350505050565b60005b8381101561083757818101518382015260200161081f565b83811115610846576000848401525b50505050565b6000815180845261086481602086016020860161081c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600060408201848352602060408185015281855180845260608601915060608160051b870101935082870160005b82811015610910577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa08887030184526108fe86835161084c565b955092840192908401906001016108c4565b509398975050505050505050565b6000806040838503121561093157600080fd5b8235801515811461094157600080fd5b9150602083013567ffffffffffffffff81111561095d57600080fd5b61096985828601610686565b9150509250929050565b6000815180845260208085019450848260051b860182860160005b858110156109ce578383038952815180511515845285015160408685018190526109ba8186018361084c565b9a87019a945050509084019060010161098e565b5090979650505050505050565b8381528260208201526060604082015260006109fa6060830184610973565b95945050505050565b600060208284031215610a1557600080fd5b610a1e8261065d565b9392505050565b602081526000610a1e6020830184610973565b600060208284031215610a4a57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008251610a9281846020870161081c565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610afd57610afd610a9c565b5060010190565b600082821015610b1657610b16610a9c565b50039056fea2646970667358221220125df3e1e21b5f72a198b151923a51a6f30c33ef274b23d8593ad64b95e7c91f64736f6c634300080a0033";
|
|
16
16
|
static readonly abi: {
|
|
17
17
|
inputs: ({
|
|
18
18
|
internalType: string;
|
|
@@ -333,7 +333,7 @@ var _abi = [
|
|
|
333
333
|
type: "function",
|
|
334
334
|
},
|
|
335
335
|
];
|
|
336
|
-
var _bytecode = "
|
|
336
|
+
var _bytecode = "0x608060405234801561001057600080fd5b50610b51806100206000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c806372425d9d11610081578063bce38bd71161005b578063bce38bd714610181578063c3077fa9146101a1578063ee82ac5e146101b457600080fd5b806372425d9d1461016757806386d516e81461016d578063a8b0574e1461017357600080fd5b8063399542e9116100b2578063399542e91461011757806342cbb15c146101395780634d2301cc1461013f57600080fd5b80630f28c97d146100d9578063252dba42146100ee57806327e86d6e1461010f575b600080fd5b425b6040519081526020015b60405180910390f35b6101016100fc3660046107df565b6101c6565b6040516100e5929190610896565b6100db610373565b61012a61012536600461091e565b610386565b6040516100e5939291906109db565b436100db565b6100db61014d366004610a03565b73ffffffffffffffffffffffffffffffffffffffff163190565b446100db565b456100db565b6040514181526020016100e5565b61019461018f36600461091e565b61039e565b6040516100e59190610a25565b61012a6101af3660046107df565b610599565b6100db6101c2366004610a38565b4090565b8051439060609067ffffffffffffffff8111156101e5576101e56105b6565b60405190808252806020026020018201604052801561021857816020015b60608152602001906001900390816102035790505b50905060005b835181101561036d5760008085838151811061023c5761023c610a51565b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff1686848151811061027057610270610a51565b6020026020010151602001516040516102899190610a80565b6000604051808303816000865af19150503d80600081146102c6576040519150601f19603f3d011682016040523d82523d6000602084013e6102cb565b606091505b50915091508161033c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4d756c746963616c6c206167677265676174653a2063616c6c206661696c656460448201526064015b60405180910390fd5b8084848151811061034f5761034f610a51565b602002602001018190525050508061036690610acb565b905061021e565b50915091565b6000610380600143610b04565b40905090565b4380406060610395858561039e565b90509250925092565b6060815167ffffffffffffffff8111156103ba576103ba6105b6565b60405190808252806020026020018201604052801561040057816020015b6040805180820190915260008152606060208201528152602001906001900390816103d85790505b50905060005b82518110156105925760008084838151811061042457610424610a51565b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff1685848151811061045857610458610a51565b6020026020010151602001516040516104719190610a80565b6000604051808303816000865af19150503d80600081146104ae576040519150601f19603f3d011682016040523d82523d6000602084013e6104b3565b606091505b5091509150851561054b578161054b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4d756c746963616c6c32206167677265676174653a2063616c6c206661696c6560448201527f64000000000000000000000000000000000000000000000000000000000000006064820152608401610333565b604051806040016040528083151581526020018281525084848151811061057457610574610a51565b602002602001018190525050508061058b90610acb565b9050610406565b5092915050565b60008060606105a9600185610386565b9196909550909350915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610608576106086105b6565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715610655576106556105b6565b604052919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461068157600080fd5b919050565b6000601f838184011261069857600080fd5b8235602067ffffffffffffffff808311156106b5576106b56105b6565b8260051b6106c483820161060e565b93845286810183019383810190898611156106de57600080fd5b84890192505b858310156107d2578235848111156106fc5760008081fd5b890160407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0828d0381018213156107335760008081fd5b61073b6105e5565b61074689850161065d565b8152828401358881111561075a5760008081fd5b8085019450508d603f8501126107705760008081fd5b8884013588811115610784576107846105b6565b6107938a848e8401160161060e565b92508083528e848287010111156107aa5760008081fd5b808486018b85013760009083018a0152808901919091528452505091840191908401906106e4565b9998505050505050505050565b6000602082840312156107f157600080fd5b813567ffffffffffffffff81111561080857600080fd5b61081484828501610686565b949350505050565b60005b8381101561083757818101518382015260200161081f565b83811115610846576000848401525b50505050565b6000815180845261086481602086016020860161081c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600060408201848352602060408185015281855180845260608601915060608160051b870101935082870160005b82811015610910577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa08887030184526108fe86835161084c565b955092840192908401906001016108c4565b509398975050505050505050565b6000806040838503121561093157600080fd5b8235801515811461094157600080fd5b9150602083013567ffffffffffffffff81111561095d57600080fd5b61096985828601610686565b9150509250929050565b6000815180845260208085019450848260051b860182860160005b858110156109ce578383038952815180511515845285015160408685018190526109ba8186018361084c565b9a87019a945050509084019060010161098e565b5090979650505050505050565b8381528260208201526060604082015260006109fa6060830184610973565b95945050505050565b600060208284031215610a1557600080fd5b610a1e8261065d565b9392505050565b602081526000610a1e6020830184610973565b600060208284031215610a4a57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008251610a9281846020870161081c565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610afd57610afd610a9c565b5060010190565b600082821015610b1657610b16610a9c565b50039056fea2646970667358221220125df3e1e21b5f72a198b151923a51a6f30c33ef274b23d8593ad64b95e7c91f64736f6c634300080a0033";
|
|
337
337
|
var isSuperArgs = function (xs) { return xs.length > 1; };
|
|
338
338
|
var Multicall2__factory = /** @class */ (function (_super) {
|
|
339
339
|
__extends(Multicall2__factory, _super);
|
|
@@ -2,17 +2,7 @@ import { Signer } from "ethers";
|
|
|
2
2
|
import type { Provider } from "@ethersproject/providers";
|
|
3
3
|
import type { ITokenTestSuite, ITokenTestSuiteInterface } from "../../../../../contracts/test/suites/mainnet/ITokenTestSuite";
|
|
4
4
|
export declare class ITokenTestSuite__factory {
|
|
5
|
-
static readonly abi:
|
|
6
|
-
inputs: {
|
|
7
|
-
internalType: string;
|
|
8
|
-
name: string;
|
|
9
|
-
type: string;
|
|
10
|
-
}[];
|
|
11
|
-
name: string;
|
|
12
|
-
type: string;
|
|
13
|
-
outputs?: undefined;
|
|
14
|
-
stateMutability?: undefined;
|
|
15
|
-
} | {
|
|
5
|
+
static readonly abi: {
|
|
16
6
|
inputs: {
|
|
17
7
|
internalType: string;
|
|
18
8
|
name: string;
|
|
@@ -26,7 +16,7 @@ export declare class ITokenTestSuite__factory {
|
|
|
26
16
|
}[];
|
|
27
17
|
stateMutability: string;
|
|
28
18
|
type: string;
|
|
29
|
-
}
|
|
19
|
+
}[];
|
|
30
20
|
static createInterface(): ITokenTestSuiteInterface;
|
|
31
21
|
static connect(address: string, signerOrProvider: Signer | Provider): ITokenTestSuite;
|
|
32
22
|
}
|