@meterio/sumer-js 0.2.69 → 0.2.70

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 (85) hide show
  1. package/dist/browser/sumer.min.js +8 -8
  2. package/dist/nodejs/abi.d.ts +64 -0
  3. package/dist/nodejs/abi.js +889 -48
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/arbitrum.d.ts +4 -0
  6. package/dist/nodejs/constants/arbitrum.js +29 -1
  7. package/dist/nodejs/constants/arbitrum.js.map +1 -1
  8. package/dist/nodejs/constants/ethereum.js +11 -0
  9. package/dist/nodejs/constants/ethereum.js.map +1 -1
  10. package/dist/nodejs/errorABIs.js +460 -0
  11. package/dist/nodejs/errorABIs.js.map +1 -1
  12. package/dist/nodejs/index.d.ts +64 -0
  13. package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +9 -1
  14. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +90 -31
  15. package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +9 -1
  16. package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +68 -1
  17. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/API3Adapter.d.ts +89 -0
  18. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/API3Adapter.js +3 -0
  19. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/API3Adapter.js.map +1 -0
  20. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/IAPI3Proxy.d.ts +41 -0
  21. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/IAPI3Proxy.js +3 -0
  22. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/IAPI3Proxy.js.map +1 -0
  23. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/index.d.ts +2 -0
  24. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/index.js +3 -0
  25. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/index.js.map +1 -0
  26. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +2 -0
  27. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +37 -1
  28. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +46 -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 +37 -1
  31. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +46 -1
  32. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  33. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +36 -0
  34. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +45 -0
  35. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
  36. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +37 -1
  37. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +46 -1
  38. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  39. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +47 -1
  40. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +59 -1
  41. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
  42. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +37 -1
  43. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +46 -1
  44. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  45. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
  46. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
  47. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +134 -30
  48. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +168 -35
  49. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
  50. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +37 -1
  51. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +46 -1
  52. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
  53. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
  54. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
  55. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +10 -0
  56. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +13 -0
  57. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
  58. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +78 -0
  59. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +99 -0
  60. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
  61. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.d.ts +1 -1
  62. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js +1 -1
  63. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/API3Adapter__factory.d.ts +134 -0
  64. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/API3Adapter__factory.js +183 -0
  65. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/API3Adapter__factory.js.map +1 -0
  66. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/IAPI3Proxy__factory.d.ts +31 -0
  67. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/IAPI3Proxy__factory.js +51 -0
  68. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/IAPI3Proxy__factory.js.map +1 -0
  69. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/index.d.ts +2 -0
  70. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/index.js +11 -0
  71. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/index.js.map +1 -0
  72. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +1 -0
  73. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +2 -1
  74. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  75. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +37 -1
  76. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +46 -1
  77. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
  78. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +37 -1
  79. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +46 -1
  80. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
  81. package/dist/nodejs/typechain/hardhat.d.ts +36 -0
  82. package/dist/nodejs/typechain/index.d.ts +4 -0
  83. package/dist/nodejs/typechain/index.js +6 -2
  84. package/dist/nodejs/typechain/index.js.map +1 -1
  85. package/package.json +1 -1
@@ -362,6 +362,11 @@ exports.abi = {
362
362
  "name": "BorrowValueMustBeLargerThanThreshold",
363
363
  "type": "error"
364
364
  },
365
+ {
366
+ "inputs": [],
367
+ "name": "CantEnterPausedMarket",
368
+ "type": "error"
369
+ },
365
370
  {
366
371
  "inputs": [],
367
372
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -448,6 +453,11 @@ exports.abi = {
448
453
  "name": "InvalidBlockNumber",
449
454
  "type": "error"
450
455
  },
456
+ {
457
+ "inputs": [],
458
+ "name": "InvalidCToken",
459
+ "type": "error"
460
+ },
451
461
  {
452
462
  "inputs": [],
453
463
  "name": "InvalidCloseFactor",
@@ -488,6 +498,11 @@ exports.abi = {
488
498
  "name": "InvalidMinSuBorrowValue",
489
499
  "type": "error"
490
500
  },
501
+ {
502
+ "inputs": [],
503
+ "name": "InvalidRedeem",
504
+ "type": "error"
505
+ },
491
506
  {
492
507
  "inputs": [],
493
508
  "name": "InvalidReduceAmount",
@@ -553,16 +568,31 @@ exports.abi = {
553
568
  "name": "MarketAlreadyListed",
554
569
  "type": "error"
555
570
  },
571
+ {
572
+ "inputs": [],
573
+ "name": "MarketAlreadyUnlisted",
574
+ "type": "error"
575
+ },
556
576
  {
557
577
  "inputs": [],
558
578
  "name": "MarketCanOnlyInitializeOnce",
559
579
  "type": "error"
560
580
  },
581
+ {
582
+ "inputs": [],
583
+ "name": "MarketNotEmpty",
584
+ "type": "error"
585
+ },
561
586
  {
562
587
  "inputs": [],
563
588
  "name": "MarketNotListed",
564
589
  "type": "error"
565
590
  },
591
+ {
592
+ "inputs": [],
593
+ "name": "MarketPaused",
594
+ "type": "error"
595
+ },
566
596
  {
567
597
  "inputs": [],
568
598
  "name": "MinDelayNotReached",
@@ -623,6 +653,11 @@ exports.abi = {
623
653
  "name": "OnlyListedCToken",
624
654
  "type": "error"
625
655
  },
656
+ {
657
+ "inputs": [],
658
+ "name": "OnlyPausedMarketCanBeUnlisted",
659
+ "type": "error"
660
+ },
626
661
  {
627
662
  "inputs": [],
628
663
  "name": "OnlyPendingAdmin",
@@ -733,6 +768,16 @@ exports.abi = {
733
768
  "name": "TooMuchRepay",
734
769
  "type": "error"
735
770
  },
771
+ {
772
+ "inputs": [],
773
+ "name": "TotalBorrowsNotZero",
774
+ "type": "error"
775
+ },
776
+ {
777
+ "inputs": [],
778
+ "name": "TotalSupplyNotZero",
779
+ "type": "error"
780
+ },
736
781
  {
737
782
  "inputs": [],
738
783
  "name": "TransferNotAllowed",
@@ -1762,6 +1807,11 @@ exports.abi = {
1762
1807
  "name": "BorrowValueMustBeLargerThanThreshold",
1763
1808
  "type": "error"
1764
1809
  },
1810
+ {
1811
+ "inputs": [],
1812
+ "name": "CantEnterPausedMarket",
1813
+ "type": "error"
1814
+ },
1765
1815
  {
1766
1816
  "inputs": [],
1767
1817
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -1848,6 +1898,11 @@ exports.abi = {
1848
1898
  "name": "InvalidBlockNumber",
1849
1899
  "type": "error"
1850
1900
  },
1901
+ {
1902
+ "inputs": [],
1903
+ "name": "InvalidCToken",
1904
+ "type": "error"
1905
+ },
1851
1906
  {
1852
1907
  "inputs": [],
1853
1908
  "name": "InvalidCloseFactor",
@@ -1888,6 +1943,11 @@ exports.abi = {
1888
1943
  "name": "InvalidMinSuBorrowValue",
1889
1944
  "type": "error"
1890
1945
  },
1946
+ {
1947
+ "inputs": [],
1948
+ "name": "InvalidRedeem",
1949
+ "type": "error"
1950
+ },
1891
1951
  {
1892
1952
  "inputs": [],
1893
1953
  "name": "InvalidReduceAmount",
@@ -1953,16 +2013,31 @@ exports.abi = {
1953
2013
  "name": "MarketAlreadyListed",
1954
2014
  "type": "error"
1955
2015
  },
2016
+ {
2017
+ "inputs": [],
2018
+ "name": "MarketAlreadyUnlisted",
2019
+ "type": "error"
2020
+ },
1956
2021
  {
1957
2022
  "inputs": [],
1958
2023
  "name": "MarketCanOnlyInitializeOnce",
1959
2024
  "type": "error"
1960
2025
  },
2026
+ {
2027
+ "inputs": [],
2028
+ "name": "MarketNotEmpty",
2029
+ "type": "error"
2030
+ },
1961
2031
  {
1962
2032
  "inputs": [],
1963
2033
  "name": "MarketNotListed",
1964
2034
  "type": "error"
1965
2035
  },
2036
+ {
2037
+ "inputs": [],
2038
+ "name": "MarketPaused",
2039
+ "type": "error"
2040
+ },
1966
2041
  {
1967
2042
  "inputs": [],
1968
2043
  "name": "MinDelayNotReached",
@@ -2023,6 +2098,11 @@ exports.abi = {
2023
2098
  "name": "OnlyListedCToken",
2024
2099
  "type": "error"
2025
2100
  },
2101
+ {
2102
+ "inputs": [],
2103
+ "name": "OnlyPausedMarketCanBeUnlisted",
2104
+ "type": "error"
2105
+ },
2026
2106
  {
2027
2107
  "inputs": [],
2028
2108
  "name": "OnlyPendingAdmin",
@@ -2154,6 +2234,16 @@ exports.abi = {
2154
2234
  "name": "TooMuchRepay",
2155
2235
  "type": "error"
2156
2236
  },
2237
+ {
2238
+ "inputs": [],
2239
+ "name": "TotalBorrowsNotZero",
2240
+ "type": "error"
2241
+ },
2242
+ {
2243
+ "inputs": [],
2244
+ "name": "TotalSupplyNotZero",
2245
+ "type": "error"
2246
+ },
2157
2247
  {
2158
2248
  "inputs": [],
2159
2249
  "name": "TransferNotAllowed",
@@ -3323,6 +3413,11 @@ exports.abi = {
3323
3413
  "name": "BorrowValueMustBeLargerThanThreshold",
3324
3414
  "type": "error"
3325
3415
  },
3416
+ {
3417
+ "inputs": [],
3418
+ "name": "CantEnterPausedMarket",
3419
+ "type": "error"
3420
+ },
3326
3421
  {
3327
3422
  "inputs": [],
3328
3423
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -3409,6 +3504,11 @@ exports.abi = {
3409
3504
  "name": "InvalidBlockNumber",
3410
3505
  "type": "error"
3411
3506
  },
3507
+ {
3508
+ "inputs": [],
3509
+ "name": "InvalidCToken",
3510
+ "type": "error"
3511
+ },
3412
3512
  {
3413
3513
  "inputs": [],
3414
3514
  "name": "InvalidCloseFactor",
@@ -3449,6 +3549,11 @@ exports.abi = {
3449
3549
  "name": "InvalidMinSuBorrowValue",
3450
3550
  "type": "error"
3451
3551
  },
3552
+ {
3553
+ "inputs": [],
3554
+ "name": "InvalidRedeem",
3555
+ "type": "error"
3556
+ },
3452
3557
  {
3453
3558
  "inputs": [],
3454
3559
  "name": "InvalidReduceAmount",
@@ -3514,16 +3619,31 @@ exports.abi = {
3514
3619
  "name": "MarketAlreadyListed",
3515
3620
  "type": "error"
3516
3621
  },
3622
+ {
3623
+ "inputs": [],
3624
+ "name": "MarketAlreadyUnlisted",
3625
+ "type": "error"
3626
+ },
3517
3627
  {
3518
3628
  "inputs": [],
3519
3629
  "name": "MarketCanOnlyInitializeOnce",
3520
3630
  "type": "error"
3521
3631
  },
3632
+ {
3633
+ "inputs": [],
3634
+ "name": "MarketNotEmpty",
3635
+ "type": "error"
3636
+ },
3522
3637
  {
3523
3638
  "inputs": [],
3524
3639
  "name": "MarketNotListed",
3525
3640
  "type": "error"
3526
3641
  },
3642
+ {
3643
+ "inputs": [],
3644
+ "name": "MarketPaused",
3645
+ "type": "error"
3646
+ },
3527
3647
  {
3528
3648
  "inputs": [],
3529
3649
  "name": "MinDelayNotReached",
@@ -3584,6 +3704,11 @@ exports.abi = {
3584
3704
  "name": "OnlyListedCToken",
3585
3705
  "type": "error"
3586
3706
  },
3707
+ {
3708
+ "inputs": [],
3709
+ "name": "OnlyPausedMarketCanBeUnlisted",
3710
+ "type": "error"
3711
+ },
3587
3712
  {
3588
3713
  "inputs": [],
3589
3714
  "name": "OnlyPendingAdmin",
@@ -3694,6 +3819,16 @@ exports.abi = {
3694
3819
  "name": "TooMuchRepay",
3695
3820
  "type": "error"
3696
3821
  },
3822
+ {
3823
+ "inputs": [],
3824
+ "name": "TotalBorrowsNotZero",
3825
+ "type": "error"
3826
+ },
3827
+ {
3828
+ "inputs": [],
3829
+ "name": "TotalSupplyNotZero",
3830
+ "type": "error"
3831
+ },
3697
3832
  {
3698
3833
  "inputs": [],
3699
3834
  "name": "TransferNotAllowed",
@@ -5397,6 +5532,11 @@ exports.abi = {
5397
5532
  "name": "BorrowValueMustBeLargerThanThreshold",
5398
5533
  "type": "error"
5399
5534
  },
5535
+ {
5536
+ "inputs": [],
5537
+ "name": "CantEnterPausedMarket",
5538
+ "type": "error"
5539
+ },
5400
5540
  {
5401
5541
  "inputs": [],
5402
5542
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -5483,6 +5623,11 @@ exports.abi = {
5483
5623
  "name": "InvalidBlockNumber",
5484
5624
  "type": "error"
5485
5625
  },
5626
+ {
5627
+ "inputs": [],
5628
+ "name": "InvalidCToken",
5629
+ "type": "error"
5630
+ },
5486
5631
  {
5487
5632
  "inputs": [],
5488
5633
  "name": "InvalidCloseFactor",
@@ -5523,6 +5668,11 @@ exports.abi = {
5523
5668
  "name": "InvalidMinSuBorrowValue",
5524
5669
  "type": "error"
5525
5670
  },
5671
+ {
5672
+ "inputs": [],
5673
+ "name": "InvalidRedeem",
5674
+ "type": "error"
5675
+ },
5526
5676
  {
5527
5677
  "inputs": [],
5528
5678
  "name": "InvalidReduceAmount",
@@ -5588,16 +5738,31 @@ exports.abi = {
5588
5738
  "name": "MarketAlreadyListed",
5589
5739
  "type": "error"
5590
5740
  },
5741
+ {
5742
+ "inputs": [],
5743
+ "name": "MarketAlreadyUnlisted",
5744
+ "type": "error"
5745
+ },
5591
5746
  {
5592
5747
  "inputs": [],
5593
5748
  "name": "MarketCanOnlyInitializeOnce",
5594
5749
  "type": "error"
5595
5750
  },
5751
+ {
5752
+ "inputs": [],
5753
+ "name": "MarketNotEmpty",
5754
+ "type": "error"
5755
+ },
5596
5756
  {
5597
5757
  "inputs": [],
5598
5758
  "name": "MarketNotListed",
5599
5759
  "type": "error"
5600
5760
  },
5761
+ {
5762
+ "inputs": [],
5763
+ "name": "MarketPaused",
5764
+ "type": "error"
5765
+ },
5601
5766
  {
5602
5767
  "inputs": [],
5603
5768
  "name": "MinDelayNotReached",
@@ -5658,6 +5823,11 @@ exports.abi = {
5658
5823
  "name": "OnlyListedCToken",
5659
5824
  "type": "error"
5660
5825
  },
5826
+ {
5827
+ "inputs": [],
5828
+ "name": "OnlyPausedMarketCanBeUnlisted",
5829
+ "type": "error"
5830
+ },
5661
5831
  {
5662
5832
  "inputs": [],
5663
5833
  "name": "OnlyPendingAdmin",
@@ -5768,6 +5938,16 @@ exports.abi = {
5768
5938
  "name": "TooMuchRepay",
5769
5939
  "type": "error"
5770
5940
  },
5941
+ {
5942
+ "inputs": [],
5943
+ "name": "TotalBorrowsNotZero",
5944
+ "type": "error"
5945
+ },
5946
+ {
5947
+ "inputs": [],
5948
+ "name": "TotalSupplyNotZero",
5949
+ "type": "error"
5950
+ },
5771
5951
  {
5772
5952
  "inputs": [],
5773
5953
  "name": "TransferNotAllowed",
@@ -7342,6 +7522,11 @@ exports.abi = {
7342
7522
  "name": "BorrowValueMustBeLargerThanThreshold",
7343
7523
  "type": "error"
7344
7524
  },
7525
+ {
7526
+ "inputs": [],
7527
+ "name": "CantEnterPausedMarket",
7528
+ "type": "error"
7529
+ },
7345
7530
  {
7346
7531
  "inputs": [],
7347
7532
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -7428,6 +7613,11 @@ exports.abi = {
7428
7613
  "name": "InvalidBlockNumber",
7429
7614
  "type": "error"
7430
7615
  },
7616
+ {
7617
+ "inputs": [],
7618
+ "name": "InvalidCToken",
7619
+ "type": "error"
7620
+ },
7431
7621
  {
7432
7622
  "inputs": [],
7433
7623
  "name": "InvalidCloseFactor",
@@ -7468,6 +7658,11 @@ exports.abi = {
7468
7658
  "name": "InvalidMinSuBorrowValue",
7469
7659
  "type": "error"
7470
7660
  },
7661
+ {
7662
+ "inputs": [],
7663
+ "name": "InvalidRedeem",
7664
+ "type": "error"
7665
+ },
7471
7666
  {
7472
7667
  "inputs": [],
7473
7668
  "name": "InvalidReduceAmount",
@@ -7533,16 +7728,31 @@ exports.abi = {
7533
7728
  "name": "MarketAlreadyListed",
7534
7729
  "type": "error"
7535
7730
  },
7731
+ {
7732
+ "inputs": [],
7733
+ "name": "MarketAlreadyUnlisted",
7734
+ "type": "error"
7735
+ },
7536
7736
  {
7537
7737
  "inputs": [],
7538
7738
  "name": "MarketCanOnlyInitializeOnce",
7539
7739
  "type": "error"
7540
7740
  },
7741
+ {
7742
+ "inputs": [],
7743
+ "name": "MarketNotEmpty",
7744
+ "type": "error"
7745
+ },
7541
7746
  {
7542
7747
  "inputs": [],
7543
7748
  "name": "MarketNotListed",
7544
7749
  "type": "error"
7545
7750
  },
7751
+ {
7752
+ "inputs": [],
7753
+ "name": "MarketPaused",
7754
+ "type": "error"
7755
+ },
7546
7756
  {
7547
7757
  "inputs": [],
7548
7758
  "name": "MinDelayNotReached",
@@ -7603,6 +7813,11 @@ exports.abi = {
7603
7813
  "name": "OnlyListedCToken",
7604
7814
  "type": "error"
7605
7815
  },
7816
+ {
7817
+ "inputs": [],
7818
+ "name": "OnlyPausedMarketCanBeUnlisted",
7819
+ "type": "error"
7820
+ },
7606
7821
  {
7607
7822
  "inputs": [],
7608
7823
  "name": "OnlyPendingAdmin",
@@ -7713,6 +7928,16 @@ exports.abi = {
7713
7928
  "name": "TooMuchRepay",
7714
7929
  "type": "error"
7715
7930
  },
7931
+ {
7932
+ "inputs": [],
7933
+ "name": "TotalBorrowsNotZero",
7934
+ "type": "error"
7935
+ },
7936
+ {
7937
+ "inputs": [],
7938
+ "name": "TotalSupplyNotZero",
7939
+ "type": "error"
7940
+ },
7716
7941
  {
7717
7942
  "inputs": [],
7718
7943
  "name": "TransferNotAllowed",
@@ -9840,6 +10065,11 @@ exports.abi = {
9840
10065
  "name": "BorrowValueMustBeLargerThanThreshold",
9841
10066
  "type": "error"
9842
10067
  },
10068
+ {
10069
+ "inputs": [],
10070
+ "name": "CantEnterPausedMarket",
10071
+ "type": "error"
10072
+ },
9843
10073
  {
9844
10074
  "inputs": [],
9845
10075
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -9926,6 +10156,11 @@ exports.abi = {
9926
10156
  "name": "InvalidBlockNumber",
9927
10157
  "type": "error"
9928
10158
  },
10159
+ {
10160
+ "inputs": [],
10161
+ "name": "InvalidCToken",
10162
+ "type": "error"
10163
+ },
9929
10164
  {
9930
10165
  "inputs": [],
9931
10166
  "name": "InvalidCloseFactor",
@@ -9966,6 +10201,11 @@ exports.abi = {
9966
10201
  "name": "InvalidMinSuBorrowValue",
9967
10202
  "type": "error"
9968
10203
  },
10204
+ {
10205
+ "inputs": [],
10206
+ "name": "InvalidRedeem",
10207
+ "type": "error"
10208
+ },
9969
10209
  {
9970
10210
  "inputs": [],
9971
10211
  "name": "InvalidReduceAmount",
@@ -10031,16 +10271,31 @@ exports.abi = {
10031
10271
  "name": "MarketAlreadyListed",
10032
10272
  "type": "error"
10033
10273
  },
10274
+ {
10275
+ "inputs": [],
10276
+ "name": "MarketAlreadyUnlisted",
10277
+ "type": "error"
10278
+ },
10034
10279
  {
10035
10280
  "inputs": [],
10036
10281
  "name": "MarketCanOnlyInitializeOnce",
10037
10282
  "type": "error"
10038
10283
  },
10284
+ {
10285
+ "inputs": [],
10286
+ "name": "MarketNotEmpty",
10287
+ "type": "error"
10288
+ },
10039
10289
  {
10040
10290
  "inputs": [],
10041
10291
  "name": "MarketNotListed",
10042
10292
  "type": "error"
10043
10293
  },
10294
+ {
10295
+ "inputs": [],
10296
+ "name": "MarketPaused",
10297
+ "type": "error"
10298
+ },
10044
10299
  {
10045
10300
  "inputs": [],
10046
10301
  "name": "MinDelayNotReached",
@@ -10101,6 +10356,11 @@ exports.abi = {
10101
10356
  "name": "OnlyListedCToken",
10102
10357
  "type": "error"
10103
10358
  },
10359
+ {
10360
+ "inputs": [],
10361
+ "name": "OnlyPausedMarketCanBeUnlisted",
10362
+ "type": "error"
10363
+ },
10104
10364
  {
10105
10365
  "inputs": [],
10106
10366
  "name": "OnlyPendingAdmin",
@@ -10211,6 +10471,16 @@ exports.abi = {
10211
10471
  "name": "TooMuchRepay",
10212
10472
  "type": "error"
10213
10473
  },
10474
+ {
10475
+ "inputs": [],
10476
+ "name": "TotalBorrowsNotZero",
10477
+ "type": "error"
10478
+ },
10479
+ {
10480
+ "inputs": [],
10481
+ "name": "TotalSupplyNotZero",
10482
+ "type": "error"
10483
+ },
10214
10484
  {
10215
10485
  "inputs": [],
10216
10486
  "name": "TransferNotAllowed",
@@ -11987,6 +12257,11 @@ exports.abi = {
11987
12257
  "name": "BorrowValueMustBeLargerThanThreshold",
11988
12258
  "type": "error"
11989
12259
  },
12260
+ {
12261
+ "inputs": [],
12262
+ "name": "CantEnterPausedMarket",
12263
+ "type": "error"
12264
+ },
11990
12265
  {
11991
12266
  "inputs": [],
11992
12267
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -12073,6 +12348,11 @@ exports.abi = {
12073
12348
  "name": "InvalidBlockNumber",
12074
12349
  "type": "error"
12075
12350
  },
12351
+ {
12352
+ "inputs": [],
12353
+ "name": "InvalidCToken",
12354
+ "type": "error"
12355
+ },
12076
12356
  {
12077
12357
  "inputs": [],
12078
12358
  "name": "InvalidCloseFactor",
@@ -12113,6 +12393,11 @@ exports.abi = {
12113
12393
  "name": "InvalidMinSuBorrowValue",
12114
12394
  "type": "error"
12115
12395
  },
12396
+ {
12397
+ "inputs": [],
12398
+ "name": "InvalidRedeem",
12399
+ "type": "error"
12400
+ },
12116
12401
  {
12117
12402
  "inputs": [],
12118
12403
  "name": "InvalidReduceAmount",
@@ -12178,16 +12463,31 @@ exports.abi = {
12178
12463
  "name": "MarketAlreadyListed",
12179
12464
  "type": "error"
12180
12465
  },
12466
+ {
12467
+ "inputs": [],
12468
+ "name": "MarketAlreadyUnlisted",
12469
+ "type": "error"
12470
+ },
12181
12471
  {
12182
12472
  "inputs": [],
12183
12473
  "name": "MarketCanOnlyInitializeOnce",
12184
12474
  "type": "error"
12185
12475
  },
12476
+ {
12477
+ "inputs": [],
12478
+ "name": "MarketNotEmpty",
12479
+ "type": "error"
12480
+ },
12186
12481
  {
12187
12482
  "inputs": [],
12188
12483
  "name": "MarketNotListed",
12189
12484
  "type": "error"
12190
12485
  },
12486
+ {
12487
+ "inputs": [],
12488
+ "name": "MarketPaused",
12489
+ "type": "error"
12490
+ },
12191
12491
  {
12192
12492
  "inputs": [],
12193
12493
  "name": "MinDelayNotReached",
@@ -12248,6 +12548,11 @@ exports.abi = {
12248
12548
  "name": "OnlyListedCToken",
12249
12549
  "type": "error"
12250
12550
  },
12551
+ {
12552
+ "inputs": [],
12553
+ "name": "OnlyPausedMarketCanBeUnlisted",
12554
+ "type": "error"
12555
+ },
12251
12556
  {
12252
12557
  "inputs": [],
12253
12558
  "name": "OnlyPendingAdmin",
@@ -12358,6 +12663,16 @@ exports.abi = {
12358
12663
  "name": "TooMuchRepay",
12359
12664
  "type": "error"
12360
12665
  },
12666
+ {
12667
+ "inputs": [],
12668
+ "name": "TotalBorrowsNotZero",
12669
+ "type": "error"
12670
+ },
12671
+ {
12672
+ "inputs": [],
12673
+ "name": "TotalSupplyNotZero",
12674
+ "type": "error"
12675
+ },
12361
12676
  {
12362
12677
  "inputs": [],
12363
12678
  "name": "TransferNotAllowed",
@@ -13329,10 +13644,23 @@ exports.abi = {
13329
13644
  "internalType": "address",
13330
13645
  "name": "cToken",
13331
13646
  "type": "address"
13332
- },
13333
- {
13334
- "components": [
13335
- {
13647
+ }
13648
+ ],
13649
+ "name": "uninitializeMarket",
13650
+ "outputs": [],
13651
+ "stateMutability": "nonpayable",
13652
+ "type": "function"
13653
+ },
13654
+ {
13655
+ "inputs": [
13656
+ {
13657
+ "internalType": "address",
13658
+ "name": "cToken",
13659
+ "type": "address"
13660
+ },
13661
+ {
13662
+ "components": [
13663
+ {
13336
13664
  "internalType": "uint256",
13337
13665
  "name": "mantissa",
13338
13666
  "type": "uint256"
@@ -13422,6 +13750,11 @@ exports.abi = {
13422
13750
  "name": "BorrowValueMustBeLargerThanThreshold",
13423
13751
  "type": "error"
13424
13752
  },
13753
+ {
13754
+ "inputs": [],
13755
+ "name": "CantEnterPausedMarket",
13756
+ "type": "error"
13757
+ },
13425
13758
  {
13426
13759
  "inputs": [],
13427
13760
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -13508,6 +13841,11 @@ exports.abi = {
13508
13841
  "name": "InvalidBlockNumber",
13509
13842
  "type": "error"
13510
13843
  },
13844
+ {
13845
+ "inputs": [],
13846
+ "name": "InvalidCToken",
13847
+ "type": "error"
13848
+ },
13511
13849
  {
13512
13850
  "inputs": [],
13513
13851
  "name": "InvalidCloseFactor",
@@ -13548,6 +13886,11 @@ exports.abi = {
13548
13886
  "name": "InvalidMinSuBorrowValue",
13549
13887
  "type": "error"
13550
13888
  },
13889
+ {
13890
+ "inputs": [],
13891
+ "name": "InvalidRedeem",
13892
+ "type": "error"
13893
+ },
13551
13894
  {
13552
13895
  "inputs": [],
13553
13896
  "name": "InvalidReduceAmount",
@@ -13613,16 +13956,31 @@ exports.abi = {
13613
13956
  "name": "MarketAlreadyListed",
13614
13957
  "type": "error"
13615
13958
  },
13959
+ {
13960
+ "inputs": [],
13961
+ "name": "MarketAlreadyUnlisted",
13962
+ "type": "error"
13963
+ },
13616
13964
  {
13617
13965
  "inputs": [],
13618
13966
  "name": "MarketCanOnlyInitializeOnce",
13619
13967
  "type": "error"
13620
13968
  },
13969
+ {
13970
+ "inputs": [],
13971
+ "name": "MarketNotEmpty",
13972
+ "type": "error"
13973
+ },
13621
13974
  {
13622
13975
  "inputs": [],
13623
13976
  "name": "MarketNotListed",
13624
13977
  "type": "error"
13625
13978
  },
13979
+ {
13980
+ "inputs": [],
13981
+ "name": "MarketPaused",
13982
+ "type": "error"
13983
+ },
13626
13984
  {
13627
13985
  "inputs": [],
13628
13986
  "name": "MinDelayNotReached",
@@ -13683,6 +14041,11 @@ exports.abi = {
13683
14041
  "name": "OnlyListedCToken",
13684
14042
  "type": "error"
13685
14043
  },
14044
+ {
14045
+ "inputs": [],
14046
+ "name": "OnlyPausedMarketCanBeUnlisted",
14047
+ "type": "error"
14048
+ },
13686
14049
  {
13687
14050
  "inputs": [],
13688
14051
  "name": "OnlyPendingAdmin",
@@ -13793,6 +14156,16 @@ exports.abi = {
13793
14156
  "name": "TooMuchRepay",
13794
14157
  "type": "error"
13795
14158
  },
14159
+ {
14160
+ "inputs": [],
14161
+ "name": "TotalBorrowsNotZero",
14162
+ "type": "error"
14163
+ },
14164
+ {
14165
+ "inputs": [],
14166
+ "name": "TotalSupplyNotZero",
14167
+ "type": "error"
14168
+ },
13796
14169
  {
13797
14170
  "inputs": [],
13798
14171
  "name": "TransferNotAllowed",
@@ -14919,6 +15292,11 @@ exports.abi = {
14919
15292
  "name": "BorrowValueMustBeLargerThanThreshold",
14920
15293
  "type": "error"
14921
15294
  },
15295
+ {
15296
+ "inputs": [],
15297
+ "name": "CantEnterPausedMarket",
15298
+ "type": "error"
15299
+ },
14922
15300
  {
14923
15301
  "inputs": [],
14924
15302
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -15005,6 +15383,11 @@ exports.abi = {
15005
15383
  "name": "InvalidBlockNumber",
15006
15384
  "type": "error"
15007
15385
  },
15386
+ {
15387
+ "inputs": [],
15388
+ "name": "InvalidCToken",
15389
+ "type": "error"
15390
+ },
15008
15391
  {
15009
15392
  "inputs": [],
15010
15393
  "name": "InvalidCloseFactor",
@@ -15045,6 +15428,11 @@ exports.abi = {
15045
15428
  "name": "InvalidMinSuBorrowValue",
15046
15429
  "type": "error"
15047
15430
  },
15431
+ {
15432
+ "inputs": [],
15433
+ "name": "InvalidRedeem",
15434
+ "type": "error"
15435
+ },
15048
15436
  {
15049
15437
  "inputs": [],
15050
15438
  "name": "InvalidReduceAmount",
@@ -15110,16 +15498,31 @@ exports.abi = {
15110
15498
  "name": "MarketAlreadyListed",
15111
15499
  "type": "error"
15112
15500
  },
15501
+ {
15502
+ "inputs": [],
15503
+ "name": "MarketAlreadyUnlisted",
15504
+ "type": "error"
15505
+ },
15113
15506
  {
15114
15507
  "inputs": [],
15115
15508
  "name": "MarketCanOnlyInitializeOnce",
15116
15509
  "type": "error"
15117
15510
  },
15511
+ {
15512
+ "inputs": [],
15513
+ "name": "MarketNotEmpty",
15514
+ "type": "error"
15515
+ },
15118
15516
  {
15119
15517
  "inputs": [],
15120
15518
  "name": "MarketNotListed",
15121
15519
  "type": "error"
15122
15520
  },
15521
+ {
15522
+ "inputs": [],
15523
+ "name": "MarketPaused",
15524
+ "type": "error"
15525
+ },
15123
15526
  {
15124
15527
  "inputs": [],
15125
15528
  "name": "MinDelayNotReached",
@@ -15180,6 +15583,11 @@ exports.abi = {
15180
15583
  "name": "OnlyListedCToken",
15181
15584
  "type": "error"
15182
15585
  },
15586
+ {
15587
+ "inputs": [],
15588
+ "name": "OnlyPausedMarketCanBeUnlisted",
15589
+ "type": "error"
15590
+ },
15183
15591
  {
15184
15592
  "inputs": [],
15185
15593
  "name": "OnlyPendingAdmin",
@@ -15290,6 +15698,16 @@ exports.abi = {
15290
15698
  "name": "TooMuchRepay",
15291
15699
  "type": "error"
15292
15700
  },
15701
+ {
15702
+ "inputs": [],
15703
+ "name": "TotalBorrowsNotZero",
15704
+ "type": "error"
15705
+ },
15706
+ {
15707
+ "inputs": [],
15708
+ "name": "TotalSupplyNotZero",
15709
+ "type": "error"
15710
+ },
15293
15711
  {
15294
15712
  "inputs": [],
15295
15713
  "name": "TransferNotAllowed",
@@ -15377,44 +15795,14 @@ exports.abi = {
15377
15795
  {
15378
15796
  "anonymous": false,
15379
15797
  "inputs": [
15380
- {
15381
- "indexed": true,
15382
- "internalType": "uint8",
15383
- "name": "groupId",
15384
- "type": "uint8"
15385
- },
15386
- {
15387
- "indexed": false,
15388
- "internalType": "uint16",
15389
- "name": "intraCRatePercent",
15390
- "type": "uint16"
15391
- },
15392
- {
15393
- "indexed": false,
15394
- "internalType": "uint16",
15395
- "name": "intraMintRatePercent",
15396
- "type": "uint16"
15397
- },
15398
- {
15399
- "indexed": false,
15400
- "internalType": "uint16",
15401
- "name": "intraSuRatePercent",
15402
- "type": "uint16"
15403
- },
15404
- {
15405
- "indexed": false,
15406
- "internalType": "uint16",
15407
- "name": "interCRatePercent",
15408
- "type": "uint16"
15409
- },
15410
15798
  {
15411
15799
  "indexed": false,
15412
- "internalType": "uint16",
15413
- "name": "interSuRatePercent",
15414
- "type": "uint16"
15800
+ "internalType": "address",
15801
+ "name": "cToken",
15802
+ "type": "address"
15415
15803
  }
15416
15804
  ],
15417
- "name": "NewAssetGroup",
15805
+ "name": "MarketUnlisted",
15418
15806
  "type": "event"
15419
15807
  },
15420
15808
  {
@@ -15731,6 +16119,12 @@ exports.abi = {
15731
16119
  "internalType": "uint16",
15732
16120
  "name": "interSuRatePercent",
15733
16121
  "type": "uint16"
16122
+ },
16123
+ {
16124
+ "indexed": false,
16125
+ "internalType": "bool",
16126
+ "name": "isNewGroup",
16127
+ "type": "bool"
15734
16128
  }
15735
16129
  ],
15736
16130
  "name": "UpdateAssetGroup",
@@ -16012,6 +16406,19 @@ exports.abi = {
16012
16406
  "stateMutability": "nonpayable",
16013
16407
  "type": "function"
16014
16408
  },
16409
+ {
16410
+ "inputs": [
16411
+ {
16412
+ "internalType": "address",
16413
+ "name": "cToken",
16414
+ "type": "address"
16415
+ }
16416
+ ],
16417
+ "name": "_unlistMarket",
16418
+ "outputs": [],
16419
+ "stateMutability": "nonpayable",
16420
+ "type": "function"
16421
+ },
16015
16422
  {
16016
16423
  "inputs": [
16017
16424
  {
@@ -16511,6 +16918,44 @@ exports.abi = {
16511
16918
  "stateMutability": "view",
16512
16919
  "type": "function"
16513
16920
  },
16921
+ {
16922
+ "inputs": [
16923
+ {
16924
+ "internalType": "address",
16925
+ "name": "cTokenBorrowed",
16926
+ "type": "address"
16927
+ },
16928
+ {
16929
+ "internalType": "address",
16930
+ "name": "cTokenCollateral",
16931
+ "type": "address"
16932
+ },
16933
+ {
16934
+ "internalType": "address",
16935
+ "name": "liquidator",
16936
+ "type": "address"
16937
+ },
16938
+ {
16939
+ "internalType": "address",
16940
+ "name": "borrower",
16941
+ "type": "address"
16942
+ },
16943
+ {
16944
+ "internalType": "uint256",
16945
+ "name": "actualRepayAmount",
16946
+ "type": "uint256"
16947
+ },
16948
+ {
16949
+ "internalType": "uint256",
16950
+ "name": "seizeTokens",
16951
+ "type": "uint256"
16952
+ }
16953
+ ],
16954
+ "name": "liquidateBorrowVerify",
16955
+ "outputs": [],
16956
+ "stateMutability": "nonpayable",
16957
+ "type": "function"
16958
+ },
16514
16959
  {
16515
16960
  "inputs": [],
16516
16961
  "name": "liquidationIncentive",
@@ -16679,6 +17124,34 @@ exports.abi = {
16679
17124
  "stateMutability": "nonpayable",
16680
17125
  "type": "function"
16681
17126
  },
17127
+ {
17128
+ "inputs": [
17129
+ {
17130
+ "internalType": "address",
17131
+ "name": "cToken",
17132
+ "type": "address"
17133
+ },
17134
+ {
17135
+ "internalType": "address",
17136
+ "name": "redeemer",
17137
+ "type": "address"
17138
+ },
17139
+ {
17140
+ "internalType": "uint256",
17141
+ "name": "redeemAmount",
17142
+ "type": "uint256"
17143
+ },
17144
+ {
17145
+ "internalType": "uint256",
17146
+ "name": "redeemTokens",
17147
+ "type": "uint256"
17148
+ }
17149
+ ],
17150
+ "name": "redeemVerify",
17151
+ "outputs": [],
17152
+ "stateMutability": "nonpayable",
17153
+ "type": "function"
17154
+ },
16682
17155
  {
16683
17156
  "inputs": [],
16684
17157
  "name": "redemptionManager",
@@ -16751,6 +17224,39 @@ exports.abi = {
16751
17224
  "stateMutability": "nonpayable",
16752
17225
  "type": "function"
16753
17226
  },
17227
+ {
17228
+ "inputs": [
17229
+ {
17230
+ "internalType": "address",
17231
+ "name": "cToken",
17232
+ "type": "address"
17233
+ },
17234
+ {
17235
+ "internalType": "address",
17236
+ "name": "payer",
17237
+ "type": "address"
17238
+ },
17239
+ {
17240
+ "internalType": "address",
17241
+ "name": "borrower",
17242
+ "type": "address"
17243
+ },
17244
+ {
17245
+ "internalType": "uint256",
17246
+ "name": "actualRepayAmount",
17247
+ "type": "uint256"
17248
+ },
17249
+ {
17250
+ "internalType": "uint256",
17251
+ "name": "borrowIndex",
17252
+ "type": "uint256"
17253
+ }
17254
+ ],
17255
+ "name": "repayBorrowVerify",
17256
+ "outputs": [],
17257
+ "stateMutability": "nonpayable",
17258
+ "type": "function"
17259
+ },
16754
17260
  {
16755
17261
  "inputs": [
16756
17262
  {
@@ -17321,6 +17827,11 @@ exports.abi = {
17321
17827
  "name": "BorrowValueMustBeLargerThanThreshold",
17322
17828
  "type": "error"
17323
17829
  },
17830
+ {
17831
+ "inputs": [],
17832
+ "name": "CantEnterPausedMarket",
17833
+ "type": "error"
17834
+ },
17324
17835
  {
17325
17836
  "inputs": [],
17326
17837
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -17407,6 +17918,11 @@ exports.abi = {
17407
17918
  "name": "InvalidBlockNumber",
17408
17919
  "type": "error"
17409
17920
  },
17921
+ {
17922
+ "inputs": [],
17923
+ "name": "InvalidCToken",
17924
+ "type": "error"
17925
+ },
17410
17926
  {
17411
17927
  "inputs": [],
17412
17928
  "name": "InvalidCloseFactor",
@@ -17447,6 +17963,11 @@ exports.abi = {
17447
17963
  "name": "InvalidMinSuBorrowValue",
17448
17964
  "type": "error"
17449
17965
  },
17966
+ {
17967
+ "inputs": [],
17968
+ "name": "InvalidRedeem",
17969
+ "type": "error"
17970
+ },
17450
17971
  {
17451
17972
  "inputs": [],
17452
17973
  "name": "InvalidReduceAmount",
@@ -17512,16 +18033,31 @@ exports.abi = {
17512
18033
  "name": "MarketAlreadyListed",
17513
18034
  "type": "error"
17514
18035
  },
18036
+ {
18037
+ "inputs": [],
18038
+ "name": "MarketAlreadyUnlisted",
18039
+ "type": "error"
18040
+ },
17515
18041
  {
17516
18042
  "inputs": [],
17517
18043
  "name": "MarketCanOnlyInitializeOnce",
17518
18044
  "type": "error"
17519
18045
  },
18046
+ {
18047
+ "inputs": [],
18048
+ "name": "MarketNotEmpty",
18049
+ "type": "error"
18050
+ },
17520
18051
  {
17521
18052
  "inputs": [],
17522
18053
  "name": "MarketNotListed",
17523
18054
  "type": "error"
17524
18055
  },
18056
+ {
18057
+ "inputs": [],
18058
+ "name": "MarketPaused",
18059
+ "type": "error"
18060
+ },
17525
18061
  {
17526
18062
  "inputs": [],
17527
18063
  "name": "MinDelayNotReached",
@@ -17582,6 +18118,11 @@ exports.abi = {
17582
18118
  "name": "OnlyListedCToken",
17583
18119
  "type": "error"
17584
18120
  },
18121
+ {
18122
+ "inputs": [],
18123
+ "name": "OnlyPausedMarketCanBeUnlisted",
18124
+ "type": "error"
18125
+ },
17585
18126
  {
17586
18127
  "inputs": [],
17587
18128
  "name": "OnlyPendingAdmin",
@@ -17692,6 +18233,16 @@ exports.abi = {
17692
18233
  "name": "TooMuchRepay",
17693
18234
  "type": "error"
17694
18235
  },
18236
+ {
18237
+ "inputs": [],
18238
+ "name": "TotalBorrowsNotZero",
18239
+ "type": "error"
18240
+ },
18241
+ {
18242
+ "inputs": [],
18243
+ "name": "TotalSupplyNotZero",
18244
+ "type": "error"
18245
+ },
17695
18246
  {
17696
18247
  "inputs": [],
17697
18248
  "name": "TransferNotAllowed",
@@ -22614,6 +23165,19 @@ exports.abi = {
22614
23165
  "stateMutability": "nonpayable",
22615
23166
  "type": "function"
22616
23167
  },
23168
+ {
23169
+ "inputs": [
23170
+ {
23171
+ "internalType": "address",
23172
+ "name": "cToken",
23173
+ "type": "address"
23174
+ }
23175
+ ],
23176
+ "name": "uninitializeMarket",
23177
+ "outputs": [],
23178
+ "stateMutability": "nonpayable",
23179
+ "type": "function"
23180
+ },
22617
23181
  {
22618
23182
  "inputs": [
22619
23183
  {
@@ -23065,18 +23629,51 @@ exports.abi = {
23065
23629
  "inputs": [
23066
23630
  {
23067
23631
  "internalType": "address",
23068
- "name": "asset",
23632
+ "name": "asset",
23633
+ "type": "address"
23634
+ }
23635
+ ],
23636
+ "name": "isListed",
23637
+ "outputs": [
23638
+ {
23639
+ "internalType": "bool",
23640
+ "name": "",
23641
+ "type": "bool"
23642
+ }
23643
+ ],
23644
+ "stateMutability": "view",
23645
+ "type": "function"
23646
+ },
23647
+ {
23648
+ "inputs": [
23649
+ {
23650
+ "internalType": "address",
23651
+ "name": "cTokenBorrowed",
23652
+ "type": "address"
23653
+ },
23654
+ {
23655
+ "internalType": "address",
23656
+ "name": "cTokenCollateral",
23657
+ "type": "address"
23658
+ },
23659
+ {
23660
+ "internalType": "address",
23661
+ "name": "liquidator",
23069
23662
  "type": "address"
23070
- }
23071
- ],
23072
- "name": "isListed",
23073
- "outputs": [
23663
+ },
23074
23664
  {
23075
- "internalType": "bool",
23076
- "name": "",
23077
- "type": "bool"
23665
+ "internalType": "address",
23666
+ "name": "borrower",
23667
+ "type": "address"
23668
+ },
23669
+ {
23670
+ "internalType": "uint256",
23671
+ "name": "repayAmount",
23672
+ "type": "uint256"
23078
23673
  }
23079
23674
  ],
23675
+ "name": "liquidateBorrowAllowed",
23676
+ "outputs": [],
23080
23677
  "stateMutability": "view",
23081
23678
  "type": "function"
23082
23679
  },
@@ -23106,11 +23703,16 @@ exports.abi = {
23106
23703
  "internalType": "uint256",
23107
23704
  "name": "repayAmount",
23108
23705
  "type": "uint256"
23706
+ },
23707
+ {
23708
+ "internalType": "uint256",
23709
+ "name": "seizeTokens",
23710
+ "type": "uint256"
23109
23711
  }
23110
23712
  ],
23111
- "name": "liquidateBorrowAllowed",
23713
+ "name": "liquidateBorrowVerify",
23112
23714
  "outputs": [],
23113
- "stateMutability": "view",
23715
+ "stateMutability": "nonpayable",
23114
23716
  "type": "function"
23115
23717
  },
23116
23718
  {
@@ -23282,6 +23884,34 @@ exports.abi = {
23282
23884
  "stateMutability": "nonpayable",
23283
23885
  "type": "function"
23284
23886
  },
23887
+ {
23888
+ "inputs": [
23889
+ {
23890
+ "internalType": "address",
23891
+ "name": "cToken",
23892
+ "type": "address"
23893
+ },
23894
+ {
23895
+ "internalType": "address",
23896
+ "name": "redeemer",
23897
+ "type": "address"
23898
+ },
23899
+ {
23900
+ "internalType": "uint256",
23901
+ "name": "redeemAmount",
23902
+ "type": "uint256"
23903
+ },
23904
+ {
23905
+ "internalType": "uint256",
23906
+ "name": "redeemTokens",
23907
+ "type": "uint256"
23908
+ }
23909
+ ],
23910
+ "name": "redeemVerify",
23911
+ "outputs": [],
23912
+ "stateMutability": "nonpayable",
23913
+ "type": "function"
23914
+ },
23285
23915
  {
23286
23916
  "inputs": [],
23287
23917
  "name": "redemptionManager",
@@ -23323,6 +23953,39 @@ exports.abi = {
23323
23953
  "stateMutability": "nonpayable",
23324
23954
  "type": "function"
23325
23955
  },
23956
+ {
23957
+ "inputs": [
23958
+ {
23959
+ "internalType": "address",
23960
+ "name": "cToken",
23961
+ "type": "address"
23962
+ },
23963
+ {
23964
+ "internalType": "address",
23965
+ "name": "payer",
23966
+ "type": "address"
23967
+ },
23968
+ {
23969
+ "internalType": "address",
23970
+ "name": "borrower",
23971
+ "type": "address"
23972
+ },
23973
+ {
23974
+ "internalType": "uint256",
23975
+ "name": "actualRepayAmount",
23976
+ "type": "uint256"
23977
+ },
23978
+ {
23979
+ "internalType": "uint256",
23980
+ "name": "borrowIndex",
23981
+ "type": "uint256"
23982
+ }
23983
+ ],
23984
+ "name": "repayBorrowVerify",
23985
+ "outputs": [],
23986
+ "stateMutability": "nonpayable",
23987
+ "type": "function"
23988
+ },
23326
23989
  {
23327
23990
  "inputs": [
23328
23991
  {
@@ -27636,6 +28299,184 @@ exports.abi = {
27636
28299
  "type": "event"
27637
28300
  }
27638
28301
  ],
28302
+ "API3Adapter": [
28303
+ {
28304
+ "inputs": [
28305
+ {
28306
+ "internalType": "address",
28307
+ "name": "_correlatedToken",
28308
+ "type": "address"
28309
+ },
28310
+ {
28311
+ "internalType": "address",
28312
+ "name": "_underlyingToken",
28313
+ "type": "address"
28314
+ }
28315
+ ],
28316
+ "stateMutability": "nonpayable",
28317
+ "type": "constructor"
28318
+ },
28319
+ {
28320
+ "inputs": [],
28321
+ "name": "InvalidPrice",
28322
+ "type": "error"
28323
+ },
28324
+ {
28325
+ "inputs": [],
28326
+ "name": "InvalidProxy",
28327
+ "type": "error"
28328
+ },
28329
+ {
28330
+ "anonymous": false,
28331
+ "inputs": [
28332
+ {
28333
+ "indexed": true,
28334
+ "internalType": "address",
28335
+ "name": "previousOwner",
28336
+ "type": "address"
28337
+ },
28338
+ {
28339
+ "indexed": true,
28340
+ "internalType": "address",
28341
+ "name": "newOwner",
28342
+ "type": "address"
28343
+ }
28344
+ ],
28345
+ "name": "OwnershipTransferStarted",
28346
+ "type": "event"
28347
+ },
28348
+ {
28349
+ "anonymous": false,
28350
+ "inputs": [
28351
+ {
28352
+ "indexed": true,
28353
+ "internalType": "address",
28354
+ "name": "previousOwner",
28355
+ "type": "address"
28356
+ },
28357
+ {
28358
+ "indexed": true,
28359
+ "internalType": "address",
28360
+ "name": "newOwner",
28361
+ "type": "address"
28362
+ }
28363
+ ],
28364
+ "name": "OwnershipTransferred",
28365
+ "type": "event"
28366
+ },
28367
+ {
28368
+ "inputs": [],
28369
+ "name": "acceptOwnership",
28370
+ "outputs": [],
28371
+ "stateMutability": "nonpayable",
28372
+ "type": "function"
28373
+ },
28374
+ {
28375
+ "inputs": [],
28376
+ "name": "exchangeRate",
28377
+ "outputs": [
28378
+ {
28379
+ "internalType": "uint256",
28380
+ "name": "",
28381
+ "type": "uint256"
28382
+ }
28383
+ ],
28384
+ "stateMutability": "view",
28385
+ "type": "function"
28386
+ },
28387
+ {
28388
+ "inputs": [],
28389
+ "name": "owner",
28390
+ "outputs": [
28391
+ {
28392
+ "internalType": "address",
28393
+ "name": "",
28394
+ "type": "address"
28395
+ }
28396
+ ],
28397
+ "stateMutability": "view",
28398
+ "type": "function"
28399
+ },
28400
+ {
28401
+ "inputs": [],
28402
+ "name": "pendingOwner",
28403
+ "outputs": [
28404
+ {
28405
+ "internalType": "address",
28406
+ "name": "",
28407
+ "type": "address"
28408
+ }
28409
+ ],
28410
+ "stateMutability": "view",
28411
+ "type": "function"
28412
+ },
28413
+ {
28414
+ "inputs": [],
28415
+ "name": "renounceOwnership",
28416
+ "outputs": [],
28417
+ "stateMutability": "nonpayable",
28418
+ "type": "function"
28419
+ },
28420
+ {
28421
+ "inputs": [
28422
+ {
28423
+ "internalType": "address",
28424
+ "name": "_proxy",
28425
+ "type": "address"
28426
+ }
28427
+ ],
28428
+ "name": "setAPI3Proxy",
28429
+ "outputs": [],
28430
+ "stateMutability": "nonpayable",
28431
+ "type": "function"
28432
+ },
28433
+ {
28434
+ "inputs": [
28435
+ {
28436
+ "internalType": "address",
28437
+ "name": "newOwner",
28438
+ "type": "address"
28439
+ }
28440
+ ],
28441
+ "name": "transferOwnership",
28442
+ "outputs": [],
28443
+ "stateMutability": "nonpayable",
28444
+ "type": "function"
28445
+ }
28446
+ ],
28447
+ "IAPI3Proxy": [
28448
+ {
28449
+ "inputs": [],
28450
+ "name": "api3ServerV1",
28451
+ "outputs": [
28452
+ {
28453
+ "internalType": "address",
28454
+ "name": "",
28455
+ "type": "address"
28456
+ }
28457
+ ],
28458
+ "stateMutability": "view",
28459
+ "type": "function"
28460
+ },
28461
+ {
28462
+ "inputs": [],
28463
+ "name": "read",
28464
+ "outputs": [
28465
+ {
28466
+ "internalType": "int224",
28467
+ "name": "value",
28468
+ "type": "int224"
28469
+ },
28470
+ {
28471
+ "internalType": "uint32",
28472
+ "name": "timestamp",
28473
+ "type": "uint32"
28474
+ }
28475
+ ],
28476
+ "stateMutability": "view",
28477
+ "type": "function"
28478
+ }
28479
+ ],
27639
28480
  "FeedPriceOracle": [
27640
28481
  {
27641
28482
  "inputs": [