@venusprotocol/oracle 1.6.11-dev.8 → 1.6.11
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.
- package/README.md +33 -10
- package/contracts/ResilientOracle.sol +60 -18
- package/contracts/oracles/BinanceOracle.sol +22 -17
- package/contracts/oracles/BoundValidator.sol +43 -38
- package/contracts/oracles/ChainlinkOracle.sol +35 -34
- package/contracts/oracles/PythOracle.sol +30 -27
- package/contracts/oracles/TwapOracle.sol +61 -56
- package/deployments/bscmainnet/BinanceOracle.json +45 -45
- package/deployments/bscmainnet/BinanceOracle_Implementation.json +34 -34
- package/deployments/bscmainnet/BinanceOracle_Proxy.json +43 -43
- package/deployments/bscmainnet/BoundValidator.json +46 -46
- package/deployments/bscmainnet/BoundValidator_Implementation.json +44 -52
- package/deployments/bscmainnet/BoundValidator_Proxy.json +43 -43
- package/deployments/bscmainnet/ChainlinkOracle.json +46 -52
- package/deployments/bscmainnet/ChainlinkOracle_Implementation.json +45 -51
- package/deployments/bscmainnet/ChainlinkOracle_Proxy.json +43 -43
- package/deployments/bscmainnet/DefaultProxyAdmin.json +15 -15
- package/deployments/bscmainnet/PythOracle.json +61 -54
- package/deployments/bscmainnet/PythOracle_Implementation.json +54 -48
- package/deployments/bscmainnet/PythOracle_Proxy.json +52 -51
- package/deployments/bscmainnet/ResilientOracle.json +47 -52
- package/deployments/bscmainnet/ResilientOracle_Implementation.json +62 -65
- package/deployments/bscmainnet/ResilientOracle_Proxy.json +45 -45
- package/deployments/bscmainnet/TwapOracle.json +67 -67
- package/deployments/bscmainnet/TwapOracle_Implementation.json +83 -83
- package/deployments/bscmainnet/TwapOracle_Proxy.json +44 -44
- package/deployments/bscmainnet/solcInputs/{3c9df0f4b407c3d8079629dd6ddb913e.json → aae9f1601b873a5a4704ede73ede10cb.json} +9 -54
- package/deployments/bsctestnet/BinanceOracle.json +35 -35
- package/deployments/bsctestnet/BinanceOracle_Implementation.json +31 -31
- package/deployments/bsctestnet/BinanceOracle_Proxy.json +33 -33
- package/deployments/bsctestnet/BoundValidator.json +36 -36
- package/deployments/bsctestnet/BoundValidator_Implementation.json +44 -52
- package/deployments/bsctestnet/BoundValidator_Proxy.json +33 -33
- package/deployments/bsctestnet/ChainlinkOracle.json +36 -42
- package/deployments/bsctestnet/ChainlinkOracle_Implementation.json +42 -48
- package/deployments/bsctestnet/ChainlinkOracle_Proxy.json +33 -33
- package/deployments/bsctestnet/DefaultProxyAdmin.json +11 -11
- package/deployments/bsctestnet/PythOracle.json +48 -41
- package/deployments/bsctestnet/PythOracle_Implementation.json +51 -45
- package/deployments/bsctestnet/PythOracle_Proxy.json +39 -38
- package/deployments/bsctestnet/ResilientOracle.json +36 -41
- package/deployments/bsctestnet/ResilientOracle_Implementation.json +63 -66
- package/deployments/bsctestnet/ResilientOracle_Proxy.json +34 -34
- package/deployments/bsctestnet/TwapOracle.json +56 -56
- package/deployments/bsctestnet/TwapOracle_Implementation.json +81 -81
- package/deployments/bsctestnet/TwapOracle_Proxy.json +33 -33
- package/deployments/bsctestnet/solcInputs/{f35da22a430a956ee338e720b5898e3d.json → 131f58942628e21632de19506977a910.json} +7 -13
- package/deployments/bsctestnet/solcInputs/{4769dd98af512bf3b6b6504ad0c3bd74.json → 144b49e8aec3add79553ba273ea32d00.json} +4 -10
- package/deployments/bsctestnet/solcInputs/503f2e4e766f3be923fadf8030a5470f.json +78 -0
- package/deployments/bsctestnet/solcInputs/b39d33092f7dd383ae3a042566194132.json +75 -0
- package/dist/deploy/1-deploy-oracles.js +2 -2
- package/dist/deploy/1-deploy-oracles.js.map +1 -1
- package/package.json +1 -1
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.sol/AggregatorInterface.dbg.json +0 -4
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.sol/AggregatorInterface.json +0 -138
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.sol/AggregatorV2V3Interface.dbg.json +0 -4
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.sol/AggregatorV2V3Interface.json +0 -249
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.dbg.json +0 -4
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.json +0 -122
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.json +0 -215
- package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.json +0 -183
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +0 -297
- package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.json +0 -194
- package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.json +0 -233
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +0 -10
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +0 -10
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +0 -30
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +0 -30
- package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +0 -10
- package/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.json +0 -10
- package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.json +0 -10
- package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.json +0 -115
- package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.json +0 -76
- package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.json +0 -24
- package/artifacts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.json +0 -63
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +0 -10
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.json +0 -24
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlManager.sol/AccessControlManager.dbg.json +0 -4
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlManager.sol/AccessControlManager.json +0 -369
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +0 -4
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.json +0 -181
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +0 -4
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.json +0 -282
- package/artifacts/build-info/0fa2b75b56480052b72f8190a534e534.json +0 -1
- package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.dbg.json +0 -4
- package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.json +0 -617
- package/artifacts/contracts/interfaces/FeedRegistryInterface.sol/FeedRegistryInterface.dbg.json +0 -4
- package/artifacts/contracts/interfaces/FeedRegistryInterface.sol/FeedRegistryInterface.json +0 -79
- package/artifacts/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.dbg.json +0 -4
- package/artifacts/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.json +0 -40
- package/artifacts/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +0 -4
- package/artifacts/contracts/interfaces/OracleInterface.sol/OracleInterface.json +0 -30
- package/artifacts/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.dbg.json +0 -4
- package/artifacts/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.json +0 -43
- package/artifacts/contracts/interfaces/OracleInterface.sol/TwapInterface.dbg.json +0 -4
- package/artifacts/contracts/interfaces/OracleInterface.sol/TwapInterface.json +0 -49
- package/artifacts/contracts/interfaces/PublicResolverInterface.sol/PublicResolverInterface.dbg.json +0 -4
- package/artifacts/contracts/interfaces/PublicResolverInterface.sol/PublicResolverInterface.json +0 -30
- package/artifacts/contracts/interfaces/PythInterface.sol/AbstractPyth.dbg.json +0 -4
- package/artifacts/contracts/interfaces/PythInterface.sol/AbstractPyth.json +0 -545
- package/artifacts/contracts/interfaces/PythInterface.sol/IPyth.dbg.json +0 -4
- package/artifacts/contracts/interfaces/PythInterface.sol/IPyth.json +0 -446
- package/artifacts/contracts/interfaces/PythInterface.sol/PythStructs.dbg.json +0 -4
- package/artifacts/contracts/interfaces/PythInterface.sol/PythStructs.json +0 -10
- package/artifacts/contracts/interfaces/SIDRegistryInterface.sol/SIDRegistryInterface.dbg.json +0 -4
- package/artifacts/contracts/interfaces/SIDRegistryInterface.sol/SIDRegistryInterface.json +0 -30
- package/artifacts/contracts/interfaces/VBep20Interface.sol/VBep20Interface.dbg.json +0 -4
- package/artifacts/contracts/interfaces/VBep20Interface.sol/VBep20Interface.json +0 -246
- package/artifacts/contracts/libraries/PancakeLibrary.sol/FixedPoint.dbg.json +0 -4
- package/artifacts/contracts/libraries/PancakeLibrary.sol/FixedPoint.json +0 -10
- package/artifacts/contracts/libraries/PancakeLibrary.sol/IPancakePair.dbg.json +0 -4
- package/artifacts/contracts/libraries/PancakeLibrary.sol/IPancakePair.json +0 -60
- package/artifacts/contracts/libraries/PancakeLibrary.sol/PancakeOracleLibrary.dbg.json +0 -4
- package/artifacts/contracts/libraries/PancakeLibrary.sol/PancakeOracleLibrary.json +0 -10
- package/artifacts/contracts/oracles/BinanceOracle.sol/BinanceOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/BinanceOracle.sol/BinanceOracle.json +0 -342
- package/artifacts/contracts/oracles/BoundValidator.sol/BoundValidator.dbg.json +0 -4
- package/artifacts/contracts/oracles/BoundValidator.sol/BoundValidator.json +0 -392
- package/artifacts/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.json +0 -468
- package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.json +0 -439
- package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.json +0 -663
- package/artifacts/contracts/oracles/mocks/MockBinanceFeedRegistry.sol/MockBinanceFeedRegistry.dbg.json +0 -4
- package/artifacts/contracts/oracles/mocks/MockBinanceFeedRegistry.sol/MockBinanceFeedRegistry.json +0 -116
- package/artifacts/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.json +0 -144
- package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.json +0 -144
- package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.json +0 -163
- package/artifacts/contracts/oracles/mocks/MockTwapOracle.sol/MockTwapOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/mocks/MockTwapOracle.sol/MockTwapOracle.json +0 -163
- package/artifacts/contracts/test/AccessControlManager.sol/AccessControlManagerScenario.dbg.json +0 -4
- package/artifacts/contracts/test/AccessControlManager.sol/AccessControlManagerScenario.json +0 -364
- package/artifacts/contracts/test/BEP20Harness.sol/BEP20Harness.dbg.json +0 -4
- package/artifacts/contracts/test/BEP20Harness.sol/BEP20Harness.json +0 -328
- package/artifacts/contracts/test/MockPyth.sol/MockPyth.dbg.json +0 -4
- package/artifacts/contracts/test/MockPyth.sol/MockPyth.json +0 -684
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockBoundValidator.dbg.json +0 -4
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockBoundValidator.json +0 -95
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.dbg.json +0 -4
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.json +0 -72
- package/artifacts/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.dbg.json +0 -4
- package/artifacts/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.json +0 -306
- package/artifacts/contracts/test/PancakePairHarness.sol/Math.dbg.json +0 -4
- package/artifacts/contracts/test/PancakePairHarness.sol/Math.json +0 -10
- package/artifacts/contracts/test/PancakePairHarness.sol/PancakePairHarness.dbg.json +0 -4
- package/artifacts/contracts/test/PancakePairHarness.sol/PancakePairHarness.json +0 -158
- package/artifacts/contracts/test/PancakePairHarness.sol/UQ112x112.dbg.json +0 -4
- package/artifacts/contracts/test/PancakePairHarness.sol/UQ112x112.json +0 -10
- package/artifacts/contracts/test/VBEP20Harness.sol/VBEP20Harness.dbg.json +0 -4
- package/artifacts/contracts/test/VBEP20Harness.sol/VBEP20Harness.json +0 -346
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x3cD69251D04A28d887Ac14cbe2E14c52F3D57823",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"inputs": [
|
|
@@ -133,35 +133,35 @@
|
|
|
133
133
|
"type": "receive"
|
|
134
134
|
}
|
|
135
135
|
],
|
|
136
|
-
"transactionHash": "
|
|
136
|
+
"transactionHash": "0x16e33be2995913a85f068ed9ad66b5f6e781c2ad392368e80d011c1d4a654033",
|
|
137
137
|
"receipt": {
|
|
138
138
|
"to": null,
|
|
139
139
|
"from": "0x8BDA9f9E1fEF0DFd404Fef338D9fE4c543d172e1",
|
|
140
|
-
"contractAddress": "
|
|
140
|
+
"contractAddress": "0x3cD69251D04A28d887Ac14cbe2E14c52F3D57823",
|
|
141
141
|
"transactionIndex": 0,
|
|
142
|
-
"gasUsed": "
|
|
143
|
-
"logsBloom": "
|
|
144
|
-
"blockHash": "
|
|
145
|
-
"transactionHash": "
|
|
142
|
+
"gasUsed": "699869",
|
|
143
|
+
"logsBloom": "0x00000400000000000000040000000000400000000000000000800000000000000000000000000000000000000000000000000000000000000000080000008000000000000000000000000000000002000001040000000000000000000000000000000000020000000000000000000800000000800000000000000000000000400000000000000000000000000000000080000000000080000000000000800000000100000000000010004000000400000000000000800000000000000000000000000020000000000000000000040000000000000400000000000000000020000000000000000000000000000000000000000800800000000000000000000000",
|
|
144
|
+
"blockHash": "0x65fa531ce91d8a818f97ee45c276855cc668c5e0d4909683ceb8e088896cb1ea",
|
|
145
|
+
"transactionHash": "0x16e33be2995913a85f068ed9ad66b5f6e781c2ad392368e80d011c1d4a654033",
|
|
146
146
|
"logs": [
|
|
147
147
|
{
|
|
148
148
|
"transactionIndex": 0,
|
|
149
|
-
"blockNumber":
|
|
150
|
-
"transactionHash": "
|
|
151
|
-
"address": "
|
|
149
|
+
"blockNumber": 30137616,
|
|
150
|
+
"transactionHash": "0x16e33be2995913a85f068ed9ad66b5f6e781c2ad392368e80d011c1d4a654033",
|
|
151
|
+
"address": "0x3cD69251D04A28d887Ac14cbe2E14c52F3D57823",
|
|
152
152
|
"topics": [
|
|
153
153
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
154
|
-
"
|
|
154
|
+
"0x000000000000000000000000360506e086d6e4788b0970cd576307cceccecbe6"
|
|
155
155
|
],
|
|
156
156
|
"data": "0x",
|
|
157
157
|
"logIndex": 0,
|
|
158
|
-
"blockHash": "
|
|
158
|
+
"blockHash": "0x65fa531ce91d8a818f97ee45c276855cc668c5e0d4909683ceb8e088896cb1ea"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
"transactionIndex": 0,
|
|
162
|
-
"blockNumber":
|
|
163
|
-
"transactionHash": "
|
|
164
|
-
"address": "
|
|
162
|
+
"blockNumber": 30137616,
|
|
163
|
+
"transactionHash": "0x16e33be2995913a85f068ed9ad66b5f6e781c2ad392368e80d011c1d4a654033",
|
|
164
|
+
"address": "0x3cD69251D04A28d887Ac14cbe2E14c52F3D57823",
|
|
165
165
|
"topics": [
|
|
166
166
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
167
167
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
@@ -169,48 +169,48 @@
|
|
|
169
169
|
],
|
|
170
170
|
"data": "0x",
|
|
171
171
|
"logIndex": 1,
|
|
172
|
-
"blockHash": "
|
|
172
|
+
"blockHash": "0x65fa531ce91d8a818f97ee45c276855cc668c5e0d4909683ceb8e088896cb1ea"
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
175
|
"transactionIndex": 0,
|
|
176
|
-
"blockNumber":
|
|
177
|
-
"transactionHash": "
|
|
178
|
-
"address": "
|
|
176
|
+
"blockNumber": 30137616,
|
|
177
|
+
"transactionHash": "0x16e33be2995913a85f068ed9ad66b5f6e781c2ad392368e80d011c1d4a654033",
|
|
178
|
+
"address": "0x3cD69251D04A28d887Ac14cbe2E14c52F3D57823",
|
|
179
179
|
"topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
|
|
180
180
|
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045f8a08f534f34a97187626e05d4b6648eeaa9aa",
|
|
181
181
|
"logIndex": 2,
|
|
182
|
-
"blockHash": "
|
|
182
|
+
"blockHash": "0x65fa531ce91d8a818f97ee45c276855cc668c5e0d4909683ceb8e088896cb1ea"
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
"transactionIndex": 0,
|
|
186
|
-
"blockNumber":
|
|
187
|
-
"transactionHash": "
|
|
188
|
-
"address": "
|
|
186
|
+
"blockNumber": 30137616,
|
|
187
|
+
"transactionHash": "0x16e33be2995913a85f068ed9ad66b5f6e781c2ad392368e80d011c1d4a654033",
|
|
188
|
+
"address": "0x3cD69251D04A28d887Ac14cbe2E14c52F3D57823",
|
|
189
189
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
190
190
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
191
191
|
"logIndex": 3,
|
|
192
|
-
"blockHash": "
|
|
192
|
+
"blockHash": "0x65fa531ce91d8a818f97ee45c276855cc668c5e0d4909683ceb8e088896cb1ea"
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
"transactionIndex": 0,
|
|
196
|
-
"blockNumber":
|
|
197
|
-
"transactionHash": "
|
|
198
|
-
"address": "
|
|
196
|
+
"blockNumber": 30137616,
|
|
197
|
+
"transactionHash": "0x16e33be2995913a85f068ed9ad66b5f6e781c2ad392368e80d011c1d4a654033",
|
|
198
|
+
"address": "0x3cD69251D04A28d887Ac14cbe2E14c52F3D57823",
|
|
199
199
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
200
|
-
"data": "
|
|
200
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ef480a5654b231ff7d80a0681f938f3db71a6ca6",
|
|
201
201
|
"logIndex": 4,
|
|
202
|
-
"blockHash": "
|
|
202
|
+
"blockHash": "0x65fa531ce91d8a818f97ee45c276855cc668c5e0d4909683ceb8e088896cb1ea"
|
|
203
203
|
}
|
|
204
204
|
],
|
|
205
|
-
"blockNumber":
|
|
206
|
-
"cumulativeGasUsed": "
|
|
205
|
+
"blockNumber": 30137616,
|
|
206
|
+
"cumulativeGasUsed": "699869",
|
|
207
207
|
"status": 1,
|
|
208
208
|
"byzantium": true
|
|
209
209
|
},
|
|
210
210
|
"args": [
|
|
211
|
-
"
|
|
212
|
-
"
|
|
213
|
-
"
|
|
211
|
+
"0x360506E086d6E4788b0970CD576307CCEccECbe6",
|
|
212
|
+
"0xef480a5654b231ff7d80A0681F938f3Db71a6Ca6",
|
|
213
|
+
"0xc4d66de800000000000000000000000045f8a08f534f34a97187626e05d4b6648eeaa9aa"
|
|
214
214
|
],
|
|
215
215
|
"numDeployments": 1,
|
|
216
216
|
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x3eeE05d929D1E9816185B1b6d8c470eC192b4432",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"anonymous": false,
|
|
@@ -297,12 +297,12 @@
|
|
|
297
297
|
},
|
|
298
298
|
{
|
|
299
299
|
"inputs": [],
|
|
300
|
-
"name": "
|
|
300
|
+
"name": "BNB_BASE_UNIT",
|
|
301
301
|
"outputs": [
|
|
302
302
|
{
|
|
303
|
-
"internalType": "
|
|
303
|
+
"internalType": "uint256",
|
|
304
304
|
"name": "",
|
|
305
|
-
"type": "
|
|
305
|
+
"type": "uint256"
|
|
306
306
|
}
|
|
307
307
|
],
|
|
308
308
|
"stateMutability": "view",
|
|
@@ -310,19 +310,12 @@
|
|
|
310
310
|
},
|
|
311
311
|
{
|
|
312
312
|
"inputs": [],
|
|
313
|
-
"name": "
|
|
314
|
-
"outputs": [],
|
|
315
|
-
"stateMutability": "nonpayable",
|
|
316
|
-
"type": "function"
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
"inputs": [],
|
|
320
|
-
"name": "accessControlManager",
|
|
313
|
+
"name": "BUSD_BASE_UNIT",
|
|
321
314
|
"outputs": [
|
|
322
315
|
{
|
|
323
|
-
"internalType": "
|
|
316
|
+
"internalType": "uint256",
|
|
324
317
|
"name": "",
|
|
325
|
-
"type": "
|
|
318
|
+
"type": "uint256"
|
|
326
319
|
}
|
|
327
320
|
],
|
|
328
321
|
"stateMutability": "view",
|
|
@@ -330,12 +323,12 @@
|
|
|
330
323
|
},
|
|
331
324
|
{
|
|
332
325
|
"inputs": [],
|
|
333
|
-
"name": "
|
|
326
|
+
"name": "WBNB",
|
|
334
327
|
"outputs": [
|
|
335
328
|
{
|
|
336
|
-
"internalType": "
|
|
329
|
+
"internalType": "address",
|
|
337
330
|
"name": "",
|
|
338
|
-
"type": "
|
|
331
|
+
"type": "address"
|
|
339
332
|
}
|
|
340
333
|
],
|
|
341
334
|
"stateMutability": "view",
|
|
@@ -343,12 +336,19 @@
|
|
|
343
336
|
},
|
|
344
337
|
{
|
|
345
338
|
"inputs": [],
|
|
346
|
-
"name": "
|
|
339
|
+
"name": "acceptOwnership",
|
|
340
|
+
"outputs": [],
|
|
341
|
+
"stateMutability": "nonpayable",
|
|
342
|
+
"type": "function"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"inputs": [],
|
|
346
|
+
"name": "accessControlManager",
|
|
347
347
|
"outputs": [
|
|
348
348
|
{
|
|
349
|
-
"internalType": "
|
|
349
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
350
350
|
"name": "",
|
|
351
|
-
"type": "
|
|
351
|
+
"type": "address"
|
|
352
352
|
}
|
|
353
353
|
],
|
|
354
354
|
"stateMutability": "view",
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
"type": "uint256"
|
|
390
390
|
}
|
|
391
391
|
],
|
|
392
|
-
"internalType": "struct TokenConfig",
|
|
392
|
+
"internalType": "struct TwapOracle.TokenConfig",
|
|
393
393
|
"name": "config",
|
|
394
394
|
"type": "tuple"
|
|
395
395
|
}
|
|
@@ -566,7 +566,7 @@
|
|
|
566
566
|
"type": "uint256"
|
|
567
567
|
}
|
|
568
568
|
],
|
|
569
|
-
"internalType": "struct TokenConfig",
|
|
569
|
+
"internalType": "struct TwapOracle.TokenConfig",
|
|
570
570
|
"name": "config",
|
|
571
571
|
"type": "tuple"
|
|
572
572
|
}
|
|
@@ -611,7 +611,7 @@
|
|
|
611
611
|
"type": "uint256"
|
|
612
612
|
}
|
|
613
613
|
],
|
|
614
|
-
"internalType": "struct TokenConfig[]",
|
|
614
|
+
"internalType": "struct TwapOracle.TokenConfig[]",
|
|
615
615
|
"name": "configs",
|
|
616
616
|
"type": "tuple[]"
|
|
617
617
|
}
|
|
@@ -764,35 +764,35 @@
|
|
|
764
764
|
"type": "constructor"
|
|
765
765
|
}
|
|
766
766
|
],
|
|
767
|
-
"transactionHash": "
|
|
767
|
+
"transactionHash": "0x3efb22545b047f193a166c3fe9575bb2ec0142f23bdbb87a63eb9a4805ecbc18",
|
|
768
768
|
"receipt": {
|
|
769
769
|
"to": null,
|
|
770
770
|
"from": "0x8BDA9f9E1fEF0DFd404Fef338D9fE4c543d172e1",
|
|
771
|
-
"contractAddress": "
|
|
771
|
+
"contractAddress": "0x3eeE05d929D1E9816185B1b6d8c470eC192b4432",
|
|
772
772
|
"transactionIndex": 0,
|
|
773
|
-
"gasUsed": "
|
|
774
|
-
"logsBloom": "
|
|
775
|
-
"blockHash": "
|
|
776
|
-
"transactionHash": "
|
|
773
|
+
"gasUsed": "696602",
|
|
774
|
+
"logsBloom": "0x00000000000000000000000000000000400000000000000000800000000000000000000000000000000004000000000000000000000000000000000000008000000000000000000000000000000002000001040000000080000000000000000000000000020000000000000200000800000000800000000000000000000000400000000000000000000000000000000080000000000080000000000000804000000000000000000010000000000400000000000000800000000000000000200000000020000000000200000000040000000000000400000000000000000020000000000000000000000000000000000000000800000000000000000000000000",
|
|
775
|
+
"blockHash": "0x6e074a9560e1a6b6abc2011ef72c0a87dbfada6a95c5f34624def3b2c13585ae",
|
|
776
|
+
"transactionHash": "0x3efb22545b047f193a166c3fe9575bb2ec0142f23bdbb87a63eb9a4805ecbc18",
|
|
777
777
|
"logs": [
|
|
778
778
|
{
|
|
779
779
|
"transactionIndex": 0,
|
|
780
|
-
"blockNumber":
|
|
781
|
-
"transactionHash": "
|
|
782
|
-
"address": "
|
|
780
|
+
"blockNumber": 30137623,
|
|
781
|
+
"transactionHash": "0x3efb22545b047f193a166c3fe9575bb2ec0142f23bdbb87a63eb9a4805ecbc18",
|
|
782
|
+
"address": "0x3eeE05d929D1E9816185B1b6d8c470eC192b4432",
|
|
783
783
|
"topics": [
|
|
784
784
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
785
|
-
"
|
|
785
|
+
"0x000000000000000000000000a65d9c3593b8ca0ef4c475e16eb93f92ca81f98b"
|
|
786
786
|
],
|
|
787
787
|
"data": "0x",
|
|
788
788
|
"logIndex": 0,
|
|
789
|
-
"blockHash": "
|
|
789
|
+
"blockHash": "0x6e074a9560e1a6b6abc2011ef72c0a87dbfada6a95c5f34624def3b2c13585ae"
|
|
790
790
|
},
|
|
791
791
|
{
|
|
792
792
|
"transactionIndex": 0,
|
|
793
|
-
"blockNumber":
|
|
794
|
-
"transactionHash": "
|
|
795
|
-
"address": "
|
|
793
|
+
"blockNumber": 30137623,
|
|
794
|
+
"transactionHash": "0x3efb22545b047f193a166c3fe9575bb2ec0142f23bdbb87a63eb9a4805ecbc18",
|
|
795
|
+
"address": "0x3eeE05d929D1E9816185B1b6d8c470eC192b4432",
|
|
796
796
|
"topics": [
|
|
797
797
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
798
798
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
@@ -800,47 +800,47 @@
|
|
|
800
800
|
],
|
|
801
801
|
"data": "0x",
|
|
802
802
|
"logIndex": 1,
|
|
803
|
-
"blockHash": "
|
|
803
|
+
"blockHash": "0x6e074a9560e1a6b6abc2011ef72c0a87dbfada6a95c5f34624def3b2c13585ae"
|
|
804
804
|
},
|
|
805
805
|
{
|
|
806
806
|
"transactionIndex": 0,
|
|
807
|
-
"blockNumber":
|
|
808
|
-
"transactionHash": "
|
|
809
|
-
"address": "
|
|
807
|
+
"blockNumber": 30137623,
|
|
808
|
+
"transactionHash": "0x3efb22545b047f193a166c3fe9575bb2ec0142f23bdbb87a63eb9a4805ecbc18",
|
|
809
|
+
"address": "0x3eeE05d929D1E9816185B1b6d8c470eC192b4432",
|
|
810
810
|
"topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
|
|
811
811
|
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045f8a08f534f34a97187626e05d4b6648eeaa9aa",
|
|
812
812
|
"logIndex": 2,
|
|
813
|
-
"blockHash": "
|
|
813
|
+
"blockHash": "0x6e074a9560e1a6b6abc2011ef72c0a87dbfada6a95c5f34624def3b2c13585ae"
|
|
814
814
|
},
|
|
815
815
|
{
|
|
816
816
|
"transactionIndex": 0,
|
|
817
|
-
"blockNumber":
|
|
818
|
-
"transactionHash": "
|
|
819
|
-
"address": "
|
|
817
|
+
"blockNumber": 30137623,
|
|
818
|
+
"transactionHash": "0x3efb22545b047f193a166c3fe9575bb2ec0142f23bdbb87a63eb9a4805ecbc18",
|
|
819
|
+
"address": "0x3eeE05d929D1E9816185B1b6d8c470eC192b4432",
|
|
820
820
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
821
821
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
822
822
|
"logIndex": 3,
|
|
823
|
-
"blockHash": "
|
|
823
|
+
"blockHash": "0x6e074a9560e1a6b6abc2011ef72c0a87dbfada6a95c5f34624def3b2c13585ae"
|
|
824
824
|
},
|
|
825
825
|
{
|
|
826
826
|
"transactionIndex": 0,
|
|
827
|
-
"blockNumber":
|
|
828
|
-
"transactionHash": "
|
|
829
|
-
"address": "
|
|
827
|
+
"blockNumber": 30137623,
|
|
828
|
+
"transactionHash": "0x3efb22545b047f193a166c3fe9575bb2ec0142f23bdbb87a63eb9a4805ecbc18",
|
|
829
|
+
"address": "0x3eeE05d929D1E9816185B1b6d8c470eC192b4432",
|
|
830
830
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
831
|
-
"data": "
|
|
831
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ef480a5654b231ff7d80a0681f938f3db71a6ca6",
|
|
832
832
|
"logIndex": 4,
|
|
833
|
-
"blockHash": "
|
|
833
|
+
"blockHash": "0x6e074a9560e1a6b6abc2011ef72c0a87dbfada6a95c5f34624def3b2c13585ae"
|
|
834
834
|
}
|
|
835
835
|
],
|
|
836
|
-
"blockNumber":
|
|
837
|
-
"cumulativeGasUsed": "
|
|
836
|
+
"blockNumber": 30137623,
|
|
837
|
+
"cumulativeGasUsed": "696602",
|
|
838
838
|
"status": 1,
|
|
839
839
|
"byzantium": true
|
|
840
840
|
},
|
|
841
841
|
"args": [
|
|
842
|
-
"
|
|
843
|
-
"
|
|
842
|
+
"0xA65d9c3593B8ca0EF4C475E16Eb93f92Ca81F98B",
|
|
843
|
+
"0xef480a5654b231ff7d80A0681F938f3Db71a6Ca6",
|
|
844
844
|
"0xc4d66de800000000000000000000000045f8a08f534f34a97187626e05d4b6648eeaa9aa"
|
|
845
845
|
],
|
|
846
846
|
"numDeployments": 1,
|
|
@@ -852,7 +852,7 @@
|
|
|
852
852
|
"methodName": "initialize",
|
|
853
853
|
"args": ["0x45f8a08F534f34A97187626E05d4b6648Eeaa9AA"]
|
|
854
854
|
},
|
|
855
|
-
"implementation": "
|
|
855
|
+
"implementation": "0xA65d9c3593B8ca0EF4C475E16Eb93f92Ca81F98B",
|
|
856
856
|
"devdoc": {
|
|
857
857
|
"details": "This contract implements a proxy that is upgradeable by an admin. To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector clashing], which can potentially be used in an attack, this contract uses the https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two things that go hand in hand: 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if that call matches one of the admin functions exposed by the proxy itself. 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the implementation. If the admin tries to call a function on the implementation it will fail with an error that says \"admin cannot fallback to proxy target\". These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due to sudden errors when trying to call a function from the proxy implementation. Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way, you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.",
|
|
858
858
|
"kind": "dev",
|