@meterio/sumer-js 0.2.129 → 0.2.130

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 (106) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +0 -141
  3. package/dist/nodejs/abi.js +22 -2451
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/arbitrum.js +11 -0
  6. package/dist/nodejs/constants/arbitrum.js.map +1 -1
  7. package/dist/nodejs/constants/b2main.js +11 -0
  8. package/dist/nodejs/constants/b2main.js.map +1 -1
  9. package/dist/nodejs/constants/basemain.js +11 -0
  10. package/dist/nodejs/constants/basemain.js.map +1 -1
  11. package/dist/nodejs/constants/basetest.js +11 -0
  12. package/dist/nodejs/constants/basetest.js.map +1 -1
  13. package/dist/nodejs/constants/berabartio.js +11 -0
  14. package/dist/nodejs/constants/berabartio.js.map +1 -1
  15. package/dist/nodejs/constants/beramain.js +11 -0
  16. package/dist/nodejs/constants/beramain.js.map +1 -1
  17. package/dist/nodejs/constants/bsc.d.ts +2 -2
  18. package/dist/nodejs/constants/bsc.js +15 -4
  19. package/dist/nodejs/constants/bsc.js.map +1 -1
  20. package/dist/nodejs/constants/core.js +11 -0
  21. package/dist/nodejs/constants/core.js.map +1 -1
  22. package/dist/nodejs/constants/ethereum.d.ts +2 -2
  23. package/dist/nodejs/constants/ethereum.js +15 -4
  24. package/dist/nodejs/constants/ethereum.js.map +1 -1
  25. package/dist/nodejs/constants/hemi.js +11 -0
  26. package/dist/nodejs/constants/hemi.js.map +1 -1
  27. package/dist/nodejs/constants/metertest.js +11 -0
  28. package/dist/nodejs/constants/metertest.js.map +1 -1
  29. package/dist/nodejs/constants/monadtest.d.ts +0 -1
  30. package/dist/nodejs/constants/monadtest.js +12 -2
  31. package/dist/nodejs/constants/monadtest.js.map +1 -1
  32. package/dist/nodejs/constants/sepolia.d.ts +2 -17
  33. package/dist/nodejs/constants/sepolia.js +31 -35
  34. package/dist/nodejs/constants/sepolia.js.map +1 -1
  35. package/dist/nodejs/constants/zklink.js +11 -0
  36. package/dist/nodejs/constants/zklink.js.map +1 -1
  37. package/dist/nodejs/errorABIs.js +0 -522
  38. package/dist/nodejs/errorABIs.js.map +1 -1
  39. package/dist/nodejs/index.d.ts +0 -141
  40. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/index.d.ts +0 -2
  41. package/dist/nodejs/typechain/contracts/CToken/index.d.ts +0 -2
  42. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +0 -2
  43. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.d.ts +0 -2
  44. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js +1 -5
  45. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js.map +1 -1
  46. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -1
  47. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -1
  48. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -1
  49. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -1
  50. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -1
  51. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -1
  52. package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +0 -1
  53. package/dist/nodejs/typechain/factories/contracts/CToken/index.js +1 -25
  54. package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -1
  55. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +1 -1
  56. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +1 -1
  57. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +0 -1
  58. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +1 -2
  59. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  60. package/dist/nodejs/typechain/hardhat.d.ts +0 -126
  61. package/dist/nodejs/typechain/index.d.ts +0 -14
  62. package/dist/nodejs/typechain/index.js +3 -17
  63. package/dist/nodejs/typechain/index.js.map +1 -1
  64. package/package.json +1 -1
  65. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/CAavePool.d.ts +0 -1018
  66. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/CAavePool.js +0 -3
  67. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/CAavePool.js.map +0 -1
  68. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.d.ts +0 -37
  69. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.js +0 -3
  70. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.js.map +0 -1
  71. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.d.ts +0 -133
  72. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.js +0 -3
  73. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.js.map +0 -1
  74. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.d.ts +0 -3
  75. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.js +0 -3
  76. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.js.map +0 -1
  77. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.d.ts +0 -25
  78. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.js +0 -3
  79. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.js.map +0 -1
  80. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.d.ts +0 -37
  81. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.js +0 -3
  82. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.js.map +0 -1
  83. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/index.d.ts +0 -2
  84. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/index.js +0 -3
  85. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/index.js.map +0 -1
  86. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.d.ts +0 -1677
  87. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.js +0 -2149
  88. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.js.map +0 -1
  89. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.d.ts +0 -55
  90. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.js +0 -84
  91. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.js.map +0 -1
  92. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.d.ts +0 -145
  93. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.js +0 -199
  94. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.js.map +0 -1
  95. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.d.ts +0 -3
  96. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.js +0 -13
  97. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.js.map +0 -1
  98. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.d.ts +0 -44
  99. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.js +0 -69
  100. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.js.map +0 -1
  101. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/IAprMon__factory.d.ts +0 -35
  102. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/IAprMon__factory.js +0 -58
  103. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/IAprMon__factory.js.map +0 -1
  104. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.d.ts +0 -2
  105. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.js +0 -11
  106. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.js.map +0 -1
@@ -3441,7 +3441,7 @@ exports.abi = {
3441
3441
  "type": "receive"
3442
3442
  }
3443
3443
  ],
3444
- "CAavePool": [
3444
+ "CErc20": [
3445
3445
  {
3446
3446
  "inputs": [],
3447
3447
  "stateMutability": "nonpayable",
@@ -4000,37 +4000,6 @@ exports.abi = {
4000
4000
  "name": "AccrueInterest",
4001
4001
  "type": "event"
4002
4002
  },
4003
- {
4004
- "anonymous": false,
4005
- "inputs": [
4006
- {
4007
- "indexed": false,
4008
- "internalType": "uint256",
4009
- "name": "amount",
4010
- "type": "uint256"
4011
- },
4012
- {
4013
- "indexed": false,
4014
- "internalType": "uint256",
4015
- "name": "liquidityIndex",
4016
- "type": "uint256"
4017
- },
4018
- {
4019
- "indexed": false,
4020
- "internalType": "uint256",
4021
- "name": "addScaledBalance",
4022
- "type": "uint256"
4023
- },
4024
- {
4025
- "indexed": false,
4026
- "internalType": "uint256",
4027
- "name": "scaledBalance",
4028
- "type": "uint256"
4029
- }
4030
- ],
4031
- "name": "AddScaledBalance",
4032
- "type": "event"
4033
- },
4034
4003
  {
4035
4004
  "anonymous": false,
4036
4005
  "inputs": [
@@ -4431,37 +4400,6 @@ exports.abi = {
4431
4400
  "name": "ReservesReduced",
4432
4401
  "type": "event"
4433
4402
  },
4434
- {
4435
- "anonymous": false,
4436
- "inputs": [
4437
- {
4438
- "indexed": false,
4439
- "internalType": "uint256",
4440
- "name": "amount",
4441
- "type": "uint256"
4442
- },
4443
- {
4444
- "indexed": false,
4445
- "internalType": "uint256",
4446
- "name": "liquidityIndex",
4447
- "type": "uint256"
4448
- },
4449
- {
4450
- "indexed": false,
4451
- "internalType": "uint256",
4452
- "name": "subScaledBalance",
4453
- "type": "uint256"
4454
- },
4455
- {
4456
- "indexed": false,
4457
- "internalType": "uint256",
4458
- "name": "scaledBalance",
4459
- "type": "uint256"
4460
- }
4461
- ],
4462
- "name": "SubScaledBalance",
4463
- "type": "event"
4464
- },
4465
4403
  {
4466
4404
  "anonymous": false,
4467
4405
  "inputs": [
@@ -4972,59 +4910,6 @@ exports.abi = {
4972
4910
  "stateMutability": "nonpayable",
4973
4911
  "type": "function"
4974
4912
  },
4975
- {
4976
- "inputs": [
4977
- {
4978
- "internalType": "address",
4979
- "name": "underlying_",
4980
- "type": "address"
4981
- },
4982
- {
4983
- "internalType": "address",
4984
- "name": "comptroller_",
4985
- "type": "address"
4986
- },
4987
- {
4988
- "internalType": "address",
4989
- "name": "interestRateModel_",
4990
- "type": "address"
4991
- },
4992
- {
4993
- "internalType": "uint256",
4994
- "name": "initialExchangeRateMantissa_",
4995
- "type": "uint256"
4996
- },
4997
- {
4998
- "internalType": "string",
4999
- "name": "name_",
5000
- "type": "string"
5001
- },
5002
- {
5003
- "internalType": "string",
5004
- "name": "symbol_",
5005
- "type": "string"
5006
- },
5007
- {
5008
- "internalType": "uint8",
5009
- "name": "decimals_",
5010
- "type": "uint8"
5011
- },
5012
- {
5013
- "internalType": "address payable",
5014
- "name": "admin_",
5015
- "type": "address"
5016
- },
5017
- {
5018
- "internalType": "address",
5019
- "name": "aaveV3Pool_",
5020
- "type": "address"
5021
- }
5022
- ],
5023
- "name": "initialize",
5024
- "outputs": [],
5025
- "stateMutability": "nonpayable",
5026
- "type": "function"
5027
- },
5028
4913
  {
5029
4914
  "inputs": [],
5030
4915
  "name": "interestRateModel",
@@ -5256,13 +5141,6 @@ exports.abi = {
5256
5141
  "stateMutability": "nonpayable",
5257
5142
  "type": "function"
5258
5143
  },
5259
- {
5260
- "inputs": [],
5261
- "name": "reinit",
5262
- "outputs": [],
5263
- "stateMutability": "nonpayable",
5264
- "type": "function"
5265
- },
5266
5144
  {
5267
5145
  "inputs": [
5268
5146
  {
@@ -5552,254 +5430,7 @@ exports.abi = {
5552
5430
  "type": "function"
5553
5431
  }
5554
5432
  ],
5555
- "IAToken": [
5556
- {
5557
- "inputs": [
5558
- {
5559
- "internalType": "address",
5560
- "name": "user",
5561
- "type": "address"
5562
- }
5563
- ],
5564
- "name": "balanceOf",
5565
- "outputs": [
5566
- {
5567
- "internalType": "uint256",
5568
- "name": "",
5569
- "type": "uint256"
5570
- }
5571
- ],
5572
- "stateMutability": "view",
5573
- "type": "function"
5574
- },
5575
- {
5576
- "inputs": [
5577
- {
5578
- "internalType": "address",
5579
- "name": "user",
5580
- "type": "address"
5581
- }
5582
- ],
5583
- "name": "scaledBalanceOf",
5584
- "outputs": [
5585
- {
5586
- "internalType": "uint256",
5587
- "name": "",
5588
- "type": "uint256"
5589
- }
5590
- ],
5591
- "stateMutability": "view",
5592
- "type": "function"
5593
- },
5594
- {
5595
- "inputs": [],
5596
- "name": "scaledTotalSupply",
5597
- "outputs": [
5598
- {
5599
- "internalType": "uint256",
5600
- "name": "",
5601
- "type": "uint256"
5602
- }
5603
- ],
5604
- "stateMutability": "view",
5605
- "type": "function"
5606
- },
5607
- {
5608
- "inputs": [],
5609
- "name": "totalSupply",
5610
- "outputs": [
5611
- {
5612
- "internalType": "uint256",
5613
- "name": "",
5614
- "type": "uint256"
5615
- }
5616
- ],
5617
- "stateMutability": "view",
5618
- "type": "function"
5619
- }
5620
- ],
5621
- "IAaveV3Pool": [
5622
- {
5623
- "inputs": [
5624
- {
5625
- "internalType": "address",
5626
- "name": "asset",
5627
- "type": "address"
5628
- }
5629
- ],
5630
- "name": "getReserveData",
5631
- "outputs": [
5632
- {
5633
- "components": [
5634
- {
5635
- "components": [
5636
- {
5637
- "internalType": "uint256",
5638
- "name": "data",
5639
- "type": "uint256"
5640
- }
5641
- ],
5642
- "internalType": "struct IAaveV3Pool.ReserveConfigurationMap",
5643
- "name": "configuration",
5644
- "type": "tuple"
5645
- },
5646
- {
5647
- "internalType": "uint128",
5648
- "name": "liquidityIndex",
5649
- "type": "uint128"
5650
- },
5651
- {
5652
- "internalType": "uint128",
5653
- "name": "currentLiquidityRate",
5654
- "type": "uint128"
5655
- },
5656
- {
5657
- "internalType": "uint128",
5658
- "name": "variableBorrowIndex",
5659
- "type": "uint128"
5660
- },
5661
- {
5662
- "internalType": "uint128",
5663
- "name": "currentVariableBorrowRate",
5664
- "type": "uint128"
5665
- },
5666
- {
5667
- "internalType": "uint128",
5668
- "name": "currentStableBorrowRate",
5669
- "type": "uint128"
5670
- },
5671
- {
5672
- "internalType": "uint40",
5673
- "name": "lastUpdateTimestamp",
5674
- "type": "uint40"
5675
- },
5676
- {
5677
- "internalType": "uint16",
5678
- "name": "id",
5679
- "type": "uint16"
5680
- },
5681
- {
5682
- "internalType": "address",
5683
- "name": "aTokenAddress",
5684
- "type": "address"
5685
- },
5686
- {
5687
- "internalType": "address",
5688
- "name": "stableDebtTokenAddress",
5689
- "type": "address"
5690
- },
5691
- {
5692
- "internalType": "address",
5693
- "name": "variableDebtTokenAddress",
5694
- "type": "address"
5695
- },
5696
- {
5697
- "internalType": "address",
5698
- "name": "interestRateStrategyAddress",
5699
- "type": "address"
5700
- },
5701
- {
5702
- "internalType": "uint128",
5703
- "name": "accruedToTreasury",
5704
- "type": "uint128"
5705
- },
5706
- {
5707
- "internalType": "uint128",
5708
- "name": "unbacked",
5709
- "type": "uint128"
5710
- },
5711
- {
5712
- "internalType": "uint128",
5713
- "name": "isolationModeTotalDebt",
5714
- "type": "uint128"
5715
- }
5716
- ],
5717
- "internalType": "struct IAaveV3Pool.ReserveData",
5718
- "name": "",
5719
- "type": "tuple"
5720
- }
5721
- ],
5722
- "stateMutability": "view",
5723
- "type": "function"
5724
- },
5725
- {
5726
- "inputs": [
5727
- {
5728
- "internalType": "address",
5729
- "name": "underlyingAsset",
5730
- "type": "address"
5731
- }
5732
- ],
5733
- "name": "getReserveNormalizedIncome",
5734
- "outputs": [
5735
- {
5736
- "internalType": "uint256",
5737
- "name": "",
5738
- "type": "uint256"
5739
- }
5740
- ],
5741
- "stateMutability": "view",
5742
- "type": "function"
5743
- },
5744
- {
5745
- "inputs": [
5746
- {
5747
- "internalType": "address",
5748
- "name": "asset",
5749
- "type": "address"
5750
- },
5751
- {
5752
- "internalType": "uint256",
5753
- "name": "amount",
5754
- "type": "uint256"
5755
- },
5756
- {
5757
- "internalType": "address",
5758
- "name": "onBehalfOf",
5759
- "type": "address"
5760
- },
5761
- {
5762
- "internalType": "uint16",
5763
- "name": "referralCode",
5764
- "type": "uint16"
5765
- }
5766
- ],
5767
- "name": "supply",
5768
- "outputs": [],
5769
- "stateMutability": "nonpayable",
5770
- "type": "function"
5771
- },
5772
- {
5773
- "inputs": [
5774
- {
5775
- "internalType": "address",
5776
- "name": "asset",
5777
- "type": "address"
5778
- },
5779
- {
5780
- "internalType": "uint256",
5781
- "name": "amount",
5782
- "type": "uint256"
5783
- },
5784
- {
5785
- "internalType": "address",
5786
- "name": "to",
5787
- "type": "address"
5788
- }
5789
- ],
5790
- "name": "withdraw",
5791
- "outputs": [
5792
- {
5793
- "internalType": "uint256",
5794
- "name": "",
5795
- "type": "uint256"
5796
- }
5797
- ],
5798
- "stateMutability": "nonpayable",
5799
- "type": "function"
5800
- }
5801
- ],
5802
- "CErc20": [
5433
+ "CEther": [
5803
5434
  {
5804
5435
  "inputs": [],
5805
5436
  "stateMutability": "nonpayable",
@@ -6791,16 +6422,10 @@ exports.abi = {
6791
6422
  "type": "function"
6792
6423
  },
6793
6424
  {
6794
- "inputs": [
6795
- {
6796
- "internalType": "uint256",
6797
- "name": "addAmount",
6798
- "type": "uint256"
6799
- }
6800
- ],
6425
+ "inputs": [],
6801
6426
  "name": "_addReserves",
6802
6427
  "outputs": [],
6803
- "stateMutability": "nonpayable",
6428
+ "stateMutability": "payable",
6804
6429
  "type": "function"
6805
6430
  },
6806
6431
  {
@@ -7222,11 +6847,6 @@ exports.abi = {
7222
6847
  },
7223
6848
  {
7224
6849
  "inputs": [
7225
- {
7226
- "internalType": "address",
7227
- "name": "underlying_",
7228
- "type": "address"
7229
- },
7230
6850
  {
7231
6851
  "internalType": "address",
7232
6852
  "name": "comptroller_",
@@ -7268,6 +6888,13 @@ exports.abi = {
7268
6888
  "stateMutability": "nonpayable",
7269
6889
  "type": "function"
7270
6890
  },
6891
+ {
6892
+ "inputs": [],
6893
+ "name": "initializeVersion2",
6894
+ "outputs": [],
6895
+ "stateMutability": "nonpayable",
6896
+ "type": "function"
6897
+ },
7271
6898
  {
7272
6899
  "inputs": [],
7273
6900
  "name": "interestRateModel",
@@ -7340,11 +6967,6 @@ exports.abi = {
7340
6967
  "name": "borrower",
7341
6968
  "type": "address"
7342
6969
  },
7343
- {
7344
- "internalType": "uint256",
7345
- "name": "repayAmount",
7346
- "type": "uint256"
7347
- },
7348
6970
  {
7349
6971
  "internalType": "address",
7350
6972
  "name": "cTokenCollateral",
@@ -7353,7 +6975,7 @@ exports.abi = {
7353
6975
  ],
7354
6976
  "name": "liquidateBorrow",
7355
6977
  "outputs": [],
7356
- "stateMutability": "nonpayable",
6978
+ "stateMutability": "payable",
7357
6979
  "type": "function"
7358
6980
  },
7359
6981
  {
@@ -7386,39 +7008,10 @@ exports.abi = {
7386
7008
  "type": "function"
7387
7009
  },
7388
7010
  {
7389
- "inputs": [
7390
- {
7391
- "internalType": "uint256",
7392
- "name": "mintAmount",
7393
- "type": "uint256"
7394
- }
7395
- ],
7011
+ "inputs": [],
7396
7012
  "name": "mint",
7397
7013
  "outputs": [],
7398
- "stateMutability": "nonpayable",
7399
- "type": "function"
7400
- },
7401
- {
7402
- "inputs": [
7403
- {
7404
- "internalType": "uint256",
7405
- "name": "mintAmount",
7406
- "type": "uint256"
7407
- },
7408
- {
7409
- "internalType": "uint256",
7410
- "name": "deadline",
7411
- "type": "uint256"
7412
- },
7413
- {
7414
- "internalType": "bytes",
7415
- "name": "signature",
7416
- "type": "bytes"
7417
- }
7418
- ],
7419
- "name": "mintWithPermit",
7420
- "outputs": [],
7421
- "stateMutability": "nonpayable",
7014
+ "stateMutability": "payable",
7422
7015
  "type": "function"
7423
7016
  },
7424
7017
  {
@@ -7500,16 +7093,10 @@ exports.abi = {
7500
7093
  "type": "function"
7501
7094
  },
7502
7095
  {
7503
- "inputs": [
7504
- {
7505
- "internalType": "uint256",
7506
- "name": "repayAmount",
7507
- "type": "uint256"
7508
- }
7509
- ],
7096
+ "inputs": [],
7510
7097
  "name": "repayBorrow",
7511
7098
  "outputs": [],
7512
- "stateMutability": "nonpayable",
7099
+ "stateMutability": "payable",
7513
7100
  "type": "function"
7514
7101
  },
7515
7102
  {
@@ -7518,39 +7105,11 @@ exports.abi = {
7518
7105
  "internalType": "address",
7519
7106
  "name": "borrower",
7520
7107
  "type": "address"
7521
- },
7522
- {
7523
- "internalType": "uint256",
7524
- "name": "repayAmount",
7525
- "type": "uint256"
7526
7108
  }
7527
7109
  ],
7528
7110
  "name": "repayBorrowBehalf",
7529
7111
  "outputs": [],
7530
- "stateMutability": "nonpayable",
7531
- "type": "function"
7532
- },
7533
- {
7534
- "inputs": [
7535
- {
7536
- "internalType": "uint256",
7537
- "name": "repayAmount",
7538
- "type": "uint256"
7539
- },
7540
- {
7541
- "internalType": "uint256",
7542
- "name": "deadline",
7543
- "type": "uint256"
7544
- },
7545
- {
7546
- "internalType": "bytes",
7547
- "name": "signature",
7548
- "type": "bytes"
7549
- }
7550
- ],
7551
- "name": "repayBorrowWithPermit",
7552
- "outputs": [],
7553
- "stateMutability": "nonpayable",
7112
+ "stateMutability": "payable",
7554
7113
  "type": "function"
7555
7114
  },
7556
7115
  {
@@ -7617,19 +7176,6 @@ exports.abi = {
7617
7176
  "stateMutability": "view",
7618
7177
  "type": "function"
7619
7178
  },
7620
- {
7621
- "inputs": [
7622
- {
7623
- "internalType": "contract ERC20",
7624
- "name": "token",
7625
- "type": "address"
7626
- }
7627
- ],
7628
- "name": "sweepToken",
7629
- "outputs": [],
7630
- "stateMutability": "nonpayable",
7631
- "type": "function"
7632
- },
7633
7179
  {
7634
7180
  "inputs": [],
7635
7181
  "name": "symbol",
@@ -7786,1917 +7332,13 @@ exports.abi = {
7786
7332
  ],
7787
7333
  "stateMutability": "view",
7788
7334
  "type": "function"
7335
+ },
7336
+ {
7337
+ "stateMutability": "payable",
7338
+ "type": "receive"
7789
7339
  }
7790
7340
  ],
7791
- "CEther": [
7792
- {
7793
- "inputs": [],
7794
- "stateMutability": "nonpayable",
7795
- "type": "constructor"
7796
- },
7797
- {
7798
- "inputs": [],
7799
- "name": "AddReservesMarketNotFresh",
7800
- "type": "error"
7801
- },
7802
- {
7803
- "inputs": [],
7804
- "name": "AddReservesOverflow",
7805
- "type": "error"
7806
- },
7807
- {
7808
- "inputs": [],
7809
- "name": "BorrowAndDepositBackFailed",
7810
- "type": "error"
7811
- },
7812
- {
7813
- "inputs": [],
7814
- "name": "BorrowCapReached",
7815
- "type": "error"
7816
- },
7817
- {
7818
- "inputs": [],
7819
- "name": "BorrowCashNotAvailable",
7820
- "type": "error"
7821
- },
7822
- {
7823
- "inputs": [],
7824
- "name": "BorrowMarketNotFresh",
7825
- "type": "error"
7826
- },
7827
- {
7828
- "inputs": [],
7829
- "name": "BorrowPaused",
7830
- "type": "error"
7831
- },
7832
- {
7833
- "inputs": [
7834
- {
7835
- "internalType": "uint256",
7836
- "name": "usdThreshold",
7837
- "type": "uint256"
7838
- }
7839
- ],
7840
- "name": "BorrowValueMustBeLargerThanThreshold",
7841
- "type": "error"
7842
- },
7843
- {
7844
- "inputs": [],
7845
- "name": "CantEnterPausedMarket",
7846
- "type": "error"
7847
- },
7848
- {
7849
- "inputs": [],
7850
- "name": "CantExitMarketWithNonZeroBorrowBalance",
7851
- "type": "error"
7852
- },
7853
- {
7854
- "inputs": [],
7855
- "name": "CantSweepUnderlying",
7856
- "type": "error"
7857
- },
7858
- {
7859
- "inputs": [],
7860
- "name": "ComptrollerMismatch",
7861
- "type": "error"
7862
- },
7863
- {
7864
- "inputs": [],
7865
- "name": "EitherAssetOrDebtMustBeZero",
7866
- "type": "error"
7867
- },
7868
- {
7869
- "inputs": [
7870
- {
7871
- "internalType": "uint8",
7872
- "name": "groupId",
7873
- "type": "uint8"
7874
- },
7875
- {
7876
- "internalType": "uint256",
7877
- "name": "cDepositVal",
7878
- "type": "uint256"
7879
- },
7880
- {
7881
- "internalType": "uint256",
7882
- "name": "suDepositVal",
7883
- "type": "uint256"
7884
- },
7885
- {
7886
- "internalType": "uint256",
7887
- "name": "cBorrowVal",
7888
- "type": "uint256"
7889
- },
7890
- {
7891
- "internalType": "uint256",
7892
- "name": "suBorrowVal",
7893
- "type": "uint256"
7894
- }
7895
- ],
7896
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
7897
- "type": "error"
7898
- },
7899
- {
7900
- "inputs": [],
7901
- "name": "ExpiredSignature",
7902
- "type": "error"
7903
- },
7904
- {
7905
- "inputs": [],
7906
- "name": "InsufficientCollateral",
7907
- "type": "error"
7908
- },
7909
- {
7910
- "inputs": [],
7911
- "name": "InsufficientShortfall",
7912
- "type": "error"
7913
- },
7914
- {
7915
- "inputs": [],
7916
- "name": "InterMintNotAllowed",
7917
- "type": "error"
7918
- },
7919
- {
7920
- "inputs": [],
7921
- "name": "InvalidAddress",
7922
- "type": "error"
7923
- },
7924
- {
7925
- "inputs": [],
7926
- "name": "InvalidAmount",
7927
- "type": "error"
7928
- },
7929
- {
7930
- "inputs": [],
7931
- "name": "InvalidBlockNumber",
7932
- "type": "error"
7933
- },
7934
- {
7935
- "inputs": [],
7936
- "name": "InvalidCToken",
7937
- "type": "error"
7938
- },
7939
- {
7940
- "inputs": [],
7941
- "name": "InvalidCloseFactor",
7942
- "type": "error"
7943
- },
7944
- {
7945
- "inputs": [],
7946
- "name": "InvalidComptroller",
7947
- "type": "error"
7948
- },
7949
- {
7950
- "inputs": [],
7951
- "name": "InvalidDiscountRate",
7952
- "type": "error"
7953
- },
7954
- {
7955
- "inputs": [],
7956
- "name": "InvalidExchangeRate",
7957
- "type": "error"
7958
- },
7959
- {
7960
- "inputs": [],
7961
- "name": "InvalidGroupId",
7962
- "type": "error"
7963
- },
7964
- {
7965
- "inputs": [],
7966
- "name": "InvalidInput",
7967
- "type": "error"
7968
- },
7969
- {
7970
- "inputs": [],
7971
- "name": "InvalidInterestRateModel",
7972
- "type": "error"
7973
- },
7974
- {
7975
- "inputs": [],
7976
- "name": "InvalidMinSuBorrowValue",
7977
- "type": "error"
7978
- },
7979
- {
7980
- "inputs": [],
7981
- "name": "InvalidRedeem",
7982
- "type": "error"
7983
- },
7984
- {
7985
- "inputs": [],
7986
- "name": "InvalidReduceAmount",
7987
- "type": "error"
7988
- },
7989
- {
7990
- "inputs": [],
7991
- "name": "InvalidReserveFactor",
7992
- "type": "error"
7993
- },
7994
- {
7995
- "inputs": [],
7996
- "name": "InvalidSignatureForRedeemFaceValue",
7997
- "type": "error"
7998
- },
7999
- {
8000
- "inputs": [],
8001
- "name": "InvalidSignatureLength",
8002
- "type": "error"
8003
- },
8004
- {
8005
- "inputs": [],
8006
- "name": "InvalidSuToken",
8007
- "type": "error"
8008
- },
8009
- {
8010
- "inputs": [],
8011
- "name": "InvalidTimestamp",
8012
- "type": "error"
8013
- },
8014
- {
8015
- "inputs": [],
8016
- "name": "LiquidateBorrow_LiquidatorIsBorrower",
8017
- "type": "error"
8018
- },
8019
- {
8020
- "inputs": [],
8021
- "name": "LiquidateBorrow_RepayAmountIsMax",
8022
- "type": "error"
8023
- },
8024
- {
8025
- "inputs": [],
8026
- "name": "LiquidateBorrow_RepayAmountIsZero",
8027
- "type": "error"
8028
- },
8029
- {
8030
- "inputs": [],
8031
- "name": "LiquidateBorrow_SeizeTooMuch",
8032
- "type": "error"
8033
- },
8034
- {
8035
- "inputs": [],
8036
- "name": "LiquidateCollateralMarketNotFresh",
8037
- "type": "error"
8038
- },
8039
- {
8040
- "inputs": [],
8041
- "name": "LiquidateMarketNotFresh",
8042
- "type": "error"
8043
- },
8044
- {
8045
- "inputs": [],
8046
- "name": "MarketAlreadyListed",
8047
- "type": "error"
8048
- },
8049
- {
8050
- "inputs": [],
8051
- "name": "MarketAlreadyUnlisted",
8052
- "type": "error"
8053
- },
8054
- {
8055
- "inputs": [],
8056
- "name": "MarketCanOnlyInitializeOnce",
8057
- "type": "error"
8058
- },
8059
- {
8060
- "inputs": [],
8061
- "name": "MarketNotEmpty",
8062
- "type": "error"
8063
- },
8064
- {
8065
- "inputs": [],
8066
- "name": "MarketNotListed",
8067
- "type": "error"
8068
- },
8069
- {
8070
- "inputs": [],
8071
- "name": "MarketPaused",
8072
- "type": "error"
8073
- },
8074
- {
8075
- "inputs": [],
8076
- "name": "MinDelayNotReached",
8077
- "type": "error"
8078
- },
8079
- {
8080
- "inputs": [],
8081
- "name": "MintMarketNotFresh",
8082
- "type": "error"
8083
- },
8084
- {
8085
- "inputs": [],
8086
- "name": "MintPaused",
8087
- "type": "error"
8088
- },
8089
- {
8090
- "inputs": [],
8091
- "name": "MintTokensCantBeZero",
8092
- "type": "error"
8093
- },
8094
- {
8095
- "inputs": [],
8096
- "name": "NoRedemptionProvider",
8097
- "type": "error"
8098
- },
8099
- {
8100
- "inputs": [],
8101
- "name": "NotCToken",
8102
- "type": "error"
8103
- },
8104
- {
8105
- "inputs": [],
8106
- "name": "NotEnoughForSeize",
8107
- "type": "error"
8108
- },
8109
- {
8110
- "inputs": [],
8111
- "name": "NotEnoughRedeemAmount",
8112
- "type": "error"
8113
- },
8114
- {
8115
- "inputs": [],
8116
- "name": "NotEnoughRedeemTokens",
8117
- "type": "error"
8118
- },
8119
- {
8120
- "inputs": [],
8121
- "name": "NotEnoughUnderlyingAfterRedeem",
8122
- "type": "error"
8123
- },
8124
- {
8125
- "inputs": [],
8126
- "name": "NotEnoughUnderlyingForMint",
8127
- "type": "error"
8128
- },
8129
- {
8130
- "inputs": [],
8131
- "name": "NotLiquidatableYet",
8132
- "type": "error"
8133
- },
8134
- {
8135
- "inputs": [],
8136
- "name": "NotSuToken",
8137
- "type": "error"
8138
- },
8139
- {
8140
- "inputs": [],
8141
- "name": "OnlyAdmin",
8142
- "type": "error"
8143
- },
8144
- {
8145
- "inputs": [],
8146
- "name": "OnlyAdminOrPauser",
8147
- "type": "error"
8148
- },
8149
- {
8150
- "inputs": [],
8151
- "name": "OnlyCToken",
8152
- "type": "error"
8153
- },
8154
- {
8155
- "inputs": [],
8156
- "name": "OnlyListedCToken",
8157
- "type": "error"
8158
- },
8159
- {
8160
- "inputs": [],
8161
- "name": "OnlyPausedMarketCanBeUnlisted",
8162
- "type": "error"
8163
- },
8164
- {
8165
- "inputs": [],
8166
- "name": "OnlyPendingAdmin",
8167
- "type": "error"
8168
- },
8169
- {
8170
- "inputs": [],
8171
- "name": "OnlyRedemptionManager",
8172
- "type": "error"
8173
- },
8174
- {
8175
- "inputs": [],
8176
- "name": "OverThreshold",
8177
- "type": "error"
8178
- },
8179
- {
8180
- "inputs": [],
8181
- "name": "PriceError",
8182
- "type": "error"
8183
- },
8184
- {
8185
- "inputs": [],
8186
- "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
8187
- "type": "error"
8188
- },
8189
- {
8190
- "inputs": [],
8191
- "name": "RedeemMarketNotFresh",
8192
- "type": "error"
8193
- },
8194
- {
8195
- "inputs": [],
8196
- "name": "RedeemTransferOutNotPossible",
8197
- "type": "error"
8198
- },
8199
- {
8200
- "inputs": [],
8201
- "name": "RedemptionSeizeTooMuch",
8202
- "type": "error"
8203
- },
8204
- {
8205
- "inputs": [],
8206
- "name": "RedemptionSignerNotInitialized",
8207
- "type": "error"
8208
- },
8209
- {
8210
- "inputs": [],
8211
- "name": "ReduceReservesCashNotAvailable",
8212
- "type": "error"
8213
- },
8214
- {
8215
- "inputs": [],
8216
- "name": "ReduceReservesMarketNotFresh",
8217
- "type": "error"
8218
- },
8219
- {
8220
- "inputs": [],
8221
- "name": "Reentered",
8222
- "type": "error"
8223
- },
8224
- {
8225
- "inputs": [],
8226
- "name": "RepayBorrowMarketNotFresh",
8227
- "type": "error"
8228
- },
8229
- {
8230
- "inputs": [],
8231
- "name": "RepayTokenNotListed",
8232
- "type": "error"
8233
- },
8234
- {
8235
- "inputs": [],
8236
- "name": "SeizePaused",
8237
- "type": "error"
8238
- },
8239
- {
8240
- "inputs": [],
8241
- "name": "SeizeTokenNotListed",
8242
- "type": "error"
8243
- },
8244
- {
8245
- "inputs": [],
8246
- "name": "Seize_LiquidatorIsBorrower",
8247
- "type": "error"
8248
- },
8249
- {
8250
- "inputs": [],
8251
- "name": "SenderMustBeCToken",
8252
- "type": "error"
8253
- },
8254
- {
8255
- "inputs": [],
8256
- "name": "SetInterestRateModelMarketNotFresh",
8257
- "type": "error"
8258
- },
8259
- {
8260
- "inputs": [],
8261
- "name": "SetReservesFactorMarketNotFresh",
8262
- "type": "error"
8263
- },
8264
- {
8265
- "inputs": [],
8266
- "name": "SupplyCapReached",
8267
- "type": "error"
8268
- },
8269
- {
8270
- "inputs": [],
8271
- "name": "TokenInOrAmountInMustBeZero",
8272
- "type": "error"
8273
- },
8274
- {
8275
- "inputs": [],
8276
- "name": "TokenTransferInFailed",
8277
- "type": "error"
8278
- },
8279
- {
8280
- "inputs": [],
8281
- "name": "TokenTransferOutFailed",
8282
- "type": "error"
8283
- },
8284
- {
8285
- "inputs": [],
8286
- "name": "TooMuchRepay",
8287
- "type": "error"
8288
- },
8289
- {
8290
- "inputs": [],
8291
- "name": "TotalBorrowsNotZero",
8292
- "type": "error"
8293
- },
8294
- {
8295
- "inputs": [],
8296
- "name": "TotalSupplyNotZero",
8297
- "type": "error"
8298
- },
8299
- {
8300
- "inputs": [],
8301
- "name": "TransferNotAllowed",
8302
- "type": "error"
8303
- },
8304
- {
8305
- "inputs": [],
8306
- "name": "TransferPaused",
8307
- "type": "error"
8308
- },
8309
- {
8310
- "inputs": [],
8311
- "name": "UnderlyingBalanceError",
8312
- "type": "error"
8313
- },
8314
- {
8315
- "inputs": [],
8316
- "name": "ZeroAddressNotAllowed",
8317
- "type": "error"
8318
- },
8319
- {
8320
- "anonymous": false,
8321
- "inputs": [
8322
- {
8323
- "indexed": false,
8324
- "internalType": "uint256",
8325
- "name": "cashPrior",
8326
- "type": "uint256"
8327
- },
8328
- {
8329
- "indexed": false,
8330
- "internalType": "uint256",
8331
- "name": "interestAccumulated",
8332
- "type": "uint256"
8333
- },
8334
- {
8335
- "indexed": false,
8336
- "internalType": "uint256",
8337
- "name": "borrowIndex",
8338
- "type": "uint256"
8339
- },
8340
- {
8341
- "indexed": false,
8342
- "internalType": "uint256",
8343
- "name": "totalBorrows",
8344
- "type": "uint256"
8345
- }
8346
- ],
8347
- "name": "AccrueInterest",
8348
- "type": "event"
8349
- },
8350
- {
8351
- "anonymous": false,
8352
- "inputs": [
8353
- {
8354
- "indexed": true,
8355
- "internalType": "address",
8356
- "name": "owner",
8357
- "type": "address"
8358
- },
8359
- {
8360
- "indexed": true,
8361
- "internalType": "address",
8362
- "name": "spender",
8363
- "type": "address"
8364
- },
8365
- {
8366
- "indexed": false,
8367
- "internalType": "uint256",
8368
- "name": "amount",
8369
- "type": "uint256"
8370
- }
8371
- ],
8372
- "name": "Approval",
8373
- "type": "event"
8374
- },
8375
- {
8376
- "anonymous": false,
8377
- "inputs": [
8378
- {
8379
- "indexed": false,
8380
- "internalType": "address",
8381
- "name": "borrower",
8382
- "type": "address"
8383
- },
8384
- {
8385
- "indexed": false,
8386
- "internalType": "uint256",
8387
- "name": "borrowAmount",
8388
- "type": "uint256"
8389
- },
8390
- {
8391
- "indexed": false,
8392
- "internalType": "uint256",
8393
- "name": "accountBorrows",
8394
- "type": "uint256"
8395
- },
8396
- {
8397
- "indexed": false,
8398
- "internalType": "uint256",
8399
- "name": "totalBorrows",
8400
- "type": "uint256"
8401
- }
8402
- ],
8403
- "name": "Borrow",
8404
- "type": "event"
8405
- },
8406
- {
8407
- "anonymous": false,
8408
- "inputs": [
8409
- {
8410
- "indexed": false,
8411
- "internalType": "uint8",
8412
- "name": "version",
8413
- "type": "uint8"
8414
- }
8415
- ],
8416
- "name": "Initialized",
8417
- "type": "event"
8418
- },
8419
- {
8420
- "anonymous": false,
8421
- "inputs": [
8422
- {
8423
- "indexed": false,
8424
- "internalType": "address",
8425
- "name": "liquidator",
8426
- "type": "address"
8427
- },
8428
- {
8429
- "indexed": false,
8430
- "internalType": "address",
8431
- "name": "borrower",
8432
- "type": "address"
8433
- },
8434
- {
8435
- "indexed": false,
8436
- "internalType": "uint256",
8437
- "name": "repayAmount",
8438
- "type": "uint256"
8439
- },
8440
- {
8441
- "indexed": false,
8442
- "internalType": "address",
8443
- "name": "cTokenCollateral",
8444
- "type": "address"
8445
- },
8446
- {
8447
- "indexed": false,
8448
- "internalType": "uint256",
8449
- "name": "seizeTokens",
8450
- "type": "uint256"
8451
- }
8452
- ],
8453
- "name": "LiquidateBorrow",
8454
- "type": "event"
8455
- },
8456
- {
8457
- "anonymous": false,
8458
- "inputs": [
8459
- {
8460
- "indexed": false,
8461
- "internalType": "address",
8462
- "name": "minter",
8463
- "type": "address"
8464
- },
8465
- {
8466
- "indexed": false,
8467
- "internalType": "uint256",
8468
- "name": "mintAmount",
8469
- "type": "uint256"
8470
- },
8471
- {
8472
- "indexed": false,
8473
- "internalType": "uint256",
8474
- "name": "mintTokens",
8475
- "type": "uint256"
8476
- }
8477
- ],
8478
- "name": "Mint",
8479
- "type": "event"
8480
- },
8481
- {
8482
- "anonymous": false,
8483
- "inputs": [
8484
- {
8485
- "indexed": false,
8486
- "internalType": "address",
8487
- "name": "oldAdmin",
8488
- "type": "address"
8489
- },
8490
- {
8491
- "indexed": false,
8492
- "internalType": "address",
8493
- "name": "newAdmin",
8494
- "type": "address"
8495
- }
8496
- ],
8497
- "name": "NewAdmin",
8498
- "type": "event"
8499
- },
8500
- {
8501
- "anonymous": false,
8502
- "inputs": [
8503
- {
8504
- "indexed": false,
8505
- "internalType": "address",
8506
- "name": "oldComptroller",
8507
- "type": "address"
8508
- },
8509
- {
8510
- "indexed": false,
8511
- "internalType": "address",
8512
- "name": "newComptroller",
8513
- "type": "address"
8514
- }
8515
- ],
8516
- "name": "NewComptroller",
8517
- "type": "event"
8518
- },
8519
- {
8520
- "anonymous": false,
8521
- "inputs": [
8522
- {
8523
- "indexed": false,
8524
- "internalType": "uint256",
8525
- "name": "oldDiscountRateMantissa",
8526
- "type": "uint256"
8527
- },
8528
- {
8529
- "indexed": false,
8530
- "internalType": "uint256",
8531
- "name": "newDiscountRateMantissa",
8532
- "type": "uint256"
8533
- }
8534
- ],
8535
- "name": "NewDiscountRate",
8536
- "type": "event"
8537
- },
8538
- {
8539
- "anonymous": false,
8540
- "inputs": [
8541
- {
8542
- "indexed": false,
8543
- "internalType": "address",
8544
- "name": "oldInterestRateModel",
8545
- "type": "address"
8546
- },
8547
- {
8548
- "indexed": false,
8549
- "internalType": "address",
8550
- "name": "newInterestRateModel",
8551
- "type": "address"
8552
- }
8553
- ],
8554
- "name": "NewMarketInterestRateModel",
8555
- "type": "event"
8556
- },
8557
- {
8558
- "anonymous": false,
8559
- "inputs": [
8560
- {
8561
- "indexed": false,
8562
- "internalType": "address",
8563
- "name": "oldPendingAdmin",
8564
- "type": "address"
8565
- },
8566
- {
8567
- "indexed": false,
8568
- "internalType": "address",
8569
- "name": "newPendingAdmin",
8570
- "type": "address"
8571
- }
8572
- ],
8573
- "name": "NewPendingAdmin",
8574
- "type": "event"
8575
- },
8576
- {
8577
- "anonymous": false,
8578
- "inputs": [
8579
- {
8580
- "indexed": false,
8581
- "internalType": "uint256",
8582
- "name": "oldReserveFactorMantissa",
8583
- "type": "uint256"
8584
- },
8585
- {
8586
- "indexed": false,
8587
- "internalType": "uint256",
8588
- "name": "newReserveFactorMantissa",
8589
- "type": "uint256"
8590
- }
8591
- ],
8592
- "name": "NewReserveFactor",
8593
- "type": "event"
8594
- },
8595
- {
8596
- "anonymous": false,
8597
- "inputs": [
8598
- {
8599
- "indexed": false,
8600
- "internalType": "address",
8601
- "name": "redeemer",
8602
- "type": "address"
8603
- },
8604
- {
8605
- "indexed": false,
8606
- "internalType": "uint256",
8607
- "name": "redeemAmount",
8608
- "type": "uint256"
8609
- },
8610
- {
8611
- "indexed": false,
8612
- "internalType": "uint256",
8613
- "name": "redeemTokens",
8614
- "type": "uint256"
8615
- }
8616
- ],
8617
- "name": "Redeem",
8618
- "type": "event"
8619
- },
8620
- {
8621
- "anonymous": false,
8622
- "inputs": [
8623
- {
8624
- "indexed": true,
8625
- "internalType": "address",
8626
- "name": "redeemer",
8627
- "type": "address"
8628
- },
8629
- {
8630
- "indexed": true,
8631
- "internalType": "address",
8632
- "name": "provider",
8633
- "type": "address"
8634
- },
8635
- {
8636
- "indexed": false,
8637
- "internalType": "uint256",
8638
- "name": "repayAmount",
8639
- "type": "uint256"
8640
- },
8641
- {
8642
- "indexed": false,
8643
- "internalType": "address",
8644
- "name": "seizeToken",
8645
- "type": "address"
8646
- },
8647
- {
8648
- "indexed": false,
8649
- "internalType": "uint256",
8650
- "name": "seizeAmount",
8651
- "type": "uint256"
8652
- },
8653
- {
8654
- "indexed": false,
8655
- "internalType": "uint256",
8656
- "name": "redemptionRateMantissa",
8657
- "type": "uint256"
8658
- }
8659
- ],
8660
- "name": "RedeemFaceValue",
8661
- "type": "event"
8662
- },
8663
- {
8664
- "anonymous": false,
8665
- "inputs": [
8666
- {
8667
- "indexed": false,
8668
- "internalType": "address",
8669
- "name": "payer",
8670
- "type": "address"
8671
- },
8672
- {
8673
- "indexed": false,
8674
- "internalType": "address",
8675
- "name": "borrower",
8676
- "type": "address"
8677
- },
8678
- {
8679
- "indexed": false,
8680
- "internalType": "uint256",
8681
- "name": "repayAmount",
8682
- "type": "uint256"
8683
- },
8684
- {
8685
- "indexed": false,
8686
- "internalType": "uint256",
8687
- "name": "accountBorrows",
8688
- "type": "uint256"
8689
- },
8690
- {
8691
- "indexed": false,
8692
- "internalType": "uint256",
8693
- "name": "totalBorrows",
8694
- "type": "uint256"
8695
- }
8696
- ],
8697
- "name": "RepayBorrow",
8698
- "type": "event"
8699
- },
8700
- {
8701
- "anonymous": false,
8702
- "inputs": [
8703
- {
8704
- "indexed": false,
8705
- "internalType": "address",
8706
- "name": "benefactor",
8707
- "type": "address"
8708
- },
8709
- {
8710
- "indexed": false,
8711
- "internalType": "uint256",
8712
- "name": "addAmount",
8713
- "type": "uint256"
8714
- },
8715
- {
8716
- "indexed": false,
8717
- "internalType": "uint256",
8718
- "name": "newTotalReserves",
8719
- "type": "uint256"
8720
- }
8721
- ],
8722
- "name": "ReservesAdded",
8723
- "type": "event"
8724
- },
8725
- {
8726
- "anonymous": false,
8727
- "inputs": [
8728
- {
8729
- "indexed": false,
8730
- "internalType": "address",
8731
- "name": "admin",
8732
- "type": "address"
8733
- },
8734
- {
8735
- "indexed": false,
8736
- "internalType": "uint256",
8737
- "name": "reduceAmount",
8738
- "type": "uint256"
8739
- },
8740
- {
8741
- "indexed": false,
8742
- "internalType": "uint256",
8743
- "name": "newTotalReserves",
8744
- "type": "uint256"
8745
- }
8746
- ],
8747
- "name": "ReservesReduced",
8748
- "type": "event"
8749
- },
8750
- {
8751
- "anonymous": false,
8752
- "inputs": [
8753
- {
8754
- "indexed": true,
8755
- "internalType": "address",
8756
- "name": "from",
8757
- "type": "address"
8758
- },
8759
- {
8760
- "indexed": true,
8761
- "internalType": "address",
8762
- "name": "to",
8763
- "type": "address"
8764
- },
8765
- {
8766
- "indexed": false,
8767
- "internalType": "uint256",
8768
- "name": "amount",
8769
- "type": "uint256"
8770
- }
8771
- ],
8772
- "name": "Transfer",
8773
- "type": "event"
8774
- },
8775
- {
8776
- "inputs": [],
8777
- "name": "_acceptAdmin",
8778
- "outputs": [],
8779
- "stateMutability": "nonpayable",
8780
- "type": "function"
8781
- },
8782
- {
8783
- "inputs": [],
8784
- "name": "_addReserves",
8785
- "outputs": [],
8786
- "stateMutability": "payable",
8787
- "type": "function"
8788
- },
8789
- {
8790
- "inputs": [
8791
- {
8792
- "internalType": "uint256",
8793
- "name": "reduceAmount",
8794
- "type": "uint256"
8795
- }
8796
- ],
8797
- "name": "_reduceReserves",
8798
- "outputs": [],
8799
- "stateMutability": "nonpayable",
8800
- "type": "function"
8801
- },
8802
- {
8803
- "inputs": [
8804
- {
8805
- "internalType": "address",
8806
- "name": "newComptroller",
8807
- "type": "address"
8808
- }
8809
- ],
8810
- "name": "_setComptroller",
8811
- "outputs": [],
8812
- "stateMutability": "nonpayable",
8813
- "type": "function"
8814
- },
8815
- {
8816
- "inputs": [
8817
- {
8818
- "internalType": "uint256",
8819
- "name": "discountRateMantissa_",
8820
- "type": "uint256"
8821
- }
8822
- ],
8823
- "name": "_setDiscountRate",
8824
- "outputs": [
8825
- {
8826
- "internalType": "uint256",
8827
- "name": "",
8828
- "type": "uint256"
8829
- }
8830
- ],
8831
- "stateMutability": "nonpayable",
8832
- "type": "function"
8833
- },
8834
- {
8835
- "inputs": [
8836
- {
8837
- "internalType": "address",
8838
- "name": "newInterestRateModel",
8839
- "type": "address"
8840
- }
8841
- ],
8842
- "name": "_setInterestRateModel",
8843
- "outputs": [],
8844
- "stateMutability": "nonpayable",
8845
- "type": "function"
8846
- },
8847
- {
8848
- "inputs": [
8849
- {
8850
- "internalType": "address payable",
8851
- "name": "newPendingAdmin",
8852
- "type": "address"
8853
- }
8854
- ],
8855
- "name": "_setPendingAdmin",
8856
- "outputs": [],
8857
- "stateMutability": "nonpayable",
8858
- "type": "function"
8859
- },
8860
- {
8861
- "inputs": [
8862
- {
8863
- "internalType": "uint256",
8864
- "name": "newReserveFactorMantissa",
8865
- "type": "uint256"
8866
- }
8867
- ],
8868
- "name": "_setReserveFactor",
8869
- "outputs": [],
8870
- "stateMutability": "nonpayable",
8871
- "type": "function"
8872
- },
8873
- {
8874
- "inputs": [],
8875
- "name": "_syncUnderlyingBalance",
8876
- "outputs": [],
8877
- "stateMutability": "nonpayable",
8878
- "type": "function"
8879
- },
8880
- {
8881
- "inputs": [],
8882
- "name": "accrualBlockTimestamp",
8883
- "outputs": [
8884
- {
8885
- "internalType": "uint256",
8886
- "name": "",
8887
- "type": "uint256"
8888
- }
8889
- ],
8890
- "stateMutability": "view",
8891
- "type": "function"
8892
- },
8893
- {
8894
- "inputs": [],
8895
- "name": "accrueInterest",
8896
- "outputs": [],
8897
- "stateMutability": "nonpayable",
8898
- "type": "function"
8899
- },
8900
- {
8901
- "inputs": [],
8902
- "name": "admin",
8903
- "outputs": [
8904
- {
8905
- "internalType": "address payable",
8906
- "name": "",
8907
- "type": "address"
8908
- }
8909
- ],
8910
- "stateMutability": "view",
8911
- "type": "function"
8912
- },
8913
- {
8914
- "inputs": [
8915
- {
8916
- "internalType": "address",
8917
- "name": "owner",
8918
- "type": "address"
8919
- },
8920
- {
8921
- "internalType": "address",
8922
- "name": "spender",
8923
- "type": "address"
8924
- }
8925
- ],
8926
- "name": "allowance",
8927
- "outputs": [
8928
- {
8929
- "internalType": "uint256",
8930
- "name": "",
8931
- "type": "uint256"
8932
- }
8933
- ],
8934
- "stateMutability": "view",
8935
- "type": "function"
8936
- },
8937
- {
8938
- "inputs": [
8939
- {
8940
- "internalType": "address",
8941
- "name": "spender",
8942
- "type": "address"
8943
- },
8944
- {
8945
- "internalType": "uint256",
8946
- "name": "amount",
8947
- "type": "uint256"
8948
- }
8949
- ],
8950
- "name": "approve",
8951
- "outputs": [
8952
- {
8953
- "internalType": "bool",
8954
- "name": "",
8955
- "type": "bool"
8956
- }
8957
- ],
8958
- "stateMutability": "nonpayable",
8959
- "type": "function"
8960
- },
8961
- {
8962
- "inputs": [
8963
- {
8964
- "internalType": "address",
8965
- "name": "owner",
8966
- "type": "address"
8967
- }
8968
- ],
8969
- "name": "balanceOf",
8970
- "outputs": [
8971
- {
8972
- "internalType": "uint256",
8973
- "name": "",
8974
- "type": "uint256"
8975
- }
8976
- ],
8977
- "stateMutability": "view",
8978
- "type": "function"
8979
- },
8980
- {
8981
- "inputs": [
8982
- {
8983
- "internalType": "address",
8984
- "name": "owner",
8985
- "type": "address"
8986
- }
8987
- ],
8988
- "name": "balanceOfUnderlying",
8989
- "outputs": [
8990
- {
8991
- "internalType": "uint256",
8992
- "name": "",
8993
- "type": "uint256"
8994
- }
8995
- ],
8996
- "stateMutability": "nonpayable",
8997
- "type": "function"
8998
- },
8999
- {
9000
- "inputs": [
9001
- {
9002
- "internalType": "uint256",
9003
- "name": "borrowAmount",
9004
- "type": "uint256"
9005
- }
9006
- ],
9007
- "name": "borrow",
9008
- "outputs": [],
9009
- "stateMutability": "nonpayable",
9010
- "type": "function"
9011
- },
9012
- {
9013
- "inputs": [
9014
- {
9015
- "internalType": "address",
9016
- "name": "borrower",
9017
- "type": "address"
9018
- },
9019
- {
9020
- "internalType": "uint256",
9021
- "name": "borrowAmount",
9022
- "type": "uint256"
9023
- }
9024
- ],
9025
- "name": "borrowAndDepositBack",
9026
- "outputs": [],
9027
- "stateMutability": "nonpayable",
9028
- "type": "function"
9029
- },
9030
- {
9031
- "inputs": [
9032
- {
9033
- "internalType": "address",
9034
- "name": "account",
9035
- "type": "address"
9036
- }
9037
- ],
9038
- "name": "borrowBalanceCurrent",
9039
- "outputs": [
9040
- {
9041
- "internalType": "uint256",
9042
- "name": "",
9043
- "type": "uint256"
9044
- }
9045
- ],
9046
- "stateMutability": "nonpayable",
9047
- "type": "function"
9048
- },
9049
- {
9050
- "inputs": [
9051
- {
9052
- "internalType": "address",
9053
- "name": "account",
9054
- "type": "address"
9055
- }
9056
- ],
9057
- "name": "borrowBalanceStored",
9058
- "outputs": [
9059
- {
9060
- "internalType": "uint256",
9061
- "name": "",
9062
- "type": "uint256"
9063
- }
9064
- ],
9065
- "stateMutability": "view",
9066
- "type": "function"
9067
- },
9068
- {
9069
- "inputs": [],
9070
- "name": "borrowIndex",
9071
- "outputs": [
9072
- {
9073
- "internalType": "uint256",
9074
- "name": "",
9075
- "type": "uint256"
9076
- }
9077
- ],
9078
- "stateMutability": "view",
9079
- "type": "function"
9080
- },
9081
- {
9082
- "inputs": [],
9083
- "name": "borrowRatePerBlock",
9084
- "outputs": [
9085
- {
9086
- "internalType": "uint256",
9087
- "name": "",
9088
- "type": "uint256"
9089
- }
9090
- ],
9091
- "stateMutability": "view",
9092
- "type": "function"
9093
- },
9094
- {
9095
- "inputs": [],
9096
- "name": "comptroller",
9097
- "outputs": [
9098
- {
9099
- "internalType": "address",
9100
- "name": "",
9101
- "type": "address"
9102
- }
9103
- ],
9104
- "stateMutability": "view",
9105
- "type": "function"
9106
- },
9107
- {
9108
- "inputs": [],
9109
- "name": "decimals",
9110
- "outputs": [
9111
- {
9112
- "internalType": "uint8",
9113
- "name": "",
9114
- "type": "uint8"
9115
- }
9116
- ],
9117
- "stateMutability": "view",
9118
- "type": "function"
9119
- },
9120
- {
9121
- "inputs": [],
9122
- "name": "discountRateMantissa",
9123
- "outputs": [
9124
- {
9125
- "internalType": "uint256",
9126
- "name": "",
9127
- "type": "uint256"
9128
- }
9129
- ],
9130
- "stateMutability": "view",
9131
- "type": "function"
9132
- },
9133
- {
9134
- "inputs": [],
9135
- "name": "exchangeRateCurrent",
9136
- "outputs": [
9137
- {
9138
- "internalType": "uint256",
9139
- "name": "",
9140
- "type": "uint256"
9141
- }
9142
- ],
9143
- "stateMutability": "nonpayable",
9144
- "type": "function"
9145
- },
9146
- {
9147
- "inputs": [],
9148
- "name": "exchangeRateStored",
9149
- "outputs": [
9150
- {
9151
- "internalType": "uint256",
9152
- "name": "",
9153
- "type": "uint256"
9154
- }
9155
- ],
9156
- "stateMutability": "view",
9157
- "type": "function"
9158
- },
9159
- {
9160
- "inputs": [
9161
- {
9162
- "internalType": "address",
9163
- "name": "account",
9164
- "type": "address"
9165
- }
9166
- ],
9167
- "name": "getAccountSnapshot",
9168
- "outputs": [
9169
- {
9170
- "internalType": "uint256",
9171
- "name": "",
9172
- "type": "uint256"
9173
- },
9174
- {
9175
- "internalType": "uint256",
9176
- "name": "",
9177
- "type": "uint256"
9178
- },
9179
- {
9180
- "internalType": "uint256",
9181
- "name": "",
9182
- "type": "uint256"
9183
- },
9184
- {
9185
- "internalType": "uint256",
9186
- "name": "",
9187
- "type": "uint256"
9188
- }
9189
- ],
9190
- "stateMutability": "view",
9191
- "type": "function"
9192
- },
9193
- {
9194
- "inputs": [],
9195
- "name": "getCash",
9196
- "outputs": [
9197
- {
9198
- "internalType": "uint256",
9199
- "name": "",
9200
- "type": "uint256"
9201
- }
9202
- ],
9203
- "stateMutability": "view",
9204
- "type": "function"
9205
- },
9206
- {
9207
- "inputs": [
9208
- {
9209
- "internalType": "address",
9210
- "name": "comptroller_",
9211
- "type": "address"
9212
- },
9213
- {
9214
- "internalType": "address",
9215
- "name": "interestRateModel_",
9216
- "type": "address"
9217
- },
9218
- {
9219
- "internalType": "uint256",
9220
- "name": "initialExchangeRateMantissa_",
9221
- "type": "uint256"
9222
- },
9223
- {
9224
- "internalType": "string",
9225
- "name": "name_",
9226
- "type": "string"
9227
- },
9228
- {
9229
- "internalType": "string",
9230
- "name": "symbol_",
9231
- "type": "string"
9232
- },
9233
- {
9234
- "internalType": "uint8",
9235
- "name": "decimals_",
9236
- "type": "uint8"
9237
- },
9238
- {
9239
- "internalType": "address payable",
9240
- "name": "admin_",
9241
- "type": "address"
9242
- }
9243
- ],
9244
- "name": "initialize",
9245
- "outputs": [],
9246
- "stateMutability": "nonpayable",
9247
- "type": "function"
9248
- },
9249
- {
9250
- "inputs": [],
9251
- "name": "initializeVersion2",
9252
- "outputs": [],
9253
- "stateMutability": "nonpayable",
9254
- "type": "function"
9255
- },
9256
- {
9257
- "inputs": [],
9258
- "name": "interestRateModel",
9259
- "outputs": [
9260
- {
9261
- "internalType": "address",
9262
- "name": "",
9263
- "type": "address"
9264
- }
9265
- ],
9266
- "stateMutability": "view",
9267
- "type": "function"
9268
- },
9269
- {
9270
- "inputs": [],
9271
- "name": "isCEther",
9272
- "outputs": [
9273
- {
9274
- "internalType": "bool",
9275
- "name": "",
9276
- "type": "bool"
9277
- }
9278
- ],
9279
- "stateMutability": "pure",
9280
- "type": "function"
9281
- },
9282
- {
9283
- "inputs": [],
9284
- "name": "isCEtherDeprecated",
9285
- "outputs": [
9286
- {
9287
- "internalType": "bool",
9288
- "name": "",
9289
- "type": "bool"
9290
- }
9291
- ],
9292
- "stateMutability": "view",
9293
- "type": "function"
9294
- },
9295
- {
9296
- "inputs": [],
9297
- "name": "isCToken",
9298
- "outputs": [
9299
- {
9300
- "internalType": "bool",
9301
- "name": "",
9302
- "type": "bool"
9303
- }
9304
- ],
9305
- "stateMutability": "pure",
9306
- "type": "function"
9307
- },
9308
- {
9309
- "inputs": [],
9310
- "name": "isCTokenDeprecated",
9311
- "outputs": [
9312
- {
9313
- "internalType": "bool",
9314
- "name": "",
9315
- "type": "bool"
9316
- }
9317
- ],
9318
- "stateMutability": "view",
9319
- "type": "function"
9320
- },
9321
- {
9322
- "inputs": [
9323
- {
9324
- "internalType": "address",
9325
- "name": "borrower",
9326
- "type": "address"
9327
- },
9328
- {
9329
- "internalType": "address",
9330
- "name": "cTokenCollateral",
9331
- "type": "address"
9332
- }
9333
- ],
9334
- "name": "liquidateBorrow",
9335
- "outputs": [],
9336
- "stateMutability": "payable",
9337
- "type": "function"
9338
- },
9339
- {
9340
- "inputs": [
9341
- {
9342
- "internalType": "address",
9343
- "name": "cTokenCollateral",
9344
- "type": "address"
9345
- },
9346
- {
9347
- "internalType": "uint256",
9348
- "name": "actualRepayAmount",
9349
- "type": "uint256"
9350
- }
9351
- ],
9352
- "name": "liquidateCalculateSeizeTokens",
9353
- "outputs": [
9354
- {
9355
- "internalType": "uint256",
9356
- "name": "",
9357
- "type": "uint256"
9358
- },
9359
- {
9360
- "internalType": "uint256",
9361
- "name": "",
9362
- "type": "uint256"
9363
- }
9364
- ],
9365
- "stateMutability": "view",
9366
- "type": "function"
9367
- },
9368
- {
9369
- "inputs": [],
9370
- "name": "mint",
9371
- "outputs": [],
9372
- "stateMutability": "payable",
9373
- "type": "function"
9374
- },
9375
- {
9376
- "inputs": [],
9377
- "name": "name",
9378
- "outputs": [
9379
- {
9380
- "internalType": "string",
9381
- "name": "",
9382
- "type": "string"
9383
- }
9384
- ],
9385
- "stateMutability": "view",
9386
- "type": "function"
9387
- },
9388
- {
9389
- "inputs": [],
9390
- "name": "pendingAdmin",
9391
- "outputs": [
9392
- {
9393
- "internalType": "address payable",
9394
- "name": "",
9395
- "type": "address"
9396
- }
9397
- ],
9398
- "stateMutability": "view",
9399
- "type": "function"
9400
- },
9401
- {
9402
- "inputs": [],
9403
- "name": "percentScale",
9404
- "outputs": [
9405
- {
9406
- "internalType": "uint256",
9407
- "name": "",
9408
- "type": "uint256"
9409
- }
9410
- ],
9411
- "stateMutability": "view",
9412
- "type": "function"
9413
- },
9414
- {
9415
- "inputs": [],
9416
- "name": "protocolSeizeShareMantissa",
9417
- "outputs": [
9418
- {
9419
- "internalType": "uint256",
9420
- "name": "",
9421
- "type": "uint256"
9422
- }
9423
- ],
9424
- "stateMutability": "view",
9425
- "type": "function"
9426
- },
9427
- {
9428
- "inputs": [
9429
- {
9430
- "internalType": "uint256",
9431
- "name": "redeemTokens",
9432
- "type": "uint256"
9433
- }
9434
- ],
9435
- "name": "redeem",
9436
- "outputs": [],
9437
- "stateMutability": "nonpayable",
9438
- "type": "function"
9439
- },
9440
- {
9441
- "inputs": [
9442
- {
9443
- "internalType": "uint256",
9444
- "name": "redeemAmount",
9445
- "type": "uint256"
9446
- }
9447
- ],
9448
- "name": "redeemUnderlying",
9449
- "outputs": [],
9450
- "stateMutability": "nonpayable",
9451
- "type": "function"
9452
- },
9453
- {
9454
- "inputs": [],
9455
- "name": "repayBorrow",
9456
- "outputs": [],
9457
- "stateMutability": "payable",
9458
- "type": "function"
9459
- },
9460
- {
9461
- "inputs": [
9462
- {
9463
- "internalType": "address",
9464
- "name": "borrower",
9465
- "type": "address"
9466
- }
9467
- ],
9468
- "name": "repayBorrowBehalf",
9469
- "outputs": [],
9470
- "stateMutability": "payable",
9471
- "type": "function"
9472
- },
9473
- {
9474
- "inputs": [],
9475
- "name": "reserveFactorMantissa",
9476
- "outputs": [
9477
- {
9478
- "internalType": "uint256",
9479
- "name": "",
9480
- "type": "uint256"
9481
- }
9482
- ],
9483
- "stateMutability": "view",
9484
- "type": "function"
9485
- },
9486
- {
9487
- "inputs": [
9488
- {
9489
- "internalType": "address",
9490
- "name": "liquidator",
9491
- "type": "address"
9492
- },
9493
- {
9494
- "internalType": "address",
9495
- "name": "borrower",
9496
- "type": "address"
9497
- },
9498
- {
9499
- "internalType": "uint256",
9500
- "name": "seizeTokens",
9501
- "type": "uint256"
9502
- },
9503
- {
9504
- "internalType": "uint256",
9505
- "name": "seizeProfitTokens",
9506
- "type": "uint256"
9507
- },
9508
- {
9509
- "internalType": "bool",
9510
- "name": "isRedemption",
9511
- "type": "bool"
9512
- },
9513
- {
9514
- "internalType": "uint256",
9515
- "name": "redemptionRateMantissa",
9516
- "type": "uint256"
9517
- }
9518
- ],
9519
- "name": "seize",
9520
- "outputs": [],
9521
- "stateMutability": "nonpayable",
9522
- "type": "function"
9523
- },
9524
- {
9525
- "inputs": [],
9526
- "name": "supplyRatePerBlock",
9527
- "outputs": [
9528
- {
9529
- "internalType": "uint256",
9530
- "name": "",
9531
- "type": "uint256"
9532
- }
9533
- ],
9534
- "stateMutability": "view",
9535
- "type": "function"
9536
- },
9537
- {
9538
- "inputs": [],
9539
- "name": "symbol",
9540
- "outputs": [
9541
- {
9542
- "internalType": "string",
9543
- "name": "",
9544
- "type": "string"
9545
- }
9546
- ],
9547
- "stateMutability": "view",
9548
- "type": "function"
9549
- },
9550
- {
9551
- "inputs": [],
9552
- "name": "tokenType",
9553
- "outputs": [
9554
- {
9555
- "internalType": "enum CToken.CTokenType",
9556
- "name": "",
9557
- "type": "uint8"
9558
- }
9559
- ],
9560
- "stateMutability": "pure",
9561
- "type": "function"
9562
- },
9563
- {
9564
- "inputs": [],
9565
- "name": "totalBorrows",
9566
- "outputs": [
9567
- {
9568
- "internalType": "uint256",
9569
- "name": "",
9570
- "type": "uint256"
9571
- }
9572
- ],
9573
- "stateMutability": "view",
9574
- "type": "function"
9575
- },
9576
- {
9577
- "inputs": [],
9578
- "name": "totalBorrowsCurrent",
9579
- "outputs": [
9580
- {
9581
- "internalType": "uint256",
9582
- "name": "",
9583
- "type": "uint256"
9584
- }
9585
- ],
9586
- "stateMutability": "nonpayable",
9587
- "type": "function"
9588
- },
9589
- {
9590
- "inputs": [],
9591
- "name": "totalReserves",
9592
- "outputs": [
9593
- {
9594
- "internalType": "uint256",
9595
- "name": "",
9596
- "type": "uint256"
9597
- }
9598
- ],
9599
- "stateMutability": "view",
9600
- "type": "function"
9601
- },
9602
- {
9603
- "inputs": [],
9604
- "name": "totalSupply",
9605
- "outputs": [
9606
- {
9607
- "internalType": "uint256",
9608
- "name": "",
9609
- "type": "uint256"
9610
- }
9611
- ],
9612
- "stateMutability": "view",
9613
- "type": "function"
9614
- },
9615
- {
9616
- "inputs": [
9617
- {
9618
- "internalType": "address",
9619
- "name": "dst",
9620
- "type": "address"
9621
- },
9622
- {
9623
- "internalType": "uint256",
9624
- "name": "amount",
9625
- "type": "uint256"
9626
- }
9627
- ],
9628
- "name": "transfer",
9629
- "outputs": [
9630
- {
9631
- "internalType": "bool",
9632
- "name": "",
9633
- "type": "bool"
9634
- }
9635
- ],
9636
- "stateMutability": "nonpayable",
9637
- "type": "function"
9638
- },
9639
- {
9640
- "inputs": [
9641
- {
9642
- "internalType": "address",
9643
- "name": "src",
9644
- "type": "address"
9645
- },
9646
- {
9647
- "internalType": "address",
9648
- "name": "dst",
9649
- "type": "address"
9650
- },
9651
- {
9652
- "internalType": "uint256",
9653
- "name": "amount",
9654
- "type": "uint256"
9655
- }
9656
- ],
9657
- "name": "transferFrom",
9658
- "outputs": [
9659
- {
9660
- "internalType": "bool",
9661
- "name": "",
9662
- "type": "bool"
9663
- }
9664
- ],
9665
- "stateMutability": "nonpayable",
9666
- "type": "function"
9667
- },
9668
- {
9669
- "inputs": [],
9670
- "name": "underlying",
9671
- "outputs": [
9672
- {
9673
- "internalType": "address",
9674
- "name": "",
9675
- "type": "address"
9676
- }
9677
- ],
9678
- "stateMutability": "view",
9679
- "type": "function"
9680
- },
9681
- {
9682
- "inputs": [],
9683
- "name": "underlyingBalance",
9684
- "outputs": [
9685
- {
9686
- "internalType": "uint256",
9687
- "name": "",
9688
- "type": "uint256"
9689
- }
9690
- ],
9691
- "stateMutability": "view",
9692
- "type": "function"
9693
- },
9694
- {
9695
- "stateMutability": "payable",
9696
- "type": "receive"
9697
- }
9698
- ],
9699
- "CToken": [
7341
+ "CToken": [
9700
7342
  {
9701
7343
  "inputs": [],
9702
7344
  "name": "AddReservesMarketNotFresh",
@@ -37412,77 +35054,6 @@ exports.abi = {
37412
35054
  "type": "function"
37413
35055
  }
37414
35056
  ],
37415
- "IAprMon": [
37416
- {
37417
- "inputs": [
37418
- {
37419
- "internalType": "uint256",
37420
- "name": "shares",
37421
- "type": "uint256"
37422
- }
37423
- ],
37424
- "name": "convertToAssets",
37425
- "outputs": [
37426
- {
37427
- "internalType": "uint256",
37428
- "name": "",
37429
- "type": "uint256"
37430
- }
37431
- ],
37432
- "stateMutability": "view",
37433
- "type": "function"
37434
- },
37435
- {
37436
- "inputs": [
37437
- {
37438
- "internalType": "uint256",
37439
- "name": "amount",
37440
- "type": "uint256"
37441
- }
37442
- ],
37443
- "name": "convertToShares",
37444
- "outputs": [
37445
- {
37446
- "internalType": "uint256",
37447
- "name": "",
37448
- "type": "uint256"
37449
- }
37450
- ],
37451
- "stateMutability": "view",
37452
- "type": "function"
37453
- }
37454
- ],
37455
- "aprMONAdapter": [
37456
- {
37457
- "inputs": [
37458
- {
37459
- "internalType": "address",
37460
- "name": "_correlatedToken",
37461
- "type": "address"
37462
- },
37463
- {
37464
- "internalType": "address",
37465
- "name": "_underlyingToken",
37466
- "type": "address"
37467
- }
37468
- ],
37469
- "stateMutability": "nonpayable",
37470
- "type": "constructor"
37471
- },
37472
- {
37473
- "inputs": [],
37474
- "name": "exchangeRate",
37475
- "outputs": [
37476
- {
37477
- "internalType": "uint256",
37478
- "name": "",
37479
- "type": "uint256"
37480
- }
37481
- ],
37482
- "stateMutability": "view",
37483
- "type": "function"
37484
- }
37485
- ],
37486
35057
  "IDualCore": [
37487
35058
  {
37488
35059
  "inputs": [