Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
RocketDAOProtocolSettingsNode
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity Standard Json-Input format)
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM 2.0 | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind ETH2 Proof of Stake protocol, designed to be community owned, * decentralised, trustless and compatible with staking in Ethereum 2.0. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authors: David Rugendyke, Jake Pospischil, Kane Wallmann, Darren Langley, Joe Clapis, Nick Doherty * */ pragma solidity 0.7.6; // SPDX-License-Identifier: GPL-3.0-only import "./RocketDAOProtocolSettings.sol"; import "../../../../interface/dao/protocol/settings/RocketDAOProtocolSettingsNodeInterface.sol"; // Network auction settings contract RocketDAOProtocolSettingsNode is RocketDAOProtocolSettings, RocketDAOProtocolSettingsNodeInterface { // Construct constructor(RocketStorageInterface _rocketStorageAddress) RocketDAOProtocolSettings(_rocketStorageAddress, "node") { // Set version version = 3; // Initialize settings on deployment if(!getBool(keccak256(abi.encodePacked(settingNameSpace, "deployed")))) { // Apply settings setSettingBool("node.registration.enabled", false); setSettingBool("node.smoothing.pool.registration.enabled", true); setSettingBool("node.deposit.enabled", false); setSettingBool("node.vacant.minipools.enabled", false); setSettingUint("node.per.minipool.stake.minimum", 0.1 ether); // 10% of user ETH value (matched ETH) setSettingUint("node.per.minipool.stake.maximum", 1.5 ether); // 150% of node ETH value (provided ETH) // Settings initialised setBool(keccak256(abi.encodePacked(settingNameSpace, "deployed")), true); } } // Node registrations currently enabled function getRegistrationEnabled() override external view returns (bool) { return getSettingBool("node.registration.enabled"); } // Node smoothing pool registrations currently enabled function getSmoothingPoolRegistrationEnabled() override external view returns (bool) { return getSettingBool("node.smoothing.pool.registration.enabled"); } // Node deposits currently enabled function getDepositEnabled() override external view returns (bool) { return getSettingBool("node.deposit.enabled"); } // Vacant minipools currently enabled function getVacantMinipoolsEnabled() override external view returns (bool) { return getSettingBool("node.vacant.minipools.enabled"); } // Minimum RPL stake per minipool as a fraction of assigned user ETH value function getMinimumPerMinipoolStake() override external view returns (uint256) { return getSettingUint("node.per.minipool.stake.minimum"); } // Maximum RPL stake per minipool as a fraction of assigned user ETH value function getMaximumPerMinipoolStake() override external view returns (uint256) { return getSettingUint("node.per.minipool.stake.maximum"); } }
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | 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 RocketDAOProtocolSettingsInterface { function getSettingUint(string memory _settingPath) external view returns (uint256); function setSettingUint(string memory _settingPath, uint256 _value) external; function getSettingBool(string memory _settingPath) external view returns (bool); function setSettingBool(string memory _settingPath, bool _value) external; function getSettingAddress(string memory _settingPath) external view returns (address); function setSettingAddress(string memory _settingPath, address _value) external; }
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM 2.0 | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind ETH2 Proof of Stake protocol, designed to be community owned, * decentralised, trustless and compatible with staking in Ethereum 2.0. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authors: David Rugendyke, Jake Pospischil, Kane Wallmann, Darren Langley, Joe Clapis, Nick Doherty * */ pragma solidity 0.7.6; // SPDX-License-Identifier: GPL-3.0-only import "../../../RocketBase.sol"; import "../../../../interface/dao/protocol/settings/RocketDAOProtocolSettingsInterface.sol"; // Settings in RP which the DAO will have full control over // This settings contract enables storage using setting paths with namespaces, rather than explicit set methods abstract contract RocketDAOProtocolSettings is RocketBase, RocketDAOProtocolSettingsInterface { // The namespace for a particular group of settings bytes32 settingNameSpace; // Only allow updating from the DAO proposals contract modifier onlyDAOProtocolProposal() { // If this contract has been initialised, only allow access from the proposals contract if(getBool(keccak256(abi.encodePacked(settingNameSpace, "deployed")))) require(getContractAddress("rocketDAOProtocolProposals") == msg.sender, "Only DAO Protocol Proposals contract can update a setting"); _; } // Construct constructor(RocketStorageInterface _rocketStorageAddress, string memory _settingNameSpace) RocketBase(_rocketStorageAddress) { // Apply the setting namespace settingNameSpace = keccak256(abi.encodePacked("dao.protocol.setting.", _settingNameSpace)); } /*** Uints ****************/ // A general method to return any setting given the setting path is correct, only accepts uints function getSettingUint(string memory _settingPath) public view override returns (uint256) { return getUint(keccak256(abi.encodePacked(settingNameSpace, _settingPath))); } // Update a Uint setting, can only be executed by the DAO contract when a majority on a setting proposal has passed and been executed function setSettingUint(string memory _settingPath, uint256 _value) virtual public override onlyDAOProtocolProposal { // Update setting now setUint(keccak256(abi.encodePacked(settingNameSpace, _settingPath)), _value); } /*** Bools ****************/ // A general method to return any setting given the setting path is correct, only accepts bools function getSettingBool(string memory _settingPath) public view override returns (bool) { return getBool(keccak256(abi.encodePacked(settingNameSpace, _settingPath))); } // Update a setting, can only be executed by the DAO contract when a majority on a setting proposal has passed and been executed function setSettingBool(string memory _settingPath, bool _value) virtual public override onlyDAOProtocolProposal { // Update setting now setBool(keccak256(abi.encodePacked(settingNameSpace, _settingPath)), _value); } /*** Addresses ****************/ // A general method to return any setting given the setting path is correct, only accepts addresses function getSettingAddress(string memory _settingPath) external view override returns (address) { return getAddress(keccak256(abi.encodePacked(settingNameSpace, _settingPath))); } // Update a setting, can only be executed by the DAO contract when a majority on a setting proposal has passed and been executed function setSettingAddress(string memory _settingPath, address _value) virtual external override onlyDAOProtocolProposal { // Update setting now setAddress(keccak256(abi.encodePacked(settingNameSpace, _settingPath)), _value); } }
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | 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 RocketDAOProtocolSettingsNodeInterface { function getRegistrationEnabled() external view returns (bool); function getSmoothingPoolRegistrationEnabled() external view returns (bool); function getDepositEnabled() external view returns (bool); function getVacantMinipoolsEnabled() external view returns (bool); function getMinimumPerMinipoolStake() external view returns (uint256); function getMaximumPerMinipoolStake() external view returns (uint256); }
{ "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"},{"inputs":[],"name":"getDepositEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaximumPerMinipoolStake","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinimumPerMinipoolStake","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRegistrationEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_settingPath","type":"string"}],"name":"getSettingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_settingPath","type":"string"}],"name":"getSettingBool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_settingPath","type":"string"}],"name":"getSettingUint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSmoothingPoolRegistrationEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getVacantMinipoolsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_settingPath","type":"string"},{"internalType":"address","name":"_value","type":"address"}],"name":"setSettingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_settingPath","type":"string"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"setSettingBool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_settingPath","type":"string"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setSettingUint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260008054610100600160a81b03191690553480156200002257600080fd5b5060405162001c1138038062001c11833981810160405260208110156200004857600080fd5b505160408051808201825260048152636e6f646560e01b602080830191825260008054610100600160a81b0319166101006001600160a01b0388160217905592517f64616f2e70726f746f636f6c2e73657474696e672e00000000000000000000009381019384528251859484939092603501918083835b60208310620000e15780518252601f199092019160209182019101620000c0565b51815160209384036101000a60001901801990921691161790526040805192909401828103601f19018352808552825192820192909220600181905560008054600360ff19909116179055828201526719195c1b1bde595960c21b8285015283518083036028018152604890920190935280519201919091206200016c955093506200033492505050565b6200032d5760408051808201909152601981527f6e6f64652e726567697374726174696f6e2e656e61626c6564000000000000006020820152620001b2906000620003c3565b620001d860405180606001604052806028815260200162001bb0602891396001620003c3565b60408051808201909152601481527f6e6f64652e6465706f7369742e656e61626c6564000000000000000000000000602082015262000219906000620003c3565b60408051808201909152601d81527f6e6f64652e766163616e742e6d696e69706f6f6c732e656e61626c656400000060208201526200025a906000620003c3565b60408051808201909152601f81527f6e6f64652e7065722e6d696e69706f6f6c2e7374616b652e6d696e696d756d006020820152620002a29067016345785d8a000062000522565b60408051808201909152601f81527f6e6f64652e7065722e6d696e69706f6f6c2e7374616b652e6d6178696d756d006020820152620002ea906714d1120d7b16000062000522565b60018054604080516020808201939093526719195c1b1bde595960c21b8183015281516028818303018152604890910190915280519101206200032d916200067d565b5062000895565b60008060019054906101000a90046001600160a01b03166001600160a01b0316637ae1cfca836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156200038f57600080fd5b505afa158015620003a4573d6000803e3d6000fd5b505050506040513d6020811015620003bb57600080fd5b505192915050565b600154604080516020808201939093526719195c1b1bde595960c21b818301528151602881830301815260489091019091528051910120620004059062000334565b15620004935760408051808201909152601a81527f726f636b657444414f50726f746f636f6c50726f706f73616c73000000000000602082015233906200044c90620006ef565b6001600160a01b031614620004935760405162461bcd60e51b815260040180806020018281038252603981526020018062001bd86039913960400191505060405180910390fd5b6200051e600154836040516020018083815260200182805190602001908083835b60208310620004d55780518252601f199092019160209182019101620004b4565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405280519060200120826200067d60201b60201c565b5050565b600154604080516020808201939093526719195c1b1bde595960c21b818301528151602881830301815260489091019091528051910120620005649062000334565b15620005f25760408051808201909152601a81527f726f636b657444414f50726f746f636f6c50726f706f73616c7300000000000060208201523390620005ab90620006ef565b6001600160a01b031614620005f25760405162461bcd60e51b815260040180806020018281038252603981526020018062001bd86039913960400191505060405180910390fd5b6200051e600154836040516020018083815260200182805190602001908083835b60208310620006345780518252601f19909201916020918201910162000613565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040528051906020012082620007e660201b60201c565b600080546040805163abfdcced60e01b815260048101869052841515602482015290516101009092046001600160a01b03169263abfdcced9260448084019382900301818387803b158015620006d257600080fd5b505af1158015620006e7573d6000803e3d6000fd5b505050505050565b6000806200078d8360405160200180806f636f6e74726163742e6164647265737360801b81525060100182805190602001908083835b60208310620007465780518252601f19909201916020918201910162000725565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052805190602001206200083a60201b60201c565b90506001600160a01b038116620007e0576040805162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081b9bdd08199bdd5b9960721b604482015290519081900360640190fd5b92915050565b6000805460408051637152429d60e11b8152600481018690526024810185905290516101009092046001600160a01b03169263e2a4853a9260448084019382900301818387803b158015620006d257600080fd5b60008060019054906101000a90046001600160a01b03166001600160a01b03166321f8a721836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156200038f57600080fd5b61130b80620008a56000396000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c806354fd4d501161008c5780636fdbe57b116100665780636fdbe57b1461040f57806387b1bb1114610417578063c56710ff1461041f578063d6cd921e146104c5576100df565b806354fd4d50146103415780635e9d40441461035f5780636ada784714610407576100df565b80631e72ba86116100bd5780631e72ba86146102755780632a57d0181461028f57806346faa23614610339576100df565b806301dd1629146100e45780631386a244146101005780631bfcc24e146101cf575b600080fd5b6100ec610583565b604080519115158252519081900360200190f35b6101a66004803603602081101561011657600080fd5b81019060208101813564010000000081111561013157600080fd5b82018360208201111561014357600080fd5b8035906020019184600183028401116401000000008311171561016557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506105ab945050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100ec600480360360208110156101e557600080fd5b81019060208101813564010000000081111561020057600080fd5b82018360208201111561021257600080fd5b8035906020019184600183028401116401000000008311171561023457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610651945050505050565b61027d6106f1565b60408051918252519081900360200190f35b610337600480360360408110156102a557600080fd5b8101906020810181356401000000008111156102c057600080fd5b8201836020820111156102d257600080fd5b803590602001918460018302840111640100000000831117156102f457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050503515159050610731565b005b6100ec6108f3565b610349610933565b6040805160ff9092168252519081900360200190f35b6103376004803603604081101561037557600080fd5b81019060208101813564010000000081111561039057600080fd5b8201836020820111156103a257600080fd5b803590602001918460018302840111640100000000831117156103c457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550509135925061093c915050565b6100ec610afa565b61027d610b3a565b6100ec610b7a565b61027d6004803603602081101561043557600080fd5b81019060208101813564010000000081111561045057600080fd5b82018360208201111561046257600080fd5b8035906020019184600183028401116401000000008311171561048457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610bba945050505050565b610337600480360360408110156104db57600080fd5b8101906020810181356401000000008111156104f657600080fd5b82018360208201111561050857600080fd5b8035906020019184600183028401116401000000008311171561052a57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903573ffffffffffffffffffffffffffffffffffffffff169150610c5a9050565b60006105a660405180606001604052806028815260200161127560289139610651565b905090565b600061064b600154836040516020018083815260200182805190602001908083835b6020831061060a57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016105cd565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405280519060200120610e18565b92915050565b600061064b600154836040516020018083815260200182805190602001908083835b602083106106b057805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610673565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405280519060200120610ebe565b60006105a66040518060400160405280601f81526020017f6e6f64652e7065722e6d696e69706f6f6c2e7374616b652e6d6178696d756d00815250610bba565b61078a60015460405160200180828152602001807f6465706c6f79656400000000000000000000000000000000000000000000000081525060080191505060405160208183030381529060405280519060200120610ebe565b15610850573373ffffffffffffffffffffffffffffffffffffffff166107e46040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c73000000000000815250610f32565b73ffffffffffffffffffffffffffffffffffffffff1614610850576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603981526020018061129d6039913960400191505060405180910390fd5b6108ef600154836040516020018083815260200182805190602001908083835b602083106108ad57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610870565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040528051906020012082611075565b5050565b60006105a66040518060400160405280601d81526020017f6e6f64652e766163616e742e6d696e69706f6f6c732e656e61626c6564000000815250610651565b60005460ff1681565b61099560015460405160200180828152602001807f6465706c6f79656400000000000000000000000000000000000000000000000081525060080191505060405160208183030381529060405280519060200120610ebe565b15610a5b573373ffffffffffffffffffffffffffffffffffffffff166109ef6040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c73000000000000815250610f32565b73ffffffffffffffffffffffffffffffffffffffff1614610a5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603981526020018061129d6039913960400191505060405180910390fd5b6108ef600154836040516020018083815260200182805190602001908083835b60208310610ab857805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610a7b565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052805190602001208261110b565b60006105a66040518060400160405280601481526020017f6e6f64652e6465706f7369742e656e61626c6564000000000000000000000000815250610651565b60006105a66040518060400160405280601f81526020017f6e6f64652e7065722e6d696e69706f6f6c2e7374616b652e6d696e696d756d00815250610bba565b60006105a66040518060400160405280601981526020017f6e6f64652e726567697374726174696f6e2e656e61626c656400000000000000815250610651565b600061064b600154836040516020018083815260200182805190602001908083835b60208310610c1957805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610bdc565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405280519060200120611184565b610cb360015460405160200180828152602001807f6465706c6f79656400000000000000000000000000000000000000000000000081525060080191505060405160208183030381529060405280519060200120610ebe565b15610d79573373ffffffffffffffffffffffffffffffffffffffff16610d0d6040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c73000000000000815250610f32565b73ffffffffffffffffffffffffffffffffffffffff1614610d79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603981526020018061129d6039913960400191505060405180910390fd5b6108ef600154836040516020018083815260200182805190602001908083835b60208310610dd657805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610d99565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405280519060200120826111f8565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166321f8a721836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610e8c57600080fd5b505afa158015610ea0573d6000803e3d6000fd5b505050506040513d6020811015610eb657600080fd5b505192915050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ae1cfca836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610e8c57600080fd5b600080610ff18360405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083835b60208310610fb157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610f74565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120610e18565b905073ffffffffffffffffffffffffffffffffffffffff811661064b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f436f6e7472616374206e6f7420666f756e640000000000000000000000000000604482015290519081900360640190fd5b60008054604080517fabfdcced000000000000000000000000000000000000000000000000000000008152600481018690528415156024820152905161010090920473ffffffffffffffffffffffffffffffffffffffff169263abfdcced9260448084019382900301818387803b1580156110ef57600080fd5b505af1158015611103573d6000803e3d6000fd5b505050505050565b60008054604080517fe2a4853a0000000000000000000000000000000000000000000000000000000081526004810186905260248101859052905161010090920473ffffffffffffffffffffffffffffffffffffffff169263e2a4853a9260448084019382900301818387803b1580156110ef57600080fd5b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bd02d0f5836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610e8c57600080fd5b60008054604080517fca446dd90000000000000000000000000000000000000000000000000000000081526004810186905273ffffffffffffffffffffffffffffffffffffffff858116602483015291516101009093049091169263ca446dd99260448084019382900301818387803b1580156110ef57600080fdfe6e6f64652e736d6f6f7468696e672e706f6f6c2e726567697374726174696f6e2e656e61626c65644f6e6c792044414f2050726f746f636f6c2050726f706f73616c7320636f6e74726163742063616e2075706461746520612073657474696e67a264697066735822122085f92825e3354d5c107dac212a44f230fe56cd27416a3f586ec9e90df6a9d66364736f6c634300070600336e6f64652e736d6f6f7468696e672e706f6f6c2e726567697374726174696f6e2e656e61626c65644f6e6c792044414f2050726f746f636f6c2050726f706f73616c7320636f6e74726163742063616e2075706461746520612073657474696e670000000000000000000000001d8f8f00cfa6758d7be78336684788fb0ee0fa46
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100df5760003560e01c806354fd4d501161008c5780636fdbe57b116100665780636fdbe57b1461040f57806387b1bb1114610417578063c56710ff1461041f578063d6cd921e146104c5576100df565b806354fd4d50146103415780635e9d40441461035f5780636ada784714610407576100df565b80631e72ba86116100bd5780631e72ba86146102755780632a57d0181461028f57806346faa23614610339576100df565b806301dd1629146100e45780631386a244146101005780631bfcc24e146101cf575b600080fd5b6100ec610583565b604080519115158252519081900360200190f35b6101a66004803603602081101561011657600080fd5b81019060208101813564010000000081111561013157600080fd5b82018360208201111561014357600080fd5b8035906020019184600183028401116401000000008311171561016557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506105ab945050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100ec600480360360208110156101e557600080fd5b81019060208101813564010000000081111561020057600080fd5b82018360208201111561021257600080fd5b8035906020019184600183028401116401000000008311171561023457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610651945050505050565b61027d6106f1565b60408051918252519081900360200190f35b610337600480360360408110156102a557600080fd5b8101906020810181356401000000008111156102c057600080fd5b8201836020820111156102d257600080fd5b803590602001918460018302840111640100000000831117156102f457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050503515159050610731565b005b6100ec6108f3565b610349610933565b6040805160ff9092168252519081900360200190f35b6103376004803603604081101561037557600080fd5b81019060208101813564010000000081111561039057600080fd5b8201836020820111156103a257600080fd5b803590602001918460018302840111640100000000831117156103c457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550509135925061093c915050565b6100ec610afa565b61027d610b3a565b6100ec610b7a565b61027d6004803603602081101561043557600080fd5b81019060208101813564010000000081111561045057600080fd5b82018360208201111561046257600080fd5b8035906020019184600183028401116401000000008311171561048457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610bba945050505050565b610337600480360360408110156104db57600080fd5b8101906020810181356401000000008111156104f657600080fd5b82018360208201111561050857600080fd5b8035906020019184600183028401116401000000008311171561052a57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903573ffffffffffffffffffffffffffffffffffffffff169150610c5a9050565b60006105a660405180606001604052806028815260200161127560289139610651565b905090565b600061064b600154836040516020018083815260200182805190602001908083835b6020831061060a57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016105cd565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405280519060200120610e18565b92915050565b600061064b600154836040516020018083815260200182805190602001908083835b602083106106b057805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610673565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405280519060200120610ebe565b60006105a66040518060400160405280601f81526020017f6e6f64652e7065722e6d696e69706f6f6c2e7374616b652e6d6178696d756d00815250610bba565b61078a60015460405160200180828152602001807f6465706c6f79656400000000000000000000000000000000000000000000000081525060080191505060405160208183030381529060405280519060200120610ebe565b15610850573373ffffffffffffffffffffffffffffffffffffffff166107e46040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c73000000000000815250610f32565b73ffffffffffffffffffffffffffffffffffffffff1614610850576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603981526020018061129d6039913960400191505060405180910390fd5b6108ef600154836040516020018083815260200182805190602001908083835b602083106108ad57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610870565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040528051906020012082611075565b5050565b60006105a66040518060400160405280601d81526020017f6e6f64652e766163616e742e6d696e69706f6f6c732e656e61626c6564000000815250610651565b60005460ff1681565b61099560015460405160200180828152602001807f6465706c6f79656400000000000000000000000000000000000000000000000081525060080191505060405160208183030381529060405280519060200120610ebe565b15610a5b573373ffffffffffffffffffffffffffffffffffffffff166109ef6040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c73000000000000815250610f32565b73ffffffffffffffffffffffffffffffffffffffff1614610a5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603981526020018061129d6039913960400191505060405180910390fd5b6108ef600154836040516020018083815260200182805190602001908083835b60208310610ab857805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610a7b565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052805190602001208261110b565b60006105a66040518060400160405280601481526020017f6e6f64652e6465706f7369742e656e61626c6564000000000000000000000000815250610651565b60006105a66040518060400160405280601f81526020017f6e6f64652e7065722e6d696e69706f6f6c2e7374616b652e6d696e696d756d00815250610bba565b60006105a66040518060400160405280601981526020017f6e6f64652e726567697374726174696f6e2e656e61626c656400000000000000815250610651565b600061064b600154836040516020018083815260200182805190602001908083835b60208310610c1957805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610bdc565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405280519060200120611184565b610cb360015460405160200180828152602001807f6465706c6f79656400000000000000000000000000000000000000000000000081525060080191505060405160208183030381529060405280519060200120610ebe565b15610d79573373ffffffffffffffffffffffffffffffffffffffff16610d0d6040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c73000000000000815250610f32565b73ffffffffffffffffffffffffffffffffffffffff1614610d79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603981526020018061129d6039913960400191505060405180910390fd5b6108ef600154836040516020018083815260200182805190602001908083835b60208310610dd657805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610d99565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405280519060200120826111f8565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166321f8a721836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610e8c57600080fd5b505afa158015610ea0573d6000803e3d6000fd5b505050506040513d6020811015610eb657600080fd5b505192915050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ae1cfca836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610e8c57600080fd5b600080610ff18360405160200180807f636f6e74726163742e616464726573730000000000000000000000000000000081525060100182805190602001908083835b60208310610fb157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610f74565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120610e18565b905073ffffffffffffffffffffffffffffffffffffffff811661064b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f436f6e7472616374206e6f7420666f756e640000000000000000000000000000604482015290519081900360640190fd5b60008054604080517fabfdcced000000000000000000000000000000000000000000000000000000008152600481018690528415156024820152905161010090920473ffffffffffffffffffffffffffffffffffffffff169263abfdcced9260448084019382900301818387803b1580156110ef57600080fd5b505af1158015611103573d6000803e3d6000fd5b505050505050565b60008054604080517fe2a4853a0000000000000000000000000000000000000000000000000000000081526004810186905260248101859052905161010090920473ffffffffffffffffffffffffffffffffffffffff169263e2a4853a9260448084019382900301818387803b1580156110ef57600080fd5b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bd02d0f5836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610e8c57600080fd5b60008054604080517fca446dd90000000000000000000000000000000000000000000000000000000081526004810186905273ffffffffffffffffffffffffffffffffffffffff858116602483015291516101009093049091169263ca446dd99260448084019382900301818387803b1580156110ef57600080fdfe6e6f64652e736d6f6f7468696e672e706f6f6c2e726567697374726174696f6e2e656e61626c65644f6e6c792044414f2050726f746f636f6c2050726f706f73616c7320636f6e74726163742063616e2075706461746520612073657474696e67a264697066735822122085f92825e3354d5c107dac212a44f230fe56cd27416a3f586ec9e90df6a9d66364736f6c63430007060033
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
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.