@meterio/sumer-js 0.1.43 → 0.1.44

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 (149) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +36 -74
  3. package/dist/nodejs/abi.js +406 -650
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/arbitrum.d.ts +1 -0
  6. package/dist/nodejs/constants/arbitrum.js +1 -0
  7. package/dist/nodejs/constants/arbitrum.js.map +1 -1
  8. package/dist/nodejs/constants/metertest.d.ts +2 -10
  9. package/dist/nodejs/constants/metertest.js +2 -11
  10. package/dist/nodejs/constants/metertest.js.map +1 -1
  11. package/dist/nodejs/index.d.ts +36 -74
  12. package/dist/nodejs/typechain/@openzeppelin/contracts/governance/TimelockController.d.ts +1 -16
  13. package/dist/nodejs/typechain/@openzeppelin/contracts/interfaces/index.d.ts +0 -2
  14. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.d.ts +108 -0
  15. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.js +3 -0
  16. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.js.map +1 -0
  17. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/index.d.ts +1 -2
  18. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.d.ts +61 -0
  19. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.js +3 -0
  20. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.js.map +1 -0
  21. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.d.ts +1 -0
  22. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js +3 -0
  23. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js.map +1 -0
  24. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +2 -1
  25. package/dist/nodejs/typechain/@openzeppelin/contracts/utils/index.d.ts +0 -3
  26. package/dist/nodejs/typechain/contracts/ERC20/ERC20MinterBurnerPauserPermit.d.ts +2 -57
  27. package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestRateModel.d.ts +139 -0
  28. package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestRateModel.js +3 -0
  29. package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestRateModel.js.map +1 -0
  30. package/dist/nodejs/typechain/contracts/InterestRateModel/InterestRateModel.d.ts +60 -4
  31. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelV2.d.ts +53 -3
  32. package/dist/nodejs/typechain/contracts/InterestRateModel/WhitePaperInterestRateModel.d.ts +57 -3
  33. package/dist/nodejs/typechain/contracts/InterestRateModel/index.d.ts +1 -6
  34. package/dist/nodejs/typechain/contracts/SumerTimelockController.d.ts +1 -16
  35. package/dist/nodejs/typechain/contracts/proxy/SumerProxy.d.ts +45 -2
  36. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.d.ts +9 -24
  37. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.js +9 -28
  38. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.js.map +1 -1
  39. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/index.d.ts +0 -2
  40. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/index.js +1 -5
  41. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/index.js.map +1 -1
  42. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.d.ts +1 -1
  43. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.js +1 -1
  44. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +6 -6
  45. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js +6 -6
  46. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js.map +1 -1
  47. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.d.ts +133 -0
  48. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.js +184 -0
  49. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.js.map +1 -0
  50. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/index.d.ts +1 -1
  51. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/index.js +3 -25
  52. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/index.js.map +1 -1
  53. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.d.ts +1 -1
  54. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.js +1 -1
  55. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.d.ts +65 -0
  56. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.js +95 -0
  57. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.js.map +1 -0
  58. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.d.ts +1 -0
  59. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js +9 -0
  60. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js.map +1 -0
  61. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +1 -1
  62. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js +25 -3
  63. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js.map +1 -1
  64. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.d.ts +1 -1
  65. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.js +1 -1
  66. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/index.d.ts +0 -2
  67. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/index.js +1 -4
  68. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/index.js.map +1 -1
  69. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -1
  70. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -1
  71. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -1
  72. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -1
  73. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -1
  74. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -1
  75. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.d.ts +1 -1
  76. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js +1 -1
  77. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -1
  78. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -1
  79. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +1 -1
  80. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +1 -1
  81. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +1 -1
  82. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +1 -1
  83. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +1 -1
  84. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +1 -1
  85. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
  86. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
  87. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.d.ts +1 -52
  88. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.js +1 -66
  89. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.js.map +1 -1
  90. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.d.ts +1 -1
  91. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.js +1 -1
  92. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestModel.sol/FixedRateModel__factory.d.ts +1 -1
  93. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestModel.sol/FixedRateModel__factory.js +1 -1
  94. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.d.ts +204 -0
  95. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.js +275 -0
  96. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.js.map +1 -0
  97. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.d.ts +72 -0
  98. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.js +91 -0
  99. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.js.map +1 -1
  100. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.d.ts +66 -8
  101. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.js +83 -10
  102. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.js.map +1 -1
  103. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModel__factory.d.ts +1 -1
  104. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModel__factory.js +1 -1
  105. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.d.ts +73 -1
  106. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.js +92 -1
  107. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.js.map +1 -1
  108. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/ZeroInterestRateModel__factory.d.ts +1 -1
  109. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/ZeroInterestRateModel__factory.js +1 -1
  110. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.d.ts +1 -4
  111. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js +3 -30
  112. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js.map +1 -1
  113. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/suTokenInterestModel.sol/SuTokenRateModel__factory.d.ts +1 -1
  114. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/suTokenInterestModel.sol/SuTokenRateModel__factory.js +1 -1
  115. package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.d.ts +1 -1
  116. package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.js +1 -1
  117. package/dist/nodejs/typechain/factories/contracts/Oracle/ChainlinkFeedAdaptor_ETHToUSD__factory.d.ts +1 -1
  118. package/dist/nodejs/typechain/factories/contracts/Oracle/ChainlinkFeedAdaptor_ETHToUSD__factory.js +1 -1
  119. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.d.ts +1 -1
  120. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.js +1 -1
  121. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +1 -1
  122. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +1 -1
  123. package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.d.ts +9 -24
  124. package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.js +9 -28
  125. package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.js.map +1 -1
  126. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +1 -33
  127. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +1 -43
  128. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
  129. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.d.ts +6 -6
  130. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js +6 -6
  131. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js.map +1 -1
  132. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.d.ts +55 -1
  133. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js +71 -1
  134. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js.map +1 -1
  135. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.d.ts +1 -1
  136. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js +1 -1
  137. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js.map +1 -1
  138. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.d.ts +1 -1
  139. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.js +1 -1
  140. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.d.ts +1 -1
  141. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.js +1 -1
  142. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.d.ts +1 -1
  143. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js +1 -1
  144. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js.map +1 -1
  145. package/dist/nodejs/typechain/hardhat.d.ts +26 -170
  146. package/dist/nodejs/typechain/index.d.ts +6 -22
  147. package/dist/nodejs/typechain/index.js +7 -24
  148. package/dist/nodejs/typechain/index.js.map +1 -1
  149. package/package.json +1 -1
@@ -762,25 +762,6 @@ exports.abi = {
762
762
  "name": "CallExecuted",
763
763
  "type": "event"
764
764
  },
765
- {
766
- "anonymous": false,
767
- "inputs": [
768
- {
769
- "indexed": true,
770
- "internalType": "bytes32",
771
- "name": "id",
772
- "type": "bytes32"
773
- },
774
- {
775
- "indexed": false,
776
- "internalType": "bytes32",
777
- "name": "salt",
778
- "type": "bytes32"
779
- }
780
- ],
781
- "name": "CallSalt",
782
- "type": "event"
783
- },
784
765
  {
785
766
  "anonymous": false,
786
767
  "inputs": [
@@ -1087,7 +1068,7 @@ exports.abi = {
1087
1068
  "outputs": [
1088
1069
  {
1089
1070
  "internalType": "uint256",
1090
- "name": "",
1071
+ "name": "duration",
1091
1072
  "type": "uint256"
1092
1073
  }
1093
1074
  ],
@@ -1125,7 +1106,7 @@ exports.abi = {
1125
1106
  "outputs": [
1126
1107
  {
1127
1108
  "internalType": "uint256",
1128
- "name": "",
1109
+ "name": "timestamp",
1129
1110
  "type": "uint256"
1130
1111
  }
1131
1112
  ],
@@ -1206,7 +1187,7 @@ exports.abi = {
1206
1187
  "outputs": [
1207
1188
  {
1208
1189
  "internalType": "bytes32",
1209
- "name": "",
1190
+ "name": "hash",
1210
1191
  "type": "bytes32"
1211
1192
  }
1212
1193
  ],
@@ -1245,7 +1226,7 @@ exports.abi = {
1245
1226
  "outputs": [
1246
1227
  {
1247
1228
  "internalType": "bytes32",
1248
- "name": "",
1229
+ "name": "hash",
1249
1230
  "type": "bytes32"
1250
1231
  }
1251
1232
  ],
@@ -1264,7 +1245,7 @@ exports.abi = {
1264
1245
  "outputs": [
1265
1246
  {
1266
1247
  "internalType": "bool",
1267
- "name": "",
1248
+ "name": "registered",
1268
1249
  "type": "bool"
1269
1250
  }
1270
1251
  ],
@@ -1283,7 +1264,7 @@ exports.abi = {
1283
1264
  "outputs": [
1284
1265
  {
1285
1266
  "internalType": "bool",
1286
- "name": "",
1267
+ "name": "done",
1287
1268
  "type": "bool"
1288
1269
  }
1289
1270
  ],
@@ -1302,7 +1283,7 @@ exports.abi = {
1302
1283
  "outputs": [
1303
1284
  {
1304
1285
  "internalType": "bool",
1305
- "name": "",
1286
+ "name": "pending",
1306
1287
  "type": "bool"
1307
1288
  }
1308
1289
  ],
@@ -1321,7 +1302,7 @@ exports.abi = {
1321
1302
  "outputs": [
1322
1303
  {
1323
1304
  "internalType": "bool",
1324
- "name": "",
1305
+ "name": "ready",
1325
1306
  "type": "bool"
1326
1307
  }
1327
1308
  ],
@@ -1626,22 +1607,6 @@ exports.abi = {
1626
1607
  "name": "AddReservesOverflow",
1627
1608
  "type": "error"
1628
1609
  },
1629
- {
1630
- "inputs": [
1631
- {
1632
- "internalType": "uint256",
1633
- "name": "capacity",
1634
- "type": "uint256"
1635
- },
1636
- {
1637
- "internalType": "uint256",
1638
- "name": "requested",
1639
- "type": "uint256"
1640
- }
1641
- ],
1642
- "name": "AggregateValueMaxCapacityExceeded",
1643
- "type": "error"
1644
- },
1645
1610
  {
1646
1611
  "inputs": [
1647
1612
  {
@@ -1694,11 +1659,6 @@ exports.abi = {
1694
1659
  "name": "BorrowValueMustBeLargerThanThreshold",
1695
1660
  "type": "error"
1696
1661
  },
1697
- {
1698
- "inputs": [],
1699
- "name": "BucketOverfilled",
1700
- "type": "error"
1701
- },
1702
1662
  {
1703
1663
  "inputs": [],
1704
1664
  "name": "CantExitMarketWithNonZeroBorrowBalance",
@@ -2009,27 +1969,6 @@ exports.abi = {
2009
1969
  "name": "TokenInOrAmountInMustBeZero",
2010
1970
  "type": "error"
2011
1971
  },
2012
- {
2013
- "inputs": [
2014
- {
2015
- "internalType": "uint256",
2016
- "name": "capacity",
2017
- "type": "uint256"
2018
- },
2019
- {
2020
- "internalType": "uint256",
2021
- "name": "requested",
2022
- "type": "uint256"
2023
- },
2024
- {
2025
- "internalType": "address",
2026
- "name": "tokenAddress",
2027
- "type": "address"
2028
- }
2029
- ],
2030
- "name": "TokenMaxCapacityExceeded",
2031
- "type": "error"
2032
- },
2033
1972
  {
2034
1973
  "inputs": [
2035
1974
  {
@@ -20369,22 +20308,6 @@ exports.abi = {
20369
20308
  "stateMutability": "nonpayable",
20370
20309
  "type": "constructor"
20371
20310
  },
20372
- {
20373
- "inputs": [],
20374
- "name": "InvalidShortString",
20375
- "type": "error"
20376
- },
20377
- {
20378
- "inputs": [
20379
- {
20380
- "internalType": "string",
20381
- "name": "str",
20382
- "type": "string"
20383
- }
20384
- ],
20385
- "name": "StringTooLong",
20386
- "type": "error"
20387
- },
20388
20311
  {
20389
20312
  "anonymous": false,
20390
20313
  "inputs": [
@@ -20410,12 +20333,6 @@ exports.abi = {
20410
20333
  "name": "Approval",
20411
20334
  "type": "event"
20412
20335
  },
20413
- {
20414
- "anonymous": false,
20415
- "inputs": [],
20416
- "name": "EIP712DomainChanged",
20417
- "type": "event"
20418
- },
20419
20336
  {
20420
20337
  "anonymous": false,
20421
20338
  "inputs": [
@@ -20729,49 +20646,6 @@ exports.abi = {
20729
20646
  "stateMutability": "nonpayable",
20730
20647
  "type": "function"
20731
20648
  },
20732
- {
20733
- "inputs": [],
20734
- "name": "eip712Domain",
20735
- "outputs": [
20736
- {
20737
- "internalType": "bytes1",
20738
- "name": "fields",
20739
- "type": "bytes1"
20740
- },
20741
- {
20742
- "internalType": "string",
20743
- "name": "name",
20744
- "type": "string"
20745
- },
20746
- {
20747
- "internalType": "string",
20748
- "name": "version",
20749
- "type": "string"
20750
- },
20751
- {
20752
- "internalType": "uint256",
20753
- "name": "chainId",
20754
- "type": "uint256"
20755
- },
20756
- {
20757
- "internalType": "address",
20758
- "name": "verifyingContract",
20759
- "type": "address"
20760
- },
20761
- {
20762
- "internalType": "bytes32",
20763
- "name": "salt",
20764
- "type": "bytes32"
20765
- },
20766
- {
20767
- "internalType": "uint256[]",
20768
- "name": "extensions",
20769
- "type": "uint256[]"
20770
- }
20771
- ],
20772
- "stateMutability": "view",
20773
- "type": "function"
20774
- },
20775
20649
  {
20776
20650
  "inputs": [
20777
20651
  {
@@ -21189,7 +21063,7 @@ exports.abi = {
21189
21063
  }
21190
21064
  ],
21191
21065
  "ExponentialNoErrorNew": [],
21192
- "FixedRateModel": [
21066
+ "FixedInterestRateModel": [
21193
21067
  {
21194
21068
  "inputs": [
21195
21069
  {
@@ -21207,31 +21081,63 @@ exports.abi = {
21207
21081
  "type": "constructor"
21208
21082
  },
21209
21083
  {
21210
- "inputs": [],
21211
- "name": "borrowRate",
21212
- "outputs": [
21084
+ "anonymous": false,
21085
+ "inputs": [
21213
21086
  {
21214
- "internalType": "uint256",
21215
- "name": "",
21216
- "type": "uint256"
21087
+ "indexed": true,
21088
+ "internalType": "address",
21089
+ "name": "previousOwner",
21090
+ "type": "address"
21091
+ },
21092
+ {
21093
+ "indexed": true,
21094
+ "internalType": "address",
21095
+ "name": "newOwner",
21096
+ "type": "address"
21217
21097
  }
21218
21098
  ],
21219
- "stateMutability": "view",
21220
- "type": "function"
21099
+ "name": "OwnershipTransferStarted",
21100
+ "type": "event"
21221
21101
  },
21222
21102
  {
21103
+ "anonymous": false,
21223
21104
  "inputs": [
21224
21105
  {
21106
+ "indexed": true,
21225
21107
  "internalType": "address",
21226
- "name": "owner_",
21108
+ "name": "previousOwner",
21109
+ "type": "address"
21110
+ },
21111
+ {
21112
+ "indexed": true,
21113
+ "internalType": "address",
21114
+ "name": "newOwner",
21227
21115
  "type": "address"
21228
21116
  }
21229
21117
  ],
21230
- "name": "changeOwner",
21118
+ "name": "OwnershipTransferred",
21119
+ "type": "event"
21120
+ },
21121
+ {
21122
+ "inputs": [],
21123
+ "name": "acceptOwnership",
21231
21124
  "outputs": [],
21232
21125
  "stateMutability": "nonpayable",
21233
21126
  "type": "function"
21234
21127
  },
21128
+ {
21129
+ "inputs": [],
21130
+ "name": "borrowRate",
21131
+ "outputs": [
21132
+ {
21133
+ "internalType": "uint256",
21134
+ "name": "",
21135
+ "type": "uint256"
21136
+ }
21137
+ ],
21138
+ "stateMutability": "view",
21139
+ "type": "function"
21140
+ },
21235
21141
  {
21236
21142
  "inputs": [
21237
21143
  {
@@ -21321,6 +21227,26 @@ exports.abi = {
21321
21227
  "stateMutability": "view",
21322
21228
  "type": "function"
21323
21229
  },
21230
+ {
21231
+ "inputs": [],
21232
+ "name": "pendingOwner",
21233
+ "outputs": [
21234
+ {
21235
+ "internalType": "address",
21236
+ "name": "",
21237
+ "type": "address"
21238
+ }
21239
+ ],
21240
+ "stateMutability": "view",
21241
+ "type": "function"
21242
+ },
21243
+ {
21244
+ "inputs": [],
21245
+ "name": "renounceOwnership",
21246
+ "outputs": [],
21247
+ "stateMutability": "nonpayable",
21248
+ "type": "function"
21249
+ },
21324
21250
  {
21325
21251
  "inputs": [
21326
21252
  {
@@ -21359,9 +21285,67 @@ exports.abi = {
21359
21285
  ],
21360
21286
  "stateMutability": "view",
21361
21287
  "type": "function"
21288
+ },
21289
+ {
21290
+ "inputs": [
21291
+ {
21292
+ "internalType": "address",
21293
+ "name": "newOwner",
21294
+ "type": "address"
21295
+ }
21296
+ ],
21297
+ "name": "transferOwnership",
21298
+ "outputs": [],
21299
+ "stateMutability": "nonpayable",
21300
+ "type": "function"
21362
21301
  }
21363
21302
  ],
21364
21303
  "InterestRateModel": [
21304
+ {
21305
+ "anonymous": false,
21306
+ "inputs": [
21307
+ {
21308
+ "indexed": true,
21309
+ "internalType": "address",
21310
+ "name": "previousOwner",
21311
+ "type": "address"
21312
+ },
21313
+ {
21314
+ "indexed": true,
21315
+ "internalType": "address",
21316
+ "name": "newOwner",
21317
+ "type": "address"
21318
+ }
21319
+ ],
21320
+ "name": "OwnershipTransferStarted",
21321
+ "type": "event"
21322
+ },
21323
+ {
21324
+ "anonymous": false,
21325
+ "inputs": [
21326
+ {
21327
+ "indexed": true,
21328
+ "internalType": "address",
21329
+ "name": "previousOwner",
21330
+ "type": "address"
21331
+ },
21332
+ {
21333
+ "indexed": true,
21334
+ "internalType": "address",
21335
+ "name": "newOwner",
21336
+ "type": "address"
21337
+ }
21338
+ ],
21339
+ "name": "OwnershipTransferred",
21340
+ "type": "event"
21341
+ },
21342
+ {
21343
+ "inputs": [],
21344
+ "name": "acceptOwnership",
21345
+ "outputs": [],
21346
+ "stateMutability": "nonpayable",
21347
+ "type": "function"
21348
+ },
21365
21349
  {
21366
21350
  "inputs": [
21367
21351
  {
@@ -21437,176 +21421,15 @@ exports.abi = {
21437
21421
  ],
21438
21422
  "stateMutability": "view",
21439
21423
  "type": "function"
21440
- }
21441
- ],
21442
- "JumpRateModel": [
21443
- {
21444
- "inputs": [
21445
- {
21446
- "internalType": "uint256",
21447
- "name": "baseRatePerYear",
21448
- "type": "uint256"
21449
- },
21450
- {
21451
- "internalType": "uint256",
21452
- "name": "multiplierPerYear",
21453
- "type": "uint256"
21454
- },
21455
- {
21456
- "internalType": "uint256",
21457
- "name": "jumpMultiplierPerYear",
21458
- "type": "uint256"
21459
- },
21460
- {
21461
- "internalType": "uint256",
21462
- "name": "kink_",
21463
- "type": "uint256"
21464
- }
21465
- ],
21466
- "stateMutability": "nonpayable",
21467
- "type": "constructor"
21468
- },
21469
- {
21470
- "anonymous": false,
21471
- "inputs": [
21472
- {
21473
- "indexed": false,
21474
- "internalType": "uint256",
21475
- "name": "baseRatePerBlock",
21476
- "type": "uint256"
21477
- },
21478
- {
21479
- "indexed": false,
21480
- "internalType": "uint256",
21481
- "name": "multiplierPerBlock",
21482
- "type": "uint256"
21483
- },
21484
- {
21485
- "indexed": false,
21486
- "internalType": "uint256",
21487
- "name": "jumpMultiplierPerBlock",
21488
- "type": "uint256"
21489
- },
21490
- {
21491
- "indexed": false,
21492
- "internalType": "uint256",
21493
- "name": "kink",
21494
- "type": "uint256"
21495
- }
21496
- ],
21497
- "name": "NewInterestParams",
21498
- "type": "event"
21499
- },
21500
- {
21501
- "inputs": [],
21502
- "name": "baseRatePerBlock",
21503
- "outputs": [
21504
- {
21505
- "internalType": "uint256",
21506
- "name": "",
21507
- "type": "uint256"
21508
- }
21509
- ],
21510
- "stateMutability": "view",
21511
- "type": "function"
21512
- },
21513
- {
21514
- "inputs": [],
21515
- "name": "blocksPerYear",
21516
- "outputs": [
21517
- {
21518
- "internalType": "uint256",
21519
- "name": "",
21520
- "type": "uint256"
21521
- }
21522
- ],
21523
- "stateMutability": "view",
21524
- "type": "function"
21525
- },
21526
- {
21527
- "inputs": [
21528
- {
21529
- "internalType": "uint256",
21530
- "name": "cash",
21531
- "type": "uint256"
21532
- },
21533
- {
21534
- "internalType": "uint256",
21535
- "name": "borrows",
21536
- "type": "uint256"
21537
- },
21538
- {
21539
- "internalType": "uint256",
21540
- "name": "reserves",
21541
- "type": "uint256"
21542
- }
21543
- ],
21544
- "name": "getBorrowRate",
21545
- "outputs": [
21546
- {
21547
- "internalType": "uint256",
21548
- "name": "",
21549
- "type": "uint256"
21550
- }
21551
- ],
21552
- "stateMutability": "view",
21553
- "type": "function"
21554
- },
21555
- {
21556
- "inputs": [
21557
- {
21558
- "internalType": "uint256",
21559
- "name": "cash",
21560
- "type": "uint256"
21561
- },
21562
- {
21563
- "internalType": "uint256",
21564
- "name": "borrows",
21565
- "type": "uint256"
21566
- },
21567
- {
21568
- "internalType": "uint256",
21569
- "name": "reserves",
21570
- "type": "uint256"
21571
- },
21572
- {
21573
- "internalType": "uint256",
21574
- "name": "reserveFactorMantissa",
21575
- "type": "uint256"
21576
- }
21577
- ],
21578
- "name": "getSupplyRate",
21579
- "outputs": [
21580
- {
21581
- "internalType": "uint256",
21582
- "name": "",
21583
- "type": "uint256"
21584
- }
21585
- ],
21586
- "stateMutability": "view",
21587
- "type": "function"
21588
- },
21424
+ },
21589
21425
  {
21590
21426
  "inputs": [],
21591
- "name": "isInterestRateModel",
21592
- "outputs": [
21593
- {
21594
- "internalType": "bool",
21595
- "name": "",
21596
- "type": "bool"
21597
- }
21598
- ],
21599
- "stateMutability": "view",
21600
- "type": "function"
21601
- },
21602
- {
21603
- "inputs": [],
21604
- "name": "jumpMultiplierPerBlock",
21427
+ "name": "owner",
21605
21428
  "outputs": [
21606
21429
  {
21607
- "internalType": "uint256",
21430
+ "internalType": "address",
21608
21431
  "name": "",
21609
- "type": "uint256"
21432
+ "type": "address"
21610
21433
  }
21611
21434
  ],
21612
21435
  "stateMutability": "view",
@@ -21614,12 +21437,12 @@ exports.abi = {
21614
21437
  },
21615
21438
  {
21616
21439
  "inputs": [],
21617
- "name": "kink",
21440
+ "name": "pendingOwner",
21618
21441
  "outputs": [
21619
21442
  {
21620
- "internalType": "uint256",
21443
+ "internalType": "address",
21621
21444
  "name": "",
21622
- "type": "uint256"
21445
+ "type": "address"
21623
21446
  }
21624
21447
  ],
21625
21448
  "stateMutability": "view",
@@ -21627,44 +21450,22 @@ exports.abi = {
21627
21450
  },
21628
21451
  {
21629
21452
  "inputs": [],
21630
- "name": "multiplierPerBlock",
21631
- "outputs": [
21632
- {
21633
- "internalType": "uint256",
21634
- "name": "",
21635
- "type": "uint256"
21636
- }
21637
- ],
21638
- "stateMutability": "view",
21453
+ "name": "renounceOwnership",
21454
+ "outputs": [],
21455
+ "stateMutability": "nonpayable",
21639
21456
  "type": "function"
21640
21457
  },
21641
21458
  {
21642
21459
  "inputs": [
21643
21460
  {
21644
- "internalType": "uint256",
21645
- "name": "cash",
21646
- "type": "uint256"
21647
- },
21648
- {
21649
- "internalType": "uint256",
21650
- "name": "borrows",
21651
- "type": "uint256"
21652
- },
21653
- {
21654
- "internalType": "uint256",
21655
- "name": "reserves",
21656
- "type": "uint256"
21657
- }
21658
- ],
21659
- "name": "utilizationRate",
21660
- "outputs": [
21661
- {
21662
- "internalType": "uint256",
21663
- "name": "",
21664
- "type": "uint256"
21461
+ "internalType": "address",
21462
+ "name": "newOwner",
21463
+ "type": "address"
21665
21464
  }
21666
21465
  ],
21667
- "stateMutability": "pure",
21466
+ "name": "transferOwnership",
21467
+ "outputs": [],
21468
+ "stateMutability": "nonpayable",
21668
21469
  "type": "function"
21669
21470
  }
21670
21471
  ],
@@ -21695,11 +21496,6 @@ exports.abi = {
21695
21496
  "internalType": "uint256",
21696
21497
  "name": "kink_",
21697
21498
  "type": "uint256"
21698
- },
21699
- {
21700
- "internalType": "address",
21701
- "name": "owner_",
21702
- "type": "address"
21703
21499
  }
21704
21500
  ],
21705
21501
  "stateMutability": "nonpayable",
@@ -21736,6 +21532,51 @@ exports.abi = {
21736
21532
  "name": "NewInterestParams",
21737
21533
  "type": "event"
21738
21534
  },
21535
+ {
21536
+ "anonymous": false,
21537
+ "inputs": [
21538
+ {
21539
+ "indexed": true,
21540
+ "internalType": "address",
21541
+ "name": "previousOwner",
21542
+ "type": "address"
21543
+ },
21544
+ {
21545
+ "indexed": true,
21546
+ "internalType": "address",
21547
+ "name": "newOwner",
21548
+ "type": "address"
21549
+ }
21550
+ ],
21551
+ "name": "OwnershipTransferStarted",
21552
+ "type": "event"
21553
+ },
21554
+ {
21555
+ "anonymous": false,
21556
+ "inputs": [
21557
+ {
21558
+ "indexed": true,
21559
+ "internalType": "address",
21560
+ "name": "previousOwner",
21561
+ "type": "address"
21562
+ },
21563
+ {
21564
+ "indexed": true,
21565
+ "internalType": "address",
21566
+ "name": "newOwner",
21567
+ "type": "address"
21568
+ }
21569
+ ],
21570
+ "name": "OwnershipTransferred",
21571
+ "type": "event"
21572
+ },
21573
+ {
21574
+ "inputs": [],
21575
+ "name": "acceptOwnership",
21576
+ "outputs": [],
21577
+ "stateMutability": "nonpayable",
21578
+ "type": "function"
21579
+ },
21739
21580
  {
21740
21581
  "inputs": [],
21741
21582
  "name": "baseRatePerBlock",
@@ -21890,208 +21731,14 @@ exports.abi = {
21890
21731
  "stateMutability": "view",
21891
21732
  "type": "function"
21892
21733
  },
21893
- {
21894
- "inputs": [
21895
- {
21896
- "internalType": "uint256",
21897
- "name": "baseRatePerYear",
21898
- "type": "uint256"
21899
- },
21900
- {
21901
- "internalType": "uint256",
21902
- "name": "multiplierPerYear",
21903
- "type": "uint256"
21904
- },
21905
- {
21906
- "internalType": "uint256",
21907
- "name": "jumpMultiplierPerYear",
21908
- "type": "uint256"
21909
- },
21910
- {
21911
- "internalType": "uint256",
21912
- "name": "kink_",
21913
- "type": "uint256"
21914
- }
21915
- ],
21916
- "name": "updateJumpRateModel",
21917
- "outputs": [],
21918
- "stateMutability": "nonpayable",
21919
- "type": "function"
21920
- },
21921
- {
21922
- "inputs": [
21923
- {
21924
- "internalType": "uint256",
21925
- "name": "cash",
21926
- "type": "uint256"
21927
- },
21928
- {
21929
- "internalType": "uint256",
21930
- "name": "borrows",
21931
- "type": "uint256"
21932
- },
21933
- {
21934
- "internalType": "uint256",
21935
- "name": "reserves",
21936
- "type": "uint256"
21937
- }
21938
- ],
21939
- "name": "utilizationRate",
21940
- "outputs": [
21941
- {
21942
- "internalType": "uint256",
21943
- "name": "",
21944
- "type": "uint256"
21945
- }
21946
- ],
21947
- "stateMutability": "pure",
21948
- "type": "function"
21949
- }
21950
- ],
21951
- "WhitePaperInterestRateModel": [
21952
- {
21953
- "inputs": [
21954
- {
21955
- "internalType": "uint256",
21956
- "name": "blocksPerYearOnChain",
21957
- "type": "uint256"
21958
- },
21959
- {
21960
- "internalType": "uint256",
21961
- "name": "baseRatePerYear",
21962
- "type": "uint256"
21963
- },
21964
- {
21965
- "internalType": "uint256",
21966
- "name": "multiplierPerYear",
21967
- "type": "uint256"
21968
- }
21969
- ],
21970
- "stateMutability": "nonpayable",
21971
- "type": "constructor"
21972
- },
21973
- {
21974
- "anonymous": false,
21975
- "inputs": [
21976
- {
21977
- "indexed": false,
21978
- "internalType": "uint256",
21979
- "name": "blocksPerYear",
21980
- "type": "uint256"
21981
- },
21982
- {
21983
- "indexed": false,
21984
- "internalType": "uint256",
21985
- "name": "baseRatePerBlock",
21986
- "type": "uint256"
21987
- },
21988
- {
21989
- "indexed": false,
21990
- "internalType": "uint256",
21991
- "name": "multiplierPerBlock",
21992
- "type": "uint256"
21993
- }
21994
- ],
21995
- "name": "NewInterestParams",
21996
- "type": "event"
21997
- },
21998
21734
  {
21999
21735
  "inputs": [],
22000
- "name": "baseRatePerBlock",
22001
- "outputs": [
22002
- {
22003
- "internalType": "uint256",
22004
- "name": "",
22005
- "type": "uint256"
22006
- }
22007
- ],
22008
- "stateMutability": "view",
22009
- "type": "function"
22010
- },
22011
- {
22012
- "inputs": [],
22013
- "name": "blocksPerYear",
22014
- "outputs": [
22015
- {
22016
- "internalType": "uint256",
22017
- "name": "",
22018
- "type": "uint256"
22019
- }
22020
- ],
22021
- "stateMutability": "view",
22022
- "type": "function"
22023
- },
22024
- {
22025
- "inputs": [
22026
- {
22027
- "internalType": "uint256",
22028
- "name": "cash",
22029
- "type": "uint256"
22030
- },
22031
- {
22032
- "internalType": "uint256",
22033
- "name": "borrows",
22034
- "type": "uint256"
22035
- },
22036
- {
22037
- "internalType": "uint256",
22038
- "name": "reserves",
22039
- "type": "uint256"
22040
- }
22041
- ],
22042
- "name": "getBorrowRate",
22043
- "outputs": [
22044
- {
22045
- "internalType": "uint256",
22046
- "name": "",
22047
- "type": "uint256"
22048
- }
22049
- ],
22050
- "stateMutability": "view",
22051
- "type": "function"
22052
- },
22053
- {
22054
- "inputs": [
22055
- {
22056
- "internalType": "uint256",
22057
- "name": "cash",
22058
- "type": "uint256"
22059
- },
22060
- {
22061
- "internalType": "uint256",
22062
- "name": "borrows",
22063
- "type": "uint256"
22064
- },
22065
- {
22066
- "internalType": "uint256",
22067
- "name": "reserves",
22068
- "type": "uint256"
22069
- },
22070
- {
22071
- "internalType": "uint256",
22072
- "name": "reserveFactorMantissa",
22073
- "type": "uint256"
22074
- }
22075
- ],
22076
- "name": "getSupplyRate",
22077
- "outputs": [
22078
- {
22079
- "internalType": "uint256",
22080
- "name": "",
22081
- "type": "uint256"
22082
- }
22083
- ],
22084
- "stateMutability": "view",
22085
- "type": "function"
22086
- },
22087
- {
22088
- "inputs": [],
22089
- "name": "isInterestRateModel",
21736
+ "name": "pendingOwner",
22090
21737
  "outputs": [
22091
21738
  {
22092
- "internalType": "bool",
21739
+ "internalType": "address",
22093
21740
  "name": "",
22094
- "type": "bool"
21741
+ "type": "address"
22095
21742
  }
22096
21743
  ],
22097
21744
  "stateMutability": "view",
@@ -22099,75 +21746,50 @@ exports.abi = {
22099
21746
  },
22100
21747
  {
22101
21748
  "inputs": [],
22102
- "name": "multiplierPerBlock",
22103
- "outputs": [
22104
- {
22105
- "internalType": "uint256",
22106
- "name": "",
22107
- "type": "uint256"
22108
- }
22109
- ],
22110
- "stateMutability": "view",
21749
+ "name": "renounceOwnership",
21750
+ "outputs": [],
21751
+ "stateMutability": "nonpayable",
22111
21752
  "type": "function"
22112
21753
  },
22113
21754
  {
22114
21755
  "inputs": [
22115
21756
  {
22116
- "internalType": "uint256",
22117
- "name": "cash",
22118
- "type": "uint256"
22119
- },
22120
- {
22121
- "internalType": "uint256",
22122
- "name": "borrows",
22123
- "type": "uint256"
22124
- },
22125
- {
22126
- "internalType": "uint256",
22127
- "name": "reserves",
22128
- "type": "uint256"
22129
- }
22130
- ],
22131
- "name": "utilizationRate",
22132
- "outputs": [
22133
- {
22134
- "internalType": "uint256",
22135
- "name": "",
22136
- "type": "uint256"
21757
+ "internalType": "address",
21758
+ "name": "newOwner",
21759
+ "type": "address"
22137
21760
  }
22138
21761
  ],
22139
- "stateMutability": "pure",
21762
+ "name": "transferOwnership",
21763
+ "outputs": [],
21764
+ "stateMutability": "nonpayable",
22140
21765
  "type": "function"
22141
- }
22142
- ],
22143
- "ZeroInterestRateModel": [
21766
+ },
22144
21767
  {
22145
21768
  "inputs": [
22146
21769
  {
22147
21770
  "internalType": "uint256",
22148
- "name": "cash",
21771
+ "name": "baseRatePerYear",
22149
21772
  "type": "uint256"
22150
21773
  },
22151
21774
  {
22152
21775
  "internalType": "uint256",
22153
- "name": "borrows",
21776
+ "name": "multiplierPerYear",
22154
21777
  "type": "uint256"
22155
21778
  },
22156
21779
  {
22157
21780
  "internalType": "uint256",
22158
- "name": "reserves",
21781
+ "name": "jumpMultiplierPerYear",
22159
21782
  "type": "uint256"
22160
- }
22161
- ],
22162
- "name": "getBorrowRate",
22163
- "outputs": [
21783
+ },
22164
21784
  {
22165
21785
  "internalType": "uint256",
22166
- "name": "",
21786
+ "name": "kink_",
22167
21787
  "type": "uint256"
22168
21788
  }
22169
21789
  ],
22170
- "stateMutability": "view",
21790
+ "name": "updateJumpRateModel",
21791
+ "outputs": [],
21792
+ "stateMutability": "nonpayable",
22171
21793
  "type": "function"
22172
21794
  },
22173
21795
  {
@@ -22186,14 +21808,9 @@ exports.abi = {
22186
21808
  "internalType": "uint256",
22187
21809
  "name": "reserves",
22188
21810
  "type": "uint256"
22189
- },
22190
- {
22191
- "internalType": "uint256",
22192
- "name": "reserveFactorMantissa",
22193
- "type": "uint256"
22194
21811
  }
22195
21812
  ],
22196
- "name": "getSupplyRate",
21813
+ "name": "utilizationRate",
22197
21814
  "outputs": [
22198
21815
  {
22199
21816
  "internalType": "uint256",
@@ -22201,72 +21818,105 @@ exports.abi = {
22201
21818
  "type": "uint256"
22202
21819
  }
22203
21820
  ],
22204
- "stateMutability": "view",
21821
+ "stateMutability": "pure",
22205
21822
  "type": "function"
22206
- },
21823
+ }
21824
+ ],
21825
+ "WhitePaperInterestRateModel": [
22207
21826
  {
22208
- "inputs": [],
22209
- "name": "isInterestRateModel",
22210
- "outputs": [
21827
+ "inputs": [
22211
21828
  {
22212
- "internalType": "bool",
22213
- "name": "",
22214
- "type": "bool"
21829
+ "internalType": "uint256",
21830
+ "name": "blocksPerYearOnChain",
21831
+ "type": "uint256"
21832
+ },
21833
+ {
21834
+ "internalType": "uint256",
21835
+ "name": "baseRatePerYear",
21836
+ "type": "uint256"
21837
+ },
21838
+ {
21839
+ "internalType": "uint256",
21840
+ "name": "multiplierPerYear",
21841
+ "type": "uint256"
22215
21842
  }
22216
21843
  ],
22217
- "stateMutability": "view",
22218
- "type": "function"
21844
+ "stateMutability": "nonpayable",
21845
+ "type": "constructor"
22219
21846
  },
22220
21847
  {
21848
+ "anonymous": false,
22221
21849
  "inputs": [
22222
21850
  {
21851
+ "indexed": false,
22223
21852
  "internalType": "uint256",
22224
- "name": "cash",
21853
+ "name": "blocksPerYear",
22225
21854
  "type": "uint256"
22226
21855
  },
22227
21856
  {
21857
+ "indexed": false,
22228
21858
  "internalType": "uint256",
22229
- "name": "borrows",
21859
+ "name": "baseRatePerBlock",
22230
21860
  "type": "uint256"
22231
21861
  },
22232
21862
  {
21863
+ "indexed": false,
22233
21864
  "internalType": "uint256",
22234
- "name": "reserves",
21865
+ "name": "multiplierPerBlock",
22235
21866
  "type": "uint256"
22236
21867
  }
22237
21868
  ],
22238
- "name": "utilizationRate",
22239
- "outputs": [
21869
+ "name": "NewInterestParams",
21870
+ "type": "event"
21871
+ },
21872
+ {
21873
+ "anonymous": false,
21874
+ "inputs": [
22240
21875
  {
22241
- "internalType": "uint256",
22242
- "name": "",
22243
- "type": "uint256"
21876
+ "indexed": true,
21877
+ "internalType": "address",
21878
+ "name": "previousOwner",
21879
+ "type": "address"
21880
+ },
21881
+ {
21882
+ "indexed": true,
21883
+ "internalType": "address",
21884
+ "name": "newOwner",
21885
+ "type": "address"
22244
21886
  }
22245
21887
  ],
22246
- "stateMutability": "pure",
22247
- "type": "function"
22248
- }
22249
- ],
22250
- "SuTokenRateModel": [
21888
+ "name": "OwnershipTransferStarted",
21889
+ "type": "event"
21890
+ },
22251
21891
  {
21892
+ "anonymous": false,
22252
21893
  "inputs": [
22253
21894
  {
22254
- "internalType": "uint256",
22255
- "name": "initBorrowRate",
22256
- "type": "uint256"
21895
+ "indexed": true,
21896
+ "internalType": "address",
21897
+ "name": "previousOwner",
21898
+ "type": "address"
22257
21899
  },
22258
21900
  {
22259
- "internalType": "uint256",
22260
- "name": "initSupplyRate",
22261
- "type": "uint256"
21901
+ "indexed": true,
21902
+ "internalType": "address",
21903
+ "name": "newOwner",
21904
+ "type": "address"
22262
21905
  }
22263
21906
  ],
21907
+ "name": "OwnershipTransferred",
21908
+ "type": "event"
21909
+ },
21910
+ {
21911
+ "inputs": [],
21912
+ "name": "acceptOwnership",
21913
+ "outputs": [],
22264
21914
  "stateMutability": "nonpayable",
22265
- "type": "constructor"
21915
+ "type": "function"
22266
21916
  },
22267
21917
  {
22268
21918
  "inputs": [],
22269
- "name": "borrowRate",
21919
+ "name": "baseRatePerBlock",
22270
21920
  "outputs": [
22271
21921
  {
22272
21922
  "internalType": "uint256",
@@ -22278,16 +21928,16 @@ exports.abi = {
22278
21928
  "type": "function"
22279
21929
  },
22280
21930
  {
22281
- "inputs": [
21931
+ "inputs": [],
21932
+ "name": "blocksPerYear",
21933
+ "outputs": [
22282
21934
  {
22283
- "internalType": "address",
22284
- "name": "owner_",
22285
- "type": "address"
21935
+ "internalType": "uint256",
21936
+ "name": "",
21937
+ "type": "uint256"
22286
21938
  }
22287
21939
  ],
22288
- "name": "changeOwner",
22289
- "outputs": [],
22290
- "stateMutability": "nonpayable",
21940
+ "stateMutability": "view",
22291
21941
  "type": "function"
22292
21942
  },
22293
21943
  {
@@ -22366,6 +22016,19 @@ exports.abi = {
22366
22016
  "stateMutability": "view",
22367
22017
  "type": "function"
22368
22018
  },
22019
+ {
22020
+ "inputs": [],
22021
+ "name": "multiplierPerBlock",
22022
+ "outputs": [
22023
+ {
22024
+ "internalType": "uint256",
22025
+ "name": "",
22026
+ "type": "uint256"
22027
+ }
22028
+ ],
22029
+ "stateMutability": "view",
22030
+ "type": "function"
22031
+ },
22369
22032
  {
22370
22033
  "inputs": [],
22371
22034
  "name": "owner",
@@ -22380,14 +22043,21 @@ exports.abi = {
22380
22043
  "type": "function"
22381
22044
  },
22382
22045
  {
22383
- "inputs": [
22046
+ "inputs": [],
22047
+ "name": "pendingOwner",
22048
+ "outputs": [
22384
22049
  {
22385
- "internalType": "uint256",
22386
- "name": "rate",
22387
- "type": "uint256"
22050
+ "internalType": "address",
22051
+ "name": "",
22052
+ "type": "address"
22388
22053
  }
22389
22054
  ],
22390
- "name": "setBorrowRate",
22055
+ "stateMutability": "view",
22056
+ "type": "function"
22057
+ },
22058
+ {
22059
+ "inputs": [],
22060
+ "name": "renounceOwnership",
22391
22061
  "outputs": [],
22392
22062
  "stateMutability": "nonpayable",
22393
22063
  "type": "function"
@@ -22395,19 +22065,35 @@ exports.abi = {
22395
22065
  {
22396
22066
  "inputs": [
22397
22067
  {
22398
- "internalType": "uint256",
22399
- "name": "rate",
22400
- "type": "uint256"
22068
+ "internalType": "address",
22069
+ "name": "newOwner",
22070
+ "type": "address"
22401
22071
  }
22402
22072
  ],
22403
- "name": "setSupplyRate",
22073
+ "name": "transferOwnership",
22404
22074
  "outputs": [],
22405
22075
  "stateMutability": "nonpayable",
22406
22076
  "type": "function"
22407
22077
  },
22408
22078
  {
22409
- "inputs": [],
22410
- "name": "supplyRate",
22079
+ "inputs": [
22080
+ {
22081
+ "internalType": "uint256",
22082
+ "name": "cash",
22083
+ "type": "uint256"
22084
+ },
22085
+ {
22086
+ "internalType": "uint256",
22087
+ "name": "borrows",
22088
+ "type": "uint256"
22089
+ },
22090
+ {
22091
+ "internalType": "uint256",
22092
+ "name": "reserves",
22093
+ "type": "uint256"
22094
+ }
22095
+ ],
22096
+ "name": "utilizationRate",
22411
22097
  "outputs": [
22412
22098
  {
22413
22099
  "internalType": "uint256",
@@ -22415,7 +22101,7 @@ exports.abi = {
22415
22101
  "type": "uint256"
22416
22102
  }
22417
22103
  ],
22418
- "stateMutability": "view",
22104
+ "stateMutability": "pure",
22419
22105
  "type": "function"
22420
22106
  }
22421
22107
  ],
@@ -27985,6 +27671,76 @@ exports.abi = {
27985
27671
  "stateMutability": "payable",
27986
27672
  "type": "fallback"
27987
27673
  },
27674
+ {
27675
+ "inputs": [],
27676
+ "name": "admin",
27677
+ "outputs": [
27678
+ {
27679
+ "internalType": "address",
27680
+ "name": "admin_",
27681
+ "type": "address"
27682
+ }
27683
+ ],
27684
+ "stateMutability": "nonpayable",
27685
+ "type": "function"
27686
+ },
27687
+ {
27688
+ "inputs": [
27689
+ {
27690
+ "internalType": "address",
27691
+ "name": "newAdmin",
27692
+ "type": "address"
27693
+ }
27694
+ ],
27695
+ "name": "changeAdmin",
27696
+ "outputs": [],
27697
+ "stateMutability": "nonpayable",
27698
+ "type": "function"
27699
+ },
27700
+ {
27701
+ "inputs": [],
27702
+ "name": "implementation",
27703
+ "outputs": [
27704
+ {
27705
+ "internalType": "address",
27706
+ "name": "implementation_",
27707
+ "type": "address"
27708
+ }
27709
+ ],
27710
+ "stateMutability": "nonpayable",
27711
+ "type": "function"
27712
+ },
27713
+ {
27714
+ "inputs": [
27715
+ {
27716
+ "internalType": "address",
27717
+ "name": "newImplementation",
27718
+ "type": "address"
27719
+ }
27720
+ ],
27721
+ "name": "upgradeTo",
27722
+ "outputs": [],
27723
+ "stateMutability": "nonpayable",
27724
+ "type": "function"
27725
+ },
27726
+ {
27727
+ "inputs": [
27728
+ {
27729
+ "internalType": "address",
27730
+ "name": "newImplementation",
27731
+ "type": "address"
27732
+ },
27733
+ {
27734
+ "internalType": "bytes",
27735
+ "name": "data",
27736
+ "type": "bytes"
27737
+ }
27738
+ ],
27739
+ "name": "upgradeToAndCall",
27740
+ "outputs": [],
27741
+ "stateMutability": "payable",
27742
+ "type": "function"
27743
+ },
27988
27744
  {
27989
27745
  "stateMutability": "payable",
27990
27746
  "type": "receive"
@@ -28013,7 +27769,7 @@ exports.abi = {
28013
27769
  {
28014
27770
  "inputs": [
28015
27771
  {
28016
- "internalType": "contract ITransparentUpgradeableProxy",
27772
+ "internalType": "contract TransparentUpgradeableProxy",
28017
27773
  "name": "proxy",
28018
27774
  "type": "address"
28019
27775
  },
@@ -28031,7 +27787,7 @@ exports.abi = {
28031
27787
  {
28032
27788
  "inputs": [
28033
27789
  {
28034
- "internalType": "contract ITransparentUpgradeableProxy",
27790
+ "internalType": "contract TransparentUpgradeableProxy",
28035
27791
  "name": "proxy",
28036
27792
  "type": "address"
28037
27793
  }
@@ -28050,7 +27806,7 @@ exports.abi = {
28050
27806
  {
28051
27807
  "inputs": [
28052
27808
  {
28053
- "internalType": "contract ITransparentUpgradeableProxy",
27809
+ "internalType": "contract TransparentUpgradeableProxy",
28054
27810
  "name": "proxy",
28055
27811
  "type": "address"
28056
27812
  }
@@ -28102,7 +27858,7 @@ exports.abi = {
28102
27858
  {
28103
27859
  "inputs": [
28104
27860
  {
28105
- "internalType": "contract ITransparentUpgradeableProxy",
27861
+ "internalType": "contract TransparentUpgradeableProxy",
28106
27862
  "name": "proxy",
28107
27863
  "type": "address"
28108
27864
  },
@@ -28120,7 +27876,7 @@ exports.abi = {
28120
27876
  {
28121
27877
  "inputs": [
28122
27878
  {
28123
- "internalType": "contract ITransparentUpgradeableProxy",
27879
+ "internalType": "contract TransparentUpgradeableProxy",
28124
27880
  "name": "proxy",
28125
27881
  "type": "address"
28126
27882
  },