Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 5,483 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Submit Prices | 20102486 | 225 days ago | IN | 0 ETH | 0.00029534 | ||||
Submit Prices | 20102482 | 225 days ago | IN | 0 ETH | 0.00029827 | ||||
Submit Prices | 20102481 | 225 days ago | IN | 0 ETH | 0.00088841 | ||||
Submit Prices | 20102478 | 225 days ago | IN | 0 ETH | 0.0007982 | ||||
Submit Prices | 20102476 | 225 days ago | IN | 0 ETH | 0.00082166 | ||||
Submit Prices | 20102476 | 225 days ago | IN | 0 ETH | 0.00082166 | ||||
Submit Prices | 20102475 | 225 days ago | IN | 0 ETH | 0.00082265 | ||||
Submit Prices | 20102473 | 225 days ago | IN | 0 ETH | 0.0008123 | ||||
Submit Prices | 20102471 | 225 days ago | IN | 0 ETH | 0.00079813 | ||||
Submit Prices | 20102470 | 225 days ago | IN | 0 ETH | 0.00081412 | ||||
Submit Prices | 20102465 | 225 days ago | IN | 0 ETH | 0.00082573 | ||||
Submit Prices | 20102461 | 225 days ago | IN | 0 ETH | 0.00093312 | ||||
Submit Prices | 20096732 | 226 days ago | IN | 0 ETH | 0.00034158 | ||||
Submit Prices | 20096729 | 226 days ago | IN | 0 ETH | 0.00099987 | ||||
Submit Prices | 20096727 | 226 days ago | IN | 0 ETH | 0.00086913 | ||||
Submit Prices | 20096726 | 226 days ago | IN | 0 ETH | 0.00092612 | ||||
Submit Prices | 20096725 | 226 days ago | IN | 0 ETH | 0.00091014 | ||||
Submit Prices | 20096722 | 226 days ago | IN | 0 ETH | 0.00091813 | ||||
Submit Prices | 20096718 | 226 days ago | IN | 0 ETH | 0.00093196 | ||||
Submit Prices | 20096717 | 226 days ago | IN | 0 ETH | 0.0009201 | ||||
Submit Prices | 20096709 | 226 days ago | IN | 0 ETH | 0.00098181 | ||||
Submit Prices | 20096707 | 226 days ago | IN | 0 ETH | 0.00097574 | ||||
Submit Prices | 20096706 | 226 days ago | IN | 0 ETH | 0.00110952 | ||||
Submit Prices | 20090953 | 227 days ago | IN | 0 ETH | 0.00084253 | ||||
Submit Prices | 20090947 | 227 days ago | IN | 0 ETH | 0.00249384 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
||||
---|---|---|---|---|---|---|---|
20107633 | 225 days ago | 0 ETH | |||||
20107633 | 225 days ago | 0 ETH | |||||
20107464 | 225 days ago | 0 ETH | |||||
20107464 | 225 days ago | 0 ETH | |||||
20107459 | 225 days ago | 0 ETH | |||||
20107459 | 225 days ago | 0 ETH | |||||
20106727 | 225 days ago | 0 ETH | |||||
20106727 | 225 days ago | 0 ETH | |||||
20106725 | 225 days ago | 0 ETH | |||||
20106725 | 225 days ago | 0 ETH | |||||
20106723 | 225 days ago | 0 ETH | |||||
20106723 | 225 days ago | 0 ETH | |||||
20106721 | 225 days ago | 0 ETH | |||||
20106721 | 225 days ago | 0 ETH | |||||
20106719 | 225 days ago | 0 ETH | |||||
20106719 | 225 days ago | 0 ETH | |||||
20106717 | 225 days ago | 0 ETH | |||||
20106717 | 225 days ago | 0 ETH | |||||
20106715 | 225 days ago | 0 ETH | |||||
20106715 | 225 days ago | 0 ETH | |||||
20106714 | 225 days ago | 0 ETH | |||||
20106714 | 225 days ago | 0 ETH | |||||
20106712 | 225 days ago | 0 ETH | |||||
20106712 | 225 days ago | 0 ETH | |||||
20106710 | 225 days ago | 0 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
RocketNetworkPrices
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity Standard Json-Input format)
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM 2.0 | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind ETH2 Proof of Stake protocol, designed to be community owned, * decentralised, trustless and compatible with staking in Ethereum 2.0. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authors: David Rugendyke, Jake Pospischil, Kane Wallmann, Darren Langley, Joe Clapis, Nick Doherty * */ // SPDX-License-Identifier: GPL-3.0-only pragma solidity 0.7.6; import "@openzeppelin/contracts/math/SafeMath.sol"; import "../RocketBase.sol"; import "../../interface/dao/node/RocketDAONodeTrustedInterface.sol"; import "../../interface/network/RocketNetworkPricesInterface.sol"; import "../../interface/dao/protocol/settings/RocketDAOProtocolSettingsNetworkInterface.sol"; /// @notice Oracle contract for network token price data contract RocketNetworkPrices is RocketBase, RocketNetworkPricesInterface { // Libs using SafeMath for uint; // Events event PricesSubmitted(address indexed from, uint256 block, uint256 rplPrice, uint256 time); event PricesUpdated(uint256 block, uint256 rplPrice, uint256 time); constructor(RocketStorageInterface _rocketStorageAddress) RocketBase(_rocketStorageAddress) { // Set contract version version = 2; // On initial deploy, preset RPL price to 0.01 if (getRPLPrice() == 0) { setRPLPrice(0.01 ether); } } /// @notice Returns the block number which prices are current for function getPricesBlock() override public view returns (uint256) { return getUint(keccak256("network.prices.updated.block")); } /// @dev Sets the block number which prices are current for function setPricesBlock(uint256 _value) private { setUint(keccak256("network.prices.updated.block"), _value); } /// @notice Returns the current network RPL price in ETH function getRPLPrice() override public view returns (uint256) { return getUint(keccak256("network.prices.rpl")); } /// @dev Sets the current network RPL price in ETH function setRPLPrice(uint256 _value) private { setUint(keccak256("network.prices.rpl"), _value); } /// @notice Submit network price data for a block /// Only accepts calls from trusted (oracle) nodes /// @param _block The block this price submission is for /// @param _rplPrice The price of RPL at the given block function submitPrices(uint256 _block, uint256 _rplPrice) override external onlyLatestContract("rocketNetworkPrices", address(this)) onlyTrustedNode(msg.sender) { // Check settings RocketDAOProtocolSettingsNetworkInterface rocketDAOProtocolSettingsNetwork = RocketDAOProtocolSettingsNetworkInterface(getContractAddress("rocketDAOProtocolSettingsNetwork")); require(rocketDAOProtocolSettingsNetwork.getSubmitPricesEnabled(), "Submitting prices is currently disabled"); // Check block require(_block < block.number, "Prices can not be submitted for a future block"); require(_block > getPricesBlock(), "Network prices for an equal or higher block are set"); // Get submission keys bytes32 nodeSubmissionKey = keccak256(abi.encodePacked("network.prices.submitted.node.key", msg.sender, _block, _rplPrice)); bytes32 submissionCountKey = keccak256(abi.encodePacked("network.prices.submitted.count", _block, _rplPrice)); // Check & update node submission status require(!getBool(nodeSubmissionKey), "Duplicate submission from node"); setBool(nodeSubmissionKey, true); setBool(keccak256(abi.encodePacked("network.prices.submitted.node", msg.sender, _block)), true); // Increment submission count uint256 submissionCount = getUint(submissionCountKey).add(1); setUint(submissionCountKey, submissionCount); // Emit prices submitted event emit PricesSubmitted(msg.sender, _block, _rplPrice, block.timestamp); // Check submission count & update network prices RocketDAONodeTrustedInterface rocketDAONodeTrusted = RocketDAONodeTrustedInterface(getContractAddress("rocketDAONodeTrusted")); if (calcBase.mul(submissionCount).div(rocketDAONodeTrusted.getMemberCount()) >= rocketDAOProtocolSettingsNetwork.getNodeConsensusThreshold()) { // Update the price updatePrices(_block, _rplPrice); } } /// @notice Executes updatePrices if consensus threshold is reached /// @param _block The block to execute price update for /// @param _rplPrice The price of RPL at the given block function executeUpdatePrices(uint256 _block, uint256 _rplPrice) override external onlyLatestContract("rocketNetworkPrices", address(this)) { // Check settings RocketDAOProtocolSettingsNetworkInterface rocketDAOProtocolSettingsNetwork = RocketDAOProtocolSettingsNetworkInterface(getContractAddress("rocketDAOProtocolSettingsNetwork")); require(rocketDAOProtocolSettingsNetwork.getSubmitPricesEnabled(), "Submitting prices is currently disabled"); // Check block require(_block < block.number, "Prices can not be submitted for a future block"); require(_block > getPricesBlock(), "Network prices for an equal or higher block are set"); // Get submission keys bytes32 submissionCountKey = keccak256(abi.encodePacked("network.prices.submitted.count", _block, _rplPrice)); // Get submission count uint256 submissionCount = getUint(submissionCountKey); // Check submission count & update network prices RocketDAONodeTrustedInterface rocketDAONodeTrusted = RocketDAONodeTrustedInterface(getContractAddress("rocketDAONodeTrusted")); require(calcBase.mul(submissionCount).div(rocketDAONodeTrusted.getMemberCount()) >= rocketDAOProtocolSettingsNetwork.getNodeConsensusThreshold(), "Consensus has not been reached"); // Update the price updatePrices(_block, _rplPrice); } /// @dev Update network price data /// @param _block The block to update price for /// @param _rplPrice The price of RPL at the given block function updatePrices(uint256 _block, uint256 _rplPrice) private { // Update price setRPLPrice(_rplPrice); setPricesBlock(_block); // Emit prices updated event emit PricesUpdated(_block, _rplPrice, block.timestamp); } /// @notice Returns the latest block number that oracles should be reporting prices for function getLatestReportableBlock() override external view returns (uint256) { // Load contracts RocketDAOProtocolSettingsNetworkInterface rocketDAOProtocolSettingsNetwork = RocketDAOProtocolSettingsNetworkInterface(getContractAddress("rocketDAOProtocolSettingsNetwork")); // Get the block prices were lasted updated and the update frequency uint256 updateFrequency = rocketDAOProtocolSettingsNetwork.getSubmitPricesFrequency(); // Calculate the last reportable block based on update frequency return block.number.div(updateFrequency).mul(updateFrequency); } }
// 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; } }
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM 2.0 | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind ETH2 Proof of Stake protocol, designed to be community owned, * decentralised, trustless and compatible with staking in Ethereum 2.0. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authors: David Rugendyke, Jake Pospischil, Kane Wallmann, Darren Langley, Joe Clapis, Nick Doherty * */ pragma solidity >0.5.0 <0.9.0; // SPDX-License-Identifier: GPL-3.0-only interface RocketStorageInterface { // Deploy status function getDeployedStatus() external view returns (bool); // Guardian function getGuardian() external view returns(address); function setGuardian(address _newAddress) external; function confirmGuardian() external; // Getters function getAddress(bytes32 _key) external view returns (address); function getUint(bytes32 _key) external view returns (uint); function getString(bytes32 _key) external view returns (string memory); function getBytes(bytes32 _key) external view returns (bytes memory); function getBool(bytes32 _key) external view returns (bool); function getInt(bytes32 _key) external view returns (int); function getBytes32(bytes32 _key) external view returns (bytes32); // Setters function setAddress(bytes32 _key, address _value) external; function setUint(bytes32 _key, uint _value) external; function setString(bytes32 _key, string calldata _value) external; function setBytes(bytes32 _key, bytes calldata _value) external; function setBool(bytes32 _key, bool _value) external; function setInt(bytes32 _key, int _value) external; function setBytes32(bytes32 _key, bytes32 _value) external; // Deleters function deleteAddress(bytes32 _key) external; function deleteUint(bytes32 _key) external; function deleteString(bytes32 _key) external; function deleteBytes(bytes32 _key) external; function deleteBool(bytes32 _key) external; function deleteInt(bytes32 _key) external; function deleteBytes32(bytes32 _key) external; // Arithmetic function addUint(bytes32 _key, uint256 _amount) external; function subUint(bytes32 _key, uint256 _amount) external; // Protected storage function getNodeWithdrawalAddress(address _nodeAddress) external view returns (address); function getNodePendingWithdrawalAddress(address _nodeAddress) external view returns (address); function setWithdrawalAddress(address _nodeAddress, address _newWithdrawalAddress, bool _confirm) external; function confirmWithdrawalAddress(address _nodeAddress) external; }
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM 2.0 | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind ETH2 Proof of Stake protocol, designed to be community owned, * decentralised, trustless and compatible with staking in Ethereum 2.0. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authors: David Rugendyke, Jake Pospischil, Kane Wallmann, Darren Langley, Joe Clapis, Nick Doherty * */ pragma solidity 0.7.6; // SPDX-License-Identifier: GPL-3.0-only import "../interface/RocketStorageInterface.sol"; /// @title Base settings / modifiers for each contract in Rocket Pool /// @author David Rugendyke abstract contract RocketBase { // Calculate using this as the base uint256 constant calcBase = 1 ether; // Version of the contract uint8 public version; // The main storage contract where primary persistant storage is maintained RocketStorageInterface rocketStorage = RocketStorageInterface(0); /*** Modifiers **********************************************************/ /** * @dev Throws if called by any sender that doesn't match a Rocket Pool network contract */ modifier onlyLatestNetworkContract() { require(getBool(keccak256(abi.encodePacked("contract.exists", msg.sender))), "Invalid or outdated network contract"); _; } /** * @dev Throws if called by any sender that doesn't match one of the supplied contract or is the latest version of that contract */ modifier onlyLatestContract(string memory _contractName, address _contractAddress) { require(_contractAddress == getAddress(keccak256(abi.encodePacked("contract.address", _contractName))), "Invalid or outdated contract"); _; } /** * @dev Throws if called by any sender that isn't a registered node */ modifier onlyRegisteredNode(address _nodeAddress) { require(getBool(keccak256(abi.encodePacked("node.exists", _nodeAddress))), "Invalid node"); _; } /** * @dev Throws if called by any sender that isn't a trusted node DAO member */ modifier onlyTrustedNode(address _nodeAddress) { require(getBool(keccak256(abi.encodePacked("dao.trustednodes.", "member", _nodeAddress))), "Invalid trusted node"); _; } /** * @dev Throws if called by any sender that isn't a registered minipool */ modifier onlyRegisteredMinipool(address _minipoolAddress) { require(getBool(keccak256(abi.encodePacked("minipool.exists", _minipoolAddress))), "Invalid minipool"); _; } /** * @dev Throws if called by any account other than a guardian account (temporary account allowed access to settings before DAO is fully enabled) */ modifier onlyGuardian() { require(msg.sender == rocketStorage.getGuardian(), "Account is not a temporary guardian"); _; } /*** Methods **********************************************************/ /// @dev Set the main Rocket Storage address constructor(RocketStorageInterface _rocketStorageAddress) { // Update the contract address rocketStorage = RocketStorageInterface(_rocketStorageAddress); } /// @dev Get the address of a network contract by name function getContractAddress(string memory _contractName) internal view returns (address) { // Get the current contract address address contractAddress = getAddress(keccak256(abi.encodePacked("contract.address", _contractName))); // Check it require(contractAddress != address(0x0), "Contract not found"); // Return return contractAddress; } /// @dev Get the address of a network contract by name (returns address(0x0) instead of reverting if contract does not exist) function getContractAddressUnsafe(string memory _contractName) internal view returns (address) { // Get the current contract address address contractAddress = getAddress(keccak256(abi.encodePacked("contract.address", _contractName))); // Return return contractAddress; } /// @dev Get the name of a network contract by address function getContractName(address _contractAddress) internal view returns (string memory) { // Get the contract name string memory contractName = getString(keccak256(abi.encodePacked("contract.name", _contractAddress))); // Check it require(bytes(contractName).length > 0, "Contract not found"); // Return return contractName; } /// @dev Get revert error message from a .call method function getRevertMsg(bytes memory _returnData) internal pure returns (string memory) { // If the _res length is less than 68, then the transaction failed silently (without a revert message) if (_returnData.length < 68) return "Transaction reverted silently"; assembly { // Slice the sighash. _returnData := add(_returnData, 0x04) } return abi.decode(_returnData, (string)); // All that remains is the revert string } /*** Rocket Storage Methods ****************************************/ // Note: Unused helpers have been removed to keep contract sizes down /// @dev Storage get methods function getAddress(bytes32 _key) internal view returns (address) { return rocketStorage.getAddress(_key); } function getUint(bytes32 _key) internal view returns (uint) { return rocketStorage.getUint(_key); } function getString(bytes32 _key) internal view returns (string memory) { return rocketStorage.getString(_key); } function getBytes(bytes32 _key) internal view returns (bytes memory) { return rocketStorage.getBytes(_key); } function getBool(bytes32 _key) internal view returns (bool) { return rocketStorage.getBool(_key); } function getInt(bytes32 _key) internal view returns (int) { return rocketStorage.getInt(_key); } function getBytes32(bytes32 _key) internal view returns (bytes32) { return rocketStorage.getBytes32(_key); } /// @dev Storage set methods function setAddress(bytes32 _key, address _value) internal { rocketStorage.setAddress(_key, _value); } function setUint(bytes32 _key, uint _value) internal { rocketStorage.setUint(_key, _value); } function setString(bytes32 _key, string memory _value) internal { rocketStorage.setString(_key, _value); } function setBytes(bytes32 _key, bytes memory _value) internal { rocketStorage.setBytes(_key, _value); } function setBool(bytes32 _key, bool _value) internal { rocketStorage.setBool(_key, _value); } function setInt(bytes32 _key, int _value) internal { rocketStorage.setInt(_key, _value); } function setBytes32(bytes32 _key, bytes32 _value) internal { rocketStorage.setBytes32(_key, _value); } /// @dev Storage delete methods function deleteAddress(bytes32 _key) internal { rocketStorage.deleteAddress(_key); } function deleteUint(bytes32 _key) internal { rocketStorage.deleteUint(_key); } function deleteString(bytes32 _key) internal { rocketStorage.deleteString(_key); } function deleteBytes(bytes32 _key) internal { rocketStorage.deleteBytes(_key); } function deleteBool(bytes32 _key) internal { rocketStorage.deleteBool(_key); } function deleteInt(bytes32 _key) internal { rocketStorage.deleteInt(_key); } function deleteBytes32(bytes32 _key) internal { rocketStorage.deleteBytes32(_key); } /// @dev Storage arithmetic methods function addUint(bytes32 _key, uint256 _amount) internal { rocketStorage.addUint(_key, _amount); } function subUint(bytes32 _key, uint256 _amount) internal { rocketStorage.subUint(_key, _amount); } }
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM 2.0 | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind ETH2 Proof of Stake protocol, designed to be community owned, * decentralised, trustless and compatible with staking in Ethereum 2.0. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authors: David Rugendyke, Jake Pospischil, Kane Wallmann, Darren Langley, Joe Clapis, Nick Doherty * */ pragma solidity >0.5.0 <0.9.0; // SPDX-License-Identifier: GPL-3.0-only interface RocketDAONodeTrustedInterface { function getBootstrapModeDisabled() external view returns (bool); function getMemberQuorumVotesRequired() external view returns (uint256); function getMemberAt(uint256 _index) external view returns (address); function getMemberCount() external view returns (uint256); function getMemberMinRequired() external view returns (uint256); function getMemberIsValid(address _nodeAddress) external view returns (bool); function getMemberLastProposalTime(address _nodeAddress) external view returns (uint256); function getMemberID(address _nodeAddress) external view returns (string memory); function getMemberUrl(address _nodeAddress) external view returns (string memory); function getMemberJoinedTime(address _nodeAddress) external view returns (uint256); function getMemberProposalExecutedTime(string memory _proposalType, address _nodeAddress) external view returns (uint256); function getMemberRPLBondAmount(address _nodeAddress) external view returns (uint256); function getMemberIsChallenged(address _nodeAddress) external view returns (bool); function getMemberUnbondedValidatorCount(address _nodeAddress) external view returns (uint256); function incrementMemberUnbondedValidatorCount(address _nodeAddress) external; function decrementMemberUnbondedValidatorCount(address _nodeAddress) external; function bootstrapMember(string memory _id, string memory _url, address _nodeAddress) external; function bootstrapSettingUint(string memory _settingContractName, string memory _settingPath, uint256 _value) external; function bootstrapSettingBool(string memory _settingContractName, string memory _settingPath, bool _value) external; function bootstrapUpgrade(string memory _type, string memory _name, string memory _contractAbi, address _contractAddress) external; function bootstrapDisable(bool _confirmDisableBootstrapMode) external; function memberJoinRequired(string memory _id, string memory _url) external; }
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM 2.0 | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind ETH2 Proof of Stake protocol, designed to be community owned, * decentralised, trustless and compatible with staking in Ethereum 2.0. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authors: David Rugendyke, Jake Pospischil, Kane Wallmann, Darren Langley, Joe Clapis, Nick Doherty * */ pragma solidity >0.5.0 <0.9.0; // SPDX-License-Identifier: GPL-3.0-only interface RocketNetworkPricesInterface { function getPricesBlock() external view returns (uint256); function getRPLPrice() external view returns (uint256); function getLatestReportableBlock() external view returns (uint256); function submitPrices(uint256 _block, uint256 _rplPrice) external; function executeUpdatePrices(uint256 _block, uint256 _rplPrice) external; }
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM 2.0 | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind ETH2 Proof of Stake protocol, designed to be community owned, * decentralised, trustless and compatible with staking in Ethereum 2.0. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authors: David Rugendyke, Jake Pospischil, Kane Wallmann, Darren Langley, Joe Clapis, Nick Doherty * */ pragma solidity >0.5.0 <0.9.0; // SPDX-License-Identifier: GPL-3.0-only interface 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); }
{ "optimizer": { "enabled": true, "runs": 15000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract RocketStorageInterface","name":"_rocketStorageAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rplPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"PricesSubmitted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rplPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"PricesUpdated","type":"event"},{"inputs":[{"internalType":"uint256","name":"_block","type":"uint256"},{"internalType":"uint256","name":"_rplPrice","type":"uint256"}],"name":"executeUpdatePrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getLatestReportableBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPricesBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRPLPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_block","type":"uint256"},{"internalType":"uint256","name":"_rplPrice","type":"uint256"}],"name":"submitPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260008054610100600160a81b03191690553480156200002257600080fd5b50604051620017c8380380620017c8833981810160405260208110156200004857600080fd5b5051600080546002610100600160a81b03199091166101006001600160a01b038516021760ff19161790556200007d6200009b565b620000945762000094662386f26fc10000620000bc565b50620001da565b6000620000b7600080516020620017a8833981519152620000da565b905090565b620000d7600080516020620017a88339815191528262000169565b50565b60008060019054906101000a90046001600160a01b03166001600160a01b031663bd02d0f5836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156200013557600080fd5b505afa1580156200014a573d6000803e3d6000fd5b505050506040513d60208110156200016157600080fd5b505192915050565b6000805460408051637152429d60e11b8152600481018690526024810185905290516101009092046001600160a01b03169263e2a4853a9260448084019382900301818387803b158015620001bd57600080fd5b505af1158015620001d2573d6000803e3d6000fd5b505050505050565b6115be80620001ea6000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c8063724d4a0911610050578063724d4a09146100d45780639fb64f99146100dc578063a9bb16ed146100ff57610072565b80630fe40bcd1461007757806329ed902a1461009157806354fd4d50146100b6575b600080fd5b61007f610107565b60408051918252519081900360200190f35b6100b4600480360360408110156100a757600080fd5b5080359060200135610137565b005b6100be6108ea565b6040805160ff9092168252519081900360200190f35b61007f6108f3565b6100b4600480360360408110156100f257600080fd5b508035906020013561091e565b61007f610e2a565b60006101327f0a4041fbc2d754332ff77c5da54a4a6dd3a619121f939491b4636bd721ac417d610efe565b905090565b6040518060400160405280601381526020017f726f636b65744e6574776f726b507269636573000000000000000000000000008152503061022a8260405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083835b602083106101ea57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016101ad565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120610fa4565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146102c357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015290519081900360640190fd5b604080517f64616f2e747275737465646e6f6465732e0000000000000000000000000000006020808301919091527f6d656d6265720000000000000000000000000000000000000000000000000000603183015233606081901b60378401528351602b818503018152604b909301909352815191012061034290611018565b6103ad57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e76616c69642074727573746564206e6f6465000000000000000000000000604482015290519081900360640190fd5b60006103ed6040518060400160405280602081526020017f726f636b657444414f50726f746f636f6c53657474696e67734e6574776f726b81525061108c565b90508073ffffffffffffffffffffffffffffffffffffffff1663d7c8953c6040518163ffffffff1660e01b815260040160206040518083038186803b15801561043557600080fd5b505afa158015610449573d6000803e3d6000fd5b505050506040513d602081101561045f57600080fd5b50516104b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806115626027913960400191505060405180910390fd5b43861061050e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180611513602e913960400191505060405180910390fd5b610516610107565b861161056d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806114bf6033913960400191505060405180910390fd5b60003387876040516020018080611541602191396021018473ffffffffffffffffffffffffffffffffffffffff1660601b815260140183815260200182815260200193505050506040516020818303038152906040528051906020012090506000878760405160200180807f6e6574776f726b2e7072696365732e7375626d69747465642e636f756e740000815250601e018381526020018281526020019250505060405160208183030381529060405280519060200120905061063082611018565b1561069c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4475706c6963617465207375626d697373696f6e2066726f6d206e6f64650000604482015290519081900360640190fd5b6106a7826001611194565b604080517f6e6574776f726b2e7072696365732e7375626d69747465642e6e6f64650000006020808301919091523360601b603d83015260518083018c90528351808403909101815260719092019092528051910120610708906001611194565b600061071e600161071884610efe565b9061122a565b905061072a82826112a5565b604080518a8152602081018a90524281830152905133917f27581fbb8999ae843e9a68086ebe706848e5f9850edd9aa992b12da44793256c919081900360600190a260006107ac6040518060400160405280601481526020017f726f636b657444414f4e6f64655472757374656400000000000000000000000081525061108c565b90508473ffffffffffffffffffffffffffffffffffffffff16631f66e8ed6040518163ffffffff1660e01b815260040160206040518083038186803b1580156107f457600080fd5b505afa158015610808573d6000803e3d6000fd5b505050506040513d602081101561081e57600080fd5b5051604080517f997072f700000000000000000000000000000000000000000000000000000000815290516108cf9173ffffffffffffffffffffffffffffffffffffffff85169163997072f791600480820192602092909190829003018186803b15801561088b57600080fd5b505afa15801561089f573d6000803e3d6000fd5b505050506040513d60208110156108b557600080fd5b50516108c9670de0b6b3a76400008661131e565b90611391565b106108de576108de8a8a611412565b50505050505050505050565b60005460ff1681565b60006101327f25a22f579c19c441c6276bbd381ad43715a7c75c8781f5ee499cba2bb59cd23b610efe565b6040518060400160405280601381526020017f726f636b65744e6574776f726b50726963657300000000000000000000000000815250306109d08260405160200180807f636f6e74726163742e61646472657373000000000000000000000000000000008152506010018280519060200190808383602083106101ea57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016101ad565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a6957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015290519081900360640190fd5b6000610aa96040518060400160405280602081526020017f726f636b657444414f50726f746f636f6c53657474696e67734e6574776f726b81525061108c565b90508073ffffffffffffffffffffffffffffffffffffffff1663d7c8953c6040518163ffffffff1660e01b815260040160206040518083038186803b158015610af157600080fd5b505afa158015610b05573d6000803e3d6000fd5b505050506040513d6020811015610b1b57600080fd5b5051610b72576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806115626027913960400191505060405180910390fd5b438510610bca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180611513602e913960400191505060405180910390fd5b610bd2610107565b8511610c29576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806114bf6033913960400191505060405180910390fd5b604080517f6e6574776f726b2e7072696365732e7375626d69747465642e636f756e740000602080830191909152603e8201889052605e80830188905283518084039091018152607e90920190925280519101206000610c8882610efe565b90506000610cca6040518060400160405280601481526020017f726f636b657444414f4e6f64655472757374656400000000000000000000000081525061108c565b90508373ffffffffffffffffffffffffffffffffffffffff16631f66e8ed6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d1257600080fd5b505afa158015610d26573d6000803e3d6000fd5b505050506040513d6020811015610d3c57600080fd5b5051604080517f997072f70000000000000000000000000000000000000000000000000000000081529051610da99173ffffffffffffffffffffffffffffffffffffffff85169163997072f791600480820192602092909190829003018186803b15801561088b57600080fd5b1015610e1657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f436f6e73656e73757320686173206e6f74206265656e20726561636865640000604482015290519081900360640190fd5b610e208888611412565b5050505050505050565b600080610e6b6040518060400160405280602081526020017f726f636b657444414f50726f746f636f6c53657474696e67734e6574776f726b81525061108c565b905060008173ffffffffffffffffffffffffffffffffffffffff1663316074186040518163ffffffff1660e01b815260040160206040518083038186803b158015610eb557600080fd5b505afa158015610ec9573d6000803e3d6000fd5b505050506040513d6020811015610edf57600080fd5b50519050610ef781610ef14382611391565b9061131e565b9250505090565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bd02d0f5836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610f7257600080fd5b505afa158015610f86573d6000803e3d6000fd5b505050506040513d6020811015610f9c57600080fd5b505192915050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166321f8a721836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610f7257600080fd5b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ae1cfca836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610f7257600080fd5b60008061110a8360405160200180807f636f6e74726163742e61646472657373000000000000000000000000000000008152506010018280519060200190808383602083106101ea57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016101ad565b905073ffffffffffffffffffffffffffffffffffffffff811661118e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f436f6e7472616374206e6f7420666f756e640000000000000000000000000000604482015290519081900360640190fd5b92915050565b60008054604080517fabfdcced000000000000000000000000000000000000000000000000000000008152600481018690528415156024820152905161010090920473ffffffffffffffffffffffffffffffffffffffff169263abfdcced9260448084019382900301818387803b15801561120e57600080fd5b505af1158015611222573d6000803e3d6000fd5b505050505050565b60008282018381101561129e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60008054604080517fe2a4853a0000000000000000000000000000000000000000000000000000000081526004810186905260248101859052905161010090920473ffffffffffffffffffffffffffffffffffffffff169263e2a4853a9260448084019382900301818387803b15801561120e57600080fd5b60008261132d5750600061118e565b8282028284828161133a57fe5b041461129e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806114f26021913960400191505060405180910390fd5b600080821161140157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161140a57fe5b049392505050565b61141b81611467565b61142482611494565b6040805183815260208101839052428183015290517fa6b830b74e52d7d1140e76252f225dc7bed28782519845600bbd3182341dc1159181900360600190a15050565b6114917f25a22f579c19c441c6276bbd381ad43715a7c75c8781f5ee499cba2bb59cd23b826112a5565b50565b6114917f0a4041fbc2d754332ff77c5da54a4a6dd3a619121f939491b4636bd721ac417d826112a556fe4e6574776f726b2070726963657320666f7220616e20657175616c206f722068696768657220626c6f636b2061726520736574536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775072696365732063616e206e6f74206265207375626d697474656420666f7220612066757475726520626c6f636b6e6574776f726b2e7072696365732e7375626d69747465642e6e6f64652e6b65795375626d697474696e67207072696365732069732063757272656e746c792064697361626c6564a264697066735822122022d5c041dd35d052de79e6189f31de5a13e9bff0f0537ceff760de57983bc42264736f6c6343000706003325a22f579c19c441c6276bbd381ad43715a7c75c8781f5ee499cba2bb59cd23b0000000000000000000000001d8f8f00cfa6758d7be78336684788fb0ee0fa46
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100725760003560e01c8063724d4a0911610050578063724d4a09146100d45780639fb64f99146100dc578063a9bb16ed146100ff57610072565b80630fe40bcd1461007757806329ed902a1461009157806354fd4d50146100b6575b600080fd5b61007f610107565b60408051918252519081900360200190f35b6100b4600480360360408110156100a757600080fd5b5080359060200135610137565b005b6100be6108ea565b6040805160ff9092168252519081900360200190f35b61007f6108f3565b6100b4600480360360408110156100f257600080fd5b508035906020013561091e565b61007f610e2a565b60006101327f0a4041fbc2d754332ff77c5da54a4a6dd3a619121f939491b4636bd721ac417d610efe565b905090565b6040518060400160405280601381526020017f726f636b65744e6574776f726b507269636573000000000000000000000000008152503061022a8260405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083835b602083106101ea57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016101ad565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120610fa4565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146102c357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015290519081900360640190fd5b604080517f64616f2e747275737465646e6f6465732e0000000000000000000000000000006020808301919091527f6d656d6265720000000000000000000000000000000000000000000000000000603183015233606081901b60378401528351602b818503018152604b909301909352815191012061034290611018565b6103ad57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e76616c69642074727573746564206e6f6465000000000000000000000000604482015290519081900360640190fd5b60006103ed6040518060400160405280602081526020017f726f636b657444414f50726f746f636f6c53657474696e67734e6574776f726b81525061108c565b90508073ffffffffffffffffffffffffffffffffffffffff1663d7c8953c6040518163ffffffff1660e01b815260040160206040518083038186803b15801561043557600080fd5b505afa158015610449573d6000803e3d6000fd5b505050506040513d602081101561045f57600080fd5b50516104b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806115626027913960400191505060405180910390fd5b43861061050e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180611513602e913960400191505060405180910390fd5b610516610107565b861161056d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806114bf6033913960400191505060405180910390fd5b60003387876040516020018080611541602191396021018473ffffffffffffffffffffffffffffffffffffffff1660601b815260140183815260200182815260200193505050506040516020818303038152906040528051906020012090506000878760405160200180807f6e6574776f726b2e7072696365732e7375626d69747465642e636f756e740000815250601e018381526020018281526020019250505060405160208183030381529060405280519060200120905061063082611018565b1561069c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4475706c6963617465207375626d697373696f6e2066726f6d206e6f64650000604482015290519081900360640190fd5b6106a7826001611194565b604080517f6e6574776f726b2e7072696365732e7375626d69747465642e6e6f64650000006020808301919091523360601b603d83015260518083018c90528351808403909101815260719092019092528051910120610708906001611194565b600061071e600161071884610efe565b9061122a565b905061072a82826112a5565b604080518a8152602081018a90524281830152905133917f27581fbb8999ae843e9a68086ebe706848e5f9850edd9aa992b12da44793256c919081900360600190a260006107ac6040518060400160405280601481526020017f726f636b657444414f4e6f64655472757374656400000000000000000000000081525061108c565b90508473ffffffffffffffffffffffffffffffffffffffff16631f66e8ed6040518163ffffffff1660e01b815260040160206040518083038186803b1580156107f457600080fd5b505afa158015610808573d6000803e3d6000fd5b505050506040513d602081101561081e57600080fd5b5051604080517f997072f700000000000000000000000000000000000000000000000000000000815290516108cf9173ffffffffffffffffffffffffffffffffffffffff85169163997072f791600480820192602092909190829003018186803b15801561088b57600080fd5b505afa15801561089f573d6000803e3d6000fd5b505050506040513d60208110156108b557600080fd5b50516108c9670de0b6b3a76400008661131e565b90611391565b106108de576108de8a8a611412565b50505050505050505050565b60005460ff1681565b60006101327f25a22f579c19c441c6276bbd381ad43715a7c75c8781f5ee499cba2bb59cd23b610efe565b6040518060400160405280601381526020017f726f636b65744e6574776f726b50726963657300000000000000000000000000815250306109d08260405160200180807f636f6e74726163742e61646472657373000000000000000000000000000000008152506010018280519060200190808383602083106101ea57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016101ad565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a6957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015290519081900360640190fd5b6000610aa96040518060400160405280602081526020017f726f636b657444414f50726f746f636f6c53657474696e67734e6574776f726b81525061108c565b90508073ffffffffffffffffffffffffffffffffffffffff1663d7c8953c6040518163ffffffff1660e01b815260040160206040518083038186803b158015610af157600080fd5b505afa158015610b05573d6000803e3d6000fd5b505050506040513d6020811015610b1b57600080fd5b5051610b72576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806115626027913960400191505060405180910390fd5b438510610bca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180611513602e913960400191505060405180910390fd5b610bd2610107565b8511610c29576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806114bf6033913960400191505060405180910390fd5b604080517f6e6574776f726b2e7072696365732e7375626d69747465642e636f756e740000602080830191909152603e8201889052605e80830188905283518084039091018152607e90920190925280519101206000610c8882610efe565b90506000610cca6040518060400160405280601481526020017f726f636b657444414f4e6f64655472757374656400000000000000000000000081525061108c565b90508373ffffffffffffffffffffffffffffffffffffffff16631f66e8ed6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d1257600080fd5b505afa158015610d26573d6000803e3d6000fd5b505050506040513d6020811015610d3c57600080fd5b5051604080517f997072f70000000000000000000000000000000000000000000000000000000081529051610da99173ffffffffffffffffffffffffffffffffffffffff85169163997072f791600480820192602092909190829003018186803b15801561088b57600080fd5b1015610e1657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f436f6e73656e73757320686173206e6f74206265656e20726561636865640000604482015290519081900360640190fd5b610e208888611412565b5050505050505050565b600080610e6b6040518060400160405280602081526020017f726f636b657444414f50726f746f636f6c53657474696e67734e6574776f726b81525061108c565b905060008173ffffffffffffffffffffffffffffffffffffffff1663316074186040518163ffffffff1660e01b815260040160206040518083038186803b158015610eb557600080fd5b505afa158015610ec9573d6000803e3d6000fd5b505050506040513d6020811015610edf57600080fd5b50519050610ef781610ef14382611391565b9061131e565b9250505090565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bd02d0f5836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610f7257600080fd5b505afa158015610f86573d6000803e3d6000fd5b505050506040513d6020811015610f9c57600080fd5b505192915050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166321f8a721836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610f7257600080fd5b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ae1cfca836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610f7257600080fd5b60008061110a8360405160200180807f636f6e74726163742e61646472657373000000000000000000000000000000008152506010018280519060200190808383602083106101ea57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016101ad565b905073ffffffffffffffffffffffffffffffffffffffff811661118e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f436f6e7472616374206e6f7420666f756e640000000000000000000000000000604482015290519081900360640190fd5b92915050565b60008054604080517fabfdcced000000000000000000000000000000000000000000000000000000008152600481018690528415156024820152905161010090920473ffffffffffffffffffffffffffffffffffffffff169263abfdcced9260448084019382900301818387803b15801561120e57600080fd5b505af1158015611222573d6000803e3d6000fd5b505050505050565b60008282018381101561129e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60008054604080517fe2a4853a0000000000000000000000000000000000000000000000000000000081526004810186905260248101859052905161010090920473ffffffffffffffffffffffffffffffffffffffff169263e2a4853a9260448084019382900301818387803b15801561120e57600080fd5b60008261132d5750600061118e565b8282028284828161133a57fe5b041461129e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806114f26021913960400191505060405180910390fd5b600080821161140157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161140a57fe5b049392505050565b61141b81611467565b61142482611494565b6040805183815260208101839052428183015290517fa6b830b74e52d7d1140e76252f225dc7bed28782519845600bbd3182341dc1159181900360600190a15050565b6114917f25a22f579c19c441c6276bbd381ad43715a7c75c8781f5ee499cba2bb59cd23b826112a5565b50565b6114917f0a4041fbc2d754332ff77c5da54a4a6dd3a619121f939491b4636bd721ac417d826112a556fe4e6574776f726b2070726963657320666f7220616e20657175616c206f722068696768657220626c6f636b2061726520736574536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775072696365732063616e206e6f74206265207375626d697474656420666f7220612066757475726520626c6f636b6e6574776f726b2e7072696365732e7375626d69747465642e6e6f64652e6b65795375626d697474696e67207072696365732069732063757272656e746c792064697361626c6564a264697066735822122022d5c041dd35d052de79e6189f31de5a13e9bff0f0537ceff760de57983bc42264736f6c63430007060033
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
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.