@meterio/sumer-js 0.1.31 → 0.1.32

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 (114) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +110 -12
  3. package/dist/nodejs/abi.js +6086 -4750
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/comptroller.d.ts +1 -1
  6. package/dist/nodejs/comptroller.js +17 -22
  7. package/dist/nodejs/comptroller.js.map +1 -1
  8. package/dist/nodejs/errors.d.ts +84 -0
  9. package/dist/nodejs/errors.js +84 -0
  10. package/dist/nodejs/errors.js.map +1 -1
  11. package/dist/nodejs/index.d.ts +194 -12
  12. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +21 -175
  13. package/dist/nodejs/typechain/contracts/Comptroller/RedemptionManager.d.ts +82 -79
  14. package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +13 -84
  15. package/dist/nodejs/typechain/contracts/Interfaces/IRedemptionManager.d.ts +34 -54
  16. package/dist/nodejs/typechain/contracts/Interfaces/ITimelock.d.ts +46 -49
  17. package/dist/nodejs/typechain/contracts/Library/RateLimiter.d.ts +66 -0
  18. package/dist/nodejs/typechain/contracts/Library/RateLimiter.js +3 -0
  19. package/dist/nodejs/typechain/contracts/Library/RateLimiter.js.map +1 -0
  20. package/dist/nodejs/typechain/contracts/Library/index.d.ts +1 -0
  21. package/dist/nodejs/typechain/contracts/Library/index.js +3 -0
  22. package/dist/nodejs/typechain/contracts/Library/index.js.map +1 -0
  23. package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +1 -9
  24. package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracleSafe.d.ts +1 -9
  25. package/dist/nodejs/typechain/contracts/Timelock.d.ts +515 -0
  26. package/dist/nodejs/typechain/contracts/Timelock.js +3 -0
  27. package/dist/nodejs/typechain/contracts/Timelock.js.map +1 -0
  28. package/dist/nodejs/typechain/contracts/index.d.ts +3 -2
  29. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.d.ts +1 -1
  30. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.js +1 -1
  31. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +1 -1
  32. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js +1 -1
  33. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.d.ts +1 -1
  34. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.js +1 -1
  35. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +49 -1
  36. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +61 -1
  37. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  38. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +49 -1
  39. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +61 -1
  40. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  41. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +48 -0
  42. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +60 -0
  43. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
  44. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +49 -1
  45. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +61 -1
  46. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  47. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.d.ts +313 -1
  48. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js +392 -1
  49. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js.map +1 -1
  50. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -1
  51. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -1
  52. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +49 -1
  53. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +61 -1
  54. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  55. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
  56. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
  57. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +77 -272
  58. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +97 -348
  59. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
  60. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +428 -94
  61. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +536 -121
  62. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
  63. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
  64. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
  65. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +19 -91
  66. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +24 -114
  67. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
  68. package/dist/nodejs/typechain/factories/contracts/Interfaces/IRedemptionManager__factory.d.ts +46 -60
  69. package/dist/nodejs/typechain/factories/contracts/Interfaces/IRedemptionManager__factory.js +45 -67
  70. package/dist/nodejs/typechain/factories/contracts/Interfaces/IRedemptionManager__factory.js.map +1 -1
  71. package/dist/nodejs/typechain/factories/contracts/Interfaces/ITimelock__factory.d.ts +34 -47
  72. package/dist/nodejs/typechain/factories/contracts/Interfaces/ITimelock__factory.js +37 -54
  73. package/dist/nodejs/typechain/factories/contracts/Interfaces/ITimelock__factory.js.map +1 -1
  74. package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.d.ts +165 -0
  75. package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.js +228 -0
  76. package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.js.map +1 -0
  77. package/dist/nodejs/typechain/factories/contracts/Library/index.d.ts +1 -0
  78. package/dist/nodejs/typechain/factories/contracts/Library/index.js +9 -0
  79. package/dist/nodejs/typechain/factories/contracts/Library/index.js.map +1 -0
  80. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.d.ts +1 -15
  81. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.js +1 -20
  82. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.js.map +1 -1
  83. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +1 -15
  84. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +1 -20
  85. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
  86. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +49 -1
  87. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +61 -1
  88. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
  89. package/dist/nodejs/typechain/factories/contracts/Timelock.sol/Timelock__factory.d.ts +1 -1
  90. package/dist/nodejs/typechain/factories/contracts/Timelock.sol/Timelock__factory.js +1 -1
  91. package/dist/nodejs/typechain/factories/contracts/Timelock.sol/Timelock__factory.js.map +1 -1
  92. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +989 -0
  93. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +1277 -0
  94. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -0
  95. package/dist/nodejs/typechain/factories/contracts/index.d.ts +2 -1
  96. package/dist/nodejs/typechain/factories/contracts/index.js +4 -2
  97. package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
  98. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.d.ts +1 -1
  99. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js +1 -1
  100. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.d.ts +1 -1
  101. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js +1 -1
  102. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.d.ts +1 -1
  103. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js +1 -1
  104. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.d.ts +1 -1
  105. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.js +1 -1
  106. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.d.ts +1 -1
  107. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.js +1 -1
  108. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.d.ts +1 -1
  109. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js +1 -1
  110. package/dist/nodejs/typechain/hardhat.d.ts +18 -18
  111. package/dist/nodejs/typechain/index.d.ts +4 -2
  112. package/dist/nodejs/typechain/index.js +5 -3
  113. package/dist/nodejs/typechain/index.js.map +1 -1
  114. package/package.json +1 -1
@@ -0,0 +1,1277 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Timelock__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "contract IComptroller",
13
+ name: "_comptroller",
14
+ type: "address",
15
+ },
16
+ {
17
+ internalType: "uint256",
18
+ name: "rate",
19
+ type: "uint256",
20
+ },
21
+ {
22
+ internalType: "uint256",
23
+ name: "capacity",
24
+ type: "uint256",
25
+ },
26
+ ],
27
+ stateMutability: "nonpayable",
28
+ type: "constructor",
29
+ },
30
+ {
31
+ inputs: [],
32
+ name: "AddReservesMarketNotFresh",
33
+ type: "error",
34
+ },
35
+ {
36
+ inputs: [],
37
+ name: "AddReservesOverflow",
38
+ type: "error",
39
+ },
40
+ {
41
+ inputs: [
42
+ {
43
+ internalType: "uint256",
44
+ name: "capacity",
45
+ type: "uint256",
46
+ },
47
+ {
48
+ internalType: "uint256",
49
+ name: "requested",
50
+ type: "uint256",
51
+ },
52
+ ],
53
+ name: "AggregateValueMaxCapacityExceeded",
54
+ type: "error",
55
+ },
56
+ {
57
+ inputs: [
58
+ {
59
+ internalType: "uint256",
60
+ name: "minWaitInSeconds",
61
+ type: "uint256",
62
+ },
63
+ {
64
+ internalType: "uint256",
65
+ name: "available",
66
+ type: "uint256",
67
+ },
68
+ ],
69
+ name: "AggregateValueRateLimitReached",
70
+ type: "error",
71
+ },
72
+ {
73
+ inputs: [],
74
+ name: "BorrowAndDepositBackFailed",
75
+ type: "error",
76
+ },
77
+ {
78
+ inputs: [],
79
+ name: "BorrowCapReached",
80
+ type: "error",
81
+ },
82
+ {
83
+ inputs: [],
84
+ name: "BorrowCashNotAvailable",
85
+ type: "error",
86
+ },
87
+ {
88
+ inputs: [],
89
+ name: "BorrowMarketNotFresh",
90
+ type: "error",
91
+ },
92
+ {
93
+ inputs: [],
94
+ name: "BorrowPaused",
95
+ type: "error",
96
+ },
97
+ {
98
+ inputs: [
99
+ {
100
+ internalType: "uint256",
101
+ name: "usdThreshold",
102
+ type: "uint256",
103
+ },
104
+ ],
105
+ name: "BorrowValueMustBeLargerThanThreshold",
106
+ type: "error",
107
+ },
108
+ {
109
+ inputs: [],
110
+ name: "BucketOverfilled",
111
+ type: "error",
112
+ },
113
+ {
114
+ inputs: [],
115
+ name: "CantExitMarketWithNonZeroBorrowBalance",
116
+ type: "error",
117
+ },
118
+ {
119
+ inputs: [],
120
+ name: "CantSweepUnderlying",
121
+ type: "error",
122
+ },
123
+ {
124
+ inputs: [],
125
+ name: "ComptrollerMismatch",
126
+ type: "error",
127
+ },
128
+ {
129
+ inputs: [],
130
+ name: "GroupIdMismatch",
131
+ type: "error",
132
+ },
133
+ {
134
+ inputs: [],
135
+ name: "InsufficientCollateral",
136
+ type: "error",
137
+ },
138
+ {
139
+ inputs: [],
140
+ name: "InsufficientShortfall",
141
+ type: "error",
142
+ },
143
+ {
144
+ inputs: [],
145
+ name: "InvalidAddress",
146
+ type: "error",
147
+ },
148
+ {
149
+ inputs: [],
150
+ name: "InvalidAmount",
151
+ type: "error",
152
+ },
153
+ {
154
+ inputs: [],
155
+ name: "InvalidCloseFactor",
156
+ type: "error",
157
+ },
158
+ {
159
+ inputs: [],
160
+ name: "InvalidComptroller",
161
+ type: "error",
162
+ },
163
+ {
164
+ inputs: [],
165
+ name: "InvalidDiscountRate",
166
+ type: "error",
167
+ },
168
+ {
169
+ inputs: [],
170
+ name: "InvalidExchangeRate",
171
+ type: "error",
172
+ },
173
+ {
174
+ inputs: [],
175
+ name: "InvalidGroupId",
176
+ type: "error",
177
+ },
178
+ {
179
+ inputs: [],
180
+ name: "InvalidInput",
181
+ type: "error",
182
+ },
183
+ {
184
+ inputs: [],
185
+ name: "InvalidInterestRateModel",
186
+ type: "error",
187
+ },
188
+ {
189
+ inputs: [],
190
+ name: "InvalidMinSuBorrowValue",
191
+ type: "error",
192
+ },
193
+ {
194
+ inputs: [],
195
+ name: "InvalidReduceAmount",
196
+ type: "error",
197
+ },
198
+ {
199
+ inputs: [],
200
+ name: "InvalidReserveFactor",
201
+ type: "error",
202
+ },
203
+ {
204
+ inputs: [],
205
+ name: "InvalidSignatureForRedeemFaceValue",
206
+ type: "error",
207
+ },
208
+ {
209
+ inputs: [],
210
+ name: "InvalidSignatureLength",
211
+ type: "error",
212
+ },
213
+ {
214
+ inputs: [],
215
+ name: "InvalidSuToken",
216
+ type: "error",
217
+ },
218
+ {
219
+ inputs: [],
220
+ name: "LiquidateBorrow_LiquidatorIsBorrower",
221
+ type: "error",
222
+ },
223
+ {
224
+ inputs: [],
225
+ name: "LiquidateBorrow_RepayAmountIsMax",
226
+ type: "error",
227
+ },
228
+ {
229
+ inputs: [],
230
+ name: "LiquidateBorrow_RepayAmountIsZero",
231
+ type: "error",
232
+ },
233
+ {
234
+ inputs: [],
235
+ name: "LiquidateBorrow_SeizeTooMuch",
236
+ type: "error",
237
+ },
238
+ {
239
+ inputs: [],
240
+ name: "LiquidateCollateralMarketNotFresh",
241
+ type: "error",
242
+ },
243
+ {
244
+ inputs: [],
245
+ name: "LiquidateMarketNotFresh",
246
+ type: "error",
247
+ },
248
+ {
249
+ inputs: [],
250
+ name: "MarketAlreadyListed",
251
+ type: "error",
252
+ },
253
+ {
254
+ inputs: [],
255
+ name: "MarketCanOnlyInitializeOnce",
256
+ type: "error",
257
+ },
258
+ {
259
+ inputs: [],
260
+ name: "MarketNotListed",
261
+ type: "error",
262
+ },
263
+ {
264
+ inputs: [],
265
+ name: "MintMarketNotFresh",
266
+ type: "error",
267
+ },
268
+ {
269
+ inputs: [],
270
+ name: "MintPaused",
271
+ type: "error",
272
+ },
273
+ {
274
+ inputs: [],
275
+ name: "NoRedemptionProvider",
276
+ type: "error",
277
+ },
278
+ {
279
+ inputs: [],
280
+ name: "NotCToken",
281
+ type: "error",
282
+ },
283
+ {
284
+ inputs: [],
285
+ name: "NotSuToken",
286
+ type: "error",
287
+ },
288
+ {
289
+ inputs: [],
290
+ name: "OneOfNetAssetAndNetDebtMustBeZero",
291
+ type: "error",
292
+ },
293
+ {
294
+ inputs: [],
295
+ name: "OneOfRedeemTokensAndRedeemAmountMustBeZero",
296
+ type: "error",
297
+ },
298
+ {
299
+ inputs: [],
300
+ name: "OnlyAdmin",
301
+ type: "error",
302
+ },
303
+ {
304
+ inputs: [],
305
+ name: "OnlyAdminOrCapper",
306
+ type: "error",
307
+ },
308
+ {
309
+ inputs: [],
310
+ name: "OnlyAdminOrPauser",
311
+ type: "error",
312
+ },
313
+ {
314
+ inputs: [],
315
+ name: "OnlyCToken",
316
+ type: "error",
317
+ },
318
+ {
319
+ inputs: [],
320
+ name: "OnlyComptroller",
321
+ type: "error",
322
+ },
323
+ {
324
+ inputs: [],
325
+ name: "OnlyListedCToken",
326
+ type: "error",
327
+ },
328
+ {
329
+ inputs: [],
330
+ name: "OnlyPendingAdmin",
331
+ type: "error",
332
+ },
333
+ {
334
+ inputs: [],
335
+ name: "PriceError",
336
+ type: "error",
337
+ },
338
+ {
339
+ inputs: [],
340
+ name: "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
341
+ type: "error",
342
+ },
343
+ {
344
+ inputs: [],
345
+ name: "ProtocolIsPaused",
346
+ type: "error",
347
+ },
348
+ {
349
+ inputs: [],
350
+ name: "RedeemAndTransferMarketNotFresh",
351
+ type: "error",
352
+ },
353
+ {
354
+ inputs: [],
355
+ name: "RedeemAndTransfer_AmountIsZero",
356
+ type: "error",
357
+ },
358
+ {
359
+ inputs: [],
360
+ name: "RedeemMarketNotFresh",
361
+ type: "error",
362
+ },
363
+ {
364
+ inputs: [],
365
+ name: "RedeemTransferOutNotPossible",
366
+ type: "error",
367
+ },
368
+ {
369
+ inputs: [],
370
+ name: "RedemptionSeizeTooMuch",
371
+ type: "error",
372
+ },
373
+ {
374
+ inputs: [],
375
+ name: "ReduceReservesCashNotAvailable",
376
+ type: "error",
377
+ },
378
+ {
379
+ inputs: [],
380
+ name: "ReduceReservesMarketNotFresh",
381
+ type: "error",
382
+ },
383
+ {
384
+ inputs: [],
385
+ name: "ReduceReservesOverflow",
386
+ type: "error",
387
+ },
388
+ {
389
+ inputs: [],
390
+ name: "RepayBorrowMarketNotFresh",
391
+ type: "error",
392
+ },
393
+ {
394
+ inputs: [],
395
+ name: "SeizePaused",
396
+ type: "error",
397
+ },
398
+ {
399
+ inputs: [],
400
+ name: "Seize_LiquidatorIsBorrower",
401
+ type: "error",
402
+ },
403
+ {
404
+ inputs: [],
405
+ name: "SenderMustBeCToken",
406
+ type: "error",
407
+ },
408
+ {
409
+ inputs: [],
410
+ name: "SetInterestRateModelMarketNotFresh",
411
+ type: "error",
412
+ },
413
+ {
414
+ inputs: [],
415
+ name: "SetReservesFactorMarketNotFresh",
416
+ type: "error",
417
+ },
418
+ {
419
+ inputs: [],
420
+ name: "SupplyCapReached",
421
+ type: "error",
422
+ },
423
+ {
424
+ inputs: [],
425
+ name: "TokenInOrAmountInMustBeZero",
426
+ type: "error",
427
+ },
428
+ {
429
+ inputs: [
430
+ {
431
+ internalType: "uint256",
432
+ name: "capacity",
433
+ type: "uint256",
434
+ },
435
+ {
436
+ internalType: "uint256",
437
+ name: "requested",
438
+ type: "uint256",
439
+ },
440
+ {
441
+ internalType: "address",
442
+ name: "tokenAddress",
443
+ type: "address",
444
+ },
445
+ ],
446
+ name: "TokenMaxCapacityExceeded",
447
+ type: "error",
448
+ },
449
+ {
450
+ inputs: [
451
+ {
452
+ internalType: "uint256",
453
+ name: "minWaitInSeconds",
454
+ type: "uint256",
455
+ },
456
+ {
457
+ internalType: "uint256",
458
+ name: "available",
459
+ type: "uint256",
460
+ },
461
+ {
462
+ internalType: "address",
463
+ name: "tokenAddress",
464
+ type: "address",
465
+ },
466
+ ],
467
+ name: "TokenRateLimitReached",
468
+ type: "error",
469
+ },
470
+ {
471
+ inputs: [],
472
+ name: "TokenTransferInFailed",
473
+ type: "error",
474
+ },
475
+ {
476
+ inputs: [],
477
+ name: "TokenTransferOutFailed",
478
+ type: "error",
479
+ },
480
+ {
481
+ inputs: [],
482
+ name: "TooMuchRepay",
483
+ type: "error",
484
+ },
485
+ {
486
+ inputs: [],
487
+ name: "TransferNotAllowed",
488
+ type: "error",
489
+ },
490
+ {
491
+ inputs: [],
492
+ name: "TransferPaused",
493
+ type: "error",
494
+ },
495
+ {
496
+ inputs: [],
497
+ name: "UnderlyingBalanceError",
498
+ type: "error",
499
+ },
500
+ {
501
+ anonymous: false,
502
+ inputs: [
503
+ {
504
+ indexed: true,
505
+ internalType: "uint256",
506
+ name: "agreementId",
507
+ type: "uint256",
508
+ },
509
+ {
510
+ indexed: true,
511
+ internalType: "address",
512
+ name: "beneficiary",
513
+ type: "address",
514
+ },
515
+ {
516
+ indexed: true,
517
+ internalType: "address",
518
+ name: "asset",
519
+ type: "address",
520
+ },
521
+ {
522
+ indexed: false,
523
+ internalType: "enum ITimelock.TimeLockActionType",
524
+ name: "actionType",
525
+ type: "uint8",
526
+ },
527
+ {
528
+ indexed: false,
529
+ internalType: "uint256",
530
+ name: "amount",
531
+ type: "uint256",
532
+ },
533
+ ],
534
+ name: "AgreementClaimed",
535
+ type: "event",
536
+ },
537
+ {
538
+ anonymous: false,
539
+ inputs: [
540
+ {
541
+ indexed: true,
542
+ internalType: "uint256",
543
+ name: "agreementId",
544
+ type: "uint256",
545
+ },
546
+ {
547
+ indexed: true,
548
+ internalType: "address",
549
+ name: "beneficiary",
550
+ type: "address",
551
+ },
552
+ {
553
+ indexed: true,
554
+ internalType: "address",
555
+ name: "asset",
556
+ type: "address",
557
+ },
558
+ {
559
+ indexed: false,
560
+ internalType: "enum ITimelock.TimeLockActionType",
561
+ name: "actionType",
562
+ type: "uint8",
563
+ },
564
+ {
565
+ indexed: false,
566
+ internalType: "uint256",
567
+ name: "amount",
568
+ type: "uint256",
569
+ },
570
+ {
571
+ indexed: false,
572
+ internalType: "uint256",
573
+ name: "timestamp",
574
+ type: "uint256",
575
+ },
576
+ ],
577
+ name: "AgreementCreated",
578
+ type: "event",
579
+ },
580
+ {
581
+ anonymous: false,
582
+ inputs: [
583
+ {
584
+ indexed: false,
585
+ internalType: "uint256",
586
+ name: "agreementId",
587
+ type: "uint256",
588
+ },
589
+ {
590
+ indexed: false,
591
+ internalType: "bool",
592
+ name: "value",
593
+ type: "bool",
594
+ },
595
+ ],
596
+ name: "AgreementFrozen",
597
+ type: "event",
598
+ },
599
+ {
600
+ anonymous: false,
601
+ inputs: [
602
+ {
603
+ indexed: true,
604
+ internalType: "address",
605
+ name: "token",
606
+ type: "address",
607
+ },
608
+ {
609
+ indexed: true,
610
+ internalType: "address",
611
+ name: "to",
612
+ type: "address",
613
+ },
614
+ {
615
+ indexed: false,
616
+ internalType: "uint256",
617
+ name: "amount",
618
+ type: "uint256",
619
+ },
620
+ ],
621
+ name: "RescueERC20",
622
+ type: "event",
623
+ },
624
+ {
625
+ anonymous: false,
626
+ inputs: [
627
+ {
628
+ indexed: true,
629
+ internalType: "bytes32",
630
+ name: "role",
631
+ type: "bytes32",
632
+ },
633
+ {
634
+ indexed: true,
635
+ internalType: "bytes32",
636
+ name: "previousAdminRole",
637
+ type: "bytes32",
638
+ },
639
+ {
640
+ indexed: true,
641
+ internalType: "bytes32",
642
+ name: "newAdminRole",
643
+ type: "bytes32",
644
+ },
645
+ ],
646
+ name: "RoleAdminChanged",
647
+ type: "event",
648
+ },
649
+ {
650
+ anonymous: false,
651
+ inputs: [
652
+ {
653
+ indexed: true,
654
+ internalType: "bytes32",
655
+ name: "role",
656
+ type: "bytes32",
657
+ },
658
+ {
659
+ indexed: true,
660
+ internalType: "address",
661
+ name: "account",
662
+ type: "address",
663
+ },
664
+ {
665
+ indexed: true,
666
+ internalType: "address",
667
+ name: "sender",
668
+ type: "address",
669
+ },
670
+ ],
671
+ name: "RoleGranted",
672
+ type: "event",
673
+ },
674
+ {
675
+ anonymous: false,
676
+ inputs: [
677
+ {
678
+ indexed: true,
679
+ internalType: "bytes32",
680
+ name: "role",
681
+ type: "bytes32",
682
+ },
683
+ {
684
+ indexed: true,
685
+ internalType: "address",
686
+ name: "account",
687
+ type: "address",
688
+ },
689
+ {
690
+ indexed: true,
691
+ internalType: "address",
692
+ name: "sender",
693
+ type: "address",
694
+ },
695
+ ],
696
+ name: "RoleRevoked",
697
+ type: "event",
698
+ },
699
+ {
700
+ anonymous: false,
701
+ inputs: [
702
+ {
703
+ indexed: false,
704
+ internalType: "bool",
705
+ name: "value",
706
+ type: "bool",
707
+ },
708
+ ],
709
+ name: "TimeLockFrozen",
710
+ type: "event",
711
+ },
712
+ {
713
+ inputs: [],
714
+ name: "DEFAULT_ADMIN_ROLE",
715
+ outputs: [
716
+ {
717
+ internalType: "bytes32",
718
+ name: "",
719
+ type: "bytes32",
720
+ },
721
+ ],
722
+ stateMutability: "view",
723
+ type: "function",
724
+ },
725
+ {
726
+ inputs: [],
727
+ name: "EMERGENCY_ADMIN",
728
+ outputs: [
729
+ {
730
+ internalType: "bytes32",
731
+ name: "",
732
+ type: "bytes32",
733
+ },
734
+ ],
735
+ stateMutability: "view",
736
+ type: "function",
737
+ },
738
+ {
739
+ inputs: [],
740
+ name: "agreementCount",
741
+ outputs: [
742
+ {
743
+ internalType: "uint256",
744
+ name: "",
745
+ type: "uint256",
746
+ },
747
+ ],
748
+ stateMutability: "view",
749
+ type: "function",
750
+ },
751
+ {
752
+ inputs: [
753
+ {
754
+ internalType: "uint256",
755
+ name: "",
756
+ type: "uint256",
757
+ },
758
+ ],
759
+ name: "agreements",
760
+ outputs: [
761
+ {
762
+ internalType: "bool",
763
+ name: "isFrozen",
764
+ type: "bool",
765
+ },
766
+ {
767
+ internalType: "enum ITimelock.TimeLockActionType",
768
+ name: "actionType",
769
+ type: "uint8",
770
+ },
771
+ {
772
+ internalType: "address",
773
+ name: "cToken",
774
+ type: "address",
775
+ },
776
+ {
777
+ internalType: "address",
778
+ name: "beneficiary",
779
+ type: "address",
780
+ },
781
+ {
782
+ internalType: "uint48",
783
+ name: "timestamp",
784
+ type: "uint48",
785
+ },
786
+ {
787
+ internalType: "uint256",
788
+ name: "agreementId",
789
+ type: "uint256",
790
+ },
791
+ {
792
+ internalType: "uint256",
793
+ name: "underlyAmount",
794
+ type: "uint256",
795
+ },
796
+ ],
797
+ stateMutability: "view",
798
+ type: "function",
799
+ },
800
+ {
801
+ inputs: [
802
+ {
803
+ internalType: "address",
804
+ name: "",
805
+ type: "address",
806
+ },
807
+ ],
808
+ name: "balances",
809
+ outputs: [
810
+ {
811
+ internalType: "uint256",
812
+ name: "",
813
+ type: "uint256",
814
+ },
815
+ ],
816
+ stateMutability: "view",
817
+ type: "function",
818
+ },
819
+ {
820
+ inputs: [
821
+ {
822
+ internalType: "uint256[]",
823
+ name: "agreementIds",
824
+ type: "uint256[]",
825
+ },
826
+ ],
827
+ name: "claim",
828
+ outputs: [],
829
+ stateMutability: "nonpayable",
830
+ type: "function",
831
+ },
832
+ {
833
+ inputs: [
834
+ {
835
+ internalType: "uint256",
836
+ name: "underlyAmount",
837
+ type: "uint256",
838
+ },
839
+ {
840
+ internalType: "address",
841
+ name: "cToken",
842
+ type: "address",
843
+ },
844
+ ],
845
+ name: "consumeValue",
846
+ outputs: [],
847
+ stateMutability: "nonpayable",
848
+ type: "function",
849
+ },
850
+ {
851
+ inputs: [
852
+ {
853
+ internalType: "uint256",
854
+ name: "underlyAmount",
855
+ type: "uint256",
856
+ },
857
+ {
858
+ internalType: "address",
859
+ name: "cToken",
860
+ type: "address",
861
+ },
862
+ ],
863
+ name: "consumeValuePreview",
864
+ outputs: [
865
+ {
866
+ internalType: "bool",
867
+ name: "",
868
+ type: "bool",
869
+ },
870
+ ],
871
+ stateMutability: "view",
872
+ type: "function",
873
+ },
874
+ {
875
+ inputs: [
876
+ {
877
+ internalType: "enum ITimelock.TimeLockActionType",
878
+ name: "actionType",
879
+ type: "uint8",
880
+ },
881
+ {
882
+ internalType: "address",
883
+ name: "cToken",
884
+ type: "address",
885
+ },
886
+ {
887
+ internalType: "uint256",
888
+ name: "underlyAmount",
889
+ type: "uint256",
890
+ },
891
+ {
892
+ internalType: "address",
893
+ name: "beneficiary",
894
+ type: "address",
895
+ },
896
+ ],
897
+ name: "createAgreement",
898
+ outputs: [
899
+ {
900
+ internalType: "uint256",
901
+ name: "",
902
+ type: "uint256",
903
+ },
904
+ ],
905
+ stateMutability: "nonpayable",
906
+ type: "function",
907
+ },
908
+ {
909
+ inputs: [],
910
+ name: "freeze",
911
+ outputs: [],
912
+ stateMutability: "nonpayable",
913
+ type: "function",
914
+ },
915
+ {
916
+ inputs: [
917
+ {
918
+ internalType: "uint256",
919
+ name: "agreementId",
920
+ type: "uint256",
921
+ },
922
+ ],
923
+ name: "freezeAgreement",
924
+ outputs: [],
925
+ stateMutability: "nonpayable",
926
+ type: "function",
927
+ },
928
+ {
929
+ inputs: [],
930
+ name: "frozen",
931
+ outputs: [
932
+ {
933
+ internalType: "bool",
934
+ name: "",
935
+ type: "bool",
936
+ },
937
+ ],
938
+ stateMutability: "view",
939
+ type: "function",
940
+ },
941
+ {
942
+ inputs: [
943
+ {
944
+ internalType: "bytes32",
945
+ name: "role",
946
+ type: "bytes32",
947
+ },
948
+ ],
949
+ name: "getRoleAdmin",
950
+ outputs: [
951
+ {
952
+ internalType: "bytes32",
953
+ name: "",
954
+ type: "bytes32",
955
+ },
956
+ ],
957
+ stateMutability: "view",
958
+ type: "function",
959
+ },
960
+ {
961
+ inputs: [
962
+ {
963
+ internalType: "bytes32",
964
+ name: "role",
965
+ type: "bytes32",
966
+ },
967
+ {
968
+ internalType: "uint256",
969
+ name: "index",
970
+ type: "uint256",
971
+ },
972
+ ],
973
+ name: "getRoleMember",
974
+ outputs: [
975
+ {
976
+ internalType: "address",
977
+ name: "",
978
+ type: "address",
979
+ },
980
+ ],
981
+ stateMutability: "view",
982
+ type: "function",
983
+ },
984
+ {
985
+ inputs: [
986
+ {
987
+ internalType: "bytes32",
988
+ name: "role",
989
+ type: "bytes32",
990
+ },
991
+ ],
992
+ name: "getRoleMemberCount",
993
+ outputs: [
994
+ {
995
+ internalType: "uint256",
996
+ name: "",
997
+ type: "uint256",
998
+ },
999
+ ],
1000
+ stateMutability: "view",
1001
+ type: "function",
1002
+ },
1003
+ {
1004
+ inputs: [
1005
+ {
1006
+ internalType: "bytes32",
1007
+ name: "role",
1008
+ type: "bytes32",
1009
+ },
1010
+ {
1011
+ internalType: "address",
1012
+ name: "account",
1013
+ type: "address",
1014
+ },
1015
+ ],
1016
+ name: "grantRole",
1017
+ outputs: [],
1018
+ stateMutability: "nonpayable",
1019
+ type: "function",
1020
+ },
1021
+ {
1022
+ inputs: [
1023
+ {
1024
+ internalType: "bytes32",
1025
+ name: "role",
1026
+ type: "bytes32",
1027
+ },
1028
+ {
1029
+ internalType: "address",
1030
+ name: "account",
1031
+ type: "address",
1032
+ },
1033
+ ],
1034
+ name: "hasRole",
1035
+ outputs: [
1036
+ {
1037
+ internalType: "bool",
1038
+ name: "",
1039
+ type: "bool",
1040
+ },
1041
+ ],
1042
+ stateMutability: "view",
1043
+ type: "function",
1044
+ },
1045
+ {
1046
+ inputs: [],
1047
+ name: "maxDelay",
1048
+ outputs: [
1049
+ {
1050
+ internalType: "uint48",
1051
+ name: "",
1052
+ type: "uint48",
1053
+ },
1054
+ ],
1055
+ stateMutability: "view",
1056
+ type: "function",
1057
+ },
1058
+ {
1059
+ inputs: [
1060
+ {
1061
+ internalType: "bytes32",
1062
+ name: "role",
1063
+ type: "bytes32",
1064
+ },
1065
+ {
1066
+ internalType: "address",
1067
+ name: "account",
1068
+ type: "address",
1069
+ },
1070
+ ],
1071
+ name: "renounceRole",
1072
+ outputs: [],
1073
+ stateMutability: "nonpayable",
1074
+ type: "function",
1075
+ },
1076
+ {
1077
+ inputs: [
1078
+ {
1079
+ internalType: "address",
1080
+ name: "token",
1081
+ type: "address",
1082
+ },
1083
+ {
1084
+ internalType: "address",
1085
+ name: "to",
1086
+ type: "address",
1087
+ },
1088
+ {
1089
+ internalType: "uint256",
1090
+ name: "amount",
1091
+ type: "uint256",
1092
+ },
1093
+ ],
1094
+ name: "rescueERC20",
1095
+ outputs: [],
1096
+ stateMutability: "nonpayable",
1097
+ type: "function",
1098
+ },
1099
+ {
1100
+ inputs: [
1101
+ {
1102
+ internalType: "bytes32",
1103
+ name: "role",
1104
+ type: "bytes32",
1105
+ },
1106
+ {
1107
+ internalType: "address",
1108
+ name: "account",
1109
+ type: "address",
1110
+ },
1111
+ ],
1112
+ name: "revokeRole",
1113
+ outputs: [],
1114
+ stateMutability: "nonpayable",
1115
+ type: "function",
1116
+ },
1117
+ {
1118
+ inputs: [
1119
+ {
1120
+ components: [
1121
+ {
1122
+ internalType: "bool",
1123
+ name: "isEnabled",
1124
+ type: "bool",
1125
+ },
1126
+ {
1127
+ internalType: "uint256",
1128
+ name: "capacity",
1129
+ type: "uint256",
1130
+ },
1131
+ {
1132
+ internalType: "uint256",
1133
+ name: "rate",
1134
+ type: "uint256",
1135
+ },
1136
+ ],
1137
+ internalType: "struct RateLimiter.Config",
1138
+ name: "config",
1139
+ type: "tuple",
1140
+ },
1141
+ ],
1142
+ name: "setRateLimiterConfig",
1143
+ outputs: [],
1144
+ stateMutability: "nonpayable",
1145
+ type: "function",
1146
+ },
1147
+ {
1148
+ inputs: [
1149
+ {
1150
+ internalType: "bytes4",
1151
+ name: "interfaceId",
1152
+ type: "bytes4",
1153
+ },
1154
+ ],
1155
+ name: "supportsInterface",
1156
+ outputs: [
1157
+ {
1158
+ internalType: "bool",
1159
+ name: "",
1160
+ type: "bool",
1161
+ },
1162
+ ],
1163
+ stateMutability: "view",
1164
+ type: "function",
1165
+ },
1166
+ {
1167
+ inputs: [],
1168
+ name: "unfreeze",
1169
+ outputs: [],
1170
+ stateMutability: "nonpayable",
1171
+ type: "function",
1172
+ },
1173
+ {
1174
+ inputs: [
1175
+ {
1176
+ internalType: "uint256",
1177
+ name: "agreementId",
1178
+ type: "uint256",
1179
+ },
1180
+ ],
1181
+ name: "unfreezeAgreement",
1182
+ outputs: [],
1183
+ stateMutability: "nonpayable",
1184
+ type: "function",
1185
+ },
1186
+ {
1187
+ inputs: [
1188
+ {
1189
+ internalType: "address",
1190
+ name: "user",
1191
+ type: "address",
1192
+ },
1193
+ ],
1194
+ name: "userAgreements",
1195
+ outputs: [
1196
+ {
1197
+ components: [
1198
+ {
1199
+ internalType: "bool",
1200
+ name: "isFrozen",
1201
+ type: "bool",
1202
+ },
1203
+ {
1204
+ internalType: "enum ITimelock.TimeLockActionType",
1205
+ name: "actionType",
1206
+ type: "uint8",
1207
+ },
1208
+ {
1209
+ internalType: "address",
1210
+ name: "cToken",
1211
+ type: "address",
1212
+ },
1213
+ {
1214
+ internalType: "address",
1215
+ name: "beneficiary",
1216
+ type: "address",
1217
+ },
1218
+ {
1219
+ internalType: "uint48",
1220
+ name: "timestamp",
1221
+ type: "uint48",
1222
+ },
1223
+ {
1224
+ internalType: "uint256",
1225
+ name: "agreementId",
1226
+ type: "uint256",
1227
+ },
1228
+ {
1229
+ internalType: "uint256",
1230
+ name: "underlyAmount",
1231
+ type: "uint256",
1232
+ },
1233
+ ],
1234
+ internalType: "struct ITimelock.Agreement[]",
1235
+ name: "",
1236
+ type: "tuple[]",
1237
+ },
1238
+ ],
1239
+ stateMutability: "view",
1240
+ type: "function",
1241
+ },
1242
+ {
1243
+ stateMutability: "payable",
1244
+ type: "receive",
1245
+ },
1246
+ ];
1247
+ const _bytecode = "0x6080346200020957601f620027a738819003918201601f19168301926001600160401b0392909183851183861017620001f3578160609284926040978852833981010312620002095780516001600160a01b03811681036200020957602082810151928501516001600281905560078054610100600160d81b03191660389590951b600160381b600160d81b0316949094176302a300001790935585519491939160a08601904263ffffffff1690821187831017620001f3578360806200017698640100000000948b528581528389820152878b82015285606082015201528260085564ffffffffff19600954161717600955600a55600b55600091828052828152848320338452815260ff858420541615620001bc575b8280528181526200012b338685206200020e565b507f5c91514091af31f62f596a314af7d5be40146b2f2355969392f055e12e0982fb808452838252858420338552825260ff86852054161562000185575b835252823391206200020e565b50516124eb90816200029c8239f35b80845283825285842033855282528584208360ff19825416179055333382600080516020620027878339815191528780a462000169565b82805282815284832033845281528483208260ff19825416179055333384600080516020620027878339815191528180a462000117565b634e487b7160e01b600052604160045260246000fd5b600080fd5b919060018301600090828252806020526040822054156000146200029557845494680100000000000000008610156200028157600186018082558610156200026d57836040949596828552602085200155549382526020522055600190565b634e487b7160e01b83526032600452602483fd5b634e487b7160e01b83526041600452602483fd5b5092505056fe608080604052600436101561001d575b50361561001b57600080fd5b005b60e0600035811c91826301ffc9a7146116eb57508163054f7d9c146116c857816321b3da4c1461162f578163248a9ca31461160057816327e235e3146115c65781632f2ff15d1461150157816336568abe1461146f57816342065461146113a457816362a5af3b1461131e5781636a28f0001461129b5781636ba4c13814610c8d578163828af1c014610aa15781639010d07c14610a5a57816391d1485414610a0d578163a217fddf146109f1578163b2118a8d14610949578163b5eb38d9146104f8578163b6445250146104bd578163bb7bb2781461049f578163bd14de961461041657508063c00be5a11461037a578063ca15c8731461034e578063d41efdfa146101f2578063d547741f146101b3578063d6585ecf146101785763ed49d2f81461014a573861000f565b3461017357600036600319011261017357602065ffffffffffff60075460081c16604051908152f35b600080fd5b346101735760003660031901126101735760206040517f5c91514091af31f62f596a314af7d5be40146b2f2355969392f055e12e0982fb8152f35b346101735760403660031901126101735761001b6004356101d261176e565b908060005260006020526101ed6001604060002001546117eb565b611b68565b34610173576060366003190112610173576040516060810181811067ffffffffffffffff82111761033857604052600435801515810361017357816060917fd81316039ca689e34bf4e512b4fc490ac9997e2cfe8bb6bd575eefa7c1d11dfd93526020810160243581526040820190604435825260008052600060205260406000203360005260205261028c60ff604060002054166121b0565b63ffffffff61029f816009541642611cd8565b90816102ff575b50508051926008548085106000146102fa5750835b6008555115159260095464ff000000008560201b169064ff00000000191617600955600a558151600b55604051928352516020830152516040820152a1005b6102bb565b61031661033192600a5490600854600b5492612036565b600855421663ffffffff1663ffffffff196009541617600955565b85806102a6565b634e487b7160e01b600052604160045260246000fd5b346101735760203660031901126101735760043560005260016020526020604060002054604051908152f35b34610173576020366003190112610173573360009081527fac55d60145c2b1e72232130507b090ddd2cd26daa31eeab1e3e64b89140e668d602052604090819020547f17d959c0b127f515500ffa7023094c3b316df7b6560c901b523cd2cdd18284279190600435906103ef9060ff166121ef565b80600052600460205281600020600160ff19825416179055815190815260016020820152a1005b34610173576020366003190112610173576004356000526004602052604060002080549060018101549065ffffffffffff60036002830154920154926040519460ff8116151586526104716020870160ff8360081c16611784565b60018060a01b03809160101c1660408701528116606086015260a01c16608084015260a083015260c0820152f35b34610173576000366003190112610173576020600654604051908152f35b346101735760403660031901126101735760206104d861176e565b6104ec6104e361215f565b9160043561205b565b90511015604051908152f35b3461017357608036600319011261017357600260043510156101735761051c61176e565b606435906001600160a01b038216820361017357604051637f4e225760e11b81526001600160a01b03919091169190602081600481865afa80156108685761092a575b50600754604051637bca031760e11b815260048101849052906020908290602490829060381c6001600160a01b03165afa908115610868576000916108fb575b50156108e9576001600160a01b038116156108a557604051636f307dc360e01b815290602082600481865afa91821561086857600092610874575b506001600160a01b0382166107fc57475b60018060a01b038316600052600560205261060d604435604060002054611c02565b81106107c7576001600160a01b0383166000908152600560205260409020556006549161063983612436565b6006556040519361064985611791565b60008552602085019061065e60043583612445565b604086015260018060a01b038316606086015265ffffffffffff421660808601528360a086015260443560c08601528360005260046020526040600020908551151590825490519660028810156107b15760209760039360c09360ff61ff0062010000600160b01b03604087015160101b169460081b1692169069ffffffffffffffffffff60b01b1617171784556001840160018060a01b0360608301511681549065ffffffffffff60a01b608085015160a01b169165ffffffffffff60d01b161717905560a08101516002850155015191015560018060a01b03821660005260038452610750836040600020611c4e565b50827fd2d686f6b85f6de51ab1c5671f77dc4ca551cd74da2e8a99fdf7b4b9f0f5c0fb60606040519361078585600435611784565b604435858901524265ffffffffffff1660408601526001600160a01b03908116951693a4604051908152f35b634e487b7160e01b600052602160045260246000fd5b60405162461bcd60e51b815260206004820152600d60248201526c3130b630b731b29032b93937b960991b6044820152606490fd5b6040516370a0823160e01b81523060048201526020816024816001600160a01b0387165afa90811561086857600091610836575b506105eb565b90506020813d602011610860575b81610851602093836117c9565b81010312610173575184610830565b3d9150610844565b6040513d6000823e3d90fd5b61089791925060203d60201161089e575b61088f81836117c9565b810190611dd9565b90836105da565b503d610885565b606460405162461bcd60e51b815260206004820152602060248201527f42656e65666963696172792063616e74206265207a65726f20616464726573736044820152fd5b6040516341554b6360e01b8152600490fd5b61091d915060203d602011610923575b61091581836117c9565b810190611dc1565b8361059f565b503d61090b565b6109429060203d6020116109235761091581836117c9565b508261055f565b3461017357606036600319011261017357610962611758565b61096a61176e565b3360009081527fac55d60145c2b1e72232130507b090ddd2cd26daa31eeab1e3e64b89140e668d6020908152604090912054604435937f9b793652de97f04c5168920587bad4b1c6345295a8f5ad31c59ff946a26f91d292916109cf9060ff166121ef565b6001600160a01b03908116936109e686828761223b565b6040519586521693a3005b3461017357600036600319011261017357602060405160008152f35b3461017357604036600319011261017357610a2661176e565b600435600052600060205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b346101735760403660031901126101735760043560005260016020526020610a886024356040600020611c36565b905460405160039290921b1c6001600160a01b03168152f35b34610173576020908160031936011261017357906001600160a01b0380610ac6611758565b169081600052600380845260406000205490610ae182612489565b93610aef60405195866117c9565b828552601f19610afe84612489565b0160005b818110610c6c57505060005b838110610bb357505050506040519280840191818552835180935281604086019401956000915b848310610b425786860387f35b909192939484836001928a51805115158252610b648482015185840190611784565b856040820151166040830152606086818301511690830152608065ffffffffffff81830151169083015260a0808201519083015260c08091015190820152019801930191909694939296610b35565b610c619082600099979998969852838652610bd2816040600020611c36565b905490851b1c6000526004865260406000208460405191610bf283611791565b8a8154610c0e60ff808316151587528260081c168c8701612445565b60101c16604084015260018101548b8116606085015265ffffffffffff60a091821c166080850152600282015490840152015460c0820152610c50828b6124a1565b52610c5b818a6124a1565b50612436565b969496959395610b0e565b96809597610c7b999799612451565b82828c01015201979597969496610b02565b346101735760203660031901126101735767ffffffffffffffff806004351161017357366023600435011215610173576004356004013511610173573660246004356004013560051b600435010111610173576002805414611256576002805560ff6007541661121c5760005b600435600401358110610d0e576001600255005b610d16612451565b5060248160051b600435010135600052600460205260406000209060405191610d3e83611791565b80549060ff821615158452610d5c60ff8360081c1660208601612445565b6001600160a01b03601092831c8116604086015260018201549081166060860181905265ffffffffffff60a092831c16608087015260028301549186019190915260039091015460c085015233036111e55782516111ae57506040828101519051636f307dc360e01b815290602090829060049082906001600160a01b03165afa9081156108685760009161118f575b5065ffffffffffff60808401511665ffffffffffff60075460081c160165ffffffffffff81116111795765ffffffffffff8042169116116000146111595760c083015160408401516001600160a01b031690610e4661215f565b604051636f307dc360e01b81529092602082600481845afa91821561086857600092611136575b50610e78919261205b565b9151821161110357610e8991611e5f565b60248260051b60043501013560005260046020526000600360408220828155826001820155826002820155015560018060a01b036060840151166000526003602052610ee460248360051b6004350101356040600020611ce5565b5060018060a01b0360608401511660208401519160028310156107b15760c0850151610f136040518095611784565b60208401526001600160a01b031691600435600585901b0160240135907f54faf54f8b8d62435d9f9401f1ea79d3ad57f67220ba03eef6192966030ebff190604090a46040828101519051636f307dc360e01b815290602090829060049082906001600160a01b03165afa908115610868576000916110e4575b506001600160a01b0381166110b657606083015160c0840151906001600160a01b031647821161107157600080809381936114b4f1610fca612365565b50156110065760c0611001935b01519060018060a01b03166000526005602052610ffa6040600020918254611cd8565b9055612436565b610cfa565b60405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608490fd5b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606490fd5b606083015160c0848101516110019591926110df91906001600160a01b0390811690861661223b565b610fd7565b6110fd915060203d60201161089e5761088f81836117c9565b83610f8d565b505061110d6120f3565b5060006008556009805463ffffffff19164263ffffffff1617905561113061211e565b50610e89565b610e7892506111539060203d60201161089e5761088f81836117c9565b91610e6d565b61117460c084015160018060a01b0360408601511690611df8565b610e89565b634e487b7160e01b600052601160045260246000fd5b6111a8915060203d60201161089e5761088f81836117c9565b83610dec565b6064906040519062461bcd60e51b82526020600483015260248201526f20b3b932b2b6b2b73a10333937bd32b760811b6044820152fd5b60405162461bcd60e51b815260206004820152600f60248201526e4e6f742062656e656669636961727960881b6044820152606490fd5b60405162461bcd60e51b81526020600482015260126024820152712a34b6b2a637b1b59034b990333937bd32b760711b6044820152606490fd5b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b34610173576000366003190112610173573360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb560205260409020546112e79060ff166121b0565b60ff19600754166007557f0ce8871c7e2eb42254688f1718b08852040553665ad8b4e64d57729e3bffcae8602060405160008152a1005b34610173576000366003190112610173573360009081527fac55d60145c2b1e72232130507b090ddd2cd26daa31eeab1e3e64b89140e668d602052604090205461136a9060ff166121ef565b600160ff1960075416176007557f0ce8871c7e2eb42254688f1718b08852040553665ad8b4e64d57729e3bffcae8602060405160018152a1005b34610173576040366003190112610173576113bd61176e565b604051637f4e225760e11b81526020906001600160a01b0383811691908382600481865afa918215610868578492611452575b5060075460381c1691602460405180948193637bca031760e11b835260048301525afa91821561086857600092611435575b5050156108e95761001b90600435611df8565b61144b9250803d106109235761091581836117c9565b8280611422565b61146890833d85116109235761091581836117c9565b50856113f0565b346101735760403660031901126101735761148861176e565b336001600160a01b038216036114a45761001b90600435611b68565b60405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608490fd5b346101735760403660031901126101735761001b600435600161152261176e565b91806000526020906000825261153e83604060002001546117eb565b8060005260008252604060002093838060a01b03169384600052825260ff6040600020541615611577575b600052526040600020611c4e565b8060005260008252604060002084600052825260406000208360ff198254161790553384827f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d600080a4611569565b34610173576020366003190112610173576001600160a01b036115e7611758565b1660005260056020526020604060002054604051908152f35b346101735760203660031901126101735760043560005260006020526020600160406000200154604051908152f35b34610173576020366003190112610173573360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090819020547f17d959c0b127f515500ffa7023094c3b316df7b6560c901b523cd2cdd18284279190600435906116a49060ff166121b0565b8060005260046020528160002060ff198154169055815190815260006020820152a1005b3461017357600036600319011261017357602060ff600754166040519015158152f35b34610173576020366003190112610173576004359063ffffffff60e01b821680920361017357602091635a05180f60e01b811490811561172d575b5015158152f35b637965db0b60e01b811491508115611747575b5083611726565b6301ffc9a760e01b14905083611740565b600435906001600160a01b038216820361017357565b602435906001600160a01b038216820361017357565b9060028210156107b15752565b60e0810190811067ffffffffffffffff82111761033857604052565b60a0810190811067ffffffffffffffff82111761033857604052565b90601f8019910116810190811067ffffffffffffffff82111761033857604052565b6000818152602090808252604092838220338352835260ff8483205416156118135750505050565b835167ffffffffffffffff9190336060820184811183821017611b05578752602a82528582019287368537825115611af15760308453825191600192831015611add576078602185015360295b838111611a735750611a315790875194608086019086821090821117611a1d57885260428552868501956060368837855115611a0957603087538551821015611a095790607860218701536041915b81831161199b575050506119595793859361193f936119306048946119077f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000996119559b519a8b978801525180926037880190611b19565b8401917001034b99036b4b9b9b4b733903937b6329607d1b603784015251809386840190611b19565b010360288101855201836117c9565b5162461bcd60e51b815291829160048301611b3c565b0390fd5b60648587519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b909192600f811660108110156119f5576f181899199a1a9b1b9c1cb0b131b232b360811b901a6119cb8589611c0f565b5360041c9280156119e1576000190191906118af565b634e487b7160e01b82526011600452602482fd5b634e487b7160e01b83526032600452602483fd5b634e487b7160e01b81526032600452602490fd5b634e487b7160e01b87526041600452602487fd5b60648789519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b90600f81166010811015611ac9576f181899199a1a9b1b9c1cb0b131b232b360811b901a611aa18387611c0f565b5360041c908015611ab55760001901611860565b634e487b7160e01b88526011600452602488fd5b634e487b7160e01b89526032600452602489fd5b634e487b7160e01b87526032600452602487fd5b634e487b7160e01b86526032600452602486fd5b634e487b7160e01b86526041600452602486fd5b60005b838110611b2c5750506000910152565b8181015183820152602001611b1c565b60409160208252611b5c8151809281602086015260208686019101611b19565b601f01601f1916010190565b906040611ba592600090808252816020528282209360018060a01b03169384835260205260ff8383205416611ba8575b8152600160205220611ce5565b50565b8082528160205282822084835260205282822060ff1981541690553384827ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b8580a4611b98565b8181029291811591840414171561117957565b9190820180921161117957565b908151811015611c20570160200190565b634e487b7160e01b600052603260045260246000fd5b8054821015611c205760005260206000200190600090565b91906001830160009082825280602052604082205415600014611cd25784549468010000000000000000861015611cbe5783611cae611c97886001604098999a01855584611c36565b819391549060031b91821b91600019901b19161790565b9055549382526020522055600190565b634e487b7160e01b83526041600452602483fd5b50925050565b9190820391821161117957565b90600182019060009281845282602052604084205490811515600014611dba5760001991808301818111611da657825490848201918211611ab557808203611d71575b50505080548015611d5d57820191611d408383611c36565b909182549160031b1b191690555582526020526040812055600190565b634e487b7160e01b86526031600452602486fd5b611d91611d81611c979386611c36565b90549060031b1c92839286611c36565b90558652846020526040862055388080611d28565b634e487b7160e01b87526011600452602487fd5b5050505090565b90816020910312610173575180151581036101735790565b9081602091031261017357516001600160a01b03811681036101735790565b604051636f307dc360e01b8152916020836004816001600160a01b0385165afa90811561086857611e3b93600092611e3d575b50611e36919261205b565b611e5f565b565b611e369250611e599060203d811161089e5761088f81836117c9565b91611e2b565b6009549291602084901c60ff1615801561202e575b6120285760085493600a549063ffffffff90611e9282821642611cd8565b80611fe7575b505050828110611f875750818410611ee6575080611eda6020927f1871cdf8010e63f2eb8384381a68dfa7416dc571a5517e66e88b2d2d0c0a690a9495611cd8565b600855604051908152a1565b9150611ef583600b5492611cd8565b600019820182811161117957611f0a91611c02565b8115611f715704906001600160a01b03811615611f5357604051636864691d60e11b8152600481019290925260248201929092526001600160a01b039091166044820152606490fd5b50604491604051916302a4f38160e31b835260048301526024820152fd5b634e487b7160e01b600052601260045260246000fd5b906001600160a01b03811615611fc957604051630d3b2b9560e11b8152600481019290925260248201929092526001600160a01b039091166044820152606490fd5b506044916040519163f94ebcd160e01b835260048301526024820152fd5b90919683811161201657611fff91600b549185612036565b9542169063ffffffff191617600955388080611e98565b604051634b92ca1560e11b8152600490fd5b50509050565b508115611e74565b926120449061204a93611bef565b90611c02565b80821015612056575090565b905090565b6007546040516312bdd04160e31b81526001600160a01b03938416600482015291926020918391602491839160389190911c165afa908115610868576000916120b7575b50670de0b6b3a7640000916120b391611bef565b0490565b906020823d82116120eb575b816120d0602093836117c9565b810103126120e8575051670de0b6b3a764000061209f565b80fd5b3d91506120c3565b60405190612100826117ad565b60006080838281528260208201528260408201528260608201520152565b6040519061212b826117ad565b81600854815260ff60095463ffffffff8116602084015260201c1615156040820152600a5460608201526080600b54910152565b6121676120f3565b5061217061211e565b6121786120f3565b50606081015181516121a7602084019263ffffffff9261219b8486511642611cd8565b90608087015192612036565b83524216905290565b156121b757565b60405162461bcd60e51b815260206004820152601060248201526f21a0a62622a92fa727aa2fa0a226a4a760811b6044820152606490fd5b156121f657565b60405162461bcd60e51b815260206004820152601a60248201527f43414c4c45525f4e4f545f454d455247454e43595f41444d494e0000000000006044820152606490fd5b60405163a9059cbb60e01b602082019081526001600160a01b039384166024830152604480830195909552938152608081019267ffffffffffffffff928385118386101761033857169160c082019081118482101761033857604052602083527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656460a0820152516122dd93600091829182855af16122d7612365565b916123a5565b805190811591821561234b575b5050156122f357565b60405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608490fd5b61235e9250602080918301019101611dc1565b38806122ea565b3d156123a0573d9067ffffffffffffffff82116103385760405191612394601f8201601f1916602001846117c9565b82523d6000602084013e565b606090565b9192901561240757508151156123b9575090565b3b156123c25790565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b82519091501561241a5750805190602001fd5b60405162461bcd60e51b81529081906119559060048301611b3c565b60001981146111795760010190565b60028210156107b15752565b6040519061245e82611791565b8160c06000918281528260208201528260408201528260608201528260808201528260a08201520152565b67ffffffffffffffff81116103385760051b60200190565b8051821015611c205760209160051b01019056fea2646970667358221220827e1327c4e77b5983eaefee58018a14eb5f9884d90460b9dbf8fb3a68526c9864736f6c634300081300332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d";
1248
+ const isSuperArgs = (xs) => xs.length > 1;
1249
+ class Timelock__factory extends ethers_1.ContractFactory {
1250
+ constructor(...args) {
1251
+ if (isSuperArgs(args)) {
1252
+ super(...args);
1253
+ }
1254
+ else {
1255
+ super(_abi, _bytecode, args[0]);
1256
+ }
1257
+ }
1258
+ getDeployTransaction(_comptroller, rate, capacity, overrides) {
1259
+ return super.getDeployTransaction(_comptroller, rate, capacity, overrides || {});
1260
+ }
1261
+ deploy(_comptroller, rate, capacity, overrides) {
1262
+ return super.deploy(_comptroller, rate, capacity, overrides || {});
1263
+ }
1264
+ connect(runner) {
1265
+ return super.connect(runner);
1266
+ }
1267
+ static createInterface() {
1268
+ return new ethers_1.Interface(_abi);
1269
+ }
1270
+ static connect(address, runner) {
1271
+ return new ethers_1.Contract(address, _abi, runner);
1272
+ }
1273
+ }
1274
+ exports.Timelock__factory = Timelock__factory;
1275
+ Timelock__factory.bytecode = _bytecode;
1276
+ Timelock__factory.abi = _abi;
1277
+ //# sourceMappingURL=Timelock__factory.js.map