@gearbox-protocol/sdk 3.0.0-next.51 → 3.0.0-next.53

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 (66) hide show
  1. package/contracts/index.sol +4 -0
  2. package/lib/types/IGaugeV3.sol/IGaugeV3.d.ts +366 -0
  3. package/lib/types/IGaugeV3.sol/IGaugeV3.js +2 -0
  4. package/lib/types/IGaugeV3.sol/IGaugeV3Events.d.ts +114 -0
  5. package/lib/types/IGaugeV3.sol/IGaugeV3Events.js +2 -0
  6. package/lib/types/IGaugeV3.sol/index.d.ts +2 -0
  7. package/lib/types/IGaugeV3.sol/index.js +2 -0
  8. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.d.ts +473 -0
  9. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.js +2 -0
  10. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.d.ts +113 -0
  11. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.js +2 -0
  12. package/lib/types/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
  13. package/lib/types/IPoolQuotaKeeperV3.sol/index.js +2 -0
  14. package/lib/types/IPriceOracle.sol/IPriceOracleV2.d.ts +166 -0
  15. package/lib/types/IPriceOracle.sol/IPriceOracleV2.js +2 -0
  16. package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.d.ts +43 -0
  17. package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.js +2 -0
  18. package/lib/types/IPriceOracle.sol/IPriceOracleV2Exceptions.d.ts +27 -0
  19. package/lib/types/IPriceOracle.sol/IPriceOracleV2Exceptions.js +2 -0
  20. package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.d.ts +182 -0
  21. package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.js +2 -0
  22. package/lib/types/IPriceOracle.sol/index.d.ts +4 -0
  23. package/lib/types/IPriceOracle.sol/index.js +2 -0
  24. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.d.ts +247 -0
  25. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.js +2 -0
  26. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.d.ts +77 -0
  27. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.js +2 -0
  28. package/lib/types/IPriceOracleV3.sol/index.d.ts +2 -0
  29. package/lib/types/IPriceOracleV3.sol/index.js +2 -0
  30. package/lib/types/IVotingContractV3.d.ts +74 -0
  31. package/lib/types/IVotingContractV3.js +2 -0
  32. package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +118 -0
  33. package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +157 -0
  34. package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +342 -0
  35. package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +448 -0
  36. package/lib/types/factories/IGaugeV3.sol/index.d.ts +2 -0
  37. package/lib/types/factories/IGaugeV3.sol/index.js +10 -0
  38. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +103 -0
  39. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +140 -0
  40. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +441 -0
  41. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.js +580 -0
  42. package/lib/types/factories/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
  43. package/lib/types/factories/IPoolQuotaKeeperV3.sol/index.js +10 -0
  44. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +23 -0
  45. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +38 -0
  46. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +20 -0
  47. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +34 -0
  48. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +197 -0
  49. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +267 -0
  50. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +183 -0
  51. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.js +249 -0
  52. package/lib/types/factories/IPriceOracle.sol/index.d.ts +4 -0
  53. package/lib/types/factories/IPriceOracle.sol/index.js +14 -0
  54. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +73 -0
  55. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +100 -0
  56. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +281 -0
  57. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +374 -0
  58. package/lib/types/factories/IPriceOracleV3.sol/index.d.ts +2 -0
  59. package/lib/types/factories/IPriceOracleV3.sol/index.js +10 -0
  60. package/lib/types/factories/IVotingContractV3__factory.d.ts +44 -0
  61. package/lib/types/factories/IVotingContractV3__factory.js +65 -0
  62. package/lib/types/factories/index.d.ts +5 -0
  63. package/lib/types/factories/index.js +8 -2
  64. package/lib/types/index.d.ts +30 -0
  65. package/lib/types/index.js +24 -1
  66. package/package.json +1 -1
@@ -0,0 +1,580 @@
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.IPoolQuotaKeeperV3__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ anonymous: false,
11
+ inputs: [
12
+ {
13
+ indexed: true,
14
+ internalType: "address",
15
+ name: "creditManager",
16
+ type: "address",
17
+ },
18
+ ],
19
+ name: "AddCreditManager",
20
+ type: "event",
21
+ },
22
+ {
23
+ anonymous: false,
24
+ inputs: [
25
+ {
26
+ indexed: true,
27
+ internalType: "address",
28
+ name: "token",
29
+ type: "address",
30
+ },
31
+ ],
32
+ name: "AddQuotaToken",
33
+ type: "event",
34
+ },
35
+ {
36
+ anonymous: false,
37
+ inputs: [
38
+ {
39
+ indexed: true,
40
+ internalType: "address",
41
+ name: "newGauge",
42
+ type: "address",
43
+ },
44
+ ],
45
+ name: "SetGauge",
46
+ type: "event",
47
+ },
48
+ {
49
+ anonymous: false,
50
+ inputs: [
51
+ {
52
+ indexed: true,
53
+ internalType: "address",
54
+ name: "token",
55
+ type: "address",
56
+ },
57
+ {
58
+ indexed: false,
59
+ internalType: "uint16",
60
+ name: "fee",
61
+ type: "uint16",
62
+ },
63
+ ],
64
+ name: "SetQuotaIncreaseFee",
65
+ type: "event",
66
+ },
67
+ {
68
+ anonymous: false,
69
+ inputs: [
70
+ {
71
+ indexed: true,
72
+ internalType: "address",
73
+ name: "token",
74
+ type: "address",
75
+ },
76
+ {
77
+ indexed: false,
78
+ internalType: "uint96",
79
+ name: "limit",
80
+ type: "uint96",
81
+ },
82
+ ],
83
+ name: "SetTokenLimit",
84
+ type: "event",
85
+ },
86
+ {
87
+ anonymous: false,
88
+ inputs: [
89
+ {
90
+ indexed: true,
91
+ internalType: "address",
92
+ name: "creditAccount",
93
+ type: "address",
94
+ },
95
+ {
96
+ indexed: true,
97
+ internalType: "address",
98
+ name: "token",
99
+ type: "address",
100
+ },
101
+ {
102
+ indexed: false,
103
+ internalType: "int96",
104
+ name: "quotaChange",
105
+ type: "int96",
106
+ },
107
+ ],
108
+ name: "UpdateQuota",
109
+ type: "event",
110
+ },
111
+ {
112
+ anonymous: false,
113
+ inputs: [
114
+ {
115
+ indexed: true,
116
+ internalType: "address",
117
+ name: "token",
118
+ type: "address",
119
+ },
120
+ {
121
+ indexed: false,
122
+ internalType: "uint16",
123
+ name: "rate",
124
+ type: "uint16",
125
+ },
126
+ ],
127
+ name: "UpdateTokenQuotaRate",
128
+ type: "event",
129
+ },
130
+ {
131
+ inputs: [
132
+ {
133
+ internalType: "address",
134
+ name: "creditAccount",
135
+ type: "address",
136
+ },
137
+ {
138
+ internalType: "address[]",
139
+ name: "tokens",
140
+ type: "address[]",
141
+ },
142
+ ],
143
+ name: "accrueQuotaInterest",
144
+ outputs: [],
145
+ stateMutability: "nonpayable",
146
+ type: "function",
147
+ },
148
+ {
149
+ inputs: [
150
+ {
151
+ internalType: "address",
152
+ name: "_creditManager",
153
+ type: "address",
154
+ },
155
+ ],
156
+ name: "addCreditManager",
157
+ outputs: [],
158
+ stateMutability: "nonpayable",
159
+ type: "function",
160
+ },
161
+ {
162
+ inputs: [
163
+ {
164
+ internalType: "address",
165
+ name: "token",
166
+ type: "address",
167
+ },
168
+ ],
169
+ name: "addQuotaToken",
170
+ outputs: [],
171
+ stateMutability: "nonpayable",
172
+ type: "function",
173
+ },
174
+ {
175
+ inputs: [],
176
+ name: "creditManagers",
177
+ outputs: [
178
+ {
179
+ internalType: "address[]",
180
+ name: "",
181
+ type: "address[]",
182
+ },
183
+ ],
184
+ stateMutability: "view",
185
+ type: "function",
186
+ },
187
+ {
188
+ inputs: [
189
+ {
190
+ internalType: "address",
191
+ name: "token",
192
+ type: "address",
193
+ },
194
+ ],
195
+ name: "cumulativeIndex",
196
+ outputs: [
197
+ {
198
+ internalType: "uint192",
199
+ name: "",
200
+ type: "uint192",
201
+ },
202
+ ],
203
+ stateMutability: "view",
204
+ type: "function",
205
+ },
206
+ {
207
+ inputs: [],
208
+ name: "gauge",
209
+ outputs: [
210
+ {
211
+ internalType: "address",
212
+ name: "",
213
+ type: "address",
214
+ },
215
+ ],
216
+ stateMutability: "view",
217
+ type: "function",
218
+ },
219
+ {
220
+ inputs: [
221
+ {
222
+ internalType: "address",
223
+ name: "creditAccount",
224
+ type: "address",
225
+ },
226
+ {
227
+ internalType: "address",
228
+ name: "token",
229
+ type: "address",
230
+ },
231
+ ],
232
+ name: "getQuota",
233
+ outputs: [
234
+ {
235
+ internalType: "uint96",
236
+ name: "quota",
237
+ type: "uint96",
238
+ },
239
+ {
240
+ internalType: "uint192",
241
+ name: "cumulativeIndexLU",
242
+ type: "uint192",
243
+ },
244
+ ],
245
+ stateMutability: "view",
246
+ type: "function",
247
+ },
248
+ {
249
+ inputs: [
250
+ {
251
+ internalType: "address",
252
+ name: "creditAccount",
253
+ type: "address",
254
+ },
255
+ {
256
+ internalType: "address",
257
+ name: "token",
258
+ type: "address",
259
+ },
260
+ ],
261
+ name: "getQuotaAndOutstandingInterest",
262
+ outputs: [
263
+ {
264
+ internalType: "uint96",
265
+ name: "quoted",
266
+ type: "uint96",
267
+ },
268
+ {
269
+ internalType: "uint128",
270
+ name: "outstandingInterest",
271
+ type: "uint128",
272
+ },
273
+ ],
274
+ stateMutability: "view",
275
+ type: "function",
276
+ },
277
+ {
278
+ inputs: [
279
+ {
280
+ internalType: "address",
281
+ name: "",
282
+ type: "address",
283
+ },
284
+ ],
285
+ name: "getQuotaRate",
286
+ outputs: [
287
+ {
288
+ internalType: "uint16",
289
+ name: "",
290
+ type: "uint16",
291
+ },
292
+ ],
293
+ stateMutability: "view",
294
+ type: "function",
295
+ },
296
+ {
297
+ inputs: [
298
+ {
299
+ internalType: "address",
300
+ name: "token",
301
+ type: "address",
302
+ },
303
+ ],
304
+ name: "getTokenQuotaParams",
305
+ outputs: [
306
+ {
307
+ internalType: "uint16",
308
+ name: "rate",
309
+ type: "uint16",
310
+ },
311
+ {
312
+ internalType: "uint192",
313
+ name: "cumulativeIndexLU",
314
+ type: "uint192",
315
+ },
316
+ {
317
+ internalType: "uint16",
318
+ name: "quotaIncreaseFee",
319
+ type: "uint16",
320
+ },
321
+ {
322
+ internalType: "uint96",
323
+ name: "totalQuoted",
324
+ type: "uint96",
325
+ },
326
+ {
327
+ internalType: "uint96",
328
+ name: "limit",
329
+ type: "uint96",
330
+ },
331
+ {
332
+ internalType: "bool",
333
+ name: "isActive",
334
+ type: "bool",
335
+ },
336
+ ],
337
+ stateMutability: "view",
338
+ type: "function",
339
+ },
340
+ {
341
+ inputs: [
342
+ {
343
+ internalType: "address",
344
+ name: "token",
345
+ type: "address",
346
+ },
347
+ ],
348
+ name: "isQuotedToken",
349
+ outputs: [
350
+ {
351
+ internalType: "bool",
352
+ name: "",
353
+ type: "bool",
354
+ },
355
+ ],
356
+ stateMutability: "view",
357
+ type: "function",
358
+ },
359
+ {
360
+ inputs: [],
361
+ name: "lastQuotaRateUpdate",
362
+ outputs: [
363
+ {
364
+ internalType: "uint40",
365
+ name: "",
366
+ type: "uint40",
367
+ },
368
+ ],
369
+ stateMutability: "view",
370
+ type: "function",
371
+ },
372
+ {
373
+ inputs: [],
374
+ name: "pool",
375
+ outputs: [
376
+ {
377
+ internalType: "address",
378
+ name: "",
379
+ type: "address",
380
+ },
381
+ ],
382
+ stateMutability: "view",
383
+ type: "function",
384
+ },
385
+ {
386
+ inputs: [],
387
+ name: "poolQuotaRevenue",
388
+ outputs: [
389
+ {
390
+ internalType: "uint256",
391
+ name: "",
392
+ type: "uint256",
393
+ },
394
+ ],
395
+ stateMutability: "view",
396
+ type: "function",
397
+ },
398
+ {
399
+ inputs: [],
400
+ name: "quotedTokens",
401
+ outputs: [
402
+ {
403
+ internalType: "address[]",
404
+ name: "",
405
+ type: "address[]",
406
+ },
407
+ ],
408
+ stateMutability: "view",
409
+ type: "function",
410
+ },
411
+ {
412
+ inputs: [
413
+ {
414
+ internalType: "address",
415
+ name: "creditAccount",
416
+ type: "address",
417
+ },
418
+ {
419
+ internalType: "address[]",
420
+ name: "tokens",
421
+ type: "address[]",
422
+ },
423
+ {
424
+ internalType: "bool",
425
+ name: "setLimitsToZero",
426
+ type: "bool",
427
+ },
428
+ ],
429
+ name: "removeQuotas",
430
+ outputs: [],
431
+ stateMutability: "nonpayable",
432
+ type: "function",
433
+ },
434
+ {
435
+ inputs: [
436
+ {
437
+ internalType: "address",
438
+ name: "_gauge",
439
+ type: "address",
440
+ },
441
+ ],
442
+ name: "setGauge",
443
+ outputs: [],
444
+ stateMutability: "nonpayable",
445
+ type: "function",
446
+ },
447
+ {
448
+ inputs: [
449
+ {
450
+ internalType: "address",
451
+ name: "token",
452
+ type: "address",
453
+ },
454
+ {
455
+ internalType: "uint96",
456
+ name: "limit",
457
+ type: "uint96",
458
+ },
459
+ ],
460
+ name: "setTokenLimit",
461
+ outputs: [],
462
+ stateMutability: "nonpayable",
463
+ type: "function",
464
+ },
465
+ {
466
+ inputs: [
467
+ {
468
+ internalType: "address",
469
+ name: "token",
470
+ type: "address",
471
+ },
472
+ {
473
+ internalType: "uint16",
474
+ name: "fee",
475
+ type: "uint16",
476
+ },
477
+ ],
478
+ name: "setTokenQuotaIncreaseFee",
479
+ outputs: [],
480
+ stateMutability: "nonpayable",
481
+ type: "function",
482
+ },
483
+ {
484
+ inputs: [],
485
+ name: "underlying",
486
+ outputs: [
487
+ {
488
+ internalType: "address",
489
+ name: "",
490
+ type: "address",
491
+ },
492
+ ],
493
+ stateMutability: "view",
494
+ type: "function",
495
+ },
496
+ {
497
+ inputs: [
498
+ {
499
+ internalType: "address",
500
+ name: "creditAccount",
501
+ type: "address",
502
+ },
503
+ {
504
+ internalType: "address",
505
+ name: "token",
506
+ type: "address",
507
+ },
508
+ {
509
+ internalType: "int96",
510
+ name: "requestedChange",
511
+ type: "int96",
512
+ },
513
+ {
514
+ internalType: "uint96",
515
+ name: "minQuota",
516
+ type: "uint96",
517
+ },
518
+ {
519
+ internalType: "uint96",
520
+ name: "maxQuota",
521
+ type: "uint96",
522
+ },
523
+ ],
524
+ name: "updateQuota",
525
+ outputs: [
526
+ {
527
+ internalType: "uint128",
528
+ name: "caQuotaInterestChange",
529
+ type: "uint128",
530
+ },
531
+ {
532
+ internalType: "uint128",
533
+ name: "fees",
534
+ type: "uint128",
535
+ },
536
+ {
537
+ internalType: "bool",
538
+ name: "enableToken",
539
+ type: "bool",
540
+ },
541
+ {
542
+ internalType: "bool",
543
+ name: "disableToken",
544
+ type: "bool",
545
+ },
546
+ ],
547
+ stateMutability: "nonpayable",
548
+ type: "function",
549
+ },
550
+ {
551
+ inputs: [],
552
+ name: "updateRates",
553
+ outputs: [],
554
+ stateMutability: "nonpayable",
555
+ type: "function",
556
+ },
557
+ {
558
+ inputs: [],
559
+ name: "version",
560
+ outputs: [
561
+ {
562
+ internalType: "uint256",
563
+ name: "",
564
+ type: "uint256",
565
+ },
566
+ ],
567
+ stateMutability: "view",
568
+ type: "function",
569
+ },
570
+ ];
571
+ class IPoolQuotaKeeperV3__factory {
572
+ static abi = _abi;
573
+ static createInterface() {
574
+ return new ethers_1.utils.Interface(_abi);
575
+ }
576
+ static connect(address, signerOrProvider) {
577
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
578
+ }
579
+ }
580
+ exports.IPoolQuotaKeeperV3__factory = IPoolQuotaKeeperV3__factory;
@@ -0,0 +1,2 @@
1
+ export { IPoolQuotaKeeperV3__factory } from "./IPoolQuotaKeeperV3__factory";
2
+ export { IPoolQuotaKeeperV3Events__factory } from "./IPoolQuotaKeeperV3Events__factory";
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IPoolQuotaKeeperV3Events__factory = exports.IPoolQuotaKeeperV3__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ var IPoolQuotaKeeperV3__factory_1 = require("./IPoolQuotaKeeperV3__factory");
8
+ Object.defineProperty(exports, "IPoolQuotaKeeperV3__factory", { enumerable: true, get: function () { return IPoolQuotaKeeperV3__factory_1.IPoolQuotaKeeperV3__factory; } });
9
+ var IPoolQuotaKeeperV3Events__factory_1 = require("./IPoolQuotaKeeperV3Events__factory");
10
+ Object.defineProperty(exports, "IPoolQuotaKeeperV3Events__factory", { enumerable: true, get: function () { return IPoolQuotaKeeperV3Events__factory_1.IPoolQuotaKeeperV3Events__factory; } });
@@ -0,0 +1,23 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { IPriceOracleV2Events, IPriceOracleV2EventsInterface } from "../../IPriceOracle.sol/IPriceOracleV2Events";
4
+ export declare class IPriceOracleV2Events__factory {
5
+ static readonly abi: readonly [{
6
+ readonly anonymous: false;
7
+ readonly inputs: readonly [{
8
+ readonly indexed: true;
9
+ readonly internalType: "address";
10
+ readonly name: "token";
11
+ readonly type: "address";
12
+ }, {
13
+ readonly indexed: true;
14
+ readonly internalType: "address";
15
+ readonly name: "priceFeed";
16
+ readonly type: "address";
17
+ }];
18
+ readonly name: "NewPriceFeed";
19
+ readonly type: "event";
20
+ }];
21
+ static createInterface(): IPriceOracleV2EventsInterface;
22
+ static connect(address: string, signerOrProvider: Signer | Provider): IPriceOracleV2Events;
23
+ }
@@ -0,0 +1,38 @@
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.IPriceOracleV2Events__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ anonymous: false,
11
+ inputs: [
12
+ {
13
+ indexed: true,
14
+ internalType: "address",
15
+ name: "token",
16
+ type: "address",
17
+ },
18
+ {
19
+ indexed: true,
20
+ internalType: "address",
21
+ name: "priceFeed",
22
+ type: "address",
23
+ },
24
+ ],
25
+ name: "NewPriceFeed",
26
+ type: "event",
27
+ },
28
+ ];
29
+ class IPriceOracleV2Events__factory {
30
+ static abi = _abi;
31
+ static createInterface() {
32
+ return new ethers_1.utils.Interface(_abi);
33
+ }
34
+ static connect(address, signerOrProvider) {
35
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
36
+ }
37
+ }
38
+ exports.IPriceOracleV2Events__factory = IPriceOracleV2Events__factory;
@@ -0,0 +1,20 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { IPriceOracleV2Exceptions, IPriceOracleV2ExceptionsInterface } from "../../IPriceOracle.sol/IPriceOracleV2Exceptions";
4
+ export declare class IPriceOracleV2Exceptions__factory {
5
+ static readonly abi: readonly [{
6
+ readonly inputs: readonly [];
7
+ readonly name: "ChainPriceStaleException";
8
+ readonly type: "error";
9
+ }, {
10
+ readonly inputs: readonly [];
11
+ readonly name: "PriceOracleNotExistsException";
12
+ readonly type: "error";
13
+ }, {
14
+ readonly inputs: readonly [];
15
+ readonly name: "ZeroPriceException";
16
+ readonly type: "error";
17
+ }];
18
+ static createInterface(): IPriceOracleV2ExceptionsInterface;
19
+ static connect(address: string, signerOrProvider: Signer | Provider): IPriceOracleV2Exceptions;
20
+ }
@@ -0,0 +1,34 @@
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.IPriceOracleV2Exceptions__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "ChainPriceStaleException",
12
+ type: "error",
13
+ },
14
+ {
15
+ inputs: [],
16
+ name: "PriceOracleNotExistsException",
17
+ type: "error",
18
+ },
19
+ {
20
+ inputs: [],
21
+ name: "ZeroPriceException",
22
+ type: "error",
23
+ },
24
+ ];
25
+ class IPriceOracleV2Exceptions__factory {
26
+ static abi = _abi;
27
+ static createInterface() {
28
+ return new ethers_1.utils.Interface(_abi);
29
+ }
30
+ static connect(address, signerOrProvider) {
31
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
32
+ }
33
+ }
34
+ exports.IPriceOracleV2Exceptions__factory = IPriceOracleV2Exceptions__factory;