More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,392 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 21700667 | 24 hrs ago | IN | 0.01938669 ETH | 0.00011189 | ||||
Transfer | 21699576 | 28 hrs ago | IN | 0.01872842 ETH | 0.00009424 | ||||
Transfer | 21698321 | 32 hrs ago | IN | 0.10699587 ETH | 0.00010763 | ||||
Transfer | 21694959 | 43 hrs ago | IN | 0.03100372 ETH | 0.00034644 | ||||
Transfer | 21693348 | 2 days ago | IN | 0.06184301 ETH | 0.00010994 | ||||
Transfer | 21690631 | 2 days ago | IN | 0.02414355 ETH | 0.00011227 | ||||
Transfer | 21689745 | 2 days ago | IN | 0.0523298 ETH | 0.00066703 | ||||
Transfer | 21687849 | 2 days ago | IN | 0.15088698 ETH | 0.00065167 | ||||
Transfer | 21679886 | 3 days ago | IN | 0.05736717 ETH | 0.00019582 | ||||
Transfer | 21677964 | 4 days ago | IN | 0.01781191 ETH | 0.00015134 | ||||
Transfer | 21664399 | 6 days ago | IN | 0.07188214 ETH | 0.00070472 | ||||
Transfer | 21663216 | 6 days ago | IN | 0.06421384 ETH | 0.00039432 | ||||
Transfer | 21661080 | 6 days ago | IN | 0.11919115 ETH | 0.00093051 | ||||
Transfer | 21659505 | 6 days ago | IN | 0.08040013 ETH | 0.00110388 | ||||
Transfer | 21658707 | 6 days ago | IN | 0.05918655 ETH | 0.00074201 | ||||
Transfer | 21655559 | 7 days ago | IN | 0.03102019 ETH | 0.00022917 | ||||
Transfer | 21655529 | 7 days ago | IN | 0.1273408 ETH | 0.00015653 | ||||
Transfer | 21654773 | 7 days ago | IN | 0.06350899 ETH | 0.0007716 | ||||
Transfer | 21652685 | 7 days ago | IN | 0.35946699 ETH | 0.00063428 | ||||
Transfer | 21652288 | 7 days ago | IN | 0.02006547 ETH | 0.00052554 | ||||
Transfer | 21651700 | 7 days ago | IN | 0.05034448 ETH | 0.00021543 | ||||
Transfer | 21649857 | 8 days ago | IN | 0.03094311 ETH | 0.00020625 | ||||
Transfer | 21649012 | 8 days ago | IN | 0.04741576 ETH | 0.00028123 | ||||
Transfer | 21644239 | 8 days ago | IN | 0.01858924 ETH | 0.00014915 | ||||
Transfer | 21644054 | 8 days ago | IN | 0.0289725 ETH | 0.00011925 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
21698767 | 30 hrs ago | 0.12804542 ETH | ||||
21698767 | 30 hrs ago | 0.09594074 ETH | ||||
21690549 | 2 days ago | 0.14896716 ETH | ||||
21690549 | 2 days ago | 0.11161679 ETH | ||||
21678579 | 4 days ago | 1.55441262 ETH | ||||
21678579 | 4 days ago | 1.16467651 ETH | ||||
21555185 | 21 days ago | 7.47381618 ETH | ||||
21555185 | 21 days ago | 5.59991475 ETH | ||||
21105385 | 84 days ago | 7.98027964 ETH | ||||
21105385 | 84 days ago | 5.9793932 ETH | ||||
20613111 | 152 days ago | 0.02991931 ETH | ||||
20613111 | 152 days ago | 0.02250939 ETH | ||||
20608912 | 153 days ago | 31.10797026 ETH | ||||
20608912 | 153 days ago | 42.08725388 ETH | ||||
20216534 | 208 days ago | 0.0009405 ETH | ||||
20216534 | 208 days ago | 0.00044133 ETH | ||||
19728122 | 276 days ago | 0.05161501 ETH | ||||
19471110 | 312 days ago | 0.000576 ETH | ||||
19341094 | 330 days ago | 0.01 ETH | ||||
19330850 | 332 days ago | 0.00051245 ETH | ||||
19316112 | 334 days ago | 0.0023432 ETH | ||||
19316112 | 334 days ago | 0.00429205 ETH | ||||
19164382 | 355 days ago | 0.00082094 ETH | ||||
19164382 | 355 days ago | 0.00138819 ETH | ||||
19102206 | 364 days ago | 0.01268197 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x8bA5e3eB...b6C0996d9 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
RocketNodeDistributor
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity Standard Json-Input format)
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM 2.0 | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind ETH2 Proof of Stake protocol, designed to be community owned, * decentralised, trustless and compatible with staking in Ethereum 2.0. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authors: David Rugendyke, Jake Pospischil, Kane Wallmann, Darren Langley, Joe Clapis, Nick Doherty * */ pragma solidity 0.7.6; // SPDX-License-Identifier: GPL-3.0-only import "../RocketBase.sol"; import "./RocketNodeDistributorStorageLayout.sol"; contract RocketNodeDistributor is RocketNodeDistributorStorageLayout { bytes32 immutable distributorStorageKey; constructor(address _nodeAddress, address _rocketStorage) { rocketStorage = RocketStorageInterface(_rocketStorage); nodeAddress = _nodeAddress; // Precompute storage key for rocketNodeDistributorDelegate distributorStorageKey = keccak256(abi.encodePacked("contract.address", "rocketNodeDistributorDelegate")); } // Allow contract to receive ETH without making a delegated call receive() external payable {} // Delegates all transactions to the target supplied during creation fallback() external payable { address _target = rocketStorage.getAddress(distributorStorageKey); assembly { calldatacopy(0x0, 0x0, calldatasize()) let result := delegatecall(gas(), _target, 0x0, calldatasize(), 0x0, 0) returndatacopy(0x0, 0x0, returndatasize()) switch result case 0 {revert(0, returndatasize())} default {return (0, returndatasize())} } } }
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM 2.0 | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind ETH2 Proof of Stake protocol, designed to be community owned, * decentralised, trustless and compatible with staking in Ethereum 2.0. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authors: David Rugendyke, Jake Pospischil, Kane Wallmann, Darren Langley, Joe Clapis, Nick Doherty * */ pragma solidity 0.7.6; // SPDX-License-Identifier: GPL-3.0-only import "../interface/RocketStorageInterface.sol"; /// @title Base settings / modifiers for each contract in Rocket Pool /// @author David Rugendyke abstract contract RocketBase { // Calculate using this as the base uint256 constant calcBase = 1 ether; // Version of the contract uint8 public version; // The main storage contract where primary persistant storage is maintained RocketStorageInterface rocketStorage = RocketStorageInterface(0); /*** Modifiers **********************************************************/ /** * @dev Throws if called by any sender that doesn't match a Rocket Pool network contract */ modifier onlyLatestNetworkContract() { require(getBool(keccak256(abi.encodePacked("contract.exists", msg.sender))), "Invalid or outdated network contract"); _; } /** * @dev Throws if called by any sender that doesn't match one of the supplied contract or is the latest version of that contract */ modifier onlyLatestContract(string memory _contractName, address _contractAddress) { require(_contractAddress == getAddress(keccak256(abi.encodePacked("contract.address", _contractName))), "Invalid or outdated contract"); _; } /** * @dev Throws if called by any sender that isn't a registered node */ modifier onlyRegisteredNode(address _nodeAddress) { require(getBool(keccak256(abi.encodePacked("node.exists", _nodeAddress))), "Invalid node"); _; } /** * @dev Throws if called by any sender that isn't a trusted node DAO member */ modifier onlyTrustedNode(address _nodeAddress) { require(getBool(keccak256(abi.encodePacked("dao.trustednodes.", "member", _nodeAddress))), "Invalid trusted node"); _; } /** * @dev Throws if called by any sender that isn't a registered minipool */ modifier onlyRegisteredMinipool(address _minipoolAddress) { require(getBool(keccak256(abi.encodePacked("minipool.exists", _minipoolAddress))), "Invalid minipool"); _; } /** * @dev Throws if called by any account other than a guardian account (temporary account allowed access to settings before DAO is fully enabled) */ modifier onlyGuardian() { require(msg.sender == rocketStorage.getGuardian(), "Account is not a temporary guardian"); _; } /*** Methods **********************************************************/ /// @dev Set the main Rocket Storage address constructor(RocketStorageInterface _rocketStorageAddress) { // Update the contract address rocketStorage = RocketStorageInterface(_rocketStorageAddress); } /// @dev Get the address of a network contract by name function getContractAddress(string memory _contractName) internal view returns (address) { // Get the current contract address address contractAddress = getAddress(keccak256(abi.encodePacked("contract.address", _contractName))); // Check it require(contractAddress != address(0x0), "Contract not found"); // Return return contractAddress; } /// @dev Get the address of a network contract by name (returns address(0x0) instead of reverting if contract does not exist) function getContractAddressUnsafe(string memory _contractName) internal view returns (address) { // Get the current contract address address contractAddress = getAddress(keccak256(abi.encodePacked("contract.address", _contractName))); // Return return contractAddress; } /// @dev Get the name of a network contract by address function getContractName(address _contractAddress) internal view returns (string memory) { // Get the contract name string memory contractName = getString(keccak256(abi.encodePacked("contract.name", _contractAddress))); // Check it require(bytes(contractName).length > 0, "Contract not found"); // Return return contractName; } /// @dev Get revert error message from a .call method function getRevertMsg(bytes memory _returnData) internal pure returns (string memory) { // If the _res length is less than 68, then the transaction failed silently (without a revert message) if (_returnData.length < 68) return "Transaction reverted silently"; assembly { // Slice the sighash. _returnData := add(_returnData, 0x04) } return abi.decode(_returnData, (string)); // All that remains is the revert string } /*** Rocket Storage Methods ****************************************/ // Note: Unused helpers have been removed to keep contract sizes down /// @dev Storage get methods function getAddress(bytes32 _key) internal view returns (address) { return rocketStorage.getAddress(_key); } function getUint(bytes32 _key) internal view returns (uint) { return rocketStorage.getUint(_key); } function getString(bytes32 _key) internal view returns (string memory) { return rocketStorage.getString(_key); } function getBytes(bytes32 _key) internal view returns (bytes memory) { return rocketStorage.getBytes(_key); } function getBool(bytes32 _key) internal view returns (bool) { return rocketStorage.getBool(_key); } function getInt(bytes32 _key) internal view returns (int) { return rocketStorage.getInt(_key); } function getBytes32(bytes32 _key) internal view returns (bytes32) { return rocketStorage.getBytes32(_key); } /// @dev Storage set methods function setAddress(bytes32 _key, address _value) internal { rocketStorage.setAddress(_key, _value); } function setUint(bytes32 _key, uint _value) internal { rocketStorage.setUint(_key, _value); } function setString(bytes32 _key, string memory _value) internal { rocketStorage.setString(_key, _value); } function setBytes(bytes32 _key, bytes memory _value) internal { rocketStorage.setBytes(_key, _value); } function setBool(bytes32 _key, bool _value) internal { rocketStorage.setBool(_key, _value); } function setInt(bytes32 _key, int _value) internal { rocketStorage.setInt(_key, _value); } function setBytes32(bytes32 _key, bytes32 _value) internal { rocketStorage.setBytes32(_key, _value); } /// @dev Storage delete methods function deleteAddress(bytes32 _key) internal { rocketStorage.deleteAddress(_key); } function deleteUint(bytes32 _key) internal { rocketStorage.deleteUint(_key); } function deleteString(bytes32 _key) internal { rocketStorage.deleteString(_key); } function deleteBytes(bytes32 _key) internal { rocketStorage.deleteBytes(_key); } function deleteBool(bytes32 _key) internal { rocketStorage.deleteBool(_key); } function deleteInt(bytes32 _key) internal { rocketStorage.deleteInt(_key); } function deleteBytes32(bytes32 _key) internal { rocketStorage.deleteBytes32(_key); } /// @dev Storage arithmetic methods function addUint(bytes32 _key, uint256 _amount) internal { rocketStorage.addUint(_key, _amount); } function subUint(bytes32 _key, uint256 _amount) internal { rocketStorage.subUint(_key, _amount); } }
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM 2.0 | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind ETH2 Proof of Stake protocol, designed to be community owned, * decentralised, trustless and compatible with staking in Ethereum 2.0. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authors: David Rugendyke, Jake Pospischil, Kane Wallmann, Darren Langley, Joe Clapis, Nick Doherty * */ pragma solidity 0.7.6; import "../../interface/RocketStorageInterface.sol"; // SPDX-License-Identifier: GPL-3.0-only abstract contract RocketNodeDistributorStorageLayout { RocketStorageInterface rocketStorage; address nodeAddress; }
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM 2.0 | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind ETH2 Proof of Stake protocol, designed to be community owned, * decentralised, trustless and compatible with staking in Ethereum 2.0. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authors: David Rugendyke, Jake Pospischil, Kane Wallmann, Darren Langley, Joe Clapis, Nick Doherty * */ pragma solidity >0.5.0 <0.9.0; // SPDX-License-Identifier: GPL-3.0-only interface RocketStorageInterface { // Deploy status function getDeployedStatus() external view returns (bool); // Guardian function getGuardian() external view returns(address); function setGuardian(address _newAddress) external; function confirmGuardian() external; // Getters function getAddress(bytes32 _key) external view returns (address); function getUint(bytes32 _key) external view returns (uint); function getString(bytes32 _key) external view returns (string memory); function getBytes(bytes32 _key) external view returns (bytes memory); function getBool(bytes32 _key) external view returns (bool); function getInt(bytes32 _key) external view returns (int); function getBytes32(bytes32 _key) external view returns (bytes32); // Setters function setAddress(bytes32 _key, address _value) external; function setUint(bytes32 _key, uint _value) external; function setString(bytes32 _key, string calldata _value) external; function setBytes(bytes32 _key, bytes calldata _value) external; function setBool(bytes32 _key, bool _value) external; function setInt(bytes32 _key, int _value) external; function setBytes32(bytes32 _key, bytes32 _value) external; // Deleters function deleteAddress(bytes32 _key) external; function deleteUint(bytes32 _key) external; function deleteString(bytes32 _key) external; function deleteBytes(bytes32 _key) external; function deleteBool(bytes32 _key) external; function deleteInt(bytes32 _key) external; function deleteBytes32(bytes32 _key) external; // Arithmetic function addUint(bytes32 _key, uint256 _amount) external; function subUint(bytes32 _key, uint256 _amount) external; // Protected storage function getNodeWithdrawalAddress(address _nodeAddress) external view returns (address); function getNodePendingWithdrawalAddress(address _nodeAddress) external view returns (address); function setWithdrawalAddress(address _nodeAddress, address _newWithdrawalAddress, bool _confirm) external; function confirmWithdrawalAddress(address _nodeAddress) external; }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 15000 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_nodeAddress","type":"address"},{"internalType":"address","name":"_rocketStorage","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x608060405236600a57005b60008054604080517f21f8a7210000000000000000000000000000000000000000000000000000000081527ffb3483c04a4c870b23f9315ce407aceff6ee8dd58eb34aa5becfb781351d3fb86004820152905173ffffffffffffffffffffffffffffffffffffffff909216916321f8a72191602480820192602092909190829003018186803b158015609b57600080fd5b505afa15801560ae573d6000803e3d6000fd5b505050506040513d602081101560c357600080fd5b505190503660008037600080366000845af43d6000803e80801560e5573d6000f35b3d6000fdfea2646970667358221220eff696097e25305c6d6b19a8a6eebb3c8b47de4d235eade3a84bd4f50c48119664736f6c63430007060033
Deployed Bytecode Sourcemap
1161:1109:1:-:0;;;;;;;;1867:15;1885:13;;:47;;;;;;1910:21;1885:47;;;;;;:13;;;;;:24;;:47;;;;;;;;;;;;;;;:13;:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1885:47:1;;-1:-1:-1;1990:14:1;1985:3;;1967:38;2088:1;2083:3;2067:14;2062:3;2053:7;2046:5;2033:57;2129:16;2124:3;2119;2104:42;2167:6;2174:36;;;;2231:16;2228:1;2220:28;2174:36;2192:16;2189:1;2182:27
Swarm Source
ipfs://eff696097e25305c6d6b19a8a6eebb3c8b47de4d235eade3a84bd4f50c481196
Latest 25 blocks (From a total of 284 blocks with 16.68 Ether produced)
Block | Transaction | Difficulty | Gas Used | Reward | |
---|---|---|---|---|---|
20919284 | 110 days ago | 76 | 0.00 TH | 6,281,523 (20.94%) | 0.011942311493034989 ETH |
20216534 | 208 days ago | 112 | 0.00 TH | 10,076,367 (33.59%) | 0.034320480313896043 ETH |
19728122 | 276 days ago | 167 | 0.00 TH | 14,118,554 (47.06%) | 0.017419469427528893 ETH |
19604349 | 293 days ago | 175 | 0.00 TH | 15,075,705 (50.25%) | 0.094996553375436828 ETH |
19471110 | 312 days ago | 244 | 0.00 TH | 20,386,953 (67.96%) | 0.045109550472402513 ETH |
19456646 | 314 days ago | 203 | 0.00 TH | 14,886,334 (49.62%) | 0.022252749444812585 ETH |
19360798 | 328 days ago | 329 | 0.00 TH | 25,361,759 (84.54%) | 0.039523984310964337 ETH |
19341094 | 330 days ago | 232 | 0.00 TH | 19,449,312 (64.83%) | 0.046617259768667498 ETH |
19334394 | 331 days ago | 131 | 0.00 TH | 15,259,006 (50.86%) | 0.082137395428690868 ETH |
19330850 | 332 days ago | 132 | 0.00 TH | 12,409,435 (41.36%) | 0.05599824525584058 ETH |
19316112 | 334 days ago | 209 | 0.00 TH | 16,171,745 (53.91%) | 0.088073034548854002 ETH |
19164382 | 355 days ago | 277 | 0.00 TH | 22,211,270 (74.04%) | 0.02162527734669507 ETH |
18964364 | 383 days ago | 196 | 0.00 TH | 15,728,819 (52.43%) | 0.034259859965218945 ETH |
18956996 | 384 days ago | 212 | 0.00 TH | 20,991,828 (69.97%) | 0.063755635994925741 ETH |
18882288 | 395 days ago | 168 | 0.00 TH | 17,073,490 (56.91%) | 0.026148820687102679 ETH |
18875531 | 396 days ago | 137 | 0.00 TH | 21,328,064 (71.09%) | 0.016253003822166394 ETH |
18843611 | 400 days ago | 132 | 0.00 TH | 11,603,135 (38.68%) | 0.06659822190296469 ETH |
18829503 | 402 days ago | 156 | 0.00 TH | 15,797,946 (52.66%) | 0.024873094112213181 ETH |
18783751 | 408 days ago | 166 | 0.00 TH | 13,716,373 (45.72%) | 0.039835547390060878 ETH |
18777508 | 409 days ago | 144 | 0.00 TH | 22,160,705 (73.87%) | 0.044073978408932807 ETH |
18766056 | 411 days ago | 138 | 0.00 TH | 10,586,103 (35.29%) | 0.081316034440841271 ETH |
18749284 | 413 days ago | 159 | 0.00 TH | 15,727,597 (52.43%) | 0.079724568211812954 ETH |
18664271 | 425 days ago | 103 | 0.00 TH | 11,916,602 (39.72%) | 0.052939749177396533 ETH |
18658448 | 426 days ago | 144 | 0.00 TH | 13,633,427 (45.44%) | 0.02891829955580039 ETH |
18614900 | 432 days ago | 213 | 0.00 TH | 15,870,267 (52.90%) | 0.042232709330302808 ETH |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.