@meterio/sumer-js 0.2.130 → 0.2.131

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 (142) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +180 -0
  3. package/dist/nodejs/abi.js +3155 -50
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/arbitrum.js +0 -11
  6. package/dist/nodejs/constants/arbitrum.js.map +1 -1
  7. package/dist/nodejs/constants/b2main.js +0 -11
  8. package/dist/nodejs/constants/b2main.js.map +1 -1
  9. package/dist/nodejs/constants/basemain.js +0 -11
  10. package/dist/nodejs/constants/basemain.js.map +1 -1
  11. package/dist/nodejs/constants/basetest.js +0 -11
  12. package/dist/nodejs/constants/basetest.js.map +1 -1
  13. package/dist/nodejs/constants/berabartio.js +0 -11
  14. package/dist/nodejs/constants/berabartio.js.map +1 -1
  15. package/dist/nodejs/constants/beramain.js +0 -11
  16. package/dist/nodejs/constants/beramain.js.map +1 -1
  17. package/dist/nodejs/constants/bsc.js +0 -11
  18. package/dist/nodejs/constants/bsc.js.map +1 -1
  19. package/dist/nodejs/constants/core.js +0 -11
  20. package/dist/nodejs/constants/core.js.map +1 -1
  21. package/dist/nodejs/constants/ethereum.js +0 -11
  22. package/dist/nodejs/constants/ethereum.js.map +1 -1
  23. package/dist/nodejs/constants/hemi.js +0 -11
  24. package/dist/nodejs/constants/hemi.js.map +1 -1
  25. package/dist/nodejs/constants/metertest.js +0 -11
  26. package/dist/nodejs/constants/metertest.js.map +1 -1
  27. package/dist/nodejs/constants/monadtest.d.ts +3 -0
  28. package/dist/nodejs/constants/monadtest.js +17 -13
  29. package/dist/nodejs/constants/monadtest.js.map +1 -1
  30. package/dist/nodejs/constants/sepolia.d.ts +17 -2
  31. package/dist/nodejs/constants/sepolia.js +35 -31
  32. package/dist/nodejs/constants/sepolia.js.map +1 -1
  33. package/dist/nodejs/constants/zklink.js +0 -11
  34. package/dist/nodejs/constants/zklink.js.map +1 -1
  35. package/dist/nodejs/errorABIs.js +522 -0
  36. package/dist/nodejs/errorABIs.js.map +1 -1
  37. package/dist/nodejs/index.d.ts +180 -0
  38. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/index.d.ts +2 -0
  39. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/CAavePool.d.ts +1060 -0
  40. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/CAavePool.js +3 -0
  41. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/CAavePool.js.map +1 -0
  42. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.d.ts +37 -0
  43. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.js +3 -0
  44. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.js.map +1 -0
  45. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.d.ts +133 -0
  46. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.js +3 -0
  47. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.js.map +1 -0
  48. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.d.ts +3 -0
  49. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.js +3 -0
  50. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.js.map +1 -0
  51. package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +17 -1
  52. package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +17 -1
  53. package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +17 -1
  54. package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +5 -1
  55. package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +17 -1
  56. package/dist/nodejs/typechain/contracts/CToken/index.d.ts +2 -0
  57. package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.d.ts +17 -1
  58. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool.d.ts +133 -0
  59. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool.js +3 -0
  60. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool.js.map +1 -0
  61. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave.d.ts +196 -0
  62. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave.js +3 -0
  63. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave.js.map +1 -0
  64. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/index.d.ts +2 -0
  65. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/index.js +3 -0
  66. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/index.js.map +1 -0
  67. package/dist/nodejs/typechain/contracts/InterestRateModel/index.d.ts +2 -0
  68. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.d.ts +25 -0
  69. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.js +3 -0
  70. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.js.map +1 -0
  71. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.d.ts +37 -0
  72. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.js +3 -0
  73. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.js.map +1 -0
  74. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/index.d.ts +2 -0
  75. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/index.js +3 -0
  76. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/index.js.map +1 -0
  77. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +2 -0
  78. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.d.ts +2 -0
  79. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js +5 -1
  80. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js.map +1 -1
  81. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.d.ts +1733 -0
  82. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.js +2223 -0
  83. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.js.map +1 -0
  84. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.d.ts +55 -0
  85. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.js +84 -0
  86. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.js.map +1 -0
  87. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.d.ts +145 -0
  88. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.js +199 -0
  89. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.js.map +1 -0
  90. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.d.ts +3 -0
  91. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.js +13 -0
  92. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.js.map +1 -0
  93. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +35 -1
  94. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +46 -1
  95. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  96. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +35 -1
  97. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +46 -1
  98. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  99. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +14 -0
  100. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +19 -0
  101. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
  102. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +34 -0
  103. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +45 -0
  104. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
  105. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +35 -1
  106. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +46 -1
  107. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  108. package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +1 -0
  109. package/dist/nodejs/typechain/factories/contracts/CToken/index.js +25 -1
  110. package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -1
  111. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +35 -1
  112. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +46 -1
  113. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js.map +1 -1
  114. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool__factory.d.ts +145 -0
  115. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool__factory.js +199 -0
  116. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool__factory.js.map +1 -0
  117. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave__factory.d.ts +299 -0
  118. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave__factory.js +396 -0
  119. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave__factory.js.map +1 -0
  120. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/index.d.ts +2 -0
  121. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/index.js +11 -0
  122. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/index.js.map +1 -0
  123. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.d.ts +1 -0
  124. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js +25 -1
  125. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js.map +1 -1
  126. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.d.ts +44 -0
  127. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.js +69 -0
  128. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.js.map +1 -0
  129. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/IAprMon__factory.d.ts +35 -0
  130. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/IAprMon__factory.js +58 -0
  131. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/IAprMon__factory.js.map +1 -0
  132. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.d.ts +2 -0
  133. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.js +11 -0
  134. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.js.map +1 -0
  135. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +1 -0
  136. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +2 -1
  137. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  138. package/dist/nodejs/typechain/hardhat.d.ts +162 -0
  139. package/dist/nodejs/typechain/index.d.ts +16 -0
  140. package/dist/nodejs/typechain/index.js +19 -3
  141. package/dist/nodejs/typechain/index.js.map +1 -1
  142. package/package.json +1 -1
@@ -3441,7 +3441,7 @@ exports.abi = {
3441
3441
  "type": "receive"
3442
3442
  }
3443
3443
  ],
3444
- "CErc20": [
3444
+ "CAavePool": [
3445
3445
  {
3446
3446
  "inputs": [],
3447
3447
  "stateMutability": "nonpayable",
@@ -4000,6 +4000,37 @@ 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
+ },
4003
4034
  {
4004
4035
  "anonymous": false,
4005
4036
  "inputs": [
@@ -4400,6 +4431,37 @@ exports.abi = {
4400
4431
  "name": "ReservesReduced",
4401
4432
  "type": "event"
4402
4433
  },
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
+ },
4403
4465
  {
4404
4466
  "anonymous": false,
4405
4467
  "inputs": [
@@ -4815,6 +4877,29 @@ exports.abi = {
4815
4877
  "stateMutability": "view",
4816
4878
  "type": "function"
4817
4879
  },
4880
+ {
4881
+ "inputs": [],
4882
+ "name": "getAaveAPRs",
4883
+ "outputs": [
4884
+ {
4885
+ "internalType": "uint256",
4886
+ "name": "depositAPR",
4887
+ "type": "uint256"
4888
+ },
4889
+ {
4890
+ "internalType": "uint256",
4891
+ "name": "variableBorrowAPR",
4892
+ "type": "uint256"
4893
+ },
4894
+ {
4895
+ "internalType": "uint256",
4896
+ "name": "stableBorrowAPR",
4897
+ "type": "uint256"
4898
+ }
4899
+ ],
4900
+ "stateMutability": "view",
4901
+ "type": "function"
4902
+ },
4818
4903
  {
4819
4904
  "inputs": [
4820
4905
  {
@@ -4910,6 +4995,59 @@ exports.abi = {
4910
4995
  "stateMutability": "nonpayable",
4911
4996
  "type": "function"
4912
4997
  },
4998
+ {
4999
+ "inputs": [
5000
+ {
5001
+ "internalType": "address",
5002
+ "name": "underlying_",
5003
+ "type": "address"
5004
+ },
5005
+ {
5006
+ "internalType": "address",
5007
+ "name": "comptroller_",
5008
+ "type": "address"
5009
+ },
5010
+ {
5011
+ "internalType": "address",
5012
+ "name": "interestRateModel_",
5013
+ "type": "address"
5014
+ },
5015
+ {
5016
+ "internalType": "uint256",
5017
+ "name": "initialExchangeRateMantissa_",
5018
+ "type": "uint256"
5019
+ },
5020
+ {
5021
+ "internalType": "string",
5022
+ "name": "name_",
5023
+ "type": "string"
5024
+ },
5025
+ {
5026
+ "internalType": "string",
5027
+ "name": "symbol_",
5028
+ "type": "string"
5029
+ },
5030
+ {
5031
+ "internalType": "uint8",
5032
+ "name": "decimals_",
5033
+ "type": "uint8"
5034
+ },
5035
+ {
5036
+ "internalType": "address payable",
5037
+ "name": "admin_",
5038
+ "type": "address"
5039
+ },
5040
+ {
5041
+ "internalType": "address",
5042
+ "name": "aaveV3Pool_",
5043
+ "type": "address"
5044
+ }
5045
+ ],
5046
+ "name": "initialize",
5047
+ "outputs": [],
5048
+ "stateMutability": "nonpayable",
5049
+ "type": "function"
5050
+ },
4913
5051
  {
4914
5052
  "inputs": [],
4915
5053
  "name": "interestRateModel",
@@ -5208,6 +5346,32 @@ exports.abi = {
5208
5346
  "stateMutability": "view",
5209
5347
  "type": "function"
5210
5348
  },
5349
+ {
5350
+ "inputs": [
5351
+ {
5352
+ "internalType": "address",
5353
+ "name": "addr",
5354
+ "type": "address"
5355
+ }
5356
+ ],
5357
+ "name": "revokeWhitelist",
5358
+ "outputs": [],
5359
+ "stateMutability": "nonpayable",
5360
+ "type": "function"
5361
+ },
5362
+ {
5363
+ "inputs": [],
5364
+ "name": "scaledBalance",
5365
+ "outputs": [
5366
+ {
5367
+ "internalType": "uint256",
5368
+ "name": "",
5369
+ "type": "uint256"
5370
+ }
5371
+ ],
5372
+ "stateMutability": "view",
5373
+ "type": "function"
5374
+ },
5211
5375
  {
5212
5376
  "inputs": [
5213
5377
  {
@@ -5428,9 +5592,288 @@ exports.abi = {
5428
5592
  ],
5429
5593
  "stateMutability": "view",
5430
5594
  "type": "function"
5595
+ },
5596
+ {
5597
+ "inputs": [
5598
+ {
5599
+ "internalType": "address",
5600
+ "name": "addr",
5601
+ "type": "address"
5602
+ }
5603
+ ],
5604
+ "name": "whitelist",
5605
+ "outputs": [],
5606
+ "stateMutability": "nonpayable",
5607
+ "type": "function"
5608
+ },
5609
+ {
5610
+ "inputs": [
5611
+ {
5612
+ "internalType": "address",
5613
+ "name": "",
5614
+ "type": "address"
5615
+ }
5616
+ ],
5617
+ "name": "whitelisted",
5618
+ "outputs": [
5619
+ {
5620
+ "internalType": "bool",
5621
+ "name": "",
5622
+ "type": "bool"
5623
+ }
5624
+ ],
5625
+ "stateMutability": "view",
5626
+ "type": "function"
5431
5627
  }
5432
5628
  ],
5433
- "CEther": [
5629
+ "IAToken": [
5630
+ {
5631
+ "inputs": [
5632
+ {
5633
+ "internalType": "address",
5634
+ "name": "user",
5635
+ "type": "address"
5636
+ }
5637
+ ],
5638
+ "name": "balanceOf",
5639
+ "outputs": [
5640
+ {
5641
+ "internalType": "uint256",
5642
+ "name": "",
5643
+ "type": "uint256"
5644
+ }
5645
+ ],
5646
+ "stateMutability": "view",
5647
+ "type": "function"
5648
+ },
5649
+ {
5650
+ "inputs": [
5651
+ {
5652
+ "internalType": "address",
5653
+ "name": "user",
5654
+ "type": "address"
5655
+ }
5656
+ ],
5657
+ "name": "scaledBalanceOf",
5658
+ "outputs": [
5659
+ {
5660
+ "internalType": "uint256",
5661
+ "name": "",
5662
+ "type": "uint256"
5663
+ }
5664
+ ],
5665
+ "stateMutability": "view",
5666
+ "type": "function"
5667
+ },
5668
+ {
5669
+ "inputs": [],
5670
+ "name": "scaledTotalSupply",
5671
+ "outputs": [
5672
+ {
5673
+ "internalType": "uint256",
5674
+ "name": "",
5675
+ "type": "uint256"
5676
+ }
5677
+ ],
5678
+ "stateMutability": "view",
5679
+ "type": "function"
5680
+ },
5681
+ {
5682
+ "inputs": [],
5683
+ "name": "totalSupply",
5684
+ "outputs": [
5685
+ {
5686
+ "internalType": "uint256",
5687
+ "name": "",
5688
+ "type": "uint256"
5689
+ }
5690
+ ],
5691
+ "stateMutability": "view",
5692
+ "type": "function"
5693
+ }
5694
+ ],
5695
+ "IAaveV3Pool": [
5696
+ {
5697
+ "inputs": [
5698
+ {
5699
+ "internalType": "address",
5700
+ "name": "asset",
5701
+ "type": "address"
5702
+ }
5703
+ ],
5704
+ "name": "getReserveData",
5705
+ "outputs": [
5706
+ {
5707
+ "components": [
5708
+ {
5709
+ "components": [
5710
+ {
5711
+ "internalType": "uint256",
5712
+ "name": "data",
5713
+ "type": "uint256"
5714
+ }
5715
+ ],
5716
+ "internalType": "struct IAaveV3Pool.ReserveConfigurationMap",
5717
+ "name": "configuration",
5718
+ "type": "tuple"
5719
+ },
5720
+ {
5721
+ "internalType": "uint128",
5722
+ "name": "liquidityIndex",
5723
+ "type": "uint128"
5724
+ },
5725
+ {
5726
+ "internalType": "uint128",
5727
+ "name": "currentLiquidityRate",
5728
+ "type": "uint128"
5729
+ },
5730
+ {
5731
+ "internalType": "uint128",
5732
+ "name": "variableBorrowIndex",
5733
+ "type": "uint128"
5734
+ },
5735
+ {
5736
+ "internalType": "uint128",
5737
+ "name": "currentVariableBorrowRate",
5738
+ "type": "uint128"
5739
+ },
5740
+ {
5741
+ "internalType": "uint128",
5742
+ "name": "currentStableBorrowRate",
5743
+ "type": "uint128"
5744
+ },
5745
+ {
5746
+ "internalType": "uint40",
5747
+ "name": "lastUpdateTimestamp",
5748
+ "type": "uint40"
5749
+ },
5750
+ {
5751
+ "internalType": "uint16",
5752
+ "name": "id",
5753
+ "type": "uint16"
5754
+ },
5755
+ {
5756
+ "internalType": "address",
5757
+ "name": "aTokenAddress",
5758
+ "type": "address"
5759
+ },
5760
+ {
5761
+ "internalType": "address",
5762
+ "name": "stableDebtTokenAddress",
5763
+ "type": "address"
5764
+ },
5765
+ {
5766
+ "internalType": "address",
5767
+ "name": "variableDebtTokenAddress",
5768
+ "type": "address"
5769
+ },
5770
+ {
5771
+ "internalType": "address",
5772
+ "name": "interestRateStrategyAddress",
5773
+ "type": "address"
5774
+ },
5775
+ {
5776
+ "internalType": "uint128",
5777
+ "name": "accruedToTreasury",
5778
+ "type": "uint128"
5779
+ },
5780
+ {
5781
+ "internalType": "uint128",
5782
+ "name": "unbacked",
5783
+ "type": "uint128"
5784
+ },
5785
+ {
5786
+ "internalType": "uint128",
5787
+ "name": "isolationModeTotalDebt",
5788
+ "type": "uint128"
5789
+ }
5790
+ ],
5791
+ "internalType": "struct IAaveV3Pool.ReserveData",
5792
+ "name": "",
5793
+ "type": "tuple"
5794
+ }
5795
+ ],
5796
+ "stateMutability": "view",
5797
+ "type": "function"
5798
+ },
5799
+ {
5800
+ "inputs": [
5801
+ {
5802
+ "internalType": "address",
5803
+ "name": "underlyingAsset",
5804
+ "type": "address"
5805
+ }
5806
+ ],
5807
+ "name": "getReserveNormalizedIncome",
5808
+ "outputs": [
5809
+ {
5810
+ "internalType": "uint256",
5811
+ "name": "",
5812
+ "type": "uint256"
5813
+ }
5814
+ ],
5815
+ "stateMutability": "view",
5816
+ "type": "function"
5817
+ },
5818
+ {
5819
+ "inputs": [
5820
+ {
5821
+ "internalType": "address",
5822
+ "name": "asset",
5823
+ "type": "address"
5824
+ },
5825
+ {
5826
+ "internalType": "uint256",
5827
+ "name": "amount",
5828
+ "type": "uint256"
5829
+ },
5830
+ {
5831
+ "internalType": "address",
5832
+ "name": "onBehalfOf",
5833
+ "type": "address"
5834
+ },
5835
+ {
5836
+ "internalType": "uint16",
5837
+ "name": "referralCode",
5838
+ "type": "uint16"
5839
+ }
5840
+ ],
5841
+ "name": "supply",
5842
+ "outputs": [],
5843
+ "stateMutability": "nonpayable",
5844
+ "type": "function"
5845
+ },
5846
+ {
5847
+ "inputs": [
5848
+ {
5849
+ "internalType": "address",
5850
+ "name": "asset",
5851
+ "type": "address"
5852
+ },
5853
+ {
5854
+ "internalType": "uint256",
5855
+ "name": "amount",
5856
+ "type": "uint256"
5857
+ },
5858
+ {
5859
+ "internalType": "address",
5860
+ "name": "to",
5861
+ "type": "address"
5862
+ }
5863
+ ],
5864
+ "name": "withdraw",
5865
+ "outputs": [
5866
+ {
5867
+ "internalType": "uint256",
5868
+ "name": "",
5869
+ "type": "uint256"
5870
+ }
5871
+ ],
5872
+ "stateMutability": "nonpayable",
5873
+ "type": "function"
5874
+ }
5875
+ ],
5876
+ "CErc20": [
5434
5877
  {
5435
5878
  "inputs": [],
5436
5879
  "stateMutability": "nonpayable",
@@ -6422,10 +6865,16 @@ exports.abi = {
6422
6865
  "type": "function"
6423
6866
  },
6424
6867
  {
6425
- "inputs": [],
6868
+ "inputs": [
6869
+ {
6870
+ "internalType": "uint256",
6871
+ "name": "addAmount",
6872
+ "type": "uint256"
6873
+ }
6874
+ ],
6426
6875
  "name": "_addReserves",
6427
6876
  "outputs": [],
6428
- "stateMutability": "payable",
6877
+ "stateMutability": "nonpayable",
6429
6878
  "type": "function"
6430
6879
  },
6431
6880
  {
@@ -6847,6 +7296,11 @@ exports.abi = {
6847
7296
  },
6848
7297
  {
6849
7298
  "inputs": [
7299
+ {
7300
+ "internalType": "address",
7301
+ "name": "underlying_",
7302
+ "type": "address"
7303
+ },
6850
7304
  {
6851
7305
  "internalType": "address",
6852
7306
  "name": "comptroller_",
@@ -6888,13 +7342,6 @@ exports.abi = {
6888
7342
  "stateMutability": "nonpayable",
6889
7343
  "type": "function"
6890
7344
  },
6891
- {
6892
- "inputs": [],
6893
- "name": "initializeVersion2",
6894
- "outputs": [],
6895
- "stateMutability": "nonpayable",
6896
- "type": "function"
6897
- },
6898
7345
  {
6899
7346
  "inputs": [],
6900
7347
  "name": "interestRateModel",
@@ -6967,6 +7414,11 @@ exports.abi = {
6967
7414
  "name": "borrower",
6968
7415
  "type": "address"
6969
7416
  },
7417
+ {
7418
+ "internalType": "uint256",
7419
+ "name": "repayAmount",
7420
+ "type": "uint256"
7421
+ },
6970
7422
  {
6971
7423
  "internalType": "address",
6972
7424
  "name": "cTokenCollateral",
@@ -6975,7 +7427,7 @@ exports.abi = {
6975
7427
  ],
6976
7428
  "name": "liquidateBorrow",
6977
7429
  "outputs": [],
6978
- "stateMutability": "payable",
7430
+ "stateMutability": "nonpayable",
6979
7431
  "type": "function"
6980
7432
  },
6981
7433
  {
@@ -7008,10 +7460,39 @@ exports.abi = {
7008
7460
  "type": "function"
7009
7461
  },
7010
7462
  {
7011
- "inputs": [],
7463
+ "inputs": [
7464
+ {
7465
+ "internalType": "uint256",
7466
+ "name": "mintAmount",
7467
+ "type": "uint256"
7468
+ }
7469
+ ],
7012
7470
  "name": "mint",
7013
7471
  "outputs": [],
7014
- "stateMutability": "payable",
7472
+ "stateMutability": "nonpayable",
7473
+ "type": "function"
7474
+ },
7475
+ {
7476
+ "inputs": [
7477
+ {
7478
+ "internalType": "uint256",
7479
+ "name": "mintAmount",
7480
+ "type": "uint256"
7481
+ },
7482
+ {
7483
+ "internalType": "uint256",
7484
+ "name": "deadline",
7485
+ "type": "uint256"
7486
+ },
7487
+ {
7488
+ "internalType": "bytes",
7489
+ "name": "signature",
7490
+ "type": "bytes"
7491
+ }
7492
+ ],
7493
+ "name": "mintWithPermit",
7494
+ "outputs": [],
7495
+ "stateMutability": "nonpayable",
7015
7496
  "type": "function"
7016
7497
  },
7017
7498
  {
@@ -7093,10 +7574,16 @@ exports.abi = {
7093
7574
  "type": "function"
7094
7575
  },
7095
7576
  {
7096
- "inputs": [],
7577
+ "inputs": [
7578
+ {
7579
+ "internalType": "uint256",
7580
+ "name": "repayAmount",
7581
+ "type": "uint256"
7582
+ }
7583
+ ],
7097
7584
  "name": "repayBorrow",
7098
7585
  "outputs": [],
7099
- "stateMutability": "payable",
7586
+ "stateMutability": "nonpayable",
7100
7587
  "type": "function"
7101
7588
  },
7102
7589
  {
@@ -7105,11 +7592,39 @@ exports.abi = {
7105
7592
  "internalType": "address",
7106
7593
  "name": "borrower",
7107
7594
  "type": "address"
7595
+ },
7596
+ {
7597
+ "internalType": "uint256",
7598
+ "name": "repayAmount",
7599
+ "type": "uint256"
7108
7600
  }
7109
7601
  ],
7110
7602
  "name": "repayBorrowBehalf",
7111
7603
  "outputs": [],
7112
- "stateMutability": "payable",
7604
+ "stateMutability": "nonpayable",
7605
+ "type": "function"
7606
+ },
7607
+ {
7608
+ "inputs": [
7609
+ {
7610
+ "internalType": "uint256",
7611
+ "name": "repayAmount",
7612
+ "type": "uint256"
7613
+ },
7614
+ {
7615
+ "internalType": "uint256",
7616
+ "name": "deadline",
7617
+ "type": "uint256"
7618
+ },
7619
+ {
7620
+ "internalType": "bytes",
7621
+ "name": "signature",
7622
+ "type": "bytes"
7623
+ }
7624
+ ],
7625
+ "name": "repayBorrowWithPermit",
7626
+ "outputs": [],
7627
+ "stateMutability": "nonpayable",
7113
7628
  "type": "function"
7114
7629
  },
7115
7630
  {
@@ -7125,6 +7640,19 @@ exports.abi = {
7125
7640
  "stateMutability": "view",
7126
7641
  "type": "function"
7127
7642
  },
7643
+ {
7644
+ "inputs": [
7645
+ {
7646
+ "internalType": "address",
7647
+ "name": "addr",
7648
+ "type": "address"
7649
+ }
7650
+ ],
7651
+ "name": "revokeWhitelist",
7652
+ "outputs": [],
7653
+ "stateMutability": "nonpayable",
7654
+ "type": "function"
7655
+ },
7128
7656
  {
7129
7657
  "inputs": [
7130
7658
  {
@@ -7176,6 +7704,19 @@ exports.abi = {
7176
7704
  "stateMutability": "view",
7177
7705
  "type": "function"
7178
7706
  },
7707
+ {
7708
+ "inputs": [
7709
+ {
7710
+ "internalType": "contract ERC20",
7711
+ "name": "token",
7712
+ "type": "address"
7713
+ }
7714
+ ],
7715
+ "name": "sweepToken",
7716
+ "outputs": [],
7717
+ "stateMutability": "nonpayable",
7718
+ "type": "function"
7719
+ },
7179
7720
  {
7180
7721
  "inputs": [],
7181
7722
  "name": "symbol",
@@ -7334,11 +7875,1992 @@ exports.abi = {
7334
7875
  "type": "function"
7335
7876
  },
7336
7877
  {
7337
- "stateMutability": "payable",
7338
- "type": "receive"
7878
+ "inputs": [
7879
+ {
7880
+ "internalType": "address",
7881
+ "name": "addr",
7882
+ "type": "address"
7883
+ }
7884
+ ],
7885
+ "name": "whitelist",
7886
+ "outputs": [],
7887
+ "stateMutability": "nonpayable",
7888
+ "type": "function"
7889
+ },
7890
+ {
7891
+ "inputs": [
7892
+ {
7893
+ "internalType": "address",
7894
+ "name": "",
7895
+ "type": "address"
7896
+ }
7897
+ ],
7898
+ "name": "whitelisted",
7899
+ "outputs": [
7900
+ {
7901
+ "internalType": "bool",
7902
+ "name": "",
7903
+ "type": "bool"
7904
+ }
7905
+ ],
7906
+ "stateMutability": "view",
7907
+ "type": "function"
7339
7908
  }
7340
7909
  ],
7341
- "CToken": [
7910
+ "CEther": [
7911
+ {
7912
+ "inputs": [],
7913
+ "stateMutability": "nonpayable",
7914
+ "type": "constructor"
7915
+ },
7916
+ {
7917
+ "inputs": [],
7918
+ "name": "AddReservesMarketNotFresh",
7919
+ "type": "error"
7920
+ },
7921
+ {
7922
+ "inputs": [],
7923
+ "name": "AddReservesOverflow",
7924
+ "type": "error"
7925
+ },
7926
+ {
7927
+ "inputs": [],
7928
+ "name": "BorrowAndDepositBackFailed",
7929
+ "type": "error"
7930
+ },
7931
+ {
7932
+ "inputs": [],
7933
+ "name": "BorrowCapReached",
7934
+ "type": "error"
7935
+ },
7936
+ {
7937
+ "inputs": [],
7938
+ "name": "BorrowCashNotAvailable",
7939
+ "type": "error"
7940
+ },
7941
+ {
7942
+ "inputs": [],
7943
+ "name": "BorrowMarketNotFresh",
7944
+ "type": "error"
7945
+ },
7946
+ {
7947
+ "inputs": [],
7948
+ "name": "BorrowPaused",
7949
+ "type": "error"
7950
+ },
7951
+ {
7952
+ "inputs": [
7953
+ {
7954
+ "internalType": "uint256",
7955
+ "name": "usdThreshold",
7956
+ "type": "uint256"
7957
+ }
7958
+ ],
7959
+ "name": "BorrowValueMustBeLargerThanThreshold",
7960
+ "type": "error"
7961
+ },
7962
+ {
7963
+ "inputs": [],
7964
+ "name": "CantEnterPausedMarket",
7965
+ "type": "error"
7966
+ },
7967
+ {
7968
+ "inputs": [],
7969
+ "name": "CantExitMarketWithNonZeroBorrowBalance",
7970
+ "type": "error"
7971
+ },
7972
+ {
7973
+ "inputs": [],
7974
+ "name": "CantSweepUnderlying",
7975
+ "type": "error"
7976
+ },
7977
+ {
7978
+ "inputs": [],
7979
+ "name": "ComptrollerMismatch",
7980
+ "type": "error"
7981
+ },
7982
+ {
7983
+ "inputs": [],
7984
+ "name": "EitherAssetOrDebtMustBeZero",
7985
+ "type": "error"
7986
+ },
7987
+ {
7988
+ "inputs": [
7989
+ {
7990
+ "internalType": "uint8",
7991
+ "name": "groupId",
7992
+ "type": "uint8"
7993
+ },
7994
+ {
7995
+ "internalType": "uint256",
7996
+ "name": "cDepositVal",
7997
+ "type": "uint256"
7998
+ },
7999
+ {
8000
+ "internalType": "uint256",
8001
+ "name": "suDepositVal",
8002
+ "type": "uint256"
8003
+ },
8004
+ {
8005
+ "internalType": "uint256",
8006
+ "name": "cBorrowVal",
8007
+ "type": "uint256"
8008
+ },
8009
+ {
8010
+ "internalType": "uint256",
8011
+ "name": "suBorrowVal",
8012
+ "type": "uint256"
8013
+ }
8014
+ ],
8015
+ "name": "EitherAssetOrDebtMustBeZeroInGroup",
8016
+ "type": "error"
8017
+ },
8018
+ {
8019
+ "inputs": [],
8020
+ "name": "ExpiredSignature",
8021
+ "type": "error"
8022
+ },
8023
+ {
8024
+ "inputs": [],
8025
+ "name": "InsufficientCollateral",
8026
+ "type": "error"
8027
+ },
8028
+ {
8029
+ "inputs": [],
8030
+ "name": "InsufficientShortfall",
8031
+ "type": "error"
8032
+ },
8033
+ {
8034
+ "inputs": [],
8035
+ "name": "InterMintNotAllowed",
8036
+ "type": "error"
8037
+ },
8038
+ {
8039
+ "inputs": [],
8040
+ "name": "InvalidAddress",
8041
+ "type": "error"
8042
+ },
8043
+ {
8044
+ "inputs": [],
8045
+ "name": "InvalidAmount",
8046
+ "type": "error"
8047
+ },
8048
+ {
8049
+ "inputs": [],
8050
+ "name": "InvalidBlockNumber",
8051
+ "type": "error"
8052
+ },
8053
+ {
8054
+ "inputs": [],
8055
+ "name": "InvalidCToken",
8056
+ "type": "error"
8057
+ },
8058
+ {
8059
+ "inputs": [],
8060
+ "name": "InvalidCloseFactor",
8061
+ "type": "error"
8062
+ },
8063
+ {
8064
+ "inputs": [],
8065
+ "name": "InvalidComptroller",
8066
+ "type": "error"
8067
+ },
8068
+ {
8069
+ "inputs": [],
8070
+ "name": "InvalidDiscountRate",
8071
+ "type": "error"
8072
+ },
8073
+ {
8074
+ "inputs": [],
8075
+ "name": "InvalidExchangeRate",
8076
+ "type": "error"
8077
+ },
8078
+ {
8079
+ "inputs": [],
8080
+ "name": "InvalidGroupId",
8081
+ "type": "error"
8082
+ },
8083
+ {
8084
+ "inputs": [],
8085
+ "name": "InvalidInput",
8086
+ "type": "error"
8087
+ },
8088
+ {
8089
+ "inputs": [],
8090
+ "name": "InvalidInterestRateModel",
8091
+ "type": "error"
8092
+ },
8093
+ {
8094
+ "inputs": [],
8095
+ "name": "InvalidMinSuBorrowValue",
8096
+ "type": "error"
8097
+ },
8098
+ {
8099
+ "inputs": [],
8100
+ "name": "InvalidRedeem",
8101
+ "type": "error"
8102
+ },
8103
+ {
8104
+ "inputs": [],
8105
+ "name": "InvalidReduceAmount",
8106
+ "type": "error"
8107
+ },
8108
+ {
8109
+ "inputs": [],
8110
+ "name": "InvalidReserveFactor",
8111
+ "type": "error"
8112
+ },
8113
+ {
8114
+ "inputs": [],
8115
+ "name": "InvalidSignatureForRedeemFaceValue",
8116
+ "type": "error"
8117
+ },
8118
+ {
8119
+ "inputs": [],
8120
+ "name": "InvalidSignatureLength",
8121
+ "type": "error"
8122
+ },
8123
+ {
8124
+ "inputs": [],
8125
+ "name": "InvalidSuToken",
8126
+ "type": "error"
8127
+ },
8128
+ {
8129
+ "inputs": [],
8130
+ "name": "InvalidTimestamp",
8131
+ "type": "error"
8132
+ },
8133
+ {
8134
+ "inputs": [],
8135
+ "name": "LiquidateBorrow_LiquidatorIsBorrower",
8136
+ "type": "error"
8137
+ },
8138
+ {
8139
+ "inputs": [],
8140
+ "name": "LiquidateBorrow_RepayAmountIsMax",
8141
+ "type": "error"
8142
+ },
8143
+ {
8144
+ "inputs": [],
8145
+ "name": "LiquidateBorrow_RepayAmountIsZero",
8146
+ "type": "error"
8147
+ },
8148
+ {
8149
+ "inputs": [],
8150
+ "name": "LiquidateBorrow_SeizeTooMuch",
8151
+ "type": "error"
8152
+ },
8153
+ {
8154
+ "inputs": [],
8155
+ "name": "LiquidateCollateralMarketNotFresh",
8156
+ "type": "error"
8157
+ },
8158
+ {
8159
+ "inputs": [],
8160
+ "name": "LiquidateMarketNotFresh",
8161
+ "type": "error"
8162
+ },
8163
+ {
8164
+ "inputs": [],
8165
+ "name": "MarketAlreadyListed",
8166
+ "type": "error"
8167
+ },
8168
+ {
8169
+ "inputs": [],
8170
+ "name": "MarketAlreadyUnlisted",
8171
+ "type": "error"
8172
+ },
8173
+ {
8174
+ "inputs": [],
8175
+ "name": "MarketCanOnlyInitializeOnce",
8176
+ "type": "error"
8177
+ },
8178
+ {
8179
+ "inputs": [],
8180
+ "name": "MarketNotEmpty",
8181
+ "type": "error"
8182
+ },
8183
+ {
8184
+ "inputs": [],
8185
+ "name": "MarketNotListed",
8186
+ "type": "error"
8187
+ },
8188
+ {
8189
+ "inputs": [],
8190
+ "name": "MarketPaused",
8191
+ "type": "error"
8192
+ },
8193
+ {
8194
+ "inputs": [],
8195
+ "name": "MinDelayNotReached",
8196
+ "type": "error"
8197
+ },
8198
+ {
8199
+ "inputs": [],
8200
+ "name": "MintMarketNotFresh",
8201
+ "type": "error"
8202
+ },
8203
+ {
8204
+ "inputs": [],
8205
+ "name": "MintPaused",
8206
+ "type": "error"
8207
+ },
8208
+ {
8209
+ "inputs": [],
8210
+ "name": "MintTokensCantBeZero",
8211
+ "type": "error"
8212
+ },
8213
+ {
8214
+ "inputs": [],
8215
+ "name": "NoRedemptionProvider",
8216
+ "type": "error"
8217
+ },
8218
+ {
8219
+ "inputs": [],
8220
+ "name": "NotCToken",
8221
+ "type": "error"
8222
+ },
8223
+ {
8224
+ "inputs": [],
8225
+ "name": "NotEnoughForSeize",
8226
+ "type": "error"
8227
+ },
8228
+ {
8229
+ "inputs": [],
8230
+ "name": "NotEnoughRedeemAmount",
8231
+ "type": "error"
8232
+ },
8233
+ {
8234
+ "inputs": [],
8235
+ "name": "NotEnoughRedeemTokens",
8236
+ "type": "error"
8237
+ },
8238
+ {
8239
+ "inputs": [],
8240
+ "name": "NotEnoughUnderlyingAfterRedeem",
8241
+ "type": "error"
8242
+ },
8243
+ {
8244
+ "inputs": [],
8245
+ "name": "NotEnoughUnderlyingForMint",
8246
+ "type": "error"
8247
+ },
8248
+ {
8249
+ "inputs": [],
8250
+ "name": "NotLiquidatableYet",
8251
+ "type": "error"
8252
+ },
8253
+ {
8254
+ "inputs": [],
8255
+ "name": "NotSuToken",
8256
+ "type": "error"
8257
+ },
8258
+ {
8259
+ "inputs": [],
8260
+ "name": "OnlyAdmin",
8261
+ "type": "error"
8262
+ },
8263
+ {
8264
+ "inputs": [],
8265
+ "name": "OnlyAdminOrPauser",
8266
+ "type": "error"
8267
+ },
8268
+ {
8269
+ "inputs": [],
8270
+ "name": "OnlyCToken",
8271
+ "type": "error"
8272
+ },
8273
+ {
8274
+ "inputs": [],
8275
+ "name": "OnlyListedCToken",
8276
+ "type": "error"
8277
+ },
8278
+ {
8279
+ "inputs": [],
8280
+ "name": "OnlyPausedMarketCanBeUnlisted",
8281
+ "type": "error"
8282
+ },
8283
+ {
8284
+ "inputs": [],
8285
+ "name": "OnlyPendingAdmin",
8286
+ "type": "error"
8287
+ },
8288
+ {
8289
+ "inputs": [],
8290
+ "name": "OnlyRedemptionManager",
8291
+ "type": "error"
8292
+ },
8293
+ {
8294
+ "inputs": [],
8295
+ "name": "OverThreshold",
8296
+ "type": "error"
8297
+ },
8298
+ {
8299
+ "inputs": [],
8300
+ "name": "PriceError",
8301
+ "type": "error"
8302
+ },
8303
+ {
8304
+ "inputs": [],
8305
+ "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
8306
+ "type": "error"
8307
+ },
8308
+ {
8309
+ "inputs": [],
8310
+ "name": "RedeemMarketNotFresh",
8311
+ "type": "error"
8312
+ },
8313
+ {
8314
+ "inputs": [],
8315
+ "name": "RedeemTransferOutNotPossible",
8316
+ "type": "error"
8317
+ },
8318
+ {
8319
+ "inputs": [],
8320
+ "name": "RedemptionSeizeTooMuch",
8321
+ "type": "error"
8322
+ },
8323
+ {
8324
+ "inputs": [],
8325
+ "name": "RedemptionSignerNotInitialized",
8326
+ "type": "error"
8327
+ },
8328
+ {
8329
+ "inputs": [],
8330
+ "name": "ReduceReservesCashNotAvailable",
8331
+ "type": "error"
8332
+ },
8333
+ {
8334
+ "inputs": [],
8335
+ "name": "ReduceReservesMarketNotFresh",
8336
+ "type": "error"
8337
+ },
8338
+ {
8339
+ "inputs": [],
8340
+ "name": "Reentered",
8341
+ "type": "error"
8342
+ },
8343
+ {
8344
+ "inputs": [],
8345
+ "name": "RepayBorrowMarketNotFresh",
8346
+ "type": "error"
8347
+ },
8348
+ {
8349
+ "inputs": [],
8350
+ "name": "RepayTokenNotListed",
8351
+ "type": "error"
8352
+ },
8353
+ {
8354
+ "inputs": [],
8355
+ "name": "SeizePaused",
8356
+ "type": "error"
8357
+ },
8358
+ {
8359
+ "inputs": [],
8360
+ "name": "SeizeTokenNotListed",
8361
+ "type": "error"
8362
+ },
8363
+ {
8364
+ "inputs": [],
8365
+ "name": "Seize_LiquidatorIsBorrower",
8366
+ "type": "error"
8367
+ },
8368
+ {
8369
+ "inputs": [],
8370
+ "name": "SenderMustBeCToken",
8371
+ "type": "error"
8372
+ },
8373
+ {
8374
+ "inputs": [],
8375
+ "name": "SetInterestRateModelMarketNotFresh",
8376
+ "type": "error"
8377
+ },
8378
+ {
8379
+ "inputs": [],
8380
+ "name": "SetReservesFactorMarketNotFresh",
8381
+ "type": "error"
8382
+ },
8383
+ {
8384
+ "inputs": [],
8385
+ "name": "SupplyCapReached",
8386
+ "type": "error"
8387
+ },
8388
+ {
8389
+ "inputs": [],
8390
+ "name": "TokenInOrAmountInMustBeZero",
8391
+ "type": "error"
8392
+ },
8393
+ {
8394
+ "inputs": [],
8395
+ "name": "TokenTransferInFailed",
8396
+ "type": "error"
8397
+ },
8398
+ {
8399
+ "inputs": [],
8400
+ "name": "TokenTransferOutFailed",
8401
+ "type": "error"
8402
+ },
8403
+ {
8404
+ "inputs": [],
8405
+ "name": "TooMuchRepay",
8406
+ "type": "error"
8407
+ },
8408
+ {
8409
+ "inputs": [],
8410
+ "name": "TotalBorrowsNotZero",
8411
+ "type": "error"
8412
+ },
8413
+ {
8414
+ "inputs": [],
8415
+ "name": "TotalSupplyNotZero",
8416
+ "type": "error"
8417
+ },
8418
+ {
8419
+ "inputs": [],
8420
+ "name": "TransferNotAllowed",
8421
+ "type": "error"
8422
+ },
8423
+ {
8424
+ "inputs": [],
8425
+ "name": "TransferPaused",
8426
+ "type": "error"
8427
+ },
8428
+ {
8429
+ "inputs": [],
8430
+ "name": "UnderlyingBalanceError",
8431
+ "type": "error"
8432
+ },
8433
+ {
8434
+ "inputs": [],
8435
+ "name": "ZeroAddressNotAllowed",
8436
+ "type": "error"
8437
+ },
8438
+ {
8439
+ "anonymous": false,
8440
+ "inputs": [
8441
+ {
8442
+ "indexed": false,
8443
+ "internalType": "uint256",
8444
+ "name": "cashPrior",
8445
+ "type": "uint256"
8446
+ },
8447
+ {
8448
+ "indexed": false,
8449
+ "internalType": "uint256",
8450
+ "name": "interestAccumulated",
8451
+ "type": "uint256"
8452
+ },
8453
+ {
8454
+ "indexed": false,
8455
+ "internalType": "uint256",
8456
+ "name": "borrowIndex",
8457
+ "type": "uint256"
8458
+ },
8459
+ {
8460
+ "indexed": false,
8461
+ "internalType": "uint256",
8462
+ "name": "totalBorrows",
8463
+ "type": "uint256"
8464
+ }
8465
+ ],
8466
+ "name": "AccrueInterest",
8467
+ "type": "event"
8468
+ },
8469
+ {
8470
+ "anonymous": false,
8471
+ "inputs": [
8472
+ {
8473
+ "indexed": true,
8474
+ "internalType": "address",
8475
+ "name": "owner",
8476
+ "type": "address"
8477
+ },
8478
+ {
8479
+ "indexed": true,
8480
+ "internalType": "address",
8481
+ "name": "spender",
8482
+ "type": "address"
8483
+ },
8484
+ {
8485
+ "indexed": false,
8486
+ "internalType": "uint256",
8487
+ "name": "amount",
8488
+ "type": "uint256"
8489
+ }
8490
+ ],
8491
+ "name": "Approval",
8492
+ "type": "event"
8493
+ },
8494
+ {
8495
+ "anonymous": false,
8496
+ "inputs": [
8497
+ {
8498
+ "indexed": false,
8499
+ "internalType": "address",
8500
+ "name": "borrower",
8501
+ "type": "address"
8502
+ },
8503
+ {
8504
+ "indexed": false,
8505
+ "internalType": "uint256",
8506
+ "name": "borrowAmount",
8507
+ "type": "uint256"
8508
+ },
8509
+ {
8510
+ "indexed": false,
8511
+ "internalType": "uint256",
8512
+ "name": "accountBorrows",
8513
+ "type": "uint256"
8514
+ },
8515
+ {
8516
+ "indexed": false,
8517
+ "internalType": "uint256",
8518
+ "name": "totalBorrows",
8519
+ "type": "uint256"
8520
+ }
8521
+ ],
8522
+ "name": "Borrow",
8523
+ "type": "event"
8524
+ },
8525
+ {
8526
+ "anonymous": false,
8527
+ "inputs": [
8528
+ {
8529
+ "indexed": false,
8530
+ "internalType": "uint8",
8531
+ "name": "version",
8532
+ "type": "uint8"
8533
+ }
8534
+ ],
8535
+ "name": "Initialized",
8536
+ "type": "event"
8537
+ },
8538
+ {
8539
+ "anonymous": false,
8540
+ "inputs": [
8541
+ {
8542
+ "indexed": false,
8543
+ "internalType": "address",
8544
+ "name": "liquidator",
8545
+ "type": "address"
8546
+ },
8547
+ {
8548
+ "indexed": false,
8549
+ "internalType": "address",
8550
+ "name": "borrower",
8551
+ "type": "address"
8552
+ },
8553
+ {
8554
+ "indexed": false,
8555
+ "internalType": "uint256",
8556
+ "name": "repayAmount",
8557
+ "type": "uint256"
8558
+ },
8559
+ {
8560
+ "indexed": false,
8561
+ "internalType": "address",
8562
+ "name": "cTokenCollateral",
8563
+ "type": "address"
8564
+ },
8565
+ {
8566
+ "indexed": false,
8567
+ "internalType": "uint256",
8568
+ "name": "seizeTokens",
8569
+ "type": "uint256"
8570
+ }
8571
+ ],
8572
+ "name": "LiquidateBorrow",
8573
+ "type": "event"
8574
+ },
8575
+ {
8576
+ "anonymous": false,
8577
+ "inputs": [
8578
+ {
8579
+ "indexed": false,
8580
+ "internalType": "address",
8581
+ "name": "minter",
8582
+ "type": "address"
8583
+ },
8584
+ {
8585
+ "indexed": false,
8586
+ "internalType": "uint256",
8587
+ "name": "mintAmount",
8588
+ "type": "uint256"
8589
+ },
8590
+ {
8591
+ "indexed": false,
8592
+ "internalType": "uint256",
8593
+ "name": "mintTokens",
8594
+ "type": "uint256"
8595
+ }
8596
+ ],
8597
+ "name": "Mint",
8598
+ "type": "event"
8599
+ },
8600
+ {
8601
+ "anonymous": false,
8602
+ "inputs": [
8603
+ {
8604
+ "indexed": false,
8605
+ "internalType": "address",
8606
+ "name": "oldAdmin",
8607
+ "type": "address"
8608
+ },
8609
+ {
8610
+ "indexed": false,
8611
+ "internalType": "address",
8612
+ "name": "newAdmin",
8613
+ "type": "address"
8614
+ }
8615
+ ],
8616
+ "name": "NewAdmin",
8617
+ "type": "event"
8618
+ },
8619
+ {
8620
+ "anonymous": false,
8621
+ "inputs": [
8622
+ {
8623
+ "indexed": false,
8624
+ "internalType": "address",
8625
+ "name": "oldComptroller",
8626
+ "type": "address"
8627
+ },
8628
+ {
8629
+ "indexed": false,
8630
+ "internalType": "address",
8631
+ "name": "newComptroller",
8632
+ "type": "address"
8633
+ }
8634
+ ],
8635
+ "name": "NewComptroller",
8636
+ "type": "event"
8637
+ },
8638
+ {
8639
+ "anonymous": false,
8640
+ "inputs": [
8641
+ {
8642
+ "indexed": false,
8643
+ "internalType": "uint256",
8644
+ "name": "oldDiscountRateMantissa",
8645
+ "type": "uint256"
8646
+ },
8647
+ {
8648
+ "indexed": false,
8649
+ "internalType": "uint256",
8650
+ "name": "newDiscountRateMantissa",
8651
+ "type": "uint256"
8652
+ }
8653
+ ],
8654
+ "name": "NewDiscountRate",
8655
+ "type": "event"
8656
+ },
8657
+ {
8658
+ "anonymous": false,
8659
+ "inputs": [
8660
+ {
8661
+ "indexed": false,
8662
+ "internalType": "address",
8663
+ "name": "oldInterestRateModel",
8664
+ "type": "address"
8665
+ },
8666
+ {
8667
+ "indexed": false,
8668
+ "internalType": "address",
8669
+ "name": "newInterestRateModel",
8670
+ "type": "address"
8671
+ }
8672
+ ],
8673
+ "name": "NewMarketInterestRateModel",
8674
+ "type": "event"
8675
+ },
8676
+ {
8677
+ "anonymous": false,
8678
+ "inputs": [
8679
+ {
8680
+ "indexed": false,
8681
+ "internalType": "address",
8682
+ "name": "oldPendingAdmin",
8683
+ "type": "address"
8684
+ },
8685
+ {
8686
+ "indexed": false,
8687
+ "internalType": "address",
8688
+ "name": "newPendingAdmin",
8689
+ "type": "address"
8690
+ }
8691
+ ],
8692
+ "name": "NewPendingAdmin",
8693
+ "type": "event"
8694
+ },
8695
+ {
8696
+ "anonymous": false,
8697
+ "inputs": [
8698
+ {
8699
+ "indexed": false,
8700
+ "internalType": "uint256",
8701
+ "name": "oldReserveFactorMantissa",
8702
+ "type": "uint256"
8703
+ },
8704
+ {
8705
+ "indexed": false,
8706
+ "internalType": "uint256",
8707
+ "name": "newReserveFactorMantissa",
8708
+ "type": "uint256"
8709
+ }
8710
+ ],
8711
+ "name": "NewReserveFactor",
8712
+ "type": "event"
8713
+ },
8714
+ {
8715
+ "anonymous": false,
8716
+ "inputs": [
8717
+ {
8718
+ "indexed": false,
8719
+ "internalType": "address",
8720
+ "name": "redeemer",
8721
+ "type": "address"
8722
+ },
8723
+ {
8724
+ "indexed": false,
8725
+ "internalType": "uint256",
8726
+ "name": "redeemAmount",
8727
+ "type": "uint256"
8728
+ },
8729
+ {
8730
+ "indexed": false,
8731
+ "internalType": "uint256",
8732
+ "name": "redeemTokens",
8733
+ "type": "uint256"
8734
+ }
8735
+ ],
8736
+ "name": "Redeem",
8737
+ "type": "event"
8738
+ },
8739
+ {
8740
+ "anonymous": false,
8741
+ "inputs": [
8742
+ {
8743
+ "indexed": true,
8744
+ "internalType": "address",
8745
+ "name": "redeemer",
8746
+ "type": "address"
8747
+ },
8748
+ {
8749
+ "indexed": true,
8750
+ "internalType": "address",
8751
+ "name": "provider",
8752
+ "type": "address"
8753
+ },
8754
+ {
8755
+ "indexed": false,
8756
+ "internalType": "uint256",
8757
+ "name": "repayAmount",
8758
+ "type": "uint256"
8759
+ },
8760
+ {
8761
+ "indexed": false,
8762
+ "internalType": "address",
8763
+ "name": "seizeToken",
8764
+ "type": "address"
8765
+ },
8766
+ {
8767
+ "indexed": false,
8768
+ "internalType": "uint256",
8769
+ "name": "seizeAmount",
8770
+ "type": "uint256"
8771
+ },
8772
+ {
8773
+ "indexed": false,
8774
+ "internalType": "uint256",
8775
+ "name": "redemptionRateMantissa",
8776
+ "type": "uint256"
8777
+ }
8778
+ ],
8779
+ "name": "RedeemFaceValue",
8780
+ "type": "event"
8781
+ },
8782
+ {
8783
+ "anonymous": false,
8784
+ "inputs": [
8785
+ {
8786
+ "indexed": false,
8787
+ "internalType": "address",
8788
+ "name": "payer",
8789
+ "type": "address"
8790
+ },
8791
+ {
8792
+ "indexed": false,
8793
+ "internalType": "address",
8794
+ "name": "borrower",
8795
+ "type": "address"
8796
+ },
8797
+ {
8798
+ "indexed": false,
8799
+ "internalType": "uint256",
8800
+ "name": "repayAmount",
8801
+ "type": "uint256"
8802
+ },
8803
+ {
8804
+ "indexed": false,
8805
+ "internalType": "uint256",
8806
+ "name": "accountBorrows",
8807
+ "type": "uint256"
8808
+ },
8809
+ {
8810
+ "indexed": false,
8811
+ "internalType": "uint256",
8812
+ "name": "totalBorrows",
8813
+ "type": "uint256"
8814
+ }
8815
+ ],
8816
+ "name": "RepayBorrow",
8817
+ "type": "event"
8818
+ },
8819
+ {
8820
+ "anonymous": false,
8821
+ "inputs": [
8822
+ {
8823
+ "indexed": false,
8824
+ "internalType": "address",
8825
+ "name": "benefactor",
8826
+ "type": "address"
8827
+ },
8828
+ {
8829
+ "indexed": false,
8830
+ "internalType": "uint256",
8831
+ "name": "addAmount",
8832
+ "type": "uint256"
8833
+ },
8834
+ {
8835
+ "indexed": false,
8836
+ "internalType": "uint256",
8837
+ "name": "newTotalReserves",
8838
+ "type": "uint256"
8839
+ }
8840
+ ],
8841
+ "name": "ReservesAdded",
8842
+ "type": "event"
8843
+ },
8844
+ {
8845
+ "anonymous": false,
8846
+ "inputs": [
8847
+ {
8848
+ "indexed": false,
8849
+ "internalType": "address",
8850
+ "name": "admin",
8851
+ "type": "address"
8852
+ },
8853
+ {
8854
+ "indexed": false,
8855
+ "internalType": "uint256",
8856
+ "name": "reduceAmount",
8857
+ "type": "uint256"
8858
+ },
8859
+ {
8860
+ "indexed": false,
8861
+ "internalType": "uint256",
8862
+ "name": "newTotalReserves",
8863
+ "type": "uint256"
8864
+ }
8865
+ ],
8866
+ "name": "ReservesReduced",
8867
+ "type": "event"
8868
+ },
8869
+ {
8870
+ "anonymous": false,
8871
+ "inputs": [
8872
+ {
8873
+ "indexed": true,
8874
+ "internalType": "address",
8875
+ "name": "from",
8876
+ "type": "address"
8877
+ },
8878
+ {
8879
+ "indexed": true,
8880
+ "internalType": "address",
8881
+ "name": "to",
8882
+ "type": "address"
8883
+ },
8884
+ {
8885
+ "indexed": false,
8886
+ "internalType": "uint256",
8887
+ "name": "amount",
8888
+ "type": "uint256"
8889
+ }
8890
+ ],
8891
+ "name": "Transfer",
8892
+ "type": "event"
8893
+ },
8894
+ {
8895
+ "inputs": [],
8896
+ "name": "_acceptAdmin",
8897
+ "outputs": [],
8898
+ "stateMutability": "nonpayable",
8899
+ "type": "function"
8900
+ },
8901
+ {
8902
+ "inputs": [],
8903
+ "name": "_addReserves",
8904
+ "outputs": [],
8905
+ "stateMutability": "payable",
8906
+ "type": "function"
8907
+ },
8908
+ {
8909
+ "inputs": [
8910
+ {
8911
+ "internalType": "uint256",
8912
+ "name": "reduceAmount",
8913
+ "type": "uint256"
8914
+ }
8915
+ ],
8916
+ "name": "_reduceReserves",
8917
+ "outputs": [],
8918
+ "stateMutability": "nonpayable",
8919
+ "type": "function"
8920
+ },
8921
+ {
8922
+ "inputs": [
8923
+ {
8924
+ "internalType": "address",
8925
+ "name": "newComptroller",
8926
+ "type": "address"
8927
+ }
8928
+ ],
8929
+ "name": "_setComptroller",
8930
+ "outputs": [],
8931
+ "stateMutability": "nonpayable",
8932
+ "type": "function"
8933
+ },
8934
+ {
8935
+ "inputs": [
8936
+ {
8937
+ "internalType": "uint256",
8938
+ "name": "discountRateMantissa_",
8939
+ "type": "uint256"
8940
+ }
8941
+ ],
8942
+ "name": "_setDiscountRate",
8943
+ "outputs": [
8944
+ {
8945
+ "internalType": "uint256",
8946
+ "name": "",
8947
+ "type": "uint256"
8948
+ }
8949
+ ],
8950
+ "stateMutability": "nonpayable",
8951
+ "type": "function"
8952
+ },
8953
+ {
8954
+ "inputs": [
8955
+ {
8956
+ "internalType": "address",
8957
+ "name": "newInterestRateModel",
8958
+ "type": "address"
8959
+ }
8960
+ ],
8961
+ "name": "_setInterestRateModel",
8962
+ "outputs": [],
8963
+ "stateMutability": "nonpayable",
8964
+ "type": "function"
8965
+ },
8966
+ {
8967
+ "inputs": [
8968
+ {
8969
+ "internalType": "address payable",
8970
+ "name": "newPendingAdmin",
8971
+ "type": "address"
8972
+ }
8973
+ ],
8974
+ "name": "_setPendingAdmin",
8975
+ "outputs": [],
8976
+ "stateMutability": "nonpayable",
8977
+ "type": "function"
8978
+ },
8979
+ {
8980
+ "inputs": [
8981
+ {
8982
+ "internalType": "uint256",
8983
+ "name": "newReserveFactorMantissa",
8984
+ "type": "uint256"
8985
+ }
8986
+ ],
8987
+ "name": "_setReserveFactor",
8988
+ "outputs": [],
8989
+ "stateMutability": "nonpayable",
8990
+ "type": "function"
8991
+ },
8992
+ {
8993
+ "inputs": [],
8994
+ "name": "_syncUnderlyingBalance",
8995
+ "outputs": [],
8996
+ "stateMutability": "nonpayable",
8997
+ "type": "function"
8998
+ },
8999
+ {
9000
+ "inputs": [],
9001
+ "name": "accrualBlockTimestamp",
9002
+ "outputs": [
9003
+ {
9004
+ "internalType": "uint256",
9005
+ "name": "",
9006
+ "type": "uint256"
9007
+ }
9008
+ ],
9009
+ "stateMutability": "view",
9010
+ "type": "function"
9011
+ },
9012
+ {
9013
+ "inputs": [],
9014
+ "name": "accrueInterest",
9015
+ "outputs": [],
9016
+ "stateMutability": "nonpayable",
9017
+ "type": "function"
9018
+ },
9019
+ {
9020
+ "inputs": [],
9021
+ "name": "admin",
9022
+ "outputs": [
9023
+ {
9024
+ "internalType": "address payable",
9025
+ "name": "",
9026
+ "type": "address"
9027
+ }
9028
+ ],
9029
+ "stateMutability": "view",
9030
+ "type": "function"
9031
+ },
9032
+ {
9033
+ "inputs": [
9034
+ {
9035
+ "internalType": "address",
9036
+ "name": "owner",
9037
+ "type": "address"
9038
+ },
9039
+ {
9040
+ "internalType": "address",
9041
+ "name": "spender",
9042
+ "type": "address"
9043
+ }
9044
+ ],
9045
+ "name": "allowance",
9046
+ "outputs": [
9047
+ {
9048
+ "internalType": "uint256",
9049
+ "name": "",
9050
+ "type": "uint256"
9051
+ }
9052
+ ],
9053
+ "stateMutability": "view",
9054
+ "type": "function"
9055
+ },
9056
+ {
9057
+ "inputs": [
9058
+ {
9059
+ "internalType": "address",
9060
+ "name": "spender",
9061
+ "type": "address"
9062
+ },
9063
+ {
9064
+ "internalType": "uint256",
9065
+ "name": "amount",
9066
+ "type": "uint256"
9067
+ }
9068
+ ],
9069
+ "name": "approve",
9070
+ "outputs": [
9071
+ {
9072
+ "internalType": "bool",
9073
+ "name": "",
9074
+ "type": "bool"
9075
+ }
9076
+ ],
9077
+ "stateMutability": "nonpayable",
9078
+ "type": "function"
9079
+ },
9080
+ {
9081
+ "inputs": [
9082
+ {
9083
+ "internalType": "address",
9084
+ "name": "owner",
9085
+ "type": "address"
9086
+ }
9087
+ ],
9088
+ "name": "balanceOf",
9089
+ "outputs": [
9090
+ {
9091
+ "internalType": "uint256",
9092
+ "name": "",
9093
+ "type": "uint256"
9094
+ }
9095
+ ],
9096
+ "stateMutability": "view",
9097
+ "type": "function"
9098
+ },
9099
+ {
9100
+ "inputs": [
9101
+ {
9102
+ "internalType": "address",
9103
+ "name": "owner",
9104
+ "type": "address"
9105
+ }
9106
+ ],
9107
+ "name": "balanceOfUnderlying",
9108
+ "outputs": [
9109
+ {
9110
+ "internalType": "uint256",
9111
+ "name": "",
9112
+ "type": "uint256"
9113
+ }
9114
+ ],
9115
+ "stateMutability": "nonpayable",
9116
+ "type": "function"
9117
+ },
9118
+ {
9119
+ "inputs": [
9120
+ {
9121
+ "internalType": "uint256",
9122
+ "name": "borrowAmount",
9123
+ "type": "uint256"
9124
+ }
9125
+ ],
9126
+ "name": "borrow",
9127
+ "outputs": [],
9128
+ "stateMutability": "nonpayable",
9129
+ "type": "function"
9130
+ },
9131
+ {
9132
+ "inputs": [
9133
+ {
9134
+ "internalType": "address",
9135
+ "name": "borrower",
9136
+ "type": "address"
9137
+ },
9138
+ {
9139
+ "internalType": "uint256",
9140
+ "name": "borrowAmount",
9141
+ "type": "uint256"
9142
+ }
9143
+ ],
9144
+ "name": "borrowAndDepositBack",
9145
+ "outputs": [],
9146
+ "stateMutability": "nonpayable",
9147
+ "type": "function"
9148
+ },
9149
+ {
9150
+ "inputs": [
9151
+ {
9152
+ "internalType": "address",
9153
+ "name": "account",
9154
+ "type": "address"
9155
+ }
9156
+ ],
9157
+ "name": "borrowBalanceCurrent",
9158
+ "outputs": [
9159
+ {
9160
+ "internalType": "uint256",
9161
+ "name": "",
9162
+ "type": "uint256"
9163
+ }
9164
+ ],
9165
+ "stateMutability": "nonpayable",
9166
+ "type": "function"
9167
+ },
9168
+ {
9169
+ "inputs": [
9170
+ {
9171
+ "internalType": "address",
9172
+ "name": "account",
9173
+ "type": "address"
9174
+ }
9175
+ ],
9176
+ "name": "borrowBalanceStored",
9177
+ "outputs": [
9178
+ {
9179
+ "internalType": "uint256",
9180
+ "name": "",
9181
+ "type": "uint256"
9182
+ }
9183
+ ],
9184
+ "stateMutability": "view",
9185
+ "type": "function"
9186
+ },
9187
+ {
9188
+ "inputs": [],
9189
+ "name": "borrowIndex",
9190
+ "outputs": [
9191
+ {
9192
+ "internalType": "uint256",
9193
+ "name": "",
9194
+ "type": "uint256"
9195
+ }
9196
+ ],
9197
+ "stateMutability": "view",
9198
+ "type": "function"
9199
+ },
9200
+ {
9201
+ "inputs": [],
9202
+ "name": "borrowRatePerBlock",
9203
+ "outputs": [
9204
+ {
9205
+ "internalType": "uint256",
9206
+ "name": "",
9207
+ "type": "uint256"
9208
+ }
9209
+ ],
9210
+ "stateMutability": "view",
9211
+ "type": "function"
9212
+ },
9213
+ {
9214
+ "inputs": [],
9215
+ "name": "comptroller",
9216
+ "outputs": [
9217
+ {
9218
+ "internalType": "address",
9219
+ "name": "",
9220
+ "type": "address"
9221
+ }
9222
+ ],
9223
+ "stateMutability": "view",
9224
+ "type": "function"
9225
+ },
9226
+ {
9227
+ "inputs": [],
9228
+ "name": "decimals",
9229
+ "outputs": [
9230
+ {
9231
+ "internalType": "uint8",
9232
+ "name": "",
9233
+ "type": "uint8"
9234
+ }
9235
+ ],
9236
+ "stateMutability": "view",
9237
+ "type": "function"
9238
+ },
9239
+ {
9240
+ "inputs": [],
9241
+ "name": "discountRateMantissa",
9242
+ "outputs": [
9243
+ {
9244
+ "internalType": "uint256",
9245
+ "name": "",
9246
+ "type": "uint256"
9247
+ }
9248
+ ],
9249
+ "stateMutability": "view",
9250
+ "type": "function"
9251
+ },
9252
+ {
9253
+ "inputs": [],
9254
+ "name": "exchangeRateCurrent",
9255
+ "outputs": [
9256
+ {
9257
+ "internalType": "uint256",
9258
+ "name": "",
9259
+ "type": "uint256"
9260
+ }
9261
+ ],
9262
+ "stateMutability": "nonpayable",
9263
+ "type": "function"
9264
+ },
9265
+ {
9266
+ "inputs": [],
9267
+ "name": "exchangeRateStored",
9268
+ "outputs": [
9269
+ {
9270
+ "internalType": "uint256",
9271
+ "name": "",
9272
+ "type": "uint256"
9273
+ }
9274
+ ],
9275
+ "stateMutability": "view",
9276
+ "type": "function"
9277
+ },
9278
+ {
9279
+ "inputs": [
9280
+ {
9281
+ "internalType": "address",
9282
+ "name": "account",
9283
+ "type": "address"
9284
+ }
9285
+ ],
9286
+ "name": "getAccountSnapshot",
9287
+ "outputs": [
9288
+ {
9289
+ "internalType": "uint256",
9290
+ "name": "",
9291
+ "type": "uint256"
9292
+ },
9293
+ {
9294
+ "internalType": "uint256",
9295
+ "name": "",
9296
+ "type": "uint256"
9297
+ },
9298
+ {
9299
+ "internalType": "uint256",
9300
+ "name": "",
9301
+ "type": "uint256"
9302
+ },
9303
+ {
9304
+ "internalType": "uint256",
9305
+ "name": "",
9306
+ "type": "uint256"
9307
+ }
9308
+ ],
9309
+ "stateMutability": "view",
9310
+ "type": "function"
9311
+ },
9312
+ {
9313
+ "inputs": [],
9314
+ "name": "getCash",
9315
+ "outputs": [
9316
+ {
9317
+ "internalType": "uint256",
9318
+ "name": "",
9319
+ "type": "uint256"
9320
+ }
9321
+ ],
9322
+ "stateMutability": "view",
9323
+ "type": "function"
9324
+ },
9325
+ {
9326
+ "inputs": [
9327
+ {
9328
+ "internalType": "address",
9329
+ "name": "comptroller_",
9330
+ "type": "address"
9331
+ },
9332
+ {
9333
+ "internalType": "address",
9334
+ "name": "interestRateModel_",
9335
+ "type": "address"
9336
+ },
9337
+ {
9338
+ "internalType": "uint256",
9339
+ "name": "initialExchangeRateMantissa_",
9340
+ "type": "uint256"
9341
+ },
9342
+ {
9343
+ "internalType": "string",
9344
+ "name": "name_",
9345
+ "type": "string"
9346
+ },
9347
+ {
9348
+ "internalType": "string",
9349
+ "name": "symbol_",
9350
+ "type": "string"
9351
+ },
9352
+ {
9353
+ "internalType": "uint8",
9354
+ "name": "decimals_",
9355
+ "type": "uint8"
9356
+ },
9357
+ {
9358
+ "internalType": "address payable",
9359
+ "name": "admin_",
9360
+ "type": "address"
9361
+ }
9362
+ ],
9363
+ "name": "initialize",
9364
+ "outputs": [],
9365
+ "stateMutability": "nonpayable",
9366
+ "type": "function"
9367
+ },
9368
+ {
9369
+ "inputs": [],
9370
+ "name": "initializeVersion2",
9371
+ "outputs": [],
9372
+ "stateMutability": "nonpayable",
9373
+ "type": "function"
9374
+ },
9375
+ {
9376
+ "inputs": [],
9377
+ "name": "interestRateModel",
9378
+ "outputs": [
9379
+ {
9380
+ "internalType": "address",
9381
+ "name": "",
9382
+ "type": "address"
9383
+ }
9384
+ ],
9385
+ "stateMutability": "view",
9386
+ "type": "function"
9387
+ },
9388
+ {
9389
+ "inputs": [],
9390
+ "name": "isCEther",
9391
+ "outputs": [
9392
+ {
9393
+ "internalType": "bool",
9394
+ "name": "",
9395
+ "type": "bool"
9396
+ }
9397
+ ],
9398
+ "stateMutability": "pure",
9399
+ "type": "function"
9400
+ },
9401
+ {
9402
+ "inputs": [],
9403
+ "name": "isCEtherDeprecated",
9404
+ "outputs": [
9405
+ {
9406
+ "internalType": "bool",
9407
+ "name": "",
9408
+ "type": "bool"
9409
+ }
9410
+ ],
9411
+ "stateMutability": "view",
9412
+ "type": "function"
9413
+ },
9414
+ {
9415
+ "inputs": [],
9416
+ "name": "isCToken",
9417
+ "outputs": [
9418
+ {
9419
+ "internalType": "bool",
9420
+ "name": "",
9421
+ "type": "bool"
9422
+ }
9423
+ ],
9424
+ "stateMutability": "pure",
9425
+ "type": "function"
9426
+ },
9427
+ {
9428
+ "inputs": [],
9429
+ "name": "isCTokenDeprecated",
9430
+ "outputs": [
9431
+ {
9432
+ "internalType": "bool",
9433
+ "name": "",
9434
+ "type": "bool"
9435
+ }
9436
+ ],
9437
+ "stateMutability": "view",
9438
+ "type": "function"
9439
+ },
9440
+ {
9441
+ "inputs": [
9442
+ {
9443
+ "internalType": "address",
9444
+ "name": "borrower",
9445
+ "type": "address"
9446
+ },
9447
+ {
9448
+ "internalType": "address",
9449
+ "name": "cTokenCollateral",
9450
+ "type": "address"
9451
+ }
9452
+ ],
9453
+ "name": "liquidateBorrow",
9454
+ "outputs": [],
9455
+ "stateMutability": "payable",
9456
+ "type": "function"
9457
+ },
9458
+ {
9459
+ "inputs": [
9460
+ {
9461
+ "internalType": "address",
9462
+ "name": "cTokenCollateral",
9463
+ "type": "address"
9464
+ },
9465
+ {
9466
+ "internalType": "uint256",
9467
+ "name": "actualRepayAmount",
9468
+ "type": "uint256"
9469
+ }
9470
+ ],
9471
+ "name": "liquidateCalculateSeizeTokens",
9472
+ "outputs": [
9473
+ {
9474
+ "internalType": "uint256",
9475
+ "name": "",
9476
+ "type": "uint256"
9477
+ },
9478
+ {
9479
+ "internalType": "uint256",
9480
+ "name": "",
9481
+ "type": "uint256"
9482
+ }
9483
+ ],
9484
+ "stateMutability": "view",
9485
+ "type": "function"
9486
+ },
9487
+ {
9488
+ "inputs": [],
9489
+ "name": "mint",
9490
+ "outputs": [],
9491
+ "stateMutability": "payable",
9492
+ "type": "function"
9493
+ },
9494
+ {
9495
+ "inputs": [],
9496
+ "name": "name",
9497
+ "outputs": [
9498
+ {
9499
+ "internalType": "string",
9500
+ "name": "",
9501
+ "type": "string"
9502
+ }
9503
+ ],
9504
+ "stateMutability": "view",
9505
+ "type": "function"
9506
+ },
9507
+ {
9508
+ "inputs": [],
9509
+ "name": "pendingAdmin",
9510
+ "outputs": [
9511
+ {
9512
+ "internalType": "address payable",
9513
+ "name": "",
9514
+ "type": "address"
9515
+ }
9516
+ ],
9517
+ "stateMutability": "view",
9518
+ "type": "function"
9519
+ },
9520
+ {
9521
+ "inputs": [],
9522
+ "name": "percentScale",
9523
+ "outputs": [
9524
+ {
9525
+ "internalType": "uint256",
9526
+ "name": "",
9527
+ "type": "uint256"
9528
+ }
9529
+ ],
9530
+ "stateMutability": "view",
9531
+ "type": "function"
9532
+ },
9533
+ {
9534
+ "inputs": [],
9535
+ "name": "protocolSeizeShareMantissa",
9536
+ "outputs": [
9537
+ {
9538
+ "internalType": "uint256",
9539
+ "name": "",
9540
+ "type": "uint256"
9541
+ }
9542
+ ],
9543
+ "stateMutability": "view",
9544
+ "type": "function"
9545
+ },
9546
+ {
9547
+ "inputs": [
9548
+ {
9549
+ "internalType": "uint256",
9550
+ "name": "redeemTokens",
9551
+ "type": "uint256"
9552
+ }
9553
+ ],
9554
+ "name": "redeem",
9555
+ "outputs": [],
9556
+ "stateMutability": "nonpayable",
9557
+ "type": "function"
9558
+ },
9559
+ {
9560
+ "inputs": [
9561
+ {
9562
+ "internalType": "uint256",
9563
+ "name": "redeemAmount",
9564
+ "type": "uint256"
9565
+ }
9566
+ ],
9567
+ "name": "redeemUnderlying",
9568
+ "outputs": [],
9569
+ "stateMutability": "nonpayable",
9570
+ "type": "function"
9571
+ },
9572
+ {
9573
+ "inputs": [],
9574
+ "name": "repayBorrow",
9575
+ "outputs": [],
9576
+ "stateMutability": "payable",
9577
+ "type": "function"
9578
+ },
9579
+ {
9580
+ "inputs": [
9581
+ {
9582
+ "internalType": "address",
9583
+ "name": "borrower",
9584
+ "type": "address"
9585
+ }
9586
+ ],
9587
+ "name": "repayBorrowBehalf",
9588
+ "outputs": [],
9589
+ "stateMutability": "payable",
9590
+ "type": "function"
9591
+ },
9592
+ {
9593
+ "inputs": [],
9594
+ "name": "reserveFactorMantissa",
9595
+ "outputs": [
9596
+ {
9597
+ "internalType": "uint256",
9598
+ "name": "",
9599
+ "type": "uint256"
9600
+ }
9601
+ ],
9602
+ "stateMutability": "view",
9603
+ "type": "function"
9604
+ },
9605
+ {
9606
+ "inputs": [
9607
+ {
9608
+ "internalType": "address",
9609
+ "name": "addr",
9610
+ "type": "address"
9611
+ }
9612
+ ],
9613
+ "name": "revokeWhitelist",
9614
+ "outputs": [],
9615
+ "stateMutability": "nonpayable",
9616
+ "type": "function"
9617
+ },
9618
+ {
9619
+ "inputs": [
9620
+ {
9621
+ "internalType": "address",
9622
+ "name": "liquidator",
9623
+ "type": "address"
9624
+ },
9625
+ {
9626
+ "internalType": "address",
9627
+ "name": "borrower",
9628
+ "type": "address"
9629
+ },
9630
+ {
9631
+ "internalType": "uint256",
9632
+ "name": "seizeTokens",
9633
+ "type": "uint256"
9634
+ },
9635
+ {
9636
+ "internalType": "uint256",
9637
+ "name": "seizeProfitTokens",
9638
+ "type": "uint256"
9639
+ },
9640
+ {
9641
+ "internalType": "bool",
9642
+ "name": "isRedemption",
9643
+ "type": "bool"
9644
+ },
9645
+ {
9646
+ "internalType": "uint256",
9647
+ "name": "redemptionRateMantissa",
9648
+ "type": "uint256"
9649
+ }
9650
+ ],
9651
+ "name": "seize",
9652
+ "outputs": [],
9653
+ "stateMutability": "nonpayable",
9654
+ "type": "function"
9655
+ },
9656
+ {
9657
+ "inputs": [],
9658
+ "name": "supplyRatePerBlock",
9659
+ "outputs": [
9660
+ {
9661
+ "internalType": "uint256",
9662
+ "name": "",
9663
+ "type": "uint256"
9664
+ }
9665
+ ],
9666
+ "stateMutability": "view",
9667
+ "type": "function"
9668
+ },
9669
+ {
9670
+ "inputs": [],
9671
+ "name": "symbol",
9672
+ "outputs": [
9673
+ {
9674
+ "internalType": "string",
9675
+ "name": "",
9676
+ "type": "string"
9677
+ }
9678
+ ],
9679
+ "stateMutability": "view",
9680
+ "type": "function"
9681
+ },
9682
+ {
9683
+ "inputs": [],
9684
+ "name": "tokenType",
9685
+ "outputs": [
9686
+ {
9687
+ "internalType": "enum CToken.CTokenType",
9688
+ "name": "",
9689
+ "type": "uint8"
9690
+ }
9691
+ ],
9692
+ "stateMutability": "pure",
9693
+ "type": "function"
9694
+ },
9695
+ {
9696
+ "inputs": [],
9697
+ "name": "totalBorrows",
9698
+ "outputs": [
9699
+ {
9700
+ "internalType": "uint256",
9701
+ "name": "",
9702
+ "type": "uint256"
9703
+ }
9704
+ ],
9705
+ "stateMutability": "view",
9706
+ "type": "function"
9707
+ },
9708
+ {
9709
+ "inputs": [],
9710
+ "name": "totalBorrowsCurrent",
9711
+ "outputs": [
9712
+ {
9713
+ "internalType": "uint256",
9714
+ "name": "",
9715
+ "type": "uint256"
9716
+ }
9717
+ ],
9718
+ "stateMutability": "nonpayable",
9719
+ "type": "function"
9720
+ },
9721
+ {
9722
+ "inputs": [],
9723
+ "name": "totalReserves",
9724
+ "outputs": [
9725
+ {
9726
+ "internalType": "uint256",
9727
+ "name": "",
9728
+ "type": "uint256"
9729
+ }
9730
+ ],
9731
+ "stateMutability": "view",
9732
+ "type": "function"
9733
+ },
9734
+ {
9735
+ "inputs": [],
9736
+ "name": "totalSupply",
9737
+ "outputs": [
9738
+ {
9739
+ "internalType": "uint256",
9740
+ "name": "",
9741
+ "type": "uint256"
9742
+ }
9743
+ ],
9744
+ "stateMutability": "view",
9745
+ "type": "function"
9746
+ },
9747
+ {
9748
+ "inputs": [
9749
+ {
9750
+ "internalType": "address",
9751
+ "name": "dst",
9752
+ "type": "address"
9753
+ },
9754
+ {
9755
+ "internalType": "uint256",
9756
+ "name": "amount",
9757
+ "type": "uint256"
9758
+ }
9759
+ ],
9760
+ "name": "transfer",
9761
+ "outputs": [
9762
+ {
9763
+ "internalType": "bool",
9764
+ "name": "",
9765
+ "type": "bool"
9766
+ }
9767
+ ],
9768
+ "stateMutability": "nonpayable",
9769
+ "type": "function"
9770
+ },
9771
+ {
9772
+ "inputs": [
9773
+ {
9774
+ "internalType": "address",
9775
+ "name": "src",
9776
+ "type": "address"
9777
+ },
9778
+ {
9779
+ "internalType": "address",
9780
+ "name": "dst",
9781
+ "type": "address"
9782
+ },
9783
+ {
9784
+ "internalType": "uint256",
9785
+ "name": "amount",
9786
+ "type": "uint256"
9787
+ }
9788
+ ],
9789
+ "name": "transferFrom",
9790
+ "outputs": [
9791
+ {
9792
+ "internalType": "bool",
9793
+ "name": "",
9794
+ "type": "bool"
9795
+ }
9796
+ ],
9797
+ "stateMutability": "nonpayable",
9798
+ "type": "function"
9799
+ },
9800
+ {
9801
+ "inputs": [],
9802
+ "name": "underlying",
9803
+ "outputs": [
9804
+ {
9805
+ "internalType": "address",
9806
+ "name": "",
9807
+ "type": "address"
9808
+ }
9809
+ ],
9810
+ "stateMutability": "view",
9811
+ "type": "function"
9812
+ },
9813
+ {
9814
+ "inputs": [],
9815
+ "name": "underlyingBalance",
9816
+ "outputs": [
9817
+ {
9818
+ "internalType": "uint256",
9819
+ "name": "",
9820
+ "type": "uint256"
9821
+ }
9822
+ ],
9823
+ "stateMutability": "view",
9824
+ "type": "function"
9825
+ },
9826
+ {
9827
+ "inputs": [
9828
+ {
9829
+ "internalType": "address",
9830
+ "name": "addr",
9831
+ "type": "address"
9832
+ }
9833
+ ],
9834
+ "name": "whitelist",
9835
+ "outputs": [],
9836
+ "stateMutability": "nonpayable",
9837
+ "type": "function"
9838
+ },
9839
+ {
9840
+ "inputs": [
9841
+ {
9842
+ "internalType": "address",
9843
+ "name": "",
9844
+ "type": "address"
9845
+ }
9846
+ ],
9847
+ "name": "whitelisted",
9848
+ "outputs": [
9849
+ {
9850
+ "internalType": "bool",
9851
+ "name": "",
9852
+ "type": "bool"
9853
+ }
9854
+ ],
9855
+ "stateMutability": "view",
9856
+ "type": "function"
9857
+ },
9858
+ {
9859
+ "stateMutability": "payable",
9860
+ "type": "receive"
9861
+ }
9862
+ ],
9863
+ "CToken": [
7342
9864
  {
7343
9865
  "inputs": [],
7344
9866
  "name": "AddReservesMarketNotFresh",
@@ -8874,6 +11396,19 @@ exports.abi = {
8874
11396
  "stateMutability": "view",
8875
11397
  "type": "function"
8876
11398
  },
11399
+ {
11400
+ "inputs": [
11401
+ {
11402
+ "internalType": "address",
11403
+ "name": "addr",
11404
+ "type": "address"
11405
+ }
11406
+ ],
11407
+ "name": "revokeWhitelist",
11408
+ "outputs": [],
11409
+ "stateMutability": "nonpayable",
11410
+ "type": "function"
11411
+ },
8877
11412
  {
8878
11413
  "inputs": [
8879
11414
  {
@@ -9068,6 +11603,38 @@ exports.abi = {
9068
11603
  ],
9069
11604
  "stateMutability": "view",
9070
11605
  "type": "function"
11606
+ },
11607
+ {
11608
+ "inputs": [
11609
+ {
11610
+ "internalType": "address",
11611
+ "name": "addr",
11612
+ "type": "address"
11613
+ }
11614
+ ],
11615
+ "name": "whitelist",
11616
+ "outputs": [],
11617
+ "stateMutability": "nonpayable",
11618
+ "type": "function"
11619
+ },
11620
+ {
11621
+ "inputs": [
11622
+ {
11623
+ "internalType": "address",
11624
+ "name": "",
11625
+ "type": "address"
11626
+ }
11627
+ ],
11628
+ "name": "whitelisted",
11629
+ "outputs": [
11630
+ {
11631
+ "internalType": "bool",
11632
+ "name": "",
11633
+ "type": "bool"
11634
+ }
11635
+ ],
11636
+ "stateMutability": "view",
11637
+ "type": "function"
9071
11638
  }
9072
11639
  ],
9073
11640
  "CTokenStorage": [
@@ -9755,6 +12322,25 @@ exports.abi = {
9755
12322
  ],
9756
12323
  "stateMutability": "view",
9757
12324
  "type": "function"
12325
+ },
12326
+ {
12327
+ "inputs": [
12328
+ {
12329
+ "internalType": "address",
12330
+ "name": "",
12331
+ "type": "address"
12332
+ }
12333
+ ],
12334
+ "name": "whitelisted",
12335
+ "outputs": [
12336
+ {
12337
+ "internalType": "bool",
12338
+ "name": "",
12339
+ "type": "bool"
12340
+ }
12341
+ ],
12342
+ "stateMutability": "view",
12343
+ "type": "function"
9758
12344
  }
9759
12345
  ],
9760
12346
  "suErc20": [
@@ -11580,6 +14166,19 @@ exports.abi = {
11580
14166
  "stateMutability": "view",
11581
14167
  "type": "function"
11582
14168
  },
14169
+ {
14170
+ "inputs": [
14171
+ {
14172
+ "internalType": "address",
14173
+ "name": "addr",
14174
+ "type": "address"
14175
+ }
14176
+ ],
14177
+ "name": "revokeWhitelist",
14178
+ "outputs": [],
14179
+ "stateMutability": "nonpayable",
14180
+ "type": "function"
14181
+ },
11583
14182
  {
11584
14183
  "inputs": [
11585
14184
  {
@@ -11800,6 +14399,38 @@ exports.abi = {
11800
14399
  ],
11801
14400
  "stateMutability": "view",
11802
14401
  "type": "function"
14402
+ },
14403
+ {
14404
+ "inputs": [
14405
+ {
14406
+ "internalType": "address",
14407
+ "name": "addr",
14408
+ "type": "address"
14409
+ }
14410
+ ],
14411
+ "name": "whitelist",
14412
+ "outputs": [],
14413
+ "stateMutability": "nonpayable",
14414
+ "type": "function"
14415
+ },
14416
+ {
14417
+ "inputs": [
14418
+ {
14419
+ "internalType": "address",
14420
+ "name": "",
14421
+ "type": "address"
14422
+ }
14423
+ ],
14424
+ "name": "whitelisted",
14425
+ "outputs": [
14426
+ {
14427
+ "internalType": "bool",
14428
+ "name": "",
14429
+ "type": "bool"
14430
+ }
14431
+ ],
14432
+ "stateMutability": "view",
14433
+ "type": "function"
11803
14434
  }
11804
14435
  ],
11805
14436
  "CompLogic": [
@@ -25361,6 +27992,19 @@ exports.abi = {
25361
27992
  "stateMutability": "view",
25362
27993
  "type": "function"
25363
27994
  },
27995
+ {
27996
+ "inputs": [
27997
+ {
27998
+ "internalType": "address",
27999
+ "name": "addr",
28000
+ "type": "address"
28001
+ }
28002
+ ],
28003
+ "name": "revokeWhitelist",
28004
+ "outputs": [],
28005
+ "stateMutability": "nonpayable",
28006
+ "type": "function"
28007
+ },
25364
28008
  {
25365
28009
  "inputs": [
25366
28010
  {
@@ -25600,6 +28244,38 @@ exports.abi = {
25600
28244
  ],
25601
28245
  "stateMutability": "view",
25602
28246
  "type": "function"
28247
+ },
28248
+ {
28249
+ "inputs": [
28250
+ {
28251
+ "internalType": "address",
28252
+ "name": "addr",
28253
+ "type": "address"
28254
+ }
28255
+ ],
28256
+ "name": "whitelist",
28257
+ "outputs": [],
28258
+ "stateMutability": "nonpayable",
28259
+ "type": "function"
28260
+ },
28261
+ {
28262
+ "inputs": [
28263
+ {
28264
+ "internalType": "address",
28265
+ "name": "",
28266
+ "type": "address"
28267
+ }
28268
+ ],
28269
+ "name": "whitelisted",
28270
+ "outputs": [
28271
+ {
28272
+ "internalType": "bool",
28273
+ "name": "",
28274
+ "type": "bool"
28275
+ }
28276
+ ],
28277
+ "stateMutability": "view",
28278
+ "type": "function"
25603
28279
  }
25604
28280
  ],
25605
28281
  "IPool": [
@@ -26046,57 +28722,306 @@ exports.abi = {
26046
28722
  {
26047
28723
  "inputs": [
26048
28724
  {
26049
- "internalType": "uint256",
26050
- "name": "rate",
26051
- "type": "uint256"
28725
+ "internalType": "uint256",
28726
+ "name": "rate",
28727
+ "type": "uint256"
28728
+ }
28729
+ ],
28730
+ "name": "setBorrowRate",
28731
+ "outputs": [],
28732
+ "stateMutability": "nonpayable",
28733
+ "type": "function"
28734
+ },
28735
+ {
28736
+ "inputs": [
28737
+ {
28738
+ "internalType": "uint256",
28739
+ "name": "rate",
28740
+ "type": "uint256"
28741
+ }
28742
+ ],
28743
+ "name": "setSupplyRate",
28744
+ "outputs": [],
28745
+ "stateMutability": "nonpayable",
28746
+ "type": "function"
28747
+ },
28748
+ {
28749
+ "inputs": [],
28750
+ "name": "supplyRate",
28751
+ "outputs": [
28752
+ {
28753
+ "internalType": "uint256",
28754
+ "name": "",
28755
+ "type": "uint256"
28756
+ }
28757
+ ],
28758
+ "stateMutability": "view",
28759
+ "type": "function"
28760
+ },
28761
+ {
28762
+ "inputs": [
28763
+ {
28764
+ "internalType": "address",
28765
+ "name": "newOwner",
28766
+ "type": "address"
28767
+ }
28768
+ ],
28769
+ "name": "transferOwnership",
28770
+ "outputs": [],
28771
+ "stateMutability": "nonpayable",
28772
+ "type": "function"
28773
+ }
28774
+ ],
28775
+ "InterestRateModel": [
28776
+ {
28777
+ "anonymous": false,
28778
+ "inputs": [
28779
+ {
28780
+ "indexed": true,
28781
+ "internalType": "address",
28782
+ "name": "previousOwner",
28783
+ "type": "address"
28784
+ },
28785
+ {
28786
+ "indexed": true,
28787
+ "internalType": "address",
28788
+ "name": "newOwner",
28789
+ "type": "address"
28790
+ }
28791
+ ],
28792
+ "name": "OwnershipTransferStarted",
28793
+ "type": "event"
28794
+ },
28795
+ {
28796
+ "anonymous": false,
28797
+ "inputs": [
28798
+ {
28799
+ "indexed": true,
28800
+ "internalType": "address",
28801
+ "name": "previousOwner",
28802
+ "type": "address"
28803
+ },
28804
+ {
28805
+ "indexed": true,
28806
+ "internalType": "address",
28807
+ "name": "newOwner",
28808
+ "type": "address"
28809
+ }
28810
+ ],
28811
+ "name": "OwnershipTransferred",
28812
+ "type": "event"
28813
+ },
28814
+ {
28815
+ "inputs": [],
28816
+ "name": "acceptOwnership",
28817
+ "outputs": [],
28818
+ "stateMutability": "nonpayable",
28819
+ "type": "function"
28820
+ },
28821
+ {
28822
+ "inputs": [
28823
+ {
28824
+ "internalType": "uint256",
28825
+ "name": "cash",
28826
+ "type": "uint256"
28827
+ },
28828
+ {
28829
+ "internalType": "uint256",
28830
+ "name": "borrows",
28831
+ "type": "uint256"
28832
+ },
28833
+ {
28834
+ "internalType": "uint256",
28835
+ "name": "reserves",
28836
+ "type": "uint256"
28837
+ }
28838
+ ],
28839
+ "name": "getBorrowRate",
28840
+ "outputs": [
28841
+ {
28842
+ "internalType": "uint256",
28843
+ "name": "",
28844
+ "type": "uint256"
28845
+ }
28846
+ ],
28847
+ "stateMutability": "view",
28848
+ "type": "function"
28849
+ },
28850
+ {
28851
+ "inputs": [
28852
+ {
28853
+ "internalType": "uint256",
28854
+ "name": "cash",
28855
+ "type": "uint256"
28856
+ },
28857
+ {
28858
+ "internalType": "uint256",
28859
+ "name": "borrows",
28860
+ "type": "uint256"
28861
+ },
28862
+ {
28863
+ "internalType": "uint256",
28864
+ "name": "reserves",
28865
+ "type": "uint256"
28866
+ },
28867
+ {
28868
+ "internalType": "uint256",
28869
+ "name": "reserveFactorMantissa",
28870
+ "type": "uint256"
28871
+ }
28872
+ ],
28873
+ "name": "getSupplyRate",
28874
+ "outputs": [
28875
+ {
28876
+ "internalType": "uint256",
28877
+ "name": "",
28878
+ "type": "uint256"
28879
+ }
28880
+ ],
28881
+ "stateMutability": "view",
28882
+ "type": "function"
28883
+ },
28884
+ {
28885
+ "inputs": [],
28886
+ "name": "isInterestRateModel",
28887
+ "outputs": [
28888
+ {
28889
+ "internalType": "bool",
28890
+ "name": "",
28891
+ "type": "bool"
28892
+ }
28893
+ ],
28894
+ "stateMutability": "view",
28895
+ "type": "function"
28896
+ },
28897
+ {
28898
+ "inputs": [],
28899
+ "name": "owner",
28900
+ "outputs": [
28901
+ {
28902
+ "internalType": "address",
28903
+ "name": "",
28904
+ "type": "address"
28905
+ }
28906
+ ],
28907
+ "stateMutability": "view",
28908
+ "type": "function"
28909
+ },
28910
+ {
28911
+ "inputs": [],
28912
+ "name": "pendingOwner",
28913
+ "outputs": [
28914
+ {
28915
+ "internalType": "address",
28916
+ "name": "",
28917
+ "type": "address"
28918
+ }
28919
+ ],
28920
+ "stateMutability": "view",
28921
+ "type": "function"
28922
+ },
28923
+ {
28924
+ "inputs": [],
28925
+ "name": "renounceOwnership",
28926
+ "outputs": [],
28927
+ "stateMutability": "nonpayable",
28928
+ "type": "function"
28929
+ },
28930
+ {
28931
+ "inputs": [],
28932
+ "name": "secondsPerYear",
28933
+ "outputs": [
28934
+ {
28935
+ "internalType": "uint256",
28936
+ "name": "",
28937
+ "type": "uint256"
28938
+ }
28939
+ ],
28940
+ "stateMutability": "view",
28941
+ "type": "function"
28942
+ },
28943
+ {
28944
+ "inputs": [
28945
+ {
28946
+ "internalType": "address",
28947
+ "name": "newOwner",
28948
+ "type": "address"
26052
28949
  }
26053
28950
  ],
26054
- "name": "setBorrowRate",
28951
+ "name": "transferOwnership",
26055
28952
  "outputs": [],
26056
28953
  "stateMutability": "nonpayable",
26057
28954
  "type": "function"
26058
- },
28955
+ }
28956
+ ],
28957
+ "JumpRateModelForAave": [
26059
28958
  {
26060
28959
  "inputs": [
26061
28960
  {
26062
28961
  "internalType": "uint256",
26063
- "name": "rate",
28962
+ "name": "baseRatePerYear",
26064
28963
  "type": "uint256"
26065
- }
26066
- ],
26067
- "name": "setSupplyRate",
26068
- "outputs": [],
26069
- "stateMutability": "nonpayable",
26070
- "type": "function"
26071
- },
26072
- {
26073
- "inputs": [],
26074
- "name": "supplyRate",
26075
- "outputs": [
28964
+ },
26076
28965
  {
26077
28966
  "internalType": "uint256",
26078
- "name": "",
28967
+ "name": "multiplierPerYear",
28968
+ "type": "uint256"
28969
+ },
28970
+ {
28971
+ "internalType": "uint256",
28972
+ "name": "jumpMultiplierPerYear",
28973
+ "type": "uint256"
28974
+ },
28975
+ {
28976
+ "internalType": "uint256",
28977
+ "name": "kink_",
26079
28978
  "type": "uint256"
28979
+ },
28980
+ {
28981
+ "internalType": "contract IAaveV3Pool",
28982
+ "name": "aaveV3Pool_",
28983
+ "type": "address"
28984
+ },
28985
+ {
28986
+ "internalType": "address",
28987
+ "name": "underlying_",
28988
+ "type": "address"
26080
28989
  }
26081
28990
  ],
26082
- "stateMutability": "view",
26083
- "type": "function"
28991
+ "stateMutability": "nonpayable",
28992
+ "type": "constructor"
26084
28993
  },
26085
28994
  {
28995
+ "anonymous": false,
26086
28996
  "inputs": [
26087
28997
  {
26088
- "internalType": "address",
26089
- "name": "newOwner",
26090
- "type": "address"
28998
+ "indexed": false,
28999
+ "internalType": "uint256",
29000
+ "name": "baseRatePerSecond",
29001
+ "type": "uint256"
29002
+ },
29003
+ {
29004
+ "indexed": false,
29005
+ "internalType": "uint256",
29006
+ "name": "multiplierPerSecond",
29007
+ "type": "uint256"
29008
+ },
29009
+ {
29010
+ "indexed": false,
29011
+ "internalType": "uint256",
29012
+ "name": "jumpMultiplierPerSecond",
29013
+ "type": "uint256"
29014
+ },
29015
+ {
29016
+ "indexed": false,
29017
+ "internalType": "uint256",
29018
+ "name": "kink",
29019
+ "type": "uint256"
26091
29020
  }
26092
29021
  ],
26093
- "name": "transferOwnership",
26094
- "outputs": [],
26095
- "stateMutability": "nonpayable",
26096
- "type": "function"
26097
- }
26098
- ],
26099
- "InterestRateModel": [
29022
+ "name": "NewInterestParams",
29023
+ "type": "event"
29024
+ },
26100
29025
  {
26101
29026
  "anonymous": false,
26102
29027
  "inputs": [
@@ -26142,6 +29067,19 @@ exports.abi = {
26142
29067
  "stateMutability": "nonpayable",
26143
29068
  "type": "function"
26144
29069
  },
29070
+ {
29071
+ "inputs": [],
29072
+ "name": "baseRatePerSecond",
29073
+ "outputs": [
29074
+ {
29075
+ "internalType": "uint256",
29076
+ "name": "",
29077
+ "type": "uint256"
29078
+ }
29079
+ ],
29080
+ "stateMutability": "view",
29081
+ "type": "function"
29082
+ },
26145
29083
  {
26146
29084
  "inputs": [
26147
29085
  {
@@ -26218,6 +29156,45 @@ exports.abi = {
26218
29156
  "stateMutability": "view",
26219
29157
  "type": "function"
26220
29158
  },
29159
+ {
29160
+ "inputs": [],
29161
+ "name": "jumpMultiplierPerSecond",
29162
+ "outputs": [
29163
+ {
29164
+ "internalType": "uint256",
29165
+ "name": "",
29166
+ "type": "uint256"
29167
+ }
29168
+ ],
29169
+ "stateMutability": "view",
29170
+ "type": "function"
29171
+ },
29172
+ {
29173
+ "inputs": [],
29174
+ "name": "kink",
29175
+ "outputs": [
29176
+ {
29177
+ "internalType": "uint256",
29178
+ "name": "",
29179
+ "type": "uint256"
29180
+ }
29181
+ ],
29182
+ "stateMutability": "view",
29183
+ "type": "function"
29184
+ },
29185
+ {
29186
+ "inputs": [],
29187
+ "name": "multiplierPerSecond",
29188
+ "outputs": [
29189
+ {
29190
+ "internalType": "uint256",
29191
+ "name": "",
29192
+ "type": "uint256"
29193
+ }
29194
+ ],
29195
+ "stateMutability": "view",
29196
+ "type": "function"
29197
+ },
26221
29198
  {
26222
29199
  "inputs": [],
26223
29200
  "name": "owner",
@@ -26276,6 +29253,63 @@ exports.abi = {
26276
29253
  "outputs": [],
26277
29254
  "stateMutability": "nonpayable",
26278
29255
  "type": "function"
29256
+ },
29257
+ {
29258
+ "inputs": [
29259
+ {
29260
+ "internalType": "uint256",
29261
+ "name": "baseRatePerYear",
29262
+ "type": "uint256"
29263
+ },
29264
+ {
29265
+ "internalType": "uint256",
29266
+ "name": "multiplierPerYear",
29267
+ "type": "uint256"
29268
+ },
29269
+ {
29270
+ "internalType": "uint256",
29271
+ "name": "jumpMultiplierPerYear",
29272
+ "type": "uint256"
29273
+ },
29274
+ {
29275
+ "internalType": "uint256",
29276
+ "name": "kink_",
29277
+ "type": "uint256"
29278
+ }
29279
+ ],
29280
+ "name": "updateJumpRateModel",
29281
+ "outputs": [],
29282
+ "stateMutability": "nonpayable",
29283
+ "type": "function"
29284
+ },
29285
+ {
29286
+ "inputs": [
29287
+ {
29288
+ "internalType": "uint256",
29289
+ "name": "cash",
29290
+ "type": "uint256"
29291
+ },
29292
+ {
29293
+ "internalType": "uint256",
29294
+ "name": "borrows",
29295
+ "type": "uint256"
29296
+ },
29297
+ {
29298
+ "internalType": "uint256",
29299
+ "name": "reserves",
29300
+ "type": "uint256"
29301
+ }
29302
+ ],
29303
+ "name": "utilizationRate",
29304
+ "outputs": [
29305
+ {
29306
+ "internalType": "uint256",
29307
+ "name": "",
29308
+ "type": "uint256"
29309
+ }
29310
+ ],
29311
+ "stateMutability": "pure",
29312
+ "type": "function"
26279
29313
  }
26280
29314
  ],
26281
29315
  "JumpRateModelV2": [
@@ -35054,6 +38088,77 @@ exports.abi = {
35054
38088
  "type": "function"
35055
38089
  }
35056
38090
  ],
38091
+ "IAprMon": [
38092
+ {
38093
+ "inputs": [
38094
+ {
38095
+ "internalType": "uint256",
38096
+ "name": "shares",
38097
+ "type": "uint256"
38098
+ }
38099
+ ],
38100
+ "name": "convertToAssets",
38101
+ "outputs": [
38102
+ {
38103
+ "internalType": "uint256",
38104
+ "name": "",
38105
+ "type": "uint256"
38106
+ }
38107
+ ],
38108
+ "stateMutability": "view",
38109
+ "type": "function"
38110
+ },
38111
+ {
38112
+ "inputs": [
38113
+ {
38114
+ "internalType": "uint256",
38115
+ "name": "amount",
38116
+ "type": "uint256"
38117
+ }
38118
+ ],
38119
+ "name": "convertToShares",
38120
+ "outputs": [
38121
+ {
38122
+ "internalType": "uint256",
38123
+ "name": "",
38124
+ "type": "uint256"
38125
+ }
38126
+ ],
38127
+ "stateMutability": "view",
38128
+ "type": "function"
38129
+ }
38130
+ ],
38131
+ "aprMONAdapter": [
38132
+ {
38133
+ "inputs": [
38134
+ {
38135
+ "internalType": "address",
38136
+ "name": "_correlatedToken",
38137
+ "type": "address"
38138
+ },
38139
+ {
38140
+ "internalType": "address",
38141
+ "name": "_underlyingToken",
38142
+ "type": "address"
38143
+ }
38144
+ ],
38145
+ "stateMutability": "nonpayable",
38146
+ "type": "constructor"
38147
+ },
38148
+ {
38149
+ "inputs": [],
38150
+ "name": "exchangeRate",
38151
+ "outputs": [
38152
+ {
38153
+ "internalType": "uint256",
38154
+ "name": "",
38155
+ "type": "uint256"
38156
+ }
38157
+ ],
38158
+ "stateMutability": "view",
38159
+ "type": "function"
38160
+ }
38161
+ ],
35057
38162
  "IDualCore": [
35058
38163
  {
35059
38164
  "inputs": [