@venusprotocol/oracle 1.6.10 → 1.6.11-dev.10
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/LICENSE +11 -0
- package/README.md +117 -0
- package/contracts/ResilientOracle.sol +45 -37
- package/contracts/interfaces/PythInterface.sol +4 -1
- package/contracts/oracles/BinanceOracle.sol +65 -24
- package/contracts/oracles/BoundValidator.sol +51 -54
- package/contracts/oracles/ChainlinkOracle.sol +54 -54
- package/contracts/oracles/PythOracle.sol +48 -47
- package/contracts/oracles/TwapOracle.sol +85 -83
- package/contracts/oracles/mocks/MockBinanceFeedRegistry.sol +1 -1
- package/contracts/oracles/mocks/MockBinanceOracle.sol +1 -7
- package/contracts/oracles/mocks/MockPythOracle.sol +1 -1
- package/contracts/oracles/mocks/MockTwapOracle.sol +1 -1
- package/contracts/test/AccessControlManager.sol +6 -0
- package/contracts/test/BEP20Harness.sol +4 -0
- package/contracts/test/MockPyth.sol +9 -2
- package/deployments/bscmainnet/.chainId +1 -0
- package/deployments/bscmainnet/BinanceOracle.json +571 -0
- package/deployments/bscmainnet/BinanceOracle_Implementation.json +629 -0
- package/deployments/bscmainnet/BinanceOracle_Proxy.json +251 -0
- package/deployments/bscmainnet/BoundValidator.json +621 -0
- package/deployments/bscmainnet/BoundValidator_Implementation.json +706 -0
- package/deployments/bscmainnet/BoundValidator_Proxy.json +251 -0
- package/deployments/bscmainnet/ChainlinkOracle.json +691 -0
- package/deployments/bscmainnet/ChainlinkOracle_Implementation.json +820 -0
- package/deployments/bscmainnet/ChainlinkOracle_Proxy.json +251 -0
- package/deployments/bscmainnet/DefaultProxyAdmin.json +257 -0
- package/deployments/bscmainnet/PythOracle.json +688 -0
- package/deployments/bscmainnet/PythOracle_Implementation.json +804 -0
- package/deployments/bscmainnet/PythOracle_Proxy.json +265 -0
- package/deployments/bscmainnet/ResilientOracle.json +841 -0
- package/deployments/bscmainnet/ResilientOracle_Implementation.json +1044 -0
- package/deployments/bscmainnet/ResilientOracle_Proxy.json +251 -0
- package/deployments/bscmainnet/TwapOracle.json +887 -0
- package/deployments/bscmainnet/TwapOracle_Implementation.json +1111 -0
- package/deployments/bscmainnet/TwapOracle_Proxy.json +251 -0
- package/deployments/bscmainnet/solcInputs/0e89febeebc7444140de8e67c9067d2c.json +78 -0
- package/deployments/bscmainnet/solcInputs/aae9f1601b873a5a4704ede73ede10cb.json +135 -0
- package/deployments/bsctestnet/BinanceOracle.json +273 -31
- package/deployments/bsctestnet/BinanceOracle_Implementation.json +398 -28
- package/deployments/bsctestnet/BinanceOracle_Proxy.json +52 -28
- package/deployments/bsctestnet/BoundValidator.json +40 -40
- package/deployments/bsctestnet/BoundValidator_Implementation.json +43 -51
- package/deployments/bsctestnet/BoundValidator_Proxy.json +35 -35
- package/deployments/bsctestnet/ChainlinkOracle.json +57 -49
- package/deployments/bsctestnet/ChainlinkOracle_Implementation.json +46 -52
- package/deployments/bsctestnet/ChainlinkOracle_Proxy.json +50 -36
- package/deployments/bsctestnet/DefaultProxyAdmin.json +18 -18
- package/deployments/bsctestnet/PythOracle.json +52 -45
- package/deployments/bsctestnet/PythOracle_Implementation.json +53 -47
- package/deployments/bsctestnet/PythOracle_Proxy.json +41 -40
- package/deployments/bsctestnet/ResilientOracle.json +51 -42
- package/deployments/bsctestnet/ResilientOracle_Implementation.json +65 -68
- package/deployments/bsctestnet/ResilientOracle_Proxy.json +48 -34
- package/deployments/bsctestnet/TwapOracle.json +70 -83
- package/deployments/bsctestnet/TwapOracle_Implementation.json +84 -97
- package/deployments/bsctestnet/TwapOracle_Proxy.json +46 -46
- package/deployments/bsctestnet/solcInputs/131f58942628e21632de19506977a910.json +120 -0
- package/deployments/bsctestnet/solcInputs/144b49e8aec3add79553ba273ea32d00.json +72 -0
- 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/{deploy → dist/deploy}/1-deploy-oracles.js +66 -24
- 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/{deploy → dist/deploy}/2-configure-feeds.js +139 -16
- 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 +26 -19
- 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/SafeMath.sol/SafeMath.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/math/SafeMath.sol/SafeMath.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/build-info/a47a69a8f108d3e7113faf89771988ff.json +0 -1
- package/artifacts/build-info/cc300b55b814df48229058e829c7c3c6.json +0 -1
- package/artifacts/build-info/de79b2637546f6f7d38c8f655549d9e2.json +0 -1
- package/artifacts/contracts/Governance/AccessControlManager.sol/AccessControlManager.dbg.json +0 -4
- package/artifacts/contracts/Governance/AccessControlManager.sol/AccessControlManager.json +0 -369
- package/artifacts/contracts/Governance/AccessControlled.sol/AccessControlled.dbg.json +0 -4
- package/artifacts/contracts/Governance/AccessControlled.sol/AccessControlled.json +0 -181
- package/artifacts/contracts/Governance/IAccessControlManager.sol/IAccessControlManager.dbg.json +0 -4
- package/artifacts/contracts/Governance/IAccessControlManager.sol/IAccessControlManager.json +0 -282
- package/artifacts/contracts/PriceOracle.sol/PriceOracle.dbg.json +0 -4
- package/artifacts/contracts/PriceOracle.sol/PriceOracle.json +0 -43
- 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 -124
- 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 -676
- 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 -163
- 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/BEP20Harness.sol/BEP20Harness.dbg.json +0 -4
- package/artifacts/contracts/test/BEP20Harness.sol/BEP20Harness.json +0 -315
- 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 -333
- package/contracts/Governance/AccessControlManager.sol +0 -99
- package/contracts/Governance/AccessControlled.sol +0 -75
- package/contracts/Governance/IAccessControlManager.sol +0 -22
- package/contracts/PriceOracle.sol +0 -16
- package/deploy/1-deploy-oracles.d.ts +0 -2
- package/deploy/1-deploy-oracles.d.ts.map +0 -1
- package/deploy/1-deploy-oracles.js.map +0 -1
- package/deploy/2-configure-feeds.d.ts +0 -2
- package/deploy/2-configure-feeds.d.ts.map +0 -1
- package/deploy/2-configure-feeds.js.map +0 -1
- package/deployments/bsctestnet/AccessControlManager.json +0 -563
- package/deployments/bsctestnet/solcInputs/30f2cb3e89e183b8669f05bddf9426d9.json +0 -183
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x94E1534c14e0736BB24decA625f2F5364B198E0C",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"inputs": [
|
|
@@ -133,35 +133,35 @@
|
|
|
133
133
|
"type": "receive"
|
|
134
134
|
}
|
|
135
135
|
],
|
|
136
|
-
"transactionHash": "
|
|
136
|
+
"transactionHash": "0x0029370f5eaa4519a79d68115d5b8c9250be9d4ae1113b2acb1b78db46565910",
|
|
137
137
|
"receipt": {
|
|
138
138
|
"to": null,
|
|
139
139
|
"from": "0x8BDA9f9E1fEF0DFd404Fef338D9fE4c543d172e1",
|
|
140
|
-
"contractAddress": "
|
|
140
|
+
"contractAddress": "0x94E1534c14e0736BB24decA625f2F5364B198E0C",
|
|
141
141
|
"transactionIndex": 0,
|
|
142
|
-
"gasUsed": "
|
|
143
|
-
"logsBloom": "
|
|
144
|
-
"blockHash": "
|
|
145
|
-
"transactionHash": "
|
|
142
|
+
"gasUsed": "719602",
|
|
143
|
+
"logsBloom": "0x00000000000000000000000000000000400000000040000000800000000400000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000002000001040000000000000000000000000020000000020000000000020000000800000000800000000000000000200000400000000000000000000000000000000080000000000080000000000000800000000000000000008010000000000404000000000000800000000000000000000000000020000001000000000000040000000000000400000000000000000820000000000000000008000000000000400000000800000000000000000000000000",
|
|
144
|
+
"blockHash": "0xd13463e2b572535cc9c835fb36a587d62a51dc3c5bb2079953b5763e37444b35",
|
|
145
|
+
"transactionHash": "0x0029370f5eaa4519a79d68115d5b8c9250be9d4ae1113b2acb1b78db46565910",
|
|
146
146
|
"logs": [
|
|
147
147
|
{
|
|
148
148
|
"transactionIndex": 0,
|
|
149
|
-
"blockNumber":
|
|
150
|
-
"transactionHash": "
|
|
151
|
-
"address": "
|
|
149
|
+
"blockNumber": 30137626,
|
|
150
|
+
"transactionHash": "0x0029370f5eaa4519a79d68115d5b8c9250be9d4ae1113b2acb1b78db46565910",
|
|
151
|
+
"address": "0x94E1534c14e0736BB24decA625f2F5364B198E0C",
|
|
152
152
|
"topics": [
|
|
153
153
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
154
|
-
"
|
|
154
|
+
"0x000000000000000000000000b830c5f05334a364a80957ddacf5a336dc55bab2"
|
|
155
155
|
],
|
|
156
156
|
"data": "0x",
|
|
157
157
|
"logIndex": 0,
|
|
158
|
-
"blockHash": "
|
|
158
|
+
"blockHash": "0xd13463e2b572535cc9c835fb36a587d62a51dc3c5bb2079953b5763e37444b35"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
"transactionIndex": 0,
|
|
162
|
-
"blockNumber":
|
|
163
|
-
"transactionHash": "
|
|
164
|
-
"address": "
|
|
162
|
+
"blockNumber": 30137626,
|
|
163
|
+
"transactionHash": "0x0029370f5eaa4519a79d68115d5b8c9250be9d4ae1113b2acb1b78db46565910",
|
|
164
|
+
"address": "0x94E1534c14e0736BB24decA625f2F5364B198E0C",
|
|
165
165
|
"topics": [
|
|
166
166
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
167
167
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
@@ -169,61 +169,62 @@
|
|
|
169
169
|
],
|
|
170
170
|
"data": "0x",
|
|
171
171
|
"logIndex": 1,
|
|
172
|
-
"blockHash": "
|
|
172
|
+
"blockHash": "0xd13463e2b572535cc9c835fb36a587d62a51dc3c5bb2079953b5763e37444b35"
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
175
|
"transactionIndex": 0,
|
|
176
|
-
"blockNumber":
|
|
177
|
-
"transactionHash": "
|
|
178
|
-
"address": "
|
|
176
|
+
"blockNumber": 30137626,
|
|
177
|
+
"transactionHash": "0x0029370f5eaa4519a79d68115d5b8c9250be9d4ae1113b2acb1b78db46565910",
|
|
178
|
+
"address": "0x94E1534c14e0736BB24decA625f2F5364B198E0C",
|
|
179
179
|
"topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
|
|
180
|
-
"data": "
|
|
180
|
+
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045f8a08f534f34a97187626e05d4b6648eeaa9aa",
|
|
181
181
|
"logIndex": 2,
|
|
182
|
-
"blockHash": "
|
|
182
|
+
"blockHash": "0xd13463e2b572535cc9c835fb36a587d62a51dc3c5bb2079953b5763e37444b35"
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
"transactionIndex": 0,
|
|
186
|
-
"blockNumber":
|
|
187
|
-
"transactionHash": "
|
|
188
|
-
"address": "
|
|
186
|
+
"blockNumber": 30137626,
|
|
187
|
+
"transactionHash": "0x0029370f5eaa4519a79d68115d5b8c9250be9d4ae1113b2acb1b78db46565910",
|
|
188
|
+
"address": "0x94E1534c14e0736BB24decA625f2F5364B198E0C",
|
|
189
189
|
"topics": [
|
|
190
|
-
"
|
|
190
|
+
"0x004e195fa31ccc70d4b5113711cee69b9f2059118d18832686a27d19e62a953f",
|
|
191
|
+
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
191
192
|
"0x000000000000000000000000d7308b14bf4008e7c7196ec35610b1427c5702ea"
|
|
192
193
|
],
|
|
193
194
|
"data": "0x",
|
|
194
195
|
"logIndex": 3,
|
|
195
|
-
"blockHash": "
|
|
196
|
+
"blockHash": "0xd13463e2b572535cc9c835fb36a587d62a51dc3c5bb2079953b5763e37444b35"
|
|
196
197
|
},
|
|
197
198
|
{
|
|
198
199
|
"transactionIndex": 0,
|
|
199
|
-
"blockNumber":
|
|
200
|
-
"transactionHash": "
|
|
201
|
-
"address": "
|
|
200
|
+
"blockNumber": 30137626,
|
|
201
|
+
"transactionHash": "0x0029370f5eaa4519a79d68115d5b8c9250be9d4ae1113b2acb1b78db46565910",
|
|
202
|
+
"address": "0x94E1534c14e0736BB24decA625f2F5364B198E0C",
|
|
202
203
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
203
204
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
204
205
|
"logIndex": 4,
|
|
205
|
-
"blockHash": "
|
|
206
|
+
"blockHash": "0xd13463e2b572535cc9c835fb36a587d62a51dc3c5bb2079953b5763e37444b35"
|
|
206
207
|
},
|
|
207
208
|
{
|
|
208
209
|
"transactionIndex": 0,
|
|
209
|
-
"blockNumber":
|
|
210
|
-
"transactionHash": "
|
|
211
|
-
"address": "
|
|
210
|
+
"blockNumber": 30137626,
|
|
211
|
+
"transactionHash": "0x0029370f5eaa4519a79d68115d5b8c9250be9d4ae1113b2acb1b78db46565910",
|
|
212
|
+
"address": "0x94E1534c14e0736BB24decA625f2F5364B198E0C",
|
|
212
213
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
213
|
-
"data": "
|
|
214
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ef480a5654b231ff7d80a0681f938f3db71a6ca6",
|
|
214
215
|
"logIndex": 5,
|
|
215
|
-
"blockHash": "
|
|
216
|
+
"blockHash": "0xd13463e2b572535cc9c835fb36a587d62a51dc3c5bb2079953b5763e37444b35"
|
|
216
217
|
}
|
|
217
218
|
],
|
|
218
|
-
"blockNumber":
|
|
219
|
-
"cumulativeGasUsed": "
|
|
219
|
+
"blockNumber": 30137626,
|
|
220
|
+
"cumulativeGasUsed": "719602",
|
|
220
221
|
"status": 1,
|
|
221
222
|
"byzantium": true
|
|
222
223
|
},
|
|
223
224
|
"args": [
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
"
|
|
225
|
+
"0xb830C5F05334a364a80957dDACF5A336dc55Bab2",
|
|
226
|
+
"0xef480a5654b231ff7d80A0681F938f3Db71a6Ca6",
|
|
227
|
+
"0x485cc955000000000000000000000000d7308b14bf4008e7c7196ec35610b1427c5702ea00000000000000000000000045f8a08f534f34a97187626e05d4b6648eeaa9aa"
|
|
227
228
|
],
|
|
228
229
|
"numDeployments": 1,
|
|
229
230
|
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x3cD69251D04A28d887Ac14cbe2E14c52F3D57823",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"anonymous": false,
|
|
@@ -347,7 +347,7 @@
|
|
|
347
347
|
"name": "accessControlManager",
|
|
348
348
|
"outputs": [
|
|
349
349
|
{
|
|
350
|
-
"internalType": "contract
|
|
350
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
351
351
|
"name": "",
|
|
352
352
|
"type": "address"
|
|
353
353
|
}
|
|
@@ -477,11 +477,6 @@
|
|
|
477
477
|
},
|
|
478
478
|
{
|
|
479
479
|
"inputs": [
|
|
480
|
-
{
|
|
481
|
-
"internalType": "contract BoundValidatorInterface",
|
|
482
|
-
"name": "_boundValidator",
|
|
483
|
-
"type": "address"
|
|
484
|
-
},
|
|
485
480
|
{
|
|
486
481
|
"internalType": "address",
|
|
487
482
|
"name": "accessControlManager_",
|
|
@@ -723,70 +718,84 @@
|
|
|
723
718
|
"type": "constructor"
|
|
724
719
|
}
|
|
725
720
|
],
|
|
726
|
-
"transactionHash": "
|
|
721
|
+
"transactionHash": "0x16e33be2995913a85f068ed9ad66b5f6e781c2ad392368e80d011c1d4a654033",
|
|
727
722
|
"receipt": {
|
|
728
723
|
"to": null,
|
|
729
724
|
"from": "0x8BDA9f9E1fEF0DFd404Fef338D9fE4c543d172e1",
|
|
730
|
-
"contractAddress": "
|
|
725
|
+
"contractAddress": "0x3cD69251D04A28d887Ac14cbe2E14c52F3D57823",
|
|
731
726
|
"transactionIndex": 0,
|
|
732
|
-
"gasUsed": "
|
|
733
|
-
"logsBloom": "
|
|
734
|
-
"blockHash": "
|
|
735
|
-
"transactionHash": "
|
|
727
|
+
"gasUsed": "699869",
|
|
728
|
+
"logsBloom": "0x00000400000000000000040000000000400000000000000000800000000000000000000000000000000000000000000000000000000000000000080000008000000000000000000000000000000002000001040000000000000000000000000000000000020000000000000000000800000000800000000000000000000000400000000000000000000000000000000080000000000080000000000000800000000100000000000010004000000400000000000000800000000000000000000000000020000000000000000000040000000000000400000000000000000020000000000000000000000000000000000000000800800000000000000000000000",
|
|
729
|
+
"blockHash": "0x65fa531ce91d8a818f97ee45c276855cc668c5e0d4909683ceb8e088896cb1ea",
|
|
730
|
+
"transactionHash": "0x16e33be2995913a85f068ed9ad66b5f6e781c2ad392368e80d011c1d4a654033",
|
|
736
731
|
"logs": [
|
|
737
732
|
{
|
|
738
733
|
"transactionIndex": 0,
|
|
739
|
-
"blockNumber":
|
|
740
|
-
"transactionHash": "
|
|
741
|
-
"address": "
|
|
734
|
+
"blockNumber": 30137616,
|
|
735
|
+
"transactionHash": "0x16e33be2995913a85f068ed9ad66b5f6e781c2ad392368e80d011c1d4a654033",
|
|
736
|
+
"address": "0x3cD69251D04A28d887Ac14cbe2E14c52F3D57823",
|
|
742
737
|
"topics": [
|
|
743
738
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
744
|
-
"
|
|
739
|
+
"0x000000000000000000000000360506e086d6e4788b0970cd576307cceccecbe6"
|
|
745
740
|
],
|
|
746
741
|
"data": "0x",
|
|
747
742
|
"logIndex": 0,
|
|
748
|
-
"blockHash": "
|
|
743
|
+
"blockHash": "0x65fa531ce91d8a818f97ee45c276855cc668c5e0d4909683ceb8e088896cb1ea"
|
|
749
744
|
},
|
|
750
745
|
{
|
|
751
746
|
"transactionIndex": 0,
|
|
752
|
-
"blockNumber":
|
|
753
|
-
"transactionHash": "
|
|
754
|
-
"address": "
|
|
755
|
-
"topics": [
|
|
756
|
-
|
|
747
|
+
"blockNumber": 30137616,
|
|
748
|
+
"transactionHash": "0x16e33be2995913a85f068ed9ad66b5f6e781c2ad392368e80d011c1d4a654033",
|
|
749
|
+
"address": "0x3cD69251D04A28d887Ac14cbe2E14c52F3D57823",
|
|
750
|
+
"topics": [
|
|
751
|
+
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
752
|
+
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
753
|
+
"0x0000000000000000000000008bda9f9e1fef0dfd404fef338d9fe4c543d172e1"
|
|
754
|
+
],
|
|
755
|
+
"data": "0x",
|
|
757
756
|
"logIndex": 1,
|
|
758
|
-
"blockHash": "
|
|
757
|
+
"blockHash": "0x65fa531ce91d8a818f97ee45c276855cc668c5e0d4909683ceb8e088896cb1ea"
|
|
759
758
|
},
|
|
760
759
|
{
|
|
761
760
|
"transactionIndex": 0,
|
|
762
|
-
"blockNumber":
|
|
763
|
-
"transactionHash": "
|
|
764
|
-
"address": "
|
|
761
|
+
"blockNumber": 30137616,
|
|
762
|
+
"transactionHash": "0x16e33be2995913a85f068ed9ad66b5f6e781c2ad392368e80d011c1d4a654033",
|
|
763
|
+
"address": "0x3cD69251D04A28d887Ac14cbe2E14c52F3D57823",
|
|
764
|
+
"topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
|
|
765
|
+
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045f8a08f534f34a97187626e05d4b6648eeaa9aa",
|
|
766
|
+
"logIndex": 2,
|
|
767
|
+
"blockHash": "0x65fa531ce91d8a818f97ee45c276855cc668c5e0d4909683ceb8e088896cb1ea"
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
"transactionIndex": 0,
|
|
771
|
+
"blockNumber": 30137616,
|
|
772
|
+
"transactionHash": "0x16e33be2995913a85f068ed9ad66b5f6e781c2ad392368e80d011c1d4a654033",
|
|
773
|
+
"address": "0x3cD69251D04A28d887Ac14cbe2E14c52F3D57823",
|
|
765
774
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
766
775
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
767
|
-
"logIndex":
|
|
768
|
-
"blockHash": "
|
|
776
|
+
"logIndex": 3,
|
|
777
|
+
"blockHash": "0x65fa531ce91d8a818f97ee45c276855cc668c5e0d4909683ceb8e088896cb1ea"
|
|
769
778
|
},
|
|
770
779
|
{
|
|
771
780
|
"transactionIndex": 0,
|
|
772
|
-
"blockNumber":
|
|
773
|
-
"transactionHash": "
|
|
774
|
-
"address": "
|
|
781
|
+
"blockNumber": 30137616,
|
|
782
|
+
"transactionHash": "0x16e33be2995913a85f068ed9ad66b5f6e781c2ad392368e80d011c1d4a654033",
|
|
783
|
+
"address": "0x3cD69251D04A28d887Ac14cbe2E14c52F3D57823",
|
|
775
784
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
776
|
-
"data": "
|
|
777
|
-
"logIndex":
|
|
778
|
-
"blockHash": "
|
|
785
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ef480a5654b231ff7d80a0681f938f3db71a6ca6",
|
|
786
|
+
"logIndex": 4,
|
|
787
|
+
"blockHash": "0x65fa531ce91d8a818f97ee45c276855cc668c5e0d4909683ceb8e088896cb1ea"
|
|
779
788
|
}
|
|
780
789
|
],
|
|
781
|
-
"blockNumber":
|
|
782
|
-
"cumulativeGasUsed": "
|
|
790
|
+
"blockNumber": 30137616,
|
|
791
|
+
"cumulativeGasUsed": "699869",
|
|
783
792
|
"status": 1,
|
|
784
793
|
"byzantium": true
|
|
785
794
|
},
|
|
786
795
|
"args": [
|
|
787
|
-
"
|
|
788
|
-
"
|
|
789
|
-
"
|
|
796
|
+
"0x360506E086d6E4788b0970CD576307CCEccECbe6",
|
|
797
|
+
"0xef480a5654b231ff7d80A0681F938f3Db71a6Ca6",
|
|
798
|
+
"0xc4d66de800000000000000000000000045f8a08f534f34a97187626e05d4b6648eeaa9aa"
|
|
790
799
|
],
|
|
791
800
|
"numDeployments": 1,
|
|
792
801
|
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
|
|
@@ -795,9 +804,9 @@
|
|
|
795
804
|
"deployedBytecode": "0x6080604052600436106100435760003560e01c80633659cfe61461005a5780634f1ef2861461007a5780635c60da1b1461008d578063f851a440146100cb57610052565b36610052576100506100e0565b005b6100506100e0565b34801561006657600080fd5b5061005061007536600461076c565b6100fa565b610050610088366004610787565b61015e565b34801561009957600080fd5b506100a26101ec565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d757600080fd5b506100a2610244565b6100e86102f1565b6100f86100f36103e2565b610422565b565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101565761015381604051806020016040528060008152506000610446565b50565b6101536100e0565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101e4576101df8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610446915050565b505050565b6101df6100e0565b60003373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161415610239576102346103e2565b905090565b6102416100e0565b90565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561023957507f000000000000000000000000000000000000000000000000000000000000000090565b60606102ce83836040518060600160405280602781526020016108a460279139610471565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156100f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b60006102347f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b3660008037600080366000845af43d6000803e808015610441573d6000f35b3d6000fd5b61044f83610599565b60008251118061045c5750805b156101df5761046b83836102a9565b50505050565b606073ffffffffffffffffffffffffffffffffffffffff84163b610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016103d9565b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161053f9190610836565b600060405180830381855af49150503d806000811461057a576040519150601f19603f3d011682016040523d82523d6000602084013e61057f565b606091505b509150915061058f8282866105e6565b9695505050505050565b6105a281610639565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606083156105f55750816102ce565b8251156106055782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d99190610852565b73ffffffffffffffffffffffffffffffffffffffff81163b6106dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103d9565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461076757600080fd5b919050565b60006020828403121561077e57600080fd5b6102ce82610743565b60008060006040848603121561079c57600080fd5b6107a584610743565b9250602084013567ffffffffffffffff808211156107c257600080fd5b818601915086601f8301126107d657600080fd5b8135818111156107e557600080fd5b8760208285010111156107f757600080fd5b6020830194508093505050509250925092565b60005b8381101561082557818101518382015260200161080d565b8381111561046b5750506000910152565b6000825161084881846020870161080a565b9190910192915050565b602081526000825180602084015261087181604085016020870161080a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212206f70214c51cdd41c05ba0ffeb72b309ca3c8be178fd6e73c12162330799984f364736f6c634300080a0033",
|
|
796
805
|
"execute": {
|
|
797
806
|
"methodName": "initialize",
|
|
798
|
-
"args": ["
|
|
807
|
+
"args": ["0x45f8a08F534f34A97187626E05d4b6648Eeaa9AA"]
|
|
799
808
|
},
|
|
800
|
-
"implementation": "
|
|
809
|
+
"implementation": "0x360506E086d6E4788b0970CD576307CCEccECbe6",
|
|
801
810
|
"devdoc": {
|
|
802
811
|
"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.",
|
|
803
812
|
"kind": "dev",
|