@venusprotocol/isolated-pools 1.0.0-dev.5 → 1.0.0-dev.6

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 (201) hide show
  1. package/contracts/Comptroller.sol +1 -1
  2. package/contracts/ExponentialNoError.sol +0 -7
  3. package/package.json +1 -1
  4. package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json +0 -4
  5. package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.json +0 -215
  6. package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +0 -4
  7. package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.json +0 -183
  8. package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +0 -4
  9. package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.json +0 -63
  10. package/artifacts/@openzeppelin/contracts/interfaces/IERC1967.sol/IERC1967.dbg.json +0 -4
  11. package/artifacts/@openzeppelin/contracts/interfaces/IERC1967.sol/IERC1967.json +0 -56
  12. package/artifacts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.dbg.json +0 -4
  13. package/artifacts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.json +0 -24
  14. package/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.dbg.json +0 -4
  15. package/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.json +0 -56
  16. package/artifacts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.dbg.json +0 -4
  17. package/artifacts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.json +0 -19
  18. package/artifacts/@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol/BeaconProxy.dbg.json +0 -4
  19. package/artifacts/@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol/BeaconProxy.json +0 -80
  20. package/artifacts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.dbg.json +0 -4
  21. package/artifacts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.json +0 -24
  22. package/artifacts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.dbg.json +0 -4
  23. package/artifacts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.json +0 -113
  24. package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +0 -4
  25. package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +0 -297
  26. package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +0 -4
  27. package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.json +0 -194
  28. package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +0 -4
  29. package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.json +0 -233
  30. package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +0 -4
  31. package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.json +0 -10
  32. package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +0 -4
  33. package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +0 -10
  34. package/artifacts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.dbg.json +0 -4
  35. package/artifacts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.json +0 -10
  36. package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +0 -4
  37. package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +0 -10
  38. package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +0 -4
  39. package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +0 -30
  40. package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +0 -4
  41. package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +0 -30
  42. package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.dbg.json +0 -4
  43. package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +0 -10
  44. package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.dbg.json +0 -4
  45. package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.json +0 -10
  46. package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +0 -4
  47. package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.json +0 -115
  48. package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +0 -4
  49. package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.json +0 -76
  50. package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +0 -4
  51. package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.json +0 -24
  52. package/artifacts/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol/ReentrancyGuardUpgradeable.dbg.json +0 -4
  53. package/artifacts/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol/ReentrancyGuardUpgradeable.json +0 -24
  54. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +0 -4
  55. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.json +0 -194
  56. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.dbg.json +0 -4
  57. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.json +0 -86
  58. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol/SafeERC20Upgradeable.dbg.json +0 -4
  59. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol/SafeERC20Upgradeable.json +0 -10
  60. package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +0 -4
  61. package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +0 -10
  62. package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +0 -4
  63. package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.json +0 -24
  64. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlManager.sol/AccessControlManager.dbg.json +0 -4
  65. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlManager.sol/AccessControlManager.json +0 -369
  66. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +0 -4
  67. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.json +0 -181
  68. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +0 -4
  69. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.json +0 -282
  70. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.dbg.json +0 -4
  71. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.json +0 -40
  72. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +0 -4
  73. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/OracleInterface.json +0 -30
  74. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.dbg.json +0 -4
  75. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.json +0 -43
  76. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/TwapInterface.dbg.json +0 -4
  77. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/TwapInterface.json +0 -49
  78. package/artifacts/build-info/9b8ff982dc5e6ff902ae9e610da49601.json +0 -1
  79. package/artifacts/build-info/f19d689bc99e63a20dd2a17a14e2b84a.json +0 -1
  80. package/artifacts/contracts/BaseJumpRateModelV2.sol/BaseJumpRateModelV2.dbg.json +0 -4
  81. package/artifacts/contracts/BaseJumpRateModelV2.sol/BaseJumpRateModelV2.json +0 -276
  82. package/artifacts/contracts/Comptroller.sol/Comptroller.dbg.json +0 -4
  83. package/artifacts/contracts/Comptroller.sol/Comptroller.json +0 -1667
  84. package/artifacts/contracts/ComptrollerInterface.sol/ComptrollerInterface.dbg.json +0 -4
  85. package/artifacts/contracts/ComptrollerInterface.sol/ComptrollerInterface.json +0 -285
  86. package/artifacts/contracts/ComptrollerInterface.sol/ComptrollerViewInterface.dbg.json +0 -4
  87. package/artifacts/contracts/ComptrollerInterface.sol/ComptrollerViewInterface.json +0 -170
  88. package/artifacts/contracts/ComptrollerStorage.sol/ComptrollerStorage.dbg.json +0 -4
  89. package/artifacts/contracts/ComptrollerStorage.sol/ComptrollerStorage.json +0 -173
  90. package/artifacts/contracts/ErrorReporter.sol/TokenErrorReporter.dbg.json +0 -4
  91. package/artifacts/contracts/ErrorReporter.sol/TokenErrorReporter.json +0 -156
  92. package/artifacts/contracts/ExponentialNoError.sol/ExponentialNoError.dbg.json +0 -4
  93. package/artifacts/contracts/ExponentialNoError.sol/ExponentialNoError.json +0 -10
  94. package/artifacts/contracts/Factories/JumpRateModelFactory.sol/JumpRateModelFactory.dbg.json +0 -4
  95. package/artifacts/contracts/Factories/JumpRateModelFactory.sol/JumpRateModelFactory.json +0 -50
  96. package/artifacts/contracts/Factories/VTokenProxyFactory.sol/VTokenProxyFactory.dbg.json +0 -4
  97. package/artifacts/contracts/Factories/VTokenProxyFactory.sol/VTokenProxyFactory.json +0 -191
  98. package/artifacts/contracts/Factories/WhitePaperInterestRateModelFactory.sol/WhitePaperInterestRateModelFactory.dbg.json +0 -4
  99. package/artifacts/contracts/Factories/WhitePaperInterestRateModelFactory.sol/WhitePaperInterestRateModelFactory.json +0 -35
  100. package/artifacts/contracts/IPancakeswapV2Router.sol/IPancakeswapV2Router.dbg.json +0 -4
  101. package/artifacts/contracts/IPancakeswapV2Router.sol/IPancakeswapV2Router.json +0 -50
  102. package/artifacts/contracts/InterestRateModel.sol/InterestRateModel.dbg.json +0 -4
  103. package/artifacts/contracts/InterestRateModel.sol/InterestRateModel.json +0 -97
  104. package/artifacts/contracts/JumpRateModelV2.sol/JumpRateModelV2.dbg.json +0 -4
  105. package/artifacts/contracts/JumpRateModelV2.sol/JumpRateModelV2.json +0 -307
  106. package/artifacts/contracts/Lens/PoolLens.sol/PoolLens.dbg.json +0 -4
  107. package/artifacts/contracts/Lens/PoolLens.sol/PoolLens.json +0 -1087
  108. package/artifacts/contracts/MaxLoopsLimitHelper.sol/MaxLoopsLimitHelper.dbg.json +0 -4
  109. package/artifacts/contracts/MaxLoopsLimitHelper.sol/MaxLoopsLimitHelper.json +0 -59
  110. package/artifacts/contracts/Pool/PoolRegistry.sol/PoolRegistry.dbg.json +0 -4
  111. package/artifacts/contracts/Pool/PoolRegistry.sol/PoolRegistry.json +0 -923
  112. package/artifacts/contracts/Pool/PoolRegistryInterface.sol/PoolRegistryInterface.dbg.json +0 -4
  113. package/artifacts/contracts/Pool/PoolRegistryInterface.sol/PoolRegistryInterface.json +0 -176
  114. package/artifacts/contracts/Proxy/UpgradeableBeacon.sol/Beacon.dbg.json +0 -4
  115. package/artifacts/contracts/Proxy/UpgradeableBeacon.sol/Beacon.json +0 -113
  116. package/artifacts/contracts/Rewards/RewardsDistributor.sol/RewardsDistributor.dbg.json +0 -4
  117. package/artifacts/contracts/Rewards/RewardsDistributor.sol/RewardsDistributor.json +0 -928
  118. package/artifacts/contracts/RiskFund/IProtocolShareReserve.sol/IProtocolShareReserve.dbg.json +0 -4
  119. package/artifacts/contracts/RiskFund/IProtocolShareReserve.sol/IProtocolShareReserve.json +0 -29
  120. package/artifacts/contracts/RiskFund/IRiskFund.sol/IRiskFund.dbg.json +0 -4
  121. package/artifacts/contracts/RiskFund/IRiskFund.sol/IRiskFund.json +0 -101
  122. package/artifacts/contracts/RiskFund/ProtocolShareReserve.sol/ProtocolShareReserve.dbg.json +0 -4
  123. package/artifacts/contracts/RiskFund/ProtocolShareReserve.sol/ProtocolShareReserve.json +0 -296
  124. package/artifacts/contracts/RiskFund/ReserveHelpers.sol/ReserveHelpers.dbg.json +0 -4
  125. package/artifacts/contracts/RiskFund/ReserveHelpers.sol/ReserveHelpers.json +0 -83
  126. package/artifacts/contracts/RiskFund/RiskFund.sol/RiskFund.dbg.json +0 -4
  127. package/artifacts/contracts/RiskFund/RiskFund.sol/RiskFund.json +0 -615
  128. package/artifacts/contracts/Shortfall/IShortfall.sol/IShortfall.dbg.json +0 -4
  129. package/artifacts/contracts/Shortfall/IShortfall.sol/IShortfall.json +0 -24
  130. package/artifacts/contracts/Shortfall/Shortfall.sol/Shortfall.dbg.json +0 -4
  131. package/artifacts/contracts/Shortfall/Shortfall.sol/Shortfall.json +0 -756
  132. package/artifacts/contracts/VToken.sol/VToken.dbg.json +0 -4
  133. package/artifacts/contracts/VToken.sol/VToken.json +0 -1850
  134. package/artifacts/contracts/VTokenInterfaces.sol/VTokenInterface.dbg.json +0 -4
  135. package/artifacts/contracts/VTokenInterfaces.sol/VTokenInterface.json +0 -1398
  136. package/artifacts/contracts/VTokenInterfaces.sol/VTokenStorage.dbg.json +0 -4
  137. package/artifacts/contracts/VTokenInterfaces.sol/VTokenStorage.json +0 -219
  138. package/artifacts/contracts/WhitePaperInterestRateModel.sol/WhitePaperInterestRateModel.dbg.json +0 -4
  139. package/artifacts/contracts/WhitePaperInterestRateModel.sol/WhitePaperInterestRateModel.json +0 -192
  140. package/artifacts/contracts/test/ComptrollerHarness.sol/ComptrollerHarness.dbg.json +0 -4
  141. package/artifacts/contracts/test/ComptrollerHarness.sol/ComptrollerHarness.json +0 -1712
  142. package/artifacts/contracts/test/ComptrollerHarness.sol/EchoTypesComptroller.dbg.json +0 -4
  143. package/artifacts/contracts/test/ComptrollerHarness.sol/EchoTypesComptroller.json +0 -94
  144. package/artifacts/contracts/test/ComptrollerScenario.sol/ComptrollerScenario.dbg.json +0 -4
  145. package/artifacts/contracts/test/ComptrollerScenario.sol/ComptrollerScenario.json +0 -1744
  146. package/artifacts/contracts/test/ERC20.sol/ERC20.dbg.json +0 -4
  147. package/artifacts/contracts/test/ERC20.sol/ERC20.json +0 -194
  148. package/artifacts/contracts/test/ERC20.sol/ERC20Base.dbg.json +0 -4
  149. package/artifacts/contracts/test/ERC20.sol/ERC20Base.json +0 -141
  150. package/artifacts/contracts/test/ERC20.sol/ERC20Harness.dbg.json +0 -4
  151. package/artifacts/contracts/test/ERC20.sol/ERC20Harness.json +0 -351
  152. package/artifacts/contracts/test/ERC20.sol/ERC20NS.dbg.json +0 -4
  153. package/artifacts/contracts/test/ERC20.sol/ERC20NS.json +0 -182
  154. package/artifacts/contracts/test/ERC20.sol/NonStandardToken.dbg.json +0 -4
  155. package/artifacts/contracts/test/ERC20.sol/NonStandardToken.json +0 -247
  156. package/artifacts/contracts/test/ERC20.sol/StandardToken.dbg.json +0 -4
  157. package/artifacts/contracts/test/ERC20.sol/StandardToken.json +0 -259
  158. package/artifacts/contracts/test/EvilToken.sol/EvilToken.dbg.json +0 -4
  159. package/artifacts/contracts/test/EvilToken.sol/EvilToken.json +0 -303
  160. package/artifacts/contracts/test/FaucetToken.sol/FaucetNonStandardToken.dbg.json +0 -4
  161. package/artifacts/contracts/test/FaucetToken.sol/FaucetNonStandardToken.json +0 -265
  162. package/artifacts/contracts/test/FaucetToken.sol/FaucetToken.dbg.json +0 -4
  163. package/artifacts/contracts/test/FaucetToken.sol/FaucetToken.json +0 -277
  164. package/artifacts/contracts/test/FaucetToken.sol/FaucetTokenReEntrantHarness.dbg.json +0 -4
  165. package/artifacts/contracts/test/FaucetToken.sol/FaucetTokenReEntrantHarness.json +0 -313
  166. package/artifacts/contracts/test/FeeToken.sol/FeeToken.dbg.json +0 -4
  167. package/artifacts/contracts/test/FeeToken.sol/FeeToken.json +0 -313
  168. package/artifacts/contracts/test/HarnessMaxLoopsLimitHelper.sol/HarnessMaxLoopsLimitHelper.dbg.json +0 -4
  169. package/artifacts/contracts/test/HarnessMaxLoopsLimitHelper.sol/HarnessMaxLoopsLimitHelper.json +0 -85
  170. package/artifacts/contracts/test/MockDeflationaryToken.sol/MockDeflatingToken.dbg.json +0 -4
  171. package/artifacts/contracts/test/MockDeflationaryToken.sol/MockDeflatingToken.json +0 -332
  172. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IERC20.dbg.json +0 -4
  173. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IERC20.json +0 -233
  174. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IPancakeFactory.dbg.json +0 -4
  175. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IPancakeFactory.json +0 -187
  176. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IPancakePair.dbg.json +0 -4
  177. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IPancakePair.json +0 -668
  178. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IPancakeRouter01.dbg.json +0 -4
  179. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IPancakeRouter01.json +0 -760
  180. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IPancakeRouter02.dbg.json +0 -4
  181. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IPancakeRouter02.json +0 -962
  182. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IWETH.dbg.json +0 -4
  183. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IWETH.json +0 -55
  184. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/PancakeLibrary.dbg.json +0 -4
  185. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/PancakeLibrary.json +0 -10
  186. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/PancakeRouter.dbg.json +0 -4
  187. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/PancakeRouter.json +0 -982
  188. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/SafeMath.dbg.json +0 -4
  189. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/SafeMath.json +0 -10
  190. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/TransferHelper.dbg.json +0 -4
  191. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/TransferHelper.json +0 -10
  192. package/artifacts/contracts/test/Mocks/MockPriceOracle.sol/MockPriceOracle.dbg.json +0 -4
  193. package/artifacts/contracts/test/Mocks/MockPriceOracle.sol/MockPriceOracle.json +0 -85
  194. package/artifacts/contracts/test/Mocks/MockToken.sol/MockToken.dbg.json +0 -4
  195. package/artifacts/contracts/test/Mocks/MockToken.sol/MockToken.json +0 -315
  196. package/artifacts/contracts/test/SafeMath.sol/SafeMath.dbg.json +0 -4
  197. package/artifacts/contracts/test/SafeMath.sol/SafeMath.json +0 -10
  198. package/artifacts/contracts/test/UpgradedVToken.sol/UpgradedVToken.dbg.json +0 -4
  199. package/artifacts/contracts/test/UpgradedVToken.sol/UpgradedVToken.json +0 -1946
  200. package/artifacts/contracts/test/VTokenHarness.sol/VTokenHarness.dbg.json +0 -4
  201. package/artifacts/contracts/test/VTokenHarness.sol/VTokenHarness.json +0 -2306
@@ -1,1398 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "VTokenInterface",
4
- "sourceName": "contracts/VTokenInterfaces.sol",
5
- "abi": [
6
- {
7
- "anonymous": false,
8
- "inputs": [
9
- {
10
- "indexed": false,
11
- "internalType": "uint256",
12
- "name": "cashPrior",
13
- "type": "uint256"
14
- },
15
- {
16
- "indexed": false,
17
- "internalType": "uint256",
18
- "name": "interestAccumulated",
19
- "type": "uint256"
20
- },
21
- {
22
- "indexed": false,
23
- "internalType": "uint256",
24
- "name": "borrowIndex",
25
- "type": "uint256"
26
- },
27
- {
28
- "indexed": false,
29
- "internalType": "uint256",
30
- "name": "totalBorrows",
31
- "type": "uint256"
32
- }
33
- ],
34
- "name": "AccrueInterest",
35
- "type": "event"
36
- },
37
- {
38
- "anonymous": false,
39
- "inputs": [
40
- {
41
- "indexed": true,
42
- "internalType": "address",
43
- "name": "owner",
44
- "type": "address"
45
- },
46
- {
47
- "indexed": true,
48
- "internalType": "address",
49
- "name": "spender",
50
- "type": "address"
51
- },
52
- {
53
- "indexed": false,
54
- "internalType": "uint256",
55
- "name": "amount",
56
- "type": "uint256"
57
- }
58
- ],
59
- "name": "Approval",
60
- "type": "event"
61
- },
62
- {
63
- "anonymous": false,
64
- "inputs": [
65
- {
66
- "indexed": true,
67
- "internalType": "address",
68
- "name": "borrower",
69
- "type": "address"
70
- },
71
- {
72
- "indexed": false,
73
- "internalType": "uint256",
74
- "name": "badDebtDelta",
75
- "type": "uint256"
76
- },
77
- {
78
- "indexed": false,
79
- "internalType": "uint256",
80
- "name": "badDebtOld",
81
- "type": "uint256"
82
- },
83
- {
84
- "indexed": false,
85
- "internalType": "uint256",
86
- "name": "badDebtNew",
87
- "type": "uint256"
88
- }
89
- ],
90
- "name": "BadDebtIncreased",
91
- "type": "event"
92
- },
93
- {
94
- "anonymous": false,
95
- "inputs": [
96
- {
97
- "indexed": false,
98
- "internalType": "uint256",
99
- "name": "badDebtOld",
100
- "type": "uint256"
101
- },
102
- {
103
- "indexed": false,
104
- "internalType": "uint256",
105
- "name": "badDebtNew",
106
- "type": "uint256"
107
- }
108
- ],
109
- "name": "BadDebtRecovered",
110
- "type": "event"
111
- },
112
- {
113
- "anonymous": false,
114
- "inputs": [
115
- {
116
- "indexed": true,
117
- "internalType": "address",
118
- "name": "borrower",
119
- "type": "address"
120
- },
121
- {
122
- "indexed": false,
123
- "internalType": "uint256",
124
- "name": "borrowAmount",
125
- "type": "uint256"
126
- },
127
- {
128
- "indexed": false,
129
- "internalType": "uint256",
130
- "name": "accountBorrows",
131
- "type": "uint256"
132
- },
133
- {
134
- "indexed": false,
135
- "internalType": "uint256",
136
- "name": "totalBorrows",
137
- "type": "uint256"
138
- }
139
- ],
140
- "name": "Borrow",
141
- "type": "event"
142
- },
143
- {
144
- "anonymous": false,
145
- "inputs": [
146
- {
147
- "indexed": true,
148
- "internalType": "address",
149
- "name": "payer",
150
- "type": "address"
151
- },
152
- {
153
- "indexed": true,
154
- "internalType": "address",
155
- "name": "borrower",
156
- "type": "address"
157
- },
158
- {
159
- "indexed": false,
160
- "internalType": "uint256",
161
- "name": "repayAmount",
162
- "type": "uint256"
163
- }
164
- ],
165
- "name": "HealBorrow",
166
- "type": "event"
167
- },
168
- {
169
- "anonymous": false,
170
- "inputs": [
171
- {
172
- "indexed": true,
173
- "internalType": "address",
174
- "name": "liquidator",
175
- "type": "address"
176
- },
177
- {
178
- "indexed": true,
179
- "internalType": "address",
180
- "name": "borrower",
181
- "type": "address"
182
- },
183
- {
184
- "indexed": false,
185
- "internalType": "uint256",
186
- "name": "repayAmount",
187
- "type": "uint256"
188
- },
189
- {
190
- "indexed": true,
191
- "internalType": "address",
192
- "name": "vTokenCollateral",
193
- "type": "address"
194
- },
195
- {
196
- "indexed": false,
197
- "internalType": "uint256",
198
- "name": "seizeTokens",
199
- "type": "uint256"
200
- }
201
- ],
202
- "name": "LiquidateBorrow",
203
- "type": "event"
204
- },
205
- {
206
- "anonymous": false,
207
- "inputs": [
208
- {
209
- "indexed": true,
210
- "internalType": "address",
211
- "name": "minter",
212
- "type": "address"
213
- },
214
- {
215
- "indexed": false,
216
- "internalType": "uint256",
217
- "name": "mintAmount",
218
- "type": "uint256"
219
- },
220
- {
221
- "indexed": false,
222
- "internalType": "uint256",
223
- "name": "mintTokens",
224
- "type": "uint256"
225
- },
226
- {
227
- "indexed": false,
228
- "internalType": "uint256",
229
- "name": "accountBalance",
230
- "type": "uint256"
231
- }
232
- ],
233
- "name": "Mint",
234
- "type": "event"
235
- },
236
- {
237
- "anonymous": false,
238
- "inputs": [
239
- {
240
- "indexed": true,
241
- "internalType": "contract ComptrollerInterface",
242
- "name": "oldComptroller",
243
- "type": "address"
244
- },
245
- {
246
- "indexed": true,
247
- "internalType": "contract ComptrollerInterface",
248
- "name": "newComptroller",
249
- "type": "address"
250
- }
251
- ],
252
- "name": "NewComptroller",
253
- "type": "event"
254
- },
255
- {
256
- "anonymous": false,
257
- "inputs": [
258
- {
259
- "indexed": true,
260
- "internalType": "contract InterestRateModel",
261
- "name": "oldInterestRateModel",
262
- "type": "address"
263
- },
264
- {
265
- "indexed": true,
266
- "internalType": "contract InterestRateModel",
267
- "name": "newInterestRateModel",
268
- "type": "address"
269
- }
270
- ],
271
- "name": "NewMarketInterestRateModel",
272
- "type": "event"
273
- },
274
- {
275
- "anonymous": false,
276
- "inputs": [
277
- {
278
- "indexed": false,
279
- "internalType": "uint256",
280
- "name": "oldProtocolSeizeShareMantissa",
281
- "type": "uint256"
282
- },
283
- {
284
- "indexed": false,
285
- "internalType": "uint256",
286
- "name": "newProtocolSeizeShareMantissa",
287
- "type": "uint256"
288
- }
289
- ],
290
- "name": "NewProtocolSeizeShare",
291
- "type": "event"
292
- },
293
- {
294
- "anonymous": false,
295
- "inputs": [
296
- {
297
- "indexed": true,
298
- "internalType": "address",
299
- "name": "oldProtocolShareReserve",
300
- "type": "address"
301
- },
302
- {
303
- "indexed": true,
304
- "internalType": "address",
305
- "name": "newProtocolShareReserve",
306
- "type": "address"
307
- }
308
- ],
309
- "name": "NewProtocolShareReserve",
310
- "type": "event"
311
- },
312
- {
313
- "anonymous": false,
314
- "inputs": [
315
- {
316
- "indexed": false,
317
- "internalType": "uint256",
318
- "name": "oldReserveFactorMantissa",
319
- "type": "uint256"
320
- },
321
- {
322
- "indexed": false,
323
- "internalType": "uint256",
324
- "name": "newReserveFactorMantissa",
325
- "type": "uint256"
326
- }
327
- ],
328
- "name": "NewReserveFactor",
329
- "type": "event"
330
- },
331
- {
332
- "anonymous": false,
333
- "inputs": [
334
- {
335
- "indexed": true,
336
- "internalType": "address",
337
- "name": "oldShortfall",
338
- "type": "address"
339
- },
340
- {
341
- "indexed": true,
342
- "internalType": "address",
343
- "name": "newShortfall",
344
- "type": "address"
345
- }
346
- ],
347
- "name": "NewShortfallContract",
348
- "type": "event"
349
- },
350
- {
351
- "anonymous": false,
352
- "inputs": [
353
- {
354
- "indexed": true,
355
- "internalType": "address",
356
- "name": "redeemer",
357
- "type": "address"
358
- },
359
- {
360
- "indexed": false,
361
- "internalType": "uint256",
362
- "name": "redeemAmount",
363
- "type": "uint256"
364
- },
365
- {
366
- "indexed": false,
367
- "internalType": "uint256",
368
- "name": "redeemTokens",
369
- "type": "uint256"
370
- },
371
- {
372
- "indexed": false,
373
- "internalType": "uint256",
374
- "name": "accountBalance",
375
- "type": "uint256"
376
- }
377
- ],
378
- "name": "Redeem",
379
- "type": "event"
380
- },
381
- {
382
- "anonymous": false,
383
- "inputs": [
384
- {
385
- "indexed": true,
386
- "internalType": "address",
387
- "name": "payer",
388
- "type": "address"
389
- },
390
- {
391
- "indexed": true,
392
- "internalType": "address",
393
- "name": "borrower",
394
- "type": "address"
395
- },
396
- {
397
- "indexed": false,
398
- "internalType": "uint256",
399
- "name": "repayAmount",
400
- "type": "uint256"
401
- },
402
- {
403
- "indexed": false,
404
- "internalType": "uint256",
405
- "name": "accountBorrows",
406
- "type": "uint256"
407
- },
408
- {
409
- "indexed": false,
410
- "internalType": "uint256",
411
- "name": "totalBorrows",
412
- "type": "uint256"
413
- }
414
- ],
415
- "name": "RepayBorrow",
416
- "type": "event"
417
- },
418
- {
419
- "anonymous": false,
420
- "inputs": [
421
- {
422
- "indexed": true,
423
- "internalType": "address",
424
- "name": "benefactor",
425
- "type": "address"
426
- },
427
- {
428
- "indexed": false,
429
- "internalType": "uint256",
430
- "name": "addAmount",
431
- "type": "uint256"
432
- },
433
- {
434
- "indexed": false,
435
- "internalType": "uint256",
436
- "name": "newTotalReserves",
437
- "type": "uint256"
438
- }
439
- ],
440
- "name": "ReservesAdded",
441
- "type": "event"
442
- },
443
- {
444
- "anonymous": false,
445
- "inputs": [
446
- {
447
- "indexed": true,
448
- "internalType": "address",
449
- "name": "admin",
450
- "type": "address"
451
- },
452
- {
453
- "indexed": false,
454
- "internalType": "uint256",
455
- "name": "reduceAmount",
456
- "type": "uint256"
457
- },
458
- {
459
- "indexed": false,
460
- "internalType": "uint256",
461
- "name": "newTotalReserves",
462
- "type": "uint256"
463
- }
464
- ],
465
- "name": "ReservesReduced",
466
- "type": "event"
467
- },
468
- {
469
- "anonymous": false,
470
- "inputs": [
471
- {
472
- "indexed": true,
473
- "internalType": "address",
474
- "name": "token",
475
- "type": "address"
476
- }
477
- ],
478
- "name": "SweepToken",
479
- "type": "event"
480
- },
481
- {
482
- "anonymous": false,
483
- "inputs": [
484
- {
485
- "indexed": true,
486
- "internalType": "address",
487
- "name": "from",
488
- "type": "address"
489
- },
490
- {
491
- "indexed": true,
492
- "internalType": "address",
493
- "name": "to",
494
- "type": "address"
495
- },
496
- {
497
- "indexed": false,
498
- "internalType": "uint256",
499
- "name": "amount",
500
- "type": "uint256"
501
- }
502
- ],
503
- "name": "Transfer",
504
- "type": "event"
505
- },
506
- {
507
- "inputs": [],
508
- "name": "accrualBlockNumber",
509
- "outputs": [
510
- {
511
- "internalType": "uint256",
512
- "name": "",
513
- "type": "uint256"
514
- }
515
- ],
516
- "stateMutability": "view",
517
- "type": "function"
518
- },
519
- {
520
- "inputs": [],
521
- "name": "accrueInterest",
522
- "outputs": [
523
- {
524
- "internalType": "uint256",
525
- "name": "",
526
- "type": "uint256"
527
- }
528
- ],
529
- "stateMutability": "nonpayable",
530
- "type": "function"
531
- },
532
- {
533
- "inputs": [
534
- {
535
- "internalType": "uint256",
536
- "name": "addAmount",
537
- "type": "uint256"
538
- }
539
- ],
540
- "name": "addReserves",
541
- "outputs": [],
542
- "stateMutability": "nonpayable",
543
- "type": "function"
544
- },
545
- {
546
- "inputs": [
547
- {
548
- "internalType": "address",
549
- "name": "owner",
550
- "type": "address"
551
- },
552
- {
553
- "internalType": "address",
554
- "name": "spender",
555
- "type": "address"
556
- }
557
- ],
558
- "name": "allowance",
559
- "outputs": [
560
- {
561
- "internalType": "uint256",
562
- "name": "",
563
- "type": "uint256"
564
- }
565
- ],
566
- "stateMutability": "view",
567
- "type": "function"
568
- },
569
- {
570
- "inputs": [
571
- {
572
- "internalType": "address",
573
- "name": "spender",
574
- "type": "address"
575
- },
576
- {
577
- "internalType": "uint256",
578
- "name": "amount",
579
- "type": "uint256"
580
- }
581
- ],
582
- "name": "approve",
583
- "outputs": [
584
- {
585
- "internalType": "bool",
586
- "name": "",
587
- "type": "bool"
588
- }
589
- ],
590
- "stateMutability": "nonpayable",
591
- "type": "function"
592
- },
593
- {
594
- "inputs": [],
595
- "name": "badDebt",
596
- "outputs": [
597
- {
598
- "internalType": "uint256",
599
- "name": "",
600
- "type": "uint256"
601
- }
602
- ],
603
- "stateMutability": "view",
604
- "type": "function"
605
- },
606
- {
607
- "inputs": [
608
- {
609
- "internalType": "address",
610
- "name": "owner",
611
- "type": "address"
612
- }
613
- ],
614
- "name": "balanceOf",
615
- "outputs": [
616
- {
617
- "internalType": "uint256",
618
- "name": "",
619
- "type": "uint256"
620
- }
621
- ],
622
- "stateMutability": "view",
623
- "type": "function"
624
- },
625
- {
626
- "inputs": [
627
- {
628
- "internalType": "address",
629
- "name": "owner",
630
- "type": "address"
631
- }
632
- ],
633
- "name": "balanceOfUnderlying",
634
- "outputs": [
635
- {
636
- "internalType": "uint256",
637
- "name": "",
638
- "type": "uint256"
639
- }
640
- ],
641
- "stateMutability": "nonpayable",
642
- "type": "function"
643
- },
644
- {
645
- "inputs": [
646
- {
647
- "internalType": "uint256",
648
- "name": "borrowAmount",
649
- "type": "uint256"
650
- }
651
- ],
652
- "name": "borrow",
653
- "outputs": [
654
- {
655
- "internalType": "uint256",
656
- "name": "",
657
- "type": "uint256"
658
- }
659
- ],
660
- "stateMutability": "nonpayable",
661
- "type": "function"
662
- },
663
- {
664
- "inputs": [
665
- {
666
- "internalType": "address",
667
- "name": "account",
668
- "type": "address"
669
- }
670
- ],
671
- "name": "borrowBalanceCurrent",
672
- "outputs": [
673
- {
674
- "internalType": "uint256",
675
- "name": "",
676
- "type": "uint256"
677
- }
678
- ],
679
- "stateMutability": "nonpayable",
680
- "type": "function"
681
- },
682
- {
683
- "inputs": [
684
- {
685
- "internalType": "address",
686
- "name": "account",
687
- "type": "address"
688
- }
689
- ],
690
- "name": "borrowBalanceStored",
691
- "outputs": [
692
- {
693
- "internalType": "uint256",
694
- "name": "",
695
- "type": "uint256"
696
- }
697
- ],
698
- "stateMutability": "view",
699
- "type": "function"
700
- },
701
- {
702
- "inputs": [],
703
- "name": "borrowIndex",
704
- "outputs": [
705
- {
706
- "internalType": "uint256",
707
- "name": "",
708
- "type": "uint256"
709
- }
710
- ],
711
- "stateMutability": "view",
712
- "type": "function"
713
- },
714
- {
715
- "inputs": [],
716
- "name": "borrowRatePerBlock",
717
- "outputs": [
718
- {
719
- "internalType": "uint256",
720
- "name": "",
721
- "type": "uint256"
722
- }
723
- ],
724
- "stateMutability": "view",
725
- "type": "function"
726
- },
727
- {
728
- "inputs": [],
729
- "name": "comptroller",
730
- "outputs": [
731
- {
732
- "internalType": "contract ComptrollerInterface",
733
- "name": "",
734
- "type": "address"
735
- }
736
- ],
737
- "stateMutability": "view",
738
- "type": "function"
739
- },
740
- {
741
- "inputs": [],
742
- "name": "decimals",
743
- "outputs": [
744
- {
745
- "internalType": "uint8",
746
- "name": "",
747
- "type": "uint8"
748
- }
749
- ],
750
- "stateMutability": "view",
751
- "type": "function"
752
- },
753
- {
754
- "inputs": [
755
- {
756
- "internalType": "address",
757
- "name": "spender",
758
- "type": "address"
759
- },
760
- {
761
- "internalType": "uint256",
762
- "name": "subtractedValue",
763
- "type": "uint256"
764
- }
765
- ],
766
- "name": "decreaseAllowance",
767
- "outputs": [
768
- {
769
- "internalType": "bool",
770
- "name": "",
771
- "type": "bool"
772
- }
773
- ],
774
- "stateMutability": "nonpayable",
775
- "type": "function"
776
- },
777
- {
778
- "inputs": [],
779
- "name": "exchangeRateCurrent",
780
- "outputs": [
781
- {
782
- "internalType": "uint256",
783
- "name": "",
784
- "type": "uint256"
785
- }
786
- ],
787
- "stateMutability": "nonpayable",
788
- "type": "function"
789
- },
790
- {
791
- "inputs": [],
792
- "name": "exchangeRateStored",
793
- "outputs": [
794
- {
795
- "internalType": "uint256",
796
- "name": "",
797
- "type": "uint256"
798
- }
799
- ],
800
- "stateMutability": "view",
801
- "type": "function"
802
- },
803
- {
804
- "inputs": [
805
- {
806
- "internalType": "address",
807
- "name": "liquidator",
808
- "type": "address"
809
- },
810
- {
811
- "internalType": "address",
812
- "name": "borrower",
813
- "type": "address"
814
- },
815
- {
816
- "internalType": "uint256",
817
- "name": "repayAmount",
818
- "type": "uint256"
819
- },
820
- {
821
- "internalType": "contract VTokenInterface",
822
- "name": "vTokenCollateral",
823
- "type": "address"
824
- },
825
- {
826
- "internalType": "bool",
827
- "name": "skipCloseFactorCheck",
828
- "type": "bool"
829
- }
830
- ],
831
- "name": "forceLiquidateBorrow",
832
- "outputs": [],
833
- "stateMutability": "nonpayable",
834
- "type": "function"
835
- },
836
- {
837
- "inputs": [
838
- {
839
- "internalType": "address",
840
- "name": "account",
841
- "type": "address"
842
- }
843
- ],
844
- "name": "getAccountSnapshot",
845
- "outputs": [
846
- {
847
- "internalType": "uint256",
848
- "name": "",
849
- "type": "uint256"
850
- },
851
- {
852
- "internalType": "uint256",
853
- "name": "",
854
- "type": "uint256"
855
- },
856
- {
857
- "internalType": "uint256",
858
- "name": "",
859
- "type": "uint256"
860
- },
861
- {
862
- "internalType": "uint256",
863
- "name": "",
864
- "type": "uint256"
865
- }
866
- ],
867
- "stateMutability": "view",
868
- "type": "function"
869
- },
870
- {
871
- "inputs": [],
872
- "name": "getCash",
873
- "outputs": [
874
- {
875
- "internalType": "uint256",
876
- "name": "",
877
- "type": "uint256"
878
- }
879
- ],
880
- "stateMutability": "view",
881
- "type": "function"
882
- },
883
- {
884
- "inputs": [
885
- {
886
- "internalType": "address",
887
- "name": "payer",
888
- "type": "address"
889
- },
890
- {
891
- "internalType": "address",
892
- "name": "borrower",
893
- "type": "address"
894
- },
895
- {
896
- "internalType": "uint256",
897
- "name": "repayAmount",
898
- "type": "uint256"
899
- }
900
- ],
901
- "name": "healBorrow",
902
- "outputs": [],
903
- "stateMutability": "nonpayable",
904
- "type": "function"
905
- },
906
- {
907
- "inputs": [
908
- {
909
- "internalType": "address",
910
- "name": "spender",
911
- "type": "address"
912
- },
913
- {
914
- "internalType": "uint256",
915
- "name": "addedValue",
916
- "type": "uint256"
917
- }
918
- ],
919
- "name": "increaseAllowance",
920
- "outputs": [
921
- {
922
- "internalType": "bool",
923
- "name": "",
924
- "type": "bool"
925
- }
926
- ],
927
- "stateMutability": "nonpayable",
928
- "type": "function"
929
- },
930
- {
931
- "inputs": [],
932
- "name": "interestRateModel",
933
- "outputs": [
934
- {
935
- "internalType": "contract InterestRateModel",
936
- "name": "",
937
- "type": "address"
938
- }
939
- ],
940
- "stateMutability": "view",
941
- "type": "function"
942
- },
943
- {
944
- "inputs": [],
945
- "name": "isVToken",
946
- "outputs": [
947
- {
948
- "internalType": "bool",
949
- "name": "",
950
- "type": "bool"
951
- }
952
- ],
953
- "stateMutability": "pure",
954
- "type": "function"
955
- },
956
- {
957
- "inputs": [
958
- {
959
- "internalType": "address",
960
- "name": "borrower",
961
- "type": "address"
962
- },
963
- {
964
- "internalType": "uint256",
965
- "name": "repayAmount",
966
- "type": "uint256"
967
- },
968
- {
969
- "internalType": "contract VTokenInterface",
970
- "name": "vTokenCollateral",
971
- "type": "address"
972
- }
973
- ],
974
- "name": "liquidateBorrow",
975
- "outputs": [
976
- {
977
- "internalType": "uint256",
978
- "name": "",
979
- "type": "uint256"
980
- }
981
- ],
982
- "stateMutability": "nonpayable",
983
- "type": "function"
984
- },
985
- {
986
- "inputs": [
987
- {
988
- "internalType": "uint256",
989
- "name": "mintAmount",
990
- "type": "uint256"
991
- }
992
- ],
993
- "name": "mint",
994
- "outputs": [
995
- {
996
- "internalType": "uint256",
997
- "name": "",
998
- "type": "uint256"
999
- }
1000
- ],
1001
- "stateMutability": "nonpayable",
1002
- "type": "function"
1003
- },
1004
- {
1005
- "inputs": [
1006
- {
1007
- "internalType": "address",
1008
- "name": "minter",
1009
- "type": "address"
1010
- },
1011
- {
1012
- "internalType": "uint256",
1013
- "name": "mintAllowed",
1014
- "type": "uint256"
1015
- }
1016
- ],
1017
- "name": "mintBehalf",
1018
- "outputs": [
1019
- {
1020
- "internalType": "uint256",
1021
- "name": "",
1022
- "type": "uint256"
1023
- }
1024
- ],
1025
- "stateMutability": "nonpayable",
1026
- "type": "function"
1027
- },
1028
- {
1029
- "inputs": [],
1030
- "name": "name",
1031
- "outputs": [
1032
- {
1033
- "internalType": "string",
1034
- "name": "",
1035
- "type": "string"
1036
- }
1037
- ],
1038
- "stateMutability": "view",
1039
- "type": "function"
1040
- },
1041
- {
1042
- "inputs": [],
1043
- "name": "protocolSeizeShareMantissa",
1044
- "outputs": [
1045
- {
1046
- "internalType": "uint256",
1047
- "name": "",
1048
- "type": "uint256"
1049
- }
1050
- ],
1051
- "stateMutability": "view",
1052
- "type": "function"
1053
- },
1054
- {
1055
- "inputs": [],
1056
- "name": "protocolShareReserve",
1057
- "outputs": [
1058
- {
1059
- "internalType": "address payable",
1060
- "name": "",
1061
- "type": "address"
1062
- }
1063
- ],
1064
- "stateMutability": "view",
1065
- "type": "function"
1066
- },
1067
- {
1068
- "inputs": [
1069
- {
1070
- "internalType": "uint256",
1071
- "name": "redeemTokens",
1072
- "type": "uint256"
1073
- }
1074
- ],
1075
- "name": "redeem",
1076
- "outputs": [
1077
- {
1078
- "internalType": "uint256",
1079
- "name": "",
1080
- "type": "uint256"
1081
- }
1082
- ],
1083
- "stateMutability": "nonpayable",
1084
- "type": "function"
1085
- },
1086
- {
1087
- "inputs": [
1088
- {
1089
- "internalType": "uint256",
1090
- "name": "redeemAmount",
1091
- "type": "uint256"
1092
- }
1093
- ],
1094
- "name": "redeemUnderlying",
1095
- "outputs": [
1096
- {
1097
- "internalType": "uint256",
1098
- "name": "",
1099
- "type": "uint256"
1100
- }
1101
- ],
1102
- "stateMutability": "nonpayable",
1103
- "type": "function"
1104
- },
1105
- {
1106
- "inputs": [
1107
- {
1108
- "internalType": "uint256",
1109
- "name": "reduceAmount",
1110
- "type": "uint256"
1111
- }
1112
- ],
1113
- "name": "reduceReserves",
1114
- "outputs": [],
1115
- "stateMutability": "nonpayable",
1116
- "type": "function"
1117
- },
1118
- {
1119
- "inputs": [
1120
- {
1121
- "internalType": "uint256",
1122
- "name": "repayAmount",
1123
- "type": "uint256"
1124
- }
1125
- ],
1126
- "name": "repayBorrow",
1127
- "outputs": [
1128
- {
1129
- "internalType": "uint256",
1130
- "name": "",
1131
- "type": "uint256"
1132
- }
1133
- ],
1134
- "stateMutability": "nonpayable",
1135
- "type": "function"
1136
- },
1137
- {
1138
- "inputs": [
1139
- {
1140
- "internalType": "address",
1141
- "name": "borrower",
1142
- "type": "address"
1143
- },
1144
- {
1145
- "internalType": "uint256",
1146
- "name": "repayAmount",
1147
- "type": "uint256"
1148
- }
1149
- ],
1150
- "name": "repayBorrowBehalf",
1151
- "outputs": [
1152
- {
1153
- "internalType": "uint256",
1154
- "name": "",
1155
- "type": "uint256"
1156
- }
1157
- ],
1158
- "stateMutability": "nonpayable",
1159
- "type": "function"
1160
- },
1161
- {
1162
- "inputs": [],
1163
- "name": "reserveFactorMantissa",
1164
- "outputs": [
1165
- {
1166
- "internalType": "uint256",
1167
- "name": "",
1168
- "type": "uint256"
1169
- }
1170
- ],
1171
- "stateMutability": "view",
1172
- "type": "function"
1173
- },
1174
- {
1175
- "inputs": [
1176
- {
1177
- "internalType": "address",
1178
- "name": "liquidator",
1179
- "type": "address"
1180
- },
1181
- {
1182
- "internalType": "address",
1183
- "name": "borrower",
1184
- "type": "address"
1185
- },
1186
- {
1187
- "internalType": "uint256",
1188
- "name": "seizeTokens",
1189
- "type": "uint256"
1190
- }
1191
- ],
1192
- "name": "seize",
1193
- "outputs": [],
1194
- "stateMutability": "nonpayable",
1195
- "type": "function"
1196
- },
1197
- {
1198
- "inputs": [
1199
- {
1200
- "internalType": "contract InterestRateModel",
1201
- "name": "newInterestRateModel",
1202
- "type": "address"
1203
- }
1204
- ],
1205
- "name": "setInterestRateModel",
1206
- "outputs": [],
1207
- "stateMutability": "nonpayable",
1208
- "type": "function"
1209
- },
1210
- {
1211
- "inputs": [
1212
- {
1213
- "internalType": "uint256",
1214
- "name": "newReserveFactorMantissa",
1215
- "type": "uint256"
1216
- }
1217
- ],
1218
- "name": "setReserveFactor",
1219
- "outputs": [],
1220
- "stateMutability": "nonpayable",
1221
- "type": "function"
1222
- },
1223
- {
1224
- "inputs": [],
1225
- "name": "shortfall",
1226
- "outputs": [
1227
- {
1228
- "internalType": "address",
1229
- "name": "",
1230
- "type": "address"
1231
- }
1232
- ],
1233
- "stateMutability": "view",
1234
- "type": "function"
1235
- },
1236
- {
1237
- "inputs": [],
1238
- "name": "supplyRatePerBlock",
1239
- "outputs": [
1240
- {
1241
- "internalType": "uint256",
1242
- "name": "",
1243
- "type": "uint256"
1244
- }
1245
- ],
1246
- "stateMutability": "view",
1247
- "type": "function"
1248
- },
1249
- {
1250
- "inputs": [
1251
- {
1252
- "internalType": "contract IERC20Upgradeable",
1253
- "name": "token",
1254
- "type": "address"
1255
- }
1256
- ],
1257
- "name": "sweepToken",
1258
- "outputs": [],
1259
- "stateMutability": "nonpayable",
1260
- "type": "function"
1261
- },
1262
- {
1263
- "inputs": [],
1264
- "name": "symbol",
1265
- "outputs": [
1266
- {
1267
- "internalType": "string",
1268
- "name": "",
1269
- "type": "string"
1270
- }
1271
- ],
1272
- "stateMutability": "view",
1273
- "type": "function"
1274
- },
1275
- {
1276
- "inputs": [],
1277
- "name": "totalBorrows",
1278
- "outputs": [
1279
- {
1280
- "internalType": "uint256",
1281
- "name": "",
1282
- "type": "uint256"
1283
- }
1284
- ],
1285
- "stateMutability": "view",
1286
- "type": "function"
1287
- },
1288
- {
1289
- "inputs": [],
1290
- "name": "totalBorrowsCurrent",
1291
- "outputs": [
1292
- {
1293
- "internalType": "uint256",
1294
- "name": "",
1295
- "type": "uint256"
1296
- }
1297
- ],
1298
- "stateMutability": "nonpayable",
1299
- "type": "function"
1300
- },
1301
- {
1302
- "inputs": [],
1303
- "name": "totalReserves",
1304
- "outputs": [
1305
- {
1306
- "internalType": "uint256",
1307
- "name": "",
1308
- "type": "uint256"
1309
- }
1310
- ],
1311
- "stateMutability": "view",
1312
- "type": "function"
1313
- },
1314
- {
1315
- "inputs": [],
1316
- "name": "totalSupply",
1317
- "outputs": [
1318
- {
1319
- "internalType": "uint256",
1320
- "name": "",
1321
- "type": "uint256"
1322
- }
1323
- ],
1324
- "stateMutability": "view",
1325
- "type": "function"
1326
- },
1327
- {
1328
- "inputs": [
1329
- {
1330
- "internalType": "address",
1331
- "name": "dst",
1332
- "type": "address"
1333
- },
1334
- {
1335
- "internalType": "uint256",
1336
- "name": "amount",
1337
- "type": "uint256"
1338
- }
1339
- ],
1340
- "name": "transfer",
1341
- "outputs": [
1342
- {
1343
- "internalType": "bool",
1344
- "name": "",
1345
- "type": "bool"
1346
- }
1347
- ],
1348
- "stateMutability": "nonpayable",
1349
- "type": "function"
1350
- },
1351
- {
1352
- "inputs": [
1353
- {
1354
- "internalType": "address",
1355
- "name": "src",
1356
- "type": "address"
1357
- },
1358
- {
1359
- "internalType": "address",
1360
- "name": "dst",
1361
- "type": "address"
1362
- },
1363
- {
1364
- "internalType": "uint256",
1365
- "name": "amount",
1366
- "type": "uint256"
1367
- }
1368
- ],
1369
- "name": "transferFrom",
1370
- "outputs": [
1371
- {
1372
- "internalType": "bool",
1373
- "name": "",
1374
- "type": "bool"
1375
- }
1376
- ],
1377
- "stateMutability": "nonpayable",
1378
- "type": "function"
1379
- },
1380
- {
1381
- "inputs": [],
1382
- "name": "underlying",
1383
- "outputs": [
1384
- {
1385
- "internalType": "address",
1386
- "name": "",
1387
- "type": "address"
1388
- }
1389
- ],
1390
- "stateMutability": "view",
1391
- "type": "function"
1392
- }
1393
- ],
1394
- "bytecode": "0x",
1395
- "deployedBytecode": "0x",
1396
- "linkReferences": {},
1397
- "deployedLinkReferences": {}
1398
- }