@meterio/sumer-js 0.2.37 → 0.2.39

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 (120) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +329 -326
  3. package/dist/nodejs/abi.js +13579 -13953
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/zklink.js +27 -27
  6. package/dist/nodejs/errorABIs.js +270 -535
  7. package/dist/nodejs/errorABIs.js.map +1 -1
  8. package/dist/nodejs/index.d.ts +329 -326
  9. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.d.ts +1 -1
  10. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.js +1 -1
  11. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.js.map +1 -1
  12. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.d.ts +1 -1
  13. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.js +1 -1
  14. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.js.map +1 -1
  15. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +1 -1
  16. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js +1 -1
  17. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js.map +1 -1
  18. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.d.ts +1 -1
  19. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.js +1 -1
  20. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.js.map +1 -1
  21. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.d.ts +1 -1
  22. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.js +1 -1
  23. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.js.map +1 -1
  24. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.d.ts +1 -1
  25. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.js +1 -1
  26. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.js.map +1 -1
  27. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -1
  28. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -1
  29. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  30. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -1
  31. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -1
  32. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  33. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -1
  34. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -1
  35. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  36. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -1
  37. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -1
  38. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
  39. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +1 -1
  40. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +1 -1
  41. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  42. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
  43. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
  44. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js.map +1 -1
  45. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +1 -1
  46. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +1 -1
  47. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
  48. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +1 -1
  49. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +1 -1
  50. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
  51. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
  52. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
  53. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js.map +1 -1
  54. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.d.ts +1 -1
  55. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.js +1 -1
  56. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.js.map +1 -1
  57. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.d.ts +1 -1
  58. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.js +1 -1
  59. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.js.map +1 -1
  60. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.d.ts +1 -1
  61. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.js +1 -1
  62. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.js.map +1 -1
  63. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.d.ts +1 -1
  64. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.js +1 -1
  65. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.js.map +1 -1
  66. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.d.ts +1 -1
  67. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.js +1 -1
  68. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.js.map +1 -1
  69. package/dist/nodejs/typechain/factories/contracts/Library/CreateCall__factory.d.ts +1 -1
  70. package/dist/nodejs/typechain/factories/contracts/Library/CreateCall__factory.js +1 -1
  71. package/dist/nodejs/typechain/factories/contracts/Library/CreateCall__factory.js.map +1 -1
  72. package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.d.ts +1 -1
  73. package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.js +1 -1
  74. package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.js.map +1 -1
  75. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.d.ts +1 -1
  76. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js +1 -1
  77. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js.map +1 -1
  78. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +1 -1
  79. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +1 -1
  80. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
  81. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +1 -1
  82. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +1 -1
  83. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js.map +1 -1
  84. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +1 -1
  85. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +1 -1
  86. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js.map +1 -1
  87. package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/WstMTRGOracle__factory.d.ts +1 -1
  88. package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/WstMTRGOracle__factory.js +1 -1
  89. package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/WstMTRGOracle__factory.js.map +1 -1
  90. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +1 -1
  91. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +1 -1
  92. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
  93. package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.d.ts +1 -1
  94. package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.js +1 -1
  95. package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.js.map +1 -1
  96. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +1 -1
  97. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +1 -1
  98. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
  99. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.d.ts +1 -1
  100. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js +1 -1
  101. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js.map +1 -1
  102. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.d.ts +1 -1
  103. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js +1 -1
  104. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js.map +1 -1
  105. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.d.ts +1 -1
  106. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js +1 -1
  107. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js.map +1 -1
  108. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/FraxGaugeController__factory.d.ts +1 -1
  109. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/FraxGaugeController__factory.js +1 -1
  110. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/FraxGaugeController__factory.js.map +1 -1
  111. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.d.ts +1 -1
  112. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.js +1 -1
  113. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.js.map +1 -1
  114. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.d.ts +1 -1
  115. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.js +1 -1
  116. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.js.map +1 -1
  117. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.d.ts +1 -1
  118. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js +1 -1
  119. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js.map +1 -1
  120. package/package.json +1 -1
@@ -65,43 +65,12 @@ exports.errorABIs = [
65
65
  },
66
66
  {
67
67
  "inputs": [],
68
- "name": "EitherAssetOrDebtMustBeZero",
69
- "type": "error"
70
- },
71
- {
72
- "inputs": [
73
- {
74
- "internalType": "uint8",
75
- "name": "groupId",
76
- "type": "uint8"
77
- },
78
- {
79
- "internalType": "uint256",
80
- "name": "cDepositVal",
81
- "type": "uint256"
82
- },
83
- {
84
- "internalType": "uint256",
85
- "name": "suDepositVal",
86
- "type": "uint256"
87
- },
88
- {
89
- "internalType": "uint256",
90
- "name": "cBorrowVal",
91
- "type": "uint256"
92
- },
93
- {
94
- "internalType": "uint256",
95
- "name": "suBorrowVal",
96
- "type": "uint256"
97
- }
98
- ],
99
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
68
+ "name": "ExpiredSignature",
100
69
  "type": "error"
101
70
  },
102
71
  {
103
72
  "inputs": [],
104
- "name": "ExpiredSignature",
73
+ "name": "GroupIdMismatch",
105
74
  "type": "error"
106
75
  },
107
76
  {
@@ -124,11 +93,6 @@ exports.errorABIs = [
124
93
  "name": "InvalidAmount",
125
94
  "type": "error"
126
95
  },
127
- {
128
- "inputs": [],
129
- "name": "InvalidBlockNumber",
130
- "type": "error"
131
- },
132
96
  {
133
97
  "inputs": [],
134
98
  "name": "InvalidCloseFactor",
@@ -194,11 +158,6 @@ exports.errorABIs = [
194
158
  "name": "InvalidSuToken",
195
159
  "type": "error"
196
160
  },
197
- {
198
- "inputs": [],
199
- "name": "InvalidTimestamp",
200
- "type": "error"
201
- },
202
161
  {
203
162
  "inputs": [],
204
163
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -284,11 +243,26 @@ exports.errorABIs = [
284
243
  "name": "NotSuToken",
285
244
  "type": "error"
286
245
  },
246
+ {
247
+ "inputs": [],
248
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
249
+ "type": "error"
250
+ },
251
+ {
252
+ "inputs": [],
253
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
254
+ "type": "error"
255
+ },
287
256
  {
288
257
  "inputs": [],
289
258
  "name": "OnlyAdmin",
290
259
  "type": "error"
291
260
  },
261
+ {
262
+ "inputs": [],
263
+ "name": "OnlyAdminOrCapper",
264
+ "type": "error"
265
+ },
292
266
  {
293
267
  "inputs": [],
294
268
  "name": "OnlyAdminOrPauser",
@@ -324,6 +298,11 @@ exports.errorABIs = [
324
298
  "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
325
299
  "type": "error"
326
300
  },
301
+ {
302
+ "inputs": [],
303
+ "name": "ProtocolIsPaused",
304
+ "type": "error"
305
+ },
327
306
  {
328
307
  "inputs": [],
329
308
  "name": "RedeemMarketNotFresh",
@@ -354,6 +333,11 @@ exports.errorABIs = [
354
333
  "name": "ReduceReservesMarketNotFresh",
355
334
  "type": "error"
356
335
  },
336
+ {
337
+ "inputs": [],
338
+ "name": "ReduceReservesOverflow",
339
+ "type": "error"
340
+ },
357
341
  {
358
342
  "inputs": [],
359
343
  "name": "RepayBorrowMarketNotFresh",
@@ -424,11 +408,6 @@ exports.errorABIs = [
424
408
  "name": "UnderlyingBalanceError",
425
409
  "type": "error"
426
410
  },
427
- {
428
- "inputs": [],
429
- "name": "ZeroAddressNotAllowed",
430
- "type": "error"
431
- },
432
411
  {
433
412
  "inputs": [],
434
413
  "name": "AddReservesMarketNotFresh",
@@ -508,43 +487,12 @@ exports.errorABIs = [
508
487
  },
509
488
  {
510
489
  "inputs": [],
511
- "name": "EitherAssetOrDebtMustBeZero",
512
- "type": "error"
513
- },
514
- {
515
- "inputs": [
516
- {
517
- "internalType": "uint8",
518
- "name": "groupId",
519
- "type": "uint8"
520
- },
521
- {
522
- "internalType": "uint256",
523
- "name": "cDepositVal",
524
- "type": "uint256"
525
- },
526
- {
527
- "internalType": "uint256",
528
- "name": "suDepositVal",
529
- "type": "uint256"
530
- },
531
- {
532
- "internalType": "uint256",
533
- "name": "cBorrowVal",
534
- "type": "uint256"
535
- },
536
- {
537
- "internalType": "uint256",
538
- "name": "suBorrowVal",
539
- "type": "uint256"
540
- }
541
- ],
542
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
490
+ "name": "ExpiredSignature",
543
491
  "type": "error"
544
492
  },
545
493
  {
546
494
  "inputs": [],
547
- "name": "ExpiredSignature",
495
+ "name": "GroupIdMismatch",
548
496
  "type": "error"
549
497
  },
550
498
  {
@@ -567,11 +515,6 @@ exports.errorABIs = [
567
515
  "name": "InvalidAmount",
568
516
  "type": "error"
569
517
  },
570
- {
571
- "inputs": [],
572
- "name": "InvalidBlockNumber",
573
- "type": "error"
574
- },
575
518
  {
576
519
  "inputs": [],
577
520
  "name": "InvalidCloseFactor",
@@ -637,11 +580,6 @@ exports.errorABIs = [
637
580
  "name": "InvalidSuToken",
638
581
  "type": "error"
639
582
  },
640
- {
641
- "inputs": [],
642
- "name": "InvalidTimestamp",
643
- "type": "error"
644
- },
645
583
  {
646
584
  "inputs": [],
647
585
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -727,11 +665,26 @@ exports.errorABIs = [
727
665
  "name": "NotSuToken",
728
666
  "type": "error"
729
667
  },
668
+ {
669
+ "inputs": [],
670
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
671
+ "type": "error"
672
+ },
673
+ {
674
+ "inputs": [],
675
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
676
+ "type": "error"
677
+ },
730
678
  {
731
679
  "inputs": [],
732
680
  "name": "OnlyAdmin",
733
681
  "type": "error"
734
682
  },
683
+ {
684
+ "inputs": [],
685
+ "name": "OnlyAdminOrCapper",
686
+ "type": "error"
687
+ },
735
688
  {
736
689
  "inputs": [],
737
690
  "name": "OnlyAdminOrPauser",
@@ -767,6 +720,11 @@ exports.errorABIs = [
767
720
  "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
768
721
  "type": "error"
769
722
  },
723
+ {
724
+ "inputs": [],
725
+ "name": "ProtocolIsPaused",
726
+ "type": "error"
727
+ },
770
728
  {
771
729
  "inputs": [],
772
730
  "name": "RedeemMarketNotFresh",
@@ -797,6 +755,11 @@ exports.errorABIs = [
797
755
  "name": "ReduceReservesMarketNotFresh",
798
756
  "type": "error"
799
757
  },
758
+ {
759
+ "inputs": [],
760
+ "name": "ReduceReservesOverflow",
761
+ "type": "error"
762
+ },
800
763
  {
801
764
  "inputs": [],
802
765
  "name": "RepayBorrowMarketNotFresh",
@@ -888,11 +851,6 @@ exports.errorABIs = [
888
851
  "name": "UnderlyingBalanceError",
889
852
  "type": "error"
890
853
  },
891
- {
892
- "inputs": [],
893
- "name": "ZeroAddressNotAllowed",
894
- "type": "error"
895
- },
896
854
  {
897
855
  "inputs": [],
898
856
  "name": "AddReservesMarketNotFresh",
@@ -956,43 +914,12 @@ exports.errorABIs = [
956
914
  },
957
915
  {
958
916
  "inputs": [],
959
- "name": "EitherAssetOrDebtMustBeZero",
960
- "type": "error"
961
- },
962
- {
963
- "inputs": [
964
- {
965
- "internalType": "uint8",
966
- "name": "groupId",
967
- "type": "uint8"
968
- },
969
- {
970
- "internalType": "uint256",
971
- "name": "cDepositVal",
972
- "type": "uint256"
973
- },
974
- {
975
- "internalType": "uint256",
976
- "name": "suDepositVal",
977
- "type": "uint256"
978
- },
979
- {
980
- "internalType": "uint256",
981
- "name": "cBorrowVal",
982
- "type": "uint256"
983
- },
984
- {
985
- "internalType": "uint256",
986
- "name": "suBorrowVal",
987
- "type": "uint256"
988
- }
989
- ],
990
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
917
+ "name": "ExpiredSignature",
991
918
  "type": "error"
992
919
  },
993
920
  {
994
921
  "inputs": [],
995
- "name": "ExpiredSignature",
922
+ "name": "GroupIdMismatch",
996
923
  "type": "error"
997
924
  },
998
925
  {
@@ -1015,11 +942,6 @@ exports.errorABIs = [
1015
942
  "name": "InvalidAmount",
1016
943
  "type": "error"
1017
944
  },
1018
- {
1019
- "inputs": [],
1020
- "name": "InvalidBlockNumber",
1021
- "type": "error"
1022
- },
1023
945
  {
1024
946
  "inputs": [],
1025
947
  "name": "InvalidCloseFactor",
@@ -1085,11 +1007,6 @@ exports.errorABIs = [
1085
1007
  "name": "InvalidSuToken",
1086
1008
  "type": "error"
1087
1009
  },
1088
- {
1089
- "inputs": [],
1090
- "name": "InvalidTimestamp",
1091
- "type": "error"
1092
- },
1093
1010
  {
1094
1011
  "inputs": [],
1095
1012
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -1175,11 +1092,26 @@ exports.errorABIs = [
1175
1092
  "name": "NotSuToken",
1176
1093
  "type": "error"
1177
1094
  },
1095
+ {
1096
+ "inputs": [],
1097
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
1098
+ "type": "error"
1099
+ },
1100
+ {
1101
+ "inputs": [],
1102
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
1103
+ "type": "error"
1104
+ },
1178
1105
  {
1179
1106
  "inputs": [],
1180
1107
  "name": "OnlyAdmin",
1181
1108
  "type": "error"
1182
1109
  },
1110
+ {
1111
+ "inputs": [],
1112
+ "name": "OnlyAdminOrCapper",
1113
+ "type": "error"
1114
+ },
1183
1115
  {
1184
1116
  "inputs": [],
1185
1117
  "name": "OnlyAdminOrPauser",
@@ -1215,6 +1147,11 @@ exports.errorABIs = [
1215
1147
  "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
1216
1148
  "type": "error"
1217
1149
  },
1150
+ {
1151
+ "inputs": [],
1152
+ "name": "ProtocolIsPaused",
1153
+ "type": "error"
1154
+ },
1218
1155
  {
1219
1156
  "inputs": [],
1220
1157
  "name": "RedeemMarketNotFresh",
@@ -1245,6 +1182,11 @@ exports.errorABIs = [
1245
1182
  "name": "ReduceReservesMarketNotFresh",
1246
1183
  "type": "error"
1247
1184
  },
1185
+ {
1186
+ "inputs": [],
1187
+ "name": "ReduceReservesOverflow",
1188
+ "type": "error"
1189
+ },
1248
1190
  {
1249
1191
  "inputs": [],
1250
1192
  "name": "RepayBorrowMarketNotFresh",
@@ -1315,11 +1257,6 @@ exports.errorABIs = [
1315
1257
  "name": "UnderlyingBalanceError",
1316
1258
  "type": "error"
1317
1259
  },
1318
- {
1319
- "inputs": [],
1320
- "name": "ZeroAddressNotAllowed",
1321
- "type": "error"
1322
- },
1323
1260
  {
1324
1261
  "inputs": [],
1325
1262
  "name": "AddReservesMarketNotFresh",
@@ -1383,43 +1320,12 @@ exports.errorABIs = [
1383
1320
  },
1384
1321
  {
1385
1322
  "inputs": [],
1386
- "name": "EitherAssetOrDebtMustBeZero",
1387
- "type": "error"
1388
- },
1389
- {
1390
- "inputs": [
1391
- {
1392
- "internalType": "uint8",
1393
- "name": "groupId",
1394
- "type": "uint8"
1395
- },
1396
- {
1397
- "internalType": "uint256",
1398
- "name": "cDepositVal",
1399
- "type": "uint256"
1400
- },
1401
- {
1402
- "internalType": "uint256",
1403
- "name": "suDepositVal",
1404
- "type": "uint256"
1405
- },
1406
- {
1407
- "internalType": "uint256",
1408
- "name": "cBorrowVal",
1409
- "type": "uint256"
1410
- },
1411
- {
1412
- "internalType": "uint256",
1413
- "name": "suBorrowVal",
1414
- "type": "uint256"
1415
- }
1416
- ],
1417
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
1323
+ "name": "ExpiredSignature",
1418
1324
  "type": "error"
1419
1325
  },
1420
1326
  {
1421
1327
  "inputs": [],
1422
- "name": "ExpiredSignature",
1328
+ "name": "GroupIdMismatch",
1423
1329
  "type": "error"
1424
1330
  },
1425
1331
  {
@@ -1442,11 +1348,6 @@ exports.errorABIs = [
1442
1348
  "name": "InvalidAmount",
1443
1349
  "type": "error"
1444
1350
  },
1445
- {
1446
- "inputs": [],
1447
- "name": "InvalidBlockNumber",
1448
- "type": "error"
1449
- },
1450
1351
  {
1451
1352
  "inputs": [],
1452
1353
  "name": "InvalidCloseFactor",
@@ -1512,11 +1413,6 @@ exports.errorABIs = [
1512
1413
  "name": "InvalidSuToken",
1513
1414
  "type": "error"
1514
1415
  },
1515
- {
1516
- "inputs": [],
1517
- "name": "InvalidTimestamp",
1518
- "type": "error"
1519
- },
1520
1416
  {
1521
1417
  "inputs": [],
1522
1418
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -1602,11 +1498,26 @@ exports.errorABIs = [
1602
1498
  "name": "NotSuToken",
1603
1499
  "type": "error"
1604
1500
  },
1501
+ {
1502
+ "inputs": [],
1503
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
1504
+ "type": "error"
1505
+ },
1506
+ {
1507
+ "inputs": [],
1508
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
1509
+ "type": "error"
1510
+ },
1605
1511
  {
1606
1512
  "inputs": [],
1607
1513
  "name": "OnlyAdmin",
1608
1514
  "type": "error"
1609
1515
  },
1516
+ {
1517
+ "inputs": [],
1518
+ "name": "OnlyAdminOrCapper",
1519
+ "type": "error"
1520
+ },
1610
1521
  {
1611
1522
  "inputs": [],
1612
1523
  "name": "OnlyAdminOrPauser",
@@ -1642,6 +1553,11 @@ exports.errorABIs = [
1642
1553
  "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
1643
1554
  "type": "error"
1644
1555
  },
1556
+ {
1557
+ "inputs": [],
1558
+ "name": "ProtocolIsPaused",
1559
+ "type": "error"
1560
+ },
1645
1561
  {
1646
1562
  "inputs": [],
1647
1563
  "name": "RedeemMarketNotFresh",
@@ -1672,6 +1588,11 @@ exports.errorABIs = [
1672
1588
  "name": "ReduceReservesMarketNotFresh",
1673
1589
  "type": "error"
1674
1590
  },
1591
+ {
1592
+ "inputs": [],
1593
+ "name": "ReduceReservesOverflow",
1594
+ "type": "error"
1595
+ },
1675
1596
  {
1676
1597
  "inputs": [],
1677
1598
  "name": "RepayBorrowMarketNotFresh",
@@ -1742,11 +1663,6 @@ exports.errorABIs = [
1742
1663
  "name": "UnderlyingBalanceError",
1743
1664
  "type": "error"
1744
1665
  },
1745
- {
1746
- "inputs": [],
1747
- "name": "ZeroAddressNotAllowed",
1748
- "type": "error"
1749
- },
1750
1666
  {
1751
1667
  "inputs": [],
1752
1668
  "name": "AddReservesMarketNotFresh",
@@ -1810,43 +1726,12 @@ exports.errorABIs = [
1810
1726
  },
1811
1727
  {
1812
1728
  "inputs": [],
1813
- "name": "EitherAssetOrDebtMustBeZero",
1814
- "type": "error"
1815
- },
1816
- {
1817
- "inputs": [
1818
- {
1819
- "internalType": "uint8",
1820
- "name": "groupId",
1821
- "type": "uint8"
1822
- },
1823
- {
1824
- "internalType": "uint256",
1825
- "name": "cDepositVal",
1826
- "type": "uint256"
1827
- },
1828
- {
1829
- "internalType": "uint256",
1830
- "name": "suDepositVal",
1831
- "type": "uint256"
1832
- },
1833
- {
1834
- "internalType": "uint256",
1835
- "name": "cBorrowVal",
1836
- "type": "uint256"
1837
- },
1838
- {
1839
- "internalType": "uint256",
1840
- "name": "suBorrowVal",
1841
- "type": "uint256"
1842
- }
1843
- ],
1844
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
1729
+ "name": "ExpiredSignature",
1845
1730
  "type": "error"
1846
1731
  },
1847
1732
  {
1848
1733
  "inputs": [],
1849
- "name": "ExpiredSignature",
1734
+ "name": "GroupIdMismatch",
1850
1735
  "type": "error"
1851
1736
  },
1852
1737
  {
@@ -1869,11 +1754,6 @@ exports.errorABIs = [
1869
1754
  "name": "InvalidAmount",
1870
1755
  "type": "error"
1871
1756
  },
1872
- {
1873
- "inputs": [],
1874
- "name": "InvalidBlockNumber",
1875
- "type": "error"
1876
- },
1877
1757
  {
1878
1758
  "inputs": [],
1879
1759
  "name": "InvalidCloseFactor",
@@ -1939,11 +1819,6 @@ exports.errorABIs = [
1939
1819
  "name": "InvalidSuToken",
1940
1820
  "type": "error"
1941
1821
  },
1942
- {
1943
- "inputs": [],
1944
- "name": "InvalidTimestamp",
1945
- "type": "error"
1946
- },
1947
1822
  {
1948
1823
  "inputs": [],
1949
1824
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -2029,11 +1904,26 @@ exports.errorABIs = [
2029
1904
  "name": "NotSuToken",
2030
1905
  "type": "error"
2031
1906
  },
1907
+ {
1908
+ "inputs": [],
1909
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
1910
+ "type": "error"
1911
+ },
1912
+ {
1913
+ "inputs": [],
1914
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
1915
+ "type": "error"
1916
+ },
2032
1917
  {
2033
1918
  "inputs": [],
2034
1919
  "name": "OnlyAdmin",
2035
1920
  "type": "error"
2036
1921
  },
1922
+ {
1923
+ "inputs": [],
1924
+ "name": "OnlyAdminOrCapper",
1925
+ "type": "error"
1926
+ },
2037
1927
  {
2038
1928
  "inputs": [],
2039
1929
  "name": "OnlyAdminOrPauser",
@@ -2069,6 +1959,11 @@ exports.errorABIs = [
2069
1959
  "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
2070
1960
  "type": "error"
2071
1961
  },
1962
+ {
1963
+ "inputs": [],
1964
+ "name": "ProtocolIsPaused",
1965
+ "type": "error"
1966
+ },
2072
1967
  {
2073
1968
  "inputs": [],
2074
1969
  "name": "RedeemMarketNotFresh",
@@ -2099,6 +1994,11 @@ exports.errorABIs = [
2099
1994
  "name": "ReduceReservesMarketNotFresh",
2100
1995
  "type": "error"
2101
1996
  },
1997
+ {
1998
+ "inputs": [],
1999
+ "name": "ReduceReservesOverflow",
2000
+ "type": "error"
2001
+ },
2102
2002
  {
2103
2003
  "inputs": [],
2104
2004
  "name": "RepayBorrowMarketNotFresh",
@@ -2169,11 +2069,6 @@ exports.errorABIs = [
2169
2069
  "name": "UnderlyingBalanceError",
2170
2070
  "type": "error"
2171
2071
  },
2172
- {
2173
- "inputs": [],
2174
- "name": "ZeroAddressNotAllowed",
2175
- "type": "error"
2176
- },
2177
2072
  {
2178
2073
  "inputs": [],
2179
2074
  "name": "AddReservesMarketNotFresh",
@@ -2237,43 +2132,12 @@ exports.errorABIs = [
2237
2132
  },
2238
2133
  {
2239
2134
  "inputs": [],
2240
- "name": "EitherAssetOrDebtMustBeZero",
2241
- "type": "error"
2242
- },
2243
- {
2244
- "inputs": [
2245
- {
2246
- "internalType": "uint8",
2247
- "name": "groupId",
2248
- "type": "uint8"
2249
- },
2250
- {
2251
- "internalType": "uint256",
2252
- "name": "cDepositVal",
2253
- "type": "uint256"
2254
- },
2255
- {
2256
- "internalType": "uint256",
2257
- "name": "suDepositVal",
2258
- "type": "uint256"
2259
- },
2260
- {
2261
- "internalType": "uint256",
2262
- "name": "cBorrowVal",
2263
- "type": "uint256"
2264
- },
2265
- {
2266
- "internalType": "uint256",
2267
- "name": "suBorrowVal",
2268
- "type": "uint256"
2269
- }
2270
- ],
2271
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
2135
+ "name": "ExpiredSignature",
2272
2136
  "type": "error"
2273
2137
  },
2274
2138
  {
2275
2139
  "inputs": [],
2276
- "name": "ExpiredSignature",
2140
+ "name": "GroupIdMismatch",
2277
2141
  "type": "error"
2278
2142
  },
2279
2143
  {
@@ -2296,11 +2160,6 @@ exports.errorABIs = [
2296
2160
  "name": "InvalidAmount",
2297
2161
  "type": "error"
2298
2162
  },
2299
- {
2300
- "inputs": [],
2301
- "name": "InvalidBlockNumber",
2302
- "type": "error"
2303
- },
2304
2163
  {
2305
2164
  "inputs": [],
2306
2165
  "name": "InvalidCloseFactor",
@@ -2366,11 +2225,6 @@ exports.errorABIs = [
2366
2225
  "name": "InvalidSuToken",
2367
2226
  "type": "error"
2368
2227
  },
2369
- {
2370
- "inputs": [],
2371
- "name": "InvalidTimestamp",
2372
- "type": "error"
2373
- },
2374
2228
  {
2375
2229
  "inputs": [],
2376
2230
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -2456,11 +2310,26 @@ exports.errorABIs = [
2456
2310
  "name": "NotSuToken",
2457
2311
  "type": "error"
2458
2312
  },
2313
+ {
2314
+ "inputs": [],
2315
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
2316
+ "type": "error"
2317
+ },
2318
+ {
2319
+ "inputs": [],
2320
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
2321
+ "type": "error"
2322
+ },
2459
2323
  {
2460
2324
  "inputs": [],
2461
2325
  "name": "OnlyAdmin",
2462
2326
  "type": "error"
2463
2327
  },
2328
+ {
2329
+ "inputs": [],
2330
+ "name": "OnlyAdminOrCapper",
2331
+ "type": "error"
2332
+ },
2464
2333
  {
2465
2334
  "inputs": [],
2466
2335
  "name": "OnlyAdminOrPauser",
@@ -2496,6 +2365,11 @@ exports.errorABIs = [
2496
2365
  "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
2497
2366
  "type": "error"
2498
2367
  },
2368
+ {
2369
+ "inputs": [],
2370
+ "name": "ProtocolIsPaused",
2371
+ "type": "error"
2372
+ },
2499
2373
  {
2500
2374
  "inputs": [],
2501
2375
  "name": "RedeemMarketNotFresh",
@@ -2526,6 +2400,11 @@ exports.errorABIs = [
2526
2400
  "name": "ReduceReservesMarketNotFresh",
2527
2401
  "type": "error"
2528
2402
  },
2403
+ {
2404
+ "inputs": [],
2405
+ "name": "ReduceReservesOverflow",
2406
+ "type": "error"
2407
+ },
2529
2408
  {
2530
2409
  "inputs": [],
2531
2410
  "name": "RepayBorrowMarketNotFresh",
@@ -2596,11 +2475,6 @@ exports.errorABIs = [
2596
2475
  "name": "UnderlyingBalanceError",
2597
2476
  "type": "error"
2598
2477
  },
2599
- {
2600
- "inputs": [],
2601
- "name": "ZeroAddressNotAllowed",
2602
- "type": "error"
2603
- },
2604
2478
  {
2605
2479
  "inputs": [],
2606
2480
  "name": "AddReservesMarketNotFresh",
@@ -2664,43 +2538,12 @@ exports.errorABIs = [
2664
2538
  },
2665
2539
  {
2666
2540
  "inputs": [],
2667
- "name": "EitherAssetOrDebtMustBeZero",
2668
- "type": "error"
2669
- },
2670
- {
2671
- "inputs": [
2672
- {
2673
- "internalType": "uint8",
2674
- "name": "groupId",
2675
- "type": "uint8"
2676
- },
2677
- {
2678
- "internalType": "uint256",
2679
- "name": "cDepositVal",
2680
- "type": "uint256"
2681
- },
2682
- {
2683
- "internalType": "uint256",
2684
- "name": "suDepositVal",
2685
- "type": "uint256"
2686
- },
2687
- {
2688
- "internalType": "uint256",
2689
- "name": "cBorrowVal",
2690
- "type": "uint256"
2691
- },
2692
- {
2693
- "internalType": "uint256",
2694
- "name": "suBorrowVal",
2695
- "type": "uint256"
2696
- }
2697
- ],
2698
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
2541
+ "name": "ExpiredSignature",
2699
2542
  "type": "error"
2700
2543
  },
2701
2544
  {
2702
2545
  "inputs": [],
2703
- "name": "ExpiredSignature",
2546
+ "name": "GroupIdMismatch",
2704
2547
  "type": "error"
2705
2548
  },
2706
2549
  {
@@ -2723,11 +2566,6 @@ exports.errorABIs = [
2723
2566
  "name": "InvalidAmount",
2724
2567
  "type": "error"
2725
2568
  },
2726
- {
2727
- "inputs": [],
2728
- "name": "InvalidBlockNumber",
2729
- "type": "error"
2730
- },
2731
2569
  {
2732
2570
  "inputs": [],
2733
2571
  "name": "InvalidCloseFactor",
@@ -2793,11 +2631,6 @@ exports.errorABIs = [
2793
2631
  "name": "InvalidSuToken",
2794
2632
  "type": "error"
2795
2633
  },
2796
- {
2797
- "inputs": [],
2798
- "name": "InvalidTimestamp",
2799
- "type": "error"
2800
- },
2801
2634
  {
2802
2635
  "inputs": [],
2803
2636
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -2883,11 +2716,26 @@ exports.errorABIs = [
2883
2716
  "name": "NotSuToken",
2884
2717
  "type": "error"
2885
2718
  },
2719
+ {
2720
+ "inputs": [],
2721
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
2722
+ "type": "error"
2723
+ },
2724
+ {
2725
+ "inputs": [],
2726
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
2727
+ "type": "error"
2728
+ },
2886
2729
  {
2887
2730
  "inputs": [],
2888
2731
  "name": "OnlyAdmin",
2889
2732
  "type": "error"
2890
2733
  },
2734
+ {
2735
+ "inputs": [],
2736
+ "name": "OnlyAdminOrCapper",
2737
+ "type": "error"
2738
+ },
2891
2739
  {
2892
2740
  "inputs": [],
2893
2741
  "name": "OnlyAdminOrPauser",
@@ -2923,6 +2771,11 @@ exports.errorABIs = [
2923
2771
  "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
2924
2772
  "type": "error"
2925
2773
  },
2774
+ {
2775
+ "inputs": [],
2776
+ "name": "ProtocolIsPaused",
2777
+ "type": "error"
2778
+ },
2926
2779
  {
2927
2780
  "inputs": [],
2928
2781
  "name": "RedeemMarketNotFresh",
@@ -2953,6 +2806,11 @@ exports.errorABIs = [
2953
2806
  "name": "ReduceReservesMarketNotFresh",
2954
2807
  "type": "error"
2955
2808
  },
2809
+ {
2810
+ "inputs": [],
2811
+ "name": "ReduceReservesOverflow",
2812
+ "type": "error"
2813
+ },
2956
2814
  {
2957
2815
  "inputs": [],
2958
2816
  "name": "RepayBorrowMarketNotFresh",
@@ -3023,11 +2881,6 @@ exports.errorABIs = [
3023
2881
  "name": "UnderlyingBalanceError",
3024
2882
  "type": "error"
3025
2883
  },
3026
- {
3027
- "inputs": [],
3028
- "name": "ZeroAddressNotAllowed",
3029
- "type": "error"
3030
- },
3031
2884
  {
3032
2885
  "inputs": [],
3033
2886
  "name": "AddReservesMarketNotFresh",
@@ -3091,43 +2944,12 @@ exports.errorABIs = [
3091
2944
  },
3092
2945
  {
3093
2946
  "inputs": [],
3094
- "name": "EitherAssetOrDebtMustBeZero",
3095
- "type": "error"
3096
- },
3097
- {
3098
- "inputs": [
3099
- {
3100
- "internalType": "uint8",
3101
- "name": "groupId",
3102
- "type": "uint8"
3103
- },
3104
- {
3105
- "internalType": "uint256",
3106
- "name": "cDepositVal",
3107
- "type": "uint256"
3108
- },
3109
- {
3110
- "internalType": "uint256",
3111
- "name": "suDepositVal",
3112
- "type": "uint256"
3113
- },
3114
- {
3115
- "internalType": "uint256",
3116
- "name": "cBorrowVal",
3117
- "type": "uint256"
3118
- },
3119
- {
3120
- "internalType": "uint256",
3121
- "name": "suBorrowVal",
3122
- "type": "uint256"
3123
- }
3124
- ],
3125
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
2947
+ "name": "ExpiredSignature",
3126
2948
  "type": "error"
3127
2949
  },
3128
2950
  {
3129
2951
  "inputs": [],
3130
- "name": "ExpiredSignature",
2952
+ "name": "GroupIdMismatch",
3131
2953
  "type": "error"
3132
2954
  },
3133
2955
  {
@@ -3150,11 +2972,6 @@ exports.errorABIs = [
3150
2972
  "name": "InvalidAmount",
3151
2973
  "type": "error"
3152
2974
  },
3153
- {
3154
- "inputs": [],
3155
- "name": "InvalidBlockNumber",
3156
- "type": "error"
3157
- },
3158
2975
  {
3159
2976
  "inputs": [],
3160
2977
  "name": "InvalidCloseFactor",
@@ -3220,11 +3037,6 @@ exports.errorABIs = [
3220
3037
  "name": "InvalidSuToken",
3221
3038
  "type": "error"
3222
3039
  },
3223
- {
3224
- "inputs": [],
3225
- "name": "InvalidTimestamp",
3226
- "type": "error"
3227
- },
3228
3040
  {
3229
3041
  "inputs": [],
3230
3042
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -3310,11 +3122,26 @@ exports.errorABIs = [
3310
3122
  "name": "NotSuToken",
3311
3123
  "type": "error"
3312
3124
  },
3125
+ {
3126
+ "inputs": [],
3127
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
3128
+ "type": "error"
3129
+ },
3130
+ {
3131
+ "inputs": [],
3132
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
3133
+ "type": "error"
3134
+ },
3313
3135
  {
3314
3136
  "inputs": [],
3315
3137
  "name": "OnlyAdmin",
3316
3138
  "type": "error"
3317
3139
  },
3140
+ {
3141
+ "inputs": [],
3142
+ "name": "OnlyAdminOrCapper",
3143
+ "type": "error"
3144
+ },
3318
3145
  {
3319
3146
  "inputs": [],
3320
3147
  "name": "OnlyAdminOrPauser",
@@ -3350,6 +3177,11 @@ exports.errorABIs = [
3350
3177
  "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
3351
3178
  "type": "error"
3352
3179
  },
3180
+ {
3181
+ "inputs": [],
3182
+ "name": "ProtocolIsPaused",
3183
+ "type": "error"
3184
+ },
3353
3185
  {
3354
3186
  "inputs": [],
3355
3187
  "name": "RedeemMarketNotFresh",
@@ -3380,6 +3212,11 @@ exports.errorABIs = [
3380
3212
  "name": "ReduceReservesMarketNotFresh",
3381
3213
  "type": "error"
3382
3214
  },
3215
+ {
3216
+ "inputs": [],
3217
+ "name": "ReduceReservesOverflow",
3218
+ "type": "error"
3219
+ },
3383
3220
  {
3384
3221
  "inputs": [],
3385
3222
  "name": "RepayBorrowMarketNotFresh",
@@ -3450,11 +3287,6 @@ exports.errorABIs = [
3450
3287
  "name": "UnderlyingBalanceError",
3451
3288
  "type": "error"
3452
3289
  },
3453
- {
3454
- "inputs": [],
3455
- "name": "ZeroAddressNotAllowed",
3456
- "type": "error"
3457
- },
3458
3290
  {
3459
3291
  "inputs": [],
3460
3292
  "name": "AddReservesMarketNotFresh",
@@ -3518,43 +3350,12 @@ exports.errorABIs = [
3518
3350
  },
3519
3351
  {
3520
3352
  "inputs": [],
3521
- "name": "EitherAssetOrDebtMustBeZero",
3522
- "type": "error"
3523
- },
3524
- {
3525
- "inputs": [
3526
- {
3527
- "internalType": "uint8",
3528
- "name": "groupId",
3529
- "type": "uint8"
3530
- },
3531
- {
3532
- "internalType": "uint256",
3533
- "name": "cDepositVal",
3534
- "type": "uint256"
3535
- },
3536
- {
3537
- "internalType": "uint256",
3538
- "name": "suDepositVal",
3539
- "type": "uint256"
3540
- },
3541
- {
3542
- "internalType": "uint256",
3543
- "name": "cBorrowVal",
3544
- "type": "uint256"
3545
- },
3546
- {
3547
- "internalType": "uint256",
3548
- "name": "suBorrowVal",
3549
- "type": "uint256"
3550
- }
3551
- ],
3552
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
3353
+ "name": "ExpiredSignature",
3553
3354
  "type": "error"
3554
3355
  },
3555
3356
  {
3556
3357
  "inputs": [],
3557
- "name": "ExpiredSignature",
3358
+ "name": "GroupIdMismatch",
3558
3359
  "type": "error"
3559
3360
  },
3560
3361
  {
@@ -3577,11 +3378,6 @@ exports.errorABIs = [
3577
3378
  "name": "InvalidAmount",
3578
3379
  "type": "error"
3579
3380
  },
3580
- {
3581
- "inputs": [],
3582
- "name": "InvalidBlockNumber",
3583
- "type": "error"
3584
- },
3585
3381
  {
3586
3382
  "inputs": [],
3587
3383
  "name": "InvalidCloseFactor",
@@ -3647,11 +3443,6 @@ exports.errorABIs = [
3647
3443
  "name": "InvalidSuToken",
3648
3444
  "type": "error"
3649
3445
  },
3650
- {
3651
- "inputs": [],
3652
- "name": "InvalidTimestamp",
3653
- "type": "error"
3654
- },
3655
3446
  {
3656
3447
  "inputs": [],
3657
3448
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -3737,11 +3528,26 @@ exports.errorABIs = [
3737
3528
  "name": "NotSuToken",
3738
3529
  "type": "error"
3739
3530
  },
3531
+ {
3532
+ "inputs": [],
3533
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
3534
+ "type": "error"
3535
+ },
3536
+ {
3537
+ "inputs": [],
3538
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
3539
+ "type": "error"
3540
+ },
3740
3541
  {
3741
3542
  "inputs": [],
3742
3543
  "name": "OnlyAdmin",
3743
3544
  "type": "error"
3744
3545
  },
3546
+ {
3547
+ "inputs": [],
3548
+ "name": "OnlyAdminOrCapper",
3549
+ "type": "error"
3550
+ },
3745
3551
  {
3746
3552
  "inputs": [],
3747
3553
  "name": "OnlyAdminOrPauser",
@@ -3777,6 +3583,11 @@ exports.errorABIs = [
3777
3583
  "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
3778
3584
  "type": "error"
3779
3585
  },
3586
+ {
3587
+ "inputs": [],
3588
+ "name": "ProtocolIsPaused",
3589
+ "type": "error"
3590
+ },
3780
3591
  {
3781
3592
  "inputs": [],
3782
3593
  "name": "RedeemMarketNotFresh",
@@ -3807,6 +3618,11 @@ exports.errorABIs = [
3807
3618
  "name": "ReduceReservesMarketNotFresh",
3808
3619
  "type": "error"
3809
3620
  },
3621
+ {
3622
+ "inputs": [],
3623
+ "name": "ReduceReservesOverflow",
3624
+ "type": "error"
3625
+ },
3810
3626
  {
3811
3627
  "inputs": [],
3812
3628
  "name": "RepayBorrowMarketNotFresh",
@@ -3877,11 +3693,6 @@ exports.errorABIs = [
3877
3693
  "name": "UnderlyingBalanceError",
3878
3694
  "type": "error"
3879
3695
  },
3880
- {
3881
- "inputs": [],
3882
- "name": "ZeroAddressNotAllowed",
3883
- "type": "error"
3884
- },
3885
3696
  {
3886
3697
  "inputs": [],
3887
3698
  "name": "AddReservesMarketNotFresh",
@@ -3945,43 +3756,12 @@ exports.errorABIs = [
3945
3756
  },
3946
3757
  {
3947
3758
  "inputs": [],
3948
- "name": "EitherAssetOrDebtMustBeZero",
3949
- "type": "error"
3950
- },
3951
- {
3952
- "inputs": [
3953
- {
3954
- "internalType": "uint8",
3955
- "name": "groupId",
3956
- "type": "uint8"
3957
- },
3958
- {
3959
- "internalType": "uint256",
3960
- "name": "cDepositVal",
3961
- "type": "uint256"
3962
- },
3963
- {
3964
- "internalType": "uint256",
3965
- "name": "suDepositVal",
3966
- "type": "uint256"
3967
- },
3968
- {
3969
- "internalType": "uint256",
3970
- "name": "cBorrowVal",
3971
- "type": "uint256"
3972
- },
3973
- {
3974
- "internalType": "uint256",
3975
- "name": "suBorrowVal",
3976
- "type": "uint256"
3977
- }
3978
- ],
3979
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
3759
+ "name": "ExpiredSignature",
3980
3760
  "type": "error"
3981
3761
  },
3982
3762
  {
3983
3763
  "inputs": [],
3984
- "name": "ExpiredSignature",
3764
+ "name": "GroupIdMismatch",
3985
3765
  "type": "error"
3986
3766
  },
3987
3767
  {
@@ -4004,11 +3784,6 @@ exports.errorABIs = [
4004
3784
  "name": "InvalidAmount",
4005
3785
  "type": "error"
4006
3786
  },
4007
- {
4008
- "inputs": [],
4009
- "name": "InvalidBlockNumber",
4010
- "type": "error"
4011
- },
4012
3787
  {
4013
3788
  "inputs": [],
4014
3789
  "name": "InvalidCloseFactor",
@@ -4074,11 +3849,6 @@ exports.errorABIs = [
4074
3849
  "name": "InvalidSuToken",
4075
3850
  "type": "error"
4076
3851
  },
4077
- {
4078
- "inputs": [],
4079
- "name": "InvalidTimestamp",
4080
- "type": "error"
4081
- },
4082
3852
  {
4083
3853
  "inputs": [],
4084
3854
  "name": "LiquidateBorrow_LiquidatorIsBorrower",
@@ -4164,11 +3934,26 @@ exports.errorABIs = [
4164
3934
  "name": "NotSuToken",
4165
3935
  "type": "error"
4166
3936
  },
3937
+ {
3938
+ "inputs": [],
3939
+ "name": "OneOfNetAssetAndNetDebtMustBeZero",
3940
+ "type": "error"
3941
+ },
3942
+ {
3943
+ "inputs": [],
3944
+ "name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
3945
+ "type": "error"
3946
+ },
4167
3947
  {
4168
3948
  "inputs": [],
4169
3949
  "name": "OnlyAdmin",
4170
3950
  "type": "error"
4171
3951
  },
3952
+ {
3953
+ "inputs": [],
3954
+ "name": "OnlyAdminOrCapper",
3955
+ "type": "error"
3956
+ },
4172
3957
  {
4173
3958
  "inputs": [],
4174
3959
  "name": "OnlyAdminOrPauser",
@@ -4204,6 +3989,11 @@ exports.errorABIs = [
4204
3989
  "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
4205
3990
  "type": "error"
4206
3991
  },
3992
+ {
3993
+ "inputs": [],
3994
+ "name": "ProtocolIsPaused",
3995
+ "type": "error"
3996
+ },
4207
3997
  {
4208
3998
  "inputs": [],
4209
3999
  "name": "RedeemMarketNotFresh",
@@ -4234,6 +4024,11 @@ exports.errorABIs = [
4234
4024
  "name": "ReduceReservesMarketNotFresh",
4235
4025
  "type": "error"
4236
4026
  },
4027
+ {
4028
+ "inputs": [],
4029
+ "name": "ReduceReservesOverflow",
4030
+ "type": "error"
4031
+ },
4237
4032
  {
4238
4033
  "inputs": [],
4239
4034
  "name": "RepayBorrowMarketNotFresh",
@@ -4304,11 +4099,6 @@ exports.errorABIs = [
4304
4099
  "name": "UnderlyingBalanceError",
4305
4100
  "type": "error"
4306
4101
  },
4307
- {
4308
- "inputs": [],
4309
- "name": "ZeroAddressNotAllowed",
4310
- "type": "error"
4311
- },
4312
4102
  {
4313
4103
  "inputs": [
4314
4104
  {
@@ -4454,61 +4244,6 @@ exports.errorABIs = [
4454
4244
  "name": "TokenRateLimitReached",
4455
4245
  "type": "error"
4456
4246
  },
4457
- {
4458
- "inputs": [],
4459
- "name": "EmptyAdapterAddress",
4460
- "type": "error"
4461
- },
4462
- {
4463
- "inputs": [],
4464
- "name": "EmptyFeedAddress",
4465
- "type": "error"
4466
- },
4467
- {
4468
- "inputs": [],
4469
- "name": "EmptyMaxStalePeriod",
4470
- "type": "error"
4471
- },
4472
- {
4473
- "inputs": [],
4474
- "name": "EmptyPendlePtOracle",
4475
- "type": "error"
4476
- },
4477
- {
4478
- "inputs": [],
4479
- "name": "EmptyPythOracle",
4480
- "type": "error"
4481
- },
4482
- {
4483
- "inputs": [],
4484
- "name": "InvalidFeedDecimals",
4485
- "type": "error"
4486
- },
4487
- {
4488
- "inputs": [],
4489
- "name": "InvalidPrice",
4490
- "type": "error"
4491
- },
4492
- {
4493
- "inputs": [],
4494
- "name": "UnknownSource",
4495
- "type": "error"
4496
- },
4497
- {
4498
- "inputs": [],
4499
- "name": "UnsupportedSource",
4500
- "type": "error"
4501
- },
4502
- {
4503
- "inputs": [],
4504
- "name": "ZeroAddressNotAllowed",
4505
- "type": "error"
4506
- },
4507
- {
4508
- "inputs": [],
4509
- "name": "ZeroValueNotAllowed",
4510
- "type": "error"
4511
- },
4512
4247
  {
4513
4248
  "inputs": [
4514
4249
  {