Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| 0x60806040 | 22298128 | 236 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
TimelockController
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
No with 200 runs
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (governance/TimelockController.sol)
pragma solidity ^0.8.20;
import {AccessControl} from "../access/AccessControl.sol";
import {ERC721Holder} from "../token/ERC721/utils/ERC721Holder.sol";
import {ERC1155Holder} from "../token/ERC1155/utils/ERC1155Holder.sol";
import {Address} from "../utils/Address.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.
*/
contract TimelockController is AccessControl, ERC721Holder, ERC1155Holder {
bytes32 public constant PROPOSER_ROLE = keccak256("PROPOSER_ROLE");
bytes32 public constant EXECUTOR_ROLE = keccak256("EXECUTOR_ROLE");
bytes32 public constant CANCELLER_ROLE = keccak256("CANCELLER_ROLE");
uint256 internal constant _DONE_TIMESTAMP = uint256(1);
mapping(bytes32 id => uint256) private _timestamps;
uint256 private _minDelay;
enum OperationState {
Unset,
Waiting,
Ready,
Done
}
/**
* @dev Mismatch between the parameters length for an operation call.
*/
error TimelockInvalidOperationLength(uint256 targets, uint256 payloads, uint256 values);
/**
* @dev The schedule operation doesn't meet the minimum delay.
*/
error TimelockInsufficientDelay(uint256 delay, uint256 minDelay);
/**
* @dev The current state of an operation is not as required.
* The `expectedStates` is a bitmap with the bits enabled for each OperationState enum position
* counting from right to left.
*
* See {_encodeStateBitmap}.
*/
error TimelockUnexpectedOperationState(bytes32 operationId, bytes32 expectedStates);
/**
* @dev The predecessor to an operation not yet done.
*/
error TimelockUnexecutedPredecessor(bytes32 predecessorId);
/**
* @dev The caller account is not authorized.
*/
error TimelockUnauthorizedCaller(address caller);
/**
* @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 new proposal is scheduled with non-zero salt.
*/
event CallSalt(bytes32 indexed id, bytes32 salt);
/**
* @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 the following parameters:
*
* - `minDelay`: initial minimum delay in seconds for operations
* - `proposers`: accounts to be granted proposer and canceller roles
* - `executors`: accounts to be granted executor role
* - `admin`: optional account to be granted admin role; disable with zero address
*
* IMPORTANT: The optional admin can aid with initial configuration of roles after deployment
* without being subject to delay, but this role should be subsequently renounced in favor of
* administration through timelocked proposals. Previous versions of this contract would assign
* this admin to the deployer automatically and should be renounced as well.
*/
constructor(uint256 minDelay, address[] memory proposers, address[] memory executors, address admin) {
// self administration
_grantRole(DEFAULT_ADMIN_ROLE, address(this));
// optional admin
if (admin != address(0)) {
_grantRole(DEFAULT_ADMIN_ROLE, admin);
}
// register proposers and cancellers
for (uint256 i = 0; i < proposers.length; ++i) {
_grantRole(PROPOSER_ROLE, proposers[i]);
_grantRole(CANCELLER_ROLE, proposers[i]);
}
// register executors
for (uint256 i = 0; i < executors.length; ++i) {
_grantRole(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 See {IERC165-supportsInterface}.
*/
function supportsInterface(
bytes4 interfaceId
) public view virtual override(AccessControl, ERC1155Holder) returns (bool) {
return super.supportsInterface(interfaceId);
}
/**
* @dev Returns whether an id corresponds to a registered operation. This
* includes both Waiting, Ready, and Done operations.
*/
function isOperation(bytes32 id) public view returns (bool) {
return getOperationState(id) != OperationState.Unset;
}
/**
* @dev Returns whether an operation is pending or not. Note that a "pending" operation may also be "ready".
*/
function isOperationPending(bytes32 id) public view returns (bool) {
OperationState state = getOperationState(id);
return state == OperationState.Waiting || state == OperationState.Ready;
}
/**
* @dev Returns whether an operation is ready for execution. Note that a "ready" operation is also "pending".
*/
function isOperationReady(bytes32 id) public view returns (bool) {
return getOperationState(id) == OperationState.Ready;
}
/**
* @dev Returns whether an operation is done or not.
*/
function isOperationDone(bytes32 id) public view returns (bool) {
return getOperationState(id) == OperationState.Done;
}
/**
* @dev Returns the timestamp at which an operation becomes ready (0 for
* unset operations, 1 for done operations).
*/
function getTimestamp(bytes32 id) public view virtual returns (uint256) {
return _timestamps[id];
}
/**
* @dev Returns operation state.
*/
function getOperationState(bytes32 id) public view virtual returns (OperationState) {
uint256 timestamp = getTimestamp(id);
if (timestamp == 0) {
return OperationState.Unset;
} else if (timestamp == _DONE_TIMESTAMP) {
return OperationState.Done;
} else if (timestamp > block.timestamp) {
return OperationState.Waiting;
} else {
return OperationState.Ready;
}
}
/**
* @dev Returns the minimum delay in seconds 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) {
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) {
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 payloads,
bytes32 predecessor,
bytes32 salt
) public pure virtual returns (bytes32) {
return keccak256(abi.encode(targets, values, payloads, predecessor, salt));
}
/**
* @dev Schedule an operation containing a single transaction.
*
* Emits {CallSalt} if salt is nonzero, and {CallScheduled}.
*
* 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);
if (salt != bytes32(0)) {
emit CallSalt(id, salt);
}
}
/**
* @dev Schedule an operation containing a batch of transactions.
*
* Emits {CallSalt} if salt is nonzero, and 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 payloads,
bytes32 predecessor,
bytes32 salt,
uint256 delay
) public virtual onlyRole(PROPOSER_ROLE) {
if (targets.length != values.length || targets.length != payloads.length) {
revert TimelockInvalidOperationLength(targets.length, payloads.length, values.length);
}
bytes32 id = hashOperationBatch(targets, values, payloads, predecessor, salt);
_schedule(id, delay);
for (uint256 i = 0; i < targets.length; ++i) {
emit CallScheduled(id, i, targets[i], values[i], payloads[i], predecessor, delay);
}
if (salt != bytes32(0)) {
emit CallSalt(id, salt);
}
}
/**
* @dev Schedule an operation that is to become valid after a given delay.
*/
function _schedule(bytes32 id, uint256 delay) private {
if (isOperation(id)) {
revert TimelockUnexpectedOperationState(id, _encodeStateBitmap(OperationState.Unset));
}
uint256 minDelay = getMinDelay();
if (delay < minDelay) {
revert TimelockInsufficientDelay(delay, minDelay);
}
_timestamps[id] = block.timestamp + delay;
}
/**
* @dev Cancel an operation.
*
* Requirements:
*
* - the caller must have the 'canceller' role.
*/
function cancel(bytes32 id) public virtual onlyRole(CANCELLER_ROLE) {
if (!isOperationPending(id)) {
revert TimelockUnexpectedOperationState(
id,
_encodeStateBitmap(OperationState.Waiting) | _encodeStateBitmap(OperationState.Ready)
);
}
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.
*/
// This function can reenter, but it doesn't pose a risk because _afterCall checks that the proposal is pending,
// thus any modifications to the operation during reentrancy should be caught.
// slither-disable-next-line reentrancy-eth
function execute(
address target,
uint256 value,
bytes calldata payload,
bytes32 predecessor,
bytes32 salt
) public payable virtual onlyRoleOrOpenRole(EXECUTOR_ROLE) {
bytes32 id = hashOperation(target, value, payload, predecessor, salt);
_beforeCall(id, predecessor);
_execute(target, value, payload);
emit CallExecuted(id, 0, target, value, payload);
_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.
*/
// This function can reenter, but it doesn't pose a risk because _afterCall checks that the proposal is pending,
// thus any modifications to the operation during reentrancy should be caught.
// slither-disable-next-line reentrancy-eth
function executeBatch(
address[] calldata targets,
uint256[] calldata values,
bytes[] calldata payloads,
bytes32 predecessor,
bytes32 salt
) public payable virtual onlyRoleOrOpenRole(EXECUTOR_ROLE) {
if (targets.length != values.length || targets.length != payloads.length) {
revert TimelockInvalidOperationLength(targets.length, payloads.length, values.length);
}
bytes32 id = hashOperationBatch(targets, values, payloads, predecessor, salt);
_beforeCall(id, predecessor);
for (uint256 i = 0; i < targets.length; ++i) {
address target = targets[i];
uint256 value = values[i];
bytes calldata payload = payloads[i];
_execute(target, value, payload);
emit CallExecuted(id, i, target, value, payload);
}
_afterCall(id);
}
/**
* @dev Execute an operation's call.
*/
function _execute(address target, uint256 value, bytes calldata data) internal virtual {
(bool success, bytes memory returndata) = target.call{value: value}(data);
Address.verifyCallResult(success, returndata);
}
/**
* @dev Checks before execution of an operation's calls.
*/
function _beforeCall(bytes32 id, bytes32 predecessor) private view {
if (!isOperationReady(id)) {
revert TimelockUnexpectedOperationState(id, _encodeStateBitmap(OperationState.Ready));
}
if (predecessor != bytes32(0) && !isOperationDone(predecessor)) {
revert TimelockUnexecutedPredecessor(predecessor);
}
}
/**
* @dev Checks after execution of an operation's calls.
*/
function _afterCall(bytes32 id) private {
if (!isOperationReady(id)) {
revert TimelockUnexpectedOperationState(id, _encodeStateBitmap(OperationState.Ready));
}
_timestamps[id] = _DONE_TIMESTAMP;
}
/**
* @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 {
address sender = _msgSender();
if (sender != address(this)) {
revert TimelockUnauthorizedCaller(sender);
}
emit MinDelayChange(_minDelay, newDelay);
_minDelay = newDelay;
}
/**
* @dev Encodes a `OperationState` into a `bytes32` representation where each bit enabled corresponds to
* the underlying position in the `OperationState` enum. For example:
*
* 0x000...1000
* ^^^^^^----- ...
* ^---- Done
* ^--- Ready
* ^-- Waiting
* ^- Unset
*/
function _encodeStateBitmap(OperationState operationState) internal pure returns (bytes32) {
return bytes32(1 << uint8(operationState));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)
pragma solidity ^0.8.20;
import {IAccessControl} from "./IAccessControl.sol";
import {Context} from "../utils/Context.sol";
import {ERC165} from "../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:
*
* ```solidity
* 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}:
*
* ```solidity
* 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. We recommend using {AccessControlDefaultAdminRules}
* to enforce additional security measures for this role.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping(address account => bool) hasRole;
bytes32 adminRole;
}
mapping(bytes32 role => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with an {AccessControlUnauthorizedAccount} error including the required role.
*/
modifier onlyRole(bytes32 role) {
_checkRole(role);
_;
}
/**
* @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 returns (bool) {
return _roles[role].hasRole[account];
}
/**
* @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`
* is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.
*/
function _checkRole(bytes32 role) internal view virtual {
_checkRole(role, _msgSender());
}
/**
* @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`
* is missing `role`.
*/
function _checkRole(bytes32 role, address account) internal view virtual {
if (!hasRole(role, account)) {
revert AccessControlUnauthorizedAccount(account, role);
}
}
/**
* @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 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.
*
* May emit a {RoleGranted} event.
*/
function grantRole(bytes32 role, address account) public virtual 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.
*
* May emit a {RoleRevoked} event.
*/
function revokeRole(bytes32 role, address account) public virtual 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 `callerConfirmation`.
*
* May emit a {RoleRevoked} event.
*/
function renounceRole(bytes32 role, address callerConfirmation) public virtual {
if (callerConfirmation != _msgSender()) {
revert AccessControlBadConfirmation();
}
_revokeRole(role, callerConfirmation);
}
/**
* @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 Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.
*
* Internal function without access restriction.
*
* May emit a {RoleGranted} event.
*/
function _grantRole(bytes32 role, address account) internal virtual returns (bool) {
if (!hasRole(role, account)) {
_roles[role].hasRole[account] = true;
emit RoleGranted(role, account, _msgSender());
return true;
} else {
return false;
}
}
/**
* @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.
*
* Internal function without access restriction.
*
* May emit a {RoleRevoked} event.
*/
function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {
if (hasRole(role, account)) {
_roles[role].hasRole[account] = false;
emit RoleRevoked(role, account, _msgSender());
return true;
} else {
return false;
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/utils/ERC721Holder.sol)
pragma solidity ^0.8.20;
import {IERC721Receiver} from "../IERC721Receiver.sol";
/**
* @dev Implementation of the {IERC721Receiver} interface.
*
* Accepts all token transfers.
* Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or
* {IERC721-setApprovalForAll}.
*/
abstract contract ERC721Holder is IERC721Receiver {
/**
* @dev See {IERC721Receiver-onERC721Received}.
*
* Always returns `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(address, address, uint256, bytes memory) public virtual returns (bytes4) {
return this.onERC721Received.selector;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/utils/ERC1155Holder.sol)
pragma solidity ^0.8.20;
import {IERC165, ERC165} from "../../../utils/introspection/ERC165.sol";
import {IERC1155Receiver} from "../IERC1155Receiver.sol";
/**
* @dev Simple implementation of `IERC1155Receiver` that will allow a contract to hold ERC1155 tokens.
*
* IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be
* stuck.
*/
abstract contract ERC1155Holder is ERC165, IERC1155Receiver {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);
}
function onERC1155Received(
address,
address,
uint256,
uint256,
bytes memory
) public virtual override returns (bytes4) {
return this.onERC1155Received.selector;
}
function onERC1155BatchReceived(
address,
address,
uint256[] memory,
uint256[] memory,
bytes memory
) public virtual override returns (bytes4) {
return this.onERC1155BatchReceived.selector;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)
pragma solidity ^0.8.20;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev The ETH balance of the account is not enough to perform the operation.
*/
error AddressInsufficientBalance(address account);
/**
* @dev There's no code at `target` (it is not a contract).
*/
error AddressEmptyCode(address target);
/**
* @dev A call to an address target failed. The target may have reverted.
*/
error FailedInnerCall();
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
if (address(this).balance < amount) {
revert AddressInsufficientBalance(address(this));
}
(bool success, ) = recipient.call{value: amount}("");
if (!success) {
revert FailedInnerCall();
}
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason or custom error, it is bubbled
* up by this function (like regular Solidity function calls). However, if
* the call reverted with no returned reason, this function reverts with a
* {FailedInnerCall} error.
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
if (address(this).balance < value) {
revert AddressInsufficientBalance(address(this));
}
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
* was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
* unsuccessful call.
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata
) internal view returns (bytes memory) {
if (!success) {
_revert(returndata);
} else {
// only check if target is a contract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
if (returndata.length == 0 && target.code.length == 0) {
revert AddressEmptyCode(target);
}
return returndata;
}
}
/**
* @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
* revert reason or with a default {FailedInnerCall} error.
*/
function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
if (!success) {
_revert(returndata);
} else {
return returndata;
}
}
/**
* @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
*/
function _revert(bytes memory returndata) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert FailedInnerCall();
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol)
pragma solidity ^0.8.20;
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
/**
* @dev The `account` is missing a role.
*/
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);
/**
* @dev The caller of a function is not the expected one.
*
* NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.
*/
error AccessControlBadConfirmation();
/**
* @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.
*/
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 `callerConfirmation`.
*/
function renounceRole(bytes32 role, address callerConfirmation) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)
pragma solidity ^0.8.20;
import {IERC165} from "./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);
* }
* ```
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.20;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be
* reverted.
*
* The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/IERC1155Receiver.sol)
pragma solidity ^0.8.20;
import {IERC165} from "../../utils/introspection/IERC165.sol";
/**
* @dev Interface that must be implemented by smart contracts in order to receive
* ERC-1155 token transfers.
*/
interface IERC1155Receiver is IERC165 {
/**
* @dev Handles the receipt of a single ERC1155 token type. This function is
* called at the end of a `safeTransferFrom` after the balance has been updated.
*
* NOTE: To accept the transfer, this must return
* `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
* (i.e. 0xf23a6e61, or its own function selector).
*
* @param operator The address which initiated the transfer (i.e. msg.sender)
* @param from The address which previously owned the token
* @param id The ID of the token being transferred
* @param value The amount of tokens being transferred
* @param data Additional data with no specified format
* @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
*/
function onERC1155Received(
address operator,
address from,
uint256 id,
uint256 value,
bytes calldata data
) external returns (bytes4);
/**
* @dev Handles the receipt of a multiple ERC1155 token types. This function
* is called at the end of a `safeBatchTransferFrom` after the balances have
* been updated.
*
* NOTE: To accept the transfer(s), this must return
* `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
* (i.e. 0xbc197c81, or its own function selector).
*
* @param operator The address which initiated the batch transfer (i.e. msg.sender)
* @param from The address which previously owned the token
* @param ids An array containing ids of each token being transferred (order and length must match values array)
* @param values An array containing amounts of each token being transferred (order and length must match ids array)
* @param data Additional data with no specified format
* @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
*/
function onERC1155BatchReceived(
address operator,
address from,
uint256[] calldata ids,
uint256[] calldata values,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)
pragma solidity ^0.8.20;
/**
* @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);
}{
"remappings": [
"@level/src/=src/",
"@level/config/=config/",
"@level/script/=script/",
"@level/test/=test/",
"ds-test/=lib/ds-test/src/",
"forge-std/=lib/forge-std/src/",
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"@openzeppelin-4.9.0/contracts/=lib/openzeppelin-contracts-4.9.0/contracts/",
"@openzeppelin-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"@solmate/=lib/solmate/",
"@openzeppelin-upgrades/=lib/openzeppelin-foundry-upgrades/"
],
"optimizer": {
"enabled": false,
"runs": 200
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "none",
"appendCBOR": false
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "cancun",
"viaIR": true,
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"uint256","name":"minDelay","type":"uint256"},{"internalType":"address[]","name":"proposers","type":"address[]"},{"internalType":"address[]","name":"executors","type":"address[]"},{"internalType":"address","name":"admin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[{"internalType":"uint256","name":"delay","type":"uint256"},{"internalType":"uint256","name":"minDelay","type":"uint256"}],"name":"TimelockInsufficientDelay","type":"error"},{"inputs":[{"internalType":"uint256","name":"targets","type":"uint256"},{"internalType":"uint256","name":"payloads","type":"uint256"},{"internalType":"uint256","name":"values","type":"uint256"}],"name":"TimelockInvalidOperationLength","type":"error"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"TimelockUnauthorizedCaller","type":"error"},{"inputs":[{"internalType":"bytes32","name":"predecessorId","type":"bytes32"}],"name":"TimelockUnexecutedPredecessor","type":"error"},{"inputs":[{"internalType":"bytes32","name":"operationId","type":"bytes32"},{"internalType":"bytes32","name":"expectedStates","type":"bytes32"}],"name":"TimelockUnexpectedOperationState","type":"error"},{"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":false,"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"CallSalt","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":"CANCELLER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"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":[{"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":"payload","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":"payloads","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":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"getOperationState","outputs":[{"internalType":"enum TimelockController.OperationState","name":"","type":"uint8"}],"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":"","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":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes[]","name":"payloads","type":"bytes[]"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"hashOperationBatch","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperation","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperationDone","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperationPending","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperationReady","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","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":"payloads","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
6080604052346100335761001d610014610214565b92919091610438565b610025610038565b6129b461076a82396129b490f35b61003e565b60405190565b5f80fd5b601f801991011690565b634e487b7160e01b5f52604160045260245ffd5b9061006a90610042565b810190811060018060401b0382111761008257604052565b61004c565b9061009a610093610038565b9283610060565b565b5f80fd5b5f80fd5b90565b6100b0816100a4565b036100b757565b5f80fd5b905051906100c8826100a7565b565b5f80fd5b60018060401b0381116100e45760208091020190565b61004c565b5f80fd5b60018060a01b031690565b610101906100ed565b90565b61010d816100f8565b0361011457565b5f80fd5b9050519061012582610104565b565b9092919261013c610137826100ce565b610087565b938185526020808601920283019281841161017957915b8383106101605750505050565b6020809161016e8486610118565b815201920191610153565b6100e9565b9080601f8301121561019c5781602061019993519101610127565b90565b6100ca565b60808183031261020f576101b7825f83016100bb565b92602082015160018060401b03811161020a57836101d691840161017e565b9260408301519060018060401b038211610205576101f98161020293860161017e565b93606001610118565b90565b6100a0565b6100a0565b61009c565b61023261311e8038038061022781610087565b9283398101906101a1565b90919293565b90565b90565b5f1b90565b61025761025261025c92610238565b61023e565b61023b565b90565b6102685f610243565b90565b90565b61028261027d610287926100ed565b61026b565b6100ed565b90565b6102939061026e565b90565b61029f9061028a565b90565b6102b66102b16102bb92610238565b61026b565b6100ed565b90565b6102c7906102a2565b90565b6102de6102d96102e392610238565b61026b565b6100a4565b90565b60016102f291016100a4565b90565b5190565b7fb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc190565b634e487b7160e01b5f52603260045260245ffd5b9061033b826102f5565b81101561034c576020809102010190565b61031d565b61035b90516100f8565b90565b7ffd643c72710c63c0180259aba6b2d05451e3591a24e58b62239378085726f78390565b7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6390565b906103b25f199161023e565b9181191691161790565b6103d06103cb6103d5926100a4565b61026b565b6100a4565b90565b90565b906103f06103eb6103f7926103bc565b6103d8565b82546103a6565b9055565b610404906102ca565b9052565b610411906100a4565b9052565b91602061043692949361042f60408201965f8301906103fb565b0190610408565b565b90939261045561044661025f565b61044f30610296565b90610658565b508061047161046b6104665f6102be565b6100f8565b916100f8565b036105a9575b506104815f6102ca565b5b8061049d610497610492886102f5565b6100a4565b916100a4565b10156104fb576104f6906104cb6104b26102f9565b6104c56104c0898590610331565b610351565b90610658565b506104f06104d761035e565b6104ea6104e5898590610331565b610351565b90610658565b506102e6565b610482565b50919092506105095f6102ca565b5b8061052561051f61051a876102f5565b6100a4565b916100a4565b101561055e576105599061055361053a610382565b61054d610548888590610331565b610351565b90610658565b506102e6565b61050a565b50915061056c8160026103db565b5f907f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d5916105a461059b610038565b92839283610415565b0390a1565b6105ba906105b561025f565b610658565b505f610477565b5f90565b151590565b6105d39061023b565b90565b906105e0906105ca565b5f5260205260405f2090565b6105f59061028a565b90565b90610602906105ec565b5f5260205260405f2090565b9061061a60ff9161023e565b9181191691161790565b61062d906105c5565b90565b90565b9061064861064361064f92610624565b610630565b825461060e565b9055565b5f0190565b6106606105c1565b5061067561066f82849061072f565b156105c5565b5f146106fd5761069c60016106975f61068f8186906105d6565b0185906105f8565b610633565b906106a561075c565b906106e26106dc6106d67f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d956105ca565b926105ec565b926105ec565b926106eb610038565b806106f581610653565b0390a4600190565b50505f90565b5f1c90565b60ff1690565b61071a61071f91610703565b610708565b90565b61072c905461070e565b90565b610755915f61074a610750936107436105c1565b50826105d6565b016105f8565b610722565b90565b5f90565b610764610758565b50339056fe60806040526004361015610015575b3661111857005b61001f5f356101de565b806301d5062a146101d957806301ffc9a7146101d457806307bd0265146101cf578063134008d3146101ca57806313bc9f20146101c5578063150b7a02146101c0578063248a9ca3146101bb5780632ab0f529146101b65780632f2ff15d146101b157806331d50750146101ac57806336568abe146101a7578063584b153e146101a257806364d623531461019d5780637958004c146101985780638065657f146101935780638f2a0bb01461018e5780638f61f4f51461018957806391d1485414610184578063a217fddf1461017f578063b08e51c01461017a578063b1c5f42714610175578063bc197c8114610170578063c4d252f51461016b578063d45c443514610166578063d547741f14610161578063e38335e51461015c578063f23a6e61146101575763f27a0c920361000e576110e3565b6110aa565b611008565b610fd4565b610f9f565b610f4a565b610f11565b610d9c565b610cc1565b610c5d565b610bec565b610bb7565b610b4b565b6109a1565b61096c565b6108dc565b610889565b610855565b610820565b6107ec565b61078a565b610755565b61071c565b61057f565b610531565b61048c565b6103f7565b610349565b60e01c90565b60405190565b5f80fd5b5f80fd5b5f80fd5b60018060a01b031690565b61020a906101f6565b90565b61021681610201565b0361021d57565b5f80fd5b9050359061022e8261020d565b565b90565b61023c81610230565b0361024357565b5f80fd5b9050359061025482610233565b565b5f80fd5b5f80fd5b5f80fd5b909182601f8301121561029c5781359167ffffffffffffffff831161029757602001926001830284011161029257565b61025e565b61025a565b610256565b90565b6102ad816102a1565b036102b457565b5f80fd5b905035906102c5826102a4565b565b9160c08383031261033f576102de825f8501610221565b926102ec8360208301610247565b92604082013567ffffffffffffffff811161033a578161030d918401610262565b92909361033761032084606085016102b8565b9361032e81608086016102b8565b9360a001610247565b90565b6101f2565b6101ee565b5f0190565b3461037e5761036861035c3660046102c7565b959490949391936112d9565b6103706101e4565b8061037a81610344565b0390f35b6101ea565b63ffffffff60e01b1690565b61039881610383565b0361039f57565b5f80fd5b905035906103b08261038f565b565b906020828203126103cb576103c8915f016103a3565b90565b6101ee565b151590565b6103de906103d0565b9052565b91906103f5905f602085019401906103d5565b565b346104275761042361041261040d3660046103b2565b6112ee565b61041a6101e4565b918291826103e2565b0390f35b6101ea565b5f91031261043657565b6101ee565b7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6390565b61046761043b565b90565b610473906102a1565b9052565b919061048a905f6020850194019061046a565b565b346104bc5761049c36600461042c565b6104b86104a761045f565b6104af6101e4565b91829182610477565b0390f35b6101ea565b9060a08282031261052c576104d8815f8401610221565b926104e68260208501610247565b9260408101359167ffffffffffffffff83116105275761050b84610524948401610262565b93909461051b81606086016102b8565b936080016102b8565b90565b6101f2565b6101ee565b61054b61053f3660046104c1565b9493909392919261143a565b6105536101e4565b8061055d81610344565b0390f35b9060208282031261057a57610577915f016102b8565b90565b6101ee565b346105af576105ab61059a610595366004610561565b61144a565b6105a26101e4565b918291826103e2565b0390f35b6101ea565b5f80fd5b601f801991011690565b634e487b7160e01b5f52604160045260245ffd5b906105e0906105b8565b810190811067ffffffffffffffff8211176105fa57604052565b6105c2565b9061061261060b6101e4565b92836105d6565b565b67ffffffffffffffff81116106325761062e6020916105b8565b0190565b6105c2565b90825f939282370152565b9092919261065761065282610614565b6105ff565b938185526020850190828401116106735761067192610637565b565b6105b4565b9080601f830112156106965781602061069393359101610642565b90565b610256565b906080828203126106f5576106b2815f8401610221565b926106c08260208501610221565b926106ce8360408301610247565b92606082013567ffffffffffffffff81116106f0576106ed9201610678565b90565b6101f2565b6101ee565b61070390610383565b9052565b919061071a905f602085019401906106fa565b565b346107505761074c61073b61073236600461069b565b929190916114ca565b6107436101e4565b91829182610707565b0390f35b6101ea565b346107855761078161077061076b366004610561565b61152a565b6107786101e4565b91829182610477565b0390f35b6101ea565b346107ba576107b66107a56107a0366004610561565b61154b565b6107ad6101e4565b918291826103e2565b0390f35b6101ea565b91906040838203126107e757806107db6107e4925f86016102b8565b93602001610221565b90565b6101ee565b3461081b576108056107ff3660046107bf565b9061159e565b61080d6101e4565b8061081781610344565b0390f35b6101ea565b346108505761084c61083b610836366004610561565b6115aa565b6108436101e4565b918291826103e2565b0390f35b6101ea565b346108845761086e6108683660046107bf565b906115d3565b6108766101e4565b8061088081610344565b0390f35b6101ea565b346108b9576108b56108a461089f366004610561565b61161b565b6108ac6101e4565b918291826103e2565b0390f35b6101ea565b906020828203126108d7576108d4915f01610247565b90565b6101ee565b3461090a576108f46108ef3660046108be565b611727565b6108fc6101e4565b8061090681610344565b0390f35b6101ea565b634e487b7160e01b5f52602160045260245ffd5b6004111561092d57565b61090f565b9061093c82610923565b565b61094790610932565b90565b6109539061093e565b9052565b919061096a905f6020850194019061094a565b565b3461099c57610998610987610982366004610561565b6117f0565b61098f6101e4565b91829182610957565b0390f35b6101ea565b346109d8576109d46109c36109b73660046104c1565b949390939291926118c7565b6109cb6101e4565b91829182610477565b0390f35b6101ea565b909182601f83011215610a175781359167ffffffffffffffff8311610a12576020019260208302840111610a0d57565b61025e565b61025a565b610256565b909182601f83011215610a565781359167ffffffffffffffff8311610a51576020019260208302840111610a4c57565b61025e565b61025a565b610256565b909182601f83011215610a955781359167ffffffffffffffff8311610a90576020019260208302840111610a8b57565b61025e565b61025a565b610256565b9060c082820312610b46575f82013567ffffffffffffffff8111610b415781610ac49184016109dd565b929093602082013567ffffffffffffffff8111610b3c5783610ae7918401610a1c565b929093604082013567ffffffffffffffff8111610b375781610b0a918401610a5b565b929093610b34610b1d84606085016102b8565b93610b2b81608086016102b8565b9360a001610247565b90565b6101f2565b6101f2565b6101f2565b6101ee565b34610b8357610b6d610b5e366004610a9a565b97969096959195949294611c6a565b610b756101e4565b80610b7f81610344565b0390f35b6101ea565b7fb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc190565b610bb4610b88565b90565b34610be757610bc736600461042c565b610be3610bd2610bac565b610bda6101e4565b91829182610477565b0390f35b6101ea565b34610c1d57610c19610c08610c023660046107bf565b90611cc6565b610c106101e4565b918291826103e2565b0390f35b6101ea565b90565b5f1b90565b610c3e610c39610c4392610c22565b610c25565b6102a1565b90565b610c4f5f610c2a565b90565b610c5a610c46565b90565b34610c8d57610c6d36600461042c565b610c89610c78610c52565b610c806101e4565b91829182610477565b0390f35b6101ea565b7ffd643c72710c63c0180259aba6b2d05451e3591a24e58b62239378085726f78390565b610cbe610c92565b90565b34610cf157610cd136600461042c565b610ced610cdc610cb6565b610ce46101e4565b91829182610477565b0390f35b6101ea565b91909160a081840312610d97575f81013567ffffffffffffffff8111610d925783610d229183016109dd565b929093602083013567ffffffffffffffff8111610d8d5781610d45918501610a1c565b92909360408101359167ffffffffffffffff8311610d8857610d6c84610d85948401610a5b565b939094610d7c81606086016102b8565b936080016102b8565b90565b6101f2565b6101f2565b6101f2565b6101ee565b34610dd657610dd2610dc1610db2366004610cf6565b96959095949194939293611f2f565b610dc96101e4565b91829182610477565b0390f35b6101ea565b67ffffffffffffffff8111610df35760208091020190565b6105c2565b90929192610e0d610e0882610ddb565b6105ff565b9381855260208086019202830192818411610e4a57915b838310610e315750505050565b60208091610e3f8486610247565b815201920191610e24565b61025e565b9080601f83011215610e6d57816020610e6a93359101610df8565b90565b610256565b91909160a081840312610f0c57610e8b835f8301610221565b92610e998160208401610221565b92604083013567ffffffffffffffff8111610f075782610eba918501610e4f565b92606081013567ffffffffffffffff8111610f025783610edb918301610e4f565b92608082013567ffffffffffffffff8111610efd57610efa9201610678565b90565b6101f2565b6101f2565b6101f2565b6101ee565b34610f4557610f41610f30610f27366004610e72565b93929092611f87565b610f386101e4565b91829182610707565b0390f35b6101ea565b34610f7857610f62610f5d366004610561565b6120fd565b610f6a6101e4565b80610f7481610344565b0390f35b6101ea565b610f8690610230565b9052565b9190610f9d905f60208501940190610f7d565b565b34610fcf57610fcb610fba610fb5366004610561565b612108565b610fc26101e4565b91829182610f8a565b0390f35b6101ea565b3461100357610fed610fe73660046107bf565b90612151565b610ff56101e4565b80610fff81610344565b0390f35b6101ea565b611025611016366004610cf6565b9695909594919493929361235b565b61102d6101e4565b8061103781610344565b0390f35b91909160a0818403126110a557611054835f8301610221565b926110628160208401610221565b926110708260408501610247565b9261107e8360608301610247565b92608082013567ffffffffffffffff81116110a05761109d9201610678565b90565b6101f2565b6101ee565b346110de576110da6110c96110c036600461103b565b9392909261236d565b6110d16101e4565b91829182610707565b0390f35b6101ea565b34611113576110f336600461042c565b61110f6110fe61238b565b6111066101e4565b91829182610f8a565b0390f35b6101ea565b5f80fd5b9061113b969594939291611136611131610b88565b6123a1565b6111f3565b565b611146906102a1565b90565b90565b61116061115b61116592610c22565b611149565b610230565b90565b61117190610201565b9052565b60209181520190565b9190611198816111918161119d95611175565b8095610637565b6105b8565b0190565b916111ea916111f1969897956080956111d26111df946111c860a08901955f8a0190611168565b6020880190610f7d565b858303604087015261117e565b96606083019061046a565b0190610f7d565b565b92939495919061126861120d85838589908b928d946118c7565b966112198886906123ee565b87945f969394979190916112566112507f4cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dca9861113d565b9861114c565b9861125f6101e4565b968796876111a1565b0390a38161128661128061127b5f610c2a565b6102a1565b916102a1565b03611290575b5050565b6112cf6112bd7f20fda5fd27a1ea7bf5b9567f143ac5470bb059374a27e8f67cb44f946f6d03879261113d565b926112c66101e4565b91829182610477565b0390a25f8061128c565b906112e896959493929161111c565b565b5f90565b611300906112fa6112ea565b50612485565b90565b61131761131261131c92610c22565b611149565b6101f6565b90565b61132890611303565b90565b90611363959493929161133c61043b565b6113586113528261134c5f61131f565b90611cc6565b156103d0565b611365575b506113b3565b565b611377906113716124c9565b906124f9565b5f61135d565b6113a36113b0959394929461139960608401965f850190611168565b6020830190610f7d565b604081850391015261117e565b90565b916113d36113cc611438978590858589918b93946118c7565b9586612534565b6113e1838383908792612648565b84916114305f9491929561141e6114187fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b589661113d565b9661114c565b966114276101e4565b9485948561137d565b0390a361267c565b565b90611448959493929161132b565b565b61145c906114566112ea565b506117f0565b61146f6114696002610932565b91610932565b1490565b5f90565b61148b611486611490926101f6565b611149565b6101f6565b90565b61149c90611477565b90565b63ffffffff1690565b60e01b90565b6114c26114bd6114c79261149f565b6114a8565b610383565b90565b505050506114d6611473565b506114e463150b7a026114ae565b90565b5f90565b906114f59061113d565b5f5260205260405f2090565b5f1c90565b90565b61151561151a91611501565b611506565b90565b6115279054611509565b90565b60016115426115489261153b6114e7565b505f6114eb565b0161151d565b90565b61155d906115576112ea565b506117f0565b61157061156a6003610932565b91610932565b1490565b9061158f9161158a6115858261152a565b6123a1565b611591565b565b9061159b9161271e565b50565b906115a891611574565b565b6115bc906115b66112ea565b506117f0565b6115ce6115c85f610932565b91610932565b141590565b90806115ee6115e86115e36124c9565b610201565b91610201565b036115ff576115fc916127c9565b50565b5f63334bd91960e11b81528061161760048201610344565b0390fd5b61162d906116276112ea565b506117f0565b8061164161163b6001610932565b91610932565b1490811561164e575b5090565b905061166361165d6002610932565b91610932565b145f61164a565b61167390611493565b90565b9190611689905f60208501940190611168565b565b90565b61169a61169f91611501565b61168b565b90565b6116ac905461168e565b90565b9160206116d09294936116c960408201965f830190610f7d565b0190610f7d565b565b906116de5f1991610c25565b9181191691161790565b6116fc6116f761170192610230565b611149565b610230565b90565b90565b9061171c611717611723926116e8565b611704565b82546116d2565b9055565b61172f6124c9565b8061174a61174461173f3061166a565b610201565b91610201565b036117a1575061179f9061175e60026116a2565b817f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d59161179561178c6101e4565b928392836116af565b0390a16002611707565b565b6117bc905f91829163e2850c5960e01b835260048301611676565b0390fd5b5f90565b90565b6117db6117d66117e0926117c4565b611149565b610230565b90565b6117ed60016117c7565b90565b611802906117fc6117c0565b50612108565b8061181561180f5f61114c565b91610230565b145f1461182157505f90565b8061183b6118356118306117e3565b610230565b91610230565b145f146118485750600390565b61185a61185442610230565b91610230565b115f1461186657600190565b600290565b916118b4916118bb9698979560809561189c6118a99461189260a08901955f8a0190611168565b6020880190610f7d565b858303604087015261117e565b96606083019061046a565b019061046a565b565b60200190565b5190565b94611906946118f793969492946118dc6114e7565b509496929091926118eb6101e4565b9788966020880161186b565b602082018103825203826105d6565b611918611912826118c3565b916118bd565b2090565b9061193d9897969594939291611938611933610b88565b6123a1565b611a57565b565b5090565b5090565b5090565b60409061197461197b949695939661196a60608401985f850190610f7d565b6020830190610f7d565b0190610f7d565b565b60016119899101610230565b90565b634e487b7160e01b5f52603260045260245ffd5b91908110156119b0576020020190565b61198c565b356119bf8161020d565b90565b91908110156119d2576020020190565b61198c565b356119e181610233565b90565b5f80fd5b5f80fd5b5f80fd5b903590600160200381360303821215611a32570180359067ffffffffffffffff8211611a2d57602001916001820236038313611a2857565b6119ec565b6119e8565b6119e4565b90821015611a52576020611a4e92028101906119f0565b9091565b61198c565b959697939894929194611a6b87839061193f565b611a87611a81611a7c898790611943565b610230565b91610230565b14158015611c3b575b611bfd57611aaa878a8a8d86908b8991928b949596611f2f565b90611ab68287906123ee565b611abf5f61114c565b5b80611add611ad7611ad28c889061193f565b610230565b91610230565b1015611b8457808a8a611b7f938f8c611b778d611b2d8e611b248f8f908f611b11611b1f93611b16929c809e9190916119a0565b6119b5565b97908d916119c2565b6119d7565b95908a91611a37565b9190979091611b65611b5f7f4cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dca9861113d565b986116e8565b98611b6e6101e4565b968796876111a1565b0390a361197d565b611ac0565b509950965050505050505081611baa611ba4611b9f5f610c2a565b6102a1565b916102a1565b03611bb4575b5050565b611bf3611be17f20fda5fd27a1ea7bf5b9567f143ac5470bb059374a27e8f67cb44f946f6d03879261113d565b92611bea6101e4565b91829182610477565b0390a25f80611bb0565b858a611c37611c2086611c1a89611c14898f61193f565b95611947565b94611943565b5f93849363ffb0321160e01b85526004850161194b565b0390fd5b50611c4787839061193f565b611c63611c5d611c588d8890611947565b610230565b91610230565b1415611a90565b90611c7b989796959493929161191c565b565b611c8690611493565b90565b90611c9390611c7d565b5f5260205260405f2090565b60ff1690565b611cb1611cb691611501565b611c9f565b90565b611cc39054611ca5565b90565b611cec915f611ce1611ce793611cda6112ea565b50826114eb565b01611c89565b611cb9565b90565b60209181520190565b90565b611d0490610201565b9052565b90611d1581602093611cfb565b0190565b50611d28906020810190610221565b90565b60200190565b91611d3f82611d4592611cef565b92611cf8565b90815f905b828210611d58575050505090565b90919293611d7a611d74600192611d6f8886611d19565b611d08565b95611d2b565b920190929192611d4a565b60209181520190565b5f80fd5b9037565b909182611da291611d85565b9160018060fb1b038111611dc55782916020611dc19202938491611d92565b0190565b611d8e565b60209181520190565b90565b60209181520190565b9190611df981611df281611dfe95611dd6565b8095610637565b6105b8565b0190565b90611e0d9291611ddf565b90565b5f80fd5b5f80fd5b5f80fd5b9035600160200382360303811215611e5d57016020813591019167ffffffffffffffff8211611e58576001820236038313611e5357565b611e14565b611e10565b611e18565b60200190565b9181611e7391611dca565b9081611e8460208302840194611dd3565b92835f925b848410611e995750505050505090565b9091929394956020611ec5611ebf8385600195038852611eb98b88611e1c565b90611e02565b98611e62565b940194019294939190611e89565b9395611f0d611f2694611f2d999b9a98611eff60809995611f1b9760a08b01918b83035f8d0152611d31565b9188830360208a0152611d96565b918583036040870152611e68565b96606083019061046a565b019061046a565b565b94611f6294611f71979296989398611f456114e7565b509698949091929394611f566101e4565b998a9860208a01611ed3565b602082018103825203826105d6565b611f83611f7d826118c3565b916118bd565b2090565b5050505050611f94611473565b50611fa263bc197c816114ae565b90565b611fbe90611fb9611fb4610c92565b6123a1565b61205c565b565b916020611fe1929493611fda60408201965f83019061046a565b019061046a565b565b90611fed9061113d565b5f5260205260405f2090565b1b90565b919060086120189102916120125f1984611ff9565b92611ff9565b9181191691161790565b9190612038612033612040936116e8565b611704565b908354611ffd565b9055565b5f90565b61205a91612054612044565b91612022565b565b61206e6120688261161b565b156103d0565b6120c9576120875f61208260018490611fe3565b612048565b6120b17fbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb709161113d565b906120ba6101e4565b806120c481610344565b0390a2565b6120d360016128b3565b6120dd60026128b3565b17906120f95f928392635ead8eb560e01b845260048401611fc0565b0390fd5b61210690611fa5565b565b61211f61212491612117612044565b506001611fe3565b6116a2565b90565b906121429161213d6121388261152a565b6123a1565b612144565b565b9061214e916127c9565b50565b9061215b91612127565b565b906121979796959493929161217061043b565b61218c612186826121805f61131f565b90611cc6565b156103d0565b612199575b506121b1565b565b6121ab906121a56124c9565b906124f9565b5f612191565b90919497966121c182849061193f565b6121dd6121d76121d2898890611943565b610230565b91610230565b1415801561232c575b6122ef5761220361220a918390898c878b8a918c93949596611f2f565b9687612534565b6122135f61114c565b5b8061223161222b61222685879061193f565b610230565b91610230565b10156122dc576122d79061224f61224a848684916119a0565b6119b5565b61226361225e898885916119c2565b6119d7565b90612270888d8591611a37565b9290612280838383908792612648565b8b916122cf86949192956122bd6122b77fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b589661113d565b966116e8565b966122c66101e4565b9485948561137d565b0390a361197d565b612214565b5050505050506122ed91925061267c565b565b509161230b88612305612311946123289661193f565b95611947565b94611943565b5f93849363ffb0321160e01b85526004850161194b565b0390fd5b5061233882849061193f565b61235461234e612349888d90611947565b610230565b91610230565b14156121e6565b9061236b9796959493929161215d565b565b505050505061237a611473565b5061238863f23a6e616114ae565b90565b612393612044565b5061239e60026116a2565b90565b6123b3906123ad6124c9565b906124f9565b565b634e487b7160e01b5f52601160045260245ffd5b6123d86123de91939293610230565b92610230565b82018092116123e957565b6123b5565b906123f8826115aa565b61245c5761240461238b565b8161241761241183610230565b91610230565b1061243d57509061243661242e61243b93426123c9565b916001611fe3565b611707565b565b906124585f928392635433660960e01b8452600484016116af565b0390fd5b506124665f6128b3565b906124815f928392635ead8eb560e01b845260048401611fc0565b0390fd5b61248d6112ea565b50806124a86124a2630271189760e51b610383565b91610383565b149081156124b5575b5090565b6124bf91506128e4565b5f6124b1565b5f90565b6124d16124c5565b503390565b9160206124f79294936124f060408201965f830190611168565b019061046a565b565b9061250e612508838390611cc6565b156103d0565b612516575050565b6125305f92839263e2517d3f60e01b8452600484016124d6565b0390fd5b6125466125408261144a565b156103d0565b6125ac57508061256661256061255b5f610c2a565b6102a1565b916102a1565b141580612594575b6125755750565b612590905f91829163121534c360e31b835260048301610477565b0390fd5b506125a76125a18261154b565b156103d0565b61256e565b6125b660026128b3565b906125d15f928392635ead8eb560e01b845260048401611fc0565b0390fd5b905090565b9091826125ea816125f1936125d5565b8093610637565b0190565b9091612600926125da565b90565b9061261561261083610614565b6105ff565b918252565b606090565b3d5f1461263a5761262f3d612603565b903d5f602084013e5b565b61264261261a565b90612638565b90612679935f938493929061266761265e6101e4565b938492836125f5565b03925af161267361261f565b90612924565b50565b61268e6126888261144a565b156103d0565b6126b0576126ae906126a96126a16117e3565b916001611fe3565b611707565b565b6126ba60026128b3565b906126d55f928392635ead8eb560e01b845260048401611fc0565b0390fd5b906126e560ff91610c25565b9181191691161790565b6126f8906103d0565b90565b90565b9061271361270e61271a926126ef565b6126fb565b82546126d9565b9055565b6127266112ea565b5061273b612735828490611cc6565b156103d0565b5f146127c357612762600161275d5f6127558186906114eb565b018590611c89565b6126fe565b9061276b6124c9565b906127a86127a261279c7f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9561113d565b92611c7d565b92611c7d565b926127b16101e4565b806127bb81610344565b0390a4600190565b50505f90565b6127d16112ea565b506127dd818390611cc6565b5f14612864576128035f6127fe5f6127f68186906114eb565b018590611c89565b6126fe565b9061280c6124c9565b9061284961284361283d7ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9561113d565b92611c7d565b92611c7d565b926128526101e4565b8061285c81610344565b0390a4600190565b50505f90565b60ff1690565b61288f906128896128836128949461286a565b91610230565b90611ff9565b610230565b90565b6128ab6128a66128b092610230565b610c25565b6102a1565b90565b6128dc6128e1916128c26114e7565b506128d76128d160019261093e565b916117c7565b612870565b612897565b90565b6128ec6112ea565b5080612907612901637965db0b60e01b610383565b91610383565b14908115612914575b5090565b61291e9150612948565b5f612910565b61293a9092919261293361261a565b50156103d0565b5f14612946575061296e565b565b6129506112ea565b5061296a6129646301ffc9a760e01b610383565b91610383565b1490565b612977816118c3565b6129896129835f61114c565b91610230565b115f1461299857805190602001fd5b5f630a12f52160e11b8152806129b060048201610344565b0390fd0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000343acce723339d5a417411d8ff57fde8886e91dc0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000343acce723339d5a417411d8ff57fde8886e91dc
Deployed Bytecode
0x60806040526004361015610015575b3661111857005b61001f5f356101de565b806301d5062a146101d957806301ffc9a7146101d457806307bd0265146101cf578063134008d3146101ca57806313bc9f20146101c5578063150b7a02146101c0578063248a9ca3146101bb5780632ab0f529146101b65780632f2ff15d146101b157806331d50750146101ac57806336568abe146101a7578063584b153e146101a257806364d623531461019d5780637958004c146101985780638065657f146101935780638f2a0bb01461018e5780638f61f4f51461018957806391d1485414610184578063a217fddf1461017f578063b08e51c01461017a578063b1c5f42714610175578063bc197c8114610170578063c4d252f51461016b578063d45c443514610166578063d547741f14610161578063e38335e51461015c578063f23a6e61146101575763f27a0c920361000e576110e3565b6110aa565b611008565b610fd4565b610f9f565b610f4a565b610f11565b610d9c565b610cc1565b610c5d565b610bec565b610bb7565b610b4b565b6109a1565b61096c565b6108dc565b610889565b610855565b610820565b6107ec565b61078a565b610755565b61071c565b61057f565b610531565b61048c565b6103f7565b610349565b60e01c90565b60405190565b5f80fd5b5f80fd5b5f80fd5b60018060a01b031690565b61020a906101f6565b90565b61021681610201565b0361021d57565b5f80fd5b9050359061022e8261020d565b565b90565b61023c81610230565b0361024357565b5f80fd5b9050359061025482610233565b565b5f80fd5b5f80fd5b5f80fd5b909182601f8301121561029c5781359167ffffffffffffffff831161029757602001926001830284011161029257565b61025e565b61025a565b610256565b90565b6102ad816102a1565b036102b457565b5f80fd5b905035906102c5826102a4565b565b9160c08383031261033f576102de825f8501610221565b926102ec8360208301610247565b92604082013567ffffffffffffffff811161033a578161030d918401610262565b92909361033761032084606085016102b8565b9361032e81608086016102b8565b9360a001610247565b90565b6101f2565b6101ee565b5f0190565b3461037e5761036861035c3660046102c7565b959490949391936112d9565b6103706101e4565b8061037a81610344565b0390f35b6101ea565b63ffffffff60e01b1690565b61039881610383565b0361039f57565b5f80fd5b905035906103b08261038f565b565b906020828203126103cb576103c8915f016103a3565b90565b6101ee565b151590565b6103de906103d0565b9052565b91906103f5905f602085019401906103d5565b565b346104275761042361041261040d3660046103b2565b6112ee565b61041a6101e4565b918291826103e2565b0390f35b6101ea565b5f91031261043657565b6101ee565b7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6390565b61046761043b565b90565b610473906102a1565b9052565b919061048a905f6020850194019061046a565b565b346104bc5761049c36600461042c565b6104b86104a761045f565b6104af6101e4565b91829182610477565b0390f35b6101ea565b9060a08282031261052c576104d8815f8401610221565b926104e68260208501610247565b9260408101359167ffffffffffffffff83116105275761050b84610524948401610262565b93909461051b81606086016102b8565b936080016102b8565b90565b6101f2565b6101ee565b61054b61053f3660046104c1565b9493909392919261143a565b6105536101e4565b8061055d81610344565b0390f35b9060208282031261057a57610577915f016102b8565b90565b6101ee565b346105af576105ab61059a610595366004610561565b61144a565b6105a26101e4565b918291826103e2565b0390f35b6101ea565b5f80fd5b601f801991011690565b634e487b7160e01b5f52604160045260245ffd5b906105e0906105b8565b810190811067ffffffffffffffff8211176105fa57604052565b6105c2565b9061061261060b6101e4565b92836105d6565b565b67ffffffffffffffff81116106325761062e6020916105b8565b0190565b6105c2565b90825f939282370152565b9092919261065761065282610614565b6105ff565b938185526020850190828401116106735761067192610637565b565b6105b4565b9080601f830112156106965781602061069393359101610642565b90565b610256565b906080828203126106f5576106b2815f8401610221565b926106c08260208501610221565b926106ce8360408301610247565b92606082013567ffffffffffffffff81116106f0576106ed9201610678565b90565b6101f2565b6101ee565b61070390610383565b9052565b919061071a905f602085019401906106fa565b565b346107505761074c61073b61073236600461069b565b929190916114ca565b6107436101e4565b91829182610707565b0390f35b6101ea565b346107855761078161077061076b366004610561565b61152a565b6107786101e4565b91829182610477565b0390f35b6101ea565b346107ba576107b66107a56107a0366004610561565b61154b565b6107ad6101e4565b918291826103e2565b0390f35b6101ea565b91906040838203126107e757806107db6107e4925f86016102b8565b93602001610221565b90565b6101ee565b3461081b576108056107ff3660046107bf565b9061159e565b61080d6101e4565b8061081781610344565b0390f35b6101ea565b346108505761084c61083b610836366004610561565b6115aa565b6108436101e4565b918291826103e2565b0390f35b6101ea565b346108845761086e6108683660046107bf565b906115d3565b6108766101e4565b8061088081610344565b0390f35b6101ea565b346108b9576108b56108a461089f366004610561565b61161b565b6108ac6101e4565b918291826103e2565b0390f35b6101ea565b906020828203126108d7576108d4915f01610247565b90565b6101ee565b3461090a576108f46108ef3660046108be565b611727565b6108fc6101e4565b8061090681610344565b0390f35b6101ea565b634e487b7160e01b5f52602160045260245ffd5b6004111561092d57565b61090f565b9061093c82610923565b565b61094790610932565b90565b6109539061093e565b9052565b919061096a905f6020850194019061094a565b565b3461099c57610998610987610982366004610561565b6117f0565b61098f6101e4565b91829182610957565b0390f35b6101ea565b346109d8576109d46109c36109b73660046104c1565b949390939291926118c7565b6109cb6101e4565b91829182610477565b0390f35b6101ea565b909182601f83011215610a175781359167ffffffffffffffff8311610a12576020019260208302840111610a0d57565b61025e565b61025a565b610256565b909182601f83011215610a565781359167ffffffffffffffff8311610a51576020019260208302840111610a4c57565b61025e565b61025a565b610256565b909182601f83011215610a955781359167ffffffffffffffff8311610a90576020019260208302840111610a8b57565b61025e565b61025a565b610256565b9060c082820312610b46575f82013567ffffffffffffffff8111610b415781610ac49184016109dd565b929093602082013567ffffffffffffffff8111610b3c5783610ae7918401610a1c565b929093604082013567ffffffffffffffff8111610b375781610b0a918401610a5b565b929093610b34610b1d84606085016102b8565b93610b2b81608086016102b8565b9360a001610247565b90565b6101f2565b6101f2565b6101f2565b6101ee565b34610b8357610b6d610b5e366004610a9a565b97969096959195949294611c6a565b610b756101e4565b80610b7f81610344565b0390f35b6101ea565b7fb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc190565b610bb4610b88565b90565b34610be757610bc736600461042c565b610be3610bd2610bac565b610bda6101e4565b91829182610477565b0390f35b6101ea565b34610c1d57610c19610c08610c023660046107bf565b90611cc6565b610c106101e4565b918291826103e2565b0390f35b6101ea565b90565b5f1b90565b610c3e610c39610c4392610c22565b610c25565b6102a1565b90565b610c4f5f610c2a565b90565b610c5a610c46565b90565b34610c8d57610c6d36600461042c565b610c89610c78610c52565b610c806101e4565b91829182610477565b0390f35b6101ea565b7ffd643c72710c63c0180259aba6b2d05451e3591a24e58b62239378085726f78390565b610cbe610c92565b90565b34610cf157610cd136600461042c565b610ced610cdc610cb6565b610ce46101e4565b91829182610477565b0390f35b6101ea565b91909160a081840312610d97575f81013567ffffffffffffffff8111610d925783610d229183016109dd565b929093602083013567ffffffffffffffff8111610d8d5781610d45918501610a1c565b92909360408101359167ffffffffffffffff8311610d8857610d6c84610d85948401610a5b565b939094610d7c81606086016102b8565b936080016102b8565b90565b6101f2565b6101f2565b6101f2565b6101ee565b34610dd657610dd2610dc1610db2366004610cf6565b96959095949194939293611f2f565b610dc96101e4565b91829182610477565b0390f35b6101ea565b67ffffffffffffffff8111610df35760208091020190565b6105c2565b90929192610e0d610e0882610ddb565b6105ff565b9381855260208086019202830192818411610e4a57915b838310610e315750505050565b60208091610e3f8486610247565b815201920191610e24565b61025e565b9080601f83011215610e6d57816020610e6a93359101610df8565b90565b610256565b91909160a081840312610f0c57610e8b835f8301610221565b92610e998160208401610221565b92604083013567ffffffffffffffff8111610f075782610eba918501610e4f565b92606081013567ffffffffffffffff8111610f025783610edb918301610e4f565b92608082013567ffffffffffffffff8111610efd57610efa9201610678565b90565b6101f2565b6101f2565b6101f2565b6101ee565b34610f4557610f41610f30610f27366004610e72565b93929092611f87565b610f386101e4565b91829182610707565b0390f35b6101ea565b34610f7857610f62610f5d366004610561565b6120fd565b610f6a6101e4565b80610f7481610344565b0390f35b6101ea565b610f8690610230565b9052565b9190610f9d905f60208501940190610f7d565b565b34610fcf57610fcb610fba610fb5366004610561565b612108565b610fc26101e4565b91829182610f8a565b0390f35b6101ea565b3461100357610fed610fe73660046107bf565b90612151565b610ff56101e4565b80610fff81610344565b0390f35b6101ea565b611025611016366004610cf6565b9695909594919493929361235b565b61102d6101e4565b8061103781610344565b0390f35b91909160a0818403126110a557611054835f8301610221565b926110628160208401610221565b926110708260408501610247565b9261107e8360608301610247565b92608082013567ffffffffffffffff81116110a05761109d9201610678565b90565b6101f2565b6101ee565b346110de576110da6110c96110c036600461103b565b9392909261236d565b6110d16101e4565b91829182610707565b0390f35b6101ea565b34611113576110f336600461042c565b61110f6110fe61238b565b6111066101e4565b91829182610f8a565b0390f35b6101ea565b5f80fd5b9061113b969594939291611136611131610b88565b6123a1565b6111f3565b565b611146906102a1565b90565b90565b61116061115b61116592610c22565b611149565b610230565b90565b61117190610201565b9052565b60209181520190565b9190611198816111918161119d95611175565b8095610637565b6105b8565b0190565b916111ea916111f1969897956080956111d26111df946111c860a08901955f8a0190611168565b6020880190610f7d565b858303604087015261117e565b96606083019061046a565b0190610f7d565b565b92939495919061126861120d85838589908b928d946118c7565b966112198886906123ee565b87945f969394979190916112566112507f4cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dca9861113d565b9861114c565b9861125f6101e4565b968796876111a1565b0390a38161128661128061127b5f610c2a565b6102a1565b916102a1565b03611290575b5050565b6112cf6112bd7f20fda5fd27a1ea7bf5b9567f143ac5470bb059374a27e8f67cb44f946f6d03879261113d565b926112c66101e4565b91829182610477565b0390a25f8061128c565b906112e896959493929161111c565b565b5f90565b611300906112fa6112ea565b50612485565b90565b61131761131261131c92610c22565b611149565b6101f6565b90565b61132890611303565b90565b90611363959493929161133c61043b565b6113586113528261134c5f61131f565b90611cc6565b156103d0565b611365575b506113b3565b565b611377906113716124c9565b906124f9565b5f61135d565b6113a36113b0959394929461139960608401965f850190611168565b6020830190610f7d565b604081850391015261117e565b90565b916113d36113cc611438978590858589918b93946118c7565b9586612534565b6113e1838383908792612648565b84916114305f9491929561141e6114187fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b589661113d565b9661114c565b966114276101e4565b9485948561137d565b0390a361267c565b565b90611448959493929161132b565b565b61145c906114566112ea565b506117f0565b61146f6114696002610932565b91610932565b1490565b5f90565b61148b611486611490926101f6565b611149565b6101f6565b90565b61149c90611477565b90565b63ffffffff1690565b60e01b90565b6114c26114bd6114c79261149f565b6114a8565b610383565b90565b505050506114d6611473565b506114e463150b7a026114ae565b90565b5f90565b906114f59061113d565b5f5260205260405f2090565b5f1c90565b90565b61151561151a91611501565b611506565b90565b6115279054611509565b90565b60016115426115489261153b6114e7565b505f6114eb565b0161151d565b90565b61155d906115576112ea565b506117f0565b61157061156a6003610932565b91610932565b1490565b9061158f9161158a6115858261152a565b6123a1565b611591565b565b9061159b9161271e565b50565b906115a891611574565b565b6115bc906115b66112ea565b506117f0565b6115ce6115c85f610932565b91610932565b141590565b90806115ee6115e86115e36124c9565b610201565b91610201565b036115ff576115fc916127c9565b50565b5f63334bd91960e11b81528061161760048201610344565b0390fd5b61162d906116276112ea565b506117f0565b8061164161163b6001610932565b91610932565b1490811561164e575b5090565b905061166361165d6002610932565b91610932565b145f61164a565b61167390611493565b90565b9190611689905f60208501940190611168565b565b90565b61169a61169f91611501565b61168b565b90565b6116ac905461168e565b90565b9160206116d09294936116c960408201965f830190610f7d565b0190610f7d565b565b906116de5f1991610c25565b9181191691161790565b6116fc6116f761170192610230565b611149565b610230565b90565b90565b9061171c611717611723926116e8565b611704565b82546116d2565b9055565b61172f6124c9565b8061174a61174461173f3061166a565b610201565b91610201565b036117a1575061179f9061175e60026116a2565b817f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d59161179561178c6101e4565b928392836116af565b0390a16002611707565b565b6117bc905f91829163e2850c5960e01b835260048301611676565b0390fd5b5f90565b90565b6117db6117d66117e0926117c4565b611149565b610230565b90565b6117ed60016117c7565b90565b611802906117fc6117c0565b50612108565b8061181561180f5f61114c565b91610230565b145f1461182157505f90565b8061183b6118356118306117e3565b610230565b91610230565b145f146118485750600390565b61185a61185442610230565b91610230565b115f1461186657600190565b600290565b916118b4916118bb9698979560809561189c6118a99461189260a08901955f8a0190611168565b6020880190610f7d565b858303604087015261117e565b96606083019061046a565b019061046a565b565b60200190565b5190565b94611906946118f793969492946118dc6114e7565b509496929091926118eb6101e4565b9788966020880161186b565b602082018103825203826105d6565b611918611912826118c3565b916118bd565b2090565b9061193d9897969594939291611938611933610b88565b6123a1565b611a57565b565b5090565b5090565b5090565b60409061197461197b949695939661196a60608401985f850190610f7d565b6020830190610f7d565b0190610f7d565b565b60016119899101610230565b90565b634e487b7160e01b5f52603260045260245ffd5b91908110156119b0576020020190565b61198c565b356119bf8161020d565b90565b91908110156119d2576020020190565b61198c565b356119e181610233565b90565b5f80fd5b5f80fd5b5f80fd5b903590600160200381360303821215611a32570180359067ffffffffffffffff8211611a2d57602001916001820236038313611a2857565b6119ec565b6119e8565b6119e4565b90821015611a52576020611a4e92028101906119f0565b9091565b61198c565b959697939894929194611a6b87839061193f565b611a87611a81611a7c898790611943565b610230565b91610230565b14158015611c3b575b611bfd57611aaa878a8a8d86908b8991928b949596611f2f565b90611ab68287906123ee565b611abf5f61114c565b5b80611add611ad7611ad28c889061193f565b610230565b91610230565b1015611b8457808a8a611b7f938f8c611b778d611b2d8e611b248f8f908f611b11611b1f93611b16929c809e9190916119a0565b6119b5565b97908d916119c2565b6119d7565b95908a91611a37565b9190979091611b65611b5f7f4cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dca9861113d565b986116e8565b98611b6e6101e4565b968796876111a1565b0390a361197d565b611ac0565b509950965050505050505081611baa611ba4611b9f5f610c2a565b6102a1565b916102a1565b03611bb4575b5050565b611bf3611be17f20fda5fd27a1ea7bf5b9567f143ac5470bb059374a27e8f67cb44f946f6d03879261113d565b92611bea6101e4565b91829182610477565b0390a25f80611bb0565b858a611c37611c2086611c1a89611c14898f61193f565b95611947565b94611943565b5f93849363ffb0321160e01b85526004850161194b565b0390fd5b50611c4787839061193f565b611c63611c5d611c588d8890611947565b610230565b91610230565b1415611a90565b90611c7b989796959493929161191c565b565b611c8690611493565b90565b90611c9390611c7d565b5f5260205260405f2090565b60ff1690565b611cb1611cb691611501565b611c9f565b90565b611cc39054611ca5565b90565b611cec915f611ce1611ce793611cda6112ea565b50826114eb565b01611c89565b611cb9565b90565b60209181520190565b90565b611d0490610201565b9052565b90611d1581602093611cfb565b0190565b50611d28906020810190610221565b90565b60200190565b91611d3f82611d4592611cef565b92611cf8565b90815f905b828210611d58575050505090565b90919293611d7a611d74600192611d6f8886611d19565b611d08565b95611d2b565b920190929192611d4a565b60209181520190565b5f80fd5b9037565b909182611da291611d85565b9160018060fb1b038111611dc55782916020611dc19202938491611d92565b0190565b611d8e565b60209181520190565b90565b60209181520190565b9190611df981611df281611dfe95611dd6565b8095610637565b6105b8565b0190565b90611e0d9291611ddf565b90565b5f80fd5b5f80fd5b5f80fd5b9035600160200382360303811215611e5d57016020813591019167ffffffffffffffff8211611e58576001820236038313611e5357565b611e14565b611e10565b611e18565b60200190565b9181611e7391611dca565b9081611e8460208302840194611dd3565b92835f925b848410611e995750505050505090565b9091929394956020611ec5611ebf8385600195038852611eb98b88611e1c565b90611e02565b98611e62565b940194019294939190611e89565b9395611f0d611f2694611f2d999b9a98611eff60809995611f1b9760a08b01918b83035f8d0152611d31565b9188830360208a0152611d96565b918583036040870152611e68565b96606083019061046a565b019061046a565b565b94611f6294611f71979296989398611f456114e7565b509698949091929394611f566101e4565b998a9860208a01611ed3565b602082018103825203826105d6565b611f83611f7d826118c3565b916118bd565b2090565b5050505050611f94611473565b50611fa263bc197c816114ae565b90565b611fbe90611fb9611fb4610c92565b6123a1565b61205c565b565b916020611fe1929493611fda60408201965f83019061046a565b019061046a565b565b90611fed9061113d565b5f5260205260405f2090565b1b90565b919060086120189102916120125f1984611ff9565b92611ff9565b9181191691161790565b9190612038612033612040936116e8565b611704565b908354611ffd565b9055565b5f90565b61205a91612054612044565b91612022565b565b61206e6120688261161b565b156103d0565b6120c9576120875f61208260018490611fe3565b612048565b6120b17fbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb709161113d565b906120ba6101e4565b806120c481610344565b0390a2565b6120d360016128b3565b6120dd60026128b3565b17906120f95f928392635ead8eb560e01b845260048401611fc0565b0390fd5b61210690611fa5565b565b61211f61212491612117612044565b506001611fe3565b6116a2565b90565b906121429161213d6121388261152a565b6123a1565b612144565b565b9061214e916127c9565b50565b9061215b91612127565b565b906121979796959493929161217061043b565b61218c612186826121805f61131f565b90611cc6565b156103d0565b612199575b506121b1565b565b6121ab906121a56124c9565b906124f9565b5f612191565b90919497966121c182849061193f565b6121dd6121d76121d2898890611943565b610230565b91610230565b1415801561232c575b6122ef5761220361220a918390898c878b8a918c93949596611f2f565b9687612534565b6122135f61114c565b5b8061223161222b61222685879061193f565b610230565b91610230565b10156122dc576122d79061224f61224a848684916119a0565b6119b5565b61226361225e898885916119c2565b6119d7565b90612270888d8591611a37565b9290612280838383908792612648565b8b916122cf86949192956122bd6122b77fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b589661113d565b966116e8565b966122c66101e4565b9485948561137d565b0390a361197d565b612214565b5050505050506122ed91925061267c565b565b509161230b88612305612311946123289661193f565b95611947565b94611943565b5f93849363ffb0321160e01b85526004850161194b565b0390fd5b5061233882849061193f565b61235461234e612349888d90611947565b610230565b91610230565b14156121e6565b9061236b9796959493929161215d565b565b505050505061237a611473565b5061238863f23a6e616114ae565b90565b612393612044565b5061239e60026116a2565b90565b6123b3906123ad6124c9565b906124f9565b565b634e487b7160e01b5f52601160045260245ffd5b6123d86123de91939293610230565b92610230565b82018092116123e957565b6123b5565b906123f8826115aa565b61245c5761240461238b565b8161241761241183610230565b91610230565b1061243d57509061243661242e61243b93426123c9565b916001611fe3565b611707565b565b906124585f928392635433660960e01b8452600484016116af565b0390fd5b506124665f6128b3565b906124815f928392635ead8eb560e01b845260048401611fc0565b0390fd5b61248d6112ea565b50806124a86124a2630271189760e51b610383565b91610383565b149081156124b5575b5090565b6124bf91506128e4565b5f6124b1565b5f90565b6124d16124c5565b503390565b9160206124f79294936124f060408201965f830190611168565b019061046a565b565b9061250e612508838390611cc6565b156103d0565b612516575050565b6125305f92839263e2517d3f60e01b8452600484016124d6565b0390fd5b6125466125408261144a565b156103d0565b6125ac57508061256661256061255b5f610c2a565b6102a1565b916102a1565b141580612594575b6125755750565b612590905f91829163121534c360e31b835260048301610477565b0390fd5b506125a76125a18261154b565b156103d0565b61256e565b6125b660026128b3565b906125d15f928392635ead8eb560e01b845260048401611fc0565b0390fd5b905090565b9091826125ea816125f1936125d5565b8093610637565b0190565b9091612600926125da565b90565b9061261561261083610614565b6105ff565b918252565b606090565b3d5f1461263a5761262f3d612603565b903d5f602084013e5b565b61264261261a565b90612638565b90612679935f938493929061266761265e6101e4565b938492836125f5565b03925af161267361261f565b90612924565b50565b61268e6126888261144a565b156103d0565b6126b0576126ae906126a96126a16117e3565b916001611fe3565b611707565b565b6126ba60026128b3565b906126d55f928392635ead8eb560e01b845260048401611fc0565b0390fd5b906126e560ff91610c25565b9181191691161790565b6126f8906103d0565b90565b90565b9061271361270e61271a926126ef565b6126fb565b82546126d9565b9055565b6127266112ea565b5061273b612735828490611cc6565b156103d0565b5f146127c357612762600161275d5f6127558186906114eb565b018590611c89565b6126fe565b9061276b6124c9565b906127a86127a261279c7f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9561113d565b92611c7d565b92611c7d565b926127b16101e4565b806127bb81610344565b0390a4600190565b50505f90565b6127d16112ea565b506127dd818390611cc6565b5f14612864576128035f6127fe5f6127f68186906114eb565b018590611c89565b6126fe565b9061280c6124c9565b9061284961284361283d7ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9561113d565b92611c7d565b92611c7d565b926128526101e4565b8061285c81610344565b0390a4600190565b50505f90565b60ff1690565b61288f906128896128836128949461286a565b91610230565b90611ff9565b610230565b90565b6128ab6128a66128b092610230565b610c25565b6102a1565b90565b6128dc6128e1916128c26114e7565b506128d76128d160019261093e565b916117c7565b612870565b612897565b90565b6128ec6112ea565b5080612907612901637965db0b60e01b610383565b91610383565b14908115612914575b5090565b61291e9150612948565b5f612910565b61293a9092919261293361261a565b50156103d0565b5f14612946575061296e565b565b6129506112ea565b5061296a6129646301ffc9a760e01b610383565b91610383565b1490565b612977816118c3565b6129896129835f61114c565b91610230565b115f1461299857805190602001fd5b5f630a12f52160e11b8152806129b060048201610344565b0390fd
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000343acce723339d5a417411d8ff57fde8886e91dc0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000343acce723339d5a417411d8ff57fde8886e91dc
-----Decoded View---------------
Arg [0] : minDelay (uint256): 0
Arg [1] : proposers (address[]): 0x343ACce723339D5A417411D8Ff57fde8886E91dc
Arg [2] : executors (address[]): 0x343ACce723339D5A417411D8Ff57fde8886E91dc
Arg [3] : admin (address): 0x0000000000000000000000000000000000000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 000000000000000000000000343acce723339d5a417411d8ff57fde8886e91dc
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [7] : 000000000000000000000000343acce723339d5a417411d8ff57fde8886e91dc
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.