ETH Price: $1,980.45 (-1.60%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Distribute177997892023-07-29 16:08:35946 days ago1690646915IN
0x49e4fd39...0C4B19dD5
0 ETH0.0041987828.14824262
Transfer177856952023-07-27 16:48:23948 days ago1690476503IN
0x49e4fd39...0C4B19dD5
0.22774653 ETH0.0010468149.77006937
Transfer177851492023-07-27 14:58:35948 days ago1690469915IN
0x49e4fd39...0C4B19dD5
0.08932239 ETH0.0008351239.70547397
Transfer177748372023-07-26 4:21:35949 days ago1690345295IN
0x49e4fd39...0C4B19dD5
0.05611373 ETH0.0003664917.42460737
Transfer177720172023-07-25 18:52:59950 days ago1690311179IN
0x49e4fd39...0C4B19dD5
0.05070429 ETH0.000762836.26689053
Transfer177399102023-07-21 7:04:23954 days ago1689923063IN
0x49e4fd39...0C4B19dD5
0.05161571 ETH0.0004567621.71657493
Transfer177379292023-07-21 0:24:11955 days ago1689899051IN
0x49e4fd39...0C4B19dD5
0.0512203 ETH0.0004262520.26592342
Transfer177341422023-07-20 11:40:35955 days ago1689853235IN
0x49e4fd39...0C4B19dD5
0.05066809 ETH0.00039618.82794657
Transfer177291742023-07-19 18:59:59956 days ago1689793199IN
0x49e4fd39...0C4B19dD5
0.10388541 ETH0.000525424.97992511
Transfer177248352023-07-19 4:21:59956 days ago1689740519IN
0x49e4fd39...0C4B19dD5
0.03386458 ETH0.0004195619.94809974
Transfer177129432023-07-17 12:21:11958 days ago1689596471IN
0x49e4fd39...0C4B19dD5
0.08413247 ETH0.0004626821.99810091
Transfer177060912023-07-16 13:17:59959 days ago1689513479IN
0x49e4fd39...0C4B19dD5
0.03302323 ETH0.0004736222.51833152
Transfer176900862023-07-14 7:01:47961 days ago1689318107IN
0x49e4fd39...0C4B19dD5
0.03471437 ETH0.0003762817.89039285
Transfer176760562023-07-12 7:39:59963 days ago1689147599IN
0x49e4fd39...0C4B19dD5
0.04586631 ETH0.0002863313.61384111
Transfer176678702023-07-11 4:02:11964 days ago1689048131IN
0x49e4fd39...0C4B19dD5
0.22689915 ETH0.0003056514.53199071
Transfer176652092023-07-10 19:02:47965 days ago1689015767IN
0x49e4fd39...0C4B19dD5
0.08133307 ETH0.0005544226.3599993
Transfer176483442023-07-08 10:06:35967 days ago1688810795IN
0x49e4fd39...0C4B19dD5
0.02391544 ETH0.0004065719.33032641
Transfer176247162023-07-05 2:29:35970 days ago1688524175IN
0x49e4fd39...0C4B19dD5
0.04005943 ETH0.0008780741.74733621
Transfer176204522023-07-04 12:06:23971 days ago1688472383IN
0x49e4fd39...0C4B19dD5
0.03732141 ETH0.0003885618.47400393
Transfer175823172023-06-29 3:34:59976 days ago1688009699IN
0x49e4fd39...0C4B19dD5
0.05327947 ETH0.000341216.22224993
Transfer175606892023-06-26 2:38:35979 days ago1687747115IN
0x49e4fd39...0C4B19dD5
0.04310868 ETH0.0002488611.83202979
Transfer175396792023-06-23 3:42:59982 days ago1687491779IN
0x49e4fd39...0C4B19dD5
0.16939742 ETH0.0002892413.75202297
Transfer175181272023-06-20 3:06:35985 days ago1687230395IN
0x49e4fd39...0C4B19dD5
0.0129019 ETH0.0003033514.42261703
Transfer175162402023-06-19 20:44:59986 days ago1687207499IN
0x49e4fd39...0C4B19dD5
0.06934873 ETH0.0003304915.71338062
Transfer175124222023-06-19 7:51:35986 days ago1687161095IN
0x49e4fd39...0C4B19dD5
0.03779299 ETH0.0002882813.70624692
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer177997892023-07-29 16:08:35946 days ago1690646915
0x49e4fd39...0C4B19dD5
1.78347632 ETH
Transfer177997892023-07-29 16:08:35946 days ago1690646915
0x49e4fd39...0C4B19dD5
2.01924504 ETH
Transfer176873152023-07-13 21:41:23962 days ago1689284483
0x49e4fd39...0C4B19dD5
0.00001851 ETH
Transfer176873152023-07-13 21:41:23962 days ago1689284483
0x49e4fd39...0C4B19dD5
0.0011725 ETH
Transfer176074162023-07-02 16:09:47973 days ago1688314187
0x49e4fd39...0C4B19dD5
0.00027368 ETH
Transfer176074162023-07-02 16:09:47973 days ago1688314187
0x49e4fd39...0C4B19dD5
0.00107905 ETH
Transfer176074162023-07-02 16:09:47973 days ago1688314187
0x49e4fd39...0C4B19dD5
0.00573254 ETH
Transfer174923382023-06-16 12:16:23989 days ago1686917783
0x49e4fd39...0C4B19dD5
0.00126471 ETH
Transfer174348042023-06-08 9:48:59997 days ago1686217739
0x49e4fd39...0C4B19dD5
2.71424406 ETH
Transfer174348042023-06-08 9:48:59997 days ago1686217739
0x49e4fd39...0C4B19dD5
3.07305671 ETH
Transfer173644692023-05-29 11:53:111007 days ago1685361191
0x49e4fd39...0C4B19dD5
0.00148282 ETH
Transfer173248572023-05-23 22:20:351013 days ago1684880435
0x49e4fd39...0C4B19dD5
0.0007118 ETH
Transfer171489392023-04-29 2:59:231037 days ago1682737163
0x49e4fd39...0C4B19dD5
0.11005837 ETH
Transfer170760892023-04-18 21:02:111048 days ago1681851731
0x49e4fd39...0C4B19dD5
0.10387018 ETH
Transfer170760892023-04-18 21:02:111048 days ago1681851731
0x49e4fd39...0C4B19dD5
0.12476248 ETH
Transfer170722192023-04-18 7:53:351048 days ago1681804415
0x49e4fd39...0C4B19dD5
0.37619605 ETH
Transfer170722192023-04-18 7:53:351048 days ago1681804415
0x49e4fd39...0C4B19dD5
0.50897113 ETH
Transfer170598192023-04-16 13:44:111050 days ago1681652651
0x49e4fd39...0C4B19dD5
0.00075417 ETH
Transfer168842162023-03-22 16:07:591075 days ago1679501279
0x49e4fd39...0C4B19dD5
1.95075754 ETH
Transfer168842162023-03-22 16:07:591075 days ago1679501279
0x49e4fd39...0C4B19dD5
1.44186427 ETH
Transfer165089082023-01-29 0:30:111128 days ago1674952211
0x49e4fd39...0C4B19dD5
1.16963881 ETH
Transfer165089082023-01-29 0:30:111128 days ago1674952211
0x49e4fd39...0C4B19dD5
0.86451564 ETH
Transfer162865972022-12-28 23:40:111159 days ago1672270811
0x49e4fd39...0C4B19dD5
0.10297082 ETH
Transfer162865972022-12-28 23:40:111159 days ago1672270811
0x49e4fd39...0C4B19dD5
0.07610887 ETH
Transfer162406082022-12-22 13:41:351165 days ago1671716495
0x49e4fd39...0C4B19dD5
0.15305122 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Produced Blocks

 Latest 25 blocks (From a total of 74 blocks with 2.27 Ether produced)

Block Transaction Difficulty Gas Used Reward
177721412023-07-25 19:18:11950 days ago16903126911160.00 TH10,823,615 (36.08%)
0.025752942702229008 ETH
177118382023-07-17 8:37:59958 days ago16895830791360.00 TH11,043,604 (36.81%)
0.170396269431034935 ETH
176873152023-07-13 21:41:23962 days ago16892844831330.00 TH15,755,260 (52.52%)
0.07263864647278252 ETH
176074162023-07-02 16:09:47973 days ago16883141871410.00 TH13,048,140 (43.49%)
0.021287468033602566 ETH
175280152023-06-21 12:24:11984 days ago16873502511380.00 TH14,411,130 (48.04%)
0.152440050664213453 ETH
175210772023-06-20 13:01:59985 days ago16872661191330.00 TH12,822,819 (42.74%)
0.04655682083315239 ETH
175173562023-06-20 0:29:47986 days ago1687220987940.00 TH8,460,867 (28.20%)
0.016634607102605625 ETH
174923382023-06-16 12:16:23989 days ago16869177831530.00 TH10,998,675 (36.66%)
0.032130796735623278 ETH
174887252023-06-16 0:05:11990 days ago16868739112170.00 TH17,664,910 (58.88%)
0.04947586764699795 ETH
173684912023-05-30 1:28:231006 days ago16854101031210.00 TH14,782,291 (49.27%)
0.080080008888434991 ETH
173644692023-05-29 11:53:111007 days ago16853611911450.00 TH12,782,202 (42.61%)
0.064527849529804894 ETH
173355792023-05-25 10:30:471011 days ago16850106471240.00 TH11,904,273 (39.68%)
0.029613590049766391 ETH
173248572023-05-23 22:20:351013 days ago16848804351380.00 TH11,255,313 (37.52%)
0.019824704638643955 ETH
171501582023-04-29 7:05:231037 days ago1682751923890.00 TH7,044,795 (23.48%)
0.010119911899332393 ETH
171489392023-04-29 2:59:231037 days ago16827371631010.00 TH9,008,093 (30.03%)
0.027723987413944563 ETH
171061592023-04-23 2:51:351043 days ago16822182951230.00 TH15,206,650 (50.69%)
0.212939476206672291 ETH
170598192023-04-16 13:44:111050 days ago16816526511530.00 TH12,721,430 (42.40%)
0.009135859527785047 ETH
170493222023-04-15 1:54:591051 days ago1681523699980.00 TH7,058,111 (23.53%)
0.018577539326435475 ETH
169752752023-04-04 11:36:591062 days ago16806082191260.00 TH11,343,858 (37.81%)
0.033019364052722566 ETH
169428872023-03-30 21:59:471067 days ago16802135871010.00 TH11,487,726 (38.29%)
0.025621711206996873 ETH
168821342023-03-22 9:06:351075 days ago16794759951330.00 TH10,174,783 (33.92%)
0.013152204351688123 ETH
168783372023-03-21 20:19:351076 days ago16794299751500.00 TH12,381,529 (41.27%)
0.013475880786312059 ETH
168243612023-03-14 6:19:111083 days ago16787747511340.00 TH13,905,447 (46.35%)
0.018172421917749756 ETH
168109922023-03-12 9:15:471085 days ago1678612547970.00 TH8,463,193 (28.21%)
0.006140046675406726 ETH
167397682023-03-02 8:42:591095 days ago16777465791430.00 TH12,444,188 (41.48%)
0.019769577782499647 ETH
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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

Optimization Enabled:
Yes with 15000 runs

Other Settings:
istanbul EvmVersion, GNU GPLv3 license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 4 : RocketNodeDistributor.sol
/**
  *       .
  *      / \
  *     |.'.|
  *     |'.'|
  *   ,'|   |`.
  *  |,-'-|-'-.|
  *   __|_| |         _        _      _____           _
  *  | ___ \|        | |      | |    | ___ \         | |
  *  | |_/ /|__   ___| | _____| |_   | |_/ /__   ___ | |
  *  |    // _ \ / __| |/ / _ \ __|  |  __/ _ \ / _ \| |
  *  | |\ \ (_) | (__|   <  __/ |_   | | | (_) | (_) | |
  *  \_| \_\___/ \___|_|\_\___|\__|  \_|  \___/ \___/|_|
  * +---------------------------------------------------+
  * |  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); }
}

File 3 of 4 : RocketNodeDistributorStorageLayout.sol
/**
  *       .
  *      / \
  *     |.'.|
  *     |'.'|
  *   ,'|   |`.
  *  |,-'-|-'-.|
  *   __|_| |         _        _      _____           _
  *  | ___ \|        | |      | |    | ___ \         | |
  *  | |_/ /|__   ___| | _____| |_   | |_/ /__   ___ | |
  *  |    // _ \ / __| |/ / _ \ __|  |  __/ _ \ / _ \| |
  *  | |\ \ (_) | (__|   <  __/ |_   | | | (_) | (_) | |
  *  \_| \_\___/ \___|_|\_\___|\__|  \_|  \___/ \___/|_|
  * +---------------------------------------------------+
  * |  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;
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 15000
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"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"}]

0x60a060405234801561001057600080fd5b506040516101fd3803806101fd8339818101604052604081101561003357600080fd5b508051602091820151600080546001600160a01b039283166001600160a01b03199182161790915560018054929093169116179055604080516f636f6e74726163742e6164647265737360801b818401527f726f636b65744e6f64654469737472696275746f7244656c656761746500000060308201528151602d818303018152604d90910190915280519101206080526080516101206100dd60003980603752506101206000f3fe608060405236600a57005b60008054604080517f21f8a7210000000000000000000000000000000000000000000000000000000081527f00000000000000000000000000000000000000000000000000000000000000006004820152905173ffffffffffffffffffffffffffffffffffffffff909216916321f8a72191602480820192602092909190829003018186803b158015609b57600080fd5b505afa15801560ae573d6000803e3d6000fd5b505050506040513d602081101560c357600080fd5b505190503660008037600080366000845af43d6000803e80801560e5573d6000f35b3d6000fdfea2646970667358221220eff696097e25305c6d6b19a8a6eebb3c8b47de4d235eade3a84bd4f50c48119664736f6c63430007060033000000000000000000000000cc1fc2fcf6b3b45f76a69e82ccedb75a2bbd727c0000000000000000000000001d8f8f00cfa6758d7be78336684788fb0ee0fa46

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

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
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.