@venusprotocol/oracle 1.6.11-dev.7 → 1.6.11-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 (102) 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/access/AccessControl.sol/AccessControl.dbg.json +1 -1
  5. package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +1 -1
  6. package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
  7. package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
  8. package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
  9. package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
  10. package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +1 -1
  11. package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +1 -1
  12. package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +1 -1
  13. package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.dbg.json +1 -1
  14. package/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.dbg.json +1 -1
  15. package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.dbg.json +1 -1
  16. package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +1 -1
  17. package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
  18. package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
  19. package/artifacts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +1 -1
  20. package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
  21. package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
  22. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlManager.sol/AccessControlManager.dbg.json +1 -1
  23. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +1 -1
  24. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +1 -1
  25. package/artifacts/build-info/{0fa2b75b56480052b72f8190a534e534.json → 0137d0ff3ae413641739f9f6322cc2b3.json} +1 -1
  26. package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.dbg.json +1 -1
  27. package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.json +7 -7
  28. package/artifacts/contracts/interfaces/FeedRegistryInterface.sol/FeedRegistryInterface.dbg.json +1 -1
  29. package/artifacts/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.dbg.json +1 -1
  30. package/artifacts/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +1 -1
  31. package/artifacts/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.dbg.json +1 -1
  32. package/artifacts/contracts/interfaces/OracleInterface.sol/TwapInterface.dbg.json +1 -1
  33. package/artifacts/contracts/interfaces/PublicResolverInterface.sol/PublicResolverInterface.dbg.json +1 -1
  34. package/artifacts/contracts/interfaces/PythInterface.sol/AbstractPyth.dbg.json +1 -1
  35. package/artifacts/contracts/interfaces/PythInterface.sol/IPyth.dbg.json +1 -1
  36. package/artifacts/contracts/interfaces/PythInterface.sol/PythStructs.dbg.json +1 -1
  37. package/artifacts/contracts/interfaces/SIDRegistryInterface.sol/SIDRegistryInterface.dbg.json +1 -1
  38. package/artifacts/contracts/interfaces/VBep20Interface.sol/VBep20Interface.dbg.json +1 -1
  39. package/artifacts/contracts/libraries/PancakeLibrary.sol/FixedPoint.dbg.json +1 -1
  40. package/artifacts/contracts/libraries/PancakeLibrary.sol/IPancakePair.dbg.json +1 -1
  41. package/artifacts/contracts/libraries/PancakeLibrary.sol/PancakeOracleLibrary.dbg.json +1 -1
  42. package/artifacts/contracts/oracles/BinanceOracle.sol/BinanceOracle.dbg.json +1 -1
  43. package/artifacts/contracts/oracles/BinanceOracle.sol/BinanceOracle.json +2 -2
  44. package/artifacts/contracts/oracles/BoundValidator.sol/BoundValidator.dbg.json +1 -1
  45. package/artifacts/contracts/oracles/BoundValidator.sol/BoundValidator.json +4 -4
  46. package/artifacts/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.dbg.json +1 -1
  47. package/artifacts/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.json +4 -10
  48. package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.dbg.json +1 -1
  49. package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.json +10 -4
  50. package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.dbg.json +1 -1
  51. package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.json +24 -24
  52. package/artifacts/contracts/oracles/mocks/MockBinanceFeedRegistry.sol/MockBinanceFeedRegistry.dbg.json +1 -1
  53. package/artifacts/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.dbg.json +1 -1
  54. package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.dbg.json +1 -1
  55. package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.json +2 -2
  56. package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.dbg.json +1 -1
  57. package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.json +2 -2
  58. package/artifacts/contracts/oracles/mocks/MockTwapOracle.sol/MockTwapOracle.dbg.json +1 -1
  59. package/artifacts/contracts/test/AccessControlManager.sol/AccessControlManagerScenario.dbg.json +1 -1
  60. package/artifacts/contracts/test/BEP20Harness.sol/BEP20Harness.dbg.json +1 -1
  61. package/artifacts/contracts/test/MockPyth.sol/MockPyth.dbg.json +1 -1
  62. package/artifacts/contracts/test/MockSimpleOracle.sol/MockBoundValidator.dbg.json +1 -1
  63. package/artifacts/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.dbg.json +1 -1
  64. package/artifacts/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.dbg.json +1 -1
  65. package/artifacts/contracts/test/PancakePairHarness.sol/Math.dbg.json +1 -1
  66. package/artifacts/contracts/test/PancakePairHarness.sol/PancakePairHarness.dbg.json +1 -1
  67. package/artifacts/contracts/test/PancakePairHarness.sol/UQ112x112.dbg.json +1 -1
  68. package/artifacts/contracts/test/VBEP20Harness.sol/VBEP20Harness.dbg.json +1 -1
  69. package/contracts/ResilientOracle.sol +23 -18
  70. package/contracts/oracles/BinanceOracle.sol +17 -17
  71. package/contracts/oracles/BoundValidator.sol +37 -36
  72. package/contracts/oracles/ChainlinkOracle.sol +30 -34
  73. package/contracts/oracles/PythOracle.sol +26 -25
  74. package/contracts/oracles/TwapOracle.sol +56 -56
  75. package/deployments/bscmainnet/BinanceOracle.json +278 -36
  76. package/deployments/bscmainnet/BinanceOracle_Implementation.json +398 -28
  77. package/deployments/bscmainnet/BinanceOracle_Proxy.json +58 -34
  78. package/deployments/bscmainnet/BoundValidator.json +48 -48
  79. package/deployments/bscmainnet/BoundValidator_Implementation.json +36 -36
  80. package/deployments/bscmainnet/BoundValidator_Proxy.json +46 -46
  81. package/deployments/bscmainnet/ChainlinkOracle.json +55 -41
  82. package/deployments/bscmainnet/ChainlinkOracle_Implementation.json +36 -36
  83. package/deployments/bscmainnet/ChainlinkOracle_Proxy.json +53 -39
  84. package/deployments/bscmainnet/DefaultProxyAdmin.json +16 -16
  85. package/deployments/bscmainnet/PythOracle.json +54 -54
  86. package/deployments/bscmainnet/PythOracle_Implementation.json +38 -38
  87. package/deployments/bscmainnet/PythOracle_Proxy.json +52 -52
  88. package/deployments/bscmainnet/ResilientOracle.json +57 -43
  89. package/deployments/bscmainnet/ResilientOracle_Implementation.json +38 -38
  90. package/deployments/bscmainnet/ResilientOracle_Proxy.json +54 -40
  91. package/deployments/bscmainnet/TwapOracle.json +48 -61
  92. package/deployments/bscmainnet/TwapOracle_Implementation.json +49 -62
  93. package/deployments/bscmainnet/TwapOracle_Proxy.json +46 -46
  94. package/deployments/bscmainnet/solcInputs/3c9df0f4b407c3d8079629dd6ddb913e.json +180 -0
  95. package/dist/deploy/1-deploy-oracles.js +2 -2
  96. package/dist/deploy/1-deploy-oracles.js.map +1 -1
  97. package/dist/hardhat.config.d.ts.map +1 -1
  98. package/dist/hardhat.config.js +20 -4
  99. package/dist/hardhat.config.js.map +1 -1
  100. package/package.json +1 -1
  101. package/deployments/bscmainnet/solcInputs/68ea814c0d6925581f2bda5deba8ce4a.json +0 -60
  102. package/deployments/bscmainnet/solcInputs/8658c669dade0e9ab80874eab3bf3468.json +0 -117
@@ -1,5 +1,5 @@
1
1
  {
2
- "address": "0x43Ea33BCD79C8D34f8F00D030949203B39f38Ada",
2
+ "address": "0x526C79F944A28EB5B653DF4c0f9E7467B9850Eea",
3
3
  "abi": [
4
4
  {
5
5
  "inputs": [
@@ -133,83 +133,83 @@
133
133
  "type": "receive"
134
134
  }
135
135
  ],
136
- "transactionHash": "0x5de7efb7e5359bc4be775dd47db5e713917072b23caee07c4bb947a103d118b0",
136
+ "transactionHash": "0x59634386d22736b6f9910b946f61d6d60c4164edf93591dea625d452055735b9",
137
137
  "receipt": {
138
138
  "to": null,
139
- "from": "0x8BDA9f9E1fEF0DFd404Fef338D9fE4c543d172e1",
140
- "contractAddress": "0x43Ea33BCD79C8D34f8F00D030949203B39f38Ada",
141
- "transactionIndex": 66,
142
- "gasUsed": "695650",
143
- "logsBloom": "0x00000000000000000000000000800000400000000000000000800000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000010000002000001040000000000000000000000000000000000020000000000000000000800000000800000000000000000000000400000000000000000000000000000000080000000000080000000000000800000000008000000000010000000000400000000000000800000000000000000000000000020000000000000000000040000000000100400000000000000000020000000000000000000000000010000000000000800000000100000000000000000",
144
- "blockHash": "0xf9a9c3e9c067c264138317d91c1ca1bfd8ae05bfa37093b0779563d010d52d01",
145
- "transactionHash": "0x5de7efb7e5359bc4be775dd47db5e713917072b23caee07c4bb947a103d118b0",
139
+ "from": "0xa05f990d647287e4E84715b813BC000aEA970467",
140
+ "contractAddress": "0x526C79F944A28EB5B653DF4c0f9E7467B9850Eea",
141
+ "transactionIndex": 85,
142
+ "gasUsed": "696513",
143
+ "logsBloom": "0x00000000000000000000000000000000400000000000000000800000000000000000000000200000000000000000000000000000000000000000000000048000000000000000000000008000000002000801000000000100000000000000002000000000020000000000000000000800000000800000000000000000000000400000000000000000000000000000000000000000000080000000000000800000000000000000001000000000000400000000000400808000000000000000000000000020000000000000000000040000000000000400000000000000000020000000000000000000000000000000000000000800000000000000000000000000",
144
+ "blockHash": "0xd5cf5efecfa34adc6101e7e9f8fb5b616ef44614703b14db4ab4e6df0f2ec376",
145
+ "transactionHash": "0x59634386d22736b6f9910b946f61d6d60c4164edf93591dea625d452055735b9",
146
146
  "logs": [
147
147
  {
148
- "transactionIndex": 66,
149
- "blockNumber": 27114909,
150
- "transactionHash": "0x5de7efb7e5359bc4be775dd47db5e713917072b23caee07c4bb947a103d118b0",
151
- "address": "0x43Ea33BCD79C8D34f8F00D030949203B39f38Ada",
148
+ "transactionIndex": 85,
149
+ "blockNumber": 27541094,
150
+ "transactionHash": "0x59634386d22736b6f9910b946f61d6d60c4164edf93591dea625d452055735b9",
151
+ "address": "0x526C79F944A28EB5B653DF4c0f9E7467B9850Eea",
152
152
  "topics": [
153
153
  "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
154
- "0x0000000000000000000000003640e6190dc46a2e6be5ffdba15210712704ae81"
154
+ "0x000000000000000000000000ea24d9d32f350cc3b2581be42f62497910cddde2"
155
155
  ],
156
156
  "data": "0x",
157
- "logIndex": 104,
158
- "blockHash": "0xf9a9c3e9c067c264138317d91c1ca1bfd8ae05bfa37093b0779563d010d52d01"
157
+ "logIndex": 227,
158
+ "blockHash": "0xd5cf5efecfa34adc6101e7e9f8fb5b616ef44614703b14db4ab4e6df0f2ec376"
159
159
  },
160
160
  {
161
- "transactionIndex": 66,
162
- "blockNumber": 27114909,
163
- "transactionHash": "0x5de7efb7e5359bc4be775dd47db5e713917072b23caee07c4bb947a103d118b0",
164
- "address": "0x43Ea33BCD79C8D34f8F00D030949203B39f38Ada",
161
+ "transactionIndex": 85,
162
+ "blockNumber": 27541094,
163
+ "transactionHash": "0x59634386d22736b6f9910b946f61d6d60c4164edf93591dea625d452055735b9",
164
+ "address": "0x526C79F944A28EB5B653DF4c0f9E7467B9850Eea",
165
165
  "topics": [
166
166
  "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
167
167
  "0x0000000000000000000000000000000000000000000000000000000000000000",
168
- "0x0000000000000000000000008bda9f9e1fef0dfd404fef338d9fe4c543d172e1"
168
+ "0x000000000000000000000000a05f990d647287e4e84715b813bc000aea970467"
169
169
  ],
170
170
  "data": "0x",
171
- "logIndex": 105,
172
- "blockHash": "0xf9a9c3e9c067c264138317d91c1ca1bfd8ae05bfa37093b0779563d010d52d01"
171
+ "logIndex": 228,
172
+ "blockHash": "0xd5cf5efecfa34adc6101e7e9f8fb5b616ef44614703b14db4ab4e6df0f2ec376"
173
173
  },
174
174
  {
175
- "transactionIndex": 66,
176
- "blockNumber": 27114909,
177
- "transactionHash": "0x5de7efb7e5359bc4be775dd47db5e713917072b23caee07c4bb947a103d118b0",
178
- "address": "0x43Ea33BCD79C8D34f8F00D030949203B39f38Ada",
175
+ "transactionIndex": 85,
176
+ "blockNumber": 27541094,
177
+ "transactionHash": "0x59634386d22736b6f9910b946f61d6d60c4164edf93591dea625d452055735b9",
178
+ "address": "0x526C79F944A28EB5B653DF4c0f9E7467B9850Eea",
179
179
  "topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
180
180
  "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000004788629abc6cfca10f9f969efdeaa1cf70c23555",
181
- "logIndex": 106,
182
- "blockHash": "0xf9a9c3e9c067c264138317d91c1ca1bfd8ae05bfa37093b0779563d010d52d01"
181
+ "logIndex": 229,
182
+ "blockHash": "0xd5cf5efecfa34adc6101e7e9f8fb5b616ef44614703b14db4ab4e6df0f2ec376"
183
183
  },
184
184
  {
185
- "transactionIndex": 66,
186
- "blockNumber": 27114909,
187
- "transactionHash": "0x5de7efb7e5359bc4be775dd47db5e713917072b23caee07c4bb947a103d118b0",
188
- "address": "0x43Ea33BCD79C8D34f8F00D030949203B39f38Ada",
185
+ "transactionIndex": 85,
186
+ "blockNumber": 27541094,
187
+ "transactionHash": "0x59634386d22736b6f9910b946f61d6d60c4164edf93591dea625d452055735b9",
188
+ "address": "0x526C79F944A28EB5B653DF4c0f9E7467B9850Eea",
189
189
  "topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
190
190
  "data": "0x0000000000000000000000000000000000000000000000000000000000000001",
191
- "logIndex": 107,
192
- "blockHash": "0xf9a9c3e9c067c264138317d91c1ca1bfd8ae05bfa37093b0779563d010d52d01"
191
+ "logIndex": 230,
192
+ "blockHash": "0xd5cf5efecfa34adc6101e7e9f8fb5b616ef44614703b14db4ab4e6df0f2ec376"
193
193
  },
194
194
  {
195
- "transactionIndex": 66,
196
- "blockNumber": 27114909,
197
- "transactionHash": "0x5de7efb7e5359bc4be775dd47db5e713917072b23caee07c4bb947a103d118b0",
198
- "address": "0x43Ea33BCD79C8D34f8F00D030949203B39f38Ada",
195
+ "transactionIndex": 85,
196
+ "blockNumber": 27541094,
197
+ "transactionHash": "0x59634386d22736b6f9910b946f61d6d60c4164edf93591dea625d452055735b9",
198
+ "address": "0x526C79F944A28EB5B653DF4c0f9E7467B9850Eea",
199
199
  "topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
200
- "data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f3220a2f22ff5fd95383d9af198424020717eff7",
201
- "logIndex": 108,
202
- "blockHash": "0xf9a9c3e9c067c264138317d91c1ca1bfd8ae05bfa37093b0779563d010d52d01"
200
+ "data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000adb35da0690a6dff4c9dac1638372272d2d0f91e",
201
+ "logIndex": 231,
202
+ "blockHash": "0xd5cf5efecfa34adc6101e7e9f8fb5b616ef44614703b14db4ab4e6df0f2ec376"
203
203
  }
204
204
  ],
205
- "blockNumber": 27114909,
206
- "cumulativeGasUsed": "5415854",
205
+ "blockNumber": 27541094,
206
+ "cumulativeGasUsed": "10560776",
207
207
  "status": 1,
208
208
  "byzantium": true
209
209
  },
210
210
  "args": [
211
- "0x3640E6190Dc46A2e6Be5fFDBa15210712704AE81",
212
- "0xf3220A2f22fF5Fd95383d9Af198424020717EFF7",
211
+ "0xea24d9D32f350cc3B2581BE42f62497910CdDDE2",
212
+ "0xAdb35Da0690a6dFF4C9dAc1638372272D2d0f91E",
213
213
  "0xc4d66de80000000000000000000000004788629abc6cfca10f9f969efdeaa1cf70c23555"
214
214
  ],
215
215
  "numDeployments": 1,