@venusprotocol/isolated-pools 1.0.0-dev.7 → 1.0.0-dev.9

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 (227) hide show
  1. package/README.md +1 -11
  2. package/contracts/BaseJumpRateModelV2.sol +3 -2
  3. package/contracts/Comptroller.sol +22 -2
  4. package/contracts/ComptrollerInterface.sol +10 -0
  5. package/contracts/ComptrollerStorage.sol +5 -0
  6. package/contracts/ErrorReporter.sol +5 -0
  7. package/contracts/Lens/PoolLens.sol +13 -0
  8. package/contracts/MaxLoopsLimitHelper.sol +5 -0
  9. package/contracts/Pool/PoolRegistry.sol +58 -208
  10. package/contracts/Pool/PoolRegistryInterface.sol +12 -7
  11. package/contracts/Rewards/RewardsDistributor.sol +15 -0
  12. package/contracts/RiskFund/IProtocolShareReserve.sol +5 -0
  13. package/contracts/RiskFund/IRiskFund.sol +5 -0
  14. package/contracts/RiskFund/ProtocolShareReserve.sol +5 -0
  15. package/contracts/RiskFund/ReserveHelpers.sol +5 -0
  16. package/contracts/RiskFund/RiskFund.sol +3 -0
  17. package/contracts/Shortfall/IShortfall.sol +5 -0
  18. package/contracts/Shortfall/Shortfall.sol +10 -0
  19. package/contracts/VToken.sol +24 -2
  20. package/contracts/VTokenInterfaces.sol +10 -0
  21. package/contracts/lib/imports.sol +11 -0
  22. package/dist/deploy/006-deploy-factories.js +1 -32
  23. package/dist/deploy/007-access-control-configure.js +2 -6
  24. package/dist/deploy/009-deploy-pools.js +84 -23
  25. package/package.json +1 -1
  26. package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json +0 -4
  27. package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.json +0 -215
  28. package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +0 -4
  29. package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.json +0 -183
  30. package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +0 -4
  31. package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.json +0 -63
  32. package/artifacts/@openzeppelin/contracts/interfaces/IERC1967.sol/IERC1967.dbg.json +0 -4
  33. package/artifacts/@openzeppelin/contracts/interfaces/IERC1967.sol/IERC1967.json +0 -56
  34. package/artifacts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.dbg.json +0 -4
  35. package/artifacts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.json +0 -24
  36. package/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.dbg.json +0 -4
  37. package/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.json +0 -56
  38. package/artifacts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.dbg.json +0 -4
  39. package/artifacts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.json +0 -19
  40. package/artifacts/@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol/BeaconProxy.dbg.json +0 -4
  41. package/artifacts/@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol/BeaconProxy.json +0 -80
  42. package/artifacts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.dbg.json +0 -4
  43. package/artifacts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.json +0 -24
  44. package/artifacts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.dbg.json +0 -4
  45. package/artifacts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.json +0 -113
  46. package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +0 -4
  47. package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +0 -297
  48. package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +0 -4
  49. package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.json +0 -194
  50. package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +0 -4
  51. package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.json +0 -233
  52. package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +0 -4
  53. package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.json +0 -10
  54. package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +0 -4
  55. package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +0 -10
  56. package/artifacts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.dbg.json +0 -4
  57. package/artifacts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.json +0 -10
  58. package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +0 -4
  59. package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +0 -10
  60. package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +0 -4
  61. package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +0 -30
  62. package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +0 -4
  63. package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +0 -30
  64. package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.dbg.json +0 -4
  65. package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +0 -10
  66. package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.dbg.json +0 -4
  67. package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.json +0 -10
  68. package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +0 -4
  69. package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.json +0 -115
  70. package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +0 -4
  71. package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.json +0 -76
  72. package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +0 -4
  73. package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.json +0 -24
  74. package/artifacts/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol/ReentrancyGuardUpgradeable.dbg.json +0 -4
  75. package/artifacts/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol/ReentrancyGuardUpgradeable.json +0 -24
  76. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +0 -4
  77. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.json +0 -194
  78. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.dbg.json +0 -4
  79. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.json +0 -86
  80. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol/SafeERC20Upgradeable.dbg.json +0 -4
  81. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol/SafeERC20Upgradeable.json +0 -10
  82. package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +0 -4
  83. package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +0 -10
  84. package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +0 -4
  85. package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.json +0 -24
  86. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlManager.sol/AccessControlManager.dbg.json +0 -4
  87. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlManager.sol/AccessControlManager.json +0 -369
  88. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +0 -4
  89. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.json +0 -181
  90. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +0 -4
  91. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.json +0 -282
  92. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.dbg.json +0 -4
  93. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.json +0 -40
  94. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +0 -4
  95. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/OracleInterface.json +0 -30
  96. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.dbg.json +0 -4
  97. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.json +0 -43
  98. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/TwapInterface.dbg.json +0 -4
  99. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/TwapInterface.json +0 -49
  100. package/artifacts/build-info/eb7e5feedaca37f948646aa7bfff0291.json +0 -1
  101. package/artifacts/build-info/f19d689bc99e63a20dd2a17a14e2b84a.json +0 -1
  102. package/artifacts/contracts/BaseJumpRateModelV2.sol/BaseJumpRateModelV2.dbg.json +0 -4
  103. package/artifacts/contracts/BaseJumpRateModelV2.sol/BaseJumpRateModelV2.json +0 -276
  104. package/artifacts/contracts/Comptroller.sol/Comptroller.dbg.json +0 -4
  105. package/artifacts/contracts/Comptroller.sol/Comptroller.json +0 -1667
  106. package/artifacts/contracts/ComptrollerInterface.sol/ComptrollerInterface.dbg.json +0 -4
  107. package/artifacts/contracts/ComptrollerInterface.sol/ComptrollerInterface.json +0 -285
  108. package/artifacts/contracts/ComptrollerInterface.sol/ComptrollerViewInterface.dbg.json +0 -4
  109. package/artifacts/contracts/ComptrollerInterface.sol/ComptrollerViewInterface.json +0 -170
  110. package/artifacts/contracts/ComptrollerStorage.sol/ComptrollerStorage.dbg.json +0 -4
  111. package/artifacts/contracts/ComptrollerStorage.sol/ComptrollerStorage.json +0 -173
  112. package/artifacts/contracts/ErrorReporter.sol/TokenErrorReporter.dbg.json +0 -4
  113. package/artifacts/contracts/ErrorReporter.sol/TokenErrorReporter.json +0 -156
  114. package/artifacts/contracts/ExponentialNoError.sol/ExponentialNoError.dbg.json +0 -4
  115. package/artifacts/contracts/ExponentialNoError.sol/ExponentialNoError.json +0 -10
  116. package/artifacts/contracts/Factories/JumpRateModelFactory.sol/JumpRateModelFactory.dbg.json +0 -4
  117. package/artifacts/contracts/Factories/JumpRateModelFactory.sol/JumpRateModelFactory.json +0 -50
  118. package/artifacts/contracts/Factories/VTokenProxyFactory.sol/VTokenProxyFactory.dbg.json +0 -4
  119. package/artifacts/contracts/Factories/VTokenProxyFactory.sol/VTokenProxyFactory.json +0 -191
  120. package/artifacts/contracts/Factories/WhitePaperInterestRateModelFactory.sol/WhitePaperInterestRateModelFactory.dbg.json +0 -4
  121. package/artifacts/contracts/Factories/WhitePaperInterestRateModelFactory.sol/WhitePaperInterestRateModelFactory.json +0 -35
  122. package/artifacts/contracts/IPancakeswapV2Router.sol/IPancakeswapV2Router.dbg.json +0 -4
  123. package/artifacts/contracts/IPancakeswapV2Router.sol/IPancakeswapV2Router.json +0 -50
  124. package/artifacts/contracts/InterestRateModel.sol/InterestRateModel.dbg.json +0 -4
  125. package/artifacts/contracts/InterestRateModel.sol/InterestRateModel.json +0 -97
  126. package/artifacts/contracts/JumpRateModelV2.sol/JumpRateModelV2.dbg.json +0 -4
  127. package/artifacts/contracts/JumpRateModelV2.sol/JumpRateModelV2.json +0 -307
  128. package/artifacts/contracts/Lens/PoolLens.sol/PoolLens.dbg.json +0 -4
  129. package/artifacts/contracts/Lens/PoolLens.sol/PoolLens.json +0 -1087
  130. package/artifacts/contracts/MaxLoopsLimitHelper.sol/MaxLoopsLimitHelper.dbg.json +0 -4
  131. package/artifacts/contracts/MaxLoopsLimitHelper.sol/MaxLoopsLimitHelper.json +0 -59
  132. package/artifacts/contracts/Pool/PoolRegistry.sol/PoolRegistry.dbg.json +0 -4
  133. package/artifacts/contracts/Pool/PoolRegistry.sol/PoolRegistry.json +0 -923
  134. package/artifacts/contracts/Pool/PoolRegistryInterface.sol/PoolRegistryInterface.dbg.json +0 -4
  135. package/artifacts/contracts/Pool/PoolRegistryInterface.sol/PoolRegistryInterface.json +0 -176
  136. package/artifacts/contracts/Proxy/UpgradeableBeacon.sol/Beacon.dbg.json +0 -4
  137. package/artifacts/contracts/Proxy/UpgradeableBeacon.sol/Beacon.json +0 -113
  138. package/artifacts/contracts/Rewards/RewardsDistributor.sol/RewardsDistributor.dbg.json +0 -4
  139. package/artifacts/contracts/Rewards/RewardsDistributor.sol/RewardsDistributor.json +0 -928
  140. package/artifacts/contracts/RiskFund/IProtocolShareReserve.sol/IProtocolShareReserve.dbg.json +0 -4
  141. package/artifacts/contracts/RiskFund/IProtocolShareReserve.sol/IProtocolShareReserve.json +0 -29
  142. package/artifacts/contracts/RiskFund/IRiskFund.sol/IRiskFund.dbg.json +0 -4
  143. package/artifacts/contracts/RiskFund/IRiskFund.sol/IRiskFund.json +0 -101
  144. package/artifacts/contracts/RiskFund/ProtocolShareReserve.sol/ProtocolShareReserve.dbg.json +0 -4
  145. package/artifacts/contracts/RiskFund/ProtocolShareReserve.sol/ProtocolShareReserve.json +0 -296
  146. package/artifacts/contracts/RiskFund/ReserveHelpers.sol/ReserveHelpers.dbg.json +0 -4
  147. package/artifacts/contracts/RiskFund/ReserveHelpers.sol/ReserveHelpers.json +0 -83
  148. package/artifacts/contracts/RiskFund/RiskFund.sol/RiskFund.dbg.json +0 -4
  149. package/artifacts/contracts/RiskFund/RiskFund.sol/RiskFund.json +0 -615
  150. package/artifacts/contracts/Shortfall/IShortfall.sol/IShortfall.dbg.json +0 -4
  151. package/artifacts/contracts/Shortfall/IShortfall.sol/IShortfall.json +0 -24
  152. package/artifacts/contracts/Shortfall/Shortfall.sol/Shortfall.dbg.json +0 -4
  153. package/artifacts/contracts/Shortfall/Shortfall.sol/Shortfall.json +0 -756
  154. package/artifacts/contracts/VToken.sol/VToken.dbg.json +0 -4
  155. package/artifacts/contracts/VToken.sol/VToken.json +0 -1850
  156. package/artifacts/contracts/VTokenInterfaces.sol/VTokenInterface.dbg.json +0 -4
  157. package/artifacts/contracts/VTokenInterfaces.sol/VTokenInterface.json +0 -1398
  158. package/artifacts/contracts/VTokenInterfaces.sol/VTokenStorage.dbg.json +0 -4
  159. package/artifacts/contracts/VTokenInterfaces.sol/VTokenStorage.json +0 -219
  160. package/artifacts/contracts/WhitePaperInterestRateModel.sol/WhitePaperInterestRateModel.dbg.json +0 -4
  161. package/artifacts/contracts/WhitePaperInterestRateModel.sol/WhitePaperInterestRateModel.json +0 -192
  162. package/artifacts/contracts/test/ComptrollerHarness.sol/ComptrollerHarness.dbg.json +0 -4
  163. package/artifacts/contracts/test/ComptrollerHarness.sol/ComptrollerHarness.json +0 -1712
  164. package/artifacts/contracts/test/ComptrollerHarness.sol/EchoTypesComptroller.dbg.json +0 -4
  165. package/artifacts/contracts/test/ComptrollerHarness.sol/EchoTypesComptroller.json +0 -94
  166. package/artifacts/contracts/test/ComptrollerScenario.sol/ComptrollerScenario.dbg.json +0 -4
  167. package/artifacts/contracts/test/ComptrollerScenario.sol/ComptrollerScenario.json +0 -1744
  168. package/artifacts/contracts/test/ERC20.sol/ERC20.dbg.json +0 -4
  169. package/artifacts/contracts/test/ERC20.sol/ERC20.json +0 -194
  170. package/artifacts/contracts/test/ERC20.sol/ERC20Base.dbg.json +0 -4
  171. package/artifacts/contracts/test/ERC20.sol/ERC20Base.json +0 -141
  172. package/artifacts/contracts/test/ERC20.sol/ERC20Harness.dbg.json +0 -4
  173. package/artifacts/contracts/test/ERC20.sol/ERC20Harness.json +0 -351
  174. package/artifacts/contracts/test/ERC20.sol/ERC20NS.dbg.json +0 -4
  175. package/artifacts/contracts/test/ERC20.sol/ERC20NS.json +0 -182
  176. package/artifacts/contracts/test/ERC20.sol/NonStandardToken.dbg.json +0 -4
  177. package/artifacts/contracts/test/ERC20.sol/NonStandardToken.json +0 -247
  178. package/artifacts/contracts/test/ERC20.sol/StandardToken.dbg.json +0 -4
  179. package/artifacts/contracts/test/ERC20.sol/StandardToken.json +0 -259
  180. package/artifacts/contracts/test/EvilToken.sol/EvilToken.dbg.json +0 -4
  181. package/artifacts/contracts/test/EvilToken.sol/EvilToken.json +0 -303
  182. package/artifacts/contracts/test/FaucetToken.sol/FaucetNonStandardToken.dbg.json +0 -4
  183. package/artifacts/contracts/test/FaucetToken.sol/FaucetNonStandardToken.json +0 -265
  184. package/artifacts/contracts/test/FaucetToken.sol/FaucetToken.dbg.json +0 -4
  185. package/artifacts/contracts/test/FaucetToken.sol/FaucetToken.json +0 -277
  186. package/artifacts/contracts/test/FaucetToken.sol/FaucetTokenReEntrantHarness.dbg.json +0 -4
  187. package/artifacts/contracts/test/FaucetToken.sol/FaucetTokenReEntrantHarness.json +0 -313
  188. package/artifacts/contracts/test/FeeToken.sol/FeeToken.dbg.json +0 -4
  189. package/artifacts/contracts/test/FeeToken.sol/FeeToken.json +0 -313
  190. package/artifacts/contracts/test/HarnessMaxLoopsLimitHelper.sol/HarnessMaxLoopsLimitHelper.dbg.json +0 -4
  191. package/artifacts/contracts/test/HarnessMaxLoopsLimitHelper.sol/HarnessMaxLoopsLimitHelper.json +0 -85
  192. package/artifacts/contracts/test/MockDeflationaryToken.sol/MockDeflatingToken.dbg.json +0 -4
  193. package/artifacts/contracts/test/MockDeflationaryToken.sol/MockDeflatingToken.json +0 -332
  194. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IERC20.dbg.json +0 -4
  195. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IERC20.json +0 -233
  196. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IPancakeFactory.dbg.json +0 -4
  197. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IPancakeFactory.json +0 -187
  198. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IPancakePair.dbg.json +0 -4
  199. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IPancakePair.json +0 -668
  200. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IPancakeRouter01.dbg.json +0 -4
  201. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IPancakeRouter01.json +0 -760
  202. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IPancakeRouter02.dbg.json +0 -4
  203. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IPancakeRouter02.json +0 -962
  204. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IWETH.dbg.json +0 -4
  205. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/IWETH.json +0 -55
  206. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/PancakeLibrary.dbg.json +0 -4
  207. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/PancakeLibrary.json +0 -10
  208. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/PancakeRouter.dbg.json +0 -4
  209. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/PancakeRouter.json +0 -982
  210. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/SafeMath.dbg.json +0 -4
  211. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/SafeMath.json +0 -10
  212. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/TransferHelper.dbg.json +0 -4
  213. package/artifacts/contracts/test/Mocks/MockPancakeSwap.sol/TransferHelper.json +0 -10
  214. package/artifacts/contracts/test/Mocks/MockPriceOracle.sol/MockPriceOracle.dbg.json +0 -4
  215. package/artifacts/contracts/test/Mocks/MockPriceOracle.sol/MockPriceOracle.json +0 -85
  216. package/artifacts/contracts/test/Mocks/MockToken.sol/MockToken.dbg.json +0 -4
  217. package/artifacts/contracts/test/Mocks/MockToken.sol/MockToken.json +0 -315
  218. package/artifacts/contracts/test/SafeMath.sol/SafeMath.dbg.json +0 -4
  219. package/artifacts/contracts/test/SafeMath.sol/SafeMath.json +0 -10
  220. package/artifacts/contracts/test/UpgradedVToken.sol/UpgradedVToken.dbg.json +0 -4
  221. package/artifacts/contracts/test/UpgradedVToken.sol/UpgradedVToken.json +0 -1946
  222. package/artifacts/contracts/test/VTokenHarness.sol/VTokenHarness.dbg.json +0 -4
  223. package/artifacts/contracts/test/VTokenHarness.sol/VTokenHarness.json +0 -2306
  224. package/contracts/Factories/JumpRateModelFactory.sol +0 -26
  225. package/contracts/Factories/VTokenProxyFactory.sol +0 -53
  226. package/contracts/Factories/WhitePaperInterestRateModelFactory.sol +0 -12
  227. package/contracts/Proxy/UpgradeableBeacon.sol +0 -10
@@ -1,183 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "IAccessControl",
4
- "sourceName": "@openzeppelin/contracts/access/IAccessControl.sol",
5
- "abi": [
6
- {
7
- "anonymous": false,
8
- "inputs": [
9
- {
10
- "indexed": true,
11
- "internalType": "bytes32",
12
- "name": "role",
13
- "type": "bytes32"
14
- },
15
- {
16
- "indexed": true,
17
- "internalType": "bytes32",
18
- "name": "previousAdminRole",
19
- "type": "bytes32"
20
- },
21
- {
22
- "indexed": true,
23
- "internalType": "bytes32",
24
- "name": "newAdminRole",
25
- "type": "bytes32"
26
- }
27
- ],
28
- "name": "RoleAdminChanged",
29
- "type": "event"
30
- },
31
- {
32
- "anonymous": false,
33
- "inputs": [
34
- {
35
- "indexed": true,
36
- "internalType": "bytes32",
37
- "name": "role",
38
- "type": "bytes32"
39
- },
40
- {
41
- "indexed": true,
42
- "internalType": "address",
43
- "name": "account",
44
- "type": "address"
45
- },
46
- {
47
- "indexed": true,
48
- "internalType": "address",
49
- "name": "sender",
50
- "type": "address"
51
- }
52
- ],
53
- "name": "RoleGranted",
54
- "type": "event"
55
- },
56
- {
57
- "anonymous": false,
58
- "inputs": [
59
- {
60
- "indexed": true,
61
- "internalType": "bytes32",
62
- "name": "role",
63
- "type": "bytes32"
64
- },
65
- {
66
- "indexed": true,
67
- "internalType": "address",
68
- "name": "account",
69
- "type": "address"
70
- },
71
- {
72
- "indexed": true,
73
- "internalType": "address",
74
- "name": "sender",
75
- "type": "address"
76
- }
77
- ],
78
- "name": "RoleRevoked",
79
- "type": "event"
80
- },
81
- {
82
- "inputs": [
83
- {
84
- "internalType": "bytes32",
85
- "name": "role",
86
- "type": "bytes32"
87
- }
88
- ],
89
- "name": "getRoleAdmin",
90
- "outputs": [
91
- {
92
- "internalType": "bytes32",
93
- "name": "",
94
- "type": "bytes32"
95
- }
96
- ],
97
- "stateMutability": "view",
98
- "type": "function"
99
- },
100
- {
101
- "inputs": [
102
- {
103
- "internalType": "bytes32",
104
- "name": "role",
105
- "type": "bytes32"
106
- },
107
- {
108
- "internalType": "address",
109
- "name": "account",
110
- "type": "address"
111
- }
112
- ],
113
- "name": "grantRole",
114
- "outputs": [],
115
- "stateMutability": "nonpayable",
116
- "type": "function"
117
- },
118
- {
119
- "inputs": [
120
- {
121
- "internalType": "bytes32",
122
- "name": "role",
123
- "type": "bytes32"
124
- },
125
- {
126
- "internalType": "address",
127
- "name": "account",
128
- "type": "address"
129
- }
130
- ],
131
- "name": "hasRole",
132
- "outputs": [
133
- {
134
- "internalType": "bool",
135
- "name": "",
136
- "type": "bool"
137
- }
138
- ],
139
- "stateMutability": "view",
140
- "type": "function"
141
- },
142
- {
143
- "inputs": [
144
- {
145
- "internalType": "bytes32",
146
- "name": "role",
147
- "type": "bytes32"
148
- },
149
- {
150
- "internalType": "address",
151
- "name": "account",
152
- "type": "address"
153
- }
154
- ],
155
- "name": "renounceRole",
156
- "outputs": [],
157
- "stateMutability": "nonpayable",
158
- "type": "function"
159
- },
160
- {
161
- "inputs": [
162
- {
163
- "internalType": "bytes32",
164
- "name": "role",
165
- "type": "bytes32"
166
- },
167
- {
168
- "internalType": "address",
169
- "name": "account",
170
- "type": "address"
171
- }
172
- ],
173
- "name": "revokeRole",
174
- "outputs": [],
175
- "stateMutability": "nonpayable",
176
- "type": "function"
177
- }
178
- ],
179
- "bytecode": "0x",
180
- "deployedBytecode": "0x",
181
- "linkReferences": {},
182
- "deployedLinkReferences": {}
183
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/eb7e5feedaca37f948646aa7bfff0291.json"
4
- }
@@ -1,63 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "Ownable",
4
- "sourceName": "@openzeppelin/contracts/access/Ownable.sol",
5
- "abi": [
6
- {
7
- "anonymous": false,
8
- "inputs": [
9
- {
10
- "indexed": true,
11
- "internalType": "address",
12
- "name": "previousOwner",
13
- "type": "address"
14
- },
15
- {
16
- "indexed": true,
17
- "internalType": "address",
18
- "name": "newOwner",
19
- "type": "address"
20
- }
21
- ],
22
- "name": "OwnershipTransferred",
23
- "type": "event"
24
- },
25
- {
26
- "inputs": [],
27
- "name": "owner",
28
- "outputs": [
29
- {
30
- "internalType": "address",
31
- "name": "",
32
- "type": "address"
33
- }
34
- ],
35
- "stateMutability": "view",
36
- "type": "function"
37
- },
38
- {
39
- "inputs": [],
40
- "name": "renounceOwnership",
41
- "outputs": [],
42
- "stateMutability": "nonpayable",
43
- "type": "function"
44
- },
45
- {
46
- "inputs": [
47
- {
48
- "internalType": "address",
49
- "name": "newOwner",
50
- "type": "address"
51
- }
52
- ],
53
- "name": "transferOwnership",
54
- "outputs": [],
55
- "stateMutability": "nonpayable",
56
- "type": "function"
57
- }
58
- ],
59
- "bytecode": "0x",
60
- "deployedBytecode": "0x",
61
- "linkReferences": {},
62
- "deployedLinkReferences": {}
63
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/eb7e5feedaca37f948646aa7bfff0291.json"
4
- }
@@ -1,56 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "IERC1967",
4
- "sourceName": "@openzeppelin/contracts/interfaces/IERC1967.sol",
5
- "abi": [
6
- {
7
- "anonymous": false,
8
- "inputs": [
9
- {
10
- "indexed": false,
11
- "internalType": "address",
12
- "name": "previousAdmin",
13
- "type": "address"
14
- },
15
- {
16
- "indexed": false,
17
- "internalType": "address",
18
- "name": "newAdmin",
19
- "type": "address"
20
- }
21
- ],
22
- "name": "AdminChanged",
23
- "type": "event"
24
- },
25
- {
26
- "anonymous": false,
27
- "inputs": [
28
- {
29
- "indexed": true,
30
- "internalType": "address",
31
- "name": "beacon",
32
- "type": "address"
33
- }
34
- ],
35
- "name": "BeaconUpgraded",
36
- "type": "event"
37
- },
38
- {
39
- "anonymous": false,
40
- "inputs": [
41
- {
42
- "indexed": true,
43
- "internalType": "address",
44
- "name": "implementation",
45
- "type": "address"
46
- }
47
- ],
48
- "name": "Upgraded",
49
- "type": "event"
50
- }
51
- ],
52
- "bytecode": "0x",
53
- "deployedBytecode": "0x",
54
- "linkReferences": {},
55
- "deployedLinkReferences": {}
56
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/eb7e5feedaca37f948646aa7bfff0291.json"
4
- }
@@ -1,24 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "IERC1822Proxiable",
4
- "sourceName": "@openzeppelin/contracts/interfaces/draft-IERC1822.sol",
5
- "abi": [
6
- {
7
- "inputs": [],
8
- "name": "proxiableUUID",
9
- "outputs": [
10
- {
11
- "internalType": "bytes32",
12
- "name": "",
13
- "type": "bytes32"
14
- }
15
- ],
16
- "stateMutability": "view",
17
- "type": "function"
18
- }
19
- ],
20
- "bytecode": "0x",
21
- "deployedBytecode": "0x",
22
- "linkReferences": {},
23
- "deployedLinkReferences": {}
24
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/eb7e5feedaca37f948646aa7bfff0291.json"
4
- }
@@ -1,56 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "ERC1967Upgrade",
4
- "sourceName": "@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol",
5
- "abi": [
6
- {
7
- "anonymous": false,
8
- "inputs": [
9
- {
10
- "indexed": false,
11
- "internalType": "address",
12
- "name": "previousAdmin",
13
- "type": "address"
14
- },
15
- {
16
- "indexed": false,
17
- "internalType": "address",
18
- "name": "newAdmin",
19
- "type": "address"
20
- }
21
- ],
22
- "name": "AdminChanged",
23
- "type": "event"
24
- },
25
- {
26
- "anonymous": false,
27
- "inputs": [
28
- {
29
- "indexed": true,
30
- "internalType": "address",
31
- "name": "beacon",
32
- "type": "address"
33
- }
34
- ],
35
- "name": "BeaconUpgraded",
36
- "type": "event"
37
- },
38
- {
39
- "anonymous": false,
40
- "inputs": [
41
- {
42
- "indexed": true,
43
- "internalType": "address",
44
- "name": "implementation",
45
- "type": "address"
46
- }
47
- ],
48
- "name": "Upgraded",
49
- "type": "event"
50
- }
51
- ],
52
- "bytecode": "0x",
53
- "deployedBytecode": "0x",
54
- "linkReferences": {},
55
- "deployedLinkReferences": {}
56
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/eb7e5feedaca37f948646aa7bfff0291.json"
4
- }
@@ -1,19 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "Proxy",
4
- "sourceName": "@openzeppelin/contracts/proxy/Proxy.sol",
5
- "abi": [
6
- {
7
- "stateMutability": "payable",
8
- "type": "fallback"
9
- },
10
- {
11
- "stateMutability": "payable",
12
- "type": "receive"
13
- }
14
- ],
15
- "bytecode": "0x",
16
- "deployedBytecode": "0x",
17
- "linkReferences": {},
18
- "deployedLinkReferences": {}
19
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/eb7e5feedaca37f948646aa7bfff0291.json"
4
- }
@@ -1,80 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "BeaconProxy",
4
- "sourceName": "@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "beacon",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "bytes",
15
- "name": "data",
16
- "type": "bytes"
17
- }
18
- ],
19
- "stateMutability": "payable",
20
- "type": "constructor"
21
- },
22
- {
23
- "anonymous": false,
24
- "inputs": [
25
- {
26
- "indexed": false,
27
- "internalType": "address",
28
- "name": "previousAdmin",
29
- "type": "address"
30
- },
31
- {
32
- "indexed": false,
33
- "internalType": "address",
34
- "name": "newAdmin",
35
- "type": "address"
36
- }
37
- ],
38
- "name": "AdminChanged",
39
- "type": "event"
40
- },
41
- {
42
- "anonymous": false,
43
- "inputs": [
44
- {
45
- "indexed": true,
46
- "internalType": "address",
47
- "name": "beacon",
48
- "type": "address"
49
- }
50
- ],
51
- "name": "BeaconUpgraded",
52
- "type": "event"
53
- },
54
- {
55
- "anonymous": false,
56
- "inputs": [
57
- {
58
- "indexed": true,
59
- "internalType": "address",
60
- "name": "implementation",
61
- "type": "address"
62
- }
63
- ],
64
- "name": "Upgraded",
65
- "type": "event"
66
- },
67
- {
68
- "stateMutability": "payable",
69
- "type": "fallback"
70
- },
71
- {
72
- "stateMutability": "payable",
73
- "type": "receive"
74
- }
75
- ],
76
- "bytecode": "0x608060405260405162000adb38038062000adb8339810160408190526200002691620004f5565b62000034828260006200003c565b5050620006ee565b620000478362000111565b6040516001600160a01b038416907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e90600090a2600082511180620000895750805b156200010c576200010a836001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000d2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000f8919062000554565b836200024360201b620000291760201c565b505b505050565b62000127816200027460201b620000571760201c565b6200014f5760405162461bcd60e51b81526004016200014690620005be565b60405180910390fd5b620001c9816001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000192573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b8919062000554565b6200027460201b620000571760201c565b620001e85760405162461bcd60e51b815260040162000146906200061e565b80620002227fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d5060001b6200028360201b620000661760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b60606200026b838360405180606001604052806027815260200162000ab46027913962000286565b90505b92915050565b6001600160a01b03163b151590565b90565b6060600080856001600160a01b031685604051620002a5919062000655565b600060405180830381855af49150503d8060008114620002e2576040519150601f19603f3d011682016040523d82523d6000602084013e620002e7565b606091505b509092509050620002fb8683838762000305565b9695505050505050565b606083156200034a57825160000362000342576001600160a01b0385163b620003425760405162461bcd60e51b815260040162000146906200066a565b508162000356565b6200035683836200035e565b949350505050565b8151156200036f5781518083602001fd5b8060405162461bcd60e51b8152600401620001469190620006db565b60006001600160a01b0382166200026e565b620003a8816200038b565b8114620003b457600080fd5b50565b80516200026e816200039d565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681018181106001600160401b0382111715620004025762000402620003c4565b6040525050565b60006200041560405190565b9050620004238282620003da565b919050565b60006001600160401b03821115620004445762000444620003c4565b601f19601f83011660200192915050565b60005b838110156200047257818101518382015260200162000458565b838111156200010a5750506000910152565b60006200049b620004958462000428565b62000409565b905082815260208101848484011115620004b857620004b8600080fd5b620004c584828562000455565b509392505050565b600082601f830112620004e357620004e3600080fd5b81516200035684826020860162000484565b600080604083850312156200050d576200050d600080fd5b60006200051b8585620003b7565b92505060208301516001600160401b038111156200053c576200053c600080fd5b6200054a85828601620004cd565b9150509250929050565b6000602082840312156200056b576200056b600080fd5b6000620003568484620003b7565b602581526000602082017f455243313936373a206e657720626561636f6e206973206e6f74206120636f6e8152641d1c9858dd60da1b602082015291505b5060400190565b602080825281016200026e8162000579565b603081526000602082017f455243313936373a20626561636f6e20696d706c656d656e746174696f6e206981526f1cc81b9bdd08184818dbdb9d1c9858dd60821b60208201529150620005b7565b602080825281016200026e81620005d0565b60006200063b825190565b6200064b81856020860162000455565b9290920192915050565b600062000663828462000630565b9392505050565b602080825281016200026e81601d81527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000602082015260400190565b6000620006b1825190565b808452602084019350620006ca81856020860162000455565b601f01601f19169290920192915050565b602080825281016200026b8184620006a6565b6103b680620006fe6000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610069565b610102565b565b606061004e838360405180606001604052806027815260200161035a60279139610126565b90505b92915050565b6001600160a01b03163b151590565b90565b600061009c7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50546001600160a01b031690565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100fd9190610255565b905090565b3660008037600080366000845af43d6000803e808015610121573d6000f35b3d6000fd5b6060600080856001600160a01b03168560405161014391906102c8565b600060405180830381855af49150503d806000811461017e576040519150601f19603f3d011682016040523d82523d6000602084013e610183565b606091505b50915091506101948683838761019e565b9695505050505050565b606083156101e65782516000036101df576001600160a01b0385163b6101df5760405162461bcd60e51b81526004016101d6906102db565b60405180910390fd5b50816101f0565b6101f083836101f8565b949350505050565b8151156102085781518083602001fd5b8060405162461bcd60e51b81526004016101d69190610348565b60006001600160a01b038216610051565b61023c81610222565b811461024757600080fd5b50565b805161005181610233565b60006020828403121561026a5761026a600080fd5b60006101f0848461024a565b60005b83811015610291578181015183820152602001610279565b838111156102a0576000848401525b50505050565b60006102b0825190565b6102be818560208601610276565b9290920192915050565b60006102d482846102a6565b9392505050565b6020808252810161005181601d81527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000602082015260400190565b6000610320825190565b808452602084019350610337818560208601610276565b601f01601f19169290920192915050565b6020808252810161004e818461031656fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220fe754c8bb6bde7241f3f69c479c34398216be74093247b948c590ccdb814eb2a64736f6c634300080d0033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",
77
- "deployedBytecode": "0x60806040523661001357610011610017565b005b6100115b610027610022610069565b610102565b565b606061004e838360405180606001604052806027815260200161035a60279139610126565b90505b92915050565b6001600160a01b03163b151590565b90565b600061009c7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50546001600160a01b031690565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100fd9190610255565b905090565b3660008037600080366000845af43d6000803e808015610121573d6000f35b3d6000fd5b6060600080856001600160a01b03168560405161014391906102c8565b600060405180830381855af49150503d806000811461017e576040519150601f19603f3d011682016040523d82523d6000602084013e610183565b606091505b50915091506101948683838761019e565b9695505050505050565b606083156101e65782516000036101df576001600160a01b0385163b6101df5760405162461bcd60e51b81526004016101d6906102db565b60405180910390fd5b50816101f0565b6101f083836101f8565b949350505050565b8151156102085781518083602001fd5b8060405162461bcd60e51b81526004016101d69190610348565b60006001600160a01b038216610051565b61023c81610222565b811461024757600080fd5b50565b805161005181610233565b60006020828403121561026a5761026a600080fd5b60006101f0848461024a565b60005b83811015610291578181015183820152602001610279565b838111156102a0576000848401525b50505050565b60006102b0825190565b6102be818560208601610276565b9290920192915050565b60006102d482846102a6565b9392505050565b6020808252810161005181601d81527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000602082015260400190565b6000610320825190565b808452602084019350610337818560208601610276565b601f01601f19169290920192915050565b6020808252810161004e818461031656fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220fe754c8bb6bde7241f3f69c479c34398216be74093247b948c590ccdb814eb2a64736f6c634300080d0033",
78
- "linkReferences": {},
79
- "deployedLinkReferences": {}
80
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/eb7e5feedaca37f948646aa7bfff0291.json"
4
- }
@@ -1,24 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "IBeacon",
4
- "sourceName": "@openzeppelin/contracts/proxy/beacon/IBeacon.sol",
5
- "abi": [
6
- {
7
- "inputs": [],
8
- "name": "implementation",
9
- "outputs": [
10
- {
11
- "internalType": "address",
12
- "name": "",
13
- "type": "address"
14
- }
15
- ],
16
- "stateMutability": "view",
17
- "type": "function"
18
- }
19
- ],
20
- "bytecode": "0x",
21
- "deployedBytecode": "0x",
22
- "linkReferences": {},
23
- "deployedLinkReferences": {}
24
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/eb7e5feedaca37f948646aa7bfff0291.json"
4
- }