Source Code
Overview
ETH Balance
0 ETH
More Info
ContractCreator
Multichain Info
N/A
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 | ||||
---|---|---|---|---|---|---|---|
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH | |||||
2456741 | 67 days ago | 0 ETH |
Loading...
Loading
Contract Name:
RocketUpgradeOneDotThreeDotOne
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity Standard Json-Input format)
/** * . * / \ * |.'.| * |'.'| * ,'| |'. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to * be community-owned, decentralised, permissionless, & trustless. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authored by the Rocket Pool Core Team * Contributors: https://github.com/rocket-pool/rocketpool/graphs/contributors * A special thanks to the Rocket Pool community for all their contributions. * */ // SPDX-License-Identifier: GPL-3.0-only pragma solidity 0.8.18; import "../RocketBase.sol"; import "../../interface/network/RocketNetworkSnapshotsInterface.sol"; import "../../interface/network/RocketNetworkPricesInterface.sol"; import "../../interface/dao/protocol/settings/RocketDAOProtocolSettingsNodeInterface.sol"; import "../../interface/util/AddressSetStorageInterface.sol"; import "../../interface/minipool/RocketMinipoolManagerInterface.sol"; /// @notice v1.3.1 hotfix upgrade contract contract RocketUpgradeOneDotThreeDotOne is RocketBase { // Struct to hold data for correcting miscalculated ETH matched struct Correction { address nodeAddress; int256 delta; } // Whether the upgrade has been performed or not bool public executed; // Whether the contract is locked to further changes bool public locked; // Upgrade contracts address public newRocketDAOProposal; address public newRocketDAOProtocolProposal; address public newRocketDAOProtocolVerifier; address public newRocketDAOProtocolSettingsProposals; address public newRocketDAOProtocolSettingsAuction; address public newRocketMinipoolManager; address public newRocketNodeStaking; address public newRocketMinipoolDelegate; address public newRocketNodeDeposit; address public newRocketNetworkVoting; // Upgrade ABIs string public newRocketDAOProposalAbi; string public newRocketDAOProtocolProposalAbi; string public newRocketDAOProtocolVerifierAbi; string public newRocketDAOProtocolSettingsProposalsAbi; string public newRocketDAOProtocolSettingsAuctionAbi; string public newRocketMinipoolManagerAbi; string public newRocketNodeStakingAbi; string public newRocketMinipoolDelegateAbi; string public newRocketNodeDepositAbi; string public newRocketNetworkVotingAbi; // Save deployer to limit access to set functions address immutable deployer; // Corrections Correction[] public corrections; // Construct constructor( RocketStorageInterface _rocketStorageAddress ) RocketBase(_rocketStorageAddress) { // Version version = 1; deployer = msg.sender; } /// @notice Returns the address of the RocketStorage contract function getRocketStorageAddress() external view returns (address) { return address(rocketStorage); } function set(address[] memory _addresses, string[] memory _abis) external { require(msg.sender == deployer, "Only deployer"); require(!locked, "Contract locked"); // Set contract addresses newRocketDAOProposal = _addresses[0]; newRocketDAOProtocolProposal = _addresses[1]; newRocketDAOProtocolVerifier = _addresses[2]; newRocketDAOProtocolSettingsProposals = _addresses[3]; newRocketDAOProtocolSettingsAuction = _addresses[4]; newRocketMinipoolManager = _addresses[5]; newRocketNodeStaking = _addresses[6]; newRocketMinipoolDelegate = _addresses[7]; newRocketNodeDeposit = _addresses[8]; newRocketNetworkVoting = _addresses[9]; // Set ABIs newRocketDAOProposalAbi = _abis[0]; newRocketDAOProtocolProposalAbi = _abis[1]; newRocketDAOProtocolVerifierAbi = _abis[2]; newRocketDAOProtocolSettingsProposalsAbi = _abis[3]; newRocketDAOProtocolSettingsAuctionAbi = _abis[4]; newRocketMinipoolManagerAbi = _abis[5]; newRocketNodeStakingAbi = _abis[6]; newRocketMinipoolDelegateAbi = _abis[7]; newRocketNodeDepositAbi = _abis[8]; newRocketNetworkVotingAbi = _abis[9]; // Note: rocketMinipool abi has not changed so does not require updating } /// @notice Adds a new entry into the array of corrections for ETH matched function addCorrection(address _nodeAddress, int256 _delta) external { require(msg.sender == deployer, "Only deployer"); require(!locked, "Contract locked"); corrections.push(Correction({ nodeAddress: _nodeAddress, delta: _delta })); } /// @notice Prevents further changes from being applied function lock() external { require(msg.sender == deployer, "Only deployer"); locked = true; } /// @notice Once this contract has been voted in by oDAO, guardian can perform the upgrade function execute() external onlyGuardian { require(!executed, "Already executed"); executed = true; // Upgrade contracts _upgradeContract("rocketDAOProposal", newRocketDAOProposal, newRocketDAOProposalAbi); _upgradeContract("rocketDAOProtocolProposal", newRocketDAOProtocolProposal, newRocketDAOProtocolProposalAbi); _upgradeContract("rocketDAOProtocolVerifier", newRocketDAOProtocolVerifier, newRocketDAOProtocolVerifierAbi); _upgradeContract("rocketDAOProtocolSettingsProposals", newRocketDAOProtocolSettingsProposals, newRocketDAOProtocolSettingsProposalsAbi); _upgradeContract("rocketDAOProtocolSettingsAuction", newRocketDAOProtocolSettingsAuction, newRocketDAOProtocolSettingsAuctionAbi); _upgradeContract("rocketMinipoolManager", newRocketMinipoolManager, newRocketMinipoolManagerAbi); _upgradeContract("rocketNodeStaking", newRocketNodeStaking, newRocketNodeStakingAbi); _upgradeContract("rocketMinipoolDelegate", newRocketMinipoolDelegate, newRocketMinipoolDelegateAbi); _upgradeContract("rocketNodeDeposit", newRocketNodeDeposit, newRocketNodeDepositAbi); _upgradeContract("rocketNetworkVoting", newRocketNetworkVoting, newRocketNetworkVotingAbi); // Add missing security council permissions setBool(keccak256(abi.encodePacked("dao.security.allowed.setting", "auction", "auction.lot.create.enabled")), true); setBool(keccak256(abi.encodePacked("dao.security.allowed.setting", "auction", "auction.lot.bidding.enabled")), true); // Modify pDAO quorum to 30% per RPIP-63 bytes32 settingNameSpace = keccak256(abi.encodePacked("dao.protocol.setting.", "proposals")); setUint(keccak256(abi.encodePacked(settingNameSpace, "proposal.quorum")), 0.30 ether); // Apply ETH matched corrections RocketNetworkSnapshotsInterface rocketNetworkSnapshots = RocketNetworkSnapshotsInterface(getContractAddress("rocketNetworkSnapshots")); bytes32 key; for (uint256 i = 0; i < corrections.length; i++) { Correction memory correction = corrections[i]; key = keccak256(abi.encodePacked("eth.matched.node.amount", correction.nodeAddress)); // Cast is safe as current values cannot exceed max value of int256 as not enough ETH exists for that (,,uint224 currentValue) = rocketNetworkSnapshots.latest(key); int256 newValue = int256(uint256(currentValue)) + correction.delta; // Sanity check new value require(newValue >= 0, "Invalid correction"); rocketNetworkSnapshots.push(key, uint224(uint256(newValue))); } // Set a protocol version value in storage for convenience with bindings setString(keccak256(abi.encodePacked("protocol.version")), "1.3.1"); } /// @dev Upgrade a network contract function _upgradeContract(string memory _name, address _contractAddress, string memory _contractAbi) internal { // Get old contract address & check contract exists address oldContractAddress = getAddress(keccak256(abi.encodePacked("contract.address", _name))); require(oldContractAddress != address(0x0), "Contract does not exist"); // Check new contract address require(_contractAddress != address(0x0), "Invalid contract address"); require(_contractAddress != oldContractAddress, "The contract address cannot be set to its current address"); require(!getBool(keccak256(abi.encodePacked("contract.exists", _contractAddress))), "Contract address is already in use"); // Check ABI isn't empty require(bytes(_contractAbi).length > 0, "Empty ABI is invalid"); // Register new contract setBool(keccak256(abi.encodePacked("contract.exists", _contractAddress)), true); setString(keccak256(abi.encodePacked("contract.name", _contractAddress)), _name); setAddress(keccak256(abi.encodePacked("contract.address", _name)), _contractAddress); setString(keccak256(abi.encodePacked("contract.abi", _name)), _contractAbi); // Deregister old contract deleteString(keccak256(abi.encodePacked("contract.name", oldContractAddress))); deleteBool(keccak256(abi.encodePacked("contract.exists", oldContractAddress))); } }
/** * . * / \ * |.'.| * |'.'| * ,'| |'. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to * be community-owned, decentralised, permissionless, & trustless. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authored by the Rocket Pool Core Team * Contributors: https://github.com/rocket-pool/rocketpool/graphs/contributors * A special thanks to the Rocket Pool community for all their contributions. * */ 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 | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to * be community-owned, decentralised, permissionless, & trustless. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authored by the Rocket Pool Core Team * Contributors: https://github.com/rocket-pool/rocketpool/graphs/contributors * A special thanks to the Rocket Pool community for all their contributions. * */ pragma solidity >0.5.0 <0.9.0; // 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(address(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 | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to * be community-owned, decentralised, permissionless, & trustless. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authored by the Rocket Pool Core Team * Contributors: https://github.com/rocket-pool/rocketpool/graphs/contributors * A special thanks to the Rocket Pool community for all their contributions. * */ // SPDX-License-Identifier: GPL-3.0-only pragma solidity >0.5.0 <0.9.0; struct Checkpoint224 { uint32 _block; uint224 _value; } /// @notice Accounting for snapshotting of values based on block numbers interface RocketNetworkSnapshotsInterface { function push(bytes32 _key, uint224 _value) external; function length(bytes32 _key) external view returns (uint256); function latest(bytes32 _key) external view returns (bool, uint32, uint224); function latestBlock(bytes32 _key) external view returns (uint32); function latestValue(bytes32 _key) external view returns (uint224); function lookup(bytes32 _key, uint32 _block) external view returns (uint224); function lookupRecent(bytes32 _key, uint32 _block, uint256 _recency) external view returns (uint224); }
/** * . * / \ * |.'.| * |'.'| * ,'| |'. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to * be community-owned, decentralised, permissionless, & trustless. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authored by the Rocket Pool Core Team * Contributors: https://github.com/rocket-pool/rocketpool/graphs/contributors * A special thanks to the Rocket Pool community for all their contributions. * */ 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 submitPrices(uint256 _block, uint256 _slotTimestamp, uint256 _rplPrice) external; function executeUpdatePrices(uint256 _block, uint256 _slotTimestamp, uint256 _rplPrice) external; }
/** * . * / \ * |.'.| * |'.'| * ,'| |'. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to * be community-owned, decentralised, permissionless, & trustless. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authored by the Rocket Pool Core Team * Contributors: https://github.com/rocket-pool/rocketpool/graphs/contributors * A special thanks to the Rocket Pool community for all their contributions. * */ 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); function getMaximumStakeForVotingPower() external view returns (uint256); }
/** * . * / \ * |.'.| * |'.'| * ,'| |'. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to * be community-owned, decentralised, permissionless, & trustless. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authored by the Rocket Pool Core Team * Contributors: https://github.com/rocket-pool/rocketpool/graphs/contributors * A special thanks to the Rocket Pool community for all their contributions. * */ pragma solidity >0.5.0 <0.9.0; // SPDX-License-Identifier: GPL-3.0-only interface AddressSetStorageInterface { function getCount(bytes32 _key) external view returns (uint); function getItem(bytes32 _key, uint _index) external view returns (address); function getIndexOf(bytes32 _key, address _value) external view returns (int); function addItem(bytes32 _key, address _value) external; function removeItem(bytes32 _key, address _value) external; }
/** * . * / \ * |.'.| * |'.'| * ,'| |'. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to * be community-owned, decentralised, permissionless, & trustless. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authored by the Rocket Pool Core Team * Contributors: https://github.com/rocket-pool/rocketpool/graphs/contributors * A special thanks to the Rocket Pool community for all their contributions. * */ pragma solidity >0.5.0 <0.9.0; // SPDX-License-Identifier: GPL-3.0-only // Represents the type of deposits required by a minipool enum MinipoolDeposit { None, // Marks an invalid deposit type Full, // The minipool requires 32 ETH from the node operator, 16 ETH of which will be refinanced from user deposits Half, // The minipool required 16 ETH from the node operator to be matched with 16 ETH from user deposits Empty, // The minipool requires 0 ETH from the node operator to be matched with 32 ETH from user deposits (trusted nodes only) Variable // Indicates this minipool is of the new generation that supports a variable deposit amount }
/** * . * / \ * |.'.| * |'.'| * ,'| |'. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to * be community-owned, decentralised, permissionless, & trustless. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authored by the Rocket Pool Core Team * Contributors: https://github.com/rocket-pool/rocketpool/graphs/contributors * A special thanks to the Rocket Pool community for all their contributions. * */ pragma solidity >0.5.0 <0.9.0; // SPDX-License-Identifier: GPL-3.0-only // Represents a minipool's status within the network enum MinipoolStatus { Initialised, // The minipool has been initialised and is awaiting a deposit of user ETH Prelaunch, // The minipool has enough ETH to begin staking and is awaiting launch by the node operator Staking, // The minipool is currently staking Withdrawable, // NO LONGER USED Dissolved // The minipool has been dissolved and its user deposited ETH has been returned to the deposit pool }
/** * . * / \ * |.'.| * |'.'| * ,'| |'. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to * be community-owned, decentralised, permissionless, & trustless. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authored by the Rocket Pool Core Team * Contributors: https://github.com/rocket-pool/rocketpool/graphs/contributors * A special thanks to the Rocket Pool community for all their contributions. * */ pragma solidity >0.5.0 <0.9.0; // SPDX-License-Identifier: GPL-3.0-only import "./MinipoolDeposit.sol"; import "./MinipoolStatus.sol"; // A struct containing all the information on-chain about a specific minipool struct MinipoolDetails { bool exists; address minipoolAddress; bytes pubkey; MinipoolStatus status; uint256 statusBlock; uint256 statusTime; bool finalised; MinipoolDeposit depositType; uint256 nodeFee; uint256 nodeDepositBalance; bool nodeDepositAssigned; uint256 userDepositBalance; bool userDepositAssigned; uint256 userDepositAssignedTime; bool useLatestDelegate; address delegate; address previousDelegate; address effectiveDelegate; uint256 penaltyCount; uint256 penaltyRate; address nodeAddress; }
/** * . * / \ * |.'.| * |'.'| * ,'| |'. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to * be community-owned, decentralised, permissionless, & trustless. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authored by the Rocket Pool Core Team * Contributors: https://github.com/rocket-pool/rocketpool/graphs/contributors * A special thanks to the Rocket Pool community for all their contributions. * */ pragma solidity >0.5.0 <0.9.0; // SPDX-License-Identifier: GPL-3.0-only import "../../types/MinipoolDeposit.sol"; import "../../types/MinipoolStatus.sol"; import "../RocketStorageInterface.sol"; interface RocketMinipoolInterface { function version() external view returns (uint8); function initialise(address _nodeAddress) external; function getStatus() external view returns (MinipoolStatus); function getFinalised() external view returns (bool); function getStatusBlock() external view returns (uint256); function getStatusTime() external view returns (uint256); function getScrubVoted(address _member) external view returns (bool); function getDepositType() external view returns (MinipoolDeposit); function getNodeAddress() external view returns (address); function getNodeFee() external view returns (uint256); function getNodeDepositBalance() external view returns (uint256); function getNodeRefundBalance() external view returns (uint256); function getNodeDepositAssigned() external view returns (bool); function getPreLaunchValue() external view returns (uint256); function getNodeTopUpValue() external view returns (uint256); function getVacant() external view returns (bool); function getPreMigrationBalance() external view returns (uint256); function getUserDistributed() external view returns (bool); function getUserDepositBalance() external view returns (uint256); function getUserDepositAssigned() external view returns (bool); function getUserDepositAssignedTime() external view returns (uint256); function getTotalScrubVotes() external view returns (uint256); function calculateNodeShare(uint256 _balance) external view returns (uint256); function calculateUserShare(uint256 _balance) external view returns (uint256); function preDeposit(uint256 _bondingValue, bytes calldata _validatorPubkey, bytes calldata _validatorSignature, bytes32 _depositDataRoot) external payable; function deposit() external payable; function userDeposit() external payable; function distributeBalance(bool _rewardsOnly) external; function beginUserDistribute() external; function userDistributeAllowed() external view returns (bool); function refund() external; function slash() external; function finalise() external; function canStake() external view returns (bool); function canPromote() external view returns (bool); function stake(bytes calldata _validatorSignature, bytes32 _depositDataRoot) external; function prepareVacancy(uint256 _bondAmount, uint256 _currentBalance) external; function promote() external; function dissolve() external; function close() external; function voteScrub() external; function reduceBondAmount() external; }
/** * . * / \ * |.'.| * |'.'| * ,'| |'. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind Ethereum staking pool protocol, designed to * be community-owned, decentralised, permissionless, & trustless. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authored by the Rocket Pool Core Team * Contributors: https://github.com/rocket-pool/rocketpool/graphs/contributors * A special thanks to the Rocket Pool community for all their contributions. * */ pragma solidity >0.5.0 <0.9.0; pragma abicoder v2; // SPDX-License-Identifier: GPL-3.0-only import "../../types/MinipoolDeposit.sol"; import "../../types/MinipoolDetails.sol"; import "./RocketMinipoolInterface.sol"; interface RocketMinipoolManagerInterface { function getMinipoolCount() external view returns (uint256); function getStakingMinipoolCount() external view returns (uint256); function getFinalisedMinipoolCount() external view returns (uint256); function getActiveMinipoolCount() external view returns (uint256); function getMinipoolRPLSlashed(address _minipoolAddress) external view returns (bool); function getMinipoolCountPerStatus(uint256 offset, uint256 limit) external view returns (uint256, uint256, uint256, uint256, uint256); function getPrelaunchMinipools(uint256 offset, uint256 limit) external view returns (address[] memory); function getMinipoolAt(uint256 _index) external view returns (address); function getNodeMinipoolCount(address _nodeAddress) external view returns (uint256); function getNodeActiveMinipoolCount(address _nodeAddress) external view returns (uint256); function getNodeFinalisedMinipoolCount(address _nodeAddress) external view returns (uint256); function getNodeStakingMinipoolCount(address _nodeAddress) external view returns (uint256); function getNodeStakingMinipoolCountBySize(address _nodeAddress, uint256 _depositSize) external view returns (uint256); function getNodeMinipoolAt(address _nodeAddress, uint256 _index) external view returns (address); function getNodeValidatingMinipoolCount(address _nodeAddress) external view returns (uint256); function getNodeValidatingMinipoolAt(address _nodeAddress, uint256 _index) external view returns (address); function getMinipoolByPubkey(bytes calldata _pubkey) external view returns (address); function getMinipoolExists(address _minipoolAddress) external view returns (bool); function getMinipoolDestroyed(address _minipoolAddress) external view returns (bool); function getMinipoolPubkey(address _minipoolAddress) external view returns (bytes memory); function updateNodeStakingMinipoolCount(uint256 _previousBond, uint256 _newBond, uint256 _previousFee, uint256 _newFee) external; function getMinipoolWithdrawalCredentials(address _minipoolAddress) external pure returns (bytes memory); function createMinipool(address _nodeAddress, uint256 _salt) external returns (RocketMinipoolInterface); function createVacantMinipool(address _nodeAddress, uint256 _salt, bytes calldata _validatorPubkey, uint256 _bondAmount, uint256 _currentBalance) external returns (RocketMinipoolInterface); function removeVacantMinipool() external; function getVacantMinipoolCount() external view returns (uint256); function getVacantMinipoolAt(uint256 _index) external view returns (address); function destroyMinipool() external; function incrementNodeStakingMinipoolCount(address _nodeAddress) external; function decrementNodeStakingMinipoolCount(address _nodeAddress) external; function tryDistribute(address _nodeAddress) external; function incrementNodeFinalisedMinipoolCount(address _nodeAddress) external; function setMinipoolPubkey(bytes calldata _pubkey) external; function getMinipoolDepositType(address _minipoolAddress) external view returns (MinipoolDeposit); }
{ "optimizer": { "enabled": true, "runs": 15000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
[{"inputs":[{"internalType":"contract RocketStorageInterface","name":"_rocketStorageAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"_nodeAddress","type":"address"},{"internalType":"int256","name":"_delta","type":"int256"}],"name":"addCorrection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"corrections","outputs":[{"internalType":"address","name":"nodeAddress","type":"address"},{"internalType":"int256","name":"delta","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"execute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"executed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRocketStorageAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketDAOProposal","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketDAOProposalAbi","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketDAOProtocolProposal","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketDAOProtocolProposalAbi","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketDAOProtocolSettingsAuction","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketDAOProtocolSettingsAuctionAbi","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketDAOProtocolSettingsProposals","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketDAOProtocolSettingsProposalsAbi","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketDAOProtocolVerifier","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketDAOProtocolVerifierAbi","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketMinipoolDelegate","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketMinipoolDelegateAbi","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketMinipoolManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketMinipoolManagerAbi","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketNetworkVoting","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketNetworkVotingAbi","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketNodeDeposit","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketNodeDepositAbi","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketNodeStaking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newRocketNodeStakingAbi","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"string[]","name":"_abis","type":"string[]"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a060405260008054610100600160a81b03191690553480156200002257600080fd5b5060405162002d4f38038062002d4f83398101604081905262000045916200007e565b6000805460ff196001600160a01b0390931661010002929092166001600160a81b031990921691909117600117905533608052620000b0565b6000602082840312156200009157600080fd5b81516001600160a01b0381168114620000a957600080fd5b9392505050565b608051612c75620000da600039600081816105c3015281816118300152611a1d0152612c756000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80639de5db7911610104578063cf9b1d1f116100a2578063f83d08ba11610071578063f83d08ba14610461578063f8a379ba14610469578063fa218d1014610471578063fb3c61cc1461049157600080fd5b8063cf9b1d1f146103f9578063d62683e414610419578063ded4d2cd14610439578063ee8831be1461045957600080fd5b8063bfd42c03116100de578063bfd42c031461037c578063c0dfcd701461039c578063c8021724146103af578063cf309012146103d257600080fd5b80639de5db7914610334578063a64f645214610354578063b04e5c451461037457600080fd5b806354fd4d5011610171578063614619541161014b57806361461954146102fc5780636366eae1146103045780637f9292dc14610324578063951f3ac11461032c57600080fd5b806354fd4d50146102c05780635805ef79146102df5780635d11504c146102f457600080fd5b806331a38c89116101ad57806331a38c89146102355780634043724d1461026b57806343246b3c146102b05780634ae4104e146102b857600080fd5b806314df1c1a146101d457806314f98e561461021857806324798fb71461022d575b600080fd5b6101e76101e23660046124e3565b6104b1565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526020830191909152015b60405180910390f35b6102206104f6565b60405161020f919061256a565b610220610584565b60005461025b907501000000000000000000000000000000000000000000900460ff1681565b604051901515815260200161020f565b60095461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161020f565b610220610591565b61022061059e565b6000546102cd9060ff1681565b60405160ff909116815260200161020f565b6102f26102ed366004612752565b6105ab565b005b610220610c0c565b6102f2610c19565b60055461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b6102206117f1565b6102206117fe565b60045461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b60065461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b61022061180b565b60035461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b6102f26103aa366004612814565b611818565b600054610100900473ffffffffffffffffffffffffffffffffffffffff1661028b565b60005461025b90760100000000000000000000000000000000000000000000900460ff1681565b600a5461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b60015461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b60025461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b6102206119f8565b6102f2611a05565b610220611ae7565b60075461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b60085461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b601581815481106104c157600080fd5b60009182526020909120600290910201805460019091015473ffffffffffffffffffffffffffffffffffffffff909116915082565b6014805461050390612840565b80601f016020809104026020016040519081016040528092919081815260200182805461052f90612840565b801561057c5780601f106105515761010080835404028352916020019161057c565b820191906000526020600020905b81548152906001019060200180831161055f57829003601f168201915b505050505081565b600d805461050390612840565b600c805461050390612840565b600b805461050390612840565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461064f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f4f6e6c79206465706c6f7965720000000000000000000000000000000000000060448201526064015b60405180910390fd5b600054760100000000000000000000000000000000000000000000900460ff16156106d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f436f6e7472616374206c6f636b656400000000000000000000000000000000006044820152606401610646565b816000815181106106e9576106e9612893565b6020026020010151600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160018151811061074457610744612893565b6020026020010151600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160028151811061079f5761079f612893565b6020026020010151600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816003815181106107fa576107fa612893565b6020026020010151600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160048151811061085557610855612893565b6020026020010151600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816005815181106108b0576108b0612893565b6020026020010151600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160068151811061090b5761090b612893565b6020026020010151600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160078151811061096657610966612893565b6020026020010151600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816008815181106109c1576109c1612893565b6020026020010151600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600981518110610a1c57610a1c612893565b6020026020010151600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600081518110610a7757610a77612893565b6020026020010151600b9081610a8d9190612908565b5080600181518110610aa157610aa1612893565b6020026020010151600c9081610ab79190612908565b5080600281518110610acb57610acb612893565b6020026020010151600d9081610ae19190612908565b5080600381518110610af557610af5612893565b6020026020010151600e9081610b0b9190612908565b5080600481518110610b1f57610b1f612893565b6020026020010151600f9081610b359190612908565b5080600581518110610b4957610b49612893565b602002602001015160109081610b5f9190612908565b5080600681518110610b7357610b73612893565b602002602001015160119081610b899190612908565b5080600781518110610b9d57610b9d612893565b602002602001015160129081610bb39190612908565b5080600881518110610bc757610bc7612893565b602002602001015160139081610bdd9190612908565b5080600981518110610bf157610bf1612893565b602002602001015160149081610c079190612908565b505050565b6010805461050390612840565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a75b87d26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610caa9190612a22565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d64576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4163636f756e74206973206e6f7420612074656d706f7261727920677561726460448201527f69616e00000000000000000000000000000000000000000000000000000000006064820152608401610646565b6000547501000000000000000000000000000000000000000000900460ff1615610dea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f416c7265616479206578656375746564000000000000000000000000000000006044820152606401610646565b600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16750100000000000000000000000000000000000000000017905560408051808201909152601181527f726f636b657444414f50726f706f73616c0000000000000000000000000000006020820152600154600b8054610f0e939273ffffffffffffffffffffffffffffffffffffffff169190610e8b90612840565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb790612840565b8015610f045780601f10610ed957610100808354040283529160200191610f04565b820191906000526020600020905b815481529060010190602001808311610ee757829003601f168201915b5050505050611af4565b60408051808201909152601981527f726f636b657444414f50726f746f636f6c50726f706f73616c000000000000006020820152600254600c8054610f6f939273ffffffffffffffffffffffffffffffffffffffff169190610e8b90612840565b60408051808201909152601981527f726f636b657444414f50726f746f636f6c5665726966696572000000000000006020820152600354600d8054610fd0939273ffffffffffffffffffffffffffffffffffffffff169190610e8b90612840565b611015604051806060016040528060228152602001612c1e60229139600454600e805473ffffffffffffffffffffffffffffffffffffffff90921691610e8b90612840565b6040805180820190915260208082527f726f636b657444414f50726f746f636f6c53657474696e677341756374696f6e90820152600554600f8054611076939273ffffffffffffffffffffffffffffffffffffffff169190610e8b90612840565b60408051808201909152601581527f726f636b65744d696e69706f6f6c4d616e6167657200000000000000000000006020820152600654601080546110d7939273ffffffffffffffffffffffffffffffffffffffff169190610e8b90612840565b6040805180820190915260118082527f726f636b65744e6f64655374616b696e6700000000000000000000000000000060208301526007548154611139939273ffffffffffffffffffffffffffffffffffffffff9092169190610e8b90612840565b60408051808201909152601681527f726f636b65744d696e69706f6f6c44656c65676174650000000000000000000060208201526008546012805461119a939273ffffffffffffffffffffffffffffffffffffffff169190610e8b90612840565b60408051808201909152601181527f726f636b65744e6f64654465706f7369740000000000000000000000000000006020820152600954601380546111fb939273ffffffffffffffffffffffffffffffffffffffff169190610e8b90612840565b60408051808201909152601381527f726f636b65744e6574776f726b566f74696e67000000000000000000000000006020820152600a546014805461125c939273ffffffffffffffffffffffffffffffffffffffff169190610e8b90612840565b6040517f64616f2e73656375726974792e616c6c6f7765642e73657474696e670000000060208201527f61756374696f6e00000000000000000000000000000000000000000000000000603c8201527f61756374696f6e2e6c6f742e6372656174652e656e61626c656400000000000060438201526112f690605d015b604051602081830303815290604052805190602001206001612078565b6040517f64616f2e73656375726974792e616c6c6f7765642e73657474696e670000000060208201527f61756374696f6e00000000000000000000000000000000000000000000000000603c8201527f61756374696f6e2e6c6f742e62696464696e672e656e61626c65640000000000604382015261137790605e016112d9565b6040517f64616f2e70726f746f636f6c2e73657474696e672e000000000000000000000060208201527f70726f706f73616c7300000000000000000000000000000000000000000000006035820152600090603e01604051602081830303815290604052805190602001209050611444816040516020016114209181527f70726f706f73616c2e71756f72756d00000000000000000000000000000000006020820152602f0190565b60405160208183030381529060405280519060200120670429d069189e000061210d565b60006114846040518060400160405280601681526020017f726f636b65744e6574776f726b536e617073686f74730000000000000000000081525061216f565b90506000805b60155481101561176f576000601582815481106114a9576114a9612893565b60009182526020918290206040805180820182526002909302909101805473ffffffffffffffffffffffffffffffffffffffff1680845260019091015483850152905191935061154c929091017f6574682e6d6174636865642e6e6f64652e616d6f756e74000000000000000000815260609190911b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000166017820152602b0190565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905280516020909101207f79feb10700000000000000000000000000000000000000000000000000000000825260048201819052935060009073ffffffffffffffffffffffffffffffffffffffff8616906379feb10790602401606060405180830381865afa1580156115f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116149190612a54565b9250505060008260200151827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166116489190612af7565b905060008112156116b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f496e76616c696420636f7272656374696f6e00000000000000000000000000006044820152606401610646565b6040517f5ba59649000000000000000000000000000000000000000000000000000000008152600481018690527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8216602482015273ffffffffffffffffffffffffffffffffffffffff871690635ba5964990604401600060405180830381600087803b15801561174157600080fd5b505af1158015611755573d6000803e3d6000fd5b50505050505050808061176790612b1f565b91505061148a565b506040517f70726f746f636f6c2e76657273696f6e000000000000000000000000000000006020820152610c0790603001604051602081830303815290604052805190602001206040518060400160405280600581526020017f312e332e3100000000000000000000000000000000000000000000000000000081525061220b565b6011805461050390612840565b600e805461050390612840565b6012805461050390612840565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146118b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f4f6e6c79206465706c6f796572000000000000000000000000000000000000006044820152606401610646565b600054760100000000000000000000000000000000000000000000900460ff161561193e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f436f6e7472616374206c6f636b656400000000000000000000000000000000006044820152606401610646565b6040805180820190915273ffffffffffffffffffffffffffffffffffffffff9283168152602081019182526015805460018101825560009190915290517f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec475600290920291820180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169190941617909255517f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec47690910155565b600f805461050390612840565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614611aa4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f4f6e6c79206465706c6f796572000000000000000000000000000000000000006044820152606401610646565b600080547fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff16760100000000000000000000000000000000000000000000179055565b6013805461050390612840565b6000611b2584604051602001611b0a9190612b57565b60405160208183030381529060405280519060200120612267565b905073ffffffffffffffffffffffffffffffffffffffff8116611ba4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f436f6e747261637420646f6573206e6f742065786973740000000000000000006044820152606401610646565b73ffffffffffffffffffffffffffffffffffffffff8316611c21576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f496e76616c696420636f6e7472616374206164647265737300000000000000006044820152606401610646565b8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611cdc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f54686520636f6e747261637420616464726573732063616e6e6f74206265207360448201527f657420746f206974732063757272656e742061646472657373000000000000006064820152608401610646565b6040517f636f6e74726163742e657869737473000000000000000000000000000000000060208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b16602f820152611d5390604301604051602081830303815290604052805190602001206122ff565b15611de0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f436f6e7472616374206164647265737320697320616c726561647920696e207560448201527f73650000000000000000000000000000000000000000000000000000000000006064820152608401610646565b6000825111611e4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f456d7074792041424920697320696e76616c69640000000000000000000000006044820152606401610646565b6040517f636f6e74726163742e657869737473000000000000000000000000000000000060208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b16602f820152611eac906043016112d9565b6040517f636f6e74726163742e6e616d650000000000000000000000000000000000000060208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b16602d820152611f2490604101604051602081830303815290604052805190602001208561220b565b611f5484604051602001611f389190612b57565b6040516020818303038152906040528051906020012084612397565b611f8484604051602001611f689190612b9c565b604051602081830303815290604052805190602001208361220b565b6040517f636f6e74726163742e6e616d650000000000000000000000000000000000000060208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b16602d820152611ffb90604101604051602081830303815290604052805190602001206123fc565b6040517f636f6e74726163742e657869737473000000000000000000000000000000000060208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b16602f8201526120729060430160405160208183030381529060405280519060200120612488565b50505050565b6000546040517fabfdcced00000000000000000000000000000000000000000000000000000000815260048101849052821515602482015261010090910473ffffffffffffffffffffffffffffffffffffffff169063abfdcced906044015b600060405180830381600087803b1580156120f157600080fd5b505af1158015612105573d6000803e3d6000fd5b505050505050565b6000546040517fe2a4853a000000000000000000000000000000000000000000000000000000008152600481018490526024810183905261010090910473ffffffffffffffffffffffffffffffffffffffff169063e2a4853a906044016120d7565b60008061218683604051602001611b0a9190612b57565b905073ffffffffffffffffffffffffffffffffffffffff8116612205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f436f6e7472616374206e6f7420666f756e6400000000000000000000000000006044820152606401610646565b92915050565b6000546040517f6e89955000000000000000000000000000000000000000000000000000000000815261010090910473ffffffffffffffffffffffffffffffffffffffff1690636e899550906120d79085908590600401612be1565b600080546040517f21f8a7210000000000000000000000000000000000000000000000000000000081526004810184905261010090910473ffffffffffffffffffffffffffffffffffffffff16906321f8a72190602401602060405180830381865afa1580156122db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122059190612a22565b600080546040517f7ae1cfca0000000000000000000000000000000000000000000000000000000081526004810184905261010090910473ffffffffffffffffffffffffffffffffffffffff1690637ae1cfca90602401602060405180830381865afa158015612373573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122059190612c02565b6000546040517fca446dd90000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff83811660248301526101009092049091169063ca446dd9906044016120d7565b6000546040517ff6bb3cc40000000000000000000000000000000000000000000000000000000081526004810183905261010090910473ffffffffffffffffffffffffffffffffffffffff169063f6bb3cc4906024015b600060405180830381600087803b15801561246d57600080fd5b505af1158015612481573d6000803e3d6000fd5b5050505050565b6000546040517f2c62ff2d0000000000000000000000000000000000000000000000000000000081526004810183905261010090910473ffffffffffffffffffffffffffffffffffffffff1690632c62ff2d90602401612453565b6000602082840312156124f557600080fd5b5035919050565b60005b838110156125175781810151838201526020016124ff565b50506000910152565b600081518084526125388160208601602086016124fc565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061257d6020830184612520565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156125fa576125fa612584565b604052919050565b600067ffffffffffffffff82111561261c5761261c612584565b5060051b60200190565b73ffffffffffffffffffffffffffffffffffffffff8116811461264857600080fd5b50565b6000601f838184011261265d57600080fd5b8235602061267261266d83612602565b6125b3565b82815260059290921b8501810191818101908784111561269157600080fd5b8287015b8481101561274657803567ffffffffffffffff808211156126b65760008081fd5b818a0191508a603f8301126126cb5760008081fd5b858201356040828211156126e1576126e1612584565b612710887fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08c850116016125b3565b92508183528c818386010111156127275760008081fd5b8181850189850137506000908201870152845250918301918301612695565b50979650505050505050565b6000806040838503121561276557600080fd5b823567ffffffffffffffff8082111561277d57600080fd5b818501915085601f83011261279157600080fd5b813560206127a161266d83612602565b82815260059290921b840181019181810190898411156127c057600080fd5b948201945b838610156127e75785356127d881612626565b825294820194908201906127c5565b965050860135925050808211156127fd57600080fd5b5061280a8582860161264b565b9150509250929050565b6000806040838503121561282757600080fd5b823561283281612626565b946020939093013593505050565b600181811c9082168061285457607f821691505b60208210810361288d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601f821115610c0757600081815260208120601f850160051c810160208610156128e95750805b601f850160051c820191505b81811015612105578281556001016128f5565b815167ffffffffffffffff81111561292257612922612584565b612936816129308454612840565b846128c2565b602080601f83116001811461298957600084156129535750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555612105565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156129d6578886015182559484019460019091019084016129b7565b5085821015612a1257878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612a3457600080fd5b815161257d81612626565b80518015158114612a4f57600080fd5b919050565b600080600060608486031215612a6957600080fd5b612a7284612a3f565b9250602084015163ffffffff81168114612a8b57600080fd5b60408501519092507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff81168114612abd57600080fd5b809150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082018281126000831280158216821582161715612b1757612b17612ac8565b505092915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612b5057612b50612ac8565b5060010190565b7f636f6e74726163742e6164647265737300000000000000000000000000000000815260008251612b8f8160108501602087016124fc565b9190910160100192915050565b7f636f6e74726163742e6162690000000000000000000000000000000000000000815260008251612bd481600c8501602087016124fc565b91909101600c0192915050565b828152604060208201526000612bfa6040830184612520565b949350505050565b600060208284031215612c1457600080fd5b61257d82612a3f56fe726f636b657444414f50726f746f636f6c53657474696e677350726f706f73616c73a26469706673582212204a7fd2301be84559b8bb8436dc63f189850d7062bf6899a8a806c4c3b1b5854e64736f6c63430008120033000000000000000000000000594fb75d3dc2dfa0150ad03f99f97817747dd4e1
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80639de5db7911610104578063cf9b1d1f116100a2578063f83d08ba11610071578063f83d08ba14610461578063f8a379ba14610469578063fa218d1014610471578063fb3c61cc1461049157600080fd5b8063cf9b1d1f146103f9578063d62683e414610419578063ded4d2cd14610439578063ee8831be1461045957600080fd5b8063bfd42c03116100de578063bfd42c031461037c578063c0dfcd701461039c578063c8021724146103af578063cf309012146103d257600080fd5b80639de5db7914610334578063a64f645214610354578063b04e5c451461037457600080fd5b806354fd4d5011610171578063614619541161014b57806361461954146102fc5780636366eae1146103045780637f9292dc14610324578063951f3ac11461032c57600080fd5b806354fd4d50146102c05780635805ef79146102df5780635d11504c146102f457600080fd5b806331a38c89116101ad57806331a38c89146102355780634043724d1461026b57806343246b3c146102b05780634ae4104e146102b857600080fd5b806314df1c1a146101d457806314f98e561461021857806324798fb71461022d575b600080fd5b6101e76101e23660046124e3565b6104b1565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526020830191909152015b60405180910390f35b6102206104f6565b60405161020f919061256a565b610220610584565b60005461025b907501000000000000000000000000000000000000000000900460ff1681565b604051901515815260200161020f565b60095461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161020f565b610220610591565b61022061059e565b6000546102cd9060ff1681565b60405160ff909116815260200161020f565b6102f26102ed366004612752565b6105ab565b005b610220610c0c565b6102f2610c19565b60055461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b6102206117f1565b6102206117fe565b60045461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b60065461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b61022061180b565b60035461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b6102f26103aa366004612814565b611818565b600054610100900473ffffffffffffffffffffffffffffffffffffffff1661028b565b60005461025b90760100000000000000000000000000000000000000000000900460ff1681565b600a5461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b60015461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b60025461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b6102206119f8565b6102f2611a05565b610220611ae7565b60075461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b60085461028b9073ffffffffffffffffffffffffffffffffffffffff1681565b601581815481106104c157600080fd5b60009182526020909120600290910201805460019091015473ffffffffffffffffffffffffffffffffffffffff909116915082565b6014805461050390612840565b80601f016020809104026020016040519081016040528092919081815260200182805461052f90612840565b801561057c5780601f106105515761010080835404028352916020019161057c565b820191906000526020600020905b81548152906001019060200180831161055f57829003601f168201915b505050505081565b600d805461050390612840565b600c805461050390612840565b600b805461050390612840565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000027e80db1f5a975f4c43c5ec163114e796cdb603d161461064f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f4f6e6c79206465706c6f7965720000000000000000000000000000000000000060448201526064015b60405180910390fd5b600054760100000000000000000000000000000000000000000000900460ff16156106d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f436f6e7472616374206c6f636b656400000000000000000000000000000000006044820152606401610646565b816000815181106106e9576106e9612893565b6020026020010151600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160018151811061074457610744612893565b6020026020010151600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160028151811061079f5761079f612893565b6020026020010151600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816003815181106107fa576107fa612893565b6020026020010151600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160048151811061085557610855612893565b6020026020010151600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816005815181106108b0576108b0612893565b6020026020010151600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160068151811061090b5761090b612893565b6020026020010151600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160078151811061096657610966612893565b6020026020010151600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816008815181106109c1576109c1612893565b6020026020010151600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600981518110610a1c57610a1c612893565b6020026020010151600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600081518110610a7757610a77612893565b6020026020010151600b9081610a8d9190612908565b5080600181518110610aa157610aa1612893565b6020026020010151600c9081610ab79190612908565b5080600281518110610acb57610acb612893565b6020026020010151600d9081610ae19190612908565b5080600381518110610af557610af5612893565b6020026020010151600e9081610b0b9190612908565b5080600481518110610b1f57610b1f612893565b6020026020010151600f9081610b359190612908565b5080600581518110610b4957610b49612893565b602002602001015160109081610b5f9190612908565b5080600681518110610b7357610b73612893565b602002602001015160119081610b899190612908565b5080600781518110610b9d57610b9d612893565b602002602001015160129081610bb39190612908565b5080600881518110610bc757610bc7612893565b602002602001015160139081610bdd9190612908565b5080600981518110610bf157610bf1612893565b602002602001015160149081610c079190612908565b505050565b6010805461050390612840565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a75b87d26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610caa9190612a22565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d64576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4163636f756e74206973206e6f7420612074656d706f7261727920677561726460448201527f69616e00000000000000000000000000000000000000000000000000000000006064820152608401610646565b6000547501000000000000000000000000000000000000000000900460ff1615610dea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f416c7265616479206578656375746564000000000000000000000000000000006044820152606401610646565b600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16750100000000000000000000000000000000000000000017905560408051808201909152601181527f726f636b657444414f50726f706f73616c0000000000000000000000000000006020820152600154600b8054610f0e939273ffffffffffffffffffffffffffffffffffffffff169190610e8b90612840565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb790612840565b8015610f045780601f10610ed957610100808354040283529160200191610f04565b820191906000526020600020905b815481529060010190602001808311610ee757829003601f168201915b5050505050611af4565b60408051808201909152601981527f726f636b657444414f50726f746f636f6c50726f706f73616c000000000000006020820152600254600c8054610f6f939273ffffffffffffffffffffffffffffffffffffffff169190610e8b90612840565b60408051808201909152601981527f726f636b657444414f50726f746f636f6c5665726966696572000000000000006020820152600354600d8054610fd0939273ffffffffffffffffffffffffffffffffffffffff169190610e8b90612840565b611015604051806060016040528060228152602001612c1e60229139600454600e805473ffffffffffffffffffffffffffffffffffffffff90921691610e8b90612840565b6040805180820190915260208082527f726f636b657444414f50726f746f636f6c53657474696e677341756374696f6e90820152600554600f8054611076939273ffffffffffffffffffffffffffffffffffffffff169190610e8b90612840565b60408051808201909152601581527f726f636b65744d696e69706f6f6c4d616e6167657200000000000000000000006020820152600654601080546110d7939273ffffffffffffffffffffffffffffffffffffffff169190610e8b90612840565b6040805180820190915260118082527f726f636b65744e6f64655374616b696e6700000000000000000000000000000060208301526007548154611139939273ffffffffffffffffffffffffffffffffffffffff9092169190610e8b90612840565b60408051808201909152601681527f726f636b65744d696e69706f6f6c44656c65676174650000000000000000000060208201526008546012805461119a939273ffffffffffffffffffffffffffffffffffffffff169190610e8b90612840565b60408051808201909152601181527f726f636b65744e6f64654465706f7369740000000000000000000000000000006020820152600954601380546111fb939273ffffffffffffffffffffffffffffffffffffffff169190610e8b90612840565b60408051808201909152601381527f726f636b65744e6574776f726b566f74696e67000000000000000000000000006020820152600a546014805461125c939273ffffffffffffffffffffffffffffffffffffffff169190610e8b90612840565b6040517f64616f2e73656375726974792e616c6c6f7765642e73657474696e670000000060208201527f61756374696f6e00000000000000000000000000000000000000000000000000603c8201527f61756374696f6e2e6c6f742e6372656174652e656e61626c656400000000000060438201526112f690605d015b604051602081830303815290604052805190602001206001612078565b6040517f64616f2e73656375726974792e616c6c6f7765642e73657474696e670000000060208201527f61756374696f6e00000000000000000000000000000000000000000000000000603c8201527f61756374696f6e2e6c6f742e62696464696e672e656e61626c65640000000000604382015261137790605e016112d9565b6040517f64616f2e70726f746f636f6c2e73657474696e672e000000000000000000000060208201527f70726f706f73616c7300000000000000000000000000000000000000000000006035820152600090603e01604051602081830303815290604052805190602001209050611444816040516020016114209181527f70726f706f73616c2e71756f72756d00000000000000000000000000000000006020820152602f0190565b60405160208183030381529060405280519060200120670429d069189e000061210d565b60006114846040518060400160405280601681526020017f726f636b65744e6574776f726b536e617073686f74730000000000000000000081525061216f565b90506000805b60155481101561176f576000601582815481106114a9576114a9612893565b60009182526020918290206040805180820182526002909302909101805473ffffffffffffffffffffffffffffffffffffffff1680845260019091015483850152905191935061154c929091017f6574682e6d6174636865642e6e6f64652e616d6f756e74000000000000000000815260609190911b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000166017820152602b0190565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905280516020909101207f79feb10700000000000000000000000000000000000000000000000000000000825260048201819052935060009073ffffffffffffffffffffffffffffffffffffffff8616906379feb10790602401606060405180830381865afa1580156115f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116149190612a54565b9250505060008260200151827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166116489190612af7565b905060008112156116b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f496e76616c696420636f7272656374696f6e00000000000000000000000000006044820152606401610646565b6040517f5ba59649000000000000000000000000000000000000000000000000000000008152600481018690527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8216602482015273ffffffffffffffffffffffffffffffffffffffff871690635ba5964990604401600060405180830381600087803b15801561174157600080fd5b505af1158015611755573d6000803e3d6000fd5b50505050505050808061176790612b1f565b91505061148a565b506040517f70726f746f636f6c2e76657273696f6e000000000000000000000000000000006020820152610c0790603001604051602081830303815290604052805190602001206040518060400160405280600581526020017f312e332e3100000000000000000000000000000000000000000000000000000081525061220b565b6011805461050390612840565b600e805461050390612840565b6012805461050390612840565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000027e80db1f5a975f4c43c5ec163114e796cdb603d16146118b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f4f6e6c79206465706c6f796572000000000000000000000000000000000000006044820152606401610646565b600054760100000000000000000000000000000000000000000000900460ff161561193e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f436f6e7472616374206c6f636b656400000000000000000000000000000000006044820152606401610646565b6040805180820190915273ffffffffffffffffffffffffffffffffffffffff9283168152602081019182526015805460018101825560009190915290517f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec475600290920291820180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169190941617909255517f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec47690910155565b600f805461050390612840565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000027e80db1f5a975f4c43c5ec163114e796cdb603d1614611aa4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f4f6e6c79206465706c6f796572000000000000000000000000000000000000006044820152606401610646565b600080547fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff16760100000000000000000000000000000000000000000000179055565b6013805461050390612840565b6000611b2584604051602001611b0a9190612b57565b60405160208183030381529060405280519060200120612267565b905073ffffffffffffffffffffffffffffffffffffffff8116611ba4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f436f6e747261637420646f6573206e6f742065786973740000000000000000006044820152606401610646565b73ffffffffffffffffffffffffffffffffffffffff8316611c21576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f496e76616c696420636f6e7472616374206164647265737300000000000000006044820152606401610646565b8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611cdc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f54686520636f6e747261637420616464726573732063616e6e6f74206265207360448201527f657420746f206974732063757272656e742061646472657373000000000000006064820152608401610646565b6040517f636f6e74726163742e657869737473000000000000000000000000000000000060208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b16602f820152611d5390604301604051602081830303815290604052805190602001206122ff565b15611de0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f436f6e7472616374206164647265737320697320616c726561647920696e207560448201527f73650000000000000000000000000000000000000000000000000000000000006064820152608401610646565b6000825111611e4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f456d7074792041424920697320696e76616c69640000000000000000000000006044820152606401610646565b6040517f636f6e74726163742e657869737473000000000000000000000000000000000060208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b16602f820152611eac906043016112d9565b6040517f636f6e74726163742e6e616d650000000000000000000000000000000000000060208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b16602d820152611f2490604101604051602081830303815290604052805190602001208561220b565b611f5484604051602001611f389190612b57565b6040516020818303038152906040528051906020012084612397565b611f8484604051602001611f689190612b9c565b604051602081830303815290604052805190602001208361220b565b6040517f636f6e74726163742e6e616d650000000000000000000000000000000000000060208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b16602d820152611ffb90604101604051602081830303815290604052805190602001206123fc565b6040517f636f6e74726163742e657869737473000000000000000000000000000000000060208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b16602f8201526120729060430160405160208183030381529060405280519060200120612488565b50505050565b6000546040517fabfdcced00000000000000000000000000000000000000000000000000000000815260048101849052821515602482015261010090910473ffffffffffffffffffffffffffffffffffffffff169063abfdcced906044015b600060405180830381600087803b1580156120f157600080fd5b505af1158015612105573d6000803e3d6000fd5b505050505050565b6000546040517fe2a4853a000000000000000000000000000000000000000000000000000000008152600481018490526024810183905261010090910473ffffffffffffffffffffffffffffffffffffffff169063e2a4853a906044016120d7565b60008061218683604051602001611b0a9190612b57565b905073ffffffffffffffffffffffffffffffffffffffff8116612205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f436f6e7472616374206e6f7420666f756e6400000000000000000000000000006044820152606401610646565b92915050565b6000546040517f6e89955000000000000000000000000000000000000000000000000000000000815261010090910473ffffffffffffffffffffffffffffffffffffffff1690636e899550906120d79085908590600401612be1565b600080546040517f21f8a7210000000000000000000000000000000000000000000000000000000081526004810184905261010090910473ffffffffffffffffffffffffffffffffffffffff16906321f8a72190602401602060405180830381865afa1580156122db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122059190612a22565b600080546040517f7ae1cfca0000000000000000000000000000000000000000000000000000000081526004810184905261010090910473ffffffffffffffffffffffffffffffffffffffff1690637ae1cfca90602401602060405180830381865afa158015612373573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122059190612c02565b6000546040517fca446dd90000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff83811660248301526101009092049091169063ca446dd9906044016120d7565b6000546040517ff6bb3cc40000000000000000000000000000000000000000000000000000000081526004810183905261010090910473ffffffffffffffffffffffffffffffffffffffff169063f6bb3cc4906024015b600060405180830381600087803b15801561246d57600080fd5b505af1158015612481573d6000803e3d6000fd5b5050505050565b6000546040517f2c62ff2d0000000000000000000000000000000000000000000000000000000081526004810183905261010090910473ffffffffffffffffffffffffffffffffffffffff1690632c62ff2d90602401612453565b6000602082840312156124f557600080fd5b5035919050565b60005b838110156125175781810151838201526020016124ff565b50506000910152565b600081518084526125388160208601602086016124fc565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061257d6020830184612520565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156125fa576125fa612584565b604052919050565b600067ffffffffffffffff82111561261c5761261c612584565b5060051b60200190565b73ffffffffffffffffffffffffffffffffffffffff8116811461264857600080fd5b50565b6000601f838184011261265d57600080fd5b8235602061267261266d83612602565b6125b3565b82815260059290921b8501810191818101908784111561269157600080fd5b8287015b8481101561274657803567ffffffffffffffff808211156126b65760008081fd5b818a0191508a603f8301126126cb5760008081fd5b858201356040828211156126e1576126e1612584565b612710887fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08c850116016125b3565b92508183528c818386010111156127275760008081fd5b8181850189850137506000908201870152845250918301918301612695565b50979650505050505050565b6000806040838503121561276557600080fd5b823567ffffffffffffffff8082111561277d57600080fd5b818501915085601f83011261279157600080fd5b813560206127a161266d83612602565b82815260059290921b840181019181810190898411156127c057600080fd5b948201945b838610156127e75785356127d881612626565b825294820194908201906127c5565b965050860135925050808211156127fd57600080fd5b5061280a8582860161264b565b9150509250929050565b6000806040838503121561282757600080fd5b823561283281612626565b946020939093013593505050565b600181811c9082168061285457607f821691505b60208210810361288d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601f821115610c0757600081815260208120601f850160051c810160208610156128e95750805b601f850160051c820191505b81811015612105578281556001016128f5565b815167ffffffffffffffff81111561292257612922612584565b612936816129308454612840565b846128c2565b602080601f83116001811461298957600084156129535750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555612105565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156129d6578886015182559484019460019091019084016129b7565b5085821015612a1257878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612a3457600080fd5b815161257d81612626565b80518015158114612a4f57600080fd5b919050565b600080600060608486031215612a6957600080fd5b612a7284612a3f565b9250602084015163ffffffff81168114612a8b57600080fd5b60408501519092507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff81168114612abd57600080fd5b809150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082018281126000831280158216821582161715612b1757612b17612ac8565b505092915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612b5057612b50612ac8565b5060010190565b7f636f6e74726163742e6164647265737300000000000000000000000000000000815260008251612b8f8160108501602087016124fc565b9190910160100192915050565b7f636f6e74726163742e6162690000000000000000000000000000000000000000815260008251612bd481600c8501602087016124fc565b91909101600c0192915050565b828152604060208201526000612bfa6040830184612520565b949350505050565b600060208284031215612c1457600080fd5b61257d82612a3f56fe726f636b657444414f50726f746f636f6c53657474696e677350726f706f73616c73a26469706673582212204a7fd2301be84559b8bb8436dc63f189850d7062bf6899a8a806c4c3b1b5854e64736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000594fb75d3dc2dfa0150ad03f99f97817747dd4e1
-----Decoded View---------------
Arg [0] : _rocketStorageAddress (address): 0x594Fb75D3dc2DFa0150Ad03F99F97817747dd4E1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000594fb75d3dc2dfa0150ad03f99f97817747dd4e1
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.