ETH Price: $3,348.44 (-0.78%)
Gas: 11 Gwei

Contract

0x320f3aAB9405e38b955178BBe75c477dECBA0C27
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040153427242022-08-14 23:45:57715 days ago1660520757IN
 Create: RocketDAOProtocolSettingsNetwork
0 ETH0.0140072310

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RocketDAOProtocolSettingsNetwork

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 15000 runs

Other Settings:
default evmVersion, GNU GPLv3 license
File 1 of 6 : RocketDAOProtocolSettingsNetwork.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 "./RocketDAOProtocolSettings.sol";
import "../../../../interface/dao/protocol/settings/RocketDAOProtocolSettingsNetworkInterface.sol";

// Network auction settings

contract RocketDAOProtocolSettingsNetwork is RocketDAOProtocolSettings, RocketDAOProtocolSettingsNetworkInterface {
    // Construct
    constructor(RocketStorageInterface _rocketStorageAddress) RocketDAOProtocolSettings(_rocketStorageAddress, "network") {
        // Set version
        version = 2;
        // Initialize settings on deployment
        if(!getBool(keccak256(abi.encodePacked(settingNameSpace, "deployed")))) {
            // Apply settings
            setSettingUint("network.consensus.threshold", 0.51 ether);      // 51%
            setSettingBool("network.submit.balances.enabled", true);
            setSettingUint("network.submit.balances.frequency", 5760);      // ~24 hours
            setSettingBool("network.submit.prices.enabled", true);
            setSettingUint("network.submit.prices.frequency", 5760);        // ~24 hours
            setSettingUint("network.node.fee.minimum", 0.15 ether);         // 15%
            setSettingUint("network.node.fee.target", 0.15 ether);          // 15%
            setSettingUint("network.node.fee.maximum", 0.15 ether);         // 15%
            setSettingUint("network.node.fee.demand.range", 160 ether);
            setSettingUint("network.reth.collateral.target", 0.1 ether);
            setSettingUint("network.reth.deposit.delay", 5760);            // ~24 hours
            // Settings initialised
            setBool(keccak256(abi.encodePacked(settingNameSpace, "deployed")), true);
        }
    }

    // Update a setting, overrides inherited setting method with extra checks for this contract
    function setSettingUint(string memory _settingPath, uint256 _value) override public onlyDAOProtocolProposal {
        // Some safety guards for certain settings
        // Prevent DAO from setting the withdraw delay greater than ~24 hours
        if(keccak256(bytes(_settingPath)) == keccak256(bytes("network.reth.deposit.delay"))) {
            // Must be a future timestamp
            require(_value <= 5760, "rETH deposit delay cannot exceed 5760 blocks");
        }
        // Update setting now
        setUint(keccak256(abi.encodePacked(settingNameSpace, _settingPath)), _value);
    }

    // The threshold of trusted nodes that must reach consensus on oracle data to commit it
    function getNodeConsensusThreshold() override external view returns (uint256) {
        return getSettingUint("network.consensus.threshold");
    }

    // The threshold of trusted nodes that must reach consensus on a penalty
    function getNodePenaltyThreshold() override external view returns (uint256) {
        return getSettingUint("network.penalty.threshold");
    }

    // The amount to penalise a minipool for each feeDistributor infraction
    function getPerPenaltyRate() override external view returns (uint256) {
        return getSettingUint("network.penalty.per.rate");
    }

// Submit balances currently enabled (trusted nodes only)
    function getSubmitBalancesEnabled() override external view returns (bool) {
        return getSettingBool("network.submit.balances.enabled");
    }

    // The frequency in blocks at which network balances should be submitted by trusted nodes
    function getSubmitBalancesFrequency() override external view returns (uint256) {
        return getSettingUint("network.submit.balances.frequency");
    }

    // Submit prices currently enabled (trusted nodes only)
    function getSubmitPricesEnabled() override external view returns (bool) {
        return getSettingBool("network.submit.prices.enabled");
    }

    // The frequency in blocks at which network prices should be submitted by trusted nodes
    function getSubmitPricesFrequency() override external view returns (uint256) {
        return getSettingUint("network.submit.prices.frequency");
    }

    // The minimum node commission rate as a fraction of 1 ether
    function getMinimumNodeFee() override external view returns (uint256) {
        return getSettingUint("network.node.fee.minimum");
    }

    // The target node commission rate as a fraction of 1 ether
    function getTargetNodeFee() override external view returns (uint256) {
        return getSettingUint("network.node.fee.target");
    }

    // The maximum node commission rate as a fraction of 1 ether
    function getMaximumNodeFee() override external view returns (uint256) {
        return getSettingUint("network.node.fee.maximum");
    }

    // The range of node demand values to base fee calculations on (from negative to positive value)
    function getNodeFeeDemandRange() override external view returns (uint256) {
        return getSettingUint("network.node.fee.demand.range");
    }

    // Target rETH collateralization rate as a fraction of 1 ether
    function getTargetRethCollateralRate() override external view returns (uint256) {
        return getSettingUint("network.reth.collateral.target");
    }

    // rETH withdraw delay in blocks
    function getRethDepositDelay() override external view returns (uint256) {
        return getSettingUint("network.reth.deposit.delay");
    }

    // Submit reward snapshots currently enabled (trusted nodes only)
    function getSubmitRewardsEnabled() override external view returns (bool) {
        return getSettingBool("network.submit.rewards.enabled");
    }
}

File 2 of 6 : RocketBase.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 "../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 6 : RocketDAOProtocolSettings.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 "../../../../interface/dao/protocol/settings/RocketDAOProtocolSettingsInterface.sol";

// Settings in RP which the DAO will have full control over
// This settings contract enables storage using setting paths with namespaces, rather than explicit set methods
abstract contract RocketDAOProtocolSettings is RocketBase, RocketDAOProtocolSettingsInterface {


    // The namespace for a particular group of settings
    bytes32 settingNameSpace;


    // Only allow updating from the DAO proposals contract
    modifier onlyDAOProtocolProposal() {
        // If this contract has been initialised, only allow access from the proposals contract
        if(getBool(keccak256(abi.encodePacked(settingNameSpace, "deployed")))) require(getContractAddress("rocketDAOProtocolProposals") == msg.sender, "Only DAO Protocol Proposals contract can update a setting");
        _;
    }


    // Construct
    constructor(RocketStorageInterface _rocketStorageAddress, string memory _settingNameSpace) RocketBase(_rocketStorageAddress) {
        // Apply the setting namespace
        settingNameSpace = keccak256(abi.encodePacked("dao.protocol.setting.", _settingNameSpace));
    }


    /*** Uints  ****************/

    // A general method to return any setting given the setting path is correct, only accepts uints
    function getSettingUint(string memory _settingPath) public view override returns (uint256) {
        return getUint(keccak256(abi.encodePacked(settingNameSpace, _settingPath)));
    } 

    // Update a Uint setting, can only be executed by the DAO contract when a majority on a setting proposal has passed and been executed
    function setSettingUint(string memory _settingPath, uint256 _value) virtual public override onlyDAOProtocolProposal {
        // Update setting now
        setUint(keccak256(abi.encodePacked(settingNameSpace, _settingPath)), _value);
    } 
   

    /*** Bools  ****************/

    // A general method to return any setting given the setting path is correct, only accepts bools
    function getSettingBool(string memory _settingPath) public view override returns (bool) {
        return getBool(keccak256(abi.encodePacked(settingNameSpace, _settingPath)));
    } 

    // Update a setting, can only be executed by the DAO contract when a majority on a setting proposal has passed and been executed
    function setSettingBool(string memory _settingPath, bool _value) virtual public override onlyDAOProtocolProposal {
        // Update setting now
        setBool(keccak256(abi.encodePacked(settingNameSpace, _settingPath)), _value);
    }

    
    /*** Addresses  ****************/

    // A general method to return any setting given the setting path is correct, only accepts addresses
    function getSettingAddress(string memory _settingPath) external view override returns (address) {
        return getAddress(keccak256(abi.encodePacked(settingNameSpace, _settingPath)));
    } 

    // Update a setting, can only be executed by the DAO contract when a majority on a setting proposal has passed and been executed
    function setSettingAddress(string memory _settingPath, address _value) virtual external override onlyDAOProtocolProposal {
        // Update setting now
        setAddress(keccak256(abi.encodePacked(settingNameSpace, _settingPath)), _value);
    }

}

File 4 of 6 : RocketStorageInterface.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

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;
}

File 5 of 6 : RocketDAOProtocolSettingsInterface.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

interface RocketDAOProtocolSettingsInterface {
    function getSettingUint(string memory _settingPath) external view returns (uint256);
    function setSettingUint(string memory _settingPath, uint256 _value) external;
    function getSettingBool(string memory _settingPath) external view returns (bool);
    function setSettingBool(string memory _settingPath, bool _value) external;
    function getSettingAddress(string memory _settingPath) external view returns (address);
    function setSettingAddress(string memory _settingPath, address _value) external;
}

File 6 of 6 : RocketDAOProtocolSettingsNetworkInterface.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

interface RocketDAOProtocolSettingsNetworkInterface {
    function getNodeConsensusThreshold() external view returns (uint256);
    function getNodePenaltyThreshold() external view returns (uint256);
    function getPerPenaltyRate() external view returns (uint256);
    function getSubmitBalancesEnabled() external view returns (bool);
    function getSubmitBalancesFrequency() external view returns (uint256);
    function getSubmitPricesEnabled() external view returns (bool);
    function getSubmitPricesFrequency() external view returns (uint256);
    function getMinimumNodeFee() external view returns (uint256);
    function getTargetNodeFee() external view returns (uint256);
    function getMaximumNodeFee() external view returns (uint256);
    function getNodeFeeDemandRange() external view returns (uint256);
    function getTargetRethCollateralRate() external view returns (uint256);
    function getRethDepositDelay() external view returns (uint256);
    function getSubmitRewardsEnabled() external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract RocketStorageInterface","name":"_rocketStorageAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"getMaximumNodeFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinimumNodeFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNodeConsensusThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNodeFeeDemandRange","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNodePenaltyThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPerPenaltyRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRethDepositDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_settingPath","type":"string"}],"name":"getSettingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_settingPath","type":"string"}],"name":"getSettingBool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_settingPath","type":"string"}],"name":"getSettingUint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSubmitBalancesEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSubmitBalancesFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSubmitPricesEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSubmitPricesFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSubmitRewardsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTargetNodeFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTargetRethCollateralRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_settingPath","type":"string"},{"internalType":"address","name":"_value","type":"address"}],"name":"setSettingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_settingPath","type":"string"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"setSettingBool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_settingPath","type":"string"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setSettingUint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"}]

608060405260008054610100600160a81b03191690553480156200002257600080fd5b50604051620021fa380380620021fa833981810160405260208110156200004857600080fd5b505160408051808201825260078152666e6574776f726b60c81b602080830191825260008054610100600160a81b0319166101006001600160a01b0388160217905592517f64616f2e70726f746f636f6c2e73657474696e672e00000000000000000000009381019384528251859484939092603501918083835b60208310620000e45780518252601f199092019160209182019101620000c3565b51815160209384036101000a60001901801990921691161790526040805192909401828103601f19018352808552825192820192909220600181905560008054600260ff19909116179055828201526719195c1b1bde595960c21b8285015283518083036028018152604890920190935280519201919091206200016f955093506200049c92505050565b620004955760408051808201909152601b81527f6e6574776f726b2e636f6e73656e7375732e7468726573686f6c6400000000006020820152620001bc90670713e24c437300006200052b565b60408051808201909152601f81527f6e6574776f726b2e7375626d69742e62616c616e6365732e656e61626c6564006020820152620001fd90600162000730565b62000224604051806060016040528060218152602001620021d9602191396116806200052b565b60408051808201909152601d81527f6e6574776f726b2e7375626d69742e7072696365732e656e61626c656400000060208201526200026590600162000730565b60408051808201909152601f81527f6e6574776f726b2e7375626d69742e7072696365732e6672657175656e6379006020820152620002a7906116806200052b565b60408051808201909152601881527f6e6574776f726b2e6e6f64652e6665652e6d696e696d756d00000000000000006020820152620002ef90670214e8348c4f00006200052b565b60408051808201909152601781527f6e6574776f726b2e6e6f64652e6665652e74617267657400000000000000000060208201526200033790670214e8348c4f00006200052b565b60408051808201909152601881527f6e6574776f726b2e6e6f64652e6665652e6d6178696d756d000000000000000060208201526200037f90670214e8348c4f00006200052b565b60408051808201909152601d81527f6e6574776f726b2e6e6f64652e6665652e64656d616e642e72616e67650000006020820152620003c8906808ac7230489e8000006200052b565b60408051808201909152601e81527f6e6574776f726b2e726574682e636f6c6c61746572616c2e74617267657400006020820152620004109067016345785d8a00006200052b565b60408051808201909152601a81527f6e6574776f726b2e726574682e6465706f7369742e64656c6179000000000000602082015262000452906116806200052b565b60018054604080516020808201939093526719195c1b1bde595960c21b81830152815160288183030181526048909101909152805191012062000495916200088b565b5062000aa3565b60008060019054906101000a90046001600160a01b03166001600160a01b0316637ae1cfca836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015620004f757600080fd5b505afa1580156200050c573d6000803e3d6000fd5b505050506040513d60208110156200052357600080fd5b505192915050565b600154604080516020808201939093526719195c1b1bde595960c21b8183015281516028818303018152604890910190915280519101206200056d906200049c565b15620005fb5760408051808201909152601a81527f726f636b657444414f50726f746f636f6c50726f706f73616c7300000000000060208201523390620005b490620008fd565b6001600160a01b031614620005fb5760405162461bcd60e51b8152600401808060200182810382526039815260200180620021746039913960400191505060405180910390fd5b60408051808201909152601a81527f6e6574776f726b2e726574682e6465706f7369742e64656c61790000000000006020918201528251908301207f2ed210192b9ae9b593f47081c931cdb32623c8e33301bbf99a4072108456fd011415620006a157611680811115620006a15760405162461bcd60e51b815260040180806020018281038252602c815260200180620021ad602c913960400191505060405180910390fd5b6200072c600154836040516020018083815260200182805190602001908083835b60208310620006e35780518252601f199092019160209182019101620006c2565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040528051906020012082620009f460201b60201c565b5050565b600154604080516020808201939093526719195c1b1bde595960c21b81830152815160288183030181526048909101909152805191012062000772906200049c565b15620008005760408051808201909152601a81527f726f636b657444414f50726f746f636f6c50726f706f73616c7300000000000060208201523390620007b990620008fd565b6001600160a01b031614620008005760405162461bcd60e51b8152600401808060200182810382526039815260200180620021746039913960400191505060405180910390fd5b6200072c600154836040516020018083815260200182805190602001908083835b60208310620008425780518252601f19909201916020918201910162000821565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405280519060200120826200088b60201b60201c565b600080546040805163abfdcced60e01b815260048101869052841515602482015290516101009092046001600160a01b03169263abfdcced9260448084019382900301818387803b158015620008e057600080fd5b505af1158015620008f5573d6000803e3d6000fd5b505050505050565b6000806200099b8360405160200180806f636f6e74726163742e6164647265737360801b81525060100182805190602001908083835b60208310620009545780518252601f19909201916020918201910162000933565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040528051906020012062000a4860201b60201c565b90506001600160a01b038116620009ee576040805162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081b9bdd08199bdd5b9960721b604482015290519081900360640190fd5b92915050565b6000805460408051637152429d60e11b8152600481018690526024810185905290516101009092046001600160a01b03169263e2a4853a9260448084019382900301818387803b158015620008e057600080fd5b60008060019054906101000a90046001600160a01b03166001600160a01b03166321f8a721836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015620004f757600080fd5b6116c18062000ab36000396000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806397fa4f40116100d8578063cecaef211161008c578063e287671311610066578063e287671314610643578063f3d4149c1461064b578063fcdb60db1461065357610177565b8063cecaef2114610575578063d6cd921e1461057d578063d7c8953c1461063b57610177565b8063ac93f57f116100bd578063ac93f57f146104bf578063add7a12d146104c7578063c56710ff146104cf57610177565b806397fa4f40146104af578063a03eec10146104b757610177565b8063316074181161012f57806358485df61161011457806358485df6146103f75780635e9d4044146103ff57806363ed62da146104a757610177565b806331607418146103d157806354fd4d50146103d957610177565b80631d5e50ea116101605780631d5e50ea146103055780631f66e8ed1461031f5780632a57d0181461032757610177565b80631386a2441461017c5780631bfcc24e1461024b575b600080fd5b6102226004803603602081101561019257600080fd5b8101906020810181356401000000008111156101ad57600080fd5b8201836020820111156101bf57600080fd5b803590602001918460018302840111640100000000831117156101e157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061065b945050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6102f16004803603602081101561026157600080fd5b81019060208101813564010000000081111561027c57600080fd5b82018360208201111561028e57600080fd5b803590602001918460018302840111640100000000831117156102b057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610701945050505050565b604080519115158252519081900360200190f35b61030d6107a1565b60408051918252519081900360200190f35b61030d6107c9565b6103cf6004803603604081101561033d57600080fd5b81019060208101813564010000000081111561035857600080fd5b82018360208201111561036a57600080fd5b8035906020019184600183028401116401000000008311171561038c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050503515159050610809565b005b61030d6109cb565b6103e1610a0b565b6040805160ff9092168252519081900360200190f35b61030d610a14565b6103cf6004803603604081101561041557600080fd5b81019060208101813564010000000081111561043057600080fd5b82018360208201111561044257600080fd5b8035906020019184600183028401116401000000008311171561046457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610a54915050565b6102f1610ccf565b61030d610d0f565b61030d610d4f565b61030d610d8f565b61030d610dcf565b61030d600480360360208110156104e557600080fd5b81019060208101813564010000000081111561050057600080fd5b82018360208201111561051257600080fd5b8035906020019184600183028401116401000000008311171561053457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610e0b945050505050565b61030d610eab565b6103cf6004803603604081101561059357600080fd5b8101906020810181356401000000008111156105ae57600080fd5b8201836020820111156105c057600080fd5b803590602001918460018302840111640100000000831117156105e257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903573ffffffffffffffffffffffffffffffffffffffff169150610eeb9050565b6102f16110a9565b61030d6110e9565b61030d611129565b6102f1611169565b60006106fb600154836040516020018083815260200182805190602001908083835b602083106106ba57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161067d565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052805190602001206111a9565b92915050565b60006106fb600154836040516020018083815260200182805190602001908083835b6020831061076057805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610723565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040528051906020012061124f565b60006107c460405180606001604052806021815260200161166b60219139610e0b565b905090565b60006107c46040518060400160405280601b81526020017f6e6574776f726b2e636f6e73656e7375732e7468726573686f6c640000000000815250610e0b565b61086260015460405160200180828152602001807f6465706c6f7965640000000000000000000000000000000000000000000000008152506008019150506040516020818303038152906040528051906020012061124f565b15610928573373ffffffffffffffffffffffffffffffffffffffff166108bc6040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c730000000000008152506112c3565b73ffffffffffffffffffffffffffffffffffffffff1614610928576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260398152602001806116066039913960400191505060405180910390fd5b6109c7600154836040516020018083815260200182805190602001908083835b6020831061098557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610948565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040528051906020012082611406565b5050565b60006107c46040518060400160405280601f81526020017f6e6574776f726b2e7375626d69742e7072696365732e6672657175656e637900815250610e0b565b60005460ff1681565b60006107c46040518060400160405280601981526020017f6e6574776f726b2e70656e616c74792e7468726573686f6c6400000000000000815250610e0b565b610aad60015460405160200180828152602001807f6465706c6f7965640000000000000000000000000000000000000000000000008152506008019150506040516020818303038152906040528051906020012061124f565b15610b73573373ffffffffffffffffffffffffffffffffffffffff16610b076040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c730000000000008152506112c3565b73ffffffffffffffffffffffffffffffffffffffff1614610b73576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260398152602001806116066039913960400191505060405180910390fd5b60408051808201909152601a81527f6e6574776f726b2e726574682e6465706f7369742e64656c61790000000000006020918201528251908301207f2ed210192b9ae9b593f47081c931cdb32623c8e33301bbf99a4072108456fd011415610c3057611680811115610c30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c81526020018061163f602c913960400191505060405180910390fd5b6109c7600154836040516020018083815260200182805190602001908083835b60208310610c8d57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610c50565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052805190602001208261149c565b60006107c46040518060400160405280601e81526020017f6e6574776f726b2e7375626d69742e726577617264732e656e61626c65640000815250610701565b60006107c46040518060400160405280601881526020017f6e6574776f726b2e70656e616c74792e7065722e726174650000000000000000815250610e0b565b60006107c46040518060400160405280601781526020017f6e6574776f726b2e6e6f64652e6665652e746172676574000000000000000000815250610e0b565b60006107c46040518060400160405280601d81526020017f6e6574776f726b2e6e6f64652e6665652e64656d616e642e72616e6765000000815250610e0b565b60006107c46040518060400160405280601881526020017f6e6574776f726b2e6e6f64652e6665652e6d696e696d756d00000000000000008152505b60006106fb600154836040516020018083815260200182805190602001908083835b60208310610e6a57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610e2d565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405280519060200120611515565b60006107c46040518060400160405280601a81526020017f6e6574776f726b2e726574682e6465706f7369742e64656c6179000000000000815250610e0b565b610f4460015460405160200180828152602001807f6465706c6f7965640000000000000000000000000000000000000000000000008152506008019150506040516020818303038152906040528051906020012061124f565b1561100a573373ffffffffffffffffffffffffffffffffffffffff16610f9e6040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c730000000000008152506112c3565b73ffffffffffffffffffffffffffffffffffffffff161461100a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260398152602001806116066039913960400191505060405180910390fd5b6109c7600154836040516020018083815260200182805190602001908083835b6020831061106757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161102a565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040528051906020012082611589565b60006107c46040518060400160405280601d81526020017f6e6574776f726b2e7375626d69742e7072696365732e656e61626c6564000000815250610701565b60006107c46040518060400160405280601e81526020017f6e6574776f726b2e726574682e636f6c6c61746572616c2e7461726765740000815250610e0b565b60006107c46040518060400160405280601881526020017f6e6574776f726b2e6e6f64652e6665652e6d6178696d756d0000000000000000815250610e0b565b60006107c46040518060400160405280601f81526020017f6e6574776f726b2e7375626d69742e62616c616e6365732e656e61626c656400815250610701565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166321f8a721836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561121d57600080fd5b505afa158015611231573d6000803e3d6000fd5b505050506040513d602081101561124757600080fd5b505192915050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ae1cfca836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561121d57600080fd5b6000806113828360405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083835b6020831061134257805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611305565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052805190602001206111a9565b905073ffffffffffffffffffffffffffffffffffffffff81166106fb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f436f6e7472616374206e6f7420666f756e640000000000000000000000000000604482015290519081900360640190fd5b60008054604080517fabfdcced000000000000000000000000000000000000000000000000000000008152600481018690528415156024820152905161010090920473ffffffffffffffffffffffffffffffffffffffff169263abfdcced9260448084019382900301818387803b15801561148057600080fd5b505af1158015611494573d6000803e3d6000fd5b505050505050565b60008054604080517fe2a4853a0000000000000000000000000000000000000000000000000000000081526004810186905260248101859052905161010090920473ffffffffffffffffffffffffffffffffffffffff169263e2a4853a9260448084019382900301818387803b15801561148057600080fd5b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bd02d0f5836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561121d57600080fd5b60008054604080517fca446dd90000000000000000000000000000000000000000000000000000000081526004810186905273ffffffffffffffffffffffffffffffffffffffff858116602483015291516101009093049091169263ca446dd99260448084019382900301818387803b15801561148057600080fdfe4f6e6c792044414f2050726f746f636f6c2050726f706f73616c7320636f6e74726163742063616e2075706461746520612073657474696e6772455448206465706f7369742064656c61792063616e6e6f7420657863656564203537363020626c6f636b736e6574776f726b2e7375626d69742e62616c616e6365732e6672657175656e6379a2646970667358221220c53b352931f3a702891de318d433ea8360c4b2499da4ce0a4e5435062351960b64736f6c634300070600334f6e6c792044414f2050726f746f636f6c2050726f706f73616c7320636f6e74726163742063616e2075706461746520612073657474696e6772455448206465706f7369742064656c61792063616e6e6f7420657863656564203537363020626c6f636b736e6574776f726b2e7375626d69742e62616c616e6365732e6672657175656e63790000000000000000000000001d8f8f00cfa6758d7be78336684788fb0ee0fa46

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101775760003560e01c806397fa4f40116100d8578063cecaef211161008c578063e287671311610066578063e287671314610643578063f3d4149c1461064b578063fcdb60db1461065357610177565b8063cecaef2114610575578063d6cd921e1461057d578063d7c8953c1461063b57610177565b8063ac93f57f116100bd578063ac93f57f146104bf578063add7a12d146104c7578063c56710ff146104cf57610177565b806397fa4f40146104af578063a03eec10146104b757610177565b8063316074181161012f57806358485df61161011457806358485df6146103f75780635e9d4044146103ff57806363ed62da146104a757610177565b806331607418146103d157806354fd4d50146103d957610177565b80631d5e50ea116101605780631d5e50ea146103055780631f66e8ed1461031f5780632a57d0181461032757610177565b80631386a2441461017c5780631bfcc24e1461024b575b600080fd5b6102226004803603602081101561019257600080fd5b8101906020810181356401000000008111156101ad57600080fd5b8201836020820111156101bf57600080fd5b803590602001918460018302840111640100000000831117156101e157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061065b945050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6102f16004803603602081101561026157600080fd5b81019060208101813564010000000081111561027c57600080fd5b82018360208201111561028e57600080fd5b803590602001918460018302840111640100000000831117156102b057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610701945050505050565b604080519115158252519081900360200190f35b61030d6107a1565b60408051918252519081900360200190f35b61030d6107c9565b6103cf6004803603604081101561033d57600080fd5b81019060208101813564010000000081111561035857600080fd5b82018360208201111561036a57600080fd5b8035906020019184600183028401116401000000008311171561038c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050503515159050610809565b005b61030d6109cb565b6103e1610a0b565b6040805160ff9092168252519081900360200190f35b61030d610a14565b6103cf6004803603604081101561041557600080fd5b81019060208101813564010000000081111561043057600080fd5b82018360208201111561044257600080fd5b8035906020019184600183028401116401000000008311171561046457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610a54915050565b6102f1610ccf565b61030d610d0f565b61030d610d4f565b61030d610d8f565b61030d610dcf565b61030d600480360360208110156104e557600080fd5b81019060208101813564010000000081111561050057600080fd5b82018360208201111561051257600080fd5b8035906020019184600183028401116401000000008311171561053457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610e0b945050505050565b61030d610eab565b6103cf6004803603604081101561059357600080fd5b8101906020810181356401000000008111156105ae57600080fd5b8201836020820111156105c057600080fd5b803590602001918460018302840111640100000000831117156105e257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903573ffffffffffffffffffffffffffffffffffffffff169150610eeb9050565b6102f16110a9565b61030d6110e9565b61030d611129565b6102f1611169565b60006106fb600154836040516020018083815260200182805190602001908083835b602083106106ba57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161067d565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052805190602001206111a9565b92915050565b60006106fb600154836040516020018083815260200182805190602001908083835b6020831061076057805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610723565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040528051906020012061124f565b60006107c460405180606001604052806021815260200161166b60219139610e0b565b905090565b60006107c46040518060400160405280601b81526020017f6e6574776f726b2e636f6e73656e7375732e7468726573686f6c640000000000815250610e0b565b61086260015460405160200180828152602001807f6465706c6f7965640000000000000000000000000000000000000000000000008152506008019150506040516020818303038152906040528051906020012061124f565b15610928573373ffffffffffffffffffffffffffffffffffffffff166108bc6040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c730000000000008152506112c3565b73ffffffffffffffffffffffffffffffffffffffff1614610928576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260398152602001806116066039913960400191505060405180910390fd5b6109c7600154836040516020018083815260200182805190602001908083835b6020831061098557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610948565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040528051906020012082611406565b5050565b60006107c46040518060400160405280601f81526020017f6e6574776f726b2e7375626d69742e7072696365732e6672657175656e637900815250610e0b565b60005460ff1681565b60006107c46040518060400160405280601981526020017f6e6574776f726b2e70656e616c74792e7468726573686f6c6400000000000000815250610e0b565b610aad60015460405160200180828152602001807f6465706c6f7965640000000000000000000000000000000000000000000000008152506008019150506040516020818303038152906040528051906020012061124f565b15610b73573373ffffffffffffffffffffffffffffffffffffffff16610b076040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c730000000000008152506112c3565b73ffffffffffffffffffffffffffffffffffffffff1614610b73576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260398152602001806116066039913960400191505060405180910390fd5b60408051808201909152601a81527f6e6574776f726b2e726574682e6465706f7369742e64656c61790000000000006020918201528251908301207f2ed210192b9ae9b593f47081c931cdb32623c8e33301bbf99a4072108456fd011415610c3057611680811115610c30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c81526020018061163f602c913960400191505060405180910390fd5b6109c7600154836040516020018083815260200182805190602001908083835b60208310610c8d57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610c50565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052805190602001208261149c565b60006107c46040518060400160405280601e81526020017f6e6574776f726b2e7375626d69742e726577617264732e656e61626c65640000815250610701565b60006107c46040518060400160405280601881526020017f6e6574776f726b2e70656e616c74792e7065722e726174650000000000000000815250610e0b565b60006107c46040518060400160405280601781526020017f6e6574776f726b2e6e6f64652e6665652e746172676574000000000000000000815250610e0b565b60006107c46040518060400160405280601d81526020017f6e6574776f726b2e6e6f64652e6665652e64656d616e642e72616e6765000000815250610e0b565b60006107c46040518060400160405280601881526020017f6e6574776f726b2e6e6f64652e6665652e6d696e696d756d00000000000000008152505b60006106fb600154836040516020018083815260200182805190602001908083835b60208310610e6a57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610e2d565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405280519060200120611515565b60006107c46040518060400160405280601a81526020017f6e6574776f726b2e726574682e6465706f7369742e64656c6179000000000000815250610e0b565b610f4460015460405160200180828152602001807f6465706c6f7965640000000000000000000000000000000000000000000000008152506008019150506040516020818303038152906040528051906020012061124f565b1561100a573373ffffffffffffffffffffffffffffffffffffffff16610f9e6040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c730000000000008152506112c3565b73ffffffffffffffffffffffffffffffffffffffff161461100a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260398152602001806116066039913960400191505060405180910390fd5b6109c7600154836040516020018083815260200182805190602001908083835b6020831061106757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161102a565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040528051906020012082611589565b60006107c46040518060400160405280601d81526020017f6e6574776f726b2e7375626d69742e7072696365732e656e61626c6564000000815250610701565b60006107c46040518060400160405280601e81526020017f6e6574776f726b2e726574682e636f6c6c61746572616c2e7461726765740000815250610e0b565b60006107c46040518060400160405280601881526020017f6e6574776f726b2e6e6f64652e6665652e6d6178696d756d0000000000000000815250610e0b565b60006107c46040518060400160405280601f81526020017f6e6574776f726b2e7375626d69742e62616c616e6365732e656e61626c656400815250610701565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166321f8a721836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561121d57600080fd5b505afa158015611231573d6000803e3d6000fd5b505050506040513d602081101561124757600080fd5b505192915050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ae1cfca836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561121d57600080fd5b6000806113828360405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083835b6020831061134257805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611305565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052805190602001206111a9565b905073ffffffffffffffffffffffffffffffffffffffff81166106fb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f436f6e7472616374206e6f7420666f756e640000000000000000000000000000604482015290519081900360640190fd5b60008054604080517fabfdcced000000000000000000000000000000000000000000000000000000008152600481018690528415156024820152905161010090920473ffffffffffffffffffffffffffffffffffffffff169263abfdcced9260448084019382900301818387803b15801561148057600080fd5b505af1158015611494573d6000803e3d6000fd5b505050505050565b60008054604080517fe2a4853a0000000000000000000000000000000000000000000000000000000081526004810186905260248101859052905161010090920473ffffffffffffffffffffffffffffffffffffffff169263e2a4853a9260448084019382900301818387803b15801561148057600080fd5b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bd02d0f5836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561121d57600080fd5b60008054604080517fca446dd90000000000000000000000000000000000000000000000000000000081526004810186905273ffffffffffffffffffffffffffffffffffffffff858116602483015291516101009093049091169263ca446dd99260448084019382900301818387803b15801561148057600080fdfe4f6e6c792044414f2050726f746f636f6c2050726f706f73616c7320636f6e74726163742063616e2075706461746520612073657474696e6772455448206465706f7369742064656c61792063616e6e6f7420657863656564203537363020626c6f636b736e6574776f726b2e7375626d69742e62616c616e6365732e6672657175656e6379a2646970667358221220c53b352931f3a702891de318d433ea8360c4b2499da4ce0a4e5435062351960b64736f6c63430007060033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000001d8f8f00cfa6758d7be78336684788fb0ee0fa46

-----Decoded View---------------
Arg [0] : _rocketStorageAddress (address): 0x1d8f8f00cfa6758d7bE78336684788Fb0ee0Fa46

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000001d8f8f00cfa6758d7be78336684788fb0ee0fa46


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

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