Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
TimelockController
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (governance/TimelockController.sol) pragma solidity ^0.8.0; import "../access/AccessControl.sol"; /** * @dev Contract module which acts as a timelocked controller. When set as the * owner of an `Ownable` smart contract, it enforces a timelock on all * `onlyOwner` maintenance operations. This gives time for users of the * controlled contract to exit before a potentially dangerous maintenance * operation is applied. * * By default, this contract is self administered, meaning administration tasks * have to go through the timelock process. The proposer (resp executor) role * is in charge of proposing (resp executing) operations. A common use case is * to position this {TimelockController} as the owner of a smart contract, with * a multisig or a DAO as the sole proposer. * * _Available since v3.3._ */ contract TimelockController is AccessControl { bytes32 public constant TIMELOCK_ADMIN_ROLE = keccak256("TIMELOCK_ADMIN_ROLE"); bytes32 public constant PROPOSER_ROLE = keccak256("PROPOSER_ROLE"); bytes32 public constant EXECUTOR_ROLE = keccak256("EXECUTOR_ROLE"); uint256 internal constant _DONE_TIMESTAMP = uint256(1); mapping(bytes32 => uint256) private _timestamps; uint256 private _minDelay; /** * @dev Emitted when a call is scheduled as part of operation `id`. */ event CallScheduled( bytes32 indexed id, uint256 indexed index, address target, uint256 value, bytes data, bytes32 predecessor, uint256 delay ); /** * @dev Emitted when a call is performed as part of operation `id`. */ event CallExecuted(bytes32 indexed id, uint256 indexed index, address target, uint256 value, bytes data); /** * @dev Emitted when operation `id` is cancelled. */ event Cancelled(bytes32 indexed id); /** * @dev Emitted when the minimum delay for future operations is modified. */ event MinDelayChange(uint256 oldDuration, uint256 newDuration); /** * @dev Initializes the contract with a given `minDelay`. */ constructor( uint256 minDelay, address[] memory proposers, address[] memory executors ) { _setRoleAdmin(TIMELOCK_ADMIN_ROLE, TIMELOCK_ADMIN_ROLE); _setRoleAdmin(PROPOSER_ROLE, TIMELOCK_ADMIN_ROLE); _setRoleAdmin(EXECUTOR_ROLE, TIMELOCK_ADMIN_ROLE); // deployer + self administration _setupRole(TIMELOCK_ADMIN_ROLE, _msgSender()); _setupRole(TIMELOCK_ADMIN_ROLE, address(this)); // register proposers for (uint256 i = 0; i < proposers.length; ++i) { _setupRole(PROPOSER_ROLE, proposers[i]); } // register executors for (uint256 i = 0; i < executors.length; ++i) { _setupRole(EXECUTOR_ROLE, executors[i]); } _minDelay = minDelay; emit MinDelayChange(0, minDelay); } /** * @dev Modifier to make a function callable only by a certain role. In * addition to checking the sender's role, `address(0)` 's role is also * considered. Granting a role to `address(0)` is equivalent to enabling * this role for everyone. */ modifier onlyRoleOrOpenRole(bytes32 role) { if (!hasRole(role, address(0))) { _checkRole(role, _msgSender()); } _; } /** * @dev Contract might receive/hold ETH as part of the maintenance process. */ receive() external payable {} /** * @dev Returns whether an id correspond to a registered operation. This * includes both Pending, Ready and Done operations. */ function isOperation(bytes32 id) public view virtual returns (bool pending) { return getTimestamp(id) > 0; } /** * @dev Returns whether an operation is pending or not. */ function isOperationPending(bytes32 id) public view virtual returns (bool pending) { return getTimestamp(id) > _DONE_TIMESTAMP; } /** * @dev Returns whether an operation is ready or not. */ function isOperationReady(bytes32 id) public view virtual returns (bool ready) { uint256 timestamp = getTimestamp(id); return timestamp > _DONE_TIMESTAMP && timestamp <= block.timestamp; } /** * @dev Returns whether an operation is done or not. */ function isOperationDone(bytes32 id) public view virtual returns (bool done) { return getTimestamp(id) == _DONE_TIMESTAMP; } /** * @dev Returns the timestamp at with an operation becomes ready (0 for * unset operations, 1 for done operations). */ function getTimestamp(bytes32 id) public view virtual returns (uint256 timestamp) { return _timestamps[id]; } /** * @dev Returns the minimum delay for an operation to become valid. * * This value can be changed by executing an operation that calls `updateDelay`. */ function getMinDelay() public view virtual returns (uint256 duration) { return _minDelay; } /** * @dev Returns the identifier of an operation containing a single * transaction. */ function hashOperation( address target, uint256 value, bytes calldata data, bytes32 predecessor, bytes32 salt ) public pure virtual returns (bytes32 hash) { return keccak256(abi.encode(target, value, data, predecessor, salt)); } /** * @dev Returns the identifier of an operation containing a batch of * transactions. */ function hashOperationBatch( address[] calldata targets, uint256[] calldata values, bytes[] calldata datas, bytes32 predecessor, bytes32 salt ) public pure virtual returns (bytes32 hash) { return keccak256(abi.encode(targets, values, datas, predecessor, salt)); } /** * @dev Schedule an operation containing a single transaction. * * Emits a {CallScheduled} event. * * Requirements: * * - the caller must have the 'proposer' role. */ function schedule( address target, uint256 value, bytes calldata data, bytes32 predecessor, bytes32 salt, uint256 delay ) public virtual onlyRole(PROPOSER_ROLE) { bytes32 id = hashOperation(target, value, data, predecessor, salt); _schedule(id, delay); emit CallScheduled(id, 0, target, value, data, predecessor, delay); } /** * @dev Schedule an operation containing a batch of transactions. * * Emits one {CallScheduled} event per transaction in the batch. * * Requirements: * * - the caller must have the 'proposer' role. */ function scheduleBatch( address[] calldata targets, uint256[] calldata values, bytes[] calldata datas, bytes32 predecessor, bytes32 salt, uint256 delay ) public virtual onlyRole(PROPOSER_ROLE) { require(targets.length == values.length, "TimelockController: length mismatch"); require(targets.length == datas.length, "TimelockController: length mismatch"); bytes32 id = hashOperationBatch(targets, values, datas, predecessor, salt); _schedule(id, delay); for (uint256 i = 0; i < targets.length; ++i) { emit CallScheduled(id, i, targets[i], values[i], datas[i], predecessor, delay); } } /** * @dev Schedule an operation that is to becomes valid after a given delay. */ function _schedule(bytes32 id, uint256 delay) private { require(!isOperation(id), "TimelockController: operation already scheduled"); require(delay >= getMinDelay(), "TimelockController: insufficient delay"); _timestamps[id] = block.timestamp + delay; } /** * @dev Cancel an operation. * * Requirements: * * - the caller must have the 'proposer' role. */ function cancel(bytes32 id) public virtual onlyRole(PROPOSER_ROLE) { require(isOperationPending(id), "TimelockController: operation cannot be cancelled"); delete _timestamps[id]; emit Cancelled(id); } /** * @dev Execute an (ready) operation containing a single transaction. * * Emits a {CallExecuted} event. * * Requirements: * * - the caller must have the 'executor' role. */ function execute( address target, uint256 value, bytes calldata data, bytes32 predecessor, bytes32 salt ) public payable virtual onlyRoleOrOpenRole(EXECUTOR_ROLE) { bytes32 id = hashOperation(target, value, data, predecessor, salt); _beforeCall(id, predecessor); _call(id, 0, target, value, data); _afterCall(id); } /** * @dev Execute an (ready) operation containing a batch of transactions. * * Emits one {CallExecuted} event per transaction in the batch. * * Requirements: * * - the caller must have the 'executor' role. */ function executeBatch( address[] calldata targets, uint256[] calldata values, bytes[] calldata datas, bytes32 predecessor, bytes32 salt ) public payable virtual onlyRoleOrOpenRole(EXECUTOR_ROLE) { require(targets.length == values.length, "TimelockController: length mismatch"); require(targets.length == datas.length, "TimelockController: length mismatch"); bytes32 id = hashOperationBatch(targets, values, datas, predecessor, salt); _beforeCall(id, predecessor); for (uint256 i = 0; i < targets.length; ++i) { _call(id, i, targets[i], values[i], datas[i]); } _afterCall(id); } /** * @dev Checks before execution of an operation's calls. */ function _beforeCall(bytes32 id, bytes32 predecessor) private view { require(isOperationReady(id), "TimelockController: operation is not ready"); require(predecessor == bytes32(0) || isOperationDone(predecessor), "TimelockController: missing dependency"); } /** * @dev Checks after execution of an operation's calls. */ function _afterCall(bytes32 id) private { require(isOperationReady(id), "TimelockController: operation is not ready"); _timestamps[id] = _DONE_TIMESTAMP; } /** * @dev Execute an operation's call. * * Emits a {CallExecuted} event. */ function _call( bytes32 id, uint256 index, address target, uint256 value, bytes calldata data ) private { (bool success, ) = target.call{value: value}(data); require(success, "TimelockController: underlying transaction reverted"); emit CallExecuted(id, index, target, value, data); } /** * @dev Changes the minimum timelock duration for future operations. * * Emits a {MinDelayChange} event. * * Requirements: * * - the caller must be the timelock itself. This can only be achieved by scheduling and later executing * an operation where the timelock is the target and the data is the ABI-encoded call to this function. */ function updateDelay(uint256 newDelay) external virtual { require(msg.sender == address(this), "TimelockController: caller must be timelock"); emit MinDelayChange(_minDelay, newDelay); _minDelay = newDelay; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^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); }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 10 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"minDelay","type":"uint256"},{"internalType":"address[]","name":"proposers","type":"address[]"},{"internalType":"address[]","name":"executors","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"CallExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"delay","type":"uint256"}],"name":"CallScheduled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"Cancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldDuration","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"MinDelayChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EXECUTOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROPOSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TIMELOCK_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"cancel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"execute","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes[]","name":"datas","type":"bytes[]"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"executeBatch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getMinDelay","outputs":[{"internalType":"uint256","name":"duration","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"getTimestamp","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"hashOperation","outputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes[]","name":"datas","type":"bytes[]"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"hashOperationBatch","outputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperation","outputs":[{"internalType":"bool","name":"pending","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperationDone","outputs":[{"internalType":"bool","name":"done","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperationPending","outputs":[{"internalType":"bool","name":"pending","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperationReady","outputs":[{"internalType":"bool","name":"ready","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256","name":"delay","type":"uint256"}],"name":"schedule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes[]","name":"datas","type":"bytes[]"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256","name":"delay","type":"uint256"}],"name":"scheduleBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDelay","type":"uint256"}],"name":"updateDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162001da438038062001da48339810160408190526200003491620003a4565b6200004f60008051602062001d4483398151915280620001c9565b6200007960008051602062001d6483398151915260008051602062001d44833981519152620001c9565b620000a360008051602062001d8483398151915260008051602062001d44833981519152620001c9565b620000be60008051602062001d448339815191523362000214565b620000d960008051602062001d448339815191523062000214565b60005b825181101562000136576200012360008051602062001d648339815191528483815181106200010f576200010f62000418565b60200260200101516200021460201b60201c565b6200012e816200042e565b9050620000dc565b5060005b815181101562000180576200016d60008051602062001d848339815191528383815181106200010f576200010f62000418565b62000178816200042e565b90506200013a565b5060028390556040805160008152602081018590527f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d5910160405180910390a150505062000458565b600082815260208190526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b62000220828262000224565b5050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000220576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002803390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b0381168114620002f257600080fd5b919050565b600082601f8301126200030957600080fd5b815160206001600160401b0380831115620003285762000328620002c4565b8260051b604051601f19603f83011681018181108482111715620003505762000350620002c4565b6040529384528581018301938381019250878511156200036f57600080fd5b83870191505b8482101562000399576200038982620002da565b8352918301919083019062000375565b979650505050505050565b600080600060608486031215620003ba57600080fd5b835160208501519093506001600160401b0380821115620003da57600080fd5b620003e887838801620002f7565b93506040860151915080821115620003ff57600080fd5b506200040e86828701620002f7565b9150509250925092565b634e487b7160e01b600052603260045260246000fd5b60006000198214156200045157634e487b7160e01b600052601160045260246000fd5b5060010190565b6118dc80620004686000396000f3fe60806040526004361061011f5760003560e01c806301d5062a1461012b57806301ffc9a71461014d57806307bd0265146101825780630d3cf6fc146101b2578063134008d3146101e657806313bc9f20146101f9578063248a9ca3146102195780632ab0f529146102395780632f2ff15d1461025957806331d507501461027957806336568abe14610299578063584b153e146102b957806364d62353146102d95780638065657f146102f95780638f2a0bb0146103195780638f61f4f51461033957806391d148541461035b578063a217fddf1461037b578063b1c5f42714610390578063c4d252f5146103b0578063d45c4435146103d0578063d547741f146103f0578063e38335e514610410578063f27a0c921461042357600080fd5b3661012657005b600080fd5b34801561013757600080fd5b5061014b610146366004611109565b610438565b005b34801561015957600080fd5b5061016d61016836600461117d565b6104aa565b60405190151581526020015b60405180910390f35b34801561018e57600080fd5b506101a460008051602061186783398151915281565b604051908152602001610179565b3480156101be57600080fd5b506101a47f5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca581565b61014b6101f43660046111a7565b6104e1565b34801561020557600080fd5b5061016d610214366004611212565b610547565b34801561022557600080fd5b506101a4610234366004611212565b61056c565b34801561024557600080fd5b5061016d610254366004611212565b610581565b34801561026557600080fd5b5061014b61027436600461122b565b610595565b34801561028557600080fd5b5061016d610294366004611212565b6105b7565b3480156102a557600080fd5b5061014b6102b436600461122b565b6105ca565b3480156102c557600080fd5b5061016d6102d4366004611212565b61064d565b3480156102e557600080fd5b5061014b6102f4366004611212565b61065a565b34801561030557600080fd5b506101a46103143660046111a7565b6106fe565b34801561032557600080fd5b5061014b61033436600461129b565b61073d565b34801561034557600080fd5b506101a460008051602061184783398151915281565b34801561036757600080fd5b5061016d61037636600461122b565b61086c565b34801561038757600080fd5b506101a4600081565b34801561039c57600080fd5b506101a46103ab36600461134c565b610895565b3480156103bc57600080fd5b5061014b6103cb366004611212565b6108da565b3480156103dc57600080fd5b506101a46103eb366004611212565b61099e565b3480156103fc57600080fd5b5061014b61040b36600461122b565b6109b0565b61014b61041e36600461134c565b6109cd565b34801561042f57600080fd5b506002546101a4565b6000805160206118478339815191526104518133610af0565b60006104618989898989896106fe565b905061046d8184610b54565b6000816000805160206118878339815191528b8b8b8b8b8a6040516104979695949392919061141d565b60405180910390a3505050505050505050565b60006001600160e01b03198216637965db0b60e01b14806104db57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000805160206118678339815191526104fb81600061086c565b610509576105098133610af0565b60006105198888888888886106fe565b90506105258185610c43565b6105348160008a8a8a8a610cd4565b61053d81610de8565b5050505050505050565b6000806105538361099e565b90506001811180156105655750428111155b9392505050565b60009081526020819052604090206001015490565b6000600161058e8361099e565b1492915050565b61059e8261056c565b6105a88133610af0565b6105b28383610e21565b505050565b6000806105c38361099e565b1192915050565b6001600160a01b038116331461063f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6106498282610ea5565b5050565b600060016105c38361099e565b3330146106bd5760405162461bcd60e51b815260206004820152602b60248201527f54696d656c6f636b436f6e74726f6c6c65723a2063616c6c6572206d7573742060448201526a62652074696d656c6f636b60a81b6064820152608401610636565b60025460408051918252602082018390527f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d5910160405180910390a1600255565b600086868686868660405160200161071b9695949392919061141d565b6040516020818303038152906040528051906020012090509695505050505050565b6000805160206118478339815191526107568133610af0565b8887146107755760405162461bcd60e51b81526004016106369061145a565b8885146107945760405162461bcd60e51b81526004016106369061145a565b60006107a68b8b8b8b8b8b8b8b610895565b90506107b28184610b54565b60005b8a81101561085e5780826000805160206118878339815191528e8e858181106107e0576107e061149d565b90506020020160208101906107f591906114b3565b8d8d868181106108075761080761149d565b905060200201358c8c878181106108205761082061149d565b905060200281019061083291906114ce565b8c8b6040516108469695949392919061141d565b60405180910390a36108578161152a565b90506107b5565b505050505050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600088888888888888886040516020016108b69897969594939291906115d9565b60405160208183030381529060405280519060200120905098975050505050505050565b6000805160206118478339815191526108f38133610af0565b6108fc8261064d565b6109625760405162461bcd60e51b815260206004820152603160248201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e2063616044820152701b9b9bdd0818994818d85b98d95b1b1959607a1b6064820152608401610636565b6000828152600160205260408082208290555183917fbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb7091a25050565b60009081526001602052604090205490565b6109b98261056c565b6109c38133610af0565b6105b28383610ea5565b6000805160206118678339815191526109e781600061086c565b6109f5576109f58133610af0565b878614610a145760405162461bcd60e51b81526004016106369061145a565b878414610a335760405162461bcd60e51b81526004016106369061145a565b6000610a458a8a8a8a8a8a8a8a610895565b9050610a518185610c43565b60005b89811015610ada57610aca82828d8d85818110610a7357610a7361149d565b9050602002016020810190610a8891906114b3565b8c8c86818110610a9a57610a9a61149d565b905060200201358b8b87818110610ab357610ab361149d565b9050602002810190610ac591906114ce565b610cd4565b610ad38161152a565b9050610a54565b50610ae481610de8565b50505050505050505050565b610afa828261086c565b61064957610b12816001600160a01b03166014610f0a565b610b1d836020610f0a565b604051602001610b2e9291906116b4565b60408051601f198184030181529082905262461bcd60e51b825261063691600401611723565b610b5d826105b7565b15610bc25760405162461bcd60e51b815260206004820152602f60248201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e20616c60448201526e1c9958591e481cd8da19591d5b1959608a1b6064820152608401610636565b600254811015610c235760405162461bcd60e51b815260206004820152602660248201527f54696d656c6f636b436f6e74726f6c6c65723a20696e73756666696369656e746044820152652064656c617960d01b6064820152608401610636565b610c2d8142611756565b6000928352600160205260409092209190915550565b610c4c82610547565b610c685760405162461bcd60e51b81526004016106369061176e565b801580610c795750610c7981610581565b6106495760405162461bcd60e51b815260206004820152602660248201527f54696d656c6f636b436f6e74726f6c6c65723a206d697373696e6720646570656044820152656e64656e637960d01b6064820152608401610636565b6000846001600160a01b0316848484604051610cf19291906117b8565b60006040518083038185875af1925050503d8060008114610d2e576040519150601f19603f3d011682016040523d82523d6000602084013e610d33565b606091505b5050905080610da05760405162461bcd60e51b815260206004820152603360248201527f54696d656c6f636b436f6e74726f6c6c65723a20756e6465726c79696e6720746044820152721c985b9cd858dd1a5bdb881c995d995c9d1959606a1b6064820152608401610636565b85877fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b5887878787604051610dd794939291906117c8565b60405180910390a350505050505050565b610df181610547565b610e0d5760405162461bcd60e51b81526004016106369061176e565b600090815260016020819052604090912055565b610e2b828261086c565b610649576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055610e613390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610eaf828261086c565b15610649576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000610f198360026117fa565b610f24906002611756565b6001600160401b03811115610f3b57610f3b611819565b6040519080825280601f01601f191660200182016040528015610f65576020820181803683370190505b509050600360fc1b81600081518110610f8057610f8061149d565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610faf57610faf61149d565b60200101906001600160f81b031916908160001a9053506000610fd38460026117fa565b610fde906001611756565b90505b6001811115611056576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106110125761101261149d565b1a60f81b8282815181106110285761102861149d565b60200101906001600160f81b031916908160001a90535060049490941c9361104f8161182f565b9050610fe1565b5083156105655760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610636565b80356001600160a01b03811681146110bc57600080fd5b919050565b60008083601f8401126110d357600080fd5b5081356001600160401b038111156110ea57600080fd5b60208301915083602082850101111561110257600080fd5b9250929050565b600080600080600080600060c0888a03121561112457600080fd5b61112d886110a5565b96506020880135955060408801356001600160401b0381111561114f57600080fd5b61115b8a828b016110c1565b989b979a50986060810135976080820135975060a09091013595509350505050565b60006020828403121561118f57600080fd5b81356001600160e01b03198116811461056557600080fd5b60008060008060008060a087890312156111c057600080fd5b6111c9876110a5565b95506020870135945060408701356001600160401b038111156111eb57600080fd5b6111f789828a016110c1565b979a9699509760608101359660809091013595509350505050565b60006020828403121561122457600080fd5b5035919050565b6000806040838503121561123e57600080fd5b8235915061124e602084016110a5565b90509250929050565b60008083601f84011261126957600080fd5b5081356001600160401b0381111561128057600080fd5b6020830191508360208260051b850101111561110257600080fd5b600080600080600080600080600060c08a8c0312156112b957600080fd5b89356001600160401b03808211156112d057600080fd5b6112dc8d838e01611257565b909b50995060208c01359150808211156112f557600080fd5b6113018d838e01611257565b909950975060408c013591508082111561131a57600080fd5b506113278c828d01611257565b9a9d999c50979a969997986060880135976080810135975060a0013595509350505050565b60008060008060008060008060a0898b03121561136857600080fd5b88356001600160401b038082111561137f57600080fd5b61138b8c838d01611257565b909a50985060208b01359150808211156113a457600080fd5b6113b08c838d01611257565b909850965060408b01359150808211156113c957600080fd5b506113d68b828c01611257565b999c989b509699959896976060870135966080013595509350505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60018060a01b038716815285602082015260a06040820152600061144560a0830186886113f4565b60608301949094525060800152949350505050565b60208082526023908201527f54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d616040820152620e8c6d60eb1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156114c557600080fd5b610565826110a5565b6000808335601e198436030181126114e557600080fd5b8301803591506001600160401b038211156114ff57600080fd5b60200191503681900382131561110257600080fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141561153e5761153e611514565b5060010190565b60008383855260208086019550808560051b8301018460005b878110156115cc57848303601f19018952813536889003601e1901811261158457600080fd5b870180356001600160401b0381111561159c57600080fd5b8036038913156115ab57600080fd5b6115b885828885016113f4565b9a86019a945050509083019060010161155e565b5090979650505050505050565b60a0808252810188905260008960c08301825b8b81101561161a576001600160a01b03611605846110a5565b168252602092830192909101906001016115ec565b5083810360208501528881526001600160fb1b0389111561163a57600080fd5b8860051b9150818a60208301378181019150506020810160008152602084830301604085015261166b81888a611545565b6060850196909652505050608001529695505050505050565b60005b8381101561169f578181015183820152602001611687565b838111156116ae576000848401525b50505050565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8152600083516116e6816017850160208801611684565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611717816028840160208801611684565b01602801949350505050565b6020815260008251806020840152611742816040850160208701611684565b601f01601f19169190910160400192915050565b6000821982111561176957611769611514565b500190565b6020808252602a908201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e206973604082015269206e6f7420726561647960b01b606082015260800190565b8183823760009101908152919050565b60018060a01b03851681528360208201526060604082015260006117f06060830184866113f4565b9695505050505050565b600081600019048311821515161561181457611814611514565b500290565b634e487b7160e01b600052604160045260246000fd5b60008161183e5761183e611514565b50600019019056feb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1d8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e634cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dcaa26469706673582212202b42ead38295ff66035050c1591a3b27b3bdd5c052c9fa0645294c72e6e1961164736f6c634300080900335f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca5b09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1d8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63000000000000000000000000000000000000000000000000000000000002a30000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061011f5760003560e01c806301d5062a1461012b57806301ffc9a71461014d57806307bd0265146101825780630d3cf6fc146101b2578063134008d3146101e657806313bc9f20146101f9578063248a9ca3146102195780632ab0f529146102395780632f2ff15d1461025957806331d507501461027957806336568abe14610299578063584b153e146102b957806364d62353146102d95780638065657f146102f95780638f2a0bb0146103195780638f61f4f51461033957806391d148541461035b578063a217fddf1461037b578063b1c5f42714610390578063c4d252f5146103b0578063d45c4435146103d0578063d547741f146103f0578063e38335e514610410578063f27a0c921461042357600080fd5b3661012657005b600080fd5b34801561013757600080fd5b5061014b610146366004611109565b610438565b005b34801561015957600080fd5b5061016d61016836600461117d565b6104aa565b60405190151581526020015b60405180910390f35b34801561018e57600080fd5b506101a460008051602061186783398151915281565b604051908152602001610179565b3480156101be57600080fd5b506101a47f5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca581565b61014b6101f43660046111a7565b6104e1565b34801561020557600080fd5b5061016d610214366004611212565b610547565b34801561022557600080fd5b506101a4610234366004611212565b61056c565b34801561024557600080fd5b5061016d610254366004611212565b610581565b34801561026557600080fd5b5061014b61027436600461122b565b610595565b34801561028557600080fd5b5061016d610294366004611212565b6105b7565b3480156102a557600080fd5b5061014b6102b436600461122b565b6105ca565b3480156102c557600080fd5b5061016d6102d4366004611212565b61064d565b3480156102e557600080fd5b5061014b6102f4366004611212565b61065a565b34801561030557600080fd5b506101a46103143660046111a7565b6106fe565b34801561032557600080fd5b5061014b61033436600461129b565b61073d565b34801561034557600080fd5b506101a460008051602061184783398151915281565b34801561036757600080fd5b5061016d61037636600461122b565b61086c565b34801561038757600080fd5b506101a4600081565b34801561039c57600080fd5b506101a46103ab36600461134c565b610895565b3480156103bc57600080fd5b5061014b6103cb366004611212565b6108da565b3480156103dc57600080fd5b506101a46103eb366004611212565b61099e565b3480156103fc57600080fd5b5061014b61040b36600461122b565b6109b0565b61014b61041e36600461134c565b6109cd565b34801561042f57600080fd5b506002546101a4565b6000805160206118478339815191526104518133610af0565b60006104618989898989896106fe565b905061046d8184610b54565b6000816000805160206118878339815191528b8b8b8b8b8a6040516104979695949392919061141d565b60405180910390a3505050505050505050565b60006001600160e01b03198216637965db0b60e01b14806104db57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000805160206118678339815191526104fb81600061086c565b610509576105098133610af0565b60006105198888888888886106fe565b90506105258185610c43565b6105348160008a8a8a8a610cd4565b61053d81610de8565b5050505050505050565b6000806105538361099e565b90506001811180156105655750428111155b9392505050565b60009081526020819052604090206001015490565b6000600161058e8361099e565b1492915050565b61059e8261056c565b6105a88133610af0565b6105b28383610e21565b505050565b6000806105c38361099e565b1192915050565b6001600160a01b038116331461063f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6106498282610ea5565b5050565b600060016105c38361099e565b3330146106bd5760405162461bcd60e51b815260206004820152602b60248201527f54696d656c6f636b436f6e74726f6c6c65723a2063616c6c6572206d7573742060448201526a62652074696d656c6f636b60a81b6064820152608401610636565b60025460408051918252602082018390527f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d5910160405180910390a1600255565b600086868686868660405160200161071b9695949392919061141d565b6040516020818303038152906040528051906020012090509695505050505050565b6000805160206118478339815191526107568133610af0565b8887146107755760405162461bcd60e51b81526004016106369061145a565b8885146107945760405162461bcd60e51b81526004016106369061145a565b60006107a68b8b8b8b8b8b8b8b610895565b90506107b28184610b54565b60005b8a81101561085e5780826000805160206118878339815191528e8e858181106107e0576107e061149d565b90506020020160208101906107f591906114b3565b8d8d868181106108075761080761149d565b905060200201358c8c878181106108205761082061149d565b905060200281019061083291906114ce565b8c8b6040516108469695949392919061141d565b60405180910390a36108578161152a565b90506107b5565b505050505050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600088888888888888886040516020016108b69897969594939291906115d9565b60405160208183030381529060405280519060200120905098975050505050505050565b6000805160206118478339815191526108f38133610af0565b6108fc8261064d565b6109625760405162461bcd60e51b815260206004820152603160248201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e2063616044820152701b9b9bdd0818994818d85b98d95b1b1959607a1b6064820152608401610636565b6000828152600160205260408082208290555183917fbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb7091a25050565b60009081526001602052604090205490565b6109b98261056c565b6109c38133610af0565b6105b28383610ea5565b6000805160206118678339815191526109e781600061086c565b6109f5576109f58133610af0565b878614610a145760405162461bcd60e51b81526004016106369061145a565b878414610a335760405162461bcd60e51b81526004016106369061145a565b6000610a458a8a8a8a8a8a8a8a610895565b9050610a518185610c43565b60005b89811015610ada57610aca82828d8d85818110610a7357610a7361149d565b9050602002016020810190610a8891906114b3565b8c8c86818110610a9a57610a9a61149d565b905060200201358b8b87818110610ab357610ab361149d565b9050602002810190610ac591906114ce565b610cd4565b610ad38161152a565b9050610a54565b50610ae481610de8565b50505050505050505050565b610afa828261086c565b61064957610b12816001600160a01b03166014610f0a565b610b1d836020610f0a565b604051602001610b2e9291906116b4565b60408051601f198184030181529082905262461bcd60e51b825261063691600401611723565b610b5d826105b7565b15610bc25760405162461bcd60e51b815260206004820152602f60248201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e20616c60448201526e1c9958591e481cd8da19591d5b1959608a1b6064820152608401610636565b600254811015610c235760405162461bcd60e51b815260206004820152602660248201527f54696d656c6f636b436f6e74726f6c6c65723a20696e73756666696369656e746044820152652064656c617960d01b6064820152608401610636565b610c2d8142611756565b6000928352600160205260409092209190915550565b610c4c82610547565b610c685760405162461bcd60e51b81526004016106369061176e565b801580610c795750610c7981610581565b6106495760405162461bcd60e51b815260206004820152602660248201527f54696d656c6f636b436f6e74726f6c6c65723a206d697373696e6720646570656044820152656e64656e637960d01b6064820152608401610636565b6000846001600160a01b0316848484604051610cf19291906117b8565b60006040518083038185875af1925050503d8060008114610d2e576040519150601f19603f3d011682016040523d82523d6000602084013e610d33565b606091505b5050905080610da05760405162461bcd60e51b815260206004820152603360248201527f54696d656c6f636b436f6e74726f6c6c65723a20756e6465726c79696e6720746044820152721c985b9cd858dd1a5bdb881c995d995c9d1959606a1b6064820152608401610636565b85877fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b5887878787604051610dd794939291906117c8565b60405180910390a350505050505050565b610df181610547565b610e0d5760405162461bcd60e51b81526004016106369061176e565b600090815260016020819052604090912055565b610e2b828261086c565b610649576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055610e613390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610eaf828261086c565b15610649576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000610f198360026117fa565b610f24906002611756565b6001600160401b03811115610f3b57610f3b611819565b6040519080825280601f01601f191660200182016040528015610f65576020820181803683370190505b509050600360fc1b81600081518110610f8057610f8061149d565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610faf57610faf61149d565b60200101906001600160f81b031916908160001a9053506000610fd38460026117fa565b610fde906001611756565b90505b6001811115611056576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106110125761101261149d565b1a60f81b8282815181106110285761102861149d565b60200101906001600160f81b031916908160001a90535060049490941c9361104f8161182f565b9050610fe1565b5083156105655760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610636565b80356001600160a01b03811681146110bc57600080fd5b919050565b60008083601f8401126110d357600080fd5b5081356001600160401b038111156110ea57600080fd5b60208301915083602082850101111561110257600080fd5b9250929050565b600080600080600080600060c0888a03121561112457600080fd5b61112d886110a5565b96506020880135955060408801356001600160401b0381111561114f57600080fd5b61115b8a828b016110c1565b989b979a50986060810135976080820135975060a09091013595509350505050565b60006020828403121561118f57600080fd5b81356001600160e01b03198116811461056557600080fd5b60008060008060008060a087890312156111c057600080fd5b6111c9876110a5565b95506020870135945060408701356001600160401b038111156111eb57600080fd5b6111f789828a016110c1565b979a9699509760608101359660809091013595509350505050565b60006020828403121561122457600080fd5b5035919050565b6000806040838503121561123e57600080fd5b8235915061124e602084016110a5565b90509250929050565b60008083601f84011261126957600080fd5b5081356001600160401b0381111561128057600080fd5b6020830191508360208260051b850101111561110257600080fd5b600080600080600080600080600060c08a8c0312156112b957600080fd5b89356001600160401b03808211156112d057600080fd5b6112dc8d838e01611257565b909b50995060208c01359150808211156112f557600080fd5b6113018d838e01611257565b909950975060408c013591508082111561131a57600080fd5b506113278c828d01611257565b9a9d999c50979a969997986060880135976080810135975060a0013595509350505050565b60008060008060008060008060a0898b03121561136857600080fd5b88356001600160401b038082111561137f57600080fd5b61138b8c838d01611257565b909a50985060208b01359150808211156113a457600080fd5b6113b08c838d01611257565b909850965060408b01359150808211156113c957600080fd5b506113d68b828c01611257565b999c989b509699959896976060870135966080013595509350505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60018060a01b038716815285602082015260a06040820152600061144560a0830186886113f4565b60608301949094525060800152949350505050565b60208082526023908201527f54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d616040820152620e8c6d60eb1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156114c557600080fd5b610565826110a5565b6000808335601e198436030181126114e557600080fd5b8301803591506001600160401b038211156114ff57600080fd5b60200191503681900382131561110257600080fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141561153e5761153e611514565b5060010190565b60008383855260208086019550808560051b8301018460005b878110156115cc57848303601f19018952813536889003601e1901811261158457600080fd5b870180356001600160401b0381111561159c57600080fd5b8036038913156115ab57600080fd5b6115b885828885016113f4565b9a86019a945050509083019060010161155e565b5090979650505050505050565b60a0808252810188905260008960c08301825b8b81101561161a576001600160a01b03611605846110a5565b168252602092830192909101906001016115ec565b5083810360208501528881526001600160fb1b0389111561163a57600080fd5b8860051b9150818a60208301378181019150506020810160008152602084830301604085015261166b81888a611545565b6060850196909652505050608001529695505050505050565b60005b8381101561169f578181015183820152602001611687565b838111156116ae576000848401525b50505050565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8152600083516116e6816017850160208801611684565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611717816028840160208801611684565b01602801949350505050565b6020815260008251806020840152611742816040850160208701611684565b601f01601f19169190910160400192915050565b6000821982111561176957611769611514565b500190565b6020808252602a908201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e206973604082015269206e6f7420726561647960b01b606082015260800190565b8183823760009101908152919050565b60018060a01b03851681528360208201526060604082015260006117f06060830184866113f4565b9695505050505050565b600081600019048311821515161561181457611814611514565b500290565b634e487b7160e01b600052604160045260246000fd5b60008161183e5761183e611514565b50600019019056feb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1d8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e634cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dcaa26469706673582212202b42ead38295ff66035050c1591a3b27b3bdd5c052c9fa0645294c72e6e1961164736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000002a30000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : minDelay (uint256): 172800
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000002a300
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.026892 | 186,327,542 | $5,010,694.17 |
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.