@gearbox-protocol/sdk 3.0.0-next.87 → 3.0.0-next.89
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/contracts/index.sol +1 -3
- package/lib/core/creditManager.d.ts +2 -0
- package/lib/core/creditManager.js +12 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/pathfinder/v1/core.d.ts +16 -0
- package/lib/pathfinder/v1/core.js +2 -0
- package/lib/pathfinder/v1/pathfinderv1.d.ts +46 -0
- package/lib/pathfinder/v1/pathfinderv1.js +155 -0
- package/lib/pathfinder/v1/pathfinderv1.spec.d.ts +1 -0
- package/lib/pathfinder/v1/pathfinderv1.spec.js +39 -0
- package/lib/types/IRouter.d.ts +278 -0
- package/lib/types/IRouter.js +2 -0
- package/lib/types/factories/IRouter__factory.d.ts +396 -0
- package/lib/types/factories/IRouter__factory.js +526 -0
- package/lib/types/factories/index.d.ts +1 -0
- package/lib/types/factories/index.js +3 -1
- package/lib/types/index.d.ts +14 -12
- package/lib/types/index.js +24 -22
- package/package.json +3 -2
|
@@ -0,0 +1,526 @@
|
|
|
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.IRouter__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
anonymous: false,
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
indexed: true,
|
|
14
|
+
internalType: "uint8",
|
|
15
|
+
name: "ttIn",
|
|
16
|
+
type: "uint8",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
indexed: true,
|
|
20
|
+
internalType: "uint8",
|
|
21
|
+
name: "ttOut",
|
|
22
|
+
type: "uint8",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
indexed: true,
|
|
26
|
+
internalType: "uint8",
|
|
27
|
+
name: "rc",
|
|
28
|
+
type: "uint8",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "ResolverUpdate",
|
|
32
|
+
type: "event",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
anonymous: false,
|
|
36
|
+
inputs: [
|
|
37
|
+
{
|
|
38
|
+
indexed: true,
|
|
39
|
+
internalType: "uint8",
|
|
40
|
+
name: "",
|
|
41
|
+
type: "uint8",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
indexed: true,
|
|
45
|
+
internalType: "address",
|
|
46
|
+
name: "",
|
|
47
|
+
type: "address",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
name: "RouterComponentUpdate",
|
|
51
|
+
type: "event",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
anonymous: false,
|
|
55
|
+
inputs: [
|
|
56
|
+
{
|
|
57
|
+
indexed: true,
|
|
58
|
+
internalType: "address",
|
|
59
|
+
name: "tokenAddress",
|
|
60
|
+
type: "address",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
indexed: true,
|
|
64
|
+
internalType: "uint8",
|
|
65
|
+
name: "tt",
|
|
66
|
+
type: "uint8",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
name: "TokenTypeUpdate",
|
|
70
|
+
type: "event",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
inputs: [
|
|
74
|
+
{
|
|
75
|
+
internalType: "uint8",
|
|
76
|
+
name: "",
|
|
77
|
+
type: "uint8",
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
name: "componentAddressById",
|
|
81
|
+
outputs: [
|
|
82
|
+
{
|
|
83
|
+
internalType: "address",
|
|
84
|
+
name: "",
|
|
85
|
+
type: "address",
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
stateMutability: "view",
|
|
89
|
+
type: "function",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
inputs: [
|
|
93
|
+
{
|
|
94
|
+
components: [
|
|
95
|
+
{
|
|
96
|
+
internalType: "enum SwapOperation",
|
|
97
|
+
name: "swapOperation",
|
|
98
|
+
type: "uint8",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
internalType: "address",
|
|
102
|
+
name: "creditAccount",
|
|
103
|
+
type: "address",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
internalType: "address",
|
|
107
|
+
name: "tokenIn",
|
|
108
|
+
type: "address",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
internalType: "address",
|
|
112
|
+
name: "tokenOut",
|
|
113
|
+
type: "address",
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
internalType: "address[]",
|
|
117
|
+
name: "connectors",
|
|
118
|
+
type: "address[]",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
internalType: "uint256",
|
|
122
|
+
name: "amount",
|
|
123
|
+
type: "uint256",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
internalType: "uint256",
|
|
127
|
+
name: "slippage",
|
|
128
|
+
type: "uint256",
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
internalType: "bool",
|
|
132
|
+
name: "externalSlippage",
|
|
133
|
+
type: "bool",
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
internalType: "struct SwapTask",
|
|
137
|
+
name: "swapTask",
|
|
138
|
+
type: "tuple",
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
name: "findAllSwaps",
|
|
142
|
+
outputs: [
|
|
143
|
+
{
|
|
144
|
+
components: [
|
|
145
|
+
{
|
|
146
|
+
internalType: "uint256",
|
|
147
|
+
name: "amount",
|
|
148
|
+
type: "uint256",
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
internalType: "uint256",
|
|
152
|
+
name: "gasUsage",
|
|
153
|
+
type: "uint256",
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
components: [
|
|
157
|
+
{
|
|
158
|
+
internalType: "address",
|
|
159
|
+
name: "target",
|
|
160
|
+
type: "address",
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
internalType: "bytes",
|
|
164
|
+
name: "callData",
|
|
165
|
+
type: "bytes",
|
|
166
|
+
},
|
|
167
|
+
],
|
|
168
|
+
internalType: "struct MultiCall[]",
|
|
169
|
+
name: "calls",
|
|
170
|
+
type: "tuple[]",
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
internalType: "struct RouterResult[]",
|
|
174
|
+
name: "",
|
|
175
|
+
type: "tuple[]",
|
|
176
|
+
},
|
|
177
|
+
],
|
|
178
|
+
stateMutability: "nonpayable",
|
|
179
|
+
type: "function",
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
inputs: [
|
|
183
|
+
{
|
|
184
|
+
internalType: "address",
|
|
185
|
+
name: "creditAccount",
|
|
186
|
+
type: "address",
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
internalType: "address[]",
|
|
190
|
+
name: "connectors",
|
|
191
|
+
type: "address[]",
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
internalType: "uint256",
|
|
195
|
+
name: "slippage",
|
|
196
|
+
type: "uint256",
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
components: [
|
|
200
|
+
{
|
|
201
|
+
internalType: "address",
|
|
202
|
+
name: "target",
|
|
203
|
+
type: "address",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
internalType: "uint8",
|
|
207
|
+
name: "option",
|
|
208
|
+
type: "uint8",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
internalType: "uint8",
|
|
212
|
+
name: "totalOptions",
|
|
213
|
+
type: "uint8",
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
internalType: "struct PathOption[]",
|
|
217
|
+
name: "pathOptions",
|
|
218
|
+
type: "tuple[]",
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
internalType: "uint256",
|
|
222
|
+
name: "iterations",
|
|
223
|
+
type: "uint256",
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
internalType: "bool",
|
|
227
|
+
name: "force",
|
|
228
|
+
type: "bool",
|
|
229
|
+
},
|
|
230
|
+
],
|
|
231
|
+
name: "findBestClosePath",
|
|
232
|
+
outputs: [
|
|
233
|
+
{
|
|
234
|
+
components: [
|
|
235
|
+
{
|
|
236
|
+
internalType: "uint256",
|
|
237
|
+
name: "amount",
|
|
238
|
+
type: "uint256",
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
internalType: "uint256",
|
|
242
|
+
name: "gasUsage",
|
|
243
|
+
type: "uint256",
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
components: [
|
|
247
|
+
{
|
|
248
|
+
internalType: "address",
|
|
249
|
+
name: "target",
|
|
250
|
+
type: "address",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
internalType: "bytes",
|
|
254
|
+
name: "callData",
|
|
255
|
+
type: "bytes",
|
|
256
|
+
},
|
|
257
|
+
],
|
|
258
|
+
internalType: "struct MultiCall[]",
|
|
259
|
+
name: "calls",
|
|
260
|
+
type: "tuple[]",
|
|
261
|
+
},
|
|
262
|
+
],
|
|
263
|
+
internalType: "struct RouterResult",
|
|
264
|
+
name: "result",
|
|
265
|
+
type: "tuple",
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
internalType: "uint256",
|
|
269
|
+
name: "gasPriceTargetRAY",
|
|
270
|
+
type: "uint256",
|
|
271
|
+
},
|
|
272
|
+
],
|
|
273
|
+
stateMutability: "nonpayable",
|
|
274
|
+
type: "function",
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
inputs: [
|
|
278
|
+
{
|
|
279
|
+
internalType: "address",
|
|
280
|
+
name: "tokenIn",
|
|
281
|
+
type: "address",
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
internalType: "uint256",
|
|
285
|
+
name: "amount",
|
|
286
|
+
type: "uint256",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
internalType: "address",
|
|
290
|
+
name: "tokenOut",
|
|
291
|
+
type: "address",
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
internalType: "address",
|
|
295
|
+
name: "creditAccount",
|
|
296
|
+
type: "address",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
internalType: "address[]",
|
|
300
|
+
name: "connectors",
|
|
301
|
+
type: "address[]",
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
internalType: "uint256",
|
|
305
|
+
name: "slippage",
|
|
306
|
+
type: "uint256",
|
|
307
|
+
},
|
|
308
|
+
],
|
|
309
|
+
name: "findOneTokenPath",
|
|
310
|
+
outputs: [
|
|
311
|
+
{
|
|
312
|
+
components: [
|
|
313
|
+
{
|
|
314
|
+
internalType: "uint256",
|
|
315
|
+
name: "amount",
|
|
316
|
+
type: "uint256",
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
internalType: "uint256",
|
|
320
|
+
name: "gasUsage",
|
|
321
|
+
type: "uint256",
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
components: [
|
|
325
|
+
{
|
|
326
|
+
internalType: "address",
|
|
327
|
+
name: "target",
|
|
328
|
+
type: "address",
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
internalType: "bytes",
|
|
332
|
+
name: "callData",
|
|
333
|
+
type: "bytes",
|
|
334
|
+
},
|
|
335
|
+
],
|
|
336
|
+
internalType: "struct MultiCall[]",
|
|
337
|
+
name: "calls",
|
|
338
|
+
type: "tuple[]",
|
|
339
|
+
},
|
|
340
|
+
],
|
|
341
|
+
internalType: "struct RouterResult",
|
|
342
|
+
name: "",
|
|
343
|
+
type: "tuple",
|
|
344
|
+
},
|
|
345
|
+
],
|
|
346
|
+
stateMutability: "nonpayable",
|
|
347
|
+
type: "function",
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
inputs: [
|
|
351
|
+
{
|
|
352
|
+
internalType: "address",
|
|
353
|
+
name: "creditManager",
|
|
354
|
+
type: "address",
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
components: [
|
|
358
|
+
{
|
|
359
|
+
internalType: "address",
|
|
360
|
+
name: "token",
|
|
361
|
+
type: "address",
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
internalType: "uint256",
|
|
365
|
+
name: "balance",
|
|
366
|
+
type: "uint256",
|
|
367
|
+
},
|
|
368
|
+
],
|
|
369
|
+
internalType: "struct Balance[]",
|
|
370
|
+
name: "balances",
|
|
371
|
+
type: "tuple[]",
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
internalType: "address",
|
|
375
|
+
name: "target",
|
|
376
|
+
type: "address",
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
internalType: "address[]",
|
|
380
|
+
name: "connectors",
|
|
381
|
+
type: "address[]",
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
internalType: "uint256",
|
|
385
|
+
name: "slippage",
|
|
386
|
+
type: "uint256",
|
|
387
|
+
},
|
|
388
|
+
],
|
|
389
|
+
name: "findOpenStrategyPath",
|
|
390
|
+
outputs: [
|
|
391
|
+
{
|
|
392
|
+
components: [
|
|
393
|
+
{
|
|
394
|
+
internalType: "address",
|
|
395
|
+
name: "token",
|
|
396
|
+
type: "address",
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
internalType: "uint256",
|
|
400
|
+
name: "balance",
|
|
401
|
+
type: "uint256",
|
|
402
|
+
},
|
|
403
|
+
],
|
|
404
|
+
internalType: "struct Balance[]",
|
|
405
|
+
name: "",
|
|
406
|
+
type: "tuple[]",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
components: [
|
|
410
|
+
{
|
|
411
|
+
internalType: "uint256",
|
|
412
|
+
name: "amount",
|
|
413
|
+
type: "uint256",
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
internalType: "uint256",
|
|
417
|
+
name: "gasUsage",
|
|
418
|
+
type: "uint256",
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
components: [
|
|
422
|
+
{
|
|
423
|
+
internalType: "address",
|
|
424
|
+
name: "target",
|
|
425
|
+
type: "address",
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
internalType: "bytes",
|
|
429
|
+
name: "callData",
|
|
430
|
+
type: "bytes",
|
|
431
|
+
},
|
|
432
|
+
],
|
|
433
|
+
internalType: "struct MultiCall[]",
|
|
434
|
+
name: "calls",
|
|
435
|
+
type: "tuple[]",
|
|
436
|
+
},
|
|
437
|
+
],
|
|
438
|
+
internalType: "struct RouterResult",
|
|
439
|
+
name: "",
|
|
440
|
+
type: "tuple",
|
|
441
|
+
},
|
|
442
|
+
],
|
|
443
|
+
stateMutability: "nonpayable",
|
|
444
|
+
type: "function",
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
inputs: [
|
|
448
|
+
{
|
|
449
|
+
internalType: "address",
|
|
450
|
+
name: "token",
|
|
451
|
+
type: "address",
|
|
452
|
+
},
|
|
453
|
+
],
|
|
454
|
+
name: "getGasPriceTokenOutRAY",
|
|
455
|
+
outputs: [
|
|
456
|
+
{
|
|
457
|
+
internalType: "uint256",
|
|
458
|
+
name: "gasPrice",
|
|
459
|
+
type: "uint256",
|
|
460
|
+
},
|
|
461
|
+
],
|
|
462
|
+
stateMutability: "view",
|
|
463
|
+
type: "function",
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
inputs: [
|
|
467
|
+
{
|
|
468
|
+
internalType: "address",
|
|
469
|
+
name: "account",
|
|
470
|
+
type: "address",
|
|
471
|
+
},
|
|
472
|
+
],
|
|
473
|
+
name: "isRouterConfigurator",
|
|
474
|
+
outputs: [
|
|
475
|
+
{
|
|
476
|
+
internalType: "bool",
|
|
477
|
+
name: "",
|
|
478
|
+
type: "bool",
|
|
479
|
+
},
|
|
480
|
+
],
|
|
481
|
+
stateMutability: "view",
|
|
482
|
+
type: "function",
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
inputs: [
|
|
486
|
+
{
|
|
487
|
+
internalType: "address",
|
|
488
|
+
name: "",
|
|
489
|
+
type: "address",
|
|
490
|
+
},
|
|
491
|
+
],
|
|
492
|
+
name: "tokenTypes",
|
|
493
|
+
outputs: [
|
|
494
|
+
{
|
|
495
|
+
internalType: "uint8",
|
|
496
|
+
name: "",
|
|
497
|
+
type: "uint8",
|
|
498
|
+
},
|
|
499
|
+
],
|
|
500
|
+
stateMutability: "view",
|
|
501
|
+
type: "function",
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
inputs: [],
|
|
505
|
+
name: "version",
|
|
506
|
+
outputs: [
|
|
507
|
+
{
|
|
508
|
+
internalType: "uint256",
|
|
509
|
+
name: "",
|
|
510
|
+
type: "uint256",
|
|
511
|
+
},
|
|
512
|
+
],
|
|
513
|
+
stateMutability: "view",
|
|
514
|
+
type: "function",
|
|
515
|
+
},
|
|
516
|
+
];
|
|
517
|
+
class IRouter__factory {
|
|
518
|
+
static abi = _abi;
|
|
519
|
+
static createInterface() {
|
|
520
|
+
return new ethers_1.utils.Interface(_abi);
|
|
521
|
+
}
|
|
522
|
+
static connect(address, signerOrProvider) {
|
|
523
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
exports.IRouter__factory = IRouter__factory;
|
|
@@ -75,6 +75,7 @@ export { ILinearInterestRateModelV3__factory } from "./ILinearInterestRateModelV
|
|
|
75
75
|
export { IOffchainOracle__factory } from "./IOffchainOracle__factory";
|
|
76
76
|
export { IPermit2__factory } from "./IPermit2__factory";
|
|
77
77
|
export { IPriceOracleBase__factory } from "./IPriceOracleBase__factory";
|
|
78
|
+
export { IRouter__factory } from "./IRouter__factory";
|
|
78
79
|
export { IRouterV3__factory } from "./IRouterV3__factory";
|
|
79
80
|
export { IVersion__factory } from "./IVersion__factory";
|
|
80
81
|
export { IVotingContractV3__factory } from "./IVotingContractV3__factory";
|
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.IConvexV1BaseRewardPoolAdapter__factory = exports.IConvexToken__factory = exports.IBaseRewardPool__factory = exports.IAdapter__factory = exports.IAaveV2_WrappedATokenAdapter__factory = exports.IAaveV2_LendingPoolAdapter__factory = exports.FarmAccounting__factory = exports.Errors__factory = exports.ERC20__factory = exports.Claimable__factory = exports.CalldataExtractor__factory = exports.AddressProvider__factory = exports.redstonePriceFeedSol = exports.iwstEthGatewaySol = exports.iwstEthSol = exports.istEthSol = exports.iUniswapV3AdapterSol = exports.iUniswapV3Sol = exports.iUniswapV2AdapterSol = exports.iPriceOracleV3Sol = exports.iPriceOracleSol = exports.iPriceFeedSol = exports.iPoolV3Sol = exports.iPoolServiceSol = exports.iPoolQuotaKeeperV3Sol = exports.ilpPriceFeedSol = exports.iGearStakingV3Sol = exports.iGaugeV3Sol = exports.iDegenNftv2Sol = exports.iDegenDistributorSol = exports.iCurvePool4Sol = exports.iCurvePool3Sol = exports.iCurvePool2Sol = exports.iCreditManagerV3Sol = exports.iCreditManagerV2Sol = exports.iCreditFacadeV3Sol = exports.iCreditFacadeV2Sol = exports.iCreditConfiguratorV3Sol = exports.iCreditConfiguratorV2Sol = exports.iConvexV1BoosterAdapterSol = exports.iControllerTimelockV3Sol = exports.iContractsRegisterSol = exports.iCompoundV2CTokenAdapterSol = exports.iBotListV3Sol = exports.iBalancerV2VaultAdapterSol = exports.iBalancerV2VaultSol = exports.iAirdropDistributorSol = exports.iAddressProviderV3Sol = exports.iAddressProviderSol = exports.balancesSol = void 0;
|
|
27
|
-
exports.SafeERC20__factory = exports.RedstoneDefaultsLib__factory = exports.RedstoneConsumerNumericBase__factory = exports.RedstoneConsumerBase__factory = exports.RedstoneConstants__factory = exports.Ownable__factory = exports.NumericArrayLib__factory = exports.IwstETHV1Adapter__factory = exports.IZapperRegister__factory = exports.IZapper__factory = exports.IYearnV2Adapter__factory = exports.IYVault__factory = exports.IWETHGateway__factory = exports.IWETH__factory = exports.IVotingContractV3__factory = exports.IVersion__factory = exports.IRouterV3__factory = exports.IPriceOracleBase__factory = exports.IPermit2__factory = exports.IOffchainOracle__factory = exports.ILinearInterestRateModelV3__factory = exports.ILidoV1Adapter__factory = exports.IInterestRateModel__factory = exports.IGasPricer__factory = exports.IFarmingPool__factory = exports.IETHZapperDeposits__factory = exports.IERC721Metadata__factory = exports.IERC721__factory = exports.IERC4626Adapter__factory = exports.IERC4626__factory = exports.IERC20ZapperDeposits__factory = exports.IERC20Permit__factory = exports.IERC20Metadata__factory = exports.IERC20__factory = exports.IERC165__factory = exports.IDataCompressorV3_00__factory = exports.IDataCompressorV2_10__factory = exports.IDaiLikePermit__factory = exports.ICurveV1_4AssetsAdapter__factory = exports.ICurveV1_3AssetsAdapter__factory = exports.ICurveV1_2AssetsAdapter__factory = exports.ICurveV1Adapter__factory = exports.ICurvePool__factory = exports.ICreditFacadeV3Multicall__factory = void 0;
|
|
27
|
+
exports.SafeERC20__factory = exports.RedstoneDefaultsLib__factory = exports.RedstoneConsumerNumericBase__factory = exports.RedstoneConsumerBase__factory = exports.RedstoneConstants__factory = exports.Ownable__factory = exports.NumericArrayLib__factory = exports.IwstETHV1Adapter__factory = exports.IZapperRegister__factory = exports.IZapper__factory = exports.IYearnV2Adapter__factory = exports.IYVault__factory = exports.IWETHGateway__factory = exports.IWETH__factory = exports.IVotingContractV3__factory = exports.IVersion__factory = exports.IRouterV3__factory = exports.IRouter__factory = exports.IPriceOracleBase__factory = exports.IPermit2__factory = exports.IOffchainOracle__factory = exports.ILinearInterestRateModelV3__factory = exports.ILidoV1Adapter__factory = exports.IInterestRateModel__factory = exports.IGasPricer__factory = exports.IFarmingPool__factory = exports.IETHZapperDeposits__factory = exports.IERC721Metadata__factory = exports.IERC721__factory = exports.IERC4626Adapter__factory = exports.IERC4626__factory = exports.IERC20ZapperDeposits__factory = exports.IERC20Permit__factory = exports.IERC20Metadata__factory = exports.IERC20__factory = exports.IERC165__factory = exports.IDataCompressorV3_00__factory = exports.IDataCompressorV2_10__factory = exports.IDaiLikePermit__factory = exports.ICurveV1_4AssetsAdapter__factory = exports.ICurveV1_3AssetsAdapter__factory = exports.ICurveV1_2AssetsAdapter__factory = exports.ICurveV1Adapter__factory = exports.ICurvePool__factory = exports.ICreditFacadeV3Multicall__factory = void 0;
|
|
28
28
|
/* Autogenerated file. Do not edit manually. */
|
|
29
29
|
/* tslint:disable */
|
|
30
30
|
/* eslint-disable */
|
|
@@ -144,6 +144,8 @@ var IPermit2__factory_1 = require("./IPermit2__factory");
|
|
|
144
144
|
Object.defineProperty(exports, "IPermit2__factory", { enumerable: true, get: function () { return IPermit2__factory_1.IPermit2__factory; } });
|
|
145
145
|
var IPriceOracleBase__factory_1 = require("./IPriceOracleBase__factory");
|
|
146
146
|
Object.defineProperty(exports, "IPriceOracleBase__factory", { enumerable: true, get: function () { return IPriceOracleBase__factory_1.IPriceOracleBase__factory; } });
|
|
147
|
+
var IRouter__factory_1 = require("./IRouter__factory");
|
|
148
|
+
Object.defineProperty(exports, "IRouter__factory", { enumerable: true, get: function () { return IRouter__factory_1.IRouter__factory; } });
|
|
147
149
|
var IRouterV3__factory_1 = require("./IRouterV3__factory");
|
|
148
150
|
Object.defineProperty(exports, "IRouterV3__factory", { enumerable: true, get: function () { return IRouterV3__factory_1.IRouterV3__factory; } });
|
|
149
151
|
var IVersion__factory_1 = require("./IVersion__factory");
|
package/lib/types/index.d.ts
CHANGED
|
@@ -113,6 +113,7 @@ export type { ILinearInterestRateModelV3 } from "./ILinearInterestRateModelV3";
|
|
|
113
113
|
export type { IOffchainOracle } from "./IOffchainOracle";
|
|
114
114
|
export type { IPermit2 } from "./IPermit2";
|
|
115
115
|
export type { IPriceOracleBase } from "./IPriceOracleBase";
|
|
116
|
+
export type { IRouter } from "./IRouter";
|
|
116
117
|
export type { IRouterV3 } from "./IRouterV3";
|
|
117
118
|
export type { IVersion } from "./IVersion";
|
|
118
119
|
export type { IVotingContractV3 } from "./IVotingContractV3";
|
|
@@ -222,17 +223,17 @@ export type { ICreditManagerV3 } from "./ICreditManagerV3.sol/ICreditManagerV3";
|
|
|
222
223
|
export { ICreditManagerV3__factory } from "./factories/ICreditManagerV3.sol/ICreditManagerV3__factory";
|
|
223
224
|
export type { ICreditManagerV3Events } from "./ICreditManagerV3.sol/ICreditManagerV3Events";
|
|
224
225
|
export { ICreditManagerV3Events__factory } from "./factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory";
|
|
226
|
+
export { ICurvePool__factory } from "./factories/ICurvePool__factory";
|
|
225
227
|
export type { ICurvePool2Assets } from "./ICurvePool_2.sol/ICurvePool2Assets";
|
|
226
228
|
export { ICurvePool2Assets__factory } from "./factories/ICurvePool_2.sol/ICurvePool2Assets__factory";
|
|
227
229
|
export type { ICurvePool3Assets } from "./ICurvePool_3.sol/ICurvePool3Assets";
|
|
228
230
|
export { ICurvePool3Assets__factory } from "./factories/ICurvePool_3.sol/ICurvePool3Assets__factory";
|
|
229
231
|
export type { ICurvePool4Assets } from "./ICurvePool_4.sol/ICurvePool4Assets";
|
|
230
232
|
export { ICurvePool4Assets__factory } from "./factories/ICurvePool_4.sol/ICurvePool4Assets__factory";
|
|
231
|
-
export {
|
|
233
|
+
export { ICurveV1Adapter__factory } from "./factories/ICurveV1Adapter__factory";
|
|
232
234
|
export { ICurveV1_2AssetsAdapter__factory } from "./factories/ICurveV1_2AssetsAdapter__factory";
|
|
233
235
|
export { ICurveV1_3AssetsAdapter__factory } from "./factories/ICurveV1_3AssetsAdapter__factory";
|
|
234
236
|
export { ICurveV1_4AssetsAdapter__factory } from "./factories/ICurveV1_4AssetsAdapter__factory";
|
|
235
|
-
export { ICurveV1Adapter__factory } from "./factories/ICurveV1Adapter__factory";
|
|
236
237
|
export { IDaiLikePermit__factory } from "./factories/IDaiLikePermit__factory";
|
|
237
238
|
export { IDataCompressorV2_10__factory } from "./factories/IDataCompressorV2_10__factory";
|
|
238
239
|
export { IDataCompressorV3_00__factory } from "./factories/IDataCompressorV3_00__factory";
|
|
@@ -267,14 +268,14 @@ export { IGearStakingV3__factory } from "./factories/IGearStakingV3.sol/IGearSta
|
|
|
267
268
|
export type { IGearStakingV3Events } from "./IGearStakingV3.sol/IGearStakingV3Events";
|
|
268
269
|
export { IGearStakingV3Events__factory } from "./factories/IGearStakingV3.sol/IGearStakingV3Events__factory";
|
|
269
270
|
export { IInterestRateModel__factory } from "./factories/IInterestRateModel__factory";
|
|
270
|
-
export { ILidoV1Adapter__factory } from "./factories/ILidoV1Adapter__factory";
|
|
271
|
-
export { ILinearInterestRateModelV3__factory } from "./factories/ILinearInterestRateModelV3__factory";
|
|
272
271
|
export type { ILPPriceFeed } from "./ILPPriceFeed.sol/ILPPriceFeed";
|
|
273
272
|
export { ILPPriceFeed__factory } from "./factories/ILPPriceFeed.sol/ILPPriceFeed__factory";
|
|
274
273
|
export type { ILPPriceFeedEvents } from "./ILPPriceFeed.sol/ILPPriceFeedEvents";
|
|
275
274
|
export { ILPPriceFeedEvents__factory } from "./factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory";
|
|
276
275
|
export type { ILPPriceFeedExceptions } from "./ILPPriceFeed.sol/ILPPriceFeedExceptions";
|
|
277
276
|
export { ILPPriceFeedExceptions__factory } from "./factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory";
|
|
277
|
+
export { ILidoV1Adapter__factory } from "./factories/ILidoV1Adapter__factory";
|
|
278
|
+
export { ILinearInterestRateModelV3__factory } from "./factories/ILinearInterestRateModelV3__factory";
|
|
278
279
|
export { IOffchainOracle__factory } from "./factories/IOffchainOracle__factory";
|
|
279
280
|
export { IPermit2__factory } from "./factories/IPermit2__factory";
|
|
280
281
|
export type { IPoolQuotaKeeperV3 } from "./IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3";
|
|
@@ -306,11 +307,8 @@ export type { IPriceOracleV3 } from "./IPriceOracleV3.sol/IPriceOracleV3";
|
|
|
306
307
|
export { IPriceOracleV3__factory } from "./factories/IPriceOracleV3.sol/IPriceOracleV3__factory";
|
|
307
308
|
export type { IPriceOracleV3Events } from "./IPriceOracleV3.sol/IPriceOracleV3Events";
|
|
308
309
|
export { IPriceOracleV3Events__factory } from "./factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory";
|
|
310
|
+
export { IRouter__factory } from "./factories/IRouter__factory";
|
|
309
311
|
export { IRouterV3__factory } from "./factories/IRouterV3__factory";
|
|
310
|
-
export type { IstETH } from "./IstETH.sol/IstETH";
|
|
311
|
-
export { IstETH__factory } from "./factories/IstETH.sol/IstETH__factory";
|
|
312
|
-
export type { IstETHGetters } from "./IstETH.sol/IstETHGetters";
|
|
313
|
-
export { IstETHGetters__factory } from "./factories/IstETH.sol/IstETHGetters__factory";
|
|
314
312
|
export type { IUniswapV2Adapter } from "./IUniswapV2Adapter.sol/IUniswapV2Adapter";
|
|
315
313
|
export { IUniswapV2Adapter__factory } from "./factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory";
|
|
316
314
|
export type { IUniswapV2AdapterEvents } from "./IUniswapV2Adapter.sol/IUniswapV2AdapterEvents";
|
|
@@ -329,6 +327,14 @@ export { IVersion__factory } from "./factories/IVersion__factory";
|
|
|
329
327
|
export { IVotingContractV3__factory } from "./factories/IVotingContractV3__factory";
|
|
330
328
|
export { IWETH__factory } from "./factories/IWETH__factory";
|
|
331
329
|
export { IWETHGateway__factory } from "./factories/IWETHGateway__factory";
|
|
330
|
+
export { IYVault__factory } from "./factories/IYVault__factory";
|
|
331
|
+
export { IYearnV2Adapter__factory } from "./factories/IYearnV2Adapter__factory";
|
|
332
|
+
export { IZapper__factory } from "./factories/IZapper__factory";
|
|
333
|
+
export { IZapperRegister__factory } from "./factories/IZapperRegister__factory";
|
|
334
|
+
export type { IstETH } from "./IstETH.sol/IstETH";
|
|
335
|
+
export { IstETH__factory } from "./factories/IstETH.sol/IstETH__factory";
|
|
336
|
+
export type { IstETHGetters } from "./IstETH.sol/IstETHGetters";
|
|
337
|
+
export { IstETHGetters__factory } from "./factories/IstETH.sol/IstETHGetters__factory";
|
|
332
338
|
export type { IwstETH } from "./IwstETH.sol/IwstETH";
|
|
333
339
|
export { IwstETH__factory } from "./factories/IwstETH.sol/IwstETH__factory";
|
|
334
340
|
export type { IwstETHGetters } from "./IwstETH.sol/IwstETHGetters";
|
|
@@ -336,10 +342,6 @@ export { IwstETHGetters__factory } from "./factories/IwstETH.sol/IwstETHGetters_
|
|
|
336
342
|
export type { IwstETHGateWay } from "./IwstETHGateway.sol/IwstETHGateWay";
|
|
337
343
|
export { IwstETHGateWay__factory } from "./factories/IwstETHGateway.sol/IwstETHGateWay__factory";
|
|
338
344
|
export { IwstETHV1Adapter__factory } from "./factories/IwstETHV1Adapter__factory";
|
|
339
|
-
export { IYearnV2Adapter__factory } from "./factories/IYearnV2Adapter__factory";
|
|
340
|
-
export { IYVault__factory } from "./factories/IYVault__factory";
|
|
341
|
-
export { IZapper__factory } from "./factories/IZapper__factory";
|
|
342
|
-
export { IZapperRegister__factory } from "./factories/IZapperRegister__factory";
|
|
343
345
|
export { NumericArrayLib__factory } from "./factories/NumericArrayLib__factory";
|
|
344
346
|
export { Ownable__factory } from "./factories/Ownable__factory";
|
|
345
347
|
export { RedstoneConstants__factory } from "./factories/RedstoneConstants__factory";
|