@venusprotocol/oracle 1.6.11-dev.9 → 1.6.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -10
- package/contracts/ResilientOracle.sol +37 -0
- package/contracts/oracles/BinanceOracle.sol +5 -0
- package/contracts/oracles/BoundValidator.sol +6 -2
- package/contracts/oracles/ChainlinkOracle.sol +5 -0
- package/contracts/oracles/PythOracle.sol +4 -2
- package/contracts/oracles/TwapOracle.sol +6 -1
- package/deployments/bscmainnet/BinanceOracle.json +45 -45
- package/deployments/bscmainnet/BinanceOracle_Implementation.json +34 -34
- package/deployments/bscmainnet/BinanceOracle_Proxy.json +43 -43
- package/deployments/bscmainnet/BoundValidator.json +46 -46
- package/deployments/bscmainnet/BoundValidator_Implementation.json +44 -52
- package/deployments/bscmainnet/BoundValidator_Proxy.json +43 -43
- package/deployments/bscmainnet/ChainlinkOracle.json +46 -52
- package/deployments/bscmainnet/ChainlinkOracle_Implementation.json +45 -51
- package/deployments/bscmainnet/ChainlinkOracle_Proxy.json +43 -43
- package/deployments/bscmainnet/DefaultProxyAdmin.json +15 -15
- package/deployments/bscmainnet/PythOracle.json +61 -54
- package/deployments/bscmainnet/PythOracle_Implementation.json +54 -48
- package/deployments/bscmainnet/PythOracle_Proxy.json +52 -51
- package/deployments/bscmainnet/ResilientOracle.json +47 -52
- package/deployments/bscmainnet/ResilientOracle_Implementation.json +62 -65
- package/deployments/bscmainnet/ResilientOracle_Proxy.json +45 -45
- package/deployments/bscmainnet/TwapOracle.json +67 -67
- package/deployments/bscmainnet/TwapOracle_Implementation.json +83 -83
- package/deployments/bscmainnet/TwapOracle_Proxy.json +44 -44
- package/deployments/bscmainnet/solcInputs/{3c9df0f4b407c3d8079629dd6ddb913e.json → aae9f1601b873a5a4704ede73ede10cb.json} +9 -54
- package/deployments/bsctestnet/BinanceOracle.json +35 -35
- package/deployments/bsctestnet/BinanceOracle_Implementation.json +31 -31
- package/deployments/bsctestnet/BinanceOracle_Proxy.json +33 -33
- package/deployments/bsctestnet/BoundValidator.json +36 -36
- package/deployments/bsctestnet/BoundValidator_Implementation.json +44 -52
- package/deployments/bsctestnet/BoundValidator_Proxy.json +33 -33
- package/deployments/bsctestnet/ChainlinkOracle.json +36 -42
- package/deployments/bsctestnet/ChainlinkOracle_Implementation.json +42 -48
- package/deployments/bsctestnet/ChainlinkOracle_Proxy.json +33 -33
- package/deployments/bsctestnet/DefaultProxyAdmin.json +11 -11
- package/deployments/bsctestnet/PythOracle.json +48 -41
- package/deployments/bsctestnet/PythOracle_Implementation.json +51 -45
- package/deployments/bsctestnet/PythOracle_Proxy.json +39 -38
- package/deployments/bsctestnet/ResilientOracle.json +36 -41
- package/deployments/bsctestnet/ResilientOracle_Implementation.json +63 -66
- package/deployments/bsctestnet/ResilientOracle_Proxy.json +34 -34
- package/deployments/bsctestnet/TwapOracle.json +56 -56
- package/deployments/bsctestnet/TwapOracle_Implementation.json +81 -81
- package/deployments/bsctestnet/TwapOracle_Proxy.json +33 -33
- package/deployments/bsctestnet/solcInputs/{f35da22a430a956ee338e720b5898e3d.json → 131f58942628e21632de19506977a910.json} +7 -13
- package/deployments/bsctestnet/solcInputs/{4769dd98af512bf3b6b6504ad0c3bd74.json → 144b49e8aec3add79553ba273ea32d00.json} +4 -10
- package/deployments/bsctestnet/solcInputs/503f2e4e766f3be923fadf8030a5470f.json +78 -0
- package/deployments/bsctestnet/solcInputs/b39d33092f7dd383ae3a042566194132.json +75 -0
- package/package.json +1 -1
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.sol/AggregatorInterface.dbg.json +0 -4
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.sol/AggregatorInterface.json +0 -138
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.sol/AggregatorV2V3Interface.dbg.json +0 -4
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.sol/AggregatorV2V3Interface.json +0 -249
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.dbg.json +0 -4
- package/artifacts/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.json +0 -122
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.json +0 -215
- package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.json +0 -183
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +0 -297
- package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.json +0 -194
- package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.json +0 -233
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +0 -10
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +0 -10
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +0 -30
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +0 -30
- package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +0 -10
- package/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.json +0 -10
- package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.json +0 -10
- package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.json +0 -115
- package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.json +0 -76
- package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.json +0 -24
- package/artifacts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.json +0 -63
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +0 -10
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +0 -4
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.json +0 -24
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlManager.sol/AccessControlManager.dbg.json +0 -4
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlManager.sol/AccessControlManager.json +0 -369
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +0 -4
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.json +0 -181
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +0 -4
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.json +0 -282
- package/artifacts/build-info/0137d0ff3ae413641739f9f6322cc2b3.json +0 -1
- package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.dbg.json +0 -4
- package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.json +0 -617
- package/artifacts/contracts/interfaces/FeedRegistryInterface.sol/FeedRegistryInterface.dbg.json +0 -4
- package/artifacts/contracts/interfaces/FeedRegistryInterface.sol/FeedRegistryInterface.json +0 -79
- package/artifacts/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.dbg.json +0 -4
- package/artifacts/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.json +0 -40
- package/artifacts/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +0 -4
- package/artifacts/contracts/interfaces/OracleInterface.sol/OracleInterface.json +0 -30
- package/artifacts/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.dbg.json +0 -4
- package/artifacts/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.json +0 -43
- package/artifacts/contracts/interfaces/OracleInterface.sol/TwapInterface.dbg.json +0 -4
- package/artifacts/contracts/interfaces/OracleInterface.sol/TwapInterface.json +0 -49
- package/artifacts/contracts/interfaces/PublicResolverInterface.sol/PublicResolverInterface.dbg.json +0 -4
- package/artifacts/contracts/interfaces/PublicResolverInterface.sol/PublicResolverInterface.json +0 -30
- package/artifacts/contracts/interfaces/PythInterface.sol/AbstractPyth.dbg.json +0 -4
- package/artifacts/contracts/interfaces/PythInterface.sol/AbstractPyth.json +0 -545
- package/artifacts/contracts/interfaces/PythInterface.sol/IPyth.dbg.json +0 -4
- package/artifacts/contracts/interfaces/PythInterface.sol/IPyth.json +0 -446
- package/artifacts/contracts/interfaces/PythInterface.sol/PythStructs.dbg.json +0 -4
- package/artifacts/contracts/interfaces/PythInterface.sol/PythStructs.json +0 -10
- package/artifacts/contracts/interfaces/SIDRegistryInterface.sol/SIDRegistryInterface.dbg.json +0 -4
- package/artifacts/contracts/interfaces/SIDRegistryInterface.sol/SIDRegistryInterface.json +0 -30
- package/artifacts/contracts/interfaces/VBep20Interface.sol/VBep20Interface.dbg.json +0 -4
- package/artifacts/contracts/interfaces/VBep20Interface.sol/VBep20Interface.json +0 -246
- package/artifacts/contracts/libraries/PancakeLibrary.sol/FixedPoint.dbg.json +0 -4
- package/artifacts/contracts/libraries/PancakeLibrary.sol/FixedPoint.json +0 -10
- package/artifacts/contracts/libraries/PancakeLibrary.sol/IPancakePair.dbg.json +0 -4
- package/artifacts/contracts/libraries/PancakeLibrary.sol/IPancakePair.json +0 -60
- package/artifacts/contracts/libraries/PancakeLibrary.sol/PancakeOracleLibrary.dbg.json +0 -4
- package/artifacts/contracts/libraries/PancakeLibrary.sol/PancakeOracleLibrary.json +0 -10
- package/artifacts/contracts/oracles/BinanceOracle.sol/BinanceOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/BinanceOracle.sol/BinanceOracle.json +0 -342
- package/artifacts/contracts/oracles/BoundValidator.sol/BoundValidator.dbg.json +0 -4
- package/artifacts/contracts/oracles/BoundValidator.sol/BoundValidator.json +0 -392
- package/artifacts/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.json +0 -462
- package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.json +0 -445
- package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.json +0 -663
- package/artifacts/contracts/oracles/mocks/MockBinanceFeedRegistry.sol/MockBinanceFeedRegistry.dbg.json +0 -4
- package/artifacts/contracts/oracles/mocks/MockBinanceFeedRegistry.sol/MockBinanceFeedRegistry.json +0 -116
- package/artifacts/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.json +0 -144
- package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.json +0 -144
- package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.json +0 -163
- package/artifacts/contracts/oracles/mocks/MockTwapOracle.sol/MockTwapOracle.dbg.json +0 -4
- package/artifacts/contracts/oracles/mocks/MockTwapOracle.sol/MockTwapOracle.json +0 -163
- package/artifacts/contracts/test/AccessControlManager.sol/AccessControlManagerScenario.dbg.json +0 -4
- package/artifacts/contracts/test/AccessControlManager.sol/AccessControlManagerScenario.json +0 -364
- package/artifacts/contracts/test/BEP20Harness.sol/BEP20Harness.dbg.json +0 -4
- package/artifacts/contracts/test/BEP20Harness.sol/BEP20Harness.json +0 -328
- package/artifacts/contracts/test/MockPyth.sol/MockPyth.dbg.json +0 -4
- package/artifacts/contracts/test/MockPyth.sol/MockPyth.json +0 -684
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockBoundValidator.dbg.json +0 -4
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockBoundValidator.json +0 -95
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.dbg.json +0 -4
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.json +0 -72
- package/artifacts/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.dbg.json +0 -4
- package/artifacts/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.json +0 -306
- package/artifacts/contracts/test/PancakePairHarness.sol/Math.dbg.json +0 -4
- package/artifacts/contracts/test/PancakePairHarness.sol/Math.json +0 -10
- package/artifacts/contracts/test/PancakePairHarness.sol/PancakePairHarness.dbg.json +0 -4
- package/artifacts/contracts/test/PancakePairHarness.sol/PancakePairHarness.json +0 -158
- package/artifacts/contracts/test/PancakePairHarness.sol/UQ112x112.dbg.json +0 -4
- package/artifacts/contracts/test/PancakePairHarness.sol/UQ112x112.json +0 -10
- package/artifacts/contracts/test/VBEP20Harness.sol/VBEP20Harness.dbg.json +0 -4
- package/artifacts/contracts/test/VBEP20Harness.sol/VBEP20Harness.json +0 -346
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xB58BFDCE610042311Dc0e034a80Cc7776c1D68f5",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"anonymous": false,
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
{
|
|
258
258
|
"inputs": [
|
|
259
259
|
{
|
|
260
|
-
"internalType": "
|
|
260
|
+
"internalType": "address",
|
|
261
261
|
"name": "vToken",
|
|
262
262
|
"type": "address"
|
|
263
263
|
}
|
|
@@ -448,35 +448,35 @@
|
|
|
448
448
|
"type": "constructor"
|
|
449
449
|
}
|
|
450
450
|
],
|
|
451
|
-
"transactionHash": "
|
|
451
|
+
"transactionHash": "0x75d3baa9d98e4c4acab31a0ebf2c3a4e193e4e0122436ece51c085c6b9d5ef64",
|
|
452
452
|
"receipt": {
|
|
453
453
|
"to": null,
|
|
454
454
|
"from": "0x8BDA9f9E1fEF0DFd404Fef338D9fE4c543d172e1",
|
|
455
|
-
"contractAddress": "
|
|
455
|
+
"contractAddress": "0xB58BFDCE610042311Dc0e034a80Cc7776c1D68f5",
|
|
456
456
|
"transactionIndex": 0,
|
|
457
|
-
"gasUsed": "
|
|
458
|
-
"logsBloom": "
|
|
459
|
-
"blockHash": "
|
|
460
|
-
"transactionHash": "
|
|
457
|
+
"gasUsed": "718007",
|
|
458
|
+
"logsBloom": "0x00000000000000040000000000000000400000000000000000800000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000004000000000002000001040000000000000000000000000000000000020000000000000000000800000000800000000000000000000000400000000000000000000000000000000080080000000080100000000000800000000000000000000010000000000400000000000000800000000000000000000000000020000000000000000000040000000000000400008000000000000020000000000000000000000000000000001000000800000000000000000000000000",
|
|
459
|
+
"blockHash": "0x98d2af5fde787369f7e7db729d7abda659639534cca70660124edac7618a7706",
|
|
460
|
+
"transactionHash": "0x75d3baa9d98e4c4acab31a0ebf2c3a4e193e4e0122436ece51c085c6b9d5ef64",
|
|
461
461
|
"logs": [
|
|
462
462
|
{
|
|
463
463
|
"transactionIndex": 0,
|
|
464
|
-
"blockNumber":
|
|
465
|
-
"transactionHash": "
|
|
466
|
-
"address": "
|
|
464
|
+
"blockNumber": 30137629,
|
|
465
|
+
"transactionHash": "0x75d3baa9d98e4c4acab31a0ebf2c3a4e193e4e0122436ece51c085c6b9d5ef64",
|
|
466
|
+
"address": "0xB58BFDCE610042311Dc0e034a80Cc7776c1D68f5",
|
|
467
467
|
"topics": [
|
|
468
468
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
469
|
-
"
|
|
469
|
+
"0x0000000000000000000000001a915bedbf760e0951ff8c3da9679073faaa5a27"
|
|
470
470
|
],
|
|
471
471
|
"data": "0x",
|
|
472
472
|
"logIndex": 0,
|
|
473
|
-
"blockHash": "
|
|
473
|
+
"blockHash": "0x98d2af5fde787369f7e7db729d7abda659639534cca70660124edac7618a7706"
|
|
474
474
|
},
|
|
475
475
|
{
|
|
476
476
|
"transactionIndex": 0,
|
|
477
|
-
"blockNumber":
|
|
478
|
-
"transactionHash": "
|
|
479
|
-
"address": "
|
|
477
|
+
"blockNumber": 30137629,
|
|
478
|
+
"transactionHash": "0x75d3baa9d98e4c4acab31a0ebf2c3a4e193e4e0122436ece51c085c6b9d5ef64",
|
|
479
|
+
"address": "0xB58BFDCE610042311Dc0e034a80Cc7776c1D68f5",
|
|
480
480
|
"topics": [
|
|
481
481
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
482
482
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
@@ -484,47 +484,47 @@
|
|
|
484
484
|
],
|
|
485
485
|
"data": "0x",
|
|
486
486
|
"logIndex": 1,
|
|
487
|
-
"blockHash": "
|
|
487
|
+
"blockHash": "0x98d2af5fde787369f7e7db729d7abda659639534cca70660124edac7618a7706"
|
|
488
488
|
},
|
|
489
489
|
{
|
|
490
490
|
"transactionIndex": 0,
|
|
491
|
-
"blockNumber":
|
|
492
|
-
"transactionHash": "
|
|
493
|
-
"address": "
|
|
491
|
+
"blockNumber": 30137629,
|
|
492
|
+
"transactionHash": "0x75d3baa9d98e4c4acab31a0ebf2c3a4e193e4e0122436ece51c085c6b9d5ef64",
|
|
493
|
+
"address": "0xB58BFDCE610042311Dc0e034a80Cc7776c1D68f5",
|
|
494
494
|
"topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"],
|
|
495
495
|
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045f8a08f534f34a97187626e05d4b6648eeaa9aa",
|
|
496
496
|
"logIndex": 2,
|
|
497
|
-
"blockHash": "
|
|
497
|
+
"blockHash": "0x98d2af5fde787369f7e7db729d7abda659639534cca70660124edac7618a7706"
|
|
498
498
|
},
|
|
499
499
|
{
|
|
500
500
|
"transactionIndex": 0,
|
|
501
|
-
"blockNumber":
|
|
502
|
-
"transactionHash": "
|
|
503
|
-
"address": "
|
|
501
|
+
"blockNumber": 30137629,
|
|
502
|
+
"transactionHash": "0x75d3baa9d98e4c4acab31a0ebf2c3a4e193e4e0122436ece51c085c6b9d5ef64",
|
|
503
|
+
"address": "0xB58BFDCE610042311Dc0e034a80Cc7776c1D68f5",
|
|
504
504
|
"topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"],
|
|
505
505
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
506
506
|
"logIndex": 3,
|
|
507
|
-
"blockHash": "
|
|
507
|
+
"blockHash": "0x98d2af5fde787369f7e7db729d7abda659639534cca70660124edac7618a7706"
|
|
508
508
|
},
|
|
509
509
|
{
|
|
510
510
|
"transactionIndex": 0,
|
|
511
|
-
"blockNumber":
|
|
512
|
-
"transactionHash": "
|
|
513
|
-
"address": "
|
|
511
|
+
"blockNumber": 30137629,
|
|
512
|
+
"transactionHash": "0x75d3baa9d98e4c4acab31a0ebf2c3a4e193e4e0122436ece51c085c6b9d5ef64",
|
|
513
|
+
"address": "0xB58BFDCE610042311Dc0e034a80Cc7776c1D68f5",
|
|
514
514
|
"topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"],
|
|
515
|
-
"data": "
|
|
515
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ef480a5654b231ff7d80a0681f938f3db71a6ca6",
|
|
516
516
|
"logIndex": 4,
|
|
517
|
-
"blockHash": "
|
|
517
|
+
"blockHash": "0x98d2af5fde787369f7e7db729d7abda659639534cca70660124edac7618a7706"
|
|
518
518
|
}
|
|
519
519
|
],
|
|
520
|
-
"blockNumber":
|
|
521
|
-
"cumulativeGasUsed": "
|
|
520
|
+
"blockNumber": 30137629,
|
|
521
|
+
"cumulativeGasUsed": "718007",
|
|
522
522
|
"status": 1,
|
|
523
523
|
"byzantium": true
|
|
524
524
|
},
|
|
525
525
|
"args": [
|
|
526
|
-
"
|
|
527
|
-
"
|
|
526
|
+
"0x1A915beDbf760e0951Ff8c3da9679073FaaA5a27",
|
|
527
|
+
"0xef480a5654b231ff7d80A0681F938f3Db71a6Ca6",
|
|
528
528
|
"0x485cc955000000000000000000000000ffb52185b56603e0fd71de9de4f6f902f05eea2300000000000000000000000045f8a08f534f34a97187626e05d4b6648eeaa9aa"
|
|
529
529
|
],
|
|
530
530
|
"numDeployments": 1,
|
|
@@ -536,7 +536,7 @@
|
|
|
536
536
|
"methodName": "initialize",
|
|
537
537
|
"args": ["0xfFB52185b56603e0fd71De9de4F6f902f05EEA23", "0x45f8a08F534f34A97187626E05d4b6648Eeaa9AA"]
|
|
538
538
|
},
|
|
539
|
-
"implementation": "
|
|
539
|
+
"implementation": "0x1A915beDbf760e0951Ff8c3da9679073FaaA5a27",
|
|
540
540
|
"devdoc": {
|
|
541
541
|
"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.",
|
|
542
542
|
"kind": "dev",
|