@venusprotocol/oracle 1.0.0-dev.1 → 1.0.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.
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.sol/AggregatorInterface.dbg.json +4 -0
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.sol/AggregatorInterface.json +138 -0
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.sol/AggregatorV2V3Interface.dbg.json +4 -0
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.sol/AggregatorV2V3Interface.json +249 -0
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.dbg.json +4 -0
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.json +122 -0
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.json +215 -0
- package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.json +183 -0
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +297 -0
- package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.json +194 -0
- package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.json +233 -0
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +10 -0
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +10 -0
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +30 -0
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +30 -0
- package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +10 -0
- package/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.json +10 -0
- package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.json +10 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.json +115 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.json +76 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.json +24 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.json +63 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +10 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.json +24 -0
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlManager.sol/AccessControlManager.dbg.json +4 -0
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlManager.sol/AccessControlManager.json +369 -0
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +4 -0
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.json +181 -0
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +4 -0
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.json +282 -0
- package/artifacts/build-info/0137d0ff3ae413641739f9f6322cc2b3.json +1 -0
- package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.dbg.json +4 -0
- package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.json +617 -0
- package/artifacts/contracts/interfaces/FeedRegistryInterface.sol/FeedRegistryInterface.dbg.json +4 -0
- package/artifacts/contracts/interfaces/FeedRegistryInterface.sol/FeedRegistryInterface.json +79 -0
- package/artifacts/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.dbg.json +4 -0
- package/artifacts/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.json +40 -0
- package/artifacts/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +4 -0
- package/artifacts/contracts/interfaces/OracleInterface.sol/OracleInterface.json +30 -0
- package/artifacts/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.dbg.json +4 -0
- package/artifacts/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.json +43 -0
- package/artifacts/contracts/interfaces/OracleInterface.sol/TwapInterface.dbg.json +4 -0
- package/artifacts/contracts/interfaces/OracleInterface.sol/TwapInterface.json +49 -0
- package/artifacts/contracts/interfaces/PublicResolverInterface.sol/PublicResolverInterface.dbg.json +4 -0
- package/artifacts/contracts/interfaces/PublicResolverInterface.sol/PublicResolverInterface.json +30 -0
- package/artifacts/contracts/interfaces/PythInterface.sol/AbstractPyth.dbg.json +4 -0
- package/artifacts/contracts/interfaces/PythInterface.sol/AbstractPyth.json +545 -0
- package/artifacts/contracts/interfaces/PythInterface.sol/IPyth.dbg.json +4 -0
- package/artifacts/contracts/interfaces/PythInterface.sol/IPyth.json +446 -0
- package/artifacts/contracts/interfaces/PythInterface.sol/PythStructs.dbg.json +4 -0
- package/artifacts/contracts/interfaces/PythInterface.sol/PythStructs.json +10 -0
- package/artifacts/contracts/interfaces/SIDRegistryInterface.sol/SIDRegistryInterface.dbg.json +4 -0
- package/artifacts/contracts/interfaces/SIDRegistryInterface.sol/SIDRegistryInterface.json +30 -0
- package/artifacts/contracts/interfaces/VBep20Interface.sol/VBep20Interface.dbg.json +4 -0
- package/artifacts/contracts/interfaces/VBep20Interface.sol/VBep20Interface.json +246 -0
- package/artifacts/contracts/libraries/PancakeLibrary.sol/FixedPoint.dbg.json +4 -0
- package/artifacts/contracts/libraries/PancakeLibrary.sol/FixedPoint.json +10 -0
- package/artifacts/contracts/libraries/PancakeLibrary.sol/IPancakePair.dbg.json +4 -0
- package/artifacts/contracts/libraries/PancakeLibrary.sol/IPancakePair.json +60 -0
- package/artifacts/contracts/libraries/PancakeLibrary.sol/PancakeOracleLibrary.dbg.json +4 -0
- package/artifacts/contracts/libraries/PancakeLibrary.sol/PancakeOracleLibrary.json +10 -0
- package/artifacts/contracts/oracles/BinanceOracle.sol/BinanceOracle.dbg.json +4 -0
- package/artifacts/contracts/oracles/BinanceOracle.sol/BinanceOracle.json +342 -0
- package/artifacts/contracts/oracles/BoundValidator.sol/BoundValidator.dbg.json +4 -0
- package/artifacts/contracts/oracles/BoundValidator.sol/BoundValidator.json +392 -0
- package/artifacts/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.dbg.json +4 -0
- package/artifacts/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.json +462 -0
- package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.dbg.json +4 -0
- package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.json +445 -0
- package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.dbg.json +4 -0
- package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.json +663 -0
- package/artifacts/contracts/oracles/mocks/MockBinanceFeedRegistry.sol/MockBinanceFeedRegistry.dbg.json +4 -0
- package/artifacts/contracts/oracles/mocks/MockBinanceFeedRegistry.sol/MockBinanceFeedRegistry.json +116 -0
- package/artifacts/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.dbg.json +4 -0
- package/artifacts/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.json +144 -0
- package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.dbg.json +4 -0
- package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.json +144 -0
- package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.dbg.json +4 -0
- package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.json +163 -0
- package/artifacts/contracts/oracles/mocks/MockTwapOracle.sol/MockTwapOracle.dbg.json +4 -0
- package/artifacts/contracts/oracles/mocks/MockTwapOracle.sol/MockTwapOracle.json +163 -0
- package/artifacts/contracts/test/AccessControlManager.sol/AccessControlManagerScenario.dbg.json +4 -0
- package/artifacts/contracts/test/AccessControlManager.sol/AccessControlManagerScenario.json +364 -0
- package/artifacts/contracts/test/BEP20Harness.sol/BEP20Harness.dbg.json +4 -0
- package/artifacts/contracts/test/BEP20Harness.sol/BEP20Harness.json +328 -0
- package/artifacts/contracts/test/MockPyth.sol/MockPyth.dbg.json +4 -0
- package/artifacts/contracts/test/MockPyth.sol/MockPyth.json +684 -0
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockBoundValidator.dbg.json +4 -0
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockBoundValidator.json +95 -0
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.json +72 -0
- package/artifacts/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.dbg.json +4 -0
- package/artifacts/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.json +306 -0
- package/artifacts/contracts/test/PancakePairHarness.sol/Math.dbg.json +4 -0
- package/artifacts/contracts/test/PancakePairHarness.sol/Math.json +10 -0
- package/artifacts/contracts/test/PancakePairHarness.sol/PancakePairHarness.dbg.json +4 -0
- package/artifacts/contracts/test/PancakePairHarness.sol/PancakePairHarness.json +158 -0
- package/artifacts/contracts/test/PancakePairHarness.sol/UQ112x112.dbg.json +4 -0
- package/artifacts/contracts/test/PancakePairHarness.sol/UQ112x112.json +10 -0
- package/artifacts/contracts/test/VBEP20Harness.sol/VBEP20Harness.dbg.json +4 -0
- package/artifacts/contracts/test/VBEP20Harness.sol/VBEP20Harness.json +346 -0
- package/contracts/ResilientOracle.sol +35 -27
- package/contracts/interfaces/PythInterface.sol +4 -1
- package/contracts/oracles/BinanceOracle.sol +29 -24
- package/contracts/oracles/BoundValidator.sol +41 -44
- package/contracts/oracles/ChainlinkOracle.sol +44 -40
- package/contracts/oracles/PythOracle.sol +39 -34
- package/contracts/oracles/TwapOracle.sol +69 -65
- package/contracts/test/BEP20Harness.sol +4 -0
- package/contracts/test/MockPyth.sol +9 -2
- package/deployments/bscmainnet/BinanceOracle.json +279 -37
- package/deployments/bscmainnet/BinanceOracle_Implementation.json +399 -29
- package/deployments/bscmainnet/BinanceOracle_Proxy.json +58 -34
- package/deployments/bscmainnet/BoundValidator.json +50 -50
- package/deployments/bscmainnet/BoundValidator_Implementation.json +47 -55
- package/deployments/bscmainnet/BoundValidator_Proxy.json +46 -46
- package/deployments/bscmainnet/ChainlinkOracle.json +57 -49
- package/deployments/bscmainnet/ChainlinkOracle_Implementation.json +48 -54
- package/deployments/bscmainnet/ChainlinkOracle_Proxy.json +53 -39
- package/deployments/bscmainnet/DefaultProxyAdmin.json +16 -16
- package/deployments/bscmainnet/PythOracle.json +64 -57
- package/deployments/bscmainnet/PythOracle_Implementation.json +57 -51
- package/deployments/bscmainnet/PythOracle_Proxy.json +54 -53
- package/deployments/bscmainnet/ResilientOracle.json +57 -48
- package/deployments/bscmainnet/ResilientOracle_Implementation.json +67 -70
- package/deployments/bscmainnet/ResilientOracle_Proxy.json +54 -40
- package/deployments/bscmainnet/TwapOracle.json +69 -82
- package/deployments/bscmainnet/TwapOracle_Implementation.json +85 -98
- package/deployments/bscmainnet/TwapOracle_Proxy.json +46 -46
- package/deployments/bscmainnet/solcInputs/{8658c669dade0e9ab80874eab3bf3468.json → aae9f1601b873a5a4704ede73ede10cb.json} +37 -19
- 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.d.ts +5 -0
- package/dist/deploy/1-deploy-oracles.d.ts.map +1 -0
- package/dist/deploy/1-deploy-oracles.js +186 -0
- package/dist/deploy/1-deploy-oracles.js.map +1 -0
- package/dist/deploy/2-configure-feeds.d.ts +15 -0
- package/dist/deploy/2-configure-feeds.d.ts.map +1 -0
- package/dist/deploy/2-configure-feeds.js +300 -0
- package/dist/deploy/2-configure-feeds.js.map +1 -0
- package/dist/hardhat.config.d.ts +13 -0
- package/dist/hardhat.config.d.ts.map +1 -0
- package/dist/hardhat.config.js +158 -0
- package/dist/hardhat.config.js.map +1 -0
- package/package.json +2 -15
- package/deploy/1-deploy-oracles.ts +0 -195
- package/deploy/2-configure-feeds.ts +0 -324
- package/deployments/bscmainnet/solcInputs/68ea814c0d6925581f2bda5deba8ce4a.json +0 -60
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x1B2103441A0A108daD8848D8F5d790e4D402921F",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"inputs": [
|
|
@@ -133,69 +133,83 @@
|
|
|
133
133
|
"type": "receive"
|
|
134
134
|
}
|
|
135
135
|
],
|
|
136
|
-
"transactionHash": "
|
|
136
|
+
"transactionHash": "0x7f7b2e89a05d902b939aa95a348fe8b690a7e64caf0bae70c1ee9da846622957",
|
|
137
137
|
"receipt": {
|
|
138
138
|
"to": null,
|
|
139
|
-
"from": "
|
|
140
|
-
"contractAddress": "
|
|
141
|
-
"transactionIndex":
|
|
142
|
-
"gasUsed": "
|
|
143
|
-
"logsBloom": "
|
|
144
|
-
"blockHash": "
|
|
145
|
-
"transactionHash": "
|
|
139
|
+
"from": "0xa05f990d647287e4E84715b813BC000aEA970467",
|
|
140
|
+
"contractAddress": "0x1B2103441A0A108daD8848D8F5d790e4D402921F",
|
|
141
|
+
"transactionIndex": 55,
|
|
142
|
+
"gasUsed": "696513",
|
|
143
|
+
"logsBloom": "0x00000000000000000000000000000000400000000000000000800000000000000000000000000000000000000000000000000001000000000000000100008000000000000000000000008000000002000001000000000100000000040000000080000000020000000000000000000800000000800000000000000000000000400000000000000000000000000000000000000000000080000000000000800000000000000000000000000000000400000000000008808000000000000000000000000028000000000000000000040000000000000400000000000000000020000000000000000000000000000000000000000800000000000000000000000000",
|
|
144
|
+
"blockHash": "0xb86afe0ef55ab952f8d24c472da3ea5770822bc80a4b5af7a21a8012f2b5b82c",
|
|
145
|
+
"transactionHash": "0x7f7b2e89a05d902b939aa95a348fe8b690a7e64caf0bae70c1ee9da846622957",
|
|
146
146
|
"logs": [
|
|
147
147
|
{
|
|
148
|
-
"transactionIndex":
|
|
149
|
-
"blockNumber":
|
|
150
|
-
"transactionHash": "
|
|
151
|
-
"address": "
|
|
148
|
+
"transactionIndex": 55,
|
|
149
|
+
"blockNumber": 28525807,
|
|
150
|
+
"transactionHash": "0x7f7b2e89a05d902b939aa95a348fe8b690a7e64caf0bae70c1ee9da846622957",
|
|
151
|
+
"address": "0x1B2103441A0A108daD8848D8F5d790e4D402921F",
|
|
152
152
|
"topics": [
|
|
153
153
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
154
|
-
"
|
|
154
|
+
"0x000000000000000000000000eebbffc42e26386c631914e69b86ad398e91dd7f"
|
|
155
155
|
],
|
|
156
156
|
"data": "0x",
|
|
157
|
-
"logIndex":
|
|
158
|
-
"blockHash": "
|
|
157
|
+
"logIndex": 94,
|
|
158
|
+
"blockHash": "0xb86afe0ef55ab952f8d24c472da3ea5770822bc80a4b5af7a21a8012f2b5b82c"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
|
-
"transactionIndex":
|
|
162
|
-
"blockNumber":
|
|
163
|
-
"transactionHash": "
|
|
164
|
-
"address": "
|
|
161
|
+
"transactionIndex": 55,
|
|
162
|
+
"blockNumber": 28525807,
|
|
163
|
+
"transactionHash": "0x7f7b2e89a05d902b939aa95a348fe8b690a7e64caf0bae70c1ee9da846622957",
|
|
164
|
+
"address": "0x1B2103441A0A108daD8848D8F5d790e4D402921F",
|
|
165
|
+
"topics": [
|
|
166
|
+
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
167
|
+
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
168
|
+
"0x000000000000000000000000a05f990d647287e4e84715b813bc000aea970467"
|
|
169
|
+
],
|
|
170
|
+
"data": "0x",
|
|
171
|
+
"logIndex": 95,
|
|
172
|
+
"blockHash": "0xb86afe0ef55ab952f8d24c472da3ea5770822bc80a4b5af7a21a8012f2b5b82c"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"transactionIndex": 55,
|
|
176
|
+
"blockNumber": 28525807,
|
|
177
|
+
"transactionHash": "0x7f7b2e89a05d902b939aa95a348fe8b690a7e64caf0bae70c1ee9da846622957",
|
|
178
|
+
"address": "0x1B2103441A0A108daD8848D8F5d790e4D402921F",
|
|
165
179
|
"topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
|
|
166
180
|
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000004788629abc6cfca10f9f969efdeaa1cf70c23555",
|
|
167
|
-
"logIndex":
|
|
168
|
-
"blockHash": "
|
|
181
|
+
"logIndex": 96,
|
|
182
|
+
"blockHash": "0xb86afe0ef55ab952f8d24c472da3ea5770822bc80a4b5af7a21a8012f2b5b82c"
|
|
169
183
|
},
|
|
170
184
|
{
|
|
171
|
-
"transactionIndex":
|
|
172
|
-
"blockNumber":
|
|
173
|
-
"transactionHash": "
|
|
174
|
-
"address": "
|
|
185
|
+
"transactionIndex": 55,
|
|
186
|
+
"blockNumber": 28525807,
|
|
187
|
+
"transactionHash": "0x7f7b2e89a05d902b939aa95a348fe8b690a7e64caf0bae70c1ee9da846622957",
|
|
188
|
+
"address": "0x1B2103441A0A108daD8848D8F5d790e4D402921F",
|
|
175
189
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
176
190
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
177
|
-
"logIndex":
|
|
178
|
-
"blockHash": "
|
|
191
|
+
"logIndex": 97,
|
|
192
|
+
"blockHash": "0xb86afe0ef55ab952f8d24c472da3ea5770822bc80a4b5af7a21a8012f2b5b82c"
|
|
179
193
|
},
|
|
180
194
|
{
|
|
181
|
-
"transactionIndex":
|
|
182
|
-
"blockNumber":
|
|
183
|
-
"transactionHash": "
|
|
184
|
-
"address": "
|
|
195
|
+
"transactionIndex": 55,
|
|
196
|
+
"blockNumber": 28525807,
|
|
197
|
+
"transactionHash": "0x7f7b2e89a05d902b939aa95a348fe8b690a7e64caf0bae70c1ee9da846622957",
|
|
198
|
+
"address": "0x1B2103441A0A108daD8848D8F5d790e4D402921F",
|
|
185
199
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
186
|
-
"data": "
|
|
187
|
-
"logIndex":
|
|
188
|
-
"blockHash": "
|
|
200
|
+
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000001bb765b741a5f3c2a338369dab539385534e3343",
|
|
201
|
+
"logIndex": 98,
|
|
202
|
+
"blockHash": "0xb86afe0ef55ab952f8d24c472da3ea5770822bc80a4b5af7a21a8012f2b5b82c"
|
|
189
203
|
}
|
|
190
204
|
],
|
|
191
|
-
"blockNumber":
|
|
192
|
-
"cumulativeGasUsed": "
|
|
205
|
+
"blockNumber": 28525807,
|
|
206
|
+
"cumulativeGasUsed": "4419589",
|
|
193
207
|
"status": 1,
|
|
194
208
|
"byzantium": true
|
|
195
209
|
},
|
|
196
210
|
"args": [
|
|
197
|
-
"
|
|
198
|
-
"
|
|
211
|
+
"0xEebBfFC42e26386C631914e69B86aD398e91DD7f",
|
|
212
|
+
"0x1BB765b741A5f3C2A338369DAb539385534E3343",
|
|
199
213
|
"0xc4d66de80000000000000000000000004788629abc6cfca10f9f969efdeaa1cf70c23555"
|
|
200
214
|
],
|
|
201
215
|
"numDeployments": 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x1BB765b741A5f3C2A338369DAb539385534E3343",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"inputs": [
|
|
@@ -162,34 +162,34 @@
|
|
|
162
162
|
"type": "function"
|
|
163
163
|
}
|
|
164
164
|
],
|
|
165
|
-
"transactionHash": "
|
|
165
|
+
"transactionHash": "0xd9e524170d1ac663970f82584384e4bd94268679f0a7a8b04a8e490e148c15ab",
|
|
166
166
|
"receipt": {
|
|
167
167
|
"to": null,
|
|
168
|
-
"from": "
|
|
169
|
-
"contractAddress": "
|
|
170
|
-
"transactionIndex":
|
|
168
|
+
"from": "0xa05f990d647287e4E84715b813BC000aEA970467",
|
|
169
|
+
"contractAddress": "0x1BB765b741A5f3C2A338369DAb539385534E3343",
|
|
170
|
+
"transactionIndex": 82,
|
|
171
171
|
"gasUsed": "642683",
|
|
172
|
-
"logsBloom": "
|
|
173
|
-
"blockHash": "
|
|
174
|
-
"transactionHash": "
|
|
172
|
+
"logsBloom": "0x00000000004000000040000000000000000001000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000020000000020000000000000000000800000002000000000000000000000000400000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000",
|
|
173
|
+
"blockHash": "0x3f54505ba1a7e6f04d6ef50f208dd8c1e261f09b97eacf4ff95a3ce3bc17c664",
|
|
174
|
+
"transactionHash": "0xd9e524170d1ac663970f82584384e4bd94268679f0a7a8b04a8e490e148c15ab",
|
|
175
175
|
"logs": [
|
|
176
176
|
{
|
|
177
|
-
"transactionIndex":
|
|
178
|
-
"blockNumber":
|
|
179
|
-
"transactionHash": "
|
|
180
|
-
"address": "
|
|
177
|
+
"transactionIndex": 82,
|
|
178
|
+
"blockNumber": 28525773,
|
|
179
|
+
"transactionHash": "0xd9e524170d1ac663970f82584384e4bd94268679f0a7a8b04a8e490e148c15ab",
|
|
180
|
+
"address": "0x1BB765b741A5f3C2A338369DAb539385534E3343",
|
|
181
181
|
"topics": [
|
|
182
182
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
183
183
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
184
184
|
"0x000000000000000000000000939bd8d64c0a9583a7dcea9933f7b21697ab6396"
|
|
185
185
|
],
|
|
186
186
|
"data": "0x",
|
|
187
|
-
"logIndex":
|
|
188
|
-
"blockHash": "
|
|
187
|
+
"logIndex": 228,
|
|
188
|
+
"blockHash": "0x3f54505ba1a7e6f04d6ef50f208dd8c1e261f09b97eacf4ff95a3ce3bc17c664"
|
|
189
189
|
}
|
|
190
190
|
],
|
|
191
|
-
"blockNumber":
|
|
192
|
-
"cumulativeGasUsed": "
|
|
191
|
+
"blockNumber": 28525773,
|
|
192
|
+
"cumulativeGasUsed": "9099207",
|
|
193
193
|
"status": 1,
|
|
194
194
|
"byzantium": true
|
|
195
195
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xb893E38162f55fb80B18Aa44da76FaDf8E9B2262",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"anonymous": false,
|
|
@@ -205,6 +205,12 @@
|
|
|
205
205
|
{
|
|
206
206
|
"anonymous": false,
|
|
207
207
|
"inputs": [
|
|
208
|
+
{
|
|
209
|
+
"indexed": true,
|
|
210
|
+
"internalType": "address",
|
|
211
|
+
"name": "oldPythOracle",
|
|
212
|
+
"type": "address"
|
|
213
|
+
},
|
|
208
214
|
{
|
|
209
215
|
"indexed": true,
|
|
210
216
|
"internalType": "address",
|
|
@@ -278,7 +284,7 @@
|
|
|
278
284
|
"name": "accessControlManager",
|
|
279
285
|
"outputs": [
|
|
280
286
|
{
|
|
281
|
-
"internalType": "contract
|
|
287
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
282
288
|
"name": "",
|
|
283
289
|
"type": "address"
|
|
284
290
|
}
|
|
@@ -389,7 +395,7 @@
|
|
|
389
395
|
"type": "uint64"
|
|
390
396
|
}
|
|
391
397
|
],
|
|
392
|
-
"internalType": "struct TokenConfig",
|
|
398
|
+
"internalType": "struct PythOracle.TokenConfig",
|
|
393
399
|
"name": "tokenConfig",
|
|
394
400
|
"type": "tuple"
|
|
395
401
|
}
|
|
@@ -419,7 +425,7 @@
|
|
|
419
425
|
"type": "uint64"
|
|
420
426
|
}
|
|
421
427
|
],
|
|
422
|
-
"internalType": "struct TokenConfig[]",
|
|
428
|
+
"internalType": "struct PythOracle.TokenConfig[]",
|
|
423
429
|
"name": "tokenConfigs_",
|
|
424
430
|
"type": "tuple[]"
|
|
425
431
|
}
|
|
@@ -545,96 +551,97 @@
|
|
|
545
551
|
"type": "constructor"
|
|
546
552
|
}
|
|
547
553
|
],
|
|
548
|
-
"transactionHash": "
|
|
554
|
+
"transactionHash": "0xc8ee61f1f5696a1d124dc1d28cb4d7533d1c003dc07798b0e29f518d55d1fc46",
|
|
549
555
|
"receipt": {
|
|
550
556
|
"to": null,
|
|
551
|
-
"from": "
|
|
552
|
-
"contractAddress": "
|
|
553
|
-
"transactionIndex":
|
|
554
|
-
"gasUsed": "
|
|
555
|
-
"logsBloom": "
|
|
556
|
-
"blockHash": "
|
|
557
|
-
"transactionHash": "
|
|
557
|
+
"from": "0xa05f990d647287e4E84715b813BC000aEA970467",
|
|
558
|
+
"contractAddress": "0xb893E38162f55fb80B18Aa44da76FaDf8E9B2262",
|
|
559
|
+
"transactionIndex": 83,
|
|
560
|
+
"gasUsed": "719602",
|
|
561
|
+
"logsBloom": "0x0000000000000000000000000000000040000000000000000080000000041000000000000000000000000000000000000000000000000008000000000000800000000000000000000000800000000200000100000000010000000000000000000000000002000000000000000000080000010080000000000000000000000040000000000000000000000000000000000000000000008000000000000080000000000000000000000000000000040000000000000080c000004000000000000000000020000001000000000000040000000000000400000000000000000020000000000000000000000000004000400000000800000000000000040200000000",
|
|
562
|
+
"blockHash": "0x08bf62e62d3da618a6aa8c6da72ef9c8d747396d49cd4accc01683144862ec78",
|
|
563
|
+
"transactionHash": "0xc8ee61f1f5696a1d124dc1d28cb4d7533d1c003dc07798b0e29f518d55d1fc46",
|
|
558
564
|
"logs": [
|
|
559
565
|
{
|
|
560
|
-
"transactionIndex":
|
|
561
|
-
"blockNumber":
|
|
562
|
-
"transactionHash": "
|
|
563
|
-
"address": "
|
|
566
|
+
"transactionIndex": 83,
|
|
567
|
+
"blockNumber": 28525831,
|
|
568
|
+
"transactionHash": "0xc8ee61f1f5696a1d124dc1d28cb4d7533d1c003dc07798b0e29f518d55d1fc46",
|
|
569
|
+
"address": "0xb893E38162f55fb80B18Aa44da76FaDf8E9B2262",
|
|
564
570
|
"topics": [
|
|
565
571
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
566
|
-
"
|
|
572
|
+
"0x00000000000000000000000001e12afa8d016d11dfbbde48e1a51038072b2129"
|
|
567
573
|
],
|
|
568
574
|
"data": "0x",
|
|
569
|
-
"logIndex":
|
|
570
|
-
"blockHash": "
|
|
575
|
+
"logIndex": 315,
|
|
576
|
+
"blockHash": "0x08bf62e62d3da618a6aa8c6da72ef9c8d747396d49cd4accc01683144862ec78"
|
|
571
577
|
},
|
|
572
578
|
{
|
|
573
|
-
"transactionIndex":
|
|
574
|
-
"blockNumber":
|
|
575
|
-
"transactionHash": "
|
|
576
|
-
"address": "
|
|
579
|
+
"transactionIndex": 83,
|
|
580
|
+
"blockNumber": 28525831,
|
|
581
|
+
"transactionHash": "0xc8ee61f1f5696a1d124dc1d28cb4d7533d1c003dc07798b0e29f518d55d1fc46",
|
|
582
|
+
"address": "0xb893E38162f55fb80B18Aa44da76FaDf8E9B2262",
|
|
577
583
|
"topics": [
|
|
578
584
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
579
585
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
580
|
-
"
|
|
586
|
+
"0x000000000000000000000000a05f990d647287e4e84715b813bc000aea970467"
|
|
581
587
|
],
|
|
582
588
|
"data": "0x",
|
|
583
|
-
"logIndex":
|
|
584
|
-
"blockHash": "
|
|
589
|
+
"logIndex": 316,
|
|
590
|
+
"blockHash": "0x08bf62e62d3da618a6aa8c6da72ef9c8d747396d49cd4accc01683144862ec78"
|
|
585
591
|
},
|
|
586
592
|
{
|
|
587
|
-
"transactionIndex":
|
|
588
|
-
"blockNumber":
|
|
589
|
-
"transactionHash": "
|
|
590
|
-
"address": "
|
|
593
|
+
"transactionIndex": 83,
|
|
594
|
+
"blockNumber": 28525831,
|
|
595
|
+
"transactionHash": "0xc8ee61f1f5696a1d124dc1d28cb4d7533d1c003dc07798b0e29f518d55d1fc46",
|
|
596
|
+
"address": "0xb893E38162f55fb80B18Aa44da76FaDf8E9B2262",
|
|
591
597
|
"topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
|
|
592
598
|
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000004788629abc6cfca10f9f969efdeaa1cf70c23555",
|
|
593
|
-
"logIndex":
|
|
594
|
-
"blockHash": "
|
|
599
|
+
"logIndex": 317,
|
|
600
|
+
"blockHash": "0x08bf62e62d3da618a6aa8c6da72ef9c8d747396d49cd4accc01683144862ec78"
|
|
595
601
|
},
|
|
596
602
|
{
|
|
597
|
-
"transactionIndex":
|
|
598
|
-
"blockNumber":
|
|
599
|
-
"transactionHash": "
|
|
600
|
-
"address": "
|
|
603
|
+
"transactionIndex": 83,
|
|
604
|
+
"blockNumber": 28525831,
|
|
605
|
+
"transactionHash": "0xc8ee61f1f5696a1d124dc1d28cb4d7533d1c003dc07798b0e29f518d55d1fc46",
|
|
606
|
+
"address": "0xb893E38162f55fb80B18Aa44da76FaDf8E9B2262",
|
|
601
607
|
"topics": [
|
|
602
|
-
"
|
|
608
|
+
"0x004e195fa31ccc70d4b5113711cee69b9f2059118d18832686a27d19e62a953f",
|
|
609
|
+
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
603
610
|
"0x0000000000000000000000004d7e825f80bdf85e913e0dd2a2d54927e9de1594"
|
|
604
611
|
],
|
|
605
612
|
"data": "0x",
|
|
606
|
-
"logIndex":
|
|
607
|
-
"blockHash": "
|
|
613
|
+
"logIndex": 318,
|
|
614
|
+
"blockHash": "0x08bf62e62d3da618a6aa8c6da72ef9c8d747396d49cd4accc01683144862ec78"
|
|
608
615
|
},
|
|
609
616
|
{
|
|
610
|
-
"transactionIndex":
|
|
611
|
-
"blockNumber":
|
|
612
|
-
"transactionHash": "
|
|
613
|
-
"address": "
|
|
617
|
+
"transactionIndex": 83,
|
|
618
|
+
"blockNumber": 28525831,
|
|
619
|
+
"transactionHash": "0xc8ee61f1f5696a1d124dc1d28cb4d7533d1c003dc07798b0e29f518d55d1fc46",
|
|
620
|
+
"address": "0xb893E38162f55fb80B18Aa44da76FaDf8E9B2262",
|
|
614
621
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
615
622
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
616
|
-
"logIndex":
|
|
617
|
-
"blockHash": "
|
|
623
|
+
"logIndex": 319,
|
|
624
|
+
"blockHash": "0x08bf62e62d3da618a6aa8c6da72ef9c8d747396d49cd4accc01683144862ec78"
|
|
618
625
|
},
|
|
619
626
|
{
|
|
620
|
-
"transactionIndex":
|
|
621
|
-
"blockNumber":
|
|
622
|
-
"transactionHash": "
|
|
623
|
-
"address": "
|
|
627
|
+
"transactionIndex": 83,
|
|
628
|
+
"blockNumber": 28525831,
|
|
629
|
+
"transactionHash": "0xc8ee61f1f5696a1d124dc1d28cb4d7533d1c003dc07798b0e29f518d55d1fc46",
|
|
630
|
+
"address": "0xb893E38162f55fb80B18Aa44da76FaDf8E9B2262",
|
|
624
631
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
625
|
-
"data": "
|
|
626
|
-
"logIndex":
|
|
627
|
-
"blockHash": "
|
|
632
|
+
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000001bb765b741a5f3c2a338369dab539385534e3343",
|
|
633
|
+
"logIndex": 320,
|
|
634
|
+
"blockHash": "0x08bf62e62d3da618a6aa8c6da72ef9c8d747396d49cd4accc01683144862ec78"
|
|
628
635
|
}
|
|
629
636
|
],
|
|
630
|
-
"blockNumber":
|
|
631
|
-
"cumulativeGasUsed": "
|
|
637
|
+
"blockNumber": 28525831,
|
|
638
|
+
"cumulativeGasUsed": "9639734",
|
|
632
639
|
"status": 1,
|
|
633
640
|
"byzantium": true
|
|
634
641
|
},
|
|
635
642
|
"args": [
|
|
636
|
-
"
|
|
637
|
-
"
|
|
643
|
+
"0x01e12AFa8D016D11dFBBde48e1a51038072b2129",
|
|
644
|
+
"0x1BB765b741A5f3C2A338369DAb539385534E3343",
|
|
638
645
|
"0x485cc9550000000000000000000000004d7e825f80bdf85e913e0dd2a2d54927e9de15940000000000000000000000004788629abc6cfca10f9f969efdeaa1cf70c23555"
|
|
639
646
|
],
|
|
640
647
|
"numDeployments": 1,
|
|
@@ -646,7 +653,7 @@
|
|
|
646
653
|
"methodName": "initialize",
|
|
647
654
|
"args": ["0x4D7E825f80bDf85e913E0DD2A2D54927e9dE1594", "0x4788629ABc6cFCA10F9f969efdEAa1cF70c23555"]
|
|
648
655
|
},
|
|
649
|
-
"implementation": "
|
|
656
|
+
"implementation": "0x01e12AFa8D016D11dFBBde48e1a51038072b2129",
|
|
650
657
|
"devdoc": {
|
|
651
658
|
"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.",
|
|
652
659
|
"kind": "dev",
|