@meterio/sumer-js 0.2.81 → 0.2.83

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 (91) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +240 -430
  3. package/dist/nodejs/abi.js +12972 -14587
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/arbitrum.d.ts +14 -2
  6. package/dist/nodejs/constants/arbitrum.js +11 -0
  7. package/dist/nodejs/constants/arbitrum.js.map +1 -1
  8. package/dist/nodejs/constants/b2main.d.ts +14 -2
  9. package/dist/nodejs/constants/b2main.js +10 -0
  10. package/dist/nodejs/constants/b2main.js.map +1 -1
  11. package/dist/nodejs/constants/basemain.d.ts +14 -2
  12. package/dist/nodejs/constants/basemain.js +10 -0
  13. package/dist/nodejs/constants/basemain.js.map +1 -1
  14. package/dist/nodejs/constants/berabartio.d.ts +23 -1
  15. package/dist/nodejs/constants/berabartio.js +46 -2
  16. package/dist/nodejs/constants/berabartio.js.map +1 -1
  17. package/dist/nodejs/constants/ethereum.d.ts +14 -2
  18. package/dist/nodejs/constants/ethereum.js +11 -0
  19. package/dist/nodejs/constants/ethereum.js.map +1 -1
  20. package/dist/nodejs/constants/index.js +2 -0
  21. package/dist/nodejs/constants/index.js.map +1 -1
  22. package/dist/nodejs/constants/merlin.d.ts +59 -0
  23. package/dist/nodejs/constants/merlin.js +135 -0
  24. package/dist/nodejs/constants/merlin.js.map +1 -0
  25. package/dist/nodejs/constants/metermain.d.ts +14 -2
  26. package/dist/nodejs/constants/metermain.js +10 -0
  27. package/dist/nodejs/constants/metermain.js.map +1 -1
  28. package/dist/nodejs/constants/metertest.d.ts +14 -2
  29. package/dist/nodejs/constants/metertest.js +12 -0
  30. package/dist/nodejs/constants/metertest.js.map +1 -1
  31. package/dist/nodejs/constants/sepolia.d.ts +14 -2
  32. package/dist/nodejs/constants/sepolia.js +9 -0
  33. package/dist/nodejs/constants/sepolia.js.map +1 -1
  34. package/dist/nodejs/errorABIs.js +265 -1090
  35. package/dist/nodejs/errorABIs.js.map +1 -1
  36. package/dist/nodejs/index.d.ts +240 -430
  37. package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +1 -9
  38. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +31 -90
  39. package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +1 -9
  40. package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +1 -68
  41. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +0 -8
  42. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -37
  43. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -46
  44. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  45. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -37
  46. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -46
  47. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  48. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +0 -36
  49. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +0 -45
  50. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
  51. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -37
  52. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -46
  53. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  54. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -47
  55. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -59
  56. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
  57. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +1 -37
  58. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +1 -46
  59. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  60. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
  61. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
  62. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +30 -134
  63. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +35 -168
  64. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
  65. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +1 -37
  66. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +1 -46
  67. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
  68. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
  69. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
  70. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +0 -10
  71. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +0 -13
  72. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
  73. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +0 -78
  74. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +0 -99
  75. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
  76. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.d.ts +1 -1
  77. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js +1 -1
  78. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +0 -4
  79. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +1 -5
  80. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  81. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +1 -37
  82. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +1 -46
  83. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
  84. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +1 -37
  85. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +1 -46
  86. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
  87. package/dist/nodejs/typechain/hardhat.d.ts +0 -144
  88. package/dist/nodejs/typechain/index.d.ts +0 -16
  89. package/dist/nodejs/typechain/index.js +2 -18
  90. package/dist/nodejs/typechain/index.js.map +1 -1
  91. package/package.json +1 -1
@@ -48,11 +48,6 @@ exports.errorABIs = [
48
48
  "name": "BorrowValueMustBeLargerThanThreshold",
49
49
  "type": "error"
50
50
  },
51
- {
52
- "inputs": [],
53
- "name": "CantEnterPausedMarket",
54
- "type": "error"
55
- },
56
51
  {
57
52
  "inputs": [],
58
53
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -70,43 +65,12 @@ exports.errorABIs = [
70
65
  },
71
66
  {
72
67
  "inputs": [],
73
- "name": "EitherAssetOrDebtMustBeZero",
74
- "type": "error"
75
- },
76
- {
77
- "inputs": [
78
- {
79
- "internalType": "uint8",
80
- "name": "groupId",
81
- "type": "uint8"
82
- },
83
- {
84
- "internalType": "uint256",
85
- "name": "cDepositVal",
86
- "type": "uint256"
87
- },
88
- {
89
- "internalType": "uint256",
90
- "name": "suDepositVal",
91
- "type": "uint256"
92
- },
93
- {
94
- "internalType": "uint256",
95
- "name": "cBorrowVal",
96
- "type": "uint256"
97
- },
98
- {
99
- "internalType": "uint256",
100
- "name": "suBorrowVal",
101
- "type": "uint256"
102
- }
103
- ],
104
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
68
+ "name": "ExpiredSignature",
105
69
  "type": "error"
106
70
  },
107
71
  {
108
72
  "inputs": [],
109
- "name": "ExpiredSignature",
73
+ "name": "GroupIdMismatch",
110
74
  "type": "error"
111
75
  },
112
76
  {
@@ -119,11 +83,6 @@ exports.errorABIs = [
119
83
  "name": "InsufficientShortfall",
120
84
  "type": "error"
121
85
  },
122
- {
123
- "inputs": [],
124
- "name": "InterMintNotAllowed",
125
- "type": "error"
126
- },
127
86
  {
128
87
  "inputs": [],
129
88
  "name": "InvalidAddress",
@@ -134,16 +93,6 @@ exports.errorABIs = [
134
93
  "name": "InvalidAmount",
135
94
  "type": "error"
136
95
  },
137
- {
138
- "inputs": [],
139
- "name": "InvalidBlockNumber",
140
- "type": "error"
141
- },
142
- {
143
- "inputs": [],
144
- "name": "InvalidCToken",
145
- "type": "error"
146
- },
147
96
  {
148
97
  "inputs": [],
149
98
  "name": "InvalidCloseFactor",
@@ -184,11 +133,6 @@ exports.errorABIs = [
184
133
  "name": "InvalidMinSuBorrowValue",
185
134
  "type": "error"
186
135
  },
187
- {
188
- "inputs": [],
189
- "name": "InvalidRedeem",
190
- "type": "error"
191
- },
192
136
  {
193
137
  "inputs": [],
194
138
  "name": "InvalidReduceAmount",
@@ -214,11 +158,6 @@ exports.errorABIs = [
214
158
  "name": "InvalidSuToken",
215
159
  "type": "error"
216
160
  },
217
- {
218
- "inputs": [],
219
- "name": "InvalidTimestamp",
220
- "type": "error"
221
- },
222
161
  {
223
162
  "inputs": [],
224
163
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -254,31 +193,16 @@ exports.errorABIs = [
254
193
  "name": "MarketAlreadyListed",
255
194
  "type": "error"
256
195
  },
257
- {
258
- "inputs": [],
259
- "name": "MarketAlreadyUnlisted",
260
- "type": "error"
261
- },
262
196
  {
263
197
  "inputs": [],
264
198
  "name": "MarketCanOnlyInitializeOnce",
265
199
  "type": "error"
266
200
  },
267
- {
268
- "inputs": [],
269
- "name": "MarketNotEmpty",
270
- "type": "error"
271
- },
272
201
  {
273
202
  "inputs": [],
274
203
  "name": "MarketNotListed",
275
204
  "type": "error"
276
205
  },
277
- {
278
- "inputs": [],
279
- "name": "MarketPaused",
280
- "type": "error"
281
- },
282
206
  {
283
207
  "inputs": [],
284
208
  "name": "MinDelayNotReached",
@@ -319,6 +243,16 @@ exports.errorABIs = [
319
243
  "name": "NotSuToken",
320
244
  "type": "error"
321
245
  },
246
+ {
247
+ "inputs": [],
248
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
249
+ "type": "error"
250
+ },
251
+ {
252
+ "inputs": [],
253
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
254
+ "type": "error"
255
+ },
322
256
  {
323
257
  "inputs": [],
324
258
  "name": "OnlyAdmin",
@@ -326,22 +260,22 @@ exports.errorABIs = [
326
260
  },
327
261
  {
328
262
  "inputs": [],
329
- "name": "OnlyAdminOrPauser",
263
+ "name": "OnlyAdminOrCapper",
330
264
  "type": "error"
331
265
  },
332
266
  {
333
267
  "inputs": [],
334
- "name": "OnlyCToken",
268
+ "name": "OnlyAdminOrPauser",
335
269
  "type": "error"
336
270
  },
337
271
  {
338
272
  "inputs": [],
339
- "name": "OnlyListedCToken",
273
+ "name": "OnlyCToken",
340
274
  "type": "error"
341
275
  },
342
276
  {
343
277
  "inputs": [],
344
- "name": "OnlyPausedMarketCanBeUnlisted",
278
+ "name": "OnlyListedCToken",
345
279
  "type": "error"
346
280
  },
347
281
  {
@@ -356,17 +290,17 @@ exports.errorABIs = [
356
290
  },
357
291
  {
358
292
  "inputs": [],
359
- "name": "OverThreshold",
293
+ "name": "PriceError",
360
294
  "type": "error"
361
295
  },
362
296
  {
363
297
  "inputs": [],
364
- "name": "PriceError",
298
+ "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
365
299
  "type": "error"
366
300
  },
367
301
  {
368
302
  "inputs": [],
369
- "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
303
+ "name": "ProtocolIsPaused",
370
304
  "type": "error"
371
305
  },
372
306
  {
@@ -399,6 +333,11 @@ exports.errorABIs = [
399
333
  "name": "ReduceReservesMarketNotFresh",
400
334
  "type": "error"
401
335
  },
336
+ {
337
+ "inputs": [],
338
+ "name": "ReduceReservesOverflow",
339
+ "type": "error"
340
+ },
402
341
  {
403
342
  "inputs": [],
404
343
  "name": "RepayBorrowMarketNotFresh",
@@ -454,16 +393,6 @@ exports.errorABIs = [
454
393
  "name": "TooMuchRepay",
455
394
  "type": "error"
456
395
  },
457
- {
458
- "inputs": [],
459
- "name": "TotalBorrowsNotZero",
460
- "type": "error"
461
- },
462
- {
463
- "inputs": [],
464
- "name": "TotalSupplyNotZero",
465
- "type": "error"
466
- },
467
396
  {
468
397
  "inputs": [],
469
398
  "name": "TransferNotAllowed",
@@ -479,11 +408,6 @@ exports.errorABIs = [
479
408
  "name": "UnderlyingBalanceError",
480
409
  "type": "error"
481
410
  },
482
- {
483
- "inputs": [],
484
- "name": "ZeroAddressNotAllowed",
485
- "type": "error"
486
- },
487
411
  {
488
412
  "inputs": [],
489
413
  "name": "AddReservesMarketNotFresh",
@@ -546,11 +470,6 @@ exports.errorABIs = [
546
470
  "name": "BorrowValueMustBeLargerThanThreshold",
547
471
  "type": "error"
548
472
  },
549
- {
550
- "inputs": [],
551
- "name": "CantEnterPausedMarket",
552
- "type": "error"
553
- },
554
473
  {
555
474
  "inputs": [],
556
475
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -568,43 +487,12 @@ exports.errorABIs = [
568
487
  },
569
488
  {
570
489
  "inputs": [],
571
- "name": "EitherAssetOrDebtMustBeZero",
572
- "type": "error"
573
- },
574
- {
575
- "inputs": [
576
- {
577
- "internalType": "uint8",
578
- "name": "groupId",
579
- "type": "uint8"
580
- },
581
- {
582
- "internalType": "uint256",
583
- "name": "cDepositVal",
584
- "type": "uint256"
585
- },
586
- {
587
- "internalType": "uint256",
588
- "name": "suDepositVal",
589
- "type": "uint256"
590
- },
591
- {
592
- "internalType": "uint256",
593
- "name": "cBorrowVal",
594
- "type": "uint256"
595
- },
596
- {
597
- "internalType": "uint256",
598
- "name": "suBorrowVal",
599
- "type": "uint256"
600
- }
601
- ],
602
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
490
+ "name": "ExpiredSignature",
603
491
  "type": "error"
604
492
  },
605
493
  {
606
494
  "inputs": [],
607
- "name": "ExpiredSignature",
495
+ "name": "GroupIdMismatch",
608
496
  "type": "error"
609
497
  },
610
498
  {
@@ -617,11 +505,6 @@ exports.errorABIs = [
617
505
  "name": "InsufficientShortfall",
618
506
  "type": "error"
619
507
  },
620
- {
621
- "inputs": [],
622
- "name": "InterMintNotAllowed",
623
- "type": "error"
624
- },
625
508
  {
626
509
  "inputs": [],
627
510
  "name": "InvalidAddress",
@@ -632,16 +515,6 @@ exports.errorABIs = [
632
515
  "name": "InvalidAmount",
633
516
  "type": "error"
634
517
  },
635
- {
636
- "inputs": [],
637
- "name": "InvalidBlockNumber",
638
- "type": "error"
639
- },
640
- {
641
- "inputs": [],
642
- "name": "InvalidCToken",
643
- "type": "error"
644
- },
645
518
  {
646
519
  "inputs": [],
647
520
  "name": "InvalidCloseFactor",
@@ -682,11 +555,6 @@ exports.errorABIs = [
682
555
  "name": "InvalidMinSuBorrowValue",
683
556
  "type": "error"
684
557
  },
685
- {
686
- "inputs": [],
687
- "name": "InvalidRedeem",
688
- "type": "error"
689
- },
690
558
  {
691
559
  "inputs": [],
692
560
  "name": "InvalidReduceAmount",
@@ -712,11 +580,6 @@ exports.errorABIs = [
712
580
  "name": "InvalidSuToken",
713
581
  "type": "error"
714
582
  },
715
- {
716
- "inputs": [],
717
- "name": "InvalidTimestamp",
718
- "type": "error"
719
- },
720
583
  {
721
584
  "inputs": [],
722
585
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -752,31 +615,16 @@ exports.errorABIs = [
752
615
  "name": "MarketAlreadyListed",
753
616
  "type": "error"
754
617
  },
755
- {
756
- "inputs": [],
757
- "name": "MarketAlreadyUnlisted",
758
- "type": "error"
759
- },
760
618
  {
761
619
  "inputs": [],
762
620
  "name": "MarketCanOnlyInitializeOnce",
763
621
  "type": "error"
764
622
  },
765
- {
766
- "inputs": [],
767
- "name": "MarketNotEmpty",
768
- "type": "error"
769
- },
770
623
  {
771
624
  "inputs": [],
772
625
  "name": "MarketNotListed",
773
626
  "type": "error"
774
627
  },
775
- {
776
- "inputs": [],
777
- "name": "MarketPaused",
778
- "type": "error"
779
- },
780
628
  {
781
629
  "inputs": [],
782
630
  "name": "MinDelayNotReached",
@@ -817,6 +665,16 @@ exports.errorABIs = [
817
665
  "name": "NotSuToken",
818
666
  "type": "error"
819
667
  },
668
+ {
669
+ "inputs": [],
670
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
671
+ "type": "error"
672
+ },
673
+ {
674
+ "inputs": [],
675
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
676
+ "type": "error"
677
+ },
820
678
  {
821
679
  "inputs": [],
822
680
  "name": "OnlyAdmin",
@@ -824,22 +682,22 @@ exports.errorABIs = [
824
682
  },
825
683
  {
826
684
  "inputs": [],
827
- "name": "OnlyAdminOrPauser",
685
+ "name": "OnlyAdminOrCapper",
828
686
  "type": "error"
829
687
  },
830
688
  {
831
689
  "inputs": [],
832
- "name": "OnlyCToken",
690
+ "name": "OnlyAdminOrPauser",
833
691
  "type": "error"
834
692
  },
835
693
  {
836
694
  "inputs": [],
837
- "name": "OnlyListedCToken",
695
+ "name": "OnlyCToken",
838
696
  "type": "error"
839
697
  },
840
698
  {
841
699
  "inputs": [],
842
- "name": "OnlyPausedMarketCanBeUnlisted",
700
+ "name": "OnlyListedCToken",
843
701
  "type": "error"
844
702
  },
845
703
  {
@@ -854,17 +712,17 @@ exports.errorABIs = [
854
712
  },
855
713
  {
856
714
  "inputs": [],
857
- "name": "OverThreshold",
715
+ "name": "PriceError",
858
716
  "type": "error"
859
717
  },
860
718
  {
861
719
  "inputs": [],
862
- "name": "PriceError",
720
+ "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
863
721
  "type": "error"
864
722
  },
865
723
  {
866
724
  "inputs": [],
867
- "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
725
+ "name": "ProtocolIsPaused",
868
726
  "type": "error"
869
727
  },
870
728
  {
@@ -897,6 +755,11 @@ exports.errorABIs = [
897
755
  "name": "ReduceReservesMarketNotFresh",
898
756
  "type": "error"
899
757
  },
758
+ {
759
+ "inputs": [],
760
+ "name": "ReduceReservesOverflow",
761
+ "type": "error"
762
+ },
900
763
  {
901
764
  "inputs": [],
902
765
  "name": "RepayBorrowMarketNotFresh",
@@ -973,16 +836,6 @@ exports.errorABIs = [
973
836
  "name": "TooMuchRepay",
974
837
  "type": "error"
975
838
  },
976
- {
977
- "inputs": [],
978
- "name": "TotalBorrowsNotZero",
979
- "type": "error"
980
- },
981
- {
982
- "inputs": [],
983
- "name": "TotalSupplyNotZero",
984
- "type": "error"
985
- },
986
839
  {
987
840
  "inputs": [],
988
841
  "name": "TransferNotAllowed",
@@ -998,11 +851,6 @@ exports.errorABIs = [
998
851
  "name": "UnderlyingBalanceError",
999
852
  "type": "error"
1000
853
  },
1001
- {
1002
- "inputs": [],
1003
- "name": "ZeroAddressNotAllowed",
1004
- "type": "error"
1005
- },
1006
854
  {
1007
855
  "inputs": [],
1008
856
  "name": "AddReservesMarketNotFresh",
@@ -1051,63 +899,27 @@ exports.errorABIs = [
1051
899
  },
1052
900
  {
1053
901
  "inputs": [],
1054
- "name": "CantEnterPausedMarket",
902
+ "name": "CantExitMarketWithNonZeroBorrowBalance",
1055
903
  "type": "error"
1056
904
  },
1057
905
  {
1058
906
  "inputs": [],
1059
- "name": "CantExitMarketWithNonZeroBorrowBalance",
907
+ "name": "CantSweepUnderlying",
1060
908
  "type": "error"
1061
909
  },
1062
910
  {
1063
911
  "inputs": [],
1064
- "name": "CantSweepUnderlying",
912
+ "name": "ComptrollerMismatch",
1065
913
  "type": "error"
1066
914
  },
1067
915
  {
1068
916
  "inputs": [],
1069
- "name": "ComptrollerMismatch",
917
+ "name": "ExpiredSignature",
1070
918
  "type": "error"
1071
919
  },
1072
920
  {
1073
921
  "inputs": [],
1074
- "name": "EitherAssetOrDebtMustBeZero",
1075
- "type": "error"
1076
- },
1077
- {
1078
- "inputs": [
1079
- {
1080
- "internalType": "uint8",
1081
- "name": "groupId",
1082
- "type": "uint8"
1083
- },
1084
- {
1085
- "internalType": "uint256",
1086
- "name": "cDepositVal",
1087
- "type": "uint256"
1088
- },
1089
- {
1090
- "internalType": "uint256",
1091
- "name": "suDepositVal",
1092
- "type": "uint256"
1093
- },
1094
- {
1095
- "internalType": "uint256",
1096
- "name": "cBorrowVal",
1097
- "type": "uint256"
1098
- },
1099
- {
1100
- "internalType": "uint256",
1101
- "name": "suBorrowVal",
1102
- "type": "uint256"
1103
- }
1104
- ],
1105
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
1106
- "type": "error"
1107
- },
1108
- {
1109
- "inputs": [],
1110
- "name": "ExpiredSignature",
922
+ "name": "GroupIdMismatch",
1111
923
  "type": "error"
1112
924
  },
1113
925
  {
@@ -1120,11 +932,6 @@ exports.errorABIs = [
1120
932
  "name": "InsufficientShortfall",
1121
933
  "type": "error"
1122
934
  },
1123
- {
1124
- "inputs": [],
1125
- "name": "InterMintNotAllowed",
1126
- "type": "error"
1127
- },
1128
935
  {
1129
936
  "inputs": [],
1130
937
  "name": "InvalidAddress",
@@ -1135,16 +942,6 @@ exports.errorABIs = [
1135
942
  "name": "InvalidAmount",
1136
943
  "type": "error"
1137
944
  },
1138
- {
1139
- "inputs": [],
1140
- "name": "InvalidBlockNumber",
1141
- "type": "error"
1142
- },
1143
- {
1144
- "inputs": [],
1145
- "name": "InvalidCToken",
1146
- "type": "error"
1147
- },
1148
945
  {
1149
946
  "inputs": [],
1150
947
  "name": "InvalidCloseFactor",
@@ -1185,11 +982,6 @@ exports.errorABIs = [
1185
982
  "name": "InvalidMinSuBorrowValue",
1186
983
  "type": "error"
1187
984
  },
1188
- {
1189
- "inputs": [],
1190
- "name": "InvalidRedeem",
1191
- "type": "error"
1192
- },
1193
985
  {
1194
986
  "inputs": [],
1195
987
  "name": "InvalidReduceAmount",
@@ -1215,11 +1007,6 @@ exports.errorABIs = [
1215
1007
  "name": "InvalidSuToken",
1216
1008
  "type": "error"
1217
1009
  },
1218
- {
1219
- "inputs": [],
1220
- "name": "InvalidTimestamp",
1221
- "type": "error"
1222
- },
1223
1010
  {
1224
1011
  "inputs": [],
1225
1012
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -1255,31 +1042,16 @@ exports.errorABIs = [
1255
1042
  "name": "MarketAlreadyListed",
1256
1043
  "type": "error"
1257
1044
  },
1258
- {
1259
- "inputs": [],
1260
- "name": "MarketAlreadyUnlisted",
1261
- "type": "error"
1262
- },
1263
1045
  {
1264
1046
  "inputs": [],
1265
1047
  "name": "MarketCanOnlyInitializeOnce",
1266
1048
  "type": "error"
1267
1049
  },
1268
- {
1269
- "inputs": [],
1270
- "name": "MarketNotEmpty",
1271
- "type": "error"
1272
- },
1273
1050
  {
1274
1051
  "inputs": [],
1275
1052
  "name": "MarketNotListed",
1276
1053
  "type": "error"
1277
1054
  },
1278
- {
1279
- "inputs": [],
1280
- "name": "MarketPaused",
1281
- "type": "error"
1282
- },
1283
1055
  {
1284
1056
  "inputs": [],
1285
1057
  "name": "MinDelayNotReached",
@@ -1320,6 +1092,16 @@ exports.errorABIs = [
1320
1092
  "name": "NotSuToken",
1321
1093
  "type": "error"
1322
1094
  },
1095
+ {
1096
+ "inputs": [],
1097
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
1098
+ "type": "error"
1099
+ },
1100
+ {
1101
+ "inputs": [],
1102
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
1103
+ "type": "error"
1104
+ },
1323
1105
  {
1324
1106
  "inputs": [],
1325
1107
  "name": "OnlyAdmin",
@@ -1327,22 +1109,22 @@ exports.errorABIs = [
1327
1109
  },
1328
1110
  {
1329
1111
  "inputs": [],
1330
- "name": "OnlyAdminOrPauser",
1112
+ "name": "OnlyAdminOrCapper",
1331
1113
  "type": "error"
1332
1114
  },
1333
1115
  {
1334
1116
  "inputs": [],
1335
- "name": "OnlyCToken",
1117
+ "name": "OnlyAdminOrPauser",
1336
1118
  "type": "error"
1337
1119
  },
1338
1120
  {
1339
1121
  "inputs": [],
1340
- "name": "OnlyListedCToken",
1122
+ "name": "OnlyCToken",
1341
1123
  "type": "error"
1342
1124
  },
1343
1125
  {
1344
1126
  "inputs": [],
1345
- "name": "OnlyPausedMarketCanBeUnlisted",
1127
+ "name": "OnlyListedCToken",
1346
1128
  "type": "error"
1347
1129
  },
1348
1130
  {
@@ -1357,17 +1139,17 @@ exports.errorABIs = [
1357
1139
  },
1358
1140
  {
1359
1141
  "inputs": [],
1360
- "name": "OverThreshold",
1142
+ "name": "PriceError",
1361
1143
  "type": "error"
1362
1144
  },
1363
1145
  {
1364
1146
  "inputs": [],
1365
- "name": "PriceError",
1147
+ "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
1366
1148
  "type": "error"
1367
1149
  },
1368
1150
  {
1369
1151
  "inputs": [],
1370
- "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
1152
+ "name": "ProtocolIsPaused",
1371
1153
  "type": "error"
1372
1154
  },
1373
1155
  {
@@ -1400,6 +1182,11 @@ exports.errorABIs = [
1400
1182
  "name": "ReduceReservesMarketNotFresh",
1401
1183
  "type": "error"
1402
1184
  },
1185
+ {
1186
+ "inputs": [],
1187
+ "name": "ReduceReservesOverflow",
1188
+ "type": "error"
1189
+ },
1403
1190
  {
1404
1191
  "inputs": [],
1405
1192
  "name": "RepayBorrowMarketNotFresh",
@@ -1455,16 +1242,6 @@ exports.errorABIs = [
1455
1242
  "name": "TooMuchRepay",
1456
1243
  "type": "error"
1457
1244
  },
1458
- {
1459
- "inputs": [],
1460
- "name": "TotalBorrowsNotZero",
1461
- "type": "error"
1462
- },
1463
- {
1464
- "inputs": [],
1465
- "name": "TotalSupplyNotZero",
1466
- "type": "error"
1467
- },
1468
1245
  {
1469
1246
  "inputs": [],
1470
1247
  "name": "TransferNotAllowed",
@@ -1480,11 +1257,6 @@ exports.errorABIs = [
1480
1257
  "name": "UnderlyingBalanceError",
1481
1258
  "type": "error"
1482
1259
  },
1483
- {
1484
- "inputs": [],
1485
- "name": "ZeroAddressNotAllowed",
1486
- "type": "error"
1487
- },
1488
1260
  {
1489
1261
  "inputs": [],
1490
1262
  "name": "AddReservesMarketNotFresh",
@@ -1531,11 +1303,6 @@ exports.errorABIs = [
1531
1303
  "name": "BorrowValueMustBeLargerThanThreshold",
1532
1304
  "type": "error"
1533
1305
  },
1534
- {
1535
- "inputs": [],
1536
- "name": "CantEnterPausedMarket",
1537
- "type": "error"
1538
- },
1539
1306
  {
1540
1307
  "inputs": [],
1541
1308
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -1553,43 +1320,12 @@ exports.errorABIs = [
1553
1320
  },
1554
1321
  {
1555
1322
  "inputs": [],
1556
- "name": "EitherAssetOrDebtMustBeZero",
1557
- "type": "error"
1558
- },
1559
- {
1560
- "inputs": [
1561
- {
1562
- "internalType": "uint8",
1563
- "name": "groupId",
1564
- "type": "uint8"
1565
- },
1566
- {
1567
- "internalType": "uint256",
1568
- "name": "cDepositVal",
1569
- "type": "uint256"
1570
- },
1571
- {
1572
- "internalType": "uint256",
1573
- "name": "suDepositVal",
1574
- "type": "uint256"
1575
- },
1576
- {
1577
- "internalType": "uint256",
1578
- "name": "cBorrowVal",
1579
- "type": "uint256"
1580
- },
1581
- {
1582
- "internalType": "uint256",
1583
- "name": "suBorrowVal",
1584
- "type": "uint256"
1585
- }
1586
- ],
1587
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
1323
+ "name": "ExpiredSignature",
1588
1324
  "type": "error"
1589
1325
  },
1590
1326
  {
1591
1327
  "inputs": [],
1592
- "name": "ExpiredSignature",
1328
+ "name": "GroupIdMismatch",
1593
1329
  "type": "error"
1594
1330
  },
1595
1331
  {
@@ -1602,11 +1338,6 @@ exports.errorABIs = [
1602
1338
  "name": "InsufficientShortfall",
1603
1339
  "type": "error"
1604
1340
  },
1605
- {
1606
- "inputs": [],
1607
- "name": "InterMintNotAllowed",
1608
- "type": "error"
1609
- },
1610
1341
  {
1611
1342
  "inputs": [],
1612
1343
  "name": "InvalidAddress",
@@ -1617,16 +1348,6 @@ exports.errorABIs = [
1617
1348
  "name": "InvalidAmount",
1618
1349
  "type": "error"
1619
1350
  },
1620
- {
1621
- "inputs": [],
1622
- "name": "InvalidBlockNumber",
1623
- "type": "error"
1624
- },
1625
- {
1626
- "inputs": [],
1627
- "name": "InvalidCToken",
1628
- "type": "error"
1629
- },
1630
1351
  {
1631
1352
  "inputs": [],
1632
1353
  "name": "InvalidCloseFactor",
@@ -1667,11 +1388,6 @@ exports.errorABIs = [
1667
1388
  "name": "InvalidMinSuBorrowValue",
1668
1389
  "type": "error"
1669
1390
  },
1670
- {
1671
- "inputs": [],
1672
- "name": "InvalidRedeem",
1673
- "type": "error"
1674
- },
1675
1391
  {
1676
1392
  "inputs": [],
1677
1393
  "name": "InvalidReduceAmount",
@@ -1697,11 +1413,6 @@ exports.errorABIs = [
1697
1413
  "name": "InvalidSuToken",
1698
1414
  "type": "error"
1699
1415
  },
1700
- {
1701
- "inputs": [],
1702
- "name": "InvalidTimestamp",
1703
- "type": "error"
1704
- },
1705
1416
  {
1706
1417
  "inputs": [],
1707
1418
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -1737,31 +1448,16 @@ exports.errorABIs = [
1737
1448
  "name": "MarketAlreadyListed",
1738
1449
  "type": "error"
1739
1450
  },
1740
- {
1741
- "inputs": [],
1742
- "name": "MarketAlreadyUnlisted",
1743
- "type": "error"
1744
- },
1745
1451
  {
1746
1452
  "inputs": [],
1747
1453
  "name": "MarketCanOnlyInitializeOnce",
1748
1454
  "type": "error"
1749
1455
  },
1750
- {
1751
- "inputs": [],
1752
- "name": "MarketNotEmpty",
1753
- "type": "error"
1754
- },
1755
1456
  {
1756
1457
  "inputs": [],
1757
1458
  "name": "MarketNotListed",
1758
1459
  "type": "error"
1759
1460
  },
1760
- {
1761
- "inputs": [],
1762
- "name": "MarketPaused",
1763
- "type": "error"
1764
- },
1765
1461
  {
1766
1462
  "inputs": [],
1767
1463
  "name": "MinDelayNotReached",
@@ -1802,6 +1498,16 @@ exports.errorABIs = [
1802
1498
  "name": "NotSuToken",
1803
1499
  "type": "error"
1804
1500
  },
1501
+ {
1502
+ "inputs": [],
1503
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
1504
+ "type": "error"
1505
+ },
1506
+ {
1507
+ "inputs": [],
1508
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
1509
+ "type": "error"
1510
+ },
1805
1511
  {
1806
1512
  "inputs": [],
1807
1513
  "name": "OnlyAdmin",
@@ -1809,22 +1515,22 @@ exports.errorABIs = [
1809
1515
  },
1810
1516
  {
1811
1517
  "inputs": [],
1812
- "name": "OnlyAdminOrPauser",
1518
+ "name": "OnlyAdminOrCapper",
1813
1519
  "type": "error"
1814
1520
  },
1815
1521
  {
1816
1522
  "inputs": [],
1817
- "name": "OnlyCToken",
1523
+ "name": "OnlyAdminOrPauser",
1818
1524
  "type": "error"
1819
1525
  },
1820
1526
  {
1821
1527
  "inputs": [],
1822
- "name": "OnlyListedCToken",
1528
+ "name": "OnlyCToken",
1823
1529
  "type": "error"
1824
1530
  },
1825
1531
  {
1826
1532
  "inputs": [],
1827
- "name": "OnlyPausedMarketCanBeUnlisted",
1533
+ "name": "OnlyListedCToken",
1828
1534
  "type": "error"
1829
1535
  },
1830
1536
  {
@@ -1839,17 +1545,17 @@ exports.errorABIs = [
1839
1545
  },
1840
1546
  {
1841
1547
  "inputs": [],
1842
- "name": "OverThreshold",
1548
+ "name": "PriceError",
1843
1549
  "type": "error"
1844
1550
  },
1845
1551
  {
1846
1552
  "inputs": [],
1847
- "name": "PriceError",
1553
+ "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
1848
1554
  "type": "error"
1849
1555
  },
1850
1556
  {
1851
1557
  "inputs": [],
1852
- "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
1558
+ "name": "ProtocolIsPaused",
1853
1559
  "type": "error"
1854
1560
  },
1855
1561
  {
@@ -1882,6 +1588,11 @@ exports.errorABIs = [
1882
1588
  "name": "ReduceReservesMarketNotFresh",
1883
1589
  "type": "error"
1884
1590
  },
1591
+ {
1592
+ "inputs": [],
1593
+ "name": "ReduceReservesOverflow",
1594
+ "type": "error"
1595
+ },
1885
1596
  {
1886
1597
  "inputs": [],
1887
1598
  "name": "RepayBorrowMarketNotFresh",
@@ -1937,16 +1648,6 @@ exports.errorABIs = [
1937
1648
  "name": "TooMuchRepay",
1938
1649
  "type": "error"
1939
1650
  },
1940
- {
1941
- "inputs": [],
1942
- "name": "TotalBorrowsNotZero",
1943
- "type": "error"
1944
- },
1945
- {
1946
- "inputs": [],
1947
- "name": "TotalSupplyNotZero",
1948
- "type": "error"
1949
- },
1950
1651
  {
1951
1652
  "inputs": [],
1952
1653
  "name": "TransferNotAllowed",
@@ -1962,11 +1663,6 @@ exports.errorABIs = [
1962
1663
  "name": "UnderlyingBalanceError",
1963
1664
  "type": "error"
1964
1665
  },
1965
- {
1966
- "inputs": [],
1967
- "name": "ZeroAddressNotAllowed",
1968
- "type": "error"
1969
- },
1970
1666
  {
1971
1667
  "inputs": [],
1972
1668
  "name": "AddReservesMarketNotFresh",
@@ -2013,11 +1709,6 @@ exports.errorABIs = [
2013
1709
  "name": "BorrowValueMustBeLargerThanThreshold",
2014
1710
  "type": "error"
2015
1711
  },
2016
- {
2017
- "inputs": [],
2018
- "name": "CantEnterPausedMarket",
2019
- "type": "error"
2020
- },
2021
1712
  {
2022
1713
  "inputs": [],
2023
1714
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -2035,43 +1726,12 @@ exports.errorABIs = [
2035
1726
  },
2036
1727
  {
2037
1728
  "inputs": [],
2038
- "name": "EitherAssetOrDebtMustBeZero",
2039
- "type": "error"
2040
- },
2041
- {
2042
- "inputs": [
2043
- {
2044
- "internalType": "uint8",
2045
- "name": "groupId",
2046
- "type": "uint8"
2047
- },
2048
- {
2049
- "internalType": "uint256",
2050
- "name": "cDepositVal",
2051
- "type": "uint256"
2052
- },
2053
- {
2054
- "internalType": "uint256",
2055
- "name": "suDepositVal",
2056
- "type": "uint256"
2057
- },
2058
- {
2059
- "internalType": "uint256",
2060
- "name": "cBorrowVal",
2061
- "type": "uint256"
2062
- },
2063
- {
2064
- "internalType": "uint256",
2065
- "name": "suBorrowVal",
2066
- "type": "uint256"
2067
- }
2068
- ],
2069
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
1729
+ "name": "ExpiredSignature",
2070
1730
  "type": "error"
2071
1731
  },
2072
1732
  {
2073
1733
  "inputs": [],
2074
- "name": "ExpiredSignature",
1734
+ "name": "GroupIdMismatch",
2075
1735
  "type": "error"
2076
1736
  },
2077
1737
  {
@@ -2084,11 +1744,6 @@ exports.errorABIs = [
2084
1744
  "name": "InsufficientShortfall",
2085
1745
  "type": "error"
2086
1746
  },
2087
- {
2088
- "inputs": [],
2089
- "name": "InterMintNotAllowed",
2090
- "type": "error"
2091
- },
2092
1747
  {
2093
1748
  "inputs": [],
2094
1749
  "name": "InvalidAddress",
@@ -2099,16 +1754,6 @@ exports.errorABIs = [
2099
1754
  "name": "InvalidAmount",
2100
1755
  "type": "error"
2101
1756
  },
2102
- {
2103
- "inputs": [],
2104
- "name": "InvalidBlockNumber",
2105
- "type": "error"
2106
- },
2107
- {
2108
- "inputs": [],
2109
- "name": "InvalidCToken",
2110
- "type": "error"
2111
- },
2112
1757
  {
2113
1758
  "inputs": [],
2114
1759
  "name": "InvalidCloseFactor",
@@ -2149,11 +1794,6 @@ exports.errorABIs = [
2149
1794
  "name": "InvalidMinSuBorrowValue",
2150
1795
  "type": "error"
2151
1796
  },
2152
- {
2153
- "inputs": [],
2154
- "name": "InvalidRedeem",
2155
- "type": "error"
2156
- },
2157
1797
  {
2158
1798
  "inputs": [],
2159
1799
  "name": "InvalidReduceAmount",
@@ -2181,12 +1821,7 @@ exports.errorABIs = [
2181
1821
  },
2182
1822
  {
2183
1823
  "inputs": [],
2184
- "name": "InvalidTimestamp",
2185
- "type": "error"
2186
- },
2187
- {
2188
- "inputs": [],
2189
- "name": "LiquidateBorrow_LiquidatorIsBorrower",
1824
+ "name": "LiquidateBorrow_LiquidatorIsBorrower",
2190
1825
  "type": "error"
2191
1826
  },
2192
1827
  {
@@ -2219,31 +1854,16 @@ exports.errorABIs = [
2219
1854
  "name": "MarketAlreadyListed",
2220
1855
  "type": "error"
2221
1856
  },
2222
- {
2223
- "inputs": [],
2224
- "name": "MarketAlreadyUnlisted",
2225
- "type": "error"
2226
- },
2227
1857
  {
2228
1858
  "inputs": [],
2229
1859
  "name": "MarketCanOnlyInitializeOnce",
2230
1860
  "type": "error"
2231
1861
  },
2232
- {
2233
- "inputs": [],
2234
- "name": "MarketNotEmpty",
2235
- "type": "error"
2236
- },
2237
1862
  {
2238
1863
  "inputs": [],
2239
1864
  "name": "MarketNotListed",
2240
1865
  "type": "error"
2241
1866
  },
2242
- {
2243
- "inputs": [],
2244
- "name": "MarketPaused",
2245
- "type": "error"
2246
- },
2247
1867
  {
2248
1868
  "inputs": [],
2249
1869
  "name": "MinDelayNotReached",
@@ -2284,6 +1904,16 @@ exports.errorABIs = [
2284
1904
  "name": "NotSuToken",
2285
1905
  "type": "error"
2286
1906
  },
1907
+ {
1908
+ "inputs": [],
1909
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
1910
+ "type": "error"
1911
+ },
1912
+ {
1913
+ "inputs": [],
1914
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
1915
+ "type": "error"
1916
+ },
2287
1917
  {
2288
1918
  "inputs": [],
2289
1919
  "name": "OnlyAdmin",
@@ -2291,22 +1921,22 @@ exports.errorABIs = [
2291
1921
  },
2292
1922
  {
2293
1923
  "inputs": [],
2294
- "name": "OnlyAdminOrPauser",
1924
+ "name": "OnlyAdminOrCapper",
2295
1925
  "type": "error"
2296
1926
  },
2297
1927
  {
2298
1928
  "inputs": [],
2299
- "name": "OnlyCToken",
1929
+ "name": "OnlyAdminOrPauser",
2300
1930
  "type": "error"
2301
1931
  },
2302
1932
  {
2303
1933
  "inputs": [],
2304
- "name": "OnlyListedCToken",
1934
+ "name": "OnlyCToken",
2305
1935
  "type": "error"
2306
1936
  },
2307
1937
  {
2308
1938
  "inputs": [],
2309
- "name": "OnlyPausedMarketCanBeUnlisted",
1939
+ "name": "OnlyListedCToken",
2310
1940
  "type": "error"
2311
1941
  },
2312
1942
  {
@@ -2321,17 +1951,17 @@ exports.errorABIs = [
2321
1951
  },
2322
1952
  {
2323
1953
  "inputs": [],
2324
- "name": "OverThreshold",
1954
+ "name": "PriceError",
2325
1955
  "type": "error"
2326
1956
  },
2327
1957
  {
2328
1958
  "inputs": [],
2329
- "name": "PriceError",
1959
+ "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
2330
1960
  "type": "error"
2331
1961
  },
2332
1962
  {
2333
1963
  "inputs": [],
2334
- "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
1964
+ "name": "ProtocolIsPaused",
2335
1965
  "type": "error"
2336
1966
  },
2337
1967
  {
@@ -2364,6 +1994,11 @@ exports.errorABIs = [
2364
1994
  "name": "ReduceReservesMarketNotFresh",
2365
1995
  "type": "error"
2366
1996
  },
1997
+ {
1998
+ "inputs": [],
1999
+ "name": "ReduceReservesOverflow",
2000
+ "type": "error"
2001
+ },
2367
2002
  {
2368
2003
  "inputs": [],
2369
2004
  "name": "RepayBorrowMarketNotFresh",
@@ -2419,16 +2054,6 @@ exports.errorABIs = [
2419
2054
  "name": "TooMuchRepay",
2420
2055
  "type": "error"
2421
2056
  },
2422
- {
2423
- "inputs": [],
2424
- "name": "TotalBorrowsNotZero",
2425
- "type": "error"
2426
- },
2427
- {
2428
- "inputs": [],
2429
- "name": "TotalSupplyNotZero",
2430
- "type": "error"
2431
- },
2432
2057
  {
2433
2058
  "inputs": [],
2434
2059
  "name": "TransferNotAllowed",
@@ -2444,11 +2069,6 @@ exports.errorABIs = [
2444
2069
  "name": "UnderlyingBalanceError",
2445
2070
  "type": "error"
2446
2071
  },
2447
- {
2448
- "inputs": [],
2449
- "name": "ZeroAddressNotAllowed",
2450
- "type": "error"
2451
- },
2452
2072
  {
2453
2073
  "inputs": [],
2454
2074
  "name": "AddReservesMarketNotFresh",
@@ -2495,11 +2115,6 @@ exports.errorABIs = [
2495
2115
  "name": "BorrowValueMustBeLargerThanThreshold",
2496
2116
  "type": "error"
2497
2117
  },
2498
- {
2499
- "inputs": [],
2500
- "name": "CantEnterPausedMarket",
2501
- "type": "error"
2502
- },
2503
2118
  {
2504
2119
  "inputs": [],
2505
2120
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -2517,43 +2132,12 @@ exports.errorABIs = [
2517
2132
  },
2518
2133
  {
2519
2134
  "inputs": [],
2520
- "name": "EitherAssetOrDebtMustBeZero",
2521
- "type": "error"
2522
- },
2523
- {
2524
- "inputs": [
2525
- {
2526
- "internalType": "uint8",
2527
- "name": "groupId",
2528
- "type": "uint8"
2529
- },
2530
- {
2531
- "internalType": "uint256",
2532
- "name": "cDepositVal",
2533
- "type": "uint256"
2534
- },
2535
- {
2536
- "internalType": "uint256",
2537
- "name": "suDepositVal",
2538
- "type": "uint256"
2539
- },
2540
- {
2541
- "internalType": "uint256",
2542
- "name": "cBorrowVal",
2543
- "type": "uint256"
2544
- },
2545
- {
2546
- "internalType": "uint256",
2547
- "name": "suBorrowVal",
2548
- "type": "uint256"
2549
- }
2550
- ],
2551
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
2135
+ "name": "ExpiredSignature",
2552
2136
  "type": "error"
2553
2137
  },
2554
2138
  {
2555
2139
  "inputs": [],
2556
- "name": "ExpiredSignature",
2140
+ "name": "GroupIdMismatch",
2557
2141
  "type": "error"
2558
2142
  },
2559
2143
  {
@@ -2566,11 +2150,6 @@ exports.errorABIs = [
2566
2150
  "name": "InsufficientShortfall",
2567
2151
  "type": "error"
2568
2152
  },
2569
- {
2570
- "inputs": [],
2571
- "name": "InterMintNotAllowed",
2572
- "type": "error"
2573
- },
2574
2153
  {
2575
2154
  "inputs": [],
2576
2155
  "name": "InvalidAddress",
@@ -2581,16 +2160,6 @@ exports.errorABIs = [
2581
2160
  "name": "InvalidAmount",
2582
2161
  "type": "error"
2583
2162
  },
2584
- {
2585
- "inputs": [],
2586
- "name": "InvalidBlockNumber",
2587
- "type": "error"
2588
- },
2589
- {
2590
- "inputs": [],
2591
- "name": "InvalidCToken",
2592
- "type": "error"
2593
- },
2594
2163
  {
2595
2164
  "inputs": [],
2596
2165
  "name": "InvalidCloseFactor",
@@ -2631,11 +2200,6 @@ exports.errorABIs = [
2631
2200
  "name": "InvalidMinSuBorrowValue",
2632
2201
  "type": "error"
2633
2202
  },
2634
- {
2635
- "inputs": [],
2636
- "name": "InvalidRedeem",
2637
- "type": "error"
2638
- },
2639
2203
  {
2640
2204
  "inputs": [],
2641
2205
  "name": "InvalidReduceAmount",
@@ -2661,11 +2225,6 @@ exports.errorABIs = [
2661
2225
  "name": "InvalidSuToken",
2662
2226
  "type": "error"
2663
2227
  },
2664
- {
2665
- "inputs": [],
2666
- "name": "InvalidTimestamp",
2667
- "type": "error"
2668
- },
2669
2228
  {
2670
2229
  "inputs": [],
2671
2230
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -2701,31 +2260,16 @@ exports.errorABIs = [
2701
2260
  "name": "MarketAlreadyListed",
2702
2261
  "type": "error"
2703
2262
  },
2704
- {
2705
- "inputs": [],
2706
- "name": "MarketAlreadyUnlisted",
2707
- "type": "error"
2708
- },
2709
2263
  {
2710
2264
  "inputs": [],
2711
2265
  "name": "MarketCanOnlyInitializeOnce",
2712
2266
  "type": "error"
2713
2267
  },
2714
- {
2715
- "inputs": [],
2716
- "name": "MarketNotEmpty",
2717
- "type": "error"
2718
- },
2719
2268
  {
2720
2269
  "inputs": [],
2721
2270
  "name": "MarketNotListed",
2722
2271
  "type": "error"
2723
2272
  },
2724
- {
2725
- "inputs": [],
2726
- "name": "MarketPaused",
2727
- "type": "error"
2728
- },
2729
2273
  {
2730
2274
  "inputs": [],
2731
2275
  "name": "MinDelayNotReached",
@@ -2766,6 +2310,16 @@ exports.errorABIs = [
2766
2310
  "name": "NotSuToken",
2767
2311
  "type": "error"
2768
2312
  },
2313
+ {
2314
+ "inputs": [],
2315
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
2316
+ "type": "error"
2317
+ },
2318
+ {
2319
+ "inputs": [],
2320
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
2321
+ "type": "error"
2322
+ },
2769
2323
  {
2770
2324
  "inputs": [],
2771
2325
  "name": "OnlyAdmin",
@@ -2773,22 +2327,22 @@ exports.errorABIs = [
2773
2327
  },
2774
2328
  {
2775
2329
  "inputs": [],
2776
- "name": "OnlyAdminOrPauser",
2330
+ "name": "OnlyAdminOrCapper",
2777
2331
  "type": "error"
2778
2332
  },
2779
2333
  {
2780
2334
  "inputs": [],
2781
- "name": "OnlyCToken",
2335
+ "name": "OnlyAdminOrPauser",
2782
2336
  "type": "error"
2783
2337
  },
2784
2338
  {
2785
2339
  "inputs": [],
2786
- "name": "OnlyListedCToken",
2340
+ "name": "OnlyCToken",
2787
2341
  "type": "error"
2788
2342
  },
2789
2343
  {
2790
2344
  "inputs": [],
2791
- "name": "OnlyPausedMarketCanBeUnlisted",
2345
+ "name": "OnlyListedCToken",
2792
2346
  "type": "error"
2793
2347
  },
2794
2348
  {
@@ -2803,17 +2357,17 @@ exports.errorABIs = [
2803
2357
  },
2804
2358
  {
2805
2359
  "inputs": [],
2806
- "name": "OverThreshold",
2360
+ "name": "PriceError",
2807
2361
  "type": "error"
2808
2362
  },
2809
2363
  {
2810
2364
  "inputs": [],
2811
- "name": "PriceError",
2365
+ "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
2812
2366
  "type": "error"
2813
2367
  },
2814
2368
  {
2815
2369
  "inputs": [],
2816
- "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
2370
+ "name": "ProtocolIsPaused",
2817
2371
  "type": "error"
2818
2372
  },
2819
2373
  {
@@ -2846,6 +2400,11 @@ exports.errorABIs = [
2846
2400
  "name": "ReduceReservesMarketNotFresh",
2847
2401
  "type": "error"
2848
2402
  },
2403
+ {
2404
+ "inputs": [],
2405
+ "name": "ReduceReservesOverflow",
2406
+ "type": "error"
2407
+ },
2849
2408
  {
2850
2409
  "inputs": [],
2851
2410
  "name": "RepayBorrowMarketNotFresh",
@@ -2901,16 +2460,6 @@ exports.errorABIs = [
2901
2460
  "name": "TooMuchRepay",
2902
2461
  "type": "error"
2903
2462
  },
2904
- {
2905
- "inputs": [],
2906
- "name": "TotalBorrowsNotZero",
2907
- "type": "error"
2908
- },
2909
- {
2910
- "inputs": [],
2911
- "name": "TotalSupplyNotZero",
2912
- "type": "error"
2913
- },
2914
2463
  {
2915
2464
  "inputs": [],
2916
2465
  "name": "TransferNotAllowed",
@@ -2926,11 +2475,6 @@ exports.errorABIs = [
2926
2475
  "name": "UnderlyingBalanceError",
2927
2476
  "type": "error"
2928
2477
  },
2929
- {
2930
- "inputs": [],
2931
- "name": "ZeroAddressNotAllowed",
2932
- "type": "error"
2933
- },
2934
2478
  {
2935
2479
  "inputs": [],
2936
2480
  "name": "AddReservesMarketNotFresh",
@@ -2977,11 +2521,6 @@ exports.errorABIs = [
2977
2521
  "name": "BorrowValueMustBeLargerThanThreshold",
2978
2522
  "type": "error"
2979
2523
  },
2980
- {
2981
- "inputs": [],
2982
- "name": "CantEnterPausedMarket",
2983
- "type": "error"
2984
- },
2985
2524
  {
2986
2525
  "inputs": [],
2987
2526
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -2999,43 +2538,12 @@ exports.errorABIs = [
2999
2538
  },
3000
2539
  {
3001
2540
  "inputs": [],
3002
- "name": "EitherAssetOrDebtMustBeZero",
3003
- "type": "error"
3004
- },
3005
- {
3006
- "inputs": [
3007
- {
3008
- "internalType": "uint8",
3009
- "name": "groupId",
3010
- "type": "uint8"
3011
- },
3012
- {
3013
- "internalType": "uint256",
3014
- "name": "cDepositVal",
3015
- "type": "uint256"
3016
- },
3017
- {
3018
- "internalType": "uint256",
3019
- "name": "suDepositVal",
3020
- "type": "uint256"
3021
- },
3022
- {
3023
- "internalType": "uint256",
3024
- "name": "cBorrowVal",
3025
- "type": "uint256"
3026
- },
3027
- {
3028
- "internalType": "uint256",
3029
- "name": "suBorrowVal",
3030
- "type": "uint256"
3031
- }
3032
- ],
3033
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
2541
+ "name": "ExpiredSignature",
3034
2542
  "type": "error"
3035
2543
  },
3036
2544
  {
3037
2545
  "inputs": [],
3038
- "name": "ExpiredSignature",
2546
+ "name": "GroupIdMismatch",
3039
2547
  "type": "error"
3040
2548
  },
3041
2549
  {
@@ -3048,11 +2556,6 @@ exports.errorABIs = [
3048
2556
  "name": "InsufficientShortfall",
3049
2557
  "type": "error"
3050
2558
  },
3051
- {
3052
- "inputs": [],
3053
- "name": "InterMintNotAllowed",
3054
- "type": "error"
3055
- },
3056
2559
  {
3057
2560
  "inputs": [],
3058
2561
  "name": "InvalidAddress",
@@ -3063,16 +2566,6 @@ exports.errorABIs = [
3063
2566
  "name": "InvalidAmount",
3064
2567
  "type": "error"
3065
2568
  },
3066
- {
3067
- "inputs": [],
3068
- "name": "InvalidBlockNumber",
3069
- "type": "error"
3070
- },
3071
- {
3072
- "inputs": [],
3073
- "name": "InvalidCToken",
3074
- "type": "error"
3075
- },
3076
2569
  {
3077
2570
  "inputs": [],
3078
2571
  "name": "InvalidCloseFactor",
@@ -3113,11 +2606,6 @@ exports.errorABIs = [
3113
2606
  "name": "InvalidMinSuBorrowValue",
3114
2607
  "type": "error"
3115
2608
  },
3116
- {
3117
- "inputs": [],
3118
- "name": "InvalidRedeem",
3119
- "type": "error"
3120
- },
3121
2609
  {
3122
2610
  "inputs": [],
3123
2611
  "name": "InvalidReduceAmount",
@@ -3143,11 +2631,6 @@ exports.errorABIs = [
3143
2631
  "name": "InvalidSuToken",
3144
2632
  "type": "error"
3145
2633
  },
3146
- {
3147
- "inputs": [],
3148
- "name": "InvalidTimestamp",
3149
- "type": "error"
3150
- },
3151
2634
  {
3152
2635
  "inputs": [],
3153
2636
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -3183,31 +2666,16 @@ exports.errorABIs = [
3183
2666
  "name": "MarketAlreadyListed",
3184
2667
  "type": "error"
3185
2668
  },
3186
- {
3187
- "inputs": [],
3188
- "name": "MarketAlreadyUnlisted",
3189
- "type": "error"
3190
- },
3191
2669
  {
3192
2670
  "inputs": [],
3193
2671
  "name": "MarketCanOnlyInitializeOnce",
3194
2672
  "type": "error"
3195
2673
  },
3196
- {
3197
- "inputs": [],
3198
- "name": "MarketNotEmpty",
3199
- "type": "error"
3200
- },
3201
2674
  {
3202
2675
  "inputs": [],
3203
2676
  "name": "MarketNotListed",
3204
2677
  "type": "error"
3205
2678
  },
3206
- {
3207
- "inputs": [],
3208
- "name": "MarketPaused",
3209
- "type": "error"
3210
- },
3211
2679
  {
3212
2680
  "inputs": [],
3213
2681
  "name": "MinDelayNotReached",
@@ -3248,6 +2716,16 @@ exports.errorABIs = [
3248
2716
  "name": "NotSuToken",
3249
2717
  "type": "error"
3250
2718
  },
2719
+ {
2720
+ "inputs": [],
2721
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
2722
+ "type": "error"
2723
+ },
2724
+ {
2725
+ "inputs": [],
2726
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
2727
+ "type": "error"
2728
+ },
3251
2729
  {
3252
2730
  "inputs": [],
3253
2731
  "name": "OnlyAdmin",
@@ -3255,22 +2733,22 @@ exports.errorABIs = [
3255
2733
  },
3256
2734
  {
3257
2735
  "inputs": [],
3258
- "name": "OnlyAdminOrPauser",
2736
+ "name": "OnlyAdminOrCapper",
3259
2737
  "type": "error"
3260
2738
  },
3261
2739
  {
3262
2740
  "inputs": [],
3263
- "name": "OnlyCToken",
2741
+ "name": "OnlyAdminOrPauser",
3264
2742
  "type": "error"
3265
2743
  },
3266
2744
  {
3267
2745
  "inputs": [],
3268
- "name": "OnlyListedCToken",
2746
+ "name": "OnlyCToken",
3269
2747
  "type": "error"
3270
2748
  },
3271
2749
  {
3272
2750
  "inputs": [],
3273
- "name": "OnlyPausedMarketCanBeUnlisted",
2751
+ "name": "OnlyListedCToken",
3274
2752
  "type": "error"
3275
2753
  },
3276
2754
  {
@@ -3285,17 +2763,17 @@ exports.errorABIs = [
3285
2763
  },
3286
2764
  {
3287
2765
  "inputs": [],
3288
- "name": "OverThreshold",
2766
+ "name": "PriceError",
3289
2767
  "type": "error"
3290
2768
  },
3291
2769
  {
3292
2770
  "inputs": [],
3293
- "name": "PriceError",
2771
+ "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
3294
2772
  "type": "error"
3295
2773
  },
3296
2774
  {
3297
2775
  "inputs": [],
3298
- "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
2776
+ "name": "ProtocolIsPaused",
3299
2777
  "type": "error"
3300
2778
  },
3301
2779
  {
@@ -3328,6 +2806,11 @@ exports.errorABIs = [
3328
2806
  "name": "ReduceReservesMarketNotFresh",
3329
2807
  "type": "error"
3330
2808
  },
2809
+ {
2810
+ "inputs": [],
2811
+ "name": "ReduceReservesOverflow",
2812
+ "type": "error"
2813
+ },
3331
2814
  {
3332
2815
  "inputs": [],
3333
2816
  "name": "RepayBorrowMarketNotFresh",
@@ -3383,16 +2866,6 @@ exports.errorABIs = [
3383
2866
  "name": "TooMuchRepay",
3384
2867
  "type": "error"
3385
2868
  },
3386
- {
3387
- "inputs": [],
3388
- "name": "TotalBorrowsNotZero",
3389
- "type": "error"
3390
- },
3391
- {
3392
- "inputs": [],
3393
- "name": "TotalSupplyNotZero",
3394
- "type": "error"
3395
- },
3396
2869
  {
3397
2870
  "inputs": [],
3398
2871
  "name": "TransferNotAllowed",
@@ -3408,11 +2881,6 @@ exports.errorABIs = [
3408
2881
  "name": "UnderlyingBalanceError",
3409
2882
  "type": "error"
3410
2883
  },
3411
- {
3412
- "inputs": [],
3413
- "name": "ZeroAddressNotAllowed",
3414
- "type": "error"
3415
- },
3416
2884
  {
3417
2885
  "inputs": [],
3418
2886
  "name": "AddReservesMarketNotFresh",
@@ -3459,11 +2927,6 @@ exports.errorABIs = [
3459
2927
  "name": "BorrowValueMustBeLargerThanThreshold",
3460
2928
  "type": "error"
3461
2929
  },
3462
- {
3463
- "inputs": [],
3464
- "name": "CantEnterPausedMarket",
3465
- "type": "error"
3466
- },
3467
2930
  {
3468
2931
  "inputs": [],
3469
2932
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -3481,43 +2944,12 @@ exports.errorABIs = [
3481
2944
  },
3482
2945
  {
3483
2946
  "inputs": [],
3484
- "name": "EitherAssetOrDebtMustBeZero",
3485
- "type": "error"
3486
- },
3487
- {
3488
- "inputs": [
3489
- {
3490
- "internalType": "uint8",
3491
- "name": "groupId",
3492
- "type": "uint8"
3493
- },
3494
- {
3495
- "internalType": "uint256",
3496
- "name": "cDepositVal",
3497
- "type": "uint256"
3498
- },
3499
- {
3500
- "internalType": "uint256",
3501
- "name": "suDepositVal",
3502
- "type": "uint256"
3503
- },
3504
- {
3505
- "internalType": "uint256",
3506
- "name": "cBorrowVal",
3507
- "type": "uint256"
3508
- },
3509
- {
3510
- "internalType": "uint256",
3511
- "name": "suBorrowVal",
3512
- "type": "uint256"
3513
- }
3514
- ],
3515
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
2947
+ "name": "ExpiredSignature",
3516
2948
  "type": "error"
3517
2949
  },
3518
2950
  {
3519
2951
  "inputs": [],
3520
- "name": "ExpiredSignature",
2952
+ "name": "GroupIdMismatch",
3521
2953
  "type": "error"
3522
2954
  },
3523
2955
  {
@@ -3530,11 +2962,6 @@ exports.errorABIs = [
3530
2962
  "name": "InsufficientShortfall",
3531
2963
  "type": "error"
3532
2964
  },
3533
- {
3534
- "inputs": [],
3535
- "name": "InterMintNotAllowed",
3536
- "type": "error"
3537
- },
3538
2965
  {
3539
2966
  "inputs": [],
3540
2967
  "name": "InvalidAddress",
@@ -3545,16 +2972,6 @@ exports.errorABIs = [
3545
2972
  "name": "InvalidAmount",
3546
2973
  "type": "error"
3547
2974
  },
3548
- {
3549
- "inputs": [],
3550
- "name": "InvalidBlockNumber",
3551
- "type": "error"
3552
- },
3553
- {
3554
- "inputs": [],
3555
- "name": "InvalidCToken",
3556
- "type": "error"
3557
- },
3558
2975
  {
3559
2976
  "inputs": [],
3560
2977
  "name": "InvalidCloseFactor",
@@ -3595,11 +3012,6 @@ exports.errorABIs = [
3595
3012
  "name": "InvalidMinSuBorrowValue",
3596
3013
  "type": "error"
3597
3014
  },
3598
- {
3599
- "inputs": [],
3600
- "name": "InvalidRedeem",
3601
- "type": "error"
3602
- },
3603
3015
  {
3604
3016
  "inputs": [],
3605
3017
  "name": "InvalidReduceAmount",
@@ -3625,11 +3037,6 @@ exports.errorABIs = [
3625
3037
  "name": "InvalidSuToken",
3626
3038
  "type": "error"
3627
3039
  },
3628
- {
3629
- "inputs": [],
3630
- "name": "InvalidTimestamp",
3631
- "type": "error"
3632
- },
3633
3040
  {
3634
3041
  "inputs": [],
3635
3042
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -3665,31 +3072,16 @@ exports.errorABIs = [
3665
3072
  "name": "MarketAlreadyListed",
3666
3073
  "type": "error"
3667
3074
  },
3668
- {
3669
- "inputs": [],
3670
- "name": "MarketAlreadyUnlisted",
3671
- "type": "error"
3672
- },
3673
3075
  {
3674
3076
  "inputs": [],
3675
3077
  "name": "MarketCanOnlyInitializeOnce",
3676
3078
  "type": "error"
3677
3079
  },
3678
- {
3679
- "inputs": [],
3680
- "name": "MarketNotEmpty",
3681
- "type": "error"
3682
- },
3683
3080
  {
3684
3081
  "inputs": [],
3685
3082
  "name": "MarketNotListed",
3686
3083
  "type": "error"
3687
3084
  },
3688
- {
3689
- "inputs": [],
3690
- "name": "MarketPaused",
3691
- "type": "error"
3692
- },
3693
3085
  {
3694
3086
  "inputs": [],
3695
3087
  "name": "MinDelayNotReached",
@@ -3730,6 +3122,16 @@ exports.errorABIs = [
3730
3122
  "name": "NotSuToken",
3731
3123
  "type": "error"
3732
3124
  },
3125
+ {
3126
+ "inputs": [],
3127
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
3128
+ "type": "error"
3129
+ },
3130
+ {
3131
+ "inputs": [],
3132
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
3133
+ "type": "error"
3134
+ },
3733
3135
  {
3734
3136
  "inputs": [],
3735
3137
  "name": "OnlyAdmin",
@@ -3737,22 +3139,22 @@ exports.errorABIs = [
3737
3139
  },
3738
3140
  {
3739
3141
  "inputs": [],
3740
- "name": "OnlyAdminOrPauser",
3142
+ "name": "OnlyAdminOrCapper",
3741
3143
  "type": "error"
3742
3144
  },
3743
3145
  {
3744
3146
  "inputs": [],
3745
- "name": "OnlyCToken",
3147
+ "name": "OnlyAdminOrPauser",
3746
3148
  "type": "error"
3747
3149
  },
3748
3150
  {
3749
3151
  "inputs": [],
3750
- "name": "OnlyListedCToken",
3152
+ "name": "OnlyCToken",
3751
3153
  "type": "error"
3752
3154
  },
3753
3155
  {
3754
3156
  "inputs": [],
3755
- "name": "OnlyPausedMarketCanBeUnlisted",
3157
+ "name": "OnlyListedCToken",
3756
3158
  "type": "error"
3757
3159
  },
3758
3160
  {
@@ -3767,17 +3169,17 @@ exports.errorABIs = [
3767
3169
  },
3768
3170
  {
3769
3171
  "inputs": [],
3770
- "name": "OverThreshold",
3172
+ "name": "PriceError",
3771
3173
  "type": "error"
3772
3174
  },
3773
3175
  {
3774
3176
  "inputs": [],
3775
- "name": "PriceError",
3177
+ "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
3776
3178
  "type": "error"
3777
3179
  },
3778
3180
  {
3779
3181
  "inputs": [],
3780
- "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
3182
+ "name": "ProtocolIsPaused",
3781
3183
  "type": "error"
3782
3184
  },
3783
3185
  {
@@ -3810,6 +3212,11 @@ exports.errorABIs = [
3810
3212
  "name": "ReduceReservesMarketNotFresh",
3811
3213
  "type": "error"
3812
3214
  },
3215
+ {
3216
+ "inputs": [],
3217
+ "name": "ReduceReservesOverflow",
3218
+ "type": "error"
3219
+ },
3813
3220
  {
3814
3221
  "inputs": [],
3815
3222
  "name": "RepayBorrowMarketNotFresh",
@@ -3865,16 +3272,6 @@ exports.errorABIs = [
3865
3272
  "name": "TooMuchRepay",
3866
3273
  "type": "error"
3867
3274
  },
3868
- {
3869
- "inputs": [],
3870
- "name": "TotalBorrowsNotZero",
3871
- "type": "error"
3872
- },
3873
- {
3874
- "inputs": [],
3875
- "name": "TotalSupplyNotZero",
3876
- "type": "error"
3877
- },
3878
3275
  {
3879
3276
  "inputs": [],
3880
3277
  "name": "TransferNotAllowed",
@@ -3890,11 +3287,6 @@ exports.errorABIs = [
3890
3287
  "name": "UnderlyingBalanceError",
3891
3288
  "type": "error"
3892
3289
  },
3893
- {
3894
- "inputs": [],
3895
- "name": "ZeroAddressNotAllowed",
3896
- "type": "error"
3897
- },
3898
3290
  {
3899
3291
  "inputs": [],
3900
3292
  "name": "AddReservesMarketNotFresh",
@@ -3924,117 +3316,66 @@ exports.errorABIs = [
3924
3316
  "inputs": [],
3925
3317
  "name": "BorrowMarketNotFresh",
3926
3318
  "type": "error"
3927
- },
3928
- {
3929
- "inputs": [],
3930
- "name": "BorrowPaused",
3931
- "type": "error"
3932
- },
3933
- {
3934
- "inputs": [
3935
- {
3936
- "internalType": "uint256",
3937
- "name": "usdThreshold",
3938
- "type": "uint256"
3939
- }
3940
- ],
3941
- "name": "BorrowValueMustBeLargerThanThreshold",
3942
- "type": "error"
3943
- },
3944
- {
3945
- "inputs": [],
3946
- "name": "CantEnterPausedMarket",
3947
- "type": "error"
3948
- },
3949
- {
3950
- "inputs": [],
3951
- "name": "CantExitMarketWithNonZeroBorrowBalance",
3952
- "type": "error"
3953
- },
3954
- {
3955
- "inputs": [],
3956
- "name": "CantSweepUnderlying",
3957
- "type": "error"
3958
- },
3959
- {
3960
- "inputs": [],
3961
- "name": "ComptrollerMismatch",
3962
- "type": "error"
3963
- },
3964
- {
3965
- "inputs": [],
3966
- "name": "EitherAssetOrDebtMustBeZero",
3967
- "type": "error"
3968
- },
3969
- {
3970
- "inputs": [
3971
- {
3972
- "internalType": "uint8",
3973
- "name": "groupId",
3974
- "type": "uint8"
3975
- },
3976
- {
3977
- "internalType": "uint256",
3978
- "name": "cDepositVal",
3979
- "type": "uint256"
3980
- },
3981
- {
3982
- "internalType": "uint256",
3983
- "name": "suDepositVal",
3984
- "type": "uint256"
3985
- },
3986
- {
3987
- "internalType": "uint256",
3988
- "name": "cBorrowVal",
3989
- "type": "uint256"
3990
- },
3319
+ },
3320
+ {
3321
+ "inputs": [],
3322
+ "name": "BorrowPaused",
3323
+ "type": "error"
3324
+ },
3325
+ {
3326
+ "inputs": [
3991
3327
  {
3992
3328
  "internalType": "uint256",
3993
- "name": "suBorrowVal",
3329
+ "name": "usdThreshold",
3994
3330
  "type": "uint256"
3995
3331
  }
3996
3332
  ],
3997
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
3333
+ "name": "BorrowValueMustBeLargerThanThreshold",
3998
3334
  "type": "error"
3999
3335
  },
4000
3336
  {
4001
3337
  "inputs": [],
4002
- "name": "ExpiredSignature",
3338
+ "name": "CantExitMarketWithNonZeroBorrowBalance",
4003
3339
  "type": "error"
4004
3340
  },
4005
3341
  {
4006
3342
  "inputs": [],
4007
- "name": "InsufficientCollateral",
3343
+ "name": "CantSweepUnderlying",
4008
3344
  "type": "error"
4009
3345
  },
4010
3346
  {
4011
3347
  "inputs": [],
4012
- "name": "InsufficientShortfall",
3348
+ "name": "ComptrollerMismatch",
4013
3349
  "type": "error"
4014
3350
  },
4015
3351
  {
4016
3352
  "inputs": [],
4017
- "name": "InterMintNotAllowed",
3353
+ "name": "ExpiredSignature",
4018
3354
  "type": "error"
4019
3355
  },
4020
3356
  {
4021
3357
  "inputs": [],
4022
- "name": "InvalidAddress",
3358
+ "name": "GroupIdMismatch",
4023
3359
  "type": "error"
4024
3360
  },
4025
3361
  {
4026
3362
  "inputs": [],
4027
- "name": "InvalidAmount",
3363
+ "name": "InsufficientCollateral",
4028
3364
  "type": "error"
4029
3365
  },
4030
3366
  {
4031
3367
  "inputs": [],
4032
- "name": "InvalidBlockNumber",
3368
+ "name": "InsufficientShortfall",
3369
+ "type": "error"
3370
+ },
3371
+ {
3372
+ "inputs": [],
3373
+ "name": "InvalidAddress",
4033
3374
  "type": "error"
4034
3375
  },
4035
3376
  {
4036
3377
  "inputs": [],
4037
- "name": "InvalidCToken",
3378
+ "name": "InvalidAmount",
4038
3379
  "type": "error"
4039
3380
  },
4040
3381
  {
@@ -4077,11 +3418,6 @@ exports.errorABIs = [
4077
3418
  "name": "InvalidMinSuBorrowValue",
4078
3419
  "type": "error"
4079
3420
  },
4080
- {
4081
- "inputs": [],
4082
- "name": "InvalidRedeem",
4083
- "type": "error"
4084
- },
4085
3421
  {
4086
3422
  "inputs": [],
4087
3423
  "name": "InvalidReduceAmount",
@@ -4107,11 +3443,6 @@ exports.errorABIs = [
4107
3443
  "name": "InvalidSuToken",
4108
3444
  "type": "error"
4109
3445
  },
4110
- {
4111
- "inputs": [],
4112
- "name": "InvalidTimestamp",
4113
- "type": "error"
4114
- },
4115
3446
  {
4116
3447
  "inputs": [],
4117
3448
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -4147,31 +3478,16 @@ exports.errorABIs = [
4147
3478
  "name": "MarketAlreadyListed",
4148
3479
  "type": "error"
4149
3480
  },
4150
- {
4151
- "inputs": [],
4152
- "name": "MarketAlreadyUnlisted",
4153
- "type": "error"
4154
- },
4155
3481
  {
4156
3482
  "inputs": [],
4157
3483
  "name": "MarketCanOnlyInitializeOnce",
4158
3484
  "type": "error"
4159
3485
  },
4160
- {
4161
- "inputs": [],
4162
- "name": "MarketNotEmpty",
4163
- "type": "error"
4164
- },
4165
3486
  {
4166
3487
  "inputs": [],
4167
3488
  "name": "MarketNotListed",
4168
3489
  "type": "error"
4169
3490
  },
4170
- {
4171
- "inputs": [],
4172
- "name": "MarketPaused",
4173
- "type": "error"
4174
- },
4175
3491
  {
4176
3492
  "inputs": [],
4177
3493
  "name": "MinDelayNotReached",
@@ -4212,6 +3528,16 @@ exports.errorABIs = [
4212
3528
  "name": "NotSuToken",
4213
3529
  "type": "error"
4214
3530
  },
3531
+ {
3532
+ "inputs": [],
3533
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
3534
+ "type": "error"
3535
+ },
3536
+ {
3537
+ "inputs": [],
3538
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
3539
+ "type": "error"
3540
+ },
4215
3541
  {
4216
3542
  "inputs": [],
4217
3543
  "name": "OnlyAdmin",
@@ -4219,22 +3545,22 @@ exports.errorABIs = [
4219
3545
  },
4220
3546
  {
4221
3547
  "inputs": [],
4222
- "name": "OnlyAdminOrPauser",
3548
+ "name": "OnlyAdminOrCapper",
4223
3549
  "type": "error"
4224
3550
  },
4225
3551
  {
4226
3552
  "inputs": [],
4227
- "name": "OnlyCToken",
3553
+ "name": "OnlyAdminOrPauser",
4228
3554
  "type": "error"
4229
3555
  },
4230
3556
  {
4231
3557
  "inputs": [],
4232
- "name": "OnlyListedCToken",
3558
+ "name": "OnlyCToken",
4233
3559
  "type": "error"
4234
3560
  },
4235
3561
  {
4236
3562
  "inputs": [],
4237
- "name": "OnlyPausedMarketCanBeUnlisted",
3563
+ "name": "OnlyListedCToken",
4238
3564
  "type": "error"
4239
3565
  },
4240
3566
  {
@@ -4249,17 +3575,17 @@ exports.errorABIs = [
4249
3575
  },
4250
3576
  {
4251
3577
  "inputs": [],
4252
- "name": "OverThreshold",
3578
+ "name": "PriceError",
4253
3579
  "type": "error"
4254
3580
  },
4255
3581
  {
4256
3582
  "inputs": [],
4257
- "name": "PriceError",
3583
+ "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
4258
3584
  "type": "error"
4259
3585
  },
4260
3586
  {
4261
3587
  "inputs": [],
4262
- "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
3588
+ "name": "ProtocolIsPaused",
4263
3589
  "type": "error"
4264
3590
  },
4265
3591
  {
@@ -4292,6 +3618,11 @@ exports.errorABIs = [
4292
3618
  "name": "ReduceReservesMarketNotFresh",
4293
3619
  "type": "error"
4294
3620
  },
3621
+ {
3622
+ "inputs": [],
3623
+ "name": "ReduceReservesOverflow",
3624
+ "type": "error"
3625
+ },
4295
3626
  {
4296
3627
  "inputs": [],
4297
3628
  "name": "RepayBorrowMarketNotFresh",
@@ -4347,16 +3678,6 @@ exports.errorABIs = [
4347
3678
  "name": "TooMuchRepay",
4348
3679
  "type": "error"
4349
3680
  },
4350
- {
4351
- "inputs": [],
4352
- "name": "TotalBorrowsNotZero",
4353
- "type": "error"
4354
- },
4355
- {
4356
- "inputs": [],
4357
- "name": "TotalSupplyNotZero",
4358
- "type": "error"
4359
- },
4360
3681
  {
4361
3682
  "inputs": [],
4362
3683
  "name": "TransferNotAllowed",
@@ -4372,11 +3693,6 @@ exports.errorABIs = [
4372
3693
  "name": "UnderlyingBalanceError",
4373
3694
  "type": "error"
4374
3695
  },
4375
- {
4376
- "inputs": [],
4377
- "name": "ZeroAddressNotAllowed",
4378
- "type": "error"
4379
- },
4380
3696
  {
4381
3697
  "inputs": [],
4382
3698
  "name": "AddReservesMarketNotFresh",
@@ -4423,11 +3739,6 @@ exports.errorABIs = [
4423
3739
  "name": "BorrowValueMustBeLargerThanThreshold",
4424
3740
  "type": "error"
4425
3741
  },
4426
- {
4427
- "inputs": [],
4428
- "name": "CantEnterPausedMarket",
4429
- "type": "error"
4430
- },
4431
3742
  {
4432
3743
  "inputs": [],
4433
3744
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -4445,43 +3756,12 @@ exports.errorABIs = [
4445
3756
  },
4446
3757
  {
4447
3758
  "inputs": [],
4448
- "name": "EitherAssetOrDebtMustBeZero",
4449
- "type": "error"
4450
- },
4451
- {
4452
- "inputs": [
4453
- {
4454
- "internalType": "uint8",
4455
- "name": "groupId",
4456
- "type": "uint8"
4457
- },
4458
- {
4459
- "internalType": "uint256",
4460
- "name": "cDepositVal",
4461
- "type": "uint256"
4462
- },
4463
- {
4464
- "internalType": "uint256",
4465
- "name": "suDepositVal",
4466
- "type": "uint256"
4467
- },
4468
- {
4469
- "internalType": "uint256",
4470
- "name": "cBorrowVal",
4471
- "type": "uint256"
4472
- },
4473
- {
4474
- "internalType": "uint256",
4475
- "name": "suBorrowVal",
4476
- "type": "uint256"
4477
- }
4478
- ],
4479
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
3759
+ "name": "ExpiredSignature",
4480
3760
  "type": "error"
4481
3761
  },
4482
3762
  {
4483
3763
  "inputs": [],
4484
- "name": "ExpiredSignature",
3764
+ "name": "GroupIdMismatch",
4485
3765
  "type": "error"
4486
3766
  },
4487
3767
  {
@@ -4494,11 +3774,6 @@ exports.errorABIs = [
4494
3774
  "name": "InsufficientShortfall",
4495
3775
  "type": "error"
4496
3776
  },
4497
- {
4498
- "inputs": [],
4499
- "name": "InterMintNotAllowed",
4500
- "type": "error"
4501
- },
4502
3777
  {
4503
3778
  "inputs": [],
4504
3779
  "name": "InvalidAddress",
@@ -4509,16 +3784,6 @@ exports.errorABIs = [
4509
3784
  "name": "InvalidAmount",
4510
3785
  "type": "error"
4511
3786
  },
4512
- {
4513
- "inputs": [],
4514
- "name": "InvalidBlockNumber",
4515
- "type": "error"
4516
- },
4517
- {
4518
- "inputs": [],
4519
- "name": "InvalidCToken",
4520
- "type": "error"
4521
- },
4522
3787
  {
4523
3788
  "inputs": [],
4524
3789
  "name": "InvalidCloseFactor",
@@ -4559,11 +3824,6 @@ exports.errorABIs = [
4559
3824
  "name": "InvalidMinSuBorrowValue",
4560
3825
  "type": "error"
4561
3826
  },
4562
- {
4563
- "inputs": [],
4564
- "name": "InvalidRedeem",
4565
- "type": "error"
4566
- },
4567
3827
  {
4568
3828
  "inputs": [],
4569
3829
  "name": "InvalidReduceAmount",
@@ -4589,11 +3849,6 @@ exports.errorABIs = [
4589
3849
  "name": "InvalidSuToken",
4590
3850
  "type": "error"
4591
3851
  },
4592
- {
4593
- "inputs": [],
4594
- "name": "InvalidTimestamp",
4595
- "type": "error"
4596
- },
4597
3852
  {
4598
3853
  "inputs": [],
4599
3854
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -4629,31 +3884,16 @@ exports.errorABIs = [
4629
3884
  "name": "MarketAlreadyListed",
4630
3885
  "type": "error"
4631
3886
  },
4632
- {
4633
- "inputs": [],
4634
- "name": "MarketAlreadyUnlisted",
4635
- "type": "error"
4636
- },
4637
3887
  {
4638
3888
  "inputs": [],
4639
3889
  "name": "MarketCanOnlyInitializeOnce",
4640
3890
  "type": "error"
4641
3891
  },
4642
- {
4643
- "inputs": [],
4644
- "name": "MarketNotEmpty",
4645
- "type": "error"
4646
- },
4647
3892
  {
4648
3893
  "inputs": [],
4649
3894
  "name": "MarketNotListed",
4650
3895
  "type": "error"
4651
3896
  },
4652
- {
4653
- "inputs": [],
4654
- "name": "MarketPaused",
4655
- "type": "error"
4656
- },
4657
3897
  {
4658
3898
  "inputs": [],
4659
3899
  "name": "MinDelayNotReached",
@@ -4694,6 +3934,16 @@ exports.errorABIs = [
4694
3934
  "name": "NotSuToken",
4695
3935
  "type": "error"
4696
3936
  },
3937
+ {
3938
+ "inputs": [],
3939
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
3940
+ "type": "error"
3941
+ },
3942
+ {
3943
+ "inputs": [],
3944
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
3945
+ "type": "error"
3946
+ },
4697
3947
  {
4698
3948
  "inputs": [],
4699
3949
  "name": "OnlyAdmin",
@@ -4701,22 +3951,22 @@ exports.errorABIs = [
4701
3951
  },
4702
3952
  {
4703
3953
  "inputs": [],
4704
- "name": "OnlyAdminOrPauser",
3954
+ "name": "OnlyAdminOrCapper",
4705
3955
  "type": "error"
4706
3956
  },
4707
3957
  {
4708
3958
  "inputs": [],
4709
- "name": "OnlyCToken",
3959
+ "name": "OnlyAdminOrPauser",
4710
3960
  "type": "error"
4711
3961
  },
4712
3962
  {
4713
3963
  "inputs": [],
4714
- "name": "OnlyListedCToken",
3964
+ "name": "OnlyCToken",
4715
3965
  "type": "error"
4716
3966
  },
4717
3967
  {
4718
3968
  "inputs": [],
4719
- "name": "OnlyPausedMarketCanBeUnlisted",
3969
+ "name": "OnlyListedCToken",
4720
3970
  "type": "error"
4721
3971
  },
4722
3972
  {
@@ -4731,17 +3981,17 @@ exports.errorABIs = [
4731
3981
  },
4732
3982
  {
4733
3983
  "inputs": [],
4734
- "name": "OverThreshold",
3984
+ "name": "PriceError",
4735
3985
  "type": "error"
4736
3986
  },
4737
3987
  {
4738
3988
  "inputs": [],
4739
- "name": "PriceError",
3989
+ "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
4740
3990
  "type": "error"
4741
3991
  },
4742
3992
  {
4743
3993
  "inputs": [],
4744
- "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
3994
+ "name": "ProtocolIsPaused",
4745
3995
  "type": "error"
4746
3996
  },
4747
3997
  {
@@ -4774,6 +4024,11 @@ exports.errorABIs = [
4774
4024
  "name": "ReduceReservesMarketNotFresh",
4775
4025
  "type": "error"
4776
4026
  },
4027
+ {
4028
+ "inputs": [],
4029
+ "name": "ReduceReservesOverflow",
4030
+ "type": "error"
4031
+ },
4777
4032
  {
4778
4033
  "inputs": [],
4779
4034
  "name": "RepayBorrowMarketNotFresh",
@@ -4829,16 +4084,6 @@ exports.errorABIs = [
4829
4084
  "name": "TooMuchRepay",
4830
4085
  "type": "error"
4831
4086
  },
4832
- {
4833
- "inputs": [],
4834
- "name": "TotalBorrowsNotZero",
4835
- "type": "error"
4836
- },
4837
- {
4838
- "inputs": [],
4839
- "name": "TotalSupplyNotZero",
4840
- "type": "error"
4841
- },
4842
4087
  {
4843
4088
  "inputs": [],
4844
4089
  "name": "TransferNotAllowed",
@@ -4854,11 +4099,6 @@ exports.errorABIs = [
4854
4099
  "name": "UnderlyingBalanceError",
4855
4100
  "type": "error"
4856
4101
  },
4857
- {
4858
- "inputs": [],
4859
- "name": "ZeroAddressNotAllowed",
4860
- "type": "error"
4861
- },
4862
4102
  {
4863
4103
  "inputs": [
4864
4104
  {
@@ -5004,71 +4244,6 @@ exports.errorABIs = [
5004
4244
  "name": "TokenRateLimitReached",
5005
4245
  "type": "error"
5006
4246
  },
5007
- {
5008
- "inputs": [],
5009
- "name": "InvalidPrice",
5010
- "type": "error"
5011
- },
5012
- {
5013
- "inputs": [],
5014
- "name": "InvalidProxy",
5015
- "type": "error"
5016
- },
5017
- {
5018
- "inputs": [],
5019
- "name": "EmptyAdapterAddress",
5020
- "type": "error"
5021
- },
5022
- {
5023
- "inputs": [],
5024
- "name": "EmptyFeedAddress",
5025
- "type": "error"
5026
- },
5027
- {
5028
- "inputs": [],
5029
- "name": "EmptyMaxStalePeriod",
5030
- "type": "error"
5031
- },
5032
- {
5033
- "inputs": [],
5034
- "name": "EmptyPendlePtOracle",
5035
- "type": "error"
5036
- },
5037
- {
5038
- "inputs": [],
5039
- "name": "EmptyPythOracle",
5040
- "type": "error"
5041
- },
5042
- {
5043
- "inputs": [],
5044
- "name": "InvalidFeedDecimals",
5045
- "type": "error"
5046
- },
5047
- {
5048
- "inputs": [],
5049
- "name": "InvalidPrice",
5050
- "type": "error"
5051
- },
5052
- {
5053
- "inputs": [],
5054
- "name": "UnknownSource",
5055
- "type": "error"
5056
- },
5057
- {
5058
- "inputs": [],
5059
- "name": "UnsupportedSource",
5060
- "type": "error"
5061
- },
5062
- {
5063
- "inputs": [],
5064
- "name": "ZeroAddressNotAllowed",
5065
- "type": "error"
5066
- },
5067
- {
5068
- "inputs": [],
5069
- "name": "ZeroValueNotAllowed",
5070
- "type": "error"
5071
- },
5072
4247
  {
5073
4248
  "inputs": [
5074
4249
  {