@venusprotocol/oracle 1.6.10 → 1.6.11-dev.2
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/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.sol/AggregatorInterface.dbg.json +1 -1
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.sol/AggregatorV2V3Interface.dbg.json +1 -1
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +2 -2
- package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +2 -2
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +2 -2
- package/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.json +2 -2
- package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.json +2 -2
- package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +2 -2
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
- 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/{contracts/Governance/AccessControlled.sol/AccessControlled.json → @venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.json} +3 -3
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +4 -0
- package/artifacts/{contracts/Governance/IAccessControlManager.sol/IAccessControlManager.json → @venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.json} +2 -2
- package/artifacts/build-info/669ba4532c64b244397816b0f72e9870.json +1 -0
- package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.dbg.json +1 -1
- package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.json +3 -3
- package/artifacts/contracts/interfaces/FeedRegistryInterface.sol/FeedRegistryInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/OracleInterface.sol/TwapInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/PublicResolverInterface.sol/PublicResolverInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/PythInterface.sol/AbstractPyth.dbg.json +1 -1
- package/artifacts/contracts/interfaces/PythInterface.sol/IPyth.dbg.json +1 -1
- package/artifacts/contracts/interfaces/PythInterface.sol/PythStructs.dbg.json +1 -1
- package/artifacts/contracts/interfaces/PythInterface.sol/PythStructs.json +2 -2
- package/artifacts/contracts/interfaces/SIDRegistryInterface.sol/SIDRegistryInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/VBep20Interface.sol/VBep20Interface.dbg.json +1 -1
- package/artifacts/contracts/libraries/PancakeLibrary.sol/FixedPoint.dbg.json +1 -1
- package/artifacts/contracts/libraries/PancakeLibrary.sol/FixedPoint.json +2 -2
- package/artifacts/contracts/libraries/PancakeLibrary.sol/IPancakePair.dbg.json +1 -1
- package/artifacts/contracts/libraries/PancakeLibrary.sol/PancakeOracleLibrary.dbg.json +1 -1
- package/artifacts/contracts/libraries/PancakeLibrary.sol/PancakeOracleLibrary.json +2 -2
- package/artifacts/contracts/oracles/BinanceOracle.sol/BinanceOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/BinanceOracle.sol/BinanceOracle.json +220 -2
- package/artifacts/contracts/oracles/BoundValidator.sol/BoundValidator.dbg.json +1 -1
- package/artifacts/contracts/oracles/BoundValidator.sol/BoundValidator.json +3 -3
- package/artifacts/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.json +5 -5
- package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.json +3 -3
- package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.json +3 -16
- package/artifacts/contracts/oracles/mocks/MockBinanceFeedRegistry.sol/MockBinanceFeedRegistry.dbg.json +1 -1
- package/artifacts/contracts/oracles/mocks/MockBinanceFeedRegistry.sol/MockBinanceFeedRegistry.json +2 -2
- package/artifacts/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.json +3 -22
- package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.json +2 -2
- package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.json +2 -2
- package/artifacts/contracts/oracles/mocks/MockTwapOracle.sol/MockTwapOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/mocks/MockTwapOracle.sol/MockTwapOracle.json +2 -2
- 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 +1 -1
- package/artifacts/contracts/test/BEP20Harness.sol/BEP20Harness.json +2 -2
- package/artifacts/contracts/test/MockPyth.sol/MockPyth.dbg.json +1 -1
- package/artifacts/contracts/test/MockPyth.sol/MockPyth.json +2 -2
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockBoundValidator.dbg.json +1 -1
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockBoundValidator.json +2 -2
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.dbg.json +1 -1
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.json +2 -2
- package/artifacts/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.dbg.json +1 -1
- package/artifacts/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.json +2 -2
- package/artifacts/contracts/test/PancakePairHarness.sol/Math.dbg.json +1 -1
- package/artifacts/contracts/test/PancakePairHarness.sol/Math.json +2 -2
- package/artifacts/contracts/test/PancakePairHarness.sol/PancakePairHarness.dbg.json +1 -1
- package/artifacts/contracts/test/PancakePairHarness.sol/PancakePairHarness.json +2 -2
- package/artifacts/contracts/test/PancakePairHarness.sol/UQ112x112.dbg.json +1 -1
- package/artifacts/contracts/test/PancakePairHarness.sol/UQ112x112.json +2 -2
- package/artifacts/contracts/test/VBEP20Harness.sol/VBEP20Harness.dbg.json +1 -1
- package/artifacts/contracts/test/VBEP20Harness.sol/VBEP20Harness.json +2 -2
- package/contracts/ResilientOracle.sol +14 -14
- package/contracts/oracles/BinanceOracle.sol +43 -7
- package/contracts/oracles/BoundValidator.sol +14 -14
- package/contracts/oracles/ChainlinkOracle.sol +12 -16
- package/contracts/oracles/PythOracle.sol +12 -16
- package/contracts/oracles/TwapOracle.sol +22 -24
- 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/deploy/1-deploy-oracles.ts +195 -0
- package/deploy/2-configure-feeds.ts +324 -0
- package/deployments/bscmainnet/.chainId +1 -0
- package/deployments/bscmainnet/BinanceOracle.json +329 -0
- package/deployments/bscmainnet/BinanceOracle_Implementation.json +259 -0
- package/deployments/bscmainnet/BinanceOracle_Proxy.json +227 -0
- package/deployments/bscmainnet/BoundValidator.json +621 -0
- package/deployments/bscmainnet/BoundValidator_Implementation.json +714 -0
- package/deployments/bscmainnet/BoundValidator_Proxy.json +251 -0
- package/deployments/bscmainnet/ChainlinkOracle.json +683 -0
- package/deployments/bscmainnet/ChainlinkOracle_Implementation.json +826 -0
- package/deployments/bscmainnet/ChainlinkOracle_Proxy.json +237 -0
- package/deployments/bscmainnet/DefaultProxyAdmin.json +257 -0
- package/deployments/bscmainnet/PythOracle.json +681 -0
- package/deployments/bscmainnet/PythOracle_Implementation.json +798 -0
- package/deployments/bscmainnet/PythOracle_Proxy.json +264 -0
- package/deployments/bscmainnet/ResilientOracle.json +832 -0
- package/deployments/bscmainnet/ResilientOracle_Implementation.json +1047 -0
- package/deployments/bscmainnet/ResilientOracle_Proxy.json +237 -0
- package/deployments/bscmainnet/TwapOracle.json +900 -0
- package/deployments/bscmainnet/TwapOracle_Implementation.json +1124 -0
- package/deployments/bscmainnet/TwapOracle_Proxy.json +251 -0
- package/deployments/bscmainnet/solcInputs/0e89febeebc7444140de8e67c9067d2c.json +78 -0
- package/deployments/bscmainnet/solcInputs/68ea814c0d6925581f2bda5deba8ce4a.json +60 -0
- package/deployments/{bsctestnet/solcInputs/30f2cb3e89e183b8669f05bddf9426d9.json → bscmainnet/solcInputs/8658c669dade0e9ab80874eab3bf3468.json} +6 -72
- package/deployments/bsctestnet/BinanceOracle.json +272 -30
- package/deployments/bsctestnet/BinanceOracle_Implementation.json +397 -27
- package/deployments/bsctestnet/BinanceOracle_Proxy.json +52 -28
- package/deployments/bsctestnet/BoundValidator.json +38 -38
- package/deployments/bsctestnet/BoundValidator_Implementation.json +35 -35
- package/deployments/bsctestnet/BoundValidator_Proxy.json +35 -35
- package/deployments/bsctestnet/ChainlinkOracle.json +55 -41
- package/deployments/bsctestnet/ChainlinkOracle_Implementation.json +34 -34
- package/deployments/bsctestnet/ChainlinkOracle_Proxy.json +50 -36
- package/deployments/bsctestnet/DefaultProxyAdmin.json +18 -18
- package/deployments/bsctestnet/PythOracle.json +42 -42
- package/deployments/bsctestnet/PythOracle_Implementation.json +34 -34
- package/deployments/bsctestnet/PythOracle_Proxy.json +39 -39
- package/deployments/bsctestnet/ResilientOracle.json +51 -37
- package/deployments/bsctestnet/ResilientOracle_Implementation.json +34 -34
- package/deployments/bsctestnet/ResilientOracle_Proxy.json +48 -34
- package/deployments/bsctestnet/TwapOracle.json +49 -62
- package/deployments/bsctestnet/TwapOracle_Implementation.json +47 -60
- package/deployments/bsctestnet/TwapOracle_Proxy.json +46 -46
- package/deployments/bsctestnet/solcInputs/4769dd98af512bf3b6b6504ad0c3bd74.json +78 -0
- package/deployments/bsctestnet/solcInputs/f35da22a430a956ee338e720b5898e3d.json +126 -0
- package/package.json +34 -14
- 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/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/IAccessControlManager.sol/IAccessControlManager.dbg.json +0 -4
- package/artifacts/contracts/PriceOracle.sol/PriceOracle.dbg.json +0 -4
- package/artifacts/contracts/PriceOracle.sol/PriceOracle.json +0 -43
- 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 +0 -144
- 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 +0 -177
- package/deploy/2-configure-feeds.js.map +0 -1
- package/deployments/bsctestnet/AccessControlManager.json +0 -563
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x4aB96DCDE8c617FBBF95A381fDb21Fb49551ec63",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"inputs": [
|
|
@@ -133,60 +133,84 @@
|
|
|
133
133
|
"type": "receive"
|
|
134
134
|
}
|
|
135
135
|
],
|
|
136
|
-
"transactionHash": "
|
|
136
|
+
"transactionHash": "0xddefdc2e7c649b45a0fe07d351b5844f9e79b1bdfc33b70b3d309a5c51b214ad",
|
|
137
137
|
"receipt": {
|
|
138
138
|
"to": null,
|
|
139
139
|
"from": "0x8BDA9f9E1fEF0DFd404Fef338D9fE4c543d172e1",
|
|
140
|
-
"contractAddress": "
|
|
140
|
+
"contractAddress": "0x4aB96DCDE8c617FBBF95A381fDb21Fb49551ec63",
|
|
141
141
|
"transactionIndex": 0,
|
|
142
|
-
"gasUsed": "
|
|
143
|
-
"logsBloom": "
|
|
144
|
-
"blockHash": "
|
|
145
|
-
"transactionHash": "
|
|
142
|
+
"gasUsed": "717995",
|
|
143
|
+
"logsBloom": "0x00000000008000000000000000000000400000000000000000800000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000002000001040008000000200000000000000000000000020000000000400000000800000000800000000000000000000000400000400000000000000000000000000080000000000082000000000000800000000000000000000010000000000400000000000000800000000000000000000000000020000000000000000000040000000000000400000000000000000020000000000000000000000000000000000000000800000000000000000000000000",
|
|
144
|
+
"blockHash": "0xfe8bbf4c1e91680d16b61bf7ebe1990ba9a07d15622a4bdc796838f0b5892742",
|
|
145
|
+
"transactionHash": "0xddefdc2e7c649b45a0fe07d351b5844f9e79b1bdfc33b70b3d309a5c51b214ad",
|
|
146
146
|
"logs": [
|
|
147
147
|
{
|
|
148
148
|
"transactionIndex": 0,
|
|
149
|
-
"blockNumber":
|
|
150
|
-
"transactionHash": "
|
|
151
|
-
"address": "
|
|
149
|
+
"blockNumber": 29020364,
|
|
150
|
+
"transactionHash": "0xddefdc2e7c649b45a0fe07d351b5844f9e79b1bdfc33b70b3d309a5c51b214ad",
|
|
151
|
+
"address": "0x4aB96DCDE8c617FBBF95A381fDb21Fb49551ec63",
|
|
152
152
|
"topics": [
|
|
153
153
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
154
|
-
"
|
|
154
|
+
"0x0000000000000000000000007f2e6932a690f12deebba408abbe7853623fb0c0"
|
|
155
155
|
],
|
|
156
156
|
"data": "0x",
|
|
157
157
|
"logIndex": 0,
|
|
158
|
-
"blockHash": "
|
|
158
|
+
"blockHash": "0xfe8bbf4c1e91680d16b61bf7ebe1990ba9a07d15622a4bdc796838f0b5892742"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
"transactionIndex": 0,
|
|
162
|
-
"blockNumber":
|
|
163
|
-
"transactionHash": "
|
|
164
|
-
"address": "
|
|
162
|
+
"blockNumber": 29020364,
|
|
163
|
+
"transactionHash": "0xddefdc2e7c649b45a0fe07d351b5844f9e79b1bdfc33b70b3d309a5c51b214ad",
|
|
164
|
+
"address": "0x4aB96DCDE8c617FBBF95A381fDb21Fb49551ec63",
|
|
165
|
+
"topics": [
|
|
166
|
+
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
167
|
+
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
168
|
+
"0x0000000000000000000000008bda9f9e1fef0dfd404fef338d9fe4c543d172e1"
|
|
169
|
+
],
|
|
170
|
+
"data": "0x",
|
|
171
|
+
"logIndex": 1,
|
|
172
|
+
"blockHash": "0xfe8bbf4c1e91680d16b61bf7ebe1990ba9a07d15622a4bdc796838f0b5892742"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"transactionIndex": 0,
|
|
176
|
+
"blockNumber": 29020364,
|
|
177
|
+
"transactionHash": "0xddefdc2e7c649b45a0fe07d351b5844f9e79b1bdfc33b70b3d309a5c51b214ad",
|
|
178
|
+
"address": "0x4aB96DCDE8c617FBBF95A381fDb21Fb49551ec63",
|
|
179
|
+
"topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
|
|
180
|
+
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045f8a08f534f34a97187626e05d4b6648eeaa9aa",
|
|
181
|
+
"logIndex": 2,
|
|
182
|
+
"blockHash": "0xfe8bbf4c1e91680d16b61bf7ebe1990ba9a07d15622a4bdc796838f0b5892742"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"transactionIndex": 0,
|
|
186
|
+
"blockNumber": 29020364,
|
|
187
|
+
"transactionHash": "0xddefdc2e7c649b45a0fe07d351b5844f9e79b1bdfc33b70b3d309a5c51b214ad",
|
|
188
|
+
"address": "0x4aB96DCDE8c617FBBF95A381fDb21Fb49551ec63",
|
|
165
189
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
166
190
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
167
|
-
"logIndex":
|
|
168
|
-
"blockHash": "
|
|
191
|
+
"logIndex": 3,
|
|
192
|
+
"blockHash": "0xfe8bbf4c1e91680d16b61bf7ebe1990ba9a07d15622a4bdc796838f0b5892742"
|
|
169
193
|
},
|
|
170
194
|
{
|
|
171
195
|
"transactionIndex": 0,
|
|
172
|
-
"blockNumber":
|
|
173
|
-
"transactionHash": "
|
|
174
|
-
"address": "
|
|
196
|
+
"blockNumber": 29020364,
|
|
197
|
+
"transactionHash": "0xddefdc2e7c649b45a0fe07d351b5844f9e79b1bdfc33b70b3d309a5c51b214ad",
|
|
198
|
+
"address": "0x4aB96DCDE8c617FBBF95A381fDb21Fb49551ec63",
|
|
175
199
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
176
|
-
"data": "
|
|
177
|
-
"logIndex":
|
|
178
|
-
"blockHash": "
|
|
200
|
+
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000038d5b778c9c0309753ffc346f46e10098e4ee4",
|
|
201
|
+
"logIndex": 4,
|
|
202
|
+
"blockHash": "0xfe8bbf4c1e91680d16b61bf7ebe1990ba9a07d15622a4bdc796838f0b5892742"
|
|
179
203
|
}
|
|
180
204
|
],
|
|
181
|
-
"blockNumber":
|
|
182
|
-
"cumulativeGasUsed": "
|
|
205
|
+
"blockNumber": 29020364,
|
|
206
|
+
"cumulativeGasUsed": "717995",
|
|
183
207
|
"status": 1,
|
|
184
208
|
"byzantium": true
|
|
185
209
|
},
|
|
186
210
|
"args": [
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
211
|
+
"0x7f2E6932A690F12DEEbBa408abbE7853623fB0c0",
|
|
212
|
+
"0x0038D5b778c9C0309753ffC346f46E10098e4eE4",
|
|
213
|
+
"0x485cc955000000000000000000000000ffb52185b56603e0fd71de9de4f6f902f05eea2300000000000000000000000045f8a08f534f34a97187626e05d4b6648eeaa9aa"
|
|
190
214
|
],
|
|
191
215
|
"numDeployments": 1,
|
|
192
216
|
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x84e96554776607E5Ba78aeC299a81b70D03a53D6",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"anonymous": false,
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
"name": "accessControlManager",
|
|
253
253
|
"outputs": [
|
|
254
254
|
{
|
|
255
|
-
"internalType": "contract
|
|
255
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
256
256
|
"name": "",
|
|
257
257
|
"type": "address"
|
|
258
258
|
}
|
|
@@ -498,35 +498,35 @@
|
|
|
498
498
|
"type": "constructor"
|
|
499
499
|
}
|
|
500
500
|
],
|
|
501
|
-
"transactionHash": "
|
|
501
|
+
"transactionHash": "0xc04bb853004212cab63ae32caef7ce3479a4b3c207f44b5ee774e7b3ab2987dd",
|
|
502
502
|
"receipt": {
|
|
503
503
|
"to": null,
|
|
504
504
|
"from": "0x8BDA9f9E1fEF0DFd404Fef338D9fE4c543d172e1",
|
|
505
|
-
"contractAddress": "
|
|
505
|
+
"contractAddress": "0x84e96554776607E5Ba78aeC299a81b70D03a53D6",
|
|
506
506
|
"transactionIndex": 0,
|
|
507
|
-
"gasUsed": "
|
|
508
|
-
"logsBloom": "
|
|
509
|
-
"blockHash": "
|
|
510
|
-
"transactionHash": "
|
|
507
|
+
"gasUsed": "696523",
|
|
508
|
+
"logsBloom": "0x00000000000000000000000000000000400000000000000000800000000000000000000000000000000000000000000000000020000000004000000000008000000000000000000000000000000002001001040000000000000000000000000000000000020000000000000000000800000000800000000000000000000000400000000000000000000000000000000080000000000080000000000000800000000000000000000010000000000400020000000002800000000000000000000000000020000000000000000000040000000000000400000000000000000020000000000000000000000000000020000000000800000000000000000000000000",
|
|
509
|
+
"blockHash": "0xcd4e4081007cef8899295848a8afdfbca13869184e2af5c631dff070d5c2574a",
|
|
510
|
+
"transactionHash": "0xc04bb853004212cab63ae32caef7ce3479a4b3c207f44b5ee774e7b3ab2987dd",
|
|
511
511
|
"logs": [
|
|
512
512
|
{
|
|
513
513
|
"transactionIndex": 0,
|
|
514
|
-
"blockNumber":
|
|
515
|
-
"transactionHash": "
|
|
516
|
-
"address": "
|
|
514
|
+
"blockNumber": 29020148,
|
|
515
|
+
"transactionHash": "0xc04bb853004212cab63ae32caef7ce3479a4b3c207f44b5ee774e7b3ab2987dd",
|
|
516
|
+
"address": "0x84e96554776607E5Ba78aeC299a81b70D03a53D6",
|
|
517
517
|
"topics": [
|
|
518
518
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
519
|
-
"
|
|
519
|
+
"0x000000000000000000000000655acdcb39a35049130191c5c1160777f978fb81"
|
|
520
520
|
],
|
|
521
521
|
"data": "0x",
|
|
522
522
|
"logIndex": 0,
|
|
523
|
-
"blockHash": "
|
|
523
|
+
"blockHash": "0xcd4e4081007cef8899295848a8afdfbca13869184e2af5c631dff070d5c2574a"
|
|
524
524
|
},
|
|
525
525
|
{
|
|
526
526
|
"transactionIndex": 0,
|
|
527
|
-
"blockNumber":
|
|
528
|
-
"transactionHash": "
|
|
529
|
-
"address": "
|
|
527
|
+
"blockNumber": 29020148,
|
|
528
|
+
"transactionHash": "0xc04bb853004212cab63ae32caef7ce3479a4b3c207f44b5ee774e7b3ab2987dd",
|
|
529
|
+
"address": "0x84e96554776607E5Ba78aeC299a81b70D03a53D6",
|
|
530
530
|
"topics": [
|
|
531
531
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
532
532
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
@@ -534,48 +534,48 @@
|
|
|
534
534
|
],
|
|
535
535
|
"data": "0x",
|
|
536
536
|
"logIndex": 1,
|
|
537
|
-
"blockHash": "
|
|
537
|
+
"blockHash": "0xcd4e4081007cef8899295848a8afdfbca13869184e2af5c631dff070d5c2574a"
|
|
538
538
|
},
|
|
539
539
|
{
|
|
540
540
|
"transactionIndex": 0,
|
|
541
|
-
"blockNumber":
|
|
542
|
-
"transactionHash": "
|
|
543
|
-
"address": "
|
|
541
|
+
"blockNumber": 29020148,
|
|
542
|
+
"transactionHash": "0xc04bb853004212cab63ae32caef7ce3479a4b3c207f44b5ee774e7b3ab2987dd",
|
|
543
|
+
"address": "0x84e96554776607E5Ba78aeC299a81b70D03a53D6",
|
|
544
544
|
"topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
|
|
545
|
-
"data": "
|
|
545
|
+
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045f8a08f534f34a97187626e05d4b6648eeaa9aa",
|
|
546
546
|
"logIndex": 2,
|
|
547
|
-
"blockHash": "
|
|
547
|
+
"blockHash": "0xcd4e4081007cef8899295848a8afdfbca13869184e2af5c631dff070d5c2574a"
|
|
548
548
|
},
|
|
549
549
|
{
|
|
550
550
|
"transactionIndex": 0,
|
|
551
|
-
"blockNumber":
|
|
552
|
-
"transactionHash": "
|
|
553
|
-
"address": "
|
|
551
|
+
"blockNumber": 29020148,
|
|
552
|
+
"transactionHash": "0xc04bb853004212cab63ae32caef7ce3479a4b3c207f44b5ee774e7b3ab2987dd",
|
|
553
|
+
"address": "0x84e96554776607E5Ba78aeC299a81b70D03a53D6",
|
|
554
554
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
555
555
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
556
556
|
"logIndex": 3,
|
|
557
|
-
"blockHash": "
|
|
557
|
+
"blockHash": "0xcd4e4081007cef8899295848a8afdfbca13869184e2af5c631dff070d5c2574a"
|
|
558
558
|
},
|
|
559
559
|
{
|
|
560
560
|
"transactionIndex": 0,
|
|
561
|
-
"blockNumber":
|
|
562
|
-
"transactionHash": "
|
|
563
|
-
"address": "
|
|
561
|
+
"blockNumber": 29020148,
|
|
562
|
+
"transactionHash": "0xc04bb853004212cab63ae32caef7ce3479a4b3c207f44b5ee774e7b3ab2987dd",
|
|
563
|
+
"address": "0x84e96554776607E5Ba78aeC299a81b70D03a53D6",
|
|
564
564
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
565
|
-
"data": "
|
|
565
|
+
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000038d5b778c9c0309753ffc346f46e10098e4ee4",
|
|
566
566
|
"logIndex": 4,
|
|
567
|
-
"blockHash": "
|
|
567
|
+
"blockHash": "0xcd4e4081007cef8899295848a8afdfbca13869184e2af5c631dff070d5c2574a"
|
|
568
568
|
}
|
|
569
569
|
],
|
|
570
|
-
"blockNumber":
|
|
571
|
-
"cumulativeGasUsed": "
|
|
570
|
+
"blockNumber": 29020148,
|
|
571
|
+
"cumulativeGasUsed": "696523",
|
|
572
572
|
"status": 1,
|
|
573
573
|
"byzantium": true
|
|
574
574
|
},
|
|
575
575
|
"args": [
|
|
576
|
-
"
|
|
577
|
-
"
|
|
578
|
-
"
|
|
576
|
+
"0x655AcdCb39A35049130191c5C1160777F978Fb81",
|
|
577
|
+
"0x0038D5b778c9C0309753ffC346f46E10098e4eE4",
|
|
578
|
+
"0xc4d66de800000000000000000000000045f8a08f534f34a97187626e05d4b6648eeaa9aa"
|
|
579
579
|
],
|
|
580
580
|
"numDeployments": 1,
|
|
581
581
|
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
|
|
@@ -584,9 +584,9 @@
|
|
|
584
584
|
"deployedBytecode": "0x6080604052600436106100435760003560e01c80633659cfe61461005a5780634f1ef2861461007a5780635c60da1b1461008d578063f851a440146100cb57610052565b36610052576100506100e0565b005b6100506100e0565b34801561006657600080fd5b5061005061007536600461076c565b6100fa565b610050610088366004610787565b61015e565b34801561009957600080fd5b506100a26101ec565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d757600080fd5b506100a2610244565b6100e86102f1565b6100f86100f36103e2565b610422565b565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101565761015381604051806020016040528060008152506000610446565b50565b6101536100e0565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101e4576101df8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610446915050565b505050565b6101df6100e0565b60003373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161415610239576102346103e2565b905090565b6102416100e0565b90565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561023957507f000000000000000000000000000000000000000000000000000000000000000090565b60606102ce83836040518060600160405280602781526020016108a460279139610471565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156100f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b60006102347f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b3660008037600080366000845af43d6000803e808015610441573d6000f35b3d6000fd5b61044f83610599565b60008251118061045c5750805b156101df5761046b83836102a9565b50505050565b606073ffffffffffffffffffffffffffffffffffffffff84163b610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016103d9565b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161053f9190610836565b600060405180830381855af49150503d806000811461057a576040519150601f19603f3d011682016040523d82523d6000602084013e61057f565b606091505b509150915061058f8282866105e6565b9695505050505050565b6105a281610639565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606083156105f55750816102ce565b8251156106055782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d99190610852565b73ffffffffffffffffffffffffffffffffffffffff81163b6106dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103d9565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461076757600080fd5b919050565b60006020828403121561077e57600080fd5b6102ce82610743565b60008060006040848603121561079c57600080fd5b6107a584610743565b9250602084013567ffffffffffffffff808211156107c257600080fd5b818601915086601f8301126107d657600080fd5b8135818111156107e557600080fd5b8760208285010111156107f757600080fd5b6020830194508093505050509250925092565b60005b8381101561082557818101518382015260200161080d565b8381111561046b5750506000910152565b6000825161084881846020870161080a565b9190910192915050565b602081526000825180602084015261087181604085016020870161080a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212206f70214c51cdd41c05ba0ffeb72b309ca3c8be178fd6e73c12162330799984f364736f6c634300080a0033",
|
|
585
585
|
"execute": {
|
|
586
586
|
"methodName": "initialize",
|
|
587
|
-
"args": ["
|
|
587
|
+
"args": ["0x45f8a08F534f34A97187626E05d4b6648Eeaa9AA"]
|
|
588
588
|
},
|
|
589
|
-
"implementation": "
|
|
589
|
+
"implementation": "0x655AcdCb39A35049130191c5C1160777F978Fb81",
|
|
590
590
|
"devdoc": {
|
|
591
591
|
"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.",
|
|
592
592
|
"kind": "dev",
|