ETH Price: $1,545.05 (-4.55%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

> 10 Internal Transactions found.

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Get Uint222431942025-04-11 4:05:5948 mins ago1744344359
Rocket Pool: Queue Storage
0 ETH
Get Uint222431942025-04-11 4:05:5948 mins ago1744344359
Rocket Pool: Queue Storage
0 ETH
Get Length222431942025-04-11 4:05:5948 mins ago1744344359
Rocket Pool: Queue Storage
0 ETH
Get Uint222431942025-04-11 4:05:5948 mins ago1744344359
Rocket Pool: Queue Storage
0 ETH
Get Uint222431942025-04-11 4:05:5948 mins ago1744344359
Rocket Pool: Queue Storage
0 ETH
Get Length222431942025-04-11 4:05:5948 mins ago1744344359
Rocket Pool: Queue Storage
0 ETH
Get Uint222431942025-04-11 4:05:5948 mins ago1744344359
Rocket Pool: Queue Storage
0 ETH
Get Uint222431942025-04-11 4:05:5948 mins ago1744344359
Rocket Pool: Queue Storage
0 ETH
Get Length222431942025-04-11 4:05:5948 mins ago1744344359
Rocket Pool: Queue Storage
0 ETH
Set Uint222418302025-04-10 23:31:595 hrs ago1744327919
Rocket Pool: Queue Storage
0 ETH
Set Uint222418302025-04-10 23:31:595 hrs ago1744327919
Rocket Pool: Queue Storage
0 ETH
Get Address222418302025-04-10 23:31:595 hrs ago1744327919
Rocket Pool: Queue Storage
0 ETH
Get Uint222418302025-04-10 23:31:595 hrs ago1744327919
Rocket Pool: Queue Storage
0 ETH
Get Uint222418302025-04-10 23:31:595 hrs ago1744327919
Rocket Pool: Queue Storage
0 ETH
Get Uint222418302025-04-10 23:31:595 hrs ago1744327919
Rocket Pool: Queue Storage
0 ETH
Get Bool222418302025-04-10 23:31:595 hrs ago1744327919
Rocket Pool: Queue Storage
0 ETH
Get Address222418302025-04-10 23:31:595 hrs ago1744327919
Rocket Pool: Queue Storage
0 ETH
Dequeue Item222418302025-04-10 23:31:595 hrs ago1744327919
Rocket Pool: Queue Storage
0 ETH
Get Uint222418302025-04-10 23:31:595 hrs ago1744327919
Rocket Pool: Queue Storage
0 ETH
Get Uint222418302025-04-10 23:31:595 hrs ago1744327919
Rocket Pool: Queue Storage
0 ETH
Get Length222418302025-04-10 23:31:595 hrs ago1744327919
Rocket Pool: Queue Storage
0 ETH
Get Uint222418302025-04-10 23:31:595 hrs ago1744327919
Rocket Pool: Queue Storage
0 ETH
Get Uint222418302025-04-10 23:31:595 hrs ago1744327919
Rocket Pool: Queue Storage
0 ETH
Get Length222418302025-04-10 23:31:595 hrs ago1744327919
Rocket Pool: Queue Storage
0 ETH
Get Uint222418302025-04-10 23:31:595 hrs ago1744327919
Rocket Pool: Queue Storage
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AddressQueueStorage

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 15000 runs

Other Settings:
default evmVersion, GNU GPLv3 license
File 1 of 5 : AddressQueueStorage.sol
/**
  *       .
  *      / \
  *     |.'.|
  *     |'.'|
  *   ,'|   |`.
  *  |,-'-|-'-.|
  *   __|_| |         _        _      _____           _
  *  | ___ \|        | |      | |    | ___ \         | |
  *  | |_/ /|__   ___| | _____| |_   | |_/ /__   ___ | |
  *  |    // _ \ / __| |/ / _ \ __|  |  __/ _ \ / _ \| |
  *  | |\ \ (_) | (__|   <  __/ |_   | | | (_) | (_) | |
  *  \_| \_\___/ \___|_|\_\___|\__|  \_|  \___/ \___/|_|
  * +---------------------------------------------------+
  * |    DECENTRALISED STAKING PROTOCOL FOR ETHEREUM    |
  * +---------------------------------------------------+
  *
  *  Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to
  *  be community-owned, decentralised, and trustless.
  *
  *  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 "@openzeppelin/contracts/math/SafeMath.sol";

import "../RocketBase.sol";
import "../../interface/util/AddressQueueStorageInterface.sol";

import "@openzeppelin/contracts/math/SafeMath.sol";

// Address queue storage helper for RocketStorage data (ring buffer implementation)

contract AddressQueueStorage is RocketBase, AddressQueueStorageInterface {

    // Libs
    using SafeMath for uint256;

    // Settings
    uint256 constant public capacity = 2 ** 255; // max uint256 / 2

    // Construct
    constructor(RocketStorageInterface _rocketStorageAddress) RocketBase(_rocketStorageAddress) {
        version = 1;
    }

    // The number of items in a queue
    function getLength(bytes32 _key) override public view returns (uint) {
        uint start = getUint(keccak256(abi.encodePacked(_key, ".start")));
        uint end = getUint(keccak256(abi.encodePacked(_key, ".end")));
        if (end < start) { end = end.add(capacity); }
        return end.sub(start);
    }

    // The item in a queue by index
    function getItem(bytes32 _key, uint _index) override external view returns (address) {
        uint index = getUint(keccak256(abi.encodePacked(_key, ".start"))).add(_index);
        if (index >= capacity) { index = index.sub(capacity); }
        return getAddress(keccak256(abi.encodePacked(_key, ".item", index)));
    }

    // The index of an item in a queue
    // Returns -1 if the value is not found
    function getIndexOf(bytes32 _key, address _value) override external view returns (int) {
        int index = int(getUint(keccak256(abi.encodePacked(_key, ".index", _value)))) - 1;
        if (index != -1) {
            index -= int(getUint(keccak256(abi.encodePacked(_key, ".start"))));
            if (index < 0) { index += int(capacity); }
        }
        return index;
    }

    // Add an item to the end of a queue
    // Requires that the queue is not at capacity
    // Requires that the item does not exist in the queue
    function enqueueItem(bytes32 _key, address _value) override external onlyLatestContract("addressQueueStorage", address(this)) onlyLatestNetworkContract {
        require(getLength(_key) < capacity.sub(1), "Queue is at capacity");
        require(getUint(keccak256(abi.encodePacked(_key, ".index", _value))) == 0, "Item already exists in queue");
        uint index = getUint(keccak256(abi.encodePacked(_key, ".end")));
        setAddress(keccak256(abi.encodePacked(_key, ".item", index)), _value);
        setUint(keccak256(abi.encodePacked(_key, ".index", _value)), index.add(1));
        index = index.add(1);
        if (index >= capacity) { index = index.sub(capacity); }
        setUint(keccak256(abi.encodePacked(_key, ".end")), index);
    }

    // Remove an item from the start of a queue and return it
    // Requires that the queue is not empty
    function dequeueItem(bytes32 _key) override external onlyLatestContract("addressQueueStorage", address(this)) onlyLatestNetworkContract returns (address) {
        require(getLength(_key) > 0, "Queue is empty");
        uint start = getUint(keccak256(abi.encodePacked(_key, ".start")));
        address item = getAddress(keccak256(abi.encodePacked(_key, ".item", start)));
        start = start.add(1);
        if (start >= capacity) { start = start.sub(capacity); }
        setUint(keccak256(abi.encodePacked(_key, ".index", item)), 0);
        setUint(keccak256(abi.encodePacked(_key, ".start")), start);
        return item;
    }

    // Remove an item from a queue
    // Swaps the item with the last item in the queue and truncates it; computationally cheap
    // Requires that the item exists in the queue
    function removeItem(bytes32 _key, address _value) override external onlyLatestContract("addressQueueStorage", address(this)) onlyLatestNetworkContract {
        uint index = getUint(keccak256(abi.encodePacked(_key, ".index", _value)));
        require(index-- > 0, "Item does not exist in queue");
        uint lastIndex = getUint(keccak256(abi.encodePacked(_key, ".end")));
        if (lastIndex == 0) lastIndex = capacity;
        lastIndex = lastIndex.sub(1);
        if (index != lastIndex) {
            address lastItem = getAddress(keccak256(abi.encodePacked(_key, ".item", lastIndex)));
            setAddress(keccak256(abi.encodePacked(_key, ".item", index)), lastItem);
            setUint(keccak256(abi.encodePacked(_key, ".index", lastItem)), index.add(1));
        }
        setUint(keccak256(abi.encodePacked(_key, ".index", _value)), 0);
        setUint(keccak256(abi.encodePacked(_key, ".end")), lastIndex);
    }

}

File 2 of 5 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 3 of 5 : RocketBase.sol
/**
  *       .
  *      / \
  *     |.'.|
  *     |'.'|
  *   ,'|   |`.
  *  |,-'-|-'-.|
  *   __|_| |         _        _      _____           _
  *  | ___ \|        | |      | |    | ___ \         | |
  *  | |_/ /|__   ___| | _____| |_   | |_/ /__   ___ | |
  *  |    // _ \ / __| |/ / _ \ __|  |  __/ _ \ / _ \| |
  *  | |\ \ (_) | (__|   <  __/ |_   | | | (_) | (_) | |
  *  \_| \_\___/ \___|_|\_\___|\__|  \_|  \___/ \___/|_|
  * +---------------------------------------------------+
  * |    DECENTRALISED STAKING PROTOCOL FOR ETHEREUM    |
  * +---------------------------------------------------+
  *
  *  Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to
  *  be community-owned, decentralised, and trustless.
  *
  *  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 4 of 5 : RocketStorageInterface.sol
/**
  *       .
  *      / \
  *     |.'.|
  *     |'.'|
  *   ,'|   |`.
  *  |,-'-|-'-.|
  *   __|_| |         _        _      _____           _
  *  | ___ \|        | |      | |    | ___ \         | |
  *  | |_/ /|__   ___| | _____| |_   | |_/ /__   ___ | |
  *  |    // _ \ / __| |/ / _ \ __|  |  __/ _ \ / _ \| |
  *  | |\ \ (_) | (__|   <  __/ |_   | | | (_) | (_) | |
  *  \_| \_\___/ \___|_|\_\___|\__|  \_|  \___/ \___/|_|
  * +---------------------------------------------------+
  * |    DECENTRALISED STAKING PROTOCOL FOR ETHEREUM    |
  * +---------------------------------------------------+
  *
  *  Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to
  *  be community-owned, decentralised, and trustless.
  *
  *  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 5 : AddressQueueStorageInterface.sol
/**
  *       .
  *      / \
  *     |.'.|
  *     |'.'|
  *   ,'|   |`.
  *  |,-'-|-'-.|
  *   __|_| |         _        _      _____           _
  *  | ___ \|        | |      | |    | ___ \         | |
  *  | |_/ /|__   ___| | _____| |_   | |_/ /__   ___ | |
  *  |    // _ \ / __| |/ / _ \ __|  |  __/ _ \ / _ \| |
  *  | |\ \ (_) | (__|   <  __/ |_   | | | (_) | (_) | |
  *  \_| \_\___/ \___|_|\_\___|\__|  \_|  \___/ \___/|_|
  * +---------------------------------------------------+
  * |    DECENTRALISED STAKING PROTOCOL FOR ETHEREUM    |
  * +---------------------------------------------------+
  *
  *  Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to
  *  be community-owned, decentralised, and trustless.
  *
  *  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 AddressQueueStorageInterface {
    function getLength(bytes32 _key) external view returns (uint);
    function getItem(bytes32 _key, uint _index) external view returns (address);
    function getIndexOf(bytes32 _key, address _value) external view returns (int);
    function enqueueItem(bytes32 _key, address _value) external;
    function dequeueItem(bytes32 _key) external returns (address);
    function removeItem(bytes32 _key, address _value) external;
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"contract RocketStorageInterface","name":"_rocketStorageAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"capacity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"}],"name":"dequeueItem","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"},{"internalType":"address","name":"_value","type":"address"}],"name":"enqueueItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"},{"internalType":"address","name":"_value","type":"address"}],"name":"getIndexOf","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"},{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"getItem","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"}],"name":"getLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_key","type":"bytes32"},{"internalType":"address","name":"_value","type":"address"}],"name":"removeItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"}]

608060405260008054610100600160a81b031916905534801561002157600080fd5b506040516119983803806119988339818101604052602081101561004457600080fd5b50516000805460ff196001600160a01b0390931661010002610100600160a81b031990911617919091166001179055611916806100826000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063dc5be9971161005b578063dc5be99714610139578063f3358a3a1461017f578063f79b36ad146101a2578063fd82e9dd146101db57610088565b806354fd4d501461008d5780635cfc1a51146100ab57806368ee92c9146100c557806380323a46146100fe575b600080fd5b6100956101f8565b6040805160ff9092168252519081900360200190f35b6100b3610201565b60408051918252519081900360200190f35b6100b3600480360360408110156100db57600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16610225565b6101376004803603604081101561011457600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16610352565b005b6101566004803603602081101561014f57600080fd5b503561090b565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6101566004803603604081101561019557600080fd5b5080359060200135610d6f565b610137600480360360408110156101b857600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16610e8a565b6100b3600480360360208110156101f157600080fd5b5035611444565b60005460ff1681565b7f800000000000000000000000000000000000000000000000000000000000000081565b60008060016102a2858560405160200180838152602001807f2e696e64657800000000000000000000000000000000000000000000000000008152506006018273ffffffffffffffffffffffffffffffffffffffff1660601b8152601401925050506040516020818303038152906040528051906020012061153a565b039050807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1461034b576040805160208082018790527f2e7374617274000000000000000000000000000000000000000000000000000082840152825160268184030181526046909201909252805191012061031d9061153a565b9003600081121561034b577f8000000000000000000000000000000000000000000000000000000000000000015b9392505050565b6040518060400160405280601381526020017f61646472657373517565756553746f7261676500000000000000000000000000815250306104458260405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083835b6020831061040557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016103c8565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052805190602001206115e0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146104de57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015290519081900360640190fd5b604080517f636f6e74726163742e65786973747300000000000000000000000000000000006020808301919091523360601b602f830152825160238184030181526043909201909252805191012061053590611654565b61058a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806118bd6024913960400191505060405180910390fd5b6105b57f800000000000000000000000000000000000000000000000000000000000000060016116c8565b6105be85611444565b1061062a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5175657565206973206174206361706163697479000000000000000000000000604482015290519081900360640190fd5b6040805160208082018790527f2e696e6465780000000000000000000000000000000000000000000000000000828401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606087901b1660468301528251603a818403018152605a90920190925280519101206106a79061153a565b1561071357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4974656d20616c72656164792065786973747320696e20717565756500000000604482015290519081900360640190fd5b6040805160208082018790527f2e656e64000000000000000000000000000000000000000000000000000000008284015282516024818403018152604490920190925280519101206000906107679061153a565b90506107c9858260405160200180838152602001807f2e6974656d00000000000000000000000000000000000000000000000000000081525060050182815260200192505050604051602081830303815290604052805190602001208561173f565b6040805160208082018890527f2e696e6465780000000000000000000000000000000000000000000000000000828401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606088901b1660468301528251603a818403018152605a90920190925280519101206108519061084c8360016117cf565b611843565b61085c8160016117cf565b90507f800000000000000000000000000000000000000000000000000000000000000081106108b2576108af817f80000000000000000000000000000000000000000000000000000000000000006116c8565b90505b6040805160208082018890527f2e656e64000000000000000000000000000000000000000000000000000000008284015282516024818403018152604490920190925280519101206109049082611843565b5050505050565b60006040518060400160405280601381526020017f61646472657373517565756553746f7261676500000000000000000000000000815250306109bf8260405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083836020831061040557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016103c8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a5857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015290519081900360640190fd5b604080517f636f6e74726163742e65786973747300000000000000000000000000000000006020808301919091523360601b602f8301528251602381840301815260439092019092528051910120610aaf90611654565b610b04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806118bd6024913960400191505060405180910390fd5b6000610b0f85611444565b11610b7b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f517565756520697320656d707479000000000000000000000000000000000000604482015290519081900360640190fd5b6040805160208082018790527f2e73746172740000000000000000000000000000000000000000000000000000828401528251602681840301815260469092019092528051910120600090610bcf9061153a565b90506000610c32868360405160200180838152602001807f2e6974656d00000000000000000000000000000000000000000000000000000081525060050182815260200192505050604051602081830303815290604052805190602001206115e0565b9050610c3f8260016117cf565b91507f80000000000000000000000000000000000000000000000000000000000000008210610c9557610c92827f80000000000000000000000000000000000000000000000000000000000000006116c8565b91505b6040805160208082018990527f2e696e6465780000000000000000000000000000000000000000000000000000828401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b1660468301528251603a818403018152605a9092019092528051910120610d14906000611843565b6040805160208082018990527f2e73746172740000000000000000000000000000000000000000000000000000828401528251602681840301815260469092019092528051910120610d669083611843565b95945050505050565b600080610dd383610dcd8660405160200180828152602001807f2e737461727400000000000000000000000000000000000000000000000000008152506006019150506040516020818303038152906040528051906020012061153a565b906117cf565b90507f80000000000000000000000000000000000000000000000000000000000000008110610e2957610e26817f80000000000000000000000000000000000000000000000000000000000000006116c8565b90505b6040805160208082018790527f2e6974656d0000000000000000000000000000000000000000000000000000008284015260458083018590528351808403909101815260659092019092528051910120610e82906115e0565b949350505050565b6040518060400160405280601381526020017f61646472657373517565756553746f726167650000000000000000000000000081525030610f3c8260405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083836020831061040557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016103c8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fd557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015290519081900360640190fd5b604080517f636f6e74726163742e65786973747300000000000000000000000000000000006020808301919091523360601b602f830152825160238184030181526043909201909252805191012061102c90611654565b611081576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806118bd6024913960400191505060405180910390fd5b6040805160208082018790527f2e696e6465780000000000000000000000000000000000000000000000000000828401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606087901b1660468301528251603a818403018152605a90920190925280519101206000906111019061153a565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101915061119157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4974656d20646f6573206e6f7420657869737420696e20717565756500000000604482015290519081900360640190fd5b6040805160208082018890527f2e656e64000000000000000000000000000000000000000000000000000000008284015282516024818403018152604490920190925280519101206000906111e59061153a565b90508061120f57507f80000000000000000000000000000000000000000000000000000000000000005b61121a8160016116c8565b905080821461136b576000611284878360405160200180838152602001807f2e6974656d00000000000000000000000000000000000000000000000000000081525060050182815260200192505050604051602081830303815290604052805190602001206115e0565b90506112e6878460405160200180838152602001807f2e6974656d00000000000000000000000000000000000000000000000000000081525060050182815260200192505050604051602081830303815290604052805190602001208261173f565b6040805160208082018a90527f2e696e6465780000000000000000000000000000000000000000000000000000828401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b1660468301528251603a818403018152605a90920190925280519101206113699061084c8560016117cf565b505b6040805160208082018990527f2e696e6465780000000000000000000000000000000000000000000000000000828401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606089901b1660468301528251603a818403018152605a90920190925280519101206113ea906000611843565b6040805160208082018990527f2e656e640000000000000000000000000000000000000000000000000000000082840152825160248184030181526044909201909252805191012061143c9082611843565b505050505050565b60008061149e8360405160200180828152602001807f2e737461727400000000000000000000000000000000000000000000000000008152506006019150506040516020818303038152906040528051906020012061153a565b905060006114f98460405160200180828152602001807f2e656e64000000000000000000000000000000000000000000000000000000008152506004019150506040516020818303038152906040528051906020012061153a565b9050818110156115305761152d817f80000000000000000000000000000000000000000000000000000000000000006117cf565b90505b610e8281836116c8565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bd02d0f5836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156115ae57600080fd5b505afa1580156115c2573d6000803e3d6000fd5b505050506040513d60208110156115d857600080fd5b505192915050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166321f8a721836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156115ae57600080fd5b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ae1cfca836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156115ae57600080fd5b60008282111561173957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008054604080517fca446dd90000000000000000000000000000000000000000000000000000000081526004810186905273ffffffffffffffffffffffffffffffffffffffff858116602483015291516101009093049091169263ca446dd99260448084019382900301818387803b1580156117bb57600080fd5b505af115801561143c573d6000803e3d6000fd5b60008282018381101561034b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008054604080517fe2a4853a0000000000000000000000000000000000000000000000000000000081526004810186905260248101859052905161010090920473ffffffffffffffffffffffffffffffffffffffff169263e2a4853a9260448084019382900301818387803b1580156117bb57600080fdfe496e76616c6964206f72206f75746461746564206e6574776f726b20636f6e7472616374a2646970667358221220721c84baa12ceb48bbe4801f0ba9d236a26fba0fa1d912faedaea051c54e383464736f6c634300070600330000000000000000000000001d8f8f00cfa6758d7be78336684788fb0ee0fa46

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100885760003560e01c8063dc5be9971161005b578063dc5be99714610139578063f3358a3a1461017f578063f79b36ad146101a2578063fd82e9dd146101db57610088565b806354fd4d501461008d5780635cfc1a51146100ab57806368ee92c9146100c557806380323a46146100fe575b600080fd5b6100956101f8565b6040805160ff9092168252519081900360200190f35b6100b3610201565b60408051918252519081900360200190f35b6100b3600480360360408110156100db57600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16610225565b6101376004803603604081101561011457600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16610352565b005b6101566004803603602081101561014f57600080fd5b503561090b565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6101566004803603604081101561019557600080fd5b5080359060200135610d6f565b610137600480360360408110156101b857600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16610e8a565b6100b3600480360360208110156101f157600080fd5b5035611444565b60005460ff1681565b7f800000000000000000000000000000000000000000000000000000000000000081565b60008060016102a2858560405160200180838152602001807f2e696e64657800000000000000000000000000000000000000000000000000008152506006018273ffffffffffffffffffffffffffffffffffffffff1660601b8152601401925050506040516020818303038152906040528051906020012061153a565b039050807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1461034b576040805160208082018790527f2e7374617274000000000000000000000000000000000000000000000000000082840152825160268184030181526046909201909252805191012061031d9061153a565b9003600081121561034b577f8000000000000000000000000000000000000000000000000000000000000000015b9392505050565b6040518060400160405280601381526020017f61646472657373517565756553746f7261676500000000000000000000000000815250306104458260405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083835b6020831061040557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016103c8565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052805190602001206115e0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146104de57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015290519081900360640190fd5b604080517f636f6e74726163742e65786973747300000000000000000000000000000000006020808301919091523360601b602f830152825160238184030181526043909201909252805191012061053590611654565b61058a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806118bd6024913960400191505060405180910390fd5b6105b57f800000000000000000000000000000000000000000000000000000000000000060016116c8565b6105be85611444565b1061062a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5175657565206973206174206361706163697479000000000000000000000000604482015290519081900360640190fd5b6040805160208082018790527f2e696e6465780000000000000000000000000000000000000000000000000000828401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606087901b1660468301528251603a818403018152605a90920190925280519101206106a79061153a565b1561071357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4974656d20616c72656164792065786973747320696e20717565756500000000604482015290519081900360640190fd5b6040805160208082018790527f2e656e64000000000000000000000000000000000000000000000000000000008284015282516024818403018152604490920190925280519101206000906107679061153a565b90506107c9858260405160200180838152602001807f2e6974656d00000000000000000000000000000000000000000000000000000081525060050182815260200192505050604051602081830303815290604052805190602001208561173f565b6040805160208082018890527f2e696e6465780000000000000000000000000000000000000000000000000000828401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606088901b1660468301528251603a818403018152605a90920190925280519101206108519061084c8360016117cf565b611843565b61085c8160016117cf565b90507f800000000000000000000000000000000000000000000000000000000000000081106108b2576108af817f80000000000000000000000000000000000000000000000000000000000000006116c8565b90505b6040805160208082018890527f2e656e64000000000000000000000000000000000000000000000000000000008284015282516024818403018152604490920190925280519101206109049082611843565b5050505050565b60006040518060400160405280601381526020017f61646472657373517565756553746f7261676500000000000000000000000000815250306109bf8260405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083836020831061040557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016103c8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a5857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015290519081900360640190fd5b604080517f636f6e74726163742e65786973747300000000000000000000000000000000006020808301919091523360601b602f8301528251602381840301815260439092019092528051910120610aaf90611654565b610b04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806118bd6024913960400191505060405180910390fd5b6000610b0f85611444565b11610b7b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f517565756520697320656d707479000000000000000000000000000000000000604482015290519081900360640190fd5b6040805160208082018790527f2e73746172740000000000000000000000000000000000000000000000000000828401528251602681840301815260469092019092528051910120600090610bcf9061153a565b90506000610c32868360405160200180838152602001807f2e6974656d00000000000000000000000000000000000000000000000000000081525060050182815260200192505050604051602081830303815290604052805190602001206115e0565b9050610c3f8260016117cf565b91507f80000000000000000000000000000000000000000000000000000000000000008210610c9557610c92827f80000000000000000000000000000000000000000000000000000000000000006116c8565b91505b6040805160208082018990527f2e696e6465780000000000000000000000000000000000000000000000000000828401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b1660468301528251603a818403018152605a9092019092528051910120610d14906000611843565b6040805160208082018990527f2e73746172740000000000000000000000000000000000000000000000000000828401528251602681840301815260469092019092528051910120610d669083611843565b95945050505050565b600080610dd383610dcd8660405160200180828152602001807f2e737461727400000000000000000000000000000000000000000000000000008152506006019150506040516020818303038152906040528051906020012061153a565b906117cf565b90507f80000000000000000000000000000000000000000000000000000000000000008110610e2957610e26817f80000000000000000000000000000000000000000000000000000000000000006116c8565b90505b6040805160208082018790527f2e6974656d0000000000000000000000000000000000000000000000000000008284015260458083018590528351808403909101815260659092019092528051910120610e82906115e0565b949350505050565b6040518060400160405280601381526020017f61646472657373517565756553746f726167650000000000000000000000000081525030610f3c8260405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083836020831061040557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016103c8565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fd557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015290519081900360640190fd5b604080517f636f6e74726163742e65786973747300000000000000000000000000000000006020808301919091523360601b602f830152825160238184030181526043909201909252805191012061102c90611654565b611081576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806118bd6024913960400191505060405180910390fd5b6040805160208082018790527f2e696e6465780000000000000000000000000000000000000000000000000000828401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606087901b1660468301528251603a818403018152605a90920190925280519101206000906111019061153a565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101915061119157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4974656d20646f6573206e6f7420657869737420696e20717565756500000000604482015290519081900360640190fd5b6040805160208082018890527f2e656e64000000000000000000000000000000000000000000000000000000008284015282516024818403018152604490920190925280519101206000906111e59061153a565b90508061120f57507f80000000000000000000000000000000000000000000000000000000000000005b61121a8160016116c8565b905080821461136b576000611284878360405160200180838152602001807f2e6974656d00000000000000000000000000000000000000000000000000000081525060050182815260200192505050604051602081830303815290604052805190602001206115e0565b90506112e6878460405160200180838152602001807f2e6974656d00000000000000000000000000000000000000000000000000000081525060050182815260200192505050604051602081830303815290604052805190602001208261173f565b6040805160208082018a90527f2e696e6465780000000000000000000000000000000000000000000000000000828401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b1660468301528251603a818403018152605a90920190925280519101206113699061084c8560016117cf565b505b6040805160208082018990527f2e696e6465780000000000000000000000000000000000000000000000000000828401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606089901b1660468301528251603a818403018152605a90920190925280519101206113ea906000611843565b6040805160208082018990527f2e656e640000000000000000000000000000000000000000000000000000000082840152825160248184030181526044909201909252805191012061143c9082611843565b505050505050565b60008061149e8360405160200180828152602001807f2e737461727400000000000000000000000000000000000000000000000000008152506006019150506040516020818303038152906040528051906020012061153a565b905060006114f98460405160200180828152602001807f2e656e64000000000000000000000000000000000000000000000000000000008152506004019150506040516020818303038152906040528051906020012061153a565b9050818110156115305761152d817f80000000000000000000000000000000000000000000000000000000000000006117cf565b90505b610e8281836116c8565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bd02d0f5836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156115ae57600080fd5b505afa1580156115c2573d6000803e3d6000fd5b505050506040513d60208110156115d857600080fd5b505192915050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166321f8a721836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156115ae57600080fd5b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ae1cfca836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156115ae57600080fd5b60008282111561173957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008054604080517fca446dd90000000000000000000000000000000000000000000000000000000081526004810186905273ffffffffffffffffffffffffffffffffffffffff858116602483015291516101009093049091169263ca446dd99260448084019382900301818387803b1580156117bb57600080fd5b505af115801561143c573d6000803e3d6000fd5b60008282018381101561034b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008054604080517fe2a4853a0000000000000000000000000000000000000000000000000000000081526004810186905260248101859052905161010090920473ffffffffffffffffffffffffffffffffffffffff169263e2a4853a9260448084019382900301818387803b1580156117bb57600080fdfe496e76616c6964206f72206f75746461746564206e6574776f726b20636f6e7472616374a2646970667358221220721c84baa12ceb48bbe4801f0ba9d236a26fba0fa1d912faedaea051c54e383464736f6c63430007060033

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

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.