@venusprotocol/oracle 1.5.0 → 1.6.0

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 (118) hide show
  1. package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.sol/AggregatorInterface.dbg.json +1 -1
  2. package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.sol/AggregatorV2V3Interface.dbg.json +1 -1
  3. package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.dbg.json +1 -1
  4. package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
  5. package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
  6. package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
  7. package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
  8. package/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.dbg.json +1 -1
  9. package/artifacts/@openzeppelin/contracts/utils/math/SafeMath.sol/SafeMath.dbg.json +1 -1
  10. package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.dbg.json +1 -1
  11. package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
  12. package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
  13. package/artifacts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +1 -1
  14. package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
  15. package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
  16. package/artifacts/build-info/1d7bedd9b14544f287811332b9a539d7.json +1 -0
  17. package/artifacts/build-info/{96c10bfc915caedc90a237abc802c96d.json → 57da5d39a9f98618d0dcf1f6d4ff6b0d.json} +1 -1
  18. package/artifacts/build-info/f6af69795174616b8b4a6373f9f1c538.json +1 -0
  19. package/artifacts/contracts/PriceOracle.sol/PriceOracle.dbg.json +1 -1
  20. package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.dbg.json +1 -1
  21. package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.json +2 -2
  22. package/artifacts/contracts/interfaces/FeedRegistryInterface.sol/FeedRegistryInterface.dbg.json +1 -1
  23. package/artifacts/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.dbg.json +1 -1
  24. package/artifacts/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +1 -1
  25. package/artifacts/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.dbg.json +1 -1
  26. package/artifacts/contracts/interfaces/OracleInterface.sol/TwapInterface.dbg.json +1 -1
  27. package/artifacts/contracts/interfaces/PythInterface.sol/AbstractPyth.dbg.json +1 -1
  28. package/artifacts/contracts/interfaces/PythInterface.sol/IPyth.dbg.json +1 -1
  29. package/artifacts/contracts/interfaces/PythInterface.sol/PythStructs.dbg.json +1 -1
  30. package/artifacts/contracts/interfaces/VBep20Interface.sol/VBep20Interface.dbg.json +1 -1
  31. package/artifacts/contracts/libraries/PancakeLibrary.sol/FixedPoint.dbg.json +1 -1
  32. package/artifacts/contracts/libraries/PancakeLibrary.sol/FixedPoint.json +2 -2
  33. package/artifacts/contracts/libraries/PancakeLibrary.sol/IPancakePair.dbg.json +1 -1
  34. package/artifacts/contracts/libraries/PancakeLibrary.sol/PancakeOracleLibrary.dbg.json +1 -1
  35. package/artifacts/contracts/libraries/PancakeLibrary.sol/PancakeOracleLibrary.json +2 -2
  36. package/artifacts/contracts/oracles/BinanceOracle.sol/BinanceOracle.dbg.json +1 -1
  37. package/artifacts/contracts/oracles/BinanceOracle.sol/BinanceOracle.json +2 -2
  38. package/artifacts/contracts/oracles/BoundValidator.sol/BoundValidator.dbg.json +1 -1
  39. package/artifacts/contracts/oracles/BoundValidator.sol/BoundValidator.json +3 -3
  40. package/artifacts/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.dbg.json +1 -1
  41. package/artifacts/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.json +2 -2
  42. package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.dbg.json +1 -1
  43. package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.json +2 -2
  44. package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.dbg.json +1 -1
  45. package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.json +2 -2
  46. package/artifacts/contracts/oracles/mocks/MockBinanceFeedRegistry.sol/MockBinanceFeedRegistry.dbg.json +1 -1
  47. package/artifacts/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.dbg.json +1 -1
  48. package/artifacts/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.json +2 -2
  49. package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.dbg.json +1 -1
  50. package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.json +2 -2
  51. package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.dbg.json +1 -1
  52. package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.json +2 -2
  53. package/artifacts/contracts/oracles/mocks/MockTwapOracle.sol/MockTwapOracle.dbg.json +1 -1
  54. package/artifacts/contracts/oracles/mocks/MockTwapOracle.sol/MockTwapOracle.json +2 -2
  55. package/artifacts/contracts/test/BEP20Harness.sol/BEP20Harness.dbg.json +1 -1
  56. package/artifacts/contracts/test/MockPyth.sol/MockPyth.dbg.json +1 -1
  57. package/artifacts/contracts/test/MockPyth.sol/MockPyth.json +2 -2
  58. package/artifacts/contracts/test/MockSimpleOracle.sol/MockBoundValidator.dbg.json +1 -1
  59. package/artifacts/contracts/test/MockSimpleOracle.sol/MockBoundValidator.json +2 -2
  60. package/artifacts/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.dbg.json +1 -1
  61. package/artifacts/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.json +2 -2
  62. package/artifacts/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.dbg.json +1 -1
  63. package/artifacts/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.json +2 -2
  64. package/artifacts/contracts/test/PancakePairHarness.sol/Math.dbg.json +1 -1
  65. package/artifacts/contracts/test/PancakePairHarness.sol/Math.json +2 -2
  66. package/artifacts/contracts/test/PancakePairHarness.sol/PancakePairHarness.dbg.json +1 -1
  67. package/artifacts/contracts/test/PancakePairHarness.sol/PancakePairHarness.json +2 -2
  68. package/artifacts/contracts/test/PancakePairHarness.sol/UQ112x112.dbg.json +1 -1
  69. package/artifacts/contracts/test/PancakePairHarness.sol/UQ112x112.json +2 -2
  70. package/artifacts/contracts/test/VBEP20Harness.sol/VBEP20Harness.dbg.json +1 -1
  71. package/contracts/PriceOracle.sol +2 -2
  72. package/contracts/ResilientOracle.sol +127 -114
  73. package/contracts/libraries/PancakeLibrary.sol +8 -8
  74. package/contracts/oracles/BinanceOracle.sol +4 -4
  75. package/contracts/oracles/BoundValidator.sol +31 -29
  76. package/contracts/oracles/ChainlinkOracle.sol +85 -83
  77. package/contracts/oracles/PythOracle.sol +41 -41
  78. package/contracts/oracles/TwapOracle.sol +67 -67
  79. package/contracts/oracles/mocks/MockBinanceOracle.sol +4 -4
  80. package/contracts/oracles/mocks/MockChainlinkOracle.sol +4 -4
  81. package/contracts/oracles/mocks/MockPythOracle.sol +4 -4
  82. package/contracts/oracles/mocks/MockTwapOracle.sol +4 -4
  83. package/contracts/test/MockPyth.sol +13 -13
  84. package/contracts/test/MockSimpleOracle.sol +8 -8
  85. package/contracts/test/MockV3Aggregator.sol +18 -18
  86. package/contracts/test/PancakePairHarness.sol +10 -10
  87. package/deploy/1-deploy-oracles.d.ts +1 -3
  88. package/deploy/1-deploy-oracles.d.ts.map +1 -1
  89. package/deploy/1-deploy-oracles.js +13 -3
  90. package/deploy/1-deploy-oracles.js.map +1 -1
  91. package/deploy/2-configure-feeds.d.ts +1 -3
  92. package/deploy/2-configure-feeds.d.ts.map +1 -1
  93. package/deploy/2-configure-feeds.js +101 -87
  94. package/deploy/2-configure-feeds.js.map +1 -1
  95. package/deployments/bsctestnet/BinanceOracle.json +42 -29
  96. package/deployments/bsctestnet/BinanceOracle_Implementation.json +96 -23
  97. package/deployments/bsctestnet/BinanceOracle_Proxy.json +28 -28
  98. package/deployments/bsctestnet/BoundValidator.json +65 -39
  99. package/deployments/bsctestnet/BoundValidator_Implementation.json +113 -35
  100. package/deployments/bsctestnet/BoundValidator_Proxy.json +37 -37
  101. package/deployments/bsctestnet/ChainlinkOracle.json +64 -38
  102. package/deployments/bsctestnet/ChainlinkOracle_Implementation.json +122 -41
  103. package/deployments/bsctestnet/ChainlinkOracle_Proxy.json +37 -37
  104. package/deployments/bsctestnet/DefaultProxyAdmin.json +15 -15
  105. package/deployments/bsctestnet/PythOracle.json +71 -45
  106. package/deployments/bsctestnet/PythOracle_Implementation.json +128 -44
  107. package/deployments/bsctestnet/PythOracle_Proxy.json +44 -44
  108. package/deployments/bsctestnet/ResilientOracle.json +67 -54
  109. package/deployments/bsctestnet/ResilientOracle_Implementation.json +161 -63
  110. package/deployments/bsctestnet/ResilientOracle_Proxy.json +39 -39
  111. package/deployments/bsctestnet/TwapOracle.json +74 -71
  112. package/deployments/bsctestnet/TwapOracle_Implementation.json +163 -93
  113. package/deployments/bsctestnet/TwapOracle_Proxy.json +37 -41
  114. package/deployments/bsctestnet/solcInputs/6153c675ce838eebb6442d63350712be.json +144 -0
  115. package/package.json +4 -2
  116. package/deployments/bsctestnet/solcInputs/09bc2981019c6dcce653b90bac585fe0.json +0 -81
  117. package/deployments/bsctestnet/solcInputs/5dedb37ab8105f1f71e53a3f865859c5.json +0 -57
  118. package/deployments/bsctestnet/solcInputs/bb71c6049f6b7b21a6581f40daf802bc.json +0 -138
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../../build-info/96c10bfc915caedc90a237abc802c96d.json"
3
+ "buildInfo": "../../../../../../build-info/57da5d39a9f98618d0dcf1f6d4ff6b0d.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../../build-info/96c10bfc915caedc90a237abc802c96d.json"
3
+ "buildInfo": "../../../../../../build-info/57da5d39a9f98618d0dcf1f6d4ff6b0d.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../../build-info/96c10bfc915caedc90a237abc802c96d.json"
3
+ "buildInfo": "../../../../../../build-info/57da5d39a9f98618d0dcf1f6d4ff6b0d.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/96c10bfc915caedc90a237abc802c96d.json"
3
+ "buildInfo": "../../../../../build-info/57da5d39a9f98618d0dcf1f6d4ff6b0d.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/96c10bfc915caedc90a237abc802c96d.json"
3
+ "buildInfo": "../../../../../build-info/57da5d39a9f98618d0dcf1f6d4ff6b0d.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../../build-info/96c10bfc915caedc90a237abc802c96d.json"
3
+ "buildInfo": "../../../../../../build-info/57da5d39a9f98618d0dcf1f6d4ff6b0d.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/96c10bfc915caedc90a237abc802c96d.json"
3
+ "buildInfo": "../../../../build-info/57da5d39a9f98618d0dcf1f6d4ff6b0d.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/96c10bfc915caedc90a237abc802c96d.json"
3
+ "buildInfo": "../../../../../build-info/57da5d39a9f98618d0dcf1f6d4ff6b0d.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/96c10bfc915caedc90a237abc802c96d.json"
3
+ "buildInfo": "../../../../../build-info/57da5d39a9f98618d0dcf1f6d4ff6b0d.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/96c10bfc915caedc90a237abc802c96d.json"
3
+ "buildInfo": "../../../../../build-info/57da5d39a9f98618d0dcf1f6d4ff6b0d.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/96c10bfc915caedc90a237abc802c96d.json"
3
+ "buildInfo": "../../../../build-info/57da5d39a9f98618d0dcf1f6d4ff6b0d.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/96c10bfc915caedc90a237abc802c96d.json"
3
+ "buildInfo": "../../../../../build-info/57da5d39a9f98618d0dcf1f6d4ff6b0d.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/96c10bfc915caedc90a237abc802c96d.json"
3
+ "buildInfo": "../../../../build-info/57da5d39a9f98618d0dcf1f6d4ff6b0d.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/96c10bfc915caedc90a237abc802c96d.json"
3
+ "buildInfo": "../../../../build-info/57da5d39a9f98618d0dcf1f6d4ff6b0d.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/96c10bfc915caedc90a237abc802c96d.json"
3
+ "buildInfo": "../../../../build-info/57da5d39a9f98618d0dcf1f6d4ff6b0d.json"
4
4
  }