Source Code
Overview
ETH Balance
0 ETH
More Info
ContractCreator
Multichain Info
N/A
Latest 16 from a total of 16 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Bootstrap Settin... | 2449475 | 34 days ago | IN | 0 ETH | 0.0003765 | ||||
Bootstrap Settin... | 2449471 | 34 days ago | IN | 0 ETH | 0.0003765 | ||||
Bootstrap Settin... | 2449458 | 34 days ago | IN | 0 ETH | 0.00037668 | ||||
Bootstrap Settin... | 2445081 | 34 days ago | IN | 0 ETH | 0.00032533 | ||||
Bootstrap Settin... | 2445061 | 34 days ago | IN | 0 ETH | 0.00032009 | ||||
Bootstrap Settin... | 2444372 | 34 days ago | IN | 0 ETH | 0.00032006 | ||||
Bootstrap Settin... | 2444249 | 34 days ago | IN | 0 ETH | 0.00028705 | ||||
Bootstrap Settin... | 2438741 | 35 days ago | IN | 0 ETH | 0.00022282 | ||||
Bootstrap Settin... | 2438739 | 35 days ago | IN | 0 ETH | 0.00022282 | ||||
Bootstrap Settin... | 2438736 | 35 days ago | IN | 0 ETH | 0.00022282 | ||||
Bootstrap Settin... | 2438717 | 35 days ago | IN | 0 ETH | 0.00022282 | ||||
Bootstrap Settin... | 2438703 | 35 days ago | IN | 0 ETH | 0.00022282 | ||||
Bootstrap Settin... | 2438696 | 35 days ago | IN | 0 ETH | 0.00022282 | ||||
Bootstrap Settin... | 2438672 | 35 days ago | IN | 0 ETH | 0.00022282 | ||||
Bootstrap Settin... | 2438661 | 35 days ago | IN | 0 ETH | 0.00023542 | ||||
0x60806040 | 2436890 | 36 days ago | IN | 0 ETH | 0.00768403 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x3232cf66...02fe16c35 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
RocketDAOProtocol
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity Standard Json-Input format)
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | DECENTRALISED STAKING PROTOCOL FOR ETHEREUM 2.0 | * +---------------------------------------------------+ * * Rocket Pool is a first-of-its-kind ETH2 Proof of Stake protocol, designed to be community owned, * decentralised, trustless and compatible with staking in Ethereum 2.0. * * For more information about Rocket Pool, visit https://rocketpool.net * * Authors: David Rugendyke, Jake Pospischil, Kane Wallmann, Darren Langley, Joe Clapis, Nick Doherty * */ // SPDX-License-Identifier: GPL-3.0-only pragma solidity 0.8.18; pragma abicoder v2; import "../../RocketBase.sol"; import "../../../interface/dao/protocol/RocketDAOProtocolInterface.sol"; import "../../../interface/dao/protocol/RocketDAOProtocolProposalsInterface.sol"; import "../../../types/SettingType.sol"; /// @notice The Rocket Pool Protocol DAO contract RocketDAOProtocol is RocketBase, RocketDAOProtocolInterface { // Events event BootstrapSettingMulti(string[] settingContractNames, string[] settingPaths, SettingType[] types, bytes[] values, uint256 time); event BootstrapSettingUint(string settingContractName, string settingPath, uint256 value, uint256 time); event BootstrapSettingBool(string settingContractName, string settingPath, bool value, uint256 time); event BootstrapSettingAddress(string settingContractName, string settingPath, address value, uint256 time); event BootstrapSettingClaimers(uint256 trustedNodePercent, uint256 protocolPercent, uint256 nodePercent, uint256 time); event BootstrapSpendTreasury(string invoiceID, address recipientAddress, uint256 amount, uint256 time); event BootstrapTreasuryNewContract(string contractName, address recipientAddress, uint256 amountPerPeriod, uint256 periodLength, uint256 startTime, uint256 numPeriods, uint256 time); event BootstrapTreasuryUpdateContract(string contractName, address recipientAddress, uint256 amountPerPeriod, uint256 periodLength, uint256 numPeriods, uint256 time); event BootstrapSecurityInvite(string id, address memberAddress, uint256 time); event BootstrapSecurityKick(address memberAddress, uint256 time); event BootstrapDisabled(uint256 time); event BootstrapProtocolDAOEnabled(uint256 block, uint256 time); // The namespace for any data stored in the network DAO (do not change) string constant internal daoNameSpace = "dao.protocol."; // Only allow bootstrapping when enabled modifier onlyBootstrapMode() { require(getBootstrapModeDisabled() == false, "Bootstrap mode not engaged"); _; } constructor(RocketStorageInterface _rocketStorageAddress) RocketBase(_rocketStorageAddress) { version = 2; } /**** DAO Properties **************/ /// @notice Returns true if bootstrap mode is disabled function getBootstrapModeDisabled() override public view returns (bool) { return getBool(keccak256(abi.encodePacked(daoNameSpace, "bootstrapmode.disabled"))); } /// @notice Get the last time this user made a proposal function getMemberLastProposalTime(address _nodeAddress) override external view returns (uint256) { return getUint(keccak256(abi.encodePacked(daoNameSpace, "member.proposal.lasttime", _nodeAddress))); } /**** Bootstrapping ***************/ // While bootstrap mode is engaged, RP can change settings alongside the DAO. When disabled, only DAO will be able to control settings /// @notice Bootstrap mode - multi Setting function bootstrapSettingMulti(string[] memory _settingContractNames, string[] memory _settingPaths, SettingType[] memory _types, bytes[] memory _values) override external onlyGuardian onlyBootstrapMode onlyLatestContract("rocketDAOProtocol", address(this)) { RocketDAOProtocolProposalsInterface(getContractAddress("rocketDAOProtocolProposals")).proposalSettingMulti(_settingContractNames, _settingPaths, _types, _values); emit BootstrapSettingMulti(_settingContractNames, _settingPaths, _types, _values, block.timestamp); } /// @notice Bootstrap mode - Uint Setting function bootstrapSettingUint(string memory _settingContractName, string memory _settingPath, uint256 _value) override external onlyGuardian onlyBootstrapMode onlyLatestContract("rocketDAOProtocol", address(this)) { RocketDAOProtocolProposalsInterface(getContractAddress("rocketDAOProtocolProposals")).proposalSettingUint(_settingContractName, _settingPath, _value); emit BootstrapSettingUint(_settingContractName, _settingPath, _value, block.timestamp); } /// @notice Bootstrap mode - Bool Setting function bootstrapSettingBool(string memory _settingContractName, string memory _settingPath, bool _value) override external onlyGuardian onlyBootstrapMode onlyLatestContract("rocketDAOProtocol", address(this)) { RocketDAOProtocolProposalsInterface(getContractAddress("rocketDAOProtocolProposals")).proposalSettingBool(_settingContractName, _settingPath, _value); emit BootstrapSettingBool(_settingContractName, _settingPath, _value, block.timestamp); } /// @notice Bootstrap mode - Address Setting function bootstrapSettingAddress(string memory _settingContractName, string memory _settingPath, address _value) override external onlyGuardian onlyBootstrapMode onlyLatestContract("rocketDAOProtocol", address(this)) { RocketDAOProtocolProposalsInterface(getContractAddress("rocketDAOProtocolProposals")).proposalSettingAddress(_settingContractName, _settingPath, _value); emit BootstrapSettingAddress(_settingContractName, _settingPath, _value, block.timestamp); } /// @notice Bootstrap mode - Set a claiming contract to receive a % of RPL inflation rewards function bootstrapSettingClaimers(uint256 _trustedNodePercent, uint256 _protocolPercent, uint256 _nodePercent) override external onlyGuardian onlyBootstrapMode onlyLatestContract("rocketDAOProtocol", address(this)) { RocketDAOProtocolProposalsInterface(getContractAddress("rocketDAOProtocolProposals")).proposalSettingRewardsClaimers(_trustedNodePercent, _protocolPercent, _nodePercent); emit BootstrapSettingClaimers(_trustedNodePercent, _protocolPercent, _nodePercent, block.timestamp); } /// @notice Bootstrap mode - Spend DAO treasury function bootstrapSpendTreasury(string memory _invoiceID, address _recipientAddress, uint256 _amount) override external onlyGuardian onlyBootstrapMode onlyLatestContract("rocketDAOProtocol", address(this)) { RocketDAOProtocolProposalsInterface(getContractAddress("rocketDAOProtocolProposals")).proposalTreasuryOneTimeSpend(_invoiceID, _recipientAddress, _amount); emit BootstrapSpendTreasury(_invoiceID, _recipientAddress, _amount, block.timestamp); } /// @notice Bootstrap mode - New treasury contract function bootstrapTreasuryNewContract(string memory _contractName, address _recipientAddress, uint256 _amountPerPeriod, uint256 _periodLength, uint256 _startTime, uint256 _numPeriods) override external onlyGuardian onlyBootstrapMode onlyLatestContract("rocketDAOProtocol", address(this)) { RocketDAOProtocolProposalsInterface(getContractAddress("rocketDAOProtocolProposals")).proposalTreasuryNewContract(_contractName, _recipientAddress, _amountPerPeriod, _periodLength, _startTime, _numPeriods); emit BootstrapTreasuryNewContract(_contractName, _recipientAddress, _amountPerPeriod, _periodLength, _startTime, _numPeriods, block.timestamp); } /// @notice Bootstrap mode - Update treasury contract function bootstrapTreasuryUpdateContract(string memory _contractName, address _recipientAddress, uint256 _amountPerPeriod, uint256 _periodLength, uint256 _numPeriods) override external onlyGuardian onlyBootstrapMode onlyLatestContract("rocketDAOProtocol", address(this)) { RocketDAOProtocolProposalsInterface(getContractAddress("rocketDAOProtocolProposals")).proposalTreasuryUpdateContract(_contractName, _recipientAddress, _amountPerPeriod, _periodLength, _numPeriods); emit BootstrapTreasuryUpdateContract(_contractName, _recipientAddress, _amountPerPeriod, _periodLength, _numPeriods, block.timestamp); } /// @notice Bootstrap mode - Invite security council member function bootstrapSecurityInvite(string memory _id, address _memberAddress) override external onlyGuardian onlyBootstrapMode onlyLatestContract("rocketDAOProtocol", address(this)) { RocketDAOProtocolProposalsInterface(getContractAddress("rocketDAOProtocolProposals")).proposalSecurityInvite(_id, _memberAddress); emit BootstrapSecurityInvite(_id, _memberAddress, block.timestamp); } /// @notice Bootstrap mode - Kick security council member function bootstrapSecurityKick(address _memberAddress) override external onlyGuardian onlyBootstrapMode onlyLatestContract("rocketDAOProtocol", address(this)) { RocketDAOProtocolProposalsInterface(getContractAddress("rocketDAOProtocolProposals")).proposalSecurityKick(_memberAddress); emit BootstrapSecurityKick(_memberAddress, block.timestamp); } /// @notice Bootstrap mode - Disable RP Access (only RP can call this to hand over full control to the DAO) function bootstrapDisable(bool _confirmDisableBootstrapMode) override external onlyGuardian onlyBootstrapMode onlyLatestContract("rocketDAOProtocol", address(this)) { // Prevent disabling bootstrap if on-chain governance has not been enabled require(getUint(keccak256(abi.encodePacked("protocol.dao.enabled.block"))) > 0, "On-chain governance must be enabled first"); // Disable bootstrap require(_confirmDisableBootstrapMode == true, "You must confirm disabling bootstrap mode, it can only be done once!"); setBool(keccak256(abi.encodePacked(daoNameSpace, "bootstrapmode.disabled")), true); emit BootstrapDisabled(block.timestamp); } /// @notice Bootstrap mode - Enables on-chain governance proposals function bootstrapEnableGovernance() override external onlyGuardian onlyBootstrapMode onlyLatestContract("rocketDAOProtocol", address(this)) { setUint(keccak256(abi.encodePacked("protocol.dao.enabled.block")), block.number); emit BootstrapProtocolDAOEnabled(block.number, block.timestamp); } }
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | 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.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 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 enum SettingType { UINT256, BOOL, ADDRESS, STRING, BYTES, BYTES32, INT256 }
/** * . * / \ * |.'.| * |'.'| * ,'| |`. * |,-'-|-'-.| * __|_| | _ _ _____ _ * | ___ \| | | | | | ___ \ | | * | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | | * | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| | * | |\ \ (_) | (__| < __/ |_ | | | (_) | (_) | | * \_| \_\___/ \___|_|\_\___|\__| \_| \___/ \___/|_| * +---------------------------------------------------+ * | 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; pragma abicoder v2; import "../../../types/SettingType.sol"; // SPDX-License-Identifier: GPL-3.0-only interface RocketDAOProtocolInterface { function getMemberLastProposalTime(address _nodeAddress) external view returns (uint256); function getBootstrapModeDisabled() external view returns (bool); function bootstrapSettingMulti(string[] memory _settingContractNames, string[] memory _settingPaths, SettingType[] memory _types, bytes[] memory _values) external; function bootstrapSettingUint(string memory _settingContractName, string memory _settingPath, uint256 _value) external; function bootstrapSettingBool(string memory _settingContractName, string memory _settingPath, bool _value) external; function bootstrapSettingAddress(string memory _settingContractName, string memory _settingPath, address _value) external; function bootstrapSettingClaimers(uint256 _trustedNodePerc, uint256 _protocolPerc, uint256 _nodePerc) external; function bootstrapSpendTreasury(string memory _invoiceID, address _recipientAddress, uint256 _amount) external; function bootstrapTreasuryNewContract(string memory _contractName, address _recipientAddress, uint256 _amountPerPeriod, uint256 _periodLength, uint256 _startTime, uint256 _numPeriods) external; function bootstrapTreasuryUpdateContract(string memory _contractName, address _recipientAddress, uint256 _amountPerPeriod, uint256 _periodLength, uint256 _numPeriods) external; function bootstrapSecurityInvite(string memory _id, address _memberAddress) external; function bootstrapSecurityKick(address _memberAddress) external; function bootstrapDisable(bool _confirmDisableBootstrapMode) external; function bootstrapEnableGovernance() 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 * */ // SPDX-License-Identifier: GPL-3.0-only pragma solidity >0.5.0 <0.9.0; pragma abicoder v2; import "../../../types/SettingType.sol"; interface RocketDAOProtocolProposalsInterface { function proposalSettingMulti(string[] memory _settingContractNames, string[] memory _settingPaths, SettingType[] memory _types, bytes[] memory _data) external; function proposalSettingUint(string memory _settingContractName, string memory _settingPath, uint256 _value) external; function proposalSettingBool(string memory _settingContractName, string memory _settingPath, bool _value) external; function proposalSettingAddress(string memory _settingContractName, string memory _settingPath, address _value) external; function proposalSettingRewardsClaimers(uint256 _trustedNodePercent, uint256 _protocolPercent, uint256 _nodePercent) external; function proposalTreasuryOneTimeSpend(string memory _invoiceID, address _recipientAddress, uint256 _amount) external; function proposalTreasuryNewContract(string memory _contractName, address _recipientAddress, uint256 _amountPerPeriod, uint256 _periodLength, uint256 _startTime, uint256 _numPeriods) external; function proposalTreasuryUpdateContract(string memory _contractName, address _recipientAddress, uint256 _amountPerPeriod, uint256 _periodLength, uint256 _numPeriods) external; function proposalSecurityInvite(string memory _id, address _memberAddress) external; function proposalSecurityKick(address _memberAddress) external; function proposalSecurityKickMulti(address[] calldata _memberAddresses) external; function proposalSecurityReplace(address _existingMemberAddress, string calldata _id, address _newMemberAddress) external; }
{ "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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"BootstrapDisabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"BootstrapProtocolDAOEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"id","type":"string"},{"indexed":false,"internalType":"address","name":"memberAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"BootstrapSecurityInvite","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"memberAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"BootstrapSecurityKick","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"settingContractName","type":"string"},{"indexed":false,"internalType":"string","name":"settingPath","type":"string"},{"indexed":false,"internalType":"address","name":"value","type":"address"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"BootstrapSettingAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"settingContractName","type":"string"},{"indexed":false,"internalType":"string","name":"settingPath","type":"string"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"BootstrapSettingBool","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"trustedNodePercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"protocolPercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nodePercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"BootstrapSettingClaimers","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string[]","name":"settingContractNames","type":"string[]"},{"indexed":false,"internalType":"string[]","name":"settingPaths","type":"string[]"},{"indexed":false,"internalType":"enum SettingType[]","name":"types","type":"uint8[]"},{"indexed":false,"internalType":"bytes[]","name":"values","type":"bytes[]"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"BootstrapSettingMulti","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"settingContractName","type":"string"},{"indexed":false,"internalType":"string","name":"settingPath","type":"string"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"BootstrapSettingUint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"invoiceID","type":"string"},{"indexed":false,"internalType":"address","name":"recipientAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"BootstrapSpendTreasury","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"contractName","type":"string"},{"indexed":false,"internalType":"address","name":"recipientAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountPerPeriod","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"periodLength","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"numPeriods","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"BootstrapTreasuryNewContract","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"contractName","type":"string"},{"indexed":false,"internalType":"address","name":"recipientAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountPerPeriod","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"periodLength","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"numPeriods","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"BootstrapTreasuryUpdateContract","type":"event"},{"inputs":[{"internalType":"bool","name":"_confirmDisableBootstrapMode","type":"bool"}],"name":"bootstrapDisable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bootstrapEnableGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_id","type":"string"},{"internalType":"address","name":"_memberAddress","type":"address"}],"name":"bootstrapSecurityInvite","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_memberAddress","type":"address"}],"name":"bootstrapSecurityKick","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_settingContractName","type":"string"},{"internalType":"string","name":"_settingPath","type":"string"},{"internalType":"address","name":"_value","type":"address"}],"name":"bootstrapSettingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_settingContractName","type":"string"},{"internalType":"string","name":"_settingPath","type":"string"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"bootstrapSettingBool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_trustedNodePercent","type":"uint256"},{"internalType":"uint256","name":"_protocolPercent","type":"uint256"},{"internalType":"uint256","name":"_nodePercent","type":"uint256"}],"name":"bootstrapSettingClaimers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[]","name":"_settingContractNames","type":"string[]"},{"internalType":"string[]","name":"_settingPaths","type":"string[]"},{"internalType":"enum SettingType[]","name":"_types","type":"uint8[]"},{"internalType":"bytes[]","name":"_values","type":"bytes[]"}],"name":"bootstrapSettingMulti","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_settingContractName","type":"string"},{"internalType":"string","name":"_settingPath","type":"string"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"bootstrapSettingUint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_invoiceID","type":"string"},{"internalType":"address","name":"_recipientAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"bootstrapSpendTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractName","type":"string"},{"internalType":"address","name":"_recipientAddress","type":"address"},{"internalType":"uint256","name":"_amountPerPeriod","type":"uint256"},{"internalType":"uint256","name":"_periodLength","type":"uint256"},{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_numPeriods","type":"uint256"}],"name":"bootstrapTreasuryNewContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractName","type":"string"},{"internalType":"address","name":"_recipientAddress","type":"address"},{"internalType":"uint256","name":"_amountPerPeriod","type":"uint256"},{"internalType":"uint256","name":"_periodLength","type":"uint256"},{"internalType":"uint256","name":"_numPeriods","type":"uint256"}],"name":"bootstrapTreasuryUpdateContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getBootstrapModeDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_nodeAddress","type":"address"}],"name":"getMemberLastProposalTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80638048b66111610097578063e150394411610066578063e1503944146101e1578063f484a22d146101f4578063f54746e414610207578063fac77ec71461021f57600080fd5b80638048b66114610195578063884c62d9146101a8578063b3b0db22146101bb578063c3edad14146101ce57600080fd5b806351553095116100d3578063515530951461012a57806354fd4d501461015057806366a900771461016f5780637cdab9161461018257600080fd5b80633c94d31e146100fa5780634a102ac61461010f5780634c90fd0914610122575b600080fd5b61010d610108366004612a91565b610232565b005b61010d61011d366004612b03565b610541565b61010d61082b565b61013d610138366004612b6d565b610ab0565b6040519081526020015b60405180910390f35b60005461015d9060ff1681565b60405160ff9091168152602001610147565b61010d61017d366004612cd3565b610b1e565b61010d610190366004612de1565b610e03565b61010d6101a3366004612e0d565b611111565b61010d6101b6366004612e5f565b6113ec565b61010d6101c9366004612ed7565b6116bd565b61010d6101dc366004612f52565b61198e565b61010d6101ef366004612fbf565b611c5f565b61010d610202366004612b6d565b612045565b61020f612335565b6040519015158152602001610147565b61010d61022d366004612fdc565b6123a0565b600060019054906101000a90046001600160a01b03166001600160a01b031663a75b87d26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610285573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102a99190613036565b6001600160a01b0316336001600160a01b0316146103345760405162461bcd60e51b815260206004820152602360248201527f4163636f756e74206973206e6f7420612074656d706f7261727920677561726460448201527f69616e000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61033c612335565b156103895760405162461bcd60e51b815260206004820152601a60248201527f426f6f747374726170206d6f6465206e6f7420656e6761676564000000000000604482015260640161032b565b6040518060400160405280601181526020017f726f636b657444414f50726f746f636f6c000000000000000000000000000000815250306103ef826040516020016103d49190613077565b60405160208183030381529060405280519060200120612671565b6001600160a01b0316816001600160a01b03161461044f5760405162461bcd60e51b815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015260640161032b565b61048d6040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c730000000000008152506126fc565b6001600160a01b031663896bdda88989898989896040518763ffffffff1660e01b81526004016104c296959493929190613106565b600060405180830381600087803b1580156104dc57600080fd5b505af11580156104f0573d6000803e3d6000fd5b505050507f647f8ab97e8eb8d6eb23a9c2e1cc263bdf4f1f10a568719c25be96960e8c19c28888888888884260405161052f979695949392919061314b565b60405180910390a15050505050505050565b600060019054906101000a90046001600160a01b03166001600160a01b031663a75b87d26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610594573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b89190613036565b6001600160a01b0316336001600160a01b03161461063e5760405162461bcd60e51b815260206004820152602360248201527f4163636f756e74206973206e6f7420612074656d706f7261727920677561726460448201527f69616e0000000000000000000000000000000000000000000000000000000000606482015260840161032b565b610646612335565b156106935760405162461bcd60e51b815260206004820152601a60248201527f426f6f747374726170206d6f6465206e6f7420656e6761676564000000000000604482015260640161032b565b6040518060400160405280601181526020017f726f636b657444414f50726f746f636f6c000000000000000000000000000000815250306106de826040516020016103d49190613077565b6001600160a01b0316816001600160a01b03161461073e5760405162461bcd60e51b815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015260640161032b565b61077c6040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c730000000000008152506126fc565b6001600160a01b031663811ffb2a88888888886040518663ffffffff1660e01b81526004016107af959493929190613198565b600060405180830381600087803b1580156107c957600080fd5b505af11580156107dd573d6000803e3d6000fd5b505050507fab239717a26959c69ba060aa6a0e18144a5ca2938dfe89775cc0f56078bf979e87878787874260405161081a96959493929190613106565b60405180910390a150505050505050565b600060019054906101000a90046001600160a01b03166001600160a01b031663a75b87d26040518163ffffffff1660e01b8152600401602060405180830381865afa15801561087e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a29190613036565b6001600160a01b0316336001600160a01b0316146109285760405162461bcd60e51b815260206004820152602360248201527f4163636f756e74206973206e6f7420612074656d706f7261727920677561726460448201527f69616e0000000000000000000000000000000000000000000000000000000000606482015260840161032b565b610930612335565b1561097d5760405162461bcd60e51b815260206004820152601a60248201527f426f6f747374726170206d6f6465206e6f7420656e6761676564000000000000604482015260640161032b565b6040518060400160405280601181526020017f726f636b657444414f50726f746f636f6c000000000000000000000000000000815250306109c8826040516020016103d49190613077565b6001600160a01b0316816001600160a01b031614610a285760405162461bcd60e51b815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015260640161032b565b6040517f70726f746f636f6c2e64616f2e656e61626c65642e626c6f636b0000000000006020820152610a7490603a01604051602081830303815290604052805190602001204361276b565b604080514381524260208201527f28368e1c69c9fda7419b6689a4fb4a4955ff876b0712e8c967c2df6fc22bba46910160405180910390a15050565b6000610b186040518060400160405280600d81526020017f64616f2e70726f746f636f6c2e0000000000000000000000000000000000000081525083604051602001610afd9291906131d8565b604051602081830303815290604052805190602001206127f2565b92915050565b600060019054906101000a90046001600160a01b03166001600160a01b031663a75b87d26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b959190613036565b6001600160a01b0316336001600160a01b031614610c1b5760405162461bcd60e51b815260206004820152602360248201527f4163636f756e74206973206e6f7420612074656d706f7261727920677561726460448201527f69616e0000000000000000000000000000000000000000000000000000000000606482015260840161032b565b610c23612335565b15610c705760405162461bcd60e51b815260206004820152601a60248201527f426f6f747374726170206d6f6465206e6f7420656e6761676564000000000000604482015260640161032b565b6040518060400160405280601181526020017f726f636b657444414f50726f746f636f6c00000000000000000000000000000081525030610cbb826040516020016103d49190613077565b6001600160a01b0316816001600160a01b031614610d1b5760405162461bcd60e51b815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015260640161032b565b610d596040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c730000000000008152506126fc565b6001600160a01b03166356e3d249878787876040518563ffffffff1660e01b8152600401610d8a949392919061330d565b600060405180830381600087803b158015610da457600080fd5b505af1158015610db8573d6000803e3d6000fd5b505050507f810bd1bfb671e261c025c66f59c70128396c11a94b8548afb12de70598b6b3b48686868642604051610df3959493929190613365565b60405180910390a1505050505050565b600060019054906101000a90046001600160a01b03166001600160a01b031663a75b87d26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7a9190613036565b6001600160a01b0316336001600160a01b031614610f005760405162461bcd60e51b815260206004820152602360248201527f4163636f756e74206973206e6f7420612074656d706f7261727920677561726460448201527f69616e0000000000000000000000000000000000000000000000000000000000606482015260840161032b565b610f08612335565b15610f555760405162461bcd60e51b815260206004820152601a60248201527f426f6f747374726170206d6f6465206e6f7420656e6761676564000000000000604482015260640161032b565b6040518060400160405280601181526020017f726f636b657444414f50726f746f636f6c00000000000000000000000000000081525030610fa0826040516020016103d49190613077565b6001600160a01b0316816001600160a01b0316146110005760405162461bcd60e51b815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015260640161032b565b61103e6040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c730000000000008152506126fc565b6040517f7727fe620000000000000000000000000000000000000000000000000000000081526004810187905260248101869052604481018590526001600160a01b039190911690637727fe6290606401600060405180830381600087803b1580156110a957600080fd5b505af11580156110bd573d6000803e3d6000fd5b505060408051888152602081018890529081018690524260608201527fe9d1b1c7aba0e0c53d06ad6a7991c8472c608276608b17d28fbe4b0924d3b115925060800190505b60405180910390a15050505050565b600060019054906101000a90046001600160a01b03166001600160a01b031663a75b87d26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611164573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111889190613036565b6001600160a01b0316336001600160a01b03161461120e5760405162461bcd60e51b815260206004820152602360248201527f4163636f756e74206973206e6f7420612074656d706f7261727920677561726460448201527f69616e0000000000000000000000000000000000000000000000000000000000606482015260840161032b565b611216612335565b156112635760405162461bcd60e51b815260206004820152601a60248201527f426f6f747374726170206d6f6465206e6f7420656e6761676564000000000000604482015260640161032b565b6040518060400160405280601181526020017f726f636b657444414f50726f746f636f6c000000000000000000000000000000815250306112ae826040516020016103d49190613077565b6001600160a01b0316816001600160a01b03161461130e5760405162461bcd60e51b815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015260640161032b565b61134c6040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c730000000000008152506126fc565b6001600160a01b031663f944c19f85856040518363ffffffff1660e01b81526004016113799291906133c5565b600060405180830381600087803b15801561139357600080fd5b505af11580156113a7573d6000803e3d6000fd5b505050507f4c439c6c519b3217369f9e2ebe869d021b44376d75726ab03f5400b5e611d4208484426040516113de939291906133f0565b60405180910390a150505050565b600060019054906101000a90046001600160a01b03166001600160a01b031663a75b87d26040518163ffffffff1660e01b8152600401602060405180830381865afa15801561143f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114639190613036565b6001600160a01b0316336001600160a01b0316146114e95760405162461bcd60e51b815260206004820152602360248201527f4163636f756e74206973206e6f7420612074656d706f7261727920677561726460448201527f69616e0000000000000000000000000000000000000000000000000000000000606482015260840161032b565b6114f1612335565b1561153e5760405162461bcd60e51b815260206004820152601a60248201527f426f6f747374726170206d6f6465206e6f7420656e6761676564000000000000604482015260640161032b565b6040518060400160405280601181526020017f726f636b657444414f50726f746f636f6c00000000000000000000000000000081525030611589826040516020016103d49190613077565b6001600160a01b0316816001600160a01b0316146115e95760405162461bcd60e51b815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015260640161032b565b6116276040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c730000000000008152506126fc565b6001600160a01b0316630643072a8686866040518463ffffffff1660e01b81526004016116569392919061341e565b600060405180830381600087803b15801561167057600080fd5b505af1158015611684573d6000803e3d6000fd5b505050507fdcedca4d68eeff71596968656fb7c3ffc97b2237c71bd13af867a7782f02a7c785858542604051611102949392919061345d565b600060019054906101000a90046001600160a01b03166001600160a01b031663a75b87d26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611710573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117349190613036565b6001600160a01b0316336001600160a01b0316146117ba5760405162461bcd60e51b815260206004820152602360248201527f4163636f756e74206973206e6f7420612074656d706f7261727920677561726460448201527f69616e0000000000000000000000000000000000000000000000000000000000606482015260840161032b565b6117c2612335565b1561180f5760405162461bcd60e51b815260206004820152601a60248201527f426f6f747374726170206d6f6465206e6f7420656e6761676564000000000000604482015260640161032b565b6040518060400160405280601181526020017f726f636b657444414f50726f746f636f6c0000000000000000000000000000008152503061185a826040516020016103d49190613077565b6001600160a01b0316816001600160a01b0316146118ba5760405162461bcd60e51b815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015260640161032b565b6118f86040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c730000000000008152506126fc565b6001600160a01b031663ed1cd9f78686866040518463ffffffff1660e01b81526004016119279392919061349f565b600060405180830381600087803b15801561194157600080fd5b505af1158015611955573d6000803e3d6000fd5b505050507f4344c63d845c472bd51e09d023a3d3b349ea983ade8bcd5250fa524f684a626e8585854260405161110294939291906134d5565b600060019054906101000a90046001600160a01b03166001600160a01b031663a75b87d26040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a059190613036565b6001600160a01b0316336001600160a01b031614611a8b5760405162461bcd60e51b815260206004820152602360248201527f4163636f756e74206973206e6f7420612074656d706f7261727920677561726460448201527f69616e0000000000000000000000000000000000000000000000000000000000606482015260840161032b565b611a93612335565b15611ae05760405162461bcd60e51b815260206004820152601a60248201527f426f6f747374726170206d6f6465206e6f7420656e6761676564000000000000604482015260640161032b565b6040518060400160405280601181526020017f726f636b657444414f50726f746f636f6c00000000000000000000000000000081525030611b2b826040516020016103d49190613077565b6001600160a01b0316816001600160a01b031614611b8b5760405162461bcd60e51b815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015260640161032b565b611bc96040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c730000000000008152506126fc565b6001600160a01b031663fe993dc98686866040518463ffffffff1660e01b8152600401611bf89392919061350e565b600060405180830381600087803b158015611c1257600080fd5b505af1158015611c26573d6000803e3d6000fd5b505050507fb0059d11d8f1fe6aa15c481244505f98bd6d91eba38c3dea8570c38d317a87cb858585426040516111029493929190613546565b600060019054906101000a90046001600160a01b03166001600160a01b031663a75b87d26040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd69190613036565b6001600160a01b0316336001600160a01b031614611d5c5760405162461bcd60e51b815260206004820152602360248201527f4163636f756e74206973206e6f7420612074656d706f7261727920677561726460448201527f69616e0000000000000000000000000000000000000000000000000000000000606482015260840161032b565b611d64612335565b15611db15760405162461bcd60e51b815260206004820152601a60248201527f426f6f747374726170206d6f6465206e6f7420656e6761676564000000000000604482015260640161032b565b6040518060400160405280601181526020017f726f636b657444414f50726f746f636f6c00000000000000000000000000000081525030611dfc826040516020016103d49190613077565b6001600160a01b0316816001600160a01b031614611e5c5760405162461bcd60e51b815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015260640161032b565b6000611e94604051602001610afd907f70726f746f636f6c2e64616f2e656e61626c65642e626c6f636b0000000000008152601a0190565b11611f075760405162461bcd60e51b815260206004820152602960248201527f4f6e2d636861696e20676f7665726e616e6365206d75737420626520656e616260448201527f6c65642066697273740000000000000000000000000000000000000000000000606482015260840161032b565b600183151514611fa65760405162461bcd60e51b8152602060048201526044602482018190527f596f75206d75737420636f6e6669726d2064697361626c696e6720626f6f7473908201527f74726170206d6f64652c2069742063616e206f6e6c7920626520646f6e65206f60648201527f6e63652100000000000000000000000000000000000000000000000000000000608482015260a40161032b565b61200c6040518060400160405280600d81526020017f64616f2e70726f746f636f6c2e00000000000000000000000000000000000000815250604051602001611fef919061357f565b60405160208183030381529060405280519060200120600161287d565b6040514281527f2abff9795c2f164593281f45b04c524316ecc50f8f9879966898fef769487239906020015b60405180910390a1505050565b600060019054906101000a90046001600160a01b03166001600160a01b031663a75b87d26040518163ffffffff1660e01b8152600401602060405180830381865afa158015612098573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120bc9190613036565b6001600160a01b0316336001600160a01b0316146121425760405162461bcd60e51b815260206004820152602360248201527f4163636f756e74206973206e6f7420612074656d706f7261727920677561726460448201527f69616e0000000000000000000000000000000000000000000000000000000000606482015260840161032b565b61214a612335565b156121975760405162461bcd60e51b815260206004820152601a60248201527f426f6f747374726170206d6f6465206e6f7420656e6761676564000000000000604482015260640161032b565b6040518060400160405280601181526020017f726f636b657444414f50726f746f636f6c000000000000000000000000000000815250306121e2826040516020016103d49190613077565b6001600160a01b0316816001600160a01b0316146122425760405162461bcd60e51b815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015260640161032b565b6122806040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c730000000000008152506126fc565b6040517fcb6bff3a0000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152919091169063cb6bff3a90602401600060405180830381600087803b1580156122de57600080fd5b505af11580156122f2573d6000803e3d6000fd5b5050604080516001600160a01b03871681524260208201527f951db36b8cf279a7cbb938ba710d1e8163c5705577347b461a5fed4c1c559c7d9350019050612038565b600061239b6040518060400160405280600d81526020017f64616f2e70726f746f636f6c2e00000000000000000000000000000000000000815250604051602001612380919061357f565b604051602081830303815290604052805190602001206128d3565b905090565b600060019054906101000a90046001600160a01b03166001600160a01b031663a75b87d26040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124179190613036565b6001600160a01b0316336001600160a01b03161461249d5760405162461bcd60e51b815260206004820152602360248201527f4163636f756e74206973206e6f7420612074656d706f7261727920677561726460448201527f69616e0000000000000000000000000000000000000000000000000000000000606482015260840161032b565b6124a5612335565b156124f25760405162461bcd60e51b815260206004820152601a60248201527f426f6f747374726170206d6f6465206e6f7420656e6761676564000000000000604482015260640161032b565b6040518060400160405280601181526020017f726f636b657444414f50726f746f636f6c0000000000000000000000000000008152503061253d826040516020016103d49190613077565b6001600160a01b0316816001600160a01b03161461259d5760405162461bcd60e51b815260206004820152601c60248201527f496e76616c6964206f72206f7574646174656420636f6e747261637400000000604482015260640161032b565b6125db6040518060400160405280601a81526020017f726f636b657444414f50726f746f636f6c50726f706f73616c730000000000008152506126fc565b6001600160a01b0316633edb05f78686866040518463ffffffff1660e01b815260040161260a939291906133f0565b600060405180830381600087803b15801561262457600080fd5b505af1158015612638573d6000803e3d6000fd5b505050507f7bc641d8b30c3e7168479d903101c5cb0d339b2a540ac484174268d541f3174a8585854260405161110294939291906135c0565b600080546040517f21f8a721000000000000000000000000000000000000000000000000000000008152600481018490526101009091046001600160a01b0316906321f8a72190602401602060405180830381865afa1580156126d8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b189190613036565b600080612713836040516020016103d49190613077565b90506001600160a01b038116610b185760405162461bcd60e51b815260206004820152601260248201527f436f6e7472616374206e6f7420666f756e640000000000000000000000000000604482015260640161032b565b6000546040517fe2a4853a00000000000000000000000000000000000000000000000000000000815260048101849052602481018390526101009091046001600160a01b03169063e2a4853a906044015b600060405180830381600087803b1580156127d657600080fd5b505af11580156127ea573d6000803e3d6000fd5b505050505050565b600080546040517fbd02d0f5000000000000000000000000000000000000000000000000000000008152600481018490526101009091046001600160a01b03169063bd02d0f590602401602060405180830381865afa158015612859573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1891906135f8565b6000546040517fabfdcced0000000000000000000000000000000000000000000000000000000081526004810184905282151560248201526101009091046001600160a01b03169063abfdcced906044016127bc565b600080546040517f7ae1cfca000000000000000000000000000000000000000000000000000000008152600481018490526101009091046001600160a01b031690637ae1cfca90602401602060405180830381865afa15801561293a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b189190613611565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156129d4576129d461295e565b604052919050565b600067ffffffffffffffff8311156129f6576129f661295e565b612a2760207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8601160161298d565b9050828152838383011115612a3b57600080fd5b828260208301376000602084830101529392505050565b600082601f830112612a6357600080fd5b612a72838335602085016129dc565b9392505050565b6001600160a01b0381168114612a8e57600080fd5b50565b60008060008060008060c08789031215612aaa57600080fd5b863567ffffffffffffffff811115612ac157600080fd5b612acd89828a01612a52565b9650506020870135612ade81612a79565b95989597505050506040840135936060810135936080820135935060a0909101359150565b600080600080600060a08688031215612b1b57600080fd5b853567ffffffffffffffff811115612b3257600080fd5b612b3e88828901612a52565b9550506020860135612b4f81612a79565b94979496505050506040830135926060810135926080909101359150565b600060208284031215612b7f57600080fd5b8135612a7281612a79565b600067ffffffffffffffff821115612ba457612ba461295e565b5060051b60200190565b600082601f830112612bbf57600080fd5b81356020612bd4612bcf83612b8a565b61298d565b82815260059290921b84018101918181019086841115612bf357600080fd5b8286015b84811015612c3357803567ffffffffffffffff811115612c175760008081fd5b612c258986838b0101612a52565b845250918301918301612bf7565b509695505050505050565b600082601f830112612c4f57600080fd5b81356020612c5f612bcf83612b8a565b82815260059290921b84018101918181019086841115612c7e57600080fd5b8286015b84811015612c3357803567ffffffffffffffff811115612ca25760008081fd5b8701603f81018913612cb45760008081fd5b612cc58986830135604084016129dc565b845250918301918301612c82565b60008060008060808587031215612ce957600080fd5b843567ffffffffffffffff80821115612d0157600080fd5b612d0d88838901612bae565b9550602091508187013581811115612d2457600080fd5b612d3089828a01612bae565b955050604087013581811115612d4557600080fd5b8701601f81018913612d5657600080fd5b8035612d64612bcf82612b8a565b81815260059190911b8201840190848101908b831115612d8357600080fd5b928501925b82841015612daf57833560078110612da05760008081fd5b82529285019290850190612d88565b96505050506060870135915080821115612dc857600080fd5b50612dd587828801612c3e565b91505092959194509250565b600080600060608486031215612df657600080fd5b505081359360208301359350604090920135919050565b60008060408385031215612e2057600080fd5b823567ffffffffffffffff811115612e3757600080fd5b612e4385828601612a52565b9250506020830135612e5481612a79565b809150509250929050565b600080600060608486031215612e7457600080fd5b833567ffffffffffffffff80821115612e8c57600080fd5b612e9887838801612a52565b94506020860135915080821115612eae57600080fd5b50612ebb86828701612a52565b9250506040840135612ecc81612a79565b809150509250925092565b600080600060608486031215612eec57600080fd5b833567ffffffffffffffff80821115612f0457600080fd5b612f1087838801612a52565b94506020860135915080821115612f2657600080fd5b50612f3386828701612a52565b925050604084013590509250925092565b8015158114612a8e57600080fd5b600080600060608486031215612f6757600080fd5b833567ffffffffffffffff80821115612f7f57600080fd5b612f8b87838801612a52565b94506020860135915080821115612fa157600080fd5b50612fae86828701612a52565b9250506040840135612ecc81612f44565b600060208284031215612fd157600080fd5b8135612a7281612f44565b600080600060608486031215612ff157600080fd5b833567ffffffffffffffff81111561300857600080fd5b61301486828701612a52565b935050602084013561302581612a79565b929592945050506040919091013590565b60006020828403121561304857600080fd5b8151612a7281612a79565b60005b8381101561306e578181015183820152602001613056565b50506000910152565b7f636f6e74726163742e61646472657373000000000000000000000000000000008152600082516130af816010850160208701613053565b9190910160100192915050565b600081518084526130d4816020860160208601613053565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60c08152600061311960c08301896130bc565b6001600160a01b039790971660208301525060408101949094526060840192909252608083015260a090910152919050565b60e08152600061315e60e083018a6130bc565b6001600160a01b039890981660208301525060408101959095526060850193909352608084019190915260a083015260c090910152919050565b60a0815260006131ab60a08301886130bc565b90506001600160a01b03861660208301528460408301528360608301528260808301529695505050505050565b600083516131ea818460208801613053565b7f6d656d6265722e70726f706f73616c2e6c61737474696d65000000000000000092019182525060609190911b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000166018820152602c01919050565b600081518084526020808501808196508360051b8101915082860160005b8581101561328e57828403895261327c8483516130bc565b98850198935090840190600101613264565b5091979650505050505050565b60008151808452602080850194508084016000805b84811015613301578251600781106132ef577f4e487b710000000000000000000000000000000000000000000000000000000083526021600452602483fd5b885296830196918301916001016132b0565b50959695505050505050565b6080815260006133206080830187613246565b82810360208401526133328187613246565b90508281036040840152613346818661329b565b9050828103606084015261335a8185613246565b979650505050505050565b60a08152600061337860a0830188613246565b828103602084015261338a8188613246565b9050828103604084015261339e818761329b565b905082810360608401526133b28186613246565b9150508260808301529695505050505050565b6040815260006133d860408301856130bc565b90506001600160a01b03831660208301529392505050565b60608152600061340360608301866130bc565b6001600160a01b039490941660208301525060400152919050565b60608152600061343160608301866130bc565b828103602084015261344381866130bc565b9150506001600160a01b0383166040830152949350505050565b60808152600061347060808301876130bc565b828103602084015261348281876130bc565b6001600160a01b0395909516604084015250506060015292915050565b6060815260006134b260608301866130bc565b82810360208401526134c481866130bc565b915050826040830152949350505050565b6080815260006134e860808301876130bc565b82810360208401526134fa81876130bc565b604084019590955250506060015292915050565b60608152600061352160608301866130bc565b828103602084015261353381866130bc565b9150508215156040830152949350505050565b60808152600061355960808301876130bc565b828103602084015261356b81876130bc565b941515604084015250506060015292915050565b60008251613591818460208701613053565b7f626f6f7473747261706d6f64652e64697361626c656400000000000000000000920191825250601601919050565b6080815260006135d360808301876130bc565b6001600160a01b03959095166020830152506040810192909252606090910152919050565b60006020828403121561360a57600080fd5b5051919050565b60006020828403121561362357600080fd5b8151612a7281612f4456fea2646970667358221220c3762d2268d0df5752181a09c6540d5e2c369775c74267c4a99902b34f9724e664736f6c63430008120033
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.