More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 19319455 | 323 days ago | IN | 0.01246787 ETH | 0.00115843 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
21629582 | 15 hrs ago | 0.0006926 ETH | ||||
21629582 | 15 hrs ago | 0.00011166 ETH | ||||
21629582 | 15 hrs ago | 0.00011657 ETH | ||||
21629273 | 16 hrs ago | 0.00044815 ETH | ||||
21629273 | 16 hrs ago | 0.00007542 ETH | ||||
21629273 | 16 hrs ago | 0.00005979 ETH | ||||
21621391 | 42 hrs ago | 0.00001994 ETH | ||||
21615435 | 2 days ago | 0.00023313 ETH | ||||
21615435 | 2 days ago | 0.00138514 ETH | ||||
21615435 | 2 days ago | 0.00011495 ETH | ||||
21614715 | 2 days ago | 0.00010938 ETH | ||||
21614715 | 2 days ago | 0.00008918 ETH | ||||
21614715 | 2 days ago | 0.00064989 ETH | ||||
21614715 | 2 days ago | 0.00005393 ETH | ||||
21614411 | 2 days ago | 0.00018593 ETH | ||||
21614411 | 2 days ago | 0.00110476 ETH | ||||
21614411 | 2 days ago | 0.00017191 ETH | ||||
21613332 | 2 days ago | 0.00013139 ETH | ||||
21613332 | 2 days ago | 0.00015753 ETH | ||||
21613332 | 2 days ago | 0.00093602 ETH | ||||
21578131 | 7 days ago | 0.0002466 ETH | ||||
21578131 | 7 days ago | 0.00010931 ETH | ||||
21578131 | 7 days ago | 0.00146522 ETH | ||||
21578131 | 7 days ago | 0.00012167 ETH | ||||
21577862 | 7 days ago | 0.00011622 ETH |
Loading...
Loading
Contract Name:
Timelock
Compiler Version
v0.7.5+commit.eb77ed08
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.7.5; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/introspection/IERC165.sol"; contract Timelock is IERC165 { using SafeMath for uint256; event NewAdmin(address indexed newAdmin); event NewPendingAdmin(address indexed newPendingAdmin); event NewDelay(uint256 indexed newDelay); event CancelTransaction( bytes32 indexed txHash, address indexed target, uint256 value, string signature, bytes data, uint256 eta ); event ExecuteTransaction( bytes32 indexed txHash, address indexed target, uint256 value, string signature, bytes data, uint256 eta ); event QueueTransaction( bytes32 indexed txHash, address indexed target, uint256 value, string signature, bytes data, uint256 eta ); uint256 public constant GRACE_PERIOD = 14 days; uint256 public constant MINIMUM_DELAY = 2 days; uint256 public constant MAXIMUM_DELAY = 30 days; address public admin; address public pendingAdmin; uint256 public delay; /** * @dev the computed interface ID according to ERC-165. The interface ID is a XOR of interface method selectors. * queueTransaction.selector ^ * cancelTransaction.selector ^ * executeTransaction.selector => 0x6b5cc770 */ bytes4 private constant _INTERFACE_ID_TIMELOCK = 0x6b5cc770; /// @dev bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; mapping(bytes32 => bool) public queuedTransactions; constructor(address admin_, uint256 delay_) { require( delay_ >= MINIMUM_DELAY, "Timelock::constructor: Delay must exceed minimum delay." ); require( delay_ <= MAXIMUM_DELAY, "Timelock::setDelay: Delay must not exceed maximum delay." ); admin = admin_; delay = delay_; } receive() external payable {} function setDelay(uint256 delay_) public { require( msg.sender == address(this), "Timelock::setDelay: Call must come from Timelock." ); require( delay_ >= MINIMUM_DELAY, "Timelock::setDelay: Delay must exceed minimum delay." ); require( delay_ <= MAXIMUM_DELAY, "Timelock::setDelay: Delay must not exceed maximum delay." ); delay = delay_; emit NewDelay(delay); } /** * @notice ERC165 Standard for support of interfaces * @param _interfaceId bytes of interface * @return bool */ function supportsInterface(bytes4 _interfaceId) external pure override returns (bool) { return (_interfaceId == _INTERFACE_ID_TIMELOCK || _interfaceId == _INTERFACE_ID_ERC165); } function acceptAdmin() public { require( msg.sender == pendingAdmin, "Timelock::acceptAdmin: Call must come from pendingAdmin." ); admin = msg.sender; pendingAdmin = address(0); emit NewAdmin(admin); } function setPendingAdmin(address pendingAdmin_) public { require( msg.sender == address(this), "Timelock::setPendingAdmin: Call must come from Timelock." ); pendingAdmin = pendingAdmin_; emit NewPendingAdmin(pendingAdmin); } function queueTransaction( address target, uint256 value, string memory signature, bytes memory data, uint256 eta ) public returns (bytes32) { require( msg.sender == admin, "Timelock::queueTransaction: Call must come from admin." ); require( eta >= getBlockTimestamp().add(delay), "Timelock::queueTransaction: Estimated execution block must satisfy delay." ); bytes32 txHash = keccak256(abi.encode(target, value, signature, data, eta)); queuedTransactions[txHash] = true; emit QueueTransaction(txHash, target, value, signature, data, eta); return txHash; } function cancelTransaction( address target, uint256 value, string memory signature, bytes memory data, uint256 eta ) public { require( msg.sender == admin, "Timelock::cancelTransaction: Call must come from admin." ); bytes32 txHash = keccak256(abi.encode(target, value, signature, data, eta)); queuedTransactions[txHash] = false; emit CancelTransaction(txHash, target, value, signature, data, eta); } function executeTransaction( address target, uint256 value, string memory signature, bytes memory data, uint256 eta ) public payable returns (bytes memory) { require( msg.sender == admin, "Timelock::executeTransaction: Call must come from admin." ); bytes32 txHash = keccak256(abi.encode(target, value, signature, data, eta)); require( queuedTransactions[txHash], "Timelock::executeTransaction: Transaction hasn't been queued." ); require( getBlockTimestamp() >= eta, "Timelock::executeTransaction: Transaction hasn't surpassed time lock." ); require( getBlockTimestamp() <= eta.add(GRACE_PERIOD), "Timelock::executeTransaction: Transaction is stale." ); queuedTransactions[txHash] = false; bytes memory callData; if (bytes(signature).length == 0) { callData = data; } else { callData = abi.encodePacked(bytes4(keccak256(bytes(signature))), data); } // solium-disable-next-line security/no-call-value (bool success, bytes memory returnData) = target.call{value: value}(callData); require( success, "Timelock::executeTransaction: Transaction execution reverted." ); emit ExecuteTransaction(txHash, target, value, signature, data, eta); return returnData; } function getBlockTimestamp() internal view returns (uint256) { // solium-disable-next-line security/no-block-members return block.timestamp; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
{ "evmVersion": "istanbul", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"admin_","type":"address"},{"internalType":"uint256","name":"delay_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"txHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"string","name":"signature","type":"string"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"eta","type":"uint256"}],"name":"CancelTransaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"txHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"string","name":"signature","type":"string"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"eta","type":"uint256"}],"name":"ExecuteTransaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAdmin","type":"address"}],"name":"NewAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newDelay","type":"uint256"}],"name":"NewDelay","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newPendingAdmin","type":"address"}],"name":"NewPendingAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"txHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"string","name":"signature","type":"string"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"eta","type":"uint256"}],"name":"QueueTransaction","type":"event"},{"inputs":[],"name":"GRACE_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINIMUM_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"signature","type":"string"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"eta","type":"uint256"}],"name":"cancelTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"delay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"signature","type":"string"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"eta","type":"uint256"}],"name":"executeTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"pendingAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"signature","type":"string"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"eta","type":"uint256"}],"name":"queueTransaction","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"queuedTransactions","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"delay_","type":"uint256"}],"name":"setDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pendingAdmin_","type":"address"}],"name":"setPendingAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801561001057600080fd5b5060405161190c38038061190c8339818101604052604081101561003357600080fd5b5080516020909101516202a30081101561007e5760405162461bcd60e51b815260040180806020018281038252603781526020018061189d6037913960400191505060405180910390fd5b62278d008111156100c05760405162461bcd60e51b81526004018080602001828103825260388152602001806118d46038913960400191505060405180910390fd5b600080546001600160a01b039093166001600160a01b0319909316929092179091556002556117a9806100f46000396000f3fe6080604052600436106100e15760003560e01c80636a42b8f81161007f578063c1a287e211610059578063c1a287e214610650578063e177246e14610665578063f2b065371461068f578063f851a440146106b9576100e8565b80636a42b8f8146106115780637d645fab14610626578063b1b43ae51461063b576100e8565b806326782247116100bb57806326782247146103015780633a66f901146103325780634dd18bf514610491578063591fcdfe146104c4576100e8565b806301ffc9a7146100ed5780630825f38f146101355780630e18b681146102ea576100e8565b366100e857005b600080fd5b3480156100f957600080fd5b506101216004803603602081101561011057600080fd5b50356001600160e01b0319166106ce565b604080519115158252519081900360200190f35b610275600480360360a081101561014b57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561017a57600080fd5b82018360208201111561018c57600080fd5b803590602001918460018302840111600160201b831117156101ad57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156101ff57600080fd5b82018360208201111561021157600080fd5b803590602001918460018302840111600160201b8311171561023257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610705915050565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102af578181015183820152602001610297565b50505050905090810190601f1680156102dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102f657600080fd5b506102ff610c05565b005b34801561030d57600080fd5b50610316610ca1565b604080516001600160a01b039092168252519081900360200190f35b34801561033e57600080fd5b5061047f600480360360a081101561035557600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561038457600080fd5b82018360208201111561039657600080fd5b803590602001918460018302840111600160201b831117156103b757600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561040957600080fd5b82018360208201111561041b57600080fd5b803590602001918460018302840111600160201b8311171561043c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610cb0915050565b60408051918252519081900360200190f35b34801561049d57600080fd5b506102ff600480360360208110156104b457600080fd5b50356001600160a01b0316610fb2565b3480156104d057600080fd5b506102ff600480360360a08110156104e757600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561051657600080fd5b82018360208201111561052857600080fd5b803590602001918460018302840111600160201b8311171561054957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561059b57600080fd5b8201836020820111156105ad57600080fd5b803590602001918460018302840111600160201b831117156105ce57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250611040915050565b34801561061d57600080fd5b5061047f6112ed565b34801561063257600080fd5b5061047f6112f3565b34801561064757600080fd5b5061047f6112fa565b34801561065c57600080fd5b5061047f611301565b34801561067157600080fd5b506102ff6004803603602081101561068857600080fd5b5035611308565b34801561069b57600080fd5b50610121600480360360208110156106b257600080fd5b50356113fd565b3480156106c557600080fd5b50610316611412565b60006001600160e01b031982166306b5cc7760e41b14806106ff57506001600160e01b031982166301ffc9a760e01b145b92915050565b6000546060906001600160a01b031633146107515760405162461bcd60e51b81526004018080602001828103825260388152602001806114876038913960400191505060405180910390fd5b6000868686868660405160200180866001600160a01b031681526020018581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b838110156107b757818101518382015260200161079f565b50505050905090810190601f1680156107e45780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156108175781810151838201526020016107ff565b50505050905090810190601f1680156108445780820380516001836020036101000a031916815260200191505b5060408051601f1981840301815291815281516020928301206000818152600390935291205490995060ff1697506108b596505050505050505760405162461bcd60e51b815260040180806020018281038252603d8152602001806115da603d913960400191505060405180910390fd5b826108be611421565b10156108fb5760405162461bcd60e51b81526004018080602001828103825260458152602001806115296045913960600191505060405180910390fd5b6109088362127500611425565b610910611421565b111561094d5760405162461bcd60e51b81526004018080602001828103825260338152602001806114f66033913960400191505060405180910390fd5b6000818152600360205260409020805460ff1916905584516060906109735750836109f6565b85805190602001208560405160200180836001600160e01b031916815260040182805190602001908083835b602083106109be5780518252601f19909201916020918201910161099f565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405290505b60006060896001600160a01b031689846040518082805190602001908083835b60208310610a355780518252601f199092019160209182019101610a16565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610a97576040519150601f19603f3d011682016040523d82523d6000602084013e610a9c565b606091505b509150915081610add5760405162461bcd60e51b815260040180806020018281038252603d8152602001806116bd603d913960400191505060405180910390fd5b896001600160a01b0316847fa560e3198060a2f10670c1ec5b403077ea6ae93ca8de1c32b451dc1a943cd6e78b8b8b8b604051808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015610b5a578181015183820152602001610b42565b50505050905090810190601f168015610b875780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610bba578181015183820152602001610ba2565b50505050905090810190601f168015610be75780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a39998505050505050505050565b6001546001600160a01b03163314610c4e5760405162461bcd60e51b81526004018080602001828103825260388152602001806116176038913960400191505060405180910390fd5b60008054336001600160a01b031991821617808355600180549092169091556040516001600160a01b03909116917f71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c91a2565b6001546001600160a01b031681565b600080546001600160a01b03163314610cfa5760405162461bcd60e51b81526004018080602001828103825260368152602001806116876036913960400191505060405180910390fd5b610d0e600254610d08611421565b90611425565b821015610d4c5760405162461bcd60e51b81526004018080602001828103825260498152602001806116fa6049913960600191505060405180910390fd5b6000868686868660405160200180866001600160a01b031681526020018581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015610db2578181015183820152602001610d9a565b50505050905090810190601f168015610ddf5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610e12578181015183820152602001610dfa565b50505050905090810190601f168015610e3f5780820380516001836020036101000a031916815260200191505b5097505050505050505060405160208183030381529060405280519060200120905060016003600083815260200190815260200160002060006101000a81548160ff021916908315150217905550866001600160a01b0316817f76e2796dc3a81d57b0e8504b647febcbeeb5f4af818e164f11eef8131a6a763f88888888604051808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015610f0a578181015183820152602001610ef2565b50505050905090810190601f168015610f375780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610f6a578181015183820152602001610f52565b50505050905090810190601f168015610f975780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a39695505050505050565b333014610ff05760405162461bcd60e51b815260040180806020018281038252603881526020018061164f6038913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0383811691909117918290556040519116907f69d78e38a01985fbb1462961809b4b2d65531bc93b2b94037f3334b82ca4a75690600090a250565b6000546001600160a01b031633146110895760405162461bcd60e51b81526004018080602001828103825260378152602001806114bf6037913960400191505060405180910390fd5b6000858585858560405160200180866001600160a01b031681526020018581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b838110156110ef5781810151838201526020016110d7565b50505050905090810190601f16801561111c5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b8381101561114f578181015183820152602001611137565b50505050905090810190601f16801561117c5780820380516001836020036101000a031916815260200191505b5097505050505050505060405160208183030381529060405280519060200120905060006003600083815260200190815260200160002060006101000a81548160ff021916908315150217905550856001600160a01b0316817f2fffc091a501fd91bfbff27141450d3acb40fb8e6d8382b243ec7a812a3aaf8787878787604051808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b8381101561124757818101518382015260200161122f565b50505050905090810190601f1680156112745780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156112a757818101518382015260200161128f565b50505050905090810190601f1680156112d45780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a3505050505050565b60025481565b62278d0081565b6202a30081565b6212750081565b3330146113465760405162461bcd60e51b81526004018080602001828103825260318152602001806117436031913960400191505060405180910390fd5b6202a3008110156113885760405162461bcd60e51b815260040180806020018281038252603481526020018061156e6034913960400191505060405180910390fd5b62278d008111156113ca5760405162461bcd60e51b81526004018080602001828103825260388152602001806115a26038913960400191505060405180910390fd5b600281905560405181907f948b1f6a42ee138b7e34058ba85a37f716d55ff25ff05a763f15bed6a04c8d2c90600090a250565b60036020526000908152604090205460ff1681565b6000546001600160a01b031681565b4290565b60008282018381101561147f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b939250505056fe54696d656c6f636b3a3a657865637574655472616e73616374696f6e3a2043616c6c206d75737420636f6d652066726f6d2061646d696e2e54696d656c6f636b3a3a63616e63656c5472616e73616374696f6e3a2043616c6c206d75737420636f6d652066726f6d2061646d696e2e54696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e206973207374616c652e54696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e206861736e2774207375727061737365642074696d65206c6f636b2e54696d656c6f636b3a3a73657444656c61793a2044656c6179206d75737420657863656564206d696e696d756d2064656c61792e54696d656c6f636b3a3a73657444656c61793a2044656c6179206d757374206e6f7420657863656564206d6178696d756d2064656c61792e54696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e206861736e2774206265656e207175657565642e54696d656c6f636b3a3a61636365707441646d696e3a2043616c6c206d75737420636f6d652066726f6d2070656e64696e6741646d696e2e54696d656c6f636b3a3a73657450656e64696e6741646d696e3a2043616c6c206d75737420636f6d652066726f6d2054696d656c6f636b2e54696d656c6f636b3a3a71756575655472616e73616374696f6e3a2043616c6c206d75737420636f6d652066726f6d2061646d696e2e54696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e20657865637574696f6e2072657665727465642e54696d656c6f636b3a3a71756575655472616e73616374696f6e3a20457374696d6174656420657865637574696f6e20626c6f636b206d75737420736174697366792064656c61792e54696d656c6f636b3a3a73657444656c61793a2043616c6c206d75737420636f6d652066726f6d2054696d656c6f636b2ea2646970667358221220910e27e9ec3023a66493fe6684ba90ea444163c6de1258029adecea1aee7f2ec64736f6c6343000705003354696d656c6f636b3a3a636f6e7374727563746f723a2044656c6179206d75737420657863656564206d696e696d756d2064656c61792e54696d656c6f636b3a3a73657444656c61793a2044656c6179206d757374206e6f7420657863656564206d6178696d756d2064656c61792e000000000000000000000000271901c3268d0959bbc9543de4f073d3708c88f7000000000000000000000000000000000000000000000000000000000003f480
Deployed Bytecode
0x6080604052600436106100e15760003560e01c80636a42b8f81161007f578063c1a287e211610059578063c1a287e214610650578063e177246e14610665578063f2b065371461068f578063f851a440146106b9576100e8565b80636a42b8f8146106115780637d645fab14610626578063b1b43ae51461063b576100e8565b806326782247116100bb57806326782247146103015780633a66f901146103325780634dd18bf514610491578063591fcdfe146104c4576100e8565b806301ffc9a7146100ed5780630825f38f146101355780630e18b681146102ea576100e8565b366100e857005b600080fd5b3480156100f957600080fd5b506101216004803603602081101561011057600080fd5b50356001600160e01b0319166106ce565b604080519115158252519081900360200190f35b610275600480360360a081101561014b57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561017a57600080fd5b82018360208201111561018c57600080fd5b803590602001918460018302840111600160201b831117156101ad57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156101ff57600080fd5b82018360208201111561021157600080fd5b803590602001918460018302840111600160201b8311171561023257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610705915050565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102af578181015183820152602001610297565b50505050905090810190601f1680156102dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102f657600080fd5b506102ff610c05565b005b34801561030d57600080fd5b50610316610ca1565b604080516001600160a01b039092168252519081900360200190f35b34801561033e57600080fd5b5061047f600480360360a081101561035557600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561038457600080fd5b82018360208201111561039657600080fd5b803590602001918460018302840111600160201b831117156103b757600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561040957600080fd5b82018360208201111561041b57600080fd5b803590602001918460018302840111600160201b8311171561043c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610cb0915050565b60408051918252519081900360200190f35b34801561049d57600080fd5b506102ff600480360360208110156104b457600080fd5b50356001600160a01b0316610fb2565b3480156104d057600080fd5b506102ff600480360360a08110156104e757600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561051657600080fd5b82018360208201111561052857600080fd5b803590602001918460018302840111600160201b8311171561054957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561059b57600080fd5b8201836020820111156105ad57600080fd5b803590602001918460018302840111600160201b831117156105ce57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250611040915050565b34801561061d57600080fd5b5061047f6112ed565b34801561063257600080fd5b5061047f6112f3565b34801561064757600080fd5b5061047f6112fa565b34801561065c57600080fd5b5061047f611301565b34801561067157600080fd5b506102ff6004803603602081101561068857600080fd5b5035611308565b34801561069b57600080fd5b50610121600480360360208110156106b257600080fd5b50356113fd565b3480156106c557600080fd5b50610316611412565b60006001600160e01b031982166306b5cc7760e41b14806106ff57506001600160e01b031982166301ffc9a760e01b145b92915050565b6000546060906001600160a01b031633146107515760405162461bcd60e51b81526004018080602001828103825260388152602001806114876038913960400191505060405180910390fd5b6000868686868660405160200180866001600160a01b031681526020018581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b838110156107b757818101518382015260200161079f565b50505050905090810190601f1680156107e45780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156108175781810151838201526020016107ff565b50505050905090810190601f1680156108445780820380516001836020036101000a031916815260200191505b5060408051601f1981840301815291815281516020928301206000818152600390935291205490995060ff1697506108b596505050505050505760405162461bcd60e51b815260040180806020018281038252603d8152602001806115da603d913960400191505060405180910390fd5b826108be611421565b10156108fb5760405162461bcd60e51b81526004018080602001828103825260458152602001806115296045913960600191505060405180910390fd5b6109088362127500611425565b610910611421565b111561094d5760405162461bcd60e51b81526004018080602001828103825260338152602001806114f66033913960400191505060405180910390fd5b6000818152600360205260409020805460ff1916905584516060906109735750836109f6565b85805190602001208560405160200180836001600160e01b031916815260040182805190602001908083835b602083106109be5780518252601f19909201916020918201910161099f565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405290505b60006060896001600160a01b031689846040518082805190602001908083835b60208310610a355780518252601f199092019160209182019101610a16565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610a97576040519150601f19603f3d011682016040523d82523d6000602084013e610a9c565b606091505b509150915081610add5760405162461bcd60e51b815260040180806020018281038252603d8152602001806116bd603d913960400191505060405180910390fd5b896001600160a01b0316847fa560e3198060a2f10670c1ec5b403077ea6ae93ca8de1c32b451dc1a943cd6e78b8b8b8b604051808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015610b5a578181015183820152602001610b42565b50505050905090810190601f168015610b875780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610bba578181015183820152602001610ba2565b50505050905090810190601f168015610be75780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a39998505050505050505050565b6001546001600160a01b03163314610c4e5760405162461bcd60e51b81526004018080602001828103825260388152602001806116176038913960400191505060405180910390fd5b60008054336001600160a01b031991821617808355600180549092169091556040516001600160a01b03909116917f71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c91a2565b6001546001600160a01b031681565b600080546001600160a01b03163314610cfa5760405162461bcd60e51b81526004018080602001828103825260368152602001806116876036913960400191505060405180910390fd5b610d0e600254610d08611421565b90611425565b821015610d4c5760405162461bcd60e51b81526004018080602001828103825260498152602001806116fa6049913960600191505060405180910390fd5b6000868686868660405160200180866001600160a01b031681526020018581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015610db2578181015183820152602001610d9a565b50505050905090810190601f168015610ddf5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610e12578181015183820152602001610dfa565b50505050905090810190601f168015610e3f5780820380516001836020036101000a031916815260200191505b5097505050505050505060405160208183030381529060405280519060200120905060016003600083815260200190815260200160002060006101000a81548160ff021916908315150217905550866001600160a01b0316817f76e2796dc3a81d57b0e8504b647febcbeeb5f4af818e164f11eef8131a6a763f88888888604051808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015610f0a578181015183820152602001610ef2565b50505050905090810190601f168015610f375780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610f6a578181015183820152602001610f52565b50505050905090810190601f168015610f975780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a39695505050505050565b333014610ff05760405162461bcd60e51b815260040180806020018281038252603881526020018061164f6038913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0383811691909117918290556040519116907f69d78e38a01985fbb1462961809b4b2d65531bc93b2b94037f3334b82ca4a75690600090a250565b6000546001600160a01b031633146110895760405162461bcd60e51b81526004018080602001828103825260378152602001806114bf6037913960400191505060405180910390fd5b6000858585858560405160200180866001600160a01b031681526020018581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b838110156110ef5781810151838201526020016110d7565b50505050905090810190601f16801561111c5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b8381101561114f578181015183820152602001611137565b50505050905090810190601f16801561117c5780820380516001836020036101000a031916815260200191505b5097505050505050505060405160208183030381529060405280519060200120905060006003600083815260200190815260200160002060006101000a81548160ff021916908315150217905550856001600160a01b0316817f2fffc091a501fd91bfbff27141450d3acb40fb8e6d8382b243ec7a812a3aaf8787878787604051808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b8381101561124757818101518382015260200161122f565b50505050905090810190601f1680156112745780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156112a757818101518382015260200161128f565b50505050905090810190601f1680156112d45780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a3505050505050565b60025481565b62278d0081565b6202a30081565b6212750081565b3330146113465760405162461bcd60e51b81526004018080602001828103825260318152602001806117436031913960400191505060405180910390fd5b6202a3008110156113885760405162461bcd60e51b815260040180806020018281038252603481526020018061156e6034913960400191505060405180910390fd5b62278d008111156113ca5760405162461bcd60e51b81526004018080602001828103825260388152602001806115a26038913960400191505060405180910390fd5b600281905560405181907f948b1f6a42ee138b7e34058ba85a37f716d55ff25ff05a763f15bed6a04c8d2c90600090a250565b60036020526000908152604090205460ff1681565b6000546001600160a01b031681565b4290565b60008282018381101561147f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b939250505056fe54696d656c6f636b3a3a657865637574655472616e73616374696f6e3a2043616c6c206d75737420636f6d652066726f6d2061646d696e2e54696d656c6f636b3a3a63616e63656c5472616e73616374696f6e3a2043616c6c206d75737420636f6d652066726f6d2061646d696e2e54696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e206973207374616c652e54696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e206861736e2774207375727061737365642074696d65206c6f636b2e54696d656c6f636b3a3a73657444656c61793a2044656c6179206d75737420657863656564206d696e696d756d2064656c61792e54696d656c6f636b3a3a73657444656c61793a2044656c6179206d757374206e6f7420657863656564206d6178696d756d2064656c61792e54696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e206861736e2774206265656e207175657565642e54696d656c6f636b3a3a61636365707441646d696e3a2043616c6c206d75737420636f6d652066726f6d2070656e64696e6741646d696e2e54696d656c6f636b3a3a73657450656e64696e6741646d696e3a2043616c6c206d75737420636f6d652066726f6d2054696d656c6f636b2e54696d656c6f636b3a3a71756575655472616e73616374696f6e3a2043616c6c206d75737420636f6d652066726f6d2061646d696e2e54696d656c6f636b3a3a657865637574655472616e73616374696f6e3a205472616e73616374696f6e20657865637574696f6e2072657665727465642e54696d656c6f636b3a3a71756575655472616e73616374696f6e3a20457374696d6174656420657865637574696f6e20626c6f636b206d75737420736174697366792064656c61792e54696d656c6f636b3a3a73657444656c61793a2043616c6c206d75737420636f6d652066726f6d2054696d656c6f636b2ea2646970667358221220910e27e9ec3023a66493fe6684ba90ea444163c6de1258029adecea1aee7f2ec64736f6c63430007050033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000271901c3268d0959bbc9543de4f073d3708c88f7000000000000000000000000000000000000000000000000000000000003f480
-----Decoded View---------------
Arg [0] : admin_ (address): 0x271901c3268D0959bbc9543DE4f073D3708C88F7
Arg [1] : delay_ (uint256): 259200
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000271901c3268d0959bbc9543de4f073d3708c88f7
Arg [1] : 000000000000000000000000000000000000000000000000000000000003f480
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.