@gearbox-protocol/sdk 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/lib/core/creditManager.d.ts +5 -0
  2. package/lib/core/creditManager.js +5 -0
  3. package/lib/pathfinder/path.js +5 -5
  4. package/lib/payload/creditManager.d.ts +5 -0
  5. package/lib/strategies/creditFacade.js +1 -1
  6. package/lib/types/contracts/interfaces/ICreditConfigurator.sol/ICreditConfigurator.d.ts +271 -20
  7. package/lib/types/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorEvents.d.ts +8 -19
  8. package/lib/types/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExtended.d.ts +9 -9
  9. package/lib/types/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2.d.ts +52 -116
  10. package/lib/types/contracts/interfaces/IDataCompressor.sol/IDataCompressor.d.ts +26 -1
  11. package/lib/types/contracts/interfaces/IDegenNFT.sol/IDegenNFT.d.ts +10 -10
  12. package/lib/types/contracts/interfaces/V1/ICreditFilter.d.ts +3 -3
  13. package/lib/types/contracts/interfaces/adapters/convex/IConvexV1BoosterAdapter.d.ts +1 -9
  14. package/lib/types/contracts/pathfinder/index.d.ts +0 -1
  15. package/lib/types/contracts/pathfinder/interfaces/IClosePathResolver.d.ts +125 -0
  16. package/lib/types/contracts/pathfinder/{ISwapper.js → interfaces/IClosePathResolver.js} +0 -0
  17. package/lib/types/contracts/pathfinder/interfaces/IDepositor.sol/IDepositor.d.ts +159 -0
  18. package/lib/types/contracts/pathfinder/interfaces/{ISwapPathFinder.js → IDepositor.sol/IDepositor.js} +0 -0
  19. package/lib/types/contracts/pathfinder/interfaces/IDepositor.sol/IDepositorOptions.d.ts +165 -0
  20. package/lib/types/contracts/pathfinder/interfaces/IDepositor.sol/IDepositorOptions.js +2 -0
  21. package/lib/types/contracts/pathfinder/interfaces/IDepositor.sol/index.d.ts +2 -0
  22. package/lib/types/contracts/pathfinder/interfaces/IDepositor.sol/index.js +2 -0
  23. package/lib/types/contracts/pathfinder/interfaces/IGasPricer.d.ts +44 -0
  24. package/lib/types/contracts/pathfinder/interfaces/IGasPricer.js +2 -0
  25. package/lib/types/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorker.d.ts +113 -0
  26. package/lib/types/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorker.js +2 -0
  27. package/lib/types/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorkerOptions.d.ts +119 -0
  28. package/lib/types/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorkerOptions.js +2 -0
  29. package/lib/types/contracts/pathfinder/interfaces/ILPWorker.sol/index.d.ts +2 -0
  30. package/lib/types/contracts/pathfinder/interfaces/ILPWorker.sol/index.js +2 -0
  31. package/lib/types/contracts/pathfinder/interfaces/IPathFinder.d.ts +210 -0
  32. package/lib/types/contracts/pathfinder/interfaces/IPathFinder.js +2 -0
  33. package/lib/types/contracts/pathfinder/interfaces/IPathResolver.d.ts +131 -0
  34. package/lib/types/contracts/pathfinder/interfaces/IPathResolver.js +2 -0
  35. package/lib/types/contracts/pathfinder/interfaces/{ISwapPathFinder.d.ts → ISwapAggregator.d.ts} +98 -14
  36. package/lib/types/contracts/pathfinder/interfaces/ISwapAggregator.js +2 -0
  37. package/lib/types/contracts/pathfinder/{ISwapper.d.ts → interfaces/ISwapper.d.ts} +1 -1
  38. package/lib/types/contracts/pathfinder/interfaces/ISwapper.js +2 -0
  39. package/lib/types/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawer.d.ts +144 -0
  40. package/lib/types/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawer.js +2 -0
  41. package/lib/types/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawerOptions.d.ts +160 -0
  42. package/lib/types/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawerOptions.js +2 -0
  43. package/lib/types/contracts/pathfinder/interfaces/IWithdrawer.sol/index.d.ts +2 -0
  44. package/lib/types/contracts/pathfinder/interfaces/IWithdrawer.sol/index.js +2 -0
  45. package/lib/types/contracts/pathfinder/interfaces/index.d.ts +12 -1
  46. package/lib/types/factories/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorEvents__factory.js +1 -14
  47. package/lib/types/factories/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorExceptions__factory.js +2 -17
  48. package/lib/types/factories/contracts/interfaces/ICreditConfigurator.sol/ICreditConfigurator__factory.js +240 -31
  49. package/lib/types/factories/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExceptions__factory.js +7 -2
  50. package/lib/types/factories/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExtended__factory.js +1 -1
  51. package/lib/types/factories/contracts/interfaces/ICreditFacade.sol/ICreditFacade__factory.js +7 -2
  52. package/lib/types/factories/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.js +2 -2
  53. package/lib/types/factories/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2__factory.js +41 -84
  54. package/lib/types/factories/contracts/interfaces/IDataCompressor.sol/IDataCompressor__factory.d.ts +14 -14
  55. package/lib/types/factories/contracts/interfaces/IDataCompressor.sol/IDataCompressor__factory.js +74 -0
  56. package/lib/types/factories/contracts/interfaces/IDegenNFT.sol/IDegenNFT__factory.js +4 -4
  57. package/lib/types/factories/contracts/interfaces/V1/ICreditFilter__factory.js +1 -1
  58. package/lib/types/factories/contracts/interfaces/adapters/convex/IConvexV1BoosterAdapter__factory.js +0 -13
  59. package/lib/types/factories/contracts/pathfinder/index.d.ts +0 -1
  60. package/lib/types/factories/contracts/pathfinder/index.js +1 -3
  61. package/lib/types/factories/contracts/pathfinder/interfaces/IClosePathResolver__factory.d.ts +57 -0
  62. package/lib/types/factories/contracts/pathfinder/interfaces/IClosePathResolver__factory.js +264 -0
  63. package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/IDepositorOptions__factory.d.ts +62 -0
  64. package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/IDepositorOptions__factory.js +717 -0
  65. package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/IDepositor__factory.d.ts +62 -0
  66. package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/IDepositor__factory.js +702 -0
  67. package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/index.d.ts +2 -0
  68. package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/index.js +10 -0
  69. package/lib/types/factories/contracts/pathfinder/interfaces/IGasPricer__factory.d.ts +22 -0
  70. package/lib/types/factories/contracts/pathfinder/interfaces/IGasPricer__factory.js +41 -0
  71. package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorkerOptions__factory.d.ts +62 -0
  72. package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorkerOptions__factory.js +252 -0
  73. package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorker__factory.d.ts +62 -0
  74. package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorker__factory.js +247 -0
  75. package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/index.d.ts +2 -0
  76. package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/index.js +10 -0
  77. package/lib/types/factories/contracts/pathfinder/interfaces/{ISwapPathFinder__factory.d.ts → IPathFinder__factory.d.ts} +42 -28
  78. package/lib/types/factories/contracts/pathfinder/interfaces/IPathFinder__factory.js +483 -0
  79. package/lib/types/factories/contracts/pathfinder/interfaces/IPathResolver__factory.d.ts +57 -0
  80. package/lib/types/factories/contracts/pathfinder/interfaces/IPathResolver__factory.js +467 -0
  81. package/lib/types/factories/contracts/pathfinder/interfaces/ISwapAggregator__factory.d.ts +62 -0
  82. package/lib/types/factories/contracts/pathfinder/interfaces/ISwapAggregator__factory.js +782 -0
  83. package/lib/types/factories/contracts/pathfinder/{ISwapper__factory.d.ts → interfaces/ISwapper__factory.d.ts} +1 -1
  84. package/lib/types/factories/contracts/pathfinder/{ISwapper__factory.js → interfaces/ISwapper__factory.js} +0 -0
  85. package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawerOptions__factory.d.ts +62 -0
  86. package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawerOptions__factory.js +729 -0
  87. package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawer__factory.d.ts +62 -0
  88. package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawer__factory.js +692 -0
  89. package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/index.d.ts +2 -0
  90. package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/index.js +10 -0
  91. package/lib/types/factories/contracts/pathfinder/interfaces/index.d.ts +9 -1
  92. package/lib/types/factories/contracts/pathfinder/interfaces/index.js +39 -3
  93. package/lib/types/factories/contracts/support/MultiCall.sol/Multicall2__factory.d.ts +1 -1
  94. package/lib/types/factories/contracts/support/MultiCall.sol/Multicall2__factory.js +1 -1
  95. package/lib/types/index.d.ts +24 -4
  96. package/lib/types/index.js +24 -4
  97. package/package.json +2 -2
  98. package/lib/types/factories/contracts/pathfinder/interfaces/ISwapPathFinder__factory.js +0 -346
@@ -0,0 +1,702 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.IDepositor__factory = void 0;
7
+ var ethers_1 = require("ethers");
8
+ var _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "uint256",
13
+ name: "amountIn",
14
+ type: "uint256",
15
+ },
16
+ {
17
+ internalType: "address",
18
+ name: "tokenOut",
19
+ type: "address",
20
+ },
21
+ {
22
+ components: [
23
+ {
24
+ internalType: "address",
25
+ name: "creditAccount",
26
+ type: "address",
27
+ },
28
+ {
29
+ components: [
30
+ {
31
+ internalType: "address",
32
+ name: "token",
33
+ type: "address",
34
+ },
35
+ {
36
+ internalType: "uint256",
37
+ name: "balance",
38
+ type: "uint256",
39
+ },
40
+ ],
41
+ internalType: "struct Balance[]",
42
+ name: "balances",
43
+ type: "tuple[]",
44
+ },
45
+ {
46
+ internalType: "address",
47
+ name: "target",
48
+ type: "address",
49
+ },
50
+ {
51
+ internalType: "address[]",
52
+ name: "connectors",
53
+ type: "address[]",
54
+ },
55
+ {
56
+ internalType: "address[]",
57
+ name: "adapters",
58
+ type: "address[]",
59
+ },
60
+ {
61
+ internalType: "uint256",
62
+ name: "slippage",
63
+ type: "uint256",
64
+ },
65
+ {
66
+ internalType: "enum TokenType",
67
+ name: "targetType",
68
+ type: "uint8",
69
+ },
70
+ {
71
+ components: [
72
+ {
73
+ internalType: "address",
74
+ name: "token",
75
+ type: "address",
76
+ },
77
+ {
78
+ internalType: "address[]",
79
+ name: "adapters",
80
+ type: "address[]",
81
+ },
82
+ ],
83
+ internalType: "struct TokenAdapters[]",
84
+ name: "foundAdapters",
85
+ type: "tuple[]",
86
+ },
87
+ {
88
+ internalType: "uint256",
89
+ name: "gasPriceTargetRAY",
90
+ type: "uint256",
91
+ },
92
+ {
93
+ internalType: "uint256",
94
+ name: "gasUsage",
95
+ type: "uint256",
96
+ },
97
+ {
98
+ internalType: "uint256",
99
+ name: "initTargetBalance",
100
+ type: "uint256",
101
+ },
102
+ {
103
+ components: [
104
+ {
105
+ internalType: "address",
106
+ name: "target",
107
+ type: "address",
108
+ },
109
+ {
110
+ internalType: "bytes",
111
+ name: "callData",
112
+ type: "bytes",
113
+ },
114
+ ],
115
+ internalType: "struct MultiCall[]",
116
+ name: "calls",
117
+ type: "tuple[]",
118
+ },
119
+ ],
120
+ internalType: "struct StrategyPathTask",
121
+ name: "task",
122
+ type: "tuple",
123
+ },
124
+ ],
125
+ name: "deposit",
126
+ outputs: [
127
+ {
128
+ internalType: "uint256",
129
+ name: "amountOut",
130
+ type: "uint256",
131
+ },
132
+ {
133
+ components: [
134
+ {
135
+ internalType: "address",
136
+ name: "creditAccount",
137
+ type: "address",
138
+ },
139
+ {
140
+ components: [
141
+ {
142
+ internalType: "address",
143
+ name: "token",
144
+ type: "address",
145
+ },
146
+ {
147
+ internalType: "uint256",
148
+ name: "balance",
149
+ type: "uint256",
150
+ },
151
+ ],
152
+ internalType: "struct Balance[]",
153
+ name: "balances",
154
+ type: "tuple[]",
155
+ },
156
+ {
157
+ internalType: "address",
158
+ name: "target",
159
+ type: "address",
160
+ },
161
+ {
162
+ internalType: "address[]",
163
+ name: "connectors",
164
+ type: "address[]",
165
+ },
166
+ {
167
+ internalType: "address[]",
168
+ name: "adapters",
169
+ type: "address[]",
170
+ },
171
+ {
172
+ internalType: "uint256",
173
+ name: "slippage",
174
+ type: "uint256",
175
+ },
176
+ {
177
+ internalType: "enum TokenType",
178
+ name: "targetType",
179
+ type: "uint8",
180
+ },
181
+ {
182
+ components: [
183
+ {
184
+ internalType: "address",
185
+ name: "token",
186
+ type: "address",
187
+ },
188
+ {
189
+ internalType: "address[]",
190
+ name: "adapters",
191
+ type: "address[]",
192
+ },
193
+ ],
194
+ internalType: "struct TokenAdapters[]",
195
+ name: "foundAdapters",
196
+ type: "tuple[]",
197
+ },
198
+ {
199
+ internalType: "uint256",
200
+ name: "gasPriceTargetRAY",
201
+ type: "uint256",
202
+ },
203
+ {
204
+ internalType: "uint256",
205
+ name: "gasUsage",
206
+ type: "uint256",
207
+ },
208
+ {
209
+ internalType: "uint256",
210
+ name: "initTargetBalance",
211
+ type: "uint256",
212
+ },
213
+ {
214
+ components: [
215
+ {
216
+ internalType: "address",
217
+ name: "target",
218
+ type: "address",
219
+ },
220
+ {
221
+ internalType: "bytes",
222
+ name: "callData",
223
+ type: "bytes",
224
+ },
225
+ ],
226
+ internalType: "struct MultiCall[]",
227
+ name: "calls",
228
+ type: "tuple[]",
229
+ },
230
+ ],
231
+ internalType: "struct StrategyPathTask",
232
+ name: "",
233
+ type: "tuple",
234
+ },
235
+ ],
236
+ stateMutability: "view",
237
+ type: "function",
238
+ },
239
+ {
240
+ inputs: [
241
+ {
242
+ internalType: "address",
243
+ name: "tokenOut",
244
+ type: "address",
245
+ },
246
+ {
247
+ components: [
248
+ {
249
+ internalType: "address",
250
+ name: "creditAccount",
251
+ type: "address",
252
+ },
253
+ {
254
+ components: [
255
+ {
256
+ internalType: "address",
257
+ name: "token",
258
+ type: "address",
259
+ },
260
+ {
261
+ internalType: "uint256",
262
+ name: "balance",
263
+ type: "uint256",
264
+ },
265
+ ],
266
+ internalType: "struct Balance[]",
267
+ name: "balances",
268
+ type: "tuple[]",
269
+ },
270
+ {
271
+ internalType: "address",
272
+ name: "target",
273
+ type: "address",
274
+ },
275
+ {
276
+ internalType: "address[]",
277
+ name: "connectors",
278
+ type: "address[]",
279
+ },
280
+ {
281
+ internalType: "address[]",
282
+ name: "adapters",
283
+ type: "address[]",
284
+ },
285
+ {
286
+ internalType: "uint256",
287
+ name: "slippage",
288
+ type: "uint256",
289
+ },
290
+ {
291
+ internalType: "enum TokenType",
292
+ name: "targetType",
293
+ type: "uint8",
294
+ },
295
+ {
296
+ components: [
297
+ {
298
+ internalType: "address",
299
+ name: "token",
300
+ type: "address",
301
+ },
302
+ {
303
+ internalType: "address[]",
304
+ name: "adapters",
305
+ type: "address[]",
306
+ },
307
+ ],
308
+ internalType: "struct TokenAdapters[]",
309
+ name: "foundAdapters",
310
+ type: "tuple[]",
311
+ },
312
+ {
313
+ internalType: "uint256",
314
+ name: "gasPriceTargetRAY",
315
+ type: "uint256",
316
+ },
317
+ {
318
+ internalType: "uint256",
319
+ name: "gasUsage",
320
+ type: "uint256",
321
+ },
322
+ {
323
+ internalType: "uint256",
324
+ name: "initTargetBalance",
325
+ type: "uint256",
326
+ },
327
+ {
328
+ components: [
329
+ {
330
+ internalType: "address",
331
+ name: "target",
332
+ type: "address",
333
+ },
334
+ {
335
+ internalType: "bytes",
336
+ name: "callData",
337
+ type: "bytes",
338
+ },
339
+ ],
340
+ internalType: "struct MultiCall[]",
341
+ name: "calls",
342
+ type: "tuple[]",
343
+ },
344
+ ],
345
+ internalType: "struct StrategyPathTask",
346
+ name: "task",
347
+ type: "tuple",
348
+ },
349
+ ],
350
+ name: "depositAll",
351
+ outputs: [
352
+ {
353
+ internalType: "uint256",
354
+ name: "amountOut",
355
+ type: "uint256",
356
+ },
357
+ {
358
+ components: [
359
+ {
360
+ internalType: "address",
361
+ name: "creditAccount",
362
+ type: "address",
363
+ },
364
+ {
365
+ components: [
366
+ {
367
+ internalType: "address",
368
+ name: "token",
369
+ type: "address",
370
+ },
371
+ {
372
+ internalType: "uint256",
373
+ name: "balance",
374
+ type: "uint256",
375
+ },
376
+ ],
377
+ internalType: "struct Balance[]",
378
+ name: "balances",
379
+ type: "tuple[]",
380
+ },
381
+ {
382
+ internalType: "address",
383
+ name: "target",
384
+ type: "address",
385
+ },
386
+ {
387
+ internalType: "address[]",
388
+ name: "connectors",
389
+ type: "address[]",
390
+ },
391
+ {
392
+ internalType: "address[]",
393
+ name: "adapters",
394
+ type: "address[]",
395
+ },
396
+ {
397
+ internalType: "uint256",
398
+ name: "slippage",
399
+ type: "uint256",
400
+ },
401
+ {
402
+ internalType: "enum TokenType",
403
+ name: "targetType",
404
+ type: "uint8",
405
+ },
406
+ {
407
+ components: [
408
+ {
409
+ internalType: "address",
410
+ name: "token",
411
+ type: "address",
412
+ },
413
+ {
414
+ internalType: "address[]",
415
+ name: "adapters",
416
+ type: "address[]",
417
+ },
418
+ ],
419
+ internalType: "struct TokenAdapters[]",
420
+ name: "foundAdapters",
421
+ type: "tuple[]",
422
+ },
423
+ {
424
+ internalType: "uint256",
425
+ name: "gasPriceTargetRAY",
426
+ type: "uint256",
427
+ },
428
+ {
429
+ internalType: "uint256",
430
+ name: "gasUsage",
431
+ type: "uint256",
432
+ },
433
+ {
434
+ internalType: "uint256",
435
+ name: "initTargetBalance",
436
+ type: "uint256",
437
+ },
438
+ {
439
+ components: [
440
+ {
441
+ internalType: "address",
442
+ name: "target",
443
+ type: "address",
444
+ },
445
+ {
446
+ internalType: "bytes",
447
+ name: "callData",
448
+ type: "bytes",
449
+ },
450
+ ],
451
+ internalType: "struct MultiCall[]",
452
+ name: "calls",
453
+ type: "tuple[]",
454
+ },
455
+ ],
456
+ internalType: "struct StrategyPathTask",
457
+ name: "",
458
+ type: "tuple",
459
+ },
460
+ ],
461
+ stateMutability: "view",
462
+ type: "function",
463
+ },
464
+ {
465
+ inputs: [
466
+ {
467
+ internalType: "address",
468
+ name: "tokenOut",
469
+ type: "address",
470
+ },
471
+ {
472
+ components: [
473
+ {
474
+ internalType: "address",
475
+ name: "creditAccount",
476
+ type: "address",
477
+ },
478
+ {
479
+ components: [
480
+ {
481
+ internalType: "address",
482
+ name: "token",
483
+ type: "address",
484
+ },
485
+ {
486
+ internalType: "uint256",
487
+ name: "balance",
488
+ type: "uint256",
489
+ },
490
+ ],
491
+ internalType: "struct Balance[]",
492
+ name: "balances",
493
+ type: "tuple[]",
494
+ },
495
+ {
496
+ internalType: "address",
497
+ name: "target",
498
+ type: "address",
499
+ },
500
+ {
501
+ internalType: "address[]",
502
+ name: "connectors",
503
+ type: "address[]",
504
+ },
505
+ {
506
+ internalType: "address[]",
507
+ name: "adapters",
508
+ type: "address[]",
509
+ },
510
+ {
511
+ internalType: "uint256",
512
+ name: "slippage",
513
+ type: "uint256",
514
+ },
515
+ {
516
+ internalType: "enum TokenType",
517
+ name: "targetType",
518
+ type: "uint8",
519
+ },
520
+ {
521
+ components: [
522
+ {
523
+ internalType: "address",
524
+ name: "token",
525
+ type: "address",
526
+ },
527
+ {
528
+ internalType: "address[]",
529
+ name: "adapters",
530
+ type: "address[]",
531
+ },
532
+ ],
533
+ internalType: "struct TokenAdapters[]",
534
+ name: "foundAdapters",
535
+ type: "tuple[]",
536
+ },
537
+ {
538
+ internalType: "uint256",
539
+ name: "gasPriceTargetRAY",
540
+ type: "uint256",
541
+ },
542
+ {
543
+ internalType: "uint256",
544
+ name: "gasUsage",
545
+ type: "uint256",
546
+ },
547
+ {
548
+ internalType: "uint256",
549
+ name: "initTargetBalance",
550
+ type: "uint256",
551
+ },
552
+ {
553
+ components: [
554
+ {
555
+ internalType: "address",
556
+ name: "target",
557
+ type: "address",
558
+ },
559
+ {
560
+ internalType: "bytes",
561
+ name: "callData",
562
+ type: "bytes",
563
+ },
564
+ ],
565
+ internalType: "struct MultiCall[]",
566
+ name: "calls",
567
+ type: "tuple[]",
568
+ },
569
+ ],
570
+ internalType: "struct StrategyPathTask",
571
+ name: "task",
572
+ type: "tuple",
573
+ },
574
+ ],
575
+ name: "getUnderlying",
576
+ outputs: [
577
+ {
578
+ internalType: "address",
579
+ name: "tokenIn",
580
+ type: "address",
581
+ },
582
+ {
583
+ components: [
584
+ {
585
+ internalType: "address",
586
+ name: "creditAccount",
587
+ type: "address",
588
+ },
589
+ {
590
+ components: [
591
+ {
592
+ internalType: "address",
593
+ name: "token",
594
+ type: "address",
595
+ },
596
+ {
597
+ internalType: "uint256",
598
+ name: "balance",
599
+ type: "uint256",
600
+ },
601
+ ],
602
+ internalType: "struct Balance[]",
603
+ name: "balances",
604
+ type: "tuple[]",
605
+ },
606
+ {
607
+ internalType: "address",
608
+ name: "target",
609
+ type: "address",
610
+ },
611
+ {
612
+ internalType: "address[]",
613
+ name: "connectors",
614
+ type: "address[]",
615
+ },
616
+ {
617
+ internalType: "address[]",
618
+ name: "adapters",
619
+ type: "address[]",
620
+ },
621
+ {
622
+ internalType: "uint256",
623
+ name: "slippage",
624
+ type: "uint256",
625
+ },
626
+ {
627
+ internalType: "enum TokenType",
628
+ name: "targetType",
629
+ type: "uint8",
630
+ },
631
+ {
632
+ components: [
633
+ {
634
+ internalType: "address",
635
+ name: "token",
636
+ type: "address",
637
+ },
638
+ {
639
+ internalType: "address[]",
640
+ name: "adapters",
641
+ type: "address[]",
642
+ },
643
+ ],
644
+ internalType: "struct TokenAdapters[]",
645
+ name: "foundAdapters",
646
+ type: "tuple[]",
647
+ },
648
+ {
649
+ internalType: "uint256",
650
+ name: "gasPriceTargetRAY",
651
+ type: "uint256",
652
+ },
653
+ {
654
+ internalType: "uint256",
655
+ name: "gasUsage",
656
+ type: "uint256",
657
+ },
658
+ {
659
+ internalType: "uint256",
660
+ name: "initTargetBalance",
661
+ type: "uint256",
662
+ },
663
+ {
664
+ components: [
665
+ {
666
+ internalType: "address",
667
+ name: "target",
668
+ type: "address",
669
+ },
670
+ {
671
+ internalType: "bytes",
672
+ name: "callData",
673
+ type: "bytes",
674
+ },
675
+ ],
676
+ internalType: "struct MultiCall[]",
677
+ name: "calls",
678
+ type: "tuple[]",
679
+ },
680
+ ],
681
+ internalType: "struct StrategyPathTask",
682
+ name: "",
683
+ type: "tuple",
684
+ },
685
+ ],
686
+ stateMutability: "view",
687
+ type: "function",
688
+ },
689
+ ];
690
+ var IDepositor__factory = /** @class */ (function () {
691
+ function IDepositor__factory() {
692
+ }
693
+ IDepositor__factory.createInterface = function () {
694
+ return new ethers_1.utils.Interface(_abi);
695
+ };
696
+ IDepositor__factory.connect = function (address, signerOrProvider) {
697
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
698
+ };
699
+ IDepositor__factory.abi = _abi;
700
+ return IDepositor__factory;
701
+ }());
702
+ exports.IDepositor__factory = IDepositor__factory;
@@ -0,0 +1,2 @@
1
+ export { IDepositor__factory } from "./IDepositor__factory";
2
+ export { IDepositorOptions__factory } from "./IDepositorOptions__factory";