@meterio/sumer-js 0.1.35 → 0.1.37

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 (88) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +25 -0
  3. package/dist/nodejs/abi.js +443 -83
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/comptroller.d.ts +10 -2
  6. package/dist/nodejs/comptroller.js +17 -3
  7. package/dist/nodejs/comptroller.js.map +1 -1
  8. package/dist/nodejs/constants/metertest.d.ts +0 -1
  9. package/dist/nodejs/constants/metertest.js +28 -39
  10. package/dist/nodejs/constants/metertest.js.map +1 -1
  11. package/dist/nodejs/errors.d.ts +4 -0
  12. package/dist/nodejs/errors.js +4 -0
  13. package/dist/nodejs/errors.js.map +1 -1
  14. package/dist/nodejs/index.d.ts +29 -0
  15. package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +19 -10
  16. package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +19 -10
  17. package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +19 -10
  18. package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +14 -3
  19. package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +19 -10
  20. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +4 -23
  21. package/dist/nodejs/typechain/contracts/Comptroller/RedemptionManager.d.ts +58 -17
  22. package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestModel.sol/FixedRateModel.d.ts +91 -0
  23. package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestModel.sol/FixedRateModel.js +3 -0
  24. package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestModel.sol/FixedRateModel.js.map +1 -0
  25. package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestModel.sol/index.d.ts +1 -0
  26. package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestModel.sol/index.js +3 -0
  27. package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestModel.sol/index.js.map +1 -0
  28. package/dist/nodejs/typechain/contracts/InterestRateModel/index.d.ts +2 -0
  29. package/dist/nodejs/typechain/contracts/Interfaces/ICToken.d.ts +14 -3
  30. package/dist/nodejs/typechain/contracts/Interfaces/ICTokenExternal.sol/ICToken.d.ts +15 -1
  31. package/dist/nodejs/typechain/contracts/Timelock.d.ts +29 -2
  32. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +18 -6
  33. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +21 -6
  34. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  35. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +18 -6
  36. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +21 -6
  37. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  38. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +9 -1
  39. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +11 -1
  40. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
  41. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +17 -5
  42. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +20 -5
  43. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
  44. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +18 -6
  45. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +21 -6
  46. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  47. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.d.ts +5 -1
  48. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js +6 -1
  49. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js.map +1 -1
  50. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -1
  51. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -1
  52. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +5 -1
  53. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +6 -1
  54. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  55. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +5 -25
  56. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +6 -32
  57. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
  58. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +54 -22
  59. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +68 -28
  60. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
  61. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
  62. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
  63. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestModel.sol/FixedRateModel__factory.d.ts +152 -0
  64. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestModel.sol/FixedRateModel__factory.js +210 -0
  65. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestModel.sol/FixedRateModel__factory.js.map +1 -0
  66. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestModel.sol/index.d.ts +1 -0
  67. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestModel.sol/index.js +9 -0
  68. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestModel.sol/index.js.map +1 -0
  69. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.d.ts +1 -0
  70. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js +2 -1
  71. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js.map +1 -1
  72. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.d.ts +26 -0
  73. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js +34 -0
  74. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js.map +1 -1
  75. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.d.ts +9 -1
  76. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js +11 -1
  77. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js.map +1 -1
  78. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +5 -1
  79. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +6 -1
  80. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
  81. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +46 -3
  82. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +60 -5
  83. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
  84. package/dist/nodejs/typechain/hardhat.d.ts +18 -0
  85. package/dist/nodejs/typechain/index.d.ts +2 -0
  86. package/dist/nodejs/typechain/index.js +4 -2
  87. package/dist/nodejs/typechain/index.js.map +1 -1
  88. package/package.json +4 -3
@@ -532,6 +532,11 @@ exports.abi = {
532
532
  "name": "NotCToken",
533
533
  "type": "error"
534
534
  },
535
+ {
536
+ "inputs": [],
537
+ "name": "NotEnoughForSeize",
538
+ "type": "error"
539
+ },
535
540
  {
536
541
  "inputs": [],
537
542
  "name": "NotSuToken",
@@ -1611,6 +1616,11 @@ exports.abi = {
1611
1616
  "internalType": "uint256",
1612
1617
  "name": "capacity",
1613
1618
  "type": "uint256"
1619
+ },
1620
+ {
1621
+ "internalType": "uint256",
1622
+ "name": "_threshold",
1623
+ "type": "uint256"
1614
1624
  }
1615
1625
  ],
1616
1626
  "stateMutability": "nonpayable",
@@ -1869,6 +1879,11 @@ exports.abi = {
1869
1879
  "name": "NotCToken",
1870
1880
  "type": "error"
1871
1881
  },
1882
+ {
1883
+ "inputs": [],
1884
+ "name": "NotEnoughForSeize",
1885
+ "type": "error"
1886
+ },
1872
1887
  {
1873
1888
  "inputs": [],
1874
1889
  "name": "NotSuToken",
@@ -2185,6 +2200,25 @@ exports.abi = {
2185
2200
  "name": "AgreementFrozen",
2186
2201
  "type": "event"
2187
2202
  },
2203
+ {
2204
+ "anonymous": false,
2205
+ "inputs": [
2206
+ {
2207
+ "indexed": false,
2208
+ "internalType": "uint256",
2209
+ "name": "oldValue",
2210
+ "type": "uint256"
2211
+ },
2212
+ {
2213
+ "indexed": false,
2214
+ "internalType": "uint256",
2215
+ "name": "newValue",
2216
+ "type": "uint256"
2217
+ }
2218
+ ],
2219
+ "name": "NewThreshold",
2220
+ "type": "event"
2221
+ },
2188
2222
  {
2189
2223
  "anonymous": false,
2190
2224
  "inputs": [
@@ -2733,6 +2767,19 @@ exports.abi = {
2733
2767
  "stateMutability": "nonpayable",
2734
2768
  "type": "function"
2735
2769
  },
2770
+ {
2771
+ "inputs": [
2772
+ {
2773
+ "internalType": "uint256",
2774
+ "name": "newThreshold",
2775
+ "type": "uint256"
2776
+ }
2777
+ ],
2778
+ "name": "setThreshold",
2779
+ "outputs": [],
2780
+ "stateMutability": "nonpayable",
2781
+ "type": "function"
2782
+ },
2736
2783
  {
2737
2784
  "inputs": [
2738
2785
  {
@@ -2752,6 +2799,19 @@ exports.abi = {
2752
2799
  "stateMutability": "view",
2753
2800
  "type": "function"
2754
2801
  },
2802
+ {
2803
+ "inputs": [],
2804
+ "name": "threshold",
2805
+ "outputs": [
2806
+ {
2807
+ "internalType": "uint256",
2808
+ "name": "",
2809
+ "type": "uint256"
2810
+ }
2811
+ ],
2812
+ "stateMutability": "view",
2813
+ "type": "function"
2814
+ },
2755
2815
  {
2756
2816
  "inputs": [],
2757
2817
  "name": "unfreeze",
@@ -3050,6 +3110,11 @@ exports.abi = {
3050
3110
  "name": "NotCToken",
3051
3111
  "type": "error"
3052
3112
  },
3113
+ {
3114
+ "inputs": [],
3115
+ "name": "NotEnoughForSeize",
3116
+ "type": "error"
3117
+ },
3053
3118
  {
3054
3119
  "inputs": [],
3055
3120
  "name": "NotSuToken",
@@ -4328,11 +4393,6 @@ exports.abi = {
4328
4393
  "internalType": "uint256",
4329
4394
  "name": "actualRepayAmount",
4330
4395
  "type": "uint256"
4331
- },
4332
- {
4333
- "internalType": "uint256",
4334
- "name": "liquidationIncentiveMantissa",
4335
- "type": "uint256"
4336
4396
  }
4337
4397
  ],
4338
4398
  "name": "liquidateCalculateSeizeTokens",
@@ -4342,6 +4402,11 @@ exports.abi = {
4342
4402
  "name": "",
4343
4403
  "type": "uint256"
4344
4404
  },
4405
+ {
4406
+ "internalType": "uint256",
4407
+ "name": "",
4408
+ "type": "uint256"
4409
+ },
4345
4410
  {
4346
4411
  "internalType": "uint256",
4347
4412
  "name": "",
@@ -4580,7 +4645,17 @@ exports.abi = {
4580
4645
  },
4581
4646
  {
4582
4647
  "internalType": "uint256",
4583
- "name": "protocolShareMantissa",
4648
+ "name": "seizeProfitTokens",
4649
+ "type": "uint256"
4650
+ },
4651
+ {
4652
+ "internalType": "bool",
4653
+ "name": "isRedemption",
4654
+ "type": "bool"
4655
+ },
4656
+ {
4657
+ "internalType": "uint256",
4658
+ "name": "redemptionRateMantissa",
4584
4659
  "type": "uint256"
4585
4660
  }
4586
4661
  ],
@@ -4983,6 +5058,11 @@ exports.abi = {
4983
5058
  "name": "NotCToken",
4984
5059
  "type": "error"
4985
5060
  },
5061
+ {
5062
+ "inputs": [],
5063
+ "name": "NotEnoughForSeize",
5064
+ "type": "error"
5065
+ },
4986
5066
  {
4987
5067
  "inputs": [],
4988
5068
  "name": "NotSuToken",
@@ -6239,11 +6319,6 @@ exports.abi = {
6239
6319
  "internalType": "uint256",
6240
6320
  "name": "actualRepayAmount",
6241
6321
  "type": "uint256"
6242
- },
6243
- {
6244
- "internalType": "uint256",
6245
- "name": "liquidationIncentiveMantissa",
6246
- "type": "uint256"
6247
6322
  }
6248
6323
  ],
6249
6324
  "name": "liquidateCalculateSeizeTokens",
@@ -6253,6 +6328,11 @@ exports.abi = {
6253
6328
  "name": "",
6254
6329
  "type": "uint256"
6255
6330
  },
6331
+ {
6332
+ "internalType": "uint256",
6333
+ "name": "",
6334
+ "type": "uint256"
6335
+ },
6256
6336
  {
6257
6337
  "internalType": "uint256",
6258
6338
  "name": "",
@@ -6398,7 +6478,17 @@ exports.abi = {
6398
6478
  },
6399
6479
  {
6400
6480
  "internalType": "uint256",
6401
- "name": "protocolShareMantissa",
6481
+ "name": "seizeProfitTokens",
6482
+ "type": "uint256"
6483
+ },
6484
+ {
6485
+ "internalType": "bool",
6486
+ "name": "isRedemption",
6487
+ "type": "bool"
6488
+ },
6489
+ {
6490
+ "internalType": "uint256",
6491
+ "name": "redemptionRateMantissa",
6402
6492
  "type": "uint256"
6403
6493
  }
6404
6494
  ],
@@ -6792,6 +6882,11 @@ exports.abi = {
6792
6882
  "name": "NotCToken",
6793
6883
  "type": "error"
6794
6884
  },
6885
+ {
6886
+ "inputs": [],
6887
+ "name": "NotEnoughForSeize",
6888
+ "type": "error"
6889
+ },
6795
6890
  {
6796
6891
  "inputs": [],
6797
6892
  "name": "NotSuToken",
@@ -7932,11 +8027,6 @@ exports.abi = {
7932
8027
  "internalType": "uint256",
7933
8028
  "name": "actualRepayAmount",
7934
8029
  "type": "uint256"
7935
- },
7936
- {
7937
- "internalType": "uint256",
7938
- "name": "liquidationIncentiveMantissa",
7939
- "type": "uint256"
7940
8030
  }
7941
8031
  ],
7942
8032
  "name": "liquidateCalculateSeizeTokens",
@@ -7946,6 +8036,11 @@ exports.abi = {
7946
8036
  "name": "",
7947
8037
  "type": "uint256"
7948
8038
  },
8039
+ {
8040
+ "internalType": "uint256",
8041
+ "name": "",
8042
+ "type": "uint256"
8043
+ },
7949
8044
  {
7950
8045
  "internalType": "uint256",
7951
8046
  "name": "",
@@ -8026,7 +8121,17 @@ exports.abi = {
8026
8121
  },
8027
8122
  {
8028
8123
  "internalType": "uint256",
8029
- "name": "protocolShareMantissa",
8124
+ "name": "seizeProfitTokens",
8125
+ "type": "uint256"
8126
+ },
8127
+ {
8128
+ "internalType": "bool",
8129
+ "name": "isRedemption",
8130
+ "type": "bool"
8131
+ },
8132
+ {
8133
+ "internalType": "uint256",
8134
+ "name": "redemptionRateMantissa",
8030
8135
  "type": "uint256"
8031
8136
  }
8032
8137
  ],
@@ -9181,7 +9286,17 @@ exports.abi = {
9181
9286
  },
9182
9287
  {
9183
9288
  "internalType": "uint256",
9184
- "name": "protocolShareMantissa",
9289
+ "name": "seizeProfitTokens",
9290
+ "type": "uint256"
9291
+ },
9292
+ {
9293
+ "internalType": "bool",
9294
+ "name": "isRedemption",
9295
+ "type": "bool"
9296
+ },
9297
+ {
9298
+ "internalType": "uint256",
9299
+ "name": "redemptionRateMantissa",
9185
9300
  "type": "uint256"
9186
9301
  }
9187
9302
  ],
@@ -9571,6 +9686,11 @@ exports.abi = {
9571
9686
  "name": "NotCToken",
9572
9687
  "type": "error"
9573
9688
  },
9689
+ {
9690
+ "inputs": [],
9691
+ "name": "NotEnoughForSeize",
9692
+ "type": "error"
9693
+ },
9574
9694
  {
9575
9695
  "inputs": [],
9576
9696
  "name": "NotSuToken",
@@ -10893,11 +11013,6 @@ exports.abi = {
10893
11013
  "internalType": "uint256",
10894
11014
  "name": "actualRepayAmount",
10895
11015
  "type": "uint256"
10896
- },
10897
- {
10898
- "internalType": "uint256",
10899
- "name": "liquidationIncentiveMantissa",
10900
- "type": "uint256"
10901
11016
  }
10902
11017
  ],
10903
11018
  "name": "liquidateCalculateSeizeTokens",
@@ -10907,6 +11022,11 @@ exports.abi = {
10907
11022
  "name": "",
10908
11023
  "type": "uint256"
10909
11024
  },
11025
+ {
11026
+ "internalType": "uint256",
11027
+ "name": "",
11028
+ "type": "uint256"
11029
+ },
10910
11030
  {
10911
11031
  "internalType": "uint256",
10912
11032
  "name": "",
@@ -11174,7 +11294,17 @@ exports.abi = {
11174
11294
  },
11175
11295
  {
11176
11296
  "internalType": "uint256",
11177
- "name": "protocolShareMantissa",
11297
+ "name": "seizeProfitTokens",
11298
+ "type": "uint256"
11299
+ },
11300
+ {
11301
+ "internalType": "bool",
11302
+ "name": "isRedemption",
11303
+ "type": "bool"
11304
+ },
11305
+ {
11306
+ "internalType": "uint256",
11307
+ "name": "redemptionRateMantissa",
11178
11308
  "type": "uint256"
11179
11309
  }
11180
11310
  ],
@@ -11577,6 +11707,11 @@ exports.abi = {
11577
11707
  "name": "NotCToken",
11578
11708
  "type": "error"
11579
11709
  },
11710
+ {
11711
+ "inputs": [],
11712
+ "name": "NotEnoughForSeize",
11713
+ "type": "error"
11714
+ },
11580
11715
  {
11581
11716
  "inputs": [],
11582
11717
  "name": "NotSuToken",
@@ -13293,6 +13428,11 @@ exports.abi = {
13293
13428
  "name": "NotCToken",
13294
13429
  "type": "error"
13295
13430
  },
13431
+ {
13432
+ "inputs": [],
13433
+ "name": "NotEnoughForSeize",
13434
+ "type": "error"
13435
+ },
13296
13436
  {
13297
13437
  "inputs": [],
13298
13438
  "name": "NotSuToken",
@@ -14674,6 +14814,11 @@ exports.abi = {
14674
14814
  "name": "NotCToken",
14675
14815
  "type": "error"
14676
14816
  },
14817
+ {
14818
+ "inputs": [],
14819
+ "name": "NotEnoughForSeize",
14820
+ "type": "error"
14821
+ },
14677
14822
  {
14678
14823
  "inputs": [],
14679
14824
  "name": "NotSuToken",
@@ -16459,11 +16604,6 @@ exports.abi = {
16459
16604
  "internalType": "uint256",
16460
16605
  "name": "_sutokenLiquidationIncentiveMantissa",
16461
16606
  "type": "uint256"
16462
- },
16463
- {
16464
- "internalType": "contract IRedemptionManager",
16465
- "name": "_redemptionManager",
16466
- "type": "address"
16467
16607
  }
16468
16608
  ],
16469
16609
  "name": "initialize",
@@ -16730,19 +16870,6 @@ exports.abi = {
16730
16870
  "stateMutability": "nonpayable",
16731
16871
  "type": "function"
16732
16872
  },
16733
- {
16734
- "inputs": [],
16735
- "name": "redemptionManager",
16736
- "outputs": [
16737
- {
16738
- "internalType": "contract IRedemptionManager",
16739
- "name": "",
16740
- "type": "address"
16741
- }
16742
- ],
16743
- "stateMutability": "view",
16744
- "type": "function"
16745
- },
16746
16873
  {
16747
16874
  "inputs": [
16748
16875
  {
@@ -16996,19 +17123,6 @@ exports.abi = {
16996
17123
  "stateMutability": "nonpayable",
16997
17124
  "type": "function"
16998
17125
  },
16999
- {
17000
- "inputs": [
17001
- {
17002
- "internalType": "contract IRedemptionManager",
17003
- "name": "_redemptionManager",
17004
- "type": "address"
17005
- }
17006
- ],
17007
- "name": "setRedemptionManager",
17008
- "outputs": [],
17009
- "stateMutability": "nonpayable",
17010
- "type": "function"
17011
- },
17012
17126
  {
17013
17127
  "inputs": [
17014
17128
  {
@@ -17829,6 +17943,11 @@ exports.abi = {
17829
17943
  "name": "NotCToken",
17830
17944
  "type": "error"
17831
17945
  },
17946
+ {
17947
+ "inputs": [],
17948
+ "name": "NotEnoughForSeize",
17949
+ "type": "error"
17950
+ },
17832
17951
  {
17833
17952
  "inputs": [],
17834
17953
  "name": "NotSuToken",
@@ -18055,6 +18174,44 @@ exports.abi = {
18055
18174
  "name": "LastFeeOpTimeUpdated",
18056
18175
  "type": "event"
18057
18176
  },
18177
+ {
18178
+ "anonymous": false,
18179
+ "inputs": [
18180
+ {
18181
+ "indexed": false,
18182
+ "internalType": "address",
18183
+ "name": "oldComptroller",
18184
+ "type": "address"
18185
+ },
18186
+ {
18187
+ "indexed": false,
18188
+ "internalType": "address",
18189
+ "name": "newComptroller",
18190
+ "type": "address"
18191
+ }
18192
+ ],
18193
+ "name": "NewComptroller",
18194
+ "type": "event"
18195
+ },
18196
+ {
18197
+ "anonymous": false,
18198
+ "inputs": [
18199
+ {
18200
+ "indexed": false,
18201
+ "internalType": "address",
18202
+ "name": "oldSigner",
18203
+ "type": "address"
18204
+ },
18205
+ {
18206
+ "indexed": false,
18207
+ "internalType": "address",
18208
+ "name": "newSigner",
18209
+ "type": "address"
18210
+ }
18211
+ ],
18212
+ "name": "NewRedemptionSigner",
18213
+ "type": "event"
18214
+ },
18058
18215
  {
18059
18216
  "anonymous": false,
18060
18217
  "inputs": [
@@ -18221,19 +18378,6 @@ exports.abi = {
18221
18378
  "stateMutability": "view",
18222
18379
  "type": "function"
18223
18380
  },
18224
- {
18225
- "inputs": [],
18226
- "name": "_redeemFaceValueSigner",
18227
- "outputs": [
18228
- {
18229
- "internalType": "address",
18230
- "name": "",
18231
- "type": "address"
18232
- }
18233
- ],
18234
- "stateMutability": "view",
18235
- "type": "function"
18236
- },
18237
18381
  {
18238
18382
  "inputs": [],
18239
18383
  "name": "baseRate",
@@ -18499,6 +18643,16 @@ exports.abi = {
18499
18643
  "internalType": "address",
18500
18644
  "name": "_admin",
18501
18645
  "type": "address"
18646
+ },
18647
+ {
18648
+ "internalType": "contract IComptroller",
18649
+ "name": "_comptroller",
18650
+ "type": "address"
18651
+ },
18652
+ {
18653
+ "internalType": "address",
18654
+ "name": "_redemptionSigner",
18655
+ "type": "address"
18502
18656
  }
18503
18657
  ],
18504
18658
  "name": "initialize",
@@ -18678,6 +18832,19 @@ exports.abi = {
18678
18832
  "stateMutability": "nonpayable",
18679
18833
  "type": "function"
18680
18834
  },
18835
+ {
18836
+ "inputs": [],
18837
+ "name": "redemptionSigner",
18838
+ "outputs": [
18839
+ {
18840
+ "internalType": "address",
18841
+ "name": "",
18842
+ "type": "address"
18843
+ }
18844
+ ],
18845
+ "stateMutability": "view",
18846
+ "type": "function"
18847
+ },
18681
18848
  {
18682
18849
  "inputs": [
18683
18850
  {
@@ -18735,24 +18902,11 @@ exports.abi = {
18735
18902
  "type": "address"
18736
18903
  }
18737
18904
  ],
18738
- "name": "setRedeemFaceValueSigner",
18905
+ "name": "setRedemptionSigner",
18739
18906
  "outputs": [],
18740
18907
  "stateMutability": "nonpayable",
18741
18908
  "type": "function"
18742
18909
  },
18743
- {
18744
- "inputs": [],
18745
- "name": "sortedBorrows",
18746
- "outputs": [
18747
- {
18748
- "internalType": "contract ISortedBorrows",
18749
- "name": "",
18750
- "type": "address"
18751
- }
18752
- ],
18753
- "stateMutability": "view",
18754
- "type": "function"
18755
- },
18756
18910
  {
18757
18911
  "inputs": [
18758
18912
  {
@@ -20988,6 +21142,178 @@ exports.abi = {
20988
21142
  }
20989
21143
  ],
20990
21144
  "ExponentialNoErrorNew": [],
21145
+ "FixedRateModel": [
21146
+ {
21147
+ "inputs": [
21148
+ {
21149
+ "internalType": "uint256",
21150
+ "name": "initBorrowRate",
21151
+ "type": "uint256"
21152
+ },
21153
+ {
21154
+ "internalType": "uint256",
21155
+ "name": "initSupplyRate",
21156
+ "type": "uint256"
21157
+ }
21158
+ ],
21159
+ "stateMutability": "nonpayable",
21160
+ "type": "constructor"
21161
+ },
21162
+ {
21163
+ "inputs": [],
21164
+ "name": "borrowRate",
21165
+ "outputs": [
21166
+ {
21167
+ "internalType": "uint256",
21168
+ "name": "",
21169
+ "type": "uint256"
21170
+ }
21171
+ ],
21172
+ "stateMutability": "view",
21173
+ "type": "function"
21174
+ },
21175
+ {
21176
+ "inputs": [
21177
+ {
21178
+ "internalType": "address",
21179
+ "name": "owner_",
21180
+ "type": "address"
21181
+ }
21182
+ ],
21183
+ "name": "changeOwner",
21184
+ "outputs": [],
21185
+ "stateMutability": "nonpayable",
21186
+ "type": "function"
21187
+ },
21188
+ {
21189
+ "inputs": [
21190
+ {
21191
+ "internalType": "uint256",
21192
+ "name": "cash",
21193
+ "type": "uint256"
21194
+ },
21195
+ {
21196
+ "internalType": "uint256",
21197
+ "name": "borrows",
21198
+ "type": "uint256"
21199
+ },
21200
+ {
21201
+ "internalType": "uint256",
21202
+ "name": "reserves",
21203
+ "type": "uint256"
21204
+ }
21205
+ ],
21206
+ "name": "getBorrowRate",
21207
+ "outputs": [
21208
+ {
21209
+ "internalType": "uint256",
21210
+ "name": "",
21211
+ "type": "uint256"
21212
+ }
21213
+ ],
21214
+ "stateMutability": "view",
21215
+ "type": "function"
21216
+ },
21217
+ {
21218
+ "inputs": [
21219
+ {
21220
+ "internalType": "uint256",
21221
+ "name": "cash",
21222
+ "type": "uint256"
21223
+ },
21224
+ {
21225
+ "internalType": "uint256",
21226
+ "name": "borrows",
21227
+ "type": "uint256"
21228
+ },
21229
+ {
21230
+ "internalType": "uint256",
21231
+ "name": "reserves",
21232
+ "type": "uint256"
21233
+ },
21234
+ {
21235
+ "internalType": "uint256",
21236
+ "name": "reserveFactorMantissa",
21237
+ "type": "uint256"
21238
+ }
21239
+ ],
21240
+ "name": "getSupplyRate",
21241
+ "outputs": [
21242
+ {
21243
+ "internalType": "uint256",
21244
+ "name": "",
21245
+ "type": "uint256"
21246
+ }
21247
+ ],
21248
+ "stateMutability": "view",
21249
+ "type": "function"
21250
+ },
21251
+ {
21252
+ "inputs": [],
21253
+ "name": "isInterestRateModel",
21254
+ "outputs": [
21255
+ {
21256
+ "internalType": "bool",
21257
+ "name": "",
21258
+ "type": "bool"
21259
+ }
21260
+ ],
21261
+ "stateMutability": "view",
21262
+ "type": "function"
21263
+ },
21264
+ {
21265
+ "inputs": [],
21266
+ "name": "owner",
21267
+ "outputs": [
21268
+ {
21269
+ "internalType": "address",
21270
+ "name": "",
21271
+ "type": "address"
21272
+ }
21273
+ ],
21274
+ "stateMutability": "view",
21275
+ "type": "function"
21276
+ },
21277
+ {
21278
+ "inputs": [
21279
+ {
21280
+ "internalType": "uint256",
21281
+ "name": "rate",
21282
+ "type": "uint256"
21283
+ }
21284
+ ],
21285
+ "name": "setBorrowRate",
21286
+ "outputs": [],
21287
+ "stateMutability": "nonpayable",
21288
+ "type": "function"
21289
+ },
21290
+ {
21291
+ "inputs": [
21292
+ {
21293
+ "internalType": "uint256",
21294
+ "name": "rate",
21295
+ "type": "uint256"
21296
+ }
21297
+ ],
21298
+ "name": "setSupplyRate",
21299
+ "outputs": [],
21300
+ "stateMutability": "nonpayable",
21301
+ "type": "function"
21302
+ },
21303
+ {
21304
+ "inputs": [],
21305
+ "name": "supplyRate",
21306
+ "outputs": [
21307
+ {
21308
+ "internalType": "uint256",
21309
+ "name": "",
21310
+ "type": "uint256"
21311
+ }
21312
+ ],
21313
+ "stateMutability": "view",
21314
+ "type": "function"
21315
+ }
21316
+ ],
20991
21317
  "InterestRateModel": [
20992
21318
  {
20993
21319
  "inputs": [
@@ -22700,6 +23026,40 @@ exports.abi = {
22700
23026
  "stateMutability": "view",
22701
23027
  "type": "function"
22702
23028
  },
23029
+ {
23030
+ "inputs": [
23031
+ {
23032
+ "internalType": "address",
23033
+ "name": "cTokenCollateral",
23034
+ "type": "address"
23035
+ },
23036
+ {
23037
+ "internalType": "uint256",
23038
+ "name": "actualRepayAmount",
23039
+ "type": "uint256"
23040
+ }
23041
+ ],
23042
+ "name": "liquidateCalculateSeizeTokens",
23043
+ "outputs": [
23044
+ {
23045
+ "internalType": "uint256",
23046
+ "name": "",
23047
+ "type": "uint256"
23048
+ },
23049
+ {
23050
+ "internalType": "uint256",
23051
+ "name": "",
23052
+ "type": "uint256"
23053
+ },
23054
+ {
23055
+ "internalType": "uint256",
23056
+ "name": "",
23057
+ "type": "uint256"
23058
+ }
23059
+ ],
23060
+ "stateMutability": "view",
23061
+ "type": "function"
23062
+ },
22703
23063
  {
22704
23064
  "inputs": [],
22705
23065
  "name": "reserveFactorMantissa",