ETH Price: $3,468.59 (+2.39%)
Gas: 12 Gwei

Contract

0xD34a24006b862f4E9936c506691539D6433aD297
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Approve201744672024-06-26 7:47:595 days ago1719388079IN
0xD34a2400...6433aD297
0 ETH0.000108282.30952032
Approve195156052024-03-26 2:20:2397 days ago1711419623IN
0xD34a2400...6433aD297
0 ETH0.0008818218.80778813
Approve192617492024-02-19 12:22:11133 days ago1708345331IN
0xD34a2400...6433aD297
0 ETH0.0012838227.22849587
Approve192128172024-02-12 15:23:59140 days ago1707751439IN
0xD34a2400...6433aD297
0 ETH0.0016247434.50304682
Approve191429822024-02-02 20:06:11149 days ago1706904371IN
0xD34a2400...6433aD297
0 ETH0.001066822.62583649
Approve188523452023-12-24 1:23:23190 days ago1703381003IN
0xD34a2400...6433aD297
0 ETH0.0008957618.99825158
Approve181482582023-09-16 10:56:47289 days ago1694861807IN
0xD34a2400...6433aD297
0 ETH0.000385588.17792577
Approve179623182023-08-21 9:49:35315 days ago1692611375IN
0xD34a2400...6433aD297
0 ETH0.0005946512.705824
Approve168731302023-03-21 2:44:47468 days ago1679366687IN
0xD34a2400...6433aD297
0 ETH0.0006023412.79127116
Approve168078302023-03-11 22:33:59477 days ago1678574039IN
0xD34a2400...6433aD297
0 ETH0.0011315224.0289732
Approve162682472022-12-26 10:10:59553 days ago1672049459IN
0xD34a2400...6433aD297
0 ETH0.0005394411.44113741
Transfer160783482022-11-29 21:32:23579 days ago1669757543IN
0xD34a2400...6433aD297
0 ETH0.0003524411.52721979
Approve160093232022-11-20 6:05:23589 days ago1668924323IN
0xD34a2400...6433aD297
0 ETH0.0006282613.32483205
Approve159748372022-11-15 10:27:47594 days ago1668508067IN
0xD34a2400...6433aD297
0 ETH0.0007663316.25303792
Approve152387932022-07-29 17:41:30702 days ago1659116490IN
0xD34a2400...6433aD297
0 ETH0.0007054914.96271421
Approve151692642022-07-18 22:26:30713 days ago1658183190IN
0xD34a2400...6433aD297
0 ETH0.0012502226.5158123
Approve145240922022-04-05 5:38:58818 days ago1649137138IN
0xD34a2400...6433aD297
0 ETH0.0023606750.06740349
Approve144297422022-03-21 12:35:20833 days ago1647866120IN
0xD34a2400...6433aD297
0 ETH0.0005537322.26895633
Approve144297062022-03-21 12:28:11833 days ago1647865691IN
0xD34a2400...6433aD297
0 ETH0.0006589326.49957618
Approve143906432022-03-15 10:33:59839 days ago1647340439IN
0xD34a2400...6433aD297
0 ETH0.0010613522.5101742
Approve143696522022-03-12 3:48:20842 days ago1647056900IN
0xD34a2400...6433aD297
0 ETH0.000940419.94490042
Transfer141500562022-02-06 3:32:21876 days ago1644118341IN
0xD34a2400...6433aD297
0 ETH0.001998565.36409644
Approve139817172022-01-11 3:12:40902 days ago1641870760IN
0xD34a2400...6433aD297
0 ETH0.00882211187.15511971
Approve139808212022-01-10 23:52:32902 days ago1641858752IN
0xD34a2400...6433aD297
0 ETH0.00944582200.33568971
Transfer139807912022-01-10 23:48:06902 days ago1641858486IN
0xD34a2400...6433aD297
0 ETH0.00857108280
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AquaToken

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : AquaToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

// Lightweight token modelled after UNI-LP:
// https://github.com/Uniswap/uniswap-v2-core/blob/v1.0.1/contracts/UniswapV2ERC20.sol
// Adds:
//   - An exposed `mint()` with minting role
//   - An exposed `burn()`
//   - ERC-3009 (`transferWithAuthorization()`)

contract AquaToken is AccessControl, IERC20 {
    // bytes32 private constant EIP712DOMAIN_HASH =
    // keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)")
    bytes32 private constant EIP712DOMAIN_HASH = 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f;

    // bytes32 private constant NAME_HASH = keccak256("AQUA")
    bytes32 private constant NAME_HASH = 0x63901b645aa6e00ea7f6ba69d824d4f5cd2ce7d643330de121686328cc21b0bb;

    // bytes32 private constant VERSION_HASH = keccak256("1")
    bytes32 private constant VERSION_HASH = 0xc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6;

    // bytes32 public constant PERMIT_TYPEHASH =
    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;

    // bytes32 public constant TRANSFER_WITH_AUTHORIZATION_TYPEHASH =
    // keccak256("TransferWithAuthorization(address from,address to,uint256 value,uint256 validAfter,uint256 validBefore,bytes32 nonce)");
    bytes32 public constant TRANSFER_WITH_AUTHORIZATION_TYPEHASH =
        0x7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a2267;

    // keccack256('MINTER_ROLE')
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    string public constant name = "Aqua Token";
    string public constant symbol = "AQUA";
    uint8 public constant decimals = 18;

    uint256 public override totalSupply;

    mapping(address => uint256) public override balanceOf;
    mapping(address => mapping(address => uint256)) public allowances;

    // ERC-2612, ERC-3009 state
    mapping(address => uint256) public nonces;
    mapping(address => mapping(bytes32 => bool)) public authorizationState;

    event AuthorizationUsed(address indexed authorizer, bytes32 indexed nonce);

    constructor(address timelock) {
        _setupRole(DEFAULT_ADMIN_ROLE, timelock);
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(MINTER_ROLE, msg.sender);
    }

    function _validateSignedData(
        address signer,
        bytes32 encodeData,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal view {
        bytes32 digest = keccak256(abi.encodePacked("\x19\x01", getDomainSeparator(), encodeData));
        address recoveredAddress = ecrecover(digest, v, r, s);
        require(recoveredAddress != address(0) && recoveredAddress == signer, "AquaToken:: INVALID_SIGNATURE");
    }

    function _mint(address to, uint256 value) internal {
        totalSupply = totalSupply + value;
        balanceOf[to] = balanceOf[to] + value;
        emit Transfer(address(0), to, value);
    }

    function _burn(address from, uint256 value) internal {
        balanceOf[from] = balanceOf[from] - value;
        totalSupply = totalSupply - value;
        emit Transfer(from, address(0), value);
    }

    function _approve(
        address owner,
        address spender,
        uint256 value
    ) private {
        allowances[owner][spender] = value;
        emit Approval(owner, spender, value);
    }

    function _transfer(
        address from,
        address to,
        uint256 value
    ) private {
        require(to != address(this) && to != address(0), "AquaToken:: RECEIVER_IS_TOKEN_OR_ZERO");
        balanceOf[from] = balanceOf[from] - value;
        balanceOf[to] = balanceOf[to] + value;
        emit Transfer(from, to, value);
    }

    function getChainId() public view returns (uint256 chainId) {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            chainId := chainid()
        }
    }

    function getDomainSeparator() public view returns (bytes32) {
        return keccak256(abi.encode(EIP712DOMAIN_HASH, NAME_HASH, VERSION_HASH, getChainId(), address(this)));
    }

    function mint(address to, uint256 value) external returns (bool) {
        require(hasRole(MINTER_ROLE, msg.sender), "AquaToken :: NOT_MINTER");
        _mint(to, value);
        return true;
    }

    function burn(uint256 value) external returns (bool) {
        _burn(msg.sender, value);
        return true;
    }

    function burnFrom(address account, uint256 amount) external {
        uint256 currentAllowance = allowance(account, msg.sender);
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        _approve(account, msg.sender, currentAllowance - amount);
        _burn(account, amount);
    }

    function approve(address spender, uint256 value) external override returns (bool) {
        _approve(msg.sender, spender, value);
        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return allowances[owner][spender];
    }

    function transfer(address to, uint256 value) external override returns (bool) {
        _transfer(msg.sender, to, value);
        return true;
    }

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external override returns (bool) {
        uint256 fromAllowance = allowances[from][msg.sender];
        if (fromAllowance != type(uint256).max) {
            allowances[from][msg.sender] = fromAllowance - value;
        }
        _transfer(from, to, value);
        return true;
    }

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external {
        require(deadline >= block.timestamp, "AquaToken:: AUTH_EXPIRED");

        bytes32 encodeData = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner], deadline));
        nonces[owner] = nonces[owner] + 1;
        _validateSignedData(owner, encodeData, v, r, s);

        _approve(owner, spender, value);
    }

    function transferWithAuthorization(
        address from,
        address to,
        uint256 value,
        uint256 validAfter,
        uint256 validBefore,
        bytes32 nonce,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external {
        require(block.timestamp > validAfter, "AquaToken:: AUTH_NOT_YET_VALID");
        require(block.timestamp < validBefore, "AquaToken:: AUTH_EXPIRED");
        require(!authorizationState[from][nonce], "AquaToken:: AUTH_ALREADY_USED");

        bytes32 encodeData = keccak256(
            abi.encode(TRANSFER_WITH_AUTHORIZATION_TYPEHASH, from, to, value, validAfter, validBefore, nonce)
        );
        _validateSignedData(from, encodeData, v, r, s);

        authorizationState[from][nonce] = true;
        emit AuthorizationUsed(from, nonce);

        _transfer(from, to, value);
    }
}

File 2 of 8 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 4 of 8 : IAccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 5 of 8 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 6 of 8 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 7 of 8 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 8 of 8 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"timelock","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"authorizer","type":"address"},{"indexed":true,"internalType":"bytes32","name":"nonce","type":"bytes32"}],"name":"AuthorizationUsed","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRANSFER_WITH_AUTHORIZATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"authorizationState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"chainId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeparator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"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":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"validAfter","type":"uint256"},{"internalType":"uint256","name":"validBefore","type":"uint256"},{"internalType":"bytes32","name":"nonce","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"transferWithAuthorization","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162002e3d38038062002e3d83398181016040528101906200003791906200022a565b6200004c6000801b826200009a60201b60201c565b620000616000801b336200009a60201b60201c565b620000937f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200009a60201b60201c565b50620002a4565b620000ac8282620000b060201b60201c565b5050565b620000c28282620001a160201b60201c565b6200019d57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001426200020b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b60008151905062000224816200028a565b92915050565b6000602082840312156200023d57600080fd5b60006200024d8482850162000213565b91505092915050565b600062000263826200026a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b620002958162000256565b8114620002a157600080fd5b50565b612b8980620002b46000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e1461057e578063e3ee160e146105ae578063e94a0102146105ca578063ed24911d146105fa576101cf565b8063a9059cbb146104f8578063d505accf14610528578063d539139314610544578063d547741f14610562576101cf565b806391d14854116100de57806391d148541461046e57806395d89b411461049e578063a0cc6a68146104bc578063a217fddf146104da576101cf565b806370a08231146103f257806379cc6790146104225780637ecebe001461043e576101cf565b806330adf81f1161017157806336568abe1161014b57806336568abe1461034657806340c10f191461036257806342966c681461039257806355b6ed5c146103c2576101cf565b806330adf81f146102ec578063313ce5671461030a5780633408e47014610328576101cf565b806318160ddd116101ad57806318160ddd1461025257806323b872dd14610270578063248a9ca3146102a05780632f2ff15d146102d0576101cf565b806301ffc9a7146101d457806306fdde0314610204578063095ea7b314610222575b600080fd5b6101ee60048036038101906101e9919061208c565b610618565b6040516101fb919061258d565b60405180910390f35b61020c610692565b604051610219919061272b565b60405180910390f35b61023c60048036038101906102379190611feb565b6106cb565b604051610249919061258d565b60405180910390f35b61025a6106e2565b604051610267919061286d565b60405180910390f35b61028a60048036038101906102859190611dfc565b6106e8565b604051610297919061258d565b60405180910390f35b6102ba60048036038101906102b59190612027565b610835565b6040516102c791906125a8565b60405180910390f35b6102ea60048036038101906102e59190612050565b610854565b005b6102f461087d565b60405161030191906125a8565b60405180910390f35b6103126108a4565b60405161031f9190612888565b60405180910390f35b6103306108a9565b60405161033d919061286d565b60405180910390f35b610360600480360381019061035b9190612050565b6108b1565b005b61037c60048036038101906103779190611feb565b610934565b604051610389919061258d565b60405180910390f35b6103ac60048036038101906103a791906120b5565b6109b3565b6040516103b9919061258d565b60405180910390f35b6103dc60048036038101906103d79190611dc0565b6109c8565b6040516103e9919061286d565b60405180910390f35b61040c60048036038101906104079190611d97565b6109ed565b604051610419919061286d565b60405180910390f35b61043c60048036038101906104379190611feb565b610a05565b005b61045860048036038101906104539190611d97565b610a7b565b604051610465919061286d565b60405180910390f35b61048860048036038101906104839190612050565b610a93565b604051610495919061258d565b60405180910390f35b6104a6610afd565b6040516104b3919061272b565b60405180910390f35b6104c4610b36565b6040516104d191906125a8565b60405180910390f35b6104e2610b5d565b6040516104ef91906125a8565b60405180910390f35b610512600480360381019061050d9190611feb565b610b64565b60405161051f919061258d565b60405180910390f35b610542600480360381019061053d9190611f11565b610b7b565b005b61054c610d06565b60405161055991906125a8565b60405180910390f35b61057c60048036038101906105779190612050565b610d2a565b005b61059860048036038101906105939190611dc0565b610d53565b6040516105a5919061286d565b60405180910390f35b6105c860048036038101906105c39190611e4b565b610dda565b005b6105e460048036038101906105df9190611faf565b611027565b6040516105f1919061258d565b60405180910390f35b610602611056565b60405161060f91906125a8565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061068b575061068a826110fc565b5b9050919050565b6040518060400160405280600a81526020017f4171756120546f6b656e0000000000000000000000000000000000000000000081525081565b60006106d8338484611166565b6001905092915050565b60015481565b600080600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461081e57828161079d919061297a565b600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b610829858585611251565b60019150509392505050565b6000806000838152602001908152602001600020600101549050919050565b61085d82610835565b61086e8161086961147f565b611487565b6108788383611524565b505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c960001b81565b601281565b600046905090565b6108b961147f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091d9061282d565b60405180910390fd5b6109308282611604565b5050565b60006109607f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610a93565b61099f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109969061276d565b60405180910390fd5b6109a983836116e5565b6001905092915050565b60006109bf33836117f1565b60019050919050565b6003602052816000526040600020602052806000526040600020600091509150505481565b60026020528060005260406000206000915090505481565b6000610a118333610d53565b905081811015610a56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4d906127ed565b60405180910390fd5b610a6c83338484610a67919061297a565b611166565b610a7683836117f1565b505050565b60046020528060005260406000206000915090505481565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6040518060400160405280600481526020017f415155410000000000000000000000000000000000000000000000000000000081525081565b7f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a226760001b81565b6000801b81565b6000610b71338484611251565b6001905092915050565b42841015610bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb5906127ad565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c960001b888888600460008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205489604051602001610c3d969594939291906125c3565b6040516020818303038152906040528051906020012090506001600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ca191906128ca565b600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610cf188828686866118fd565b610cfc888888611166565b5050505050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610d3382610835565b610d4481610d3f61147f565b611487565b610d4e8383611604565b505050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b854211610e1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e139061284d565b60405180910390fd5b844210610e5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e55906127ad565b60405180910390fd5b600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060009054906101000a900460ff1615610efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef3906127cd565b60405180910390fd5b60007f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a226760001b8a8a8a8a8a8a604051602001610f3e9796959493929190612624565b604051602081830303815290604052805190602001209050610f638a828686866118fd565b6001600560008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087815260200190815260200160002060006101000a81548160ff021916908315150217905550848a73ffffffffffffffffffffffffffffffffffffffff167f98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a560405160405180910390a361101b8a8a8a611251565b50505050505050505050565b60056020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60001b7f63901b645aa6e00ea7f6ba69d824d4f5cd2ce7d643330de121686328cc21b0bb60001b7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660001b6110cc6108a9565b306040516020016110e1959493929190612693565b60405160208183030381529060405280519060200120905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611244919061286d565b60405180910390a3505050565b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156112ba5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b6112f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f09061274d565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611344919061297a565b600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113d291906128ca565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611472919061286d565b60405180910390a3505050565b600033905090565b6114918282610a93565b611520576114b68173ffffffffffffffffffffffffffffffffffffffff166014611a34565b6114c48360001c6020611a34565b6040516020016114d5929190612553565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611517919061272b565b60405180910390fd5b5050565b61152e8282610a93565b61160057600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115a561147f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61160e8282610a93565b156116e157600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061168661147f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b806001546116f391906128ca565b60018190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461174491906128ca565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117e5919061286d565b60405180910390a35050565b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461183c919061297a565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060015461188d919061297a565b600181905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118f1919061286d565b60405180910390a35050565b6000611907611056565b8560405160200161191992919061251c565b60405160208183030381529060405280519060200120905060006001828686866040516000815260200160405260405161195694939291906126e6565b6020604051602081039080840390855afa158015611978573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156119ec57508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b611a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a229061280d565b60405180910390fd5b50505050505050565b606060006002836002611a479190612920565b611a5191906128ca565b67ffffffffffffffff811115611a90577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611ac25781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611b20577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611baa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611bea9190612920565b611bf491906128ca565b90505b6001811115611ce0577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611c5c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110611c99577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611cd990612a6c565b9050611bf7565b5060008414611d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1b9061278d565b60405180910390fd5b8091505092915050565b600081359050611d3d81612ae0565b92915050565b600081359050611d5281612af7565b92915050565b600081359050611d6781612b0e565b92915050565b600081359050611d7c81612b25565b92915050565b600081359050611d9181612b3c565b92915050565b600060208284031215611da957600080fd5b6000611db784828501611d2e565b91505092915050565b60008060408385031215611dd357600080fd5b6000611de185828601611d2e565b9250506020611df285828601611d2e565b9150509250929050565b600080600060608486031215611e1157600080fd5b6000611e1f86828701611d2e565b9350506020611e3086828701611d2e565b9250506040611e4186828701611d6d565b9150509250925092565b60008060008060008060008060006101208a8c031215611e6a57600080fd5b6000611e788c828d01611d2e565b9950506020611e898c828d01611d2e565b9850506040611e9a8c828d01611d6d565b9750506060611eab8c828d01611d6d565b9650506080611ebc8c828d01611d6d565b95505060a0611ecd8c828d01611d43565b94505060c0611ede8c828d01611d82565b93505060e0611eef8c828d01611d43565b925050610100611f018c828d01611d43565b9150509295985092959850929598565b600080600080600080600060e0888a031215611f2c57600080fd5b6000611f3a8a828b01611d2e565b9750506020611f4b8a828b01611d2e565b9650506040611f5c8a828b01611d6d565b9550506060611f6d8a828b01611d6d565b9450506080611f7e8a828b01611d82565b93505060a0611f8f8a828b01611d43565b92505060c0611fa08a828b01611d43565b91505092959891949750929550565b60008060408385031215611fc257600080fd5b6000611fd085828601611d2e565b9250506020611fe185828601611d43565b9150509250929050565b60008060408385031215611ffe57600080fd5b600061200c85828601611d2e565b925050602061201d85828601611d6d565b9150509250929050565b60006020828403121561203957600080fd5b600061204784828501611d43565b91505092915050565b6000806040838503121561206357600080fd5b600061207185828601611d43565b925050602061208285828601611d2e565b9150509250929050565b60006020828403121561209e57600080fd5b60006120ac84828501611d58565b91505092915050565b6000602082840312156120c757600080fd5b60006120d584828501611d6d565b91505092915050565b6120e7816129ae565b82525050565b6120f6816129c0565b82525050565b612105816129cc565b82525050565b61211c612117826129cc565b612a96565b82525050565b600061212d826128a3565b61213781856128ae565b9350612147818560208601612a39565b61215081612acf565b840191505092915050565b6000612166826128a3565b61217081856128bf565b9350612180818560208601612a39565b80840191505092915050565b60006121996025836128ae565b91507f41717561546f6b656e3a3a2052454345495645525f49535f544f4b454e5f4f5260008301527f5f5a45524f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006121ff6017836128ae565b91507f41717561546f6b656e203a3a204e4f545f4d494e5445520000000000000000006000830152602082019050919050565b600061223f6020836128ae565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b600061227f6002836128bf565b91507f19010000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b60006122bf6018836128ae565b91507f41717561546f6b656e3a3a20415554485f4558504952454400000000000000006000830152602082019050919050565b60006122ff601d836128ae565b91507f41717561546f6b656e3a3a20415554485f414c52454144595f555345440000006000830152602082019050919050565b600061233f6024836128ae565b91507f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760008301527f616e6365000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006123a56017836128bf565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b60006123e5601d836128ae565b91507f41717561546f6b656e3a3a20494e56414c49445f5349474e41545552450000006000830152602082019050919050565b60006124256011836128bf565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b6000612465602f836128ae565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b60006124cb601e836128ae565b91507f41717561546f6b656e3a3a20415554485f4e4f545f5945545f56414c494400006000830152602082019050919050565b61250781612a22565b82525050565b61251681612a2c565b82525050565b600061252782612272565b9150612533828561210b565b602082019150612543828461210b565b6020820191508190509392505050565b600061255e82612398565b915061256a828561215b565b915061257582612418565b9150612581828461215b565b91508190509392505050565b60006020820190506125a260008301846120ed565b92915050565b60006020820190506125bd60008301846120fc565b92915050565b600060c0820190506125d860008301896120fc565b6125e560208301886120de565b6125f260408301876120de565b6125ff60608301866124fe565b61260c60808301856124fe565b61261960a08301846124fe565b979650505050505050565b600060e082019050612639600083018a6120fc565b61264660208301896120de565b61265360408301886120de565b61266060608301876124fe565b61266d60808301866124fe565b61267a60a08301856124fe565b61268760c08301846120fc565b98975050505050505050565b600060a0820190506126a860008301886120fc565b6126b560208301876120fc565b6126c260408301866120fc565b6126cf60608301856124fe565b6126dc60808301846120de565b9695505050505050565b60006080820190506126fb60008301876120fc565b612708602083018661250d565b61271560408301856120fc565b61272260608301846120fc565b95945050505050565b600060208201905081810360008301526127458184612122565b905092915050565b600060208201905081810360008301526127668161218c565b9050919050565b60006020820190508181036000830152612786816121f2565b9050919050565b600060208201905081810360008301526127a681612232565b9050919050565b600060208201905081810360008301526127c6816122b2565b9050919050565b600060208201905081810360008301526127e6816122f2565b9050919050565b6000602082019050818103600083015261280681612332565b9050919050565b60006020820190508181036000830152612826816123d8565b9050919050565b6000602082019050818103600083015261284681612458565b9050919050565b60006020820190508181036000830152612866816124be565b9050919050565b600060208201905061288260008301846124fe565b92915050565b600060208201905061289d600083018461250d565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b60006128d582612a22565b91506128e083612a22565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561291557612914612aa0565b5b828201905092915050565b600061292b82612a22565b915061293683612a22565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561296f5761296e612aa0565b5b828202905092915050565b600061298582612a22565b915061299083612a22565b9250828210156129a3576129a2612aa0565b5b828203905092915050565b60006129b982612a02565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b83811015612a57578082015181840152602081019050612a3c565b83811115612a66576000848401525b50505050565b6000612a7782612a22565b91506000821415612a8b57612a8a612aa0565b5b600182039050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000601f19601f8301169050919050565b612ae9816129ae565b8114612af457600080fd5b50565b612b00816129cc565b8114612b0b57600080fd5b50565b612b17816129d6565b8114612b2257600080fd5b50565b612b2e81612a22565b8114612b3957600080fd5b50565b612b4581612a2c565b8114612b5057600080fd5b5056fea2646970667358221220c5315a781e0f2f26ff569cdeeef21b2e6822c711124b143fcb17e9ea60b1504564736f6c63430008000033000000000000000000000000eae89190c038172065c096131dd2852ec7564675

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e1461057e578063e3ee160e146105ae578063e94a0102146105ca578063ed24911d146105fa576101cf565b8063a9059cbb146104f8578063d505accf14610528578063d539139314610544578063d547741f14610562576101cf565b806391d14854116100de57806391d148541461046e57806395d89b411461049e578063a0cc6a68146104bc578063a217fddf146104da576101cf565b806370a08231146103f257806379cc6790146104225780637ecebe001461043e576101cf565b806330adf81f1161017157806336568abe1161014b57806336568abe1461034657806340c10f191461036257806342966c681461039257806355b6ed5c146103c2576101cf565b806330adf81f146102ec578063313ce5671461030a5780633408e47014610328576101cf565b806318160ddd116101ad57806318160ddd1461025257806323b872dd14610270578063248a9ca3146102a05780632f2ff15d146102d0576101cf565b806301ffc9a7146101d457806306fdde0314610204578063095ea7b314610222575b600080fd5b6101ee60048036038101906101e9919061208c565b610618565b6040516101fb919061258d565b60405180910390f35b61020c610692565b604051610219919061272b565b60405180910390f35b61023c60048036038101906102379190611feb565b6106cb565b604051610249919061258d565b60405180910390f35b61025a6106e2565b604051610267919061286d565b60405180910390f35b61028a60048036038101906102859190611dfc565b6106e8565b604051610297919061258d565b60405180910390f35b6102ba60048036038101906102b59190612027565b610835565b6040516102c791906125a8565b60405180910390f35b6102ea60048036038101906102e59190612050565b610854565b005b6102f461087d565b60405161030191906125a8565b60405180910390f35b6103126108a4565b60405161031f9190612888565b60405180910390f35b6103306108a9565b60405161033d919061286d565b60405180910390f35b610360600480360381019061035b9190612050565b6108b1565b005b61037c60048036038101906103779190611feb565b610934565b604051610389919061258d565b60405180910390f35b6103ac60048036038101906103a791906120b5565b6109b3565b6040516103b9919061258d565b60405180910390f35b6103dc60048036038101906103d79190611dc0565b6109c8565b6040516103e9919061286d565b60405180910390f35b61040c60048036038101906104079190611d97565b6109ed565b604051610419919061286d565b60405180910390f35b61043c60048036038101906104379190611feb565b610a05565b005b61045860048036038101906104539190611d97565b610a7b565b604051610465919061286d565b60405180910390f35b61048860048036038101906104839190612050565b610a93565b604051610495919061258d565b60405180910390f35b6104a6610afd565b6040516104b3919061272b565b60405180910390f35b6104c4610b36565b6040516104d191906125a8565b60405180910390f35b6104e2610b5d565b6040516104ef91906125a8565b60405180910390f35b610512600480360381019061050d9190611feb565b610b64565b60405161051f919061258d565b60405180910390f35b610542600480360381019061053d9190611f11565b610b7b565b005b61054c610d06565b60405161055991906125a8565b60405180910390f35b61057c60048036038101906105779190612050565b610d2a565b005b61059860048036038101906105939190611dc0565b610d53565b6040516105a5919061286d565b60405180910390f35b6105c860048036038101906105c39190611e4b565b610dda565b005b6105e460048036038101906105df9190611faf565b611027565b6040516105f1919061258d565b60405180910390f35b610602611056565b60405161060f91906125a8565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061068b575061068a826110fc565b5b9050919050565b6040518060400160405280600a81526020017f4171756120546f6b656e0000000000000000000000000000000000000000000081525081565b60006106d8338484611166565b6001905092915050565b60015481565b600080600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461081e57828161079d919061297a565b600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b610829858585611251565b60019150509392505050565b6000806000838152602001908152602001600020600101549050919050565b61085d82610835565b61086e8161086961147f565b611487565b6108788383611524565b505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c960001b81565b601281565b600046905090565b6108b961147f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091d9061282d565b60405180910390fd5b6109308282611604565b5050565b60006109607f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610a93565b61099f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109969061276d565b60405180910390fd5b6109a983836116e5565b6001905092915050565b60006109bf33836117f1565b60019050919050565b6003602052816000526040600020602052806000526040600020600091509150505481565b60026020528060005260406000206000915090505481565b6000610a118333610d53565b905081811015610a56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4d906127ed565b60405180910390fd5b610a6c83338484610a67919061297a565b611166565b610a7683836117f1565b505050565b60046020528060005260406000206000915090505481565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6040518060400160405280600481526020017f415155410000000000000000000000000000000000000000000000000000000081525081565b7f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a226760001b81565b6000801b81565b6000610b71338484611251565b6001905092915050565b42841015610bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb5906127ad565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c960001b888888600460008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205489604051602001610c3d969594939291906125c3565b6040516020818303038152906040528051906020012090506001600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ca191906128ca565b600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610cf188828686866118fd565b610cfc888888611166565b5050505050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610d3382610835565b610d4481610d3f61147f565b611487565b610d4e8383611604565b505050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b854211610e1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e139061284d565b60405180910390fd5b844210610e5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e55906127ad565b60405180910390fd5b600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060009054906101000a900460ff1615610efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef3906127cd565b60405180910390fd5b60007f7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a226760001b8a8a8a8a8a8a604051602001610f3e9796959493929190612624565b604051602081830303815290604052805190602001209050610f638a828686866118fd565b6001600560008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087815260200190815260200160002060006101000a81548160ff021916908315150217905550848a73ffffffffffffffffffffffffffffffffffffffff167f98de503528ee59b575ef0c0a2576a82497bfc029a5685b209e9ec333479b10a560405160405180910390a361101b8a8a8a611251565b50505050505050505050565b60056020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60001b7f63901b645aa6e00ea7f6ba69d824d4f5cd2ce7d643330de121686328cc21b0bb60001b7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660001b6110cc6108a9565b306040516020016110e1959493929190612693565b60405160208183030381529060405280519060200120905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611244919061286d565b60405180910390a3505050565b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156112ba5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b6112f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f09061274d565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611344919061297a565b600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113d291906128ca565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611472919061286d565b60405180910390a3505050565b600033905090565b6114918282610a93565b611520576114b68173ffffffffffffffffffffffffffffffffffffffff166014611a34565b6114c48360001c6020611a34565b6040516020016114d5929190612553565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611517919061272b565b60405180910390fd5b5050565b61152e8282610a93565b61160057600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115a561147f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61160e8282610a93565b156116e157600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061168661147f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b806001546116f391906128ca565b60018190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461174491906128ca565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117e5919061286d565b60405180910390a35050565b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461183c919061297a565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060015461188d919061297a565b600181905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118f1919061286d565b60405180910390a35050565b6000611907611056565b8560405160200161191992919061251c565b60405160208183030381529060405280519060200120905060006001828686866040516000815260200160405260405161195694939291906126e6565b6020604051602081039080840390855afa158015611978573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141580156119ec57508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b611a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a229061280d565b60405180910390fd5b50505050505050565b606060006002836002611a479190612920565b611a5191906128ca565b67ffffffffffffffff811115611a90577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611ac25781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611b20577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611baa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611bea9190612920565b611bf491906128ca565b90505b6001811115611ce0577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611c5c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110611c99577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611cd990612a6c565b9050611bf7565b5060008414611d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1b9061278d565b60405180910390fd5b8091505092915050565b600081359050611d3d81612ae0565b92915050565b600081359050611d5281612af7565b92915050565b600081359050611d6781612b0e565b92915050565b600081359050611d7c81612b25565b92915050565b600081359050611d9181612b3c565b92915050565b600060208284031215611da957600080fd5b6000611db784828501611d2e565b91505092915050565b60008060408385031215611dd357600080fd5b6000611de185828601611d2e565b9250506020611df285828601611d2e565b9150509250929050565b600080600060608486031215611e1157600080fd5b6000611e1f86828701611d2e565b9350506020611e3086828701611d2e565b9250506040611e4186828701611d6d565b9150509250925092565b60008060008060008060008060006101208a8c031215611e6a57600080fd5b6000611e788c828d01611d2e565b9950506020611e898c828d01611d2e565b9850506040611e9a8c828d01611d6d565b9750506060611eab8c828d01611d6d565b9650506080611ebc8c828d01611d6d565b95505060a0611ecd8c828d01611d43565b94505060c0611ede8c828d01611d82565b93505060e0611eef8c828d01611d43565b925050610100611f018c828d01611d43565b9150509295985092959850929598565b600080600080600080600060e0888a031215611f2c57600080fd5b6000611f3a8a828b01611d2e565b9750506020611f4b8a828b01611d2e565b9650506040611f5c8a828b01611d6d565b9550506060611f6d8a828b01611d6d565b9450506080611f7e8a828b01611d82565b93505060a0611f8f8a828b01611d43565b92505060c0611fa08a828b01611d43565b91505092959891949750929550565b60008060408385031215611fc257600080fd5b6000611fd085828601611d2e565b9250506020611fe185828601611d43565b9150509250929050565b60008060408385031215611ffe57600080fd5b600061200c85828601611d2e565b925050602061201d85828601611d6d565b9150509250929050565b60006020828403121561203957600080fd5b600061204784828501611d43565b91505092915050565b6000806040838503121561206357600080fd5b600061207185828601611d43565b925050602061208285828601611d2e565b9150509250929050565b60006020828403121561209e57600080fd5b60006120ac84828501611d58565b91505092915050565b6000602082840312156120c757600080fd5b60006120d584828501611d6d565b91505092915050565b6120e7816129ae565b82525050565b6120f6816129c0565b82525050565b612105816129cc565b82525050565b61211c612117826129cc565b612a96565b82525050565b600061212d826128a3565b61213781856128ae565b9350612147818560208601612a39565b61215081612acf565b840191505092915050565b6000612166826128a3565b61217081856128bf565b9350612180818560208601612a39565b80840191505092915050565b60006121996025836128ae565b91507f41717561546f6b656e3a3a2052454345495645525f49535f544f4b454e5f4f5260008301527f5f5a45524f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006121ff6017836128ae565b91507f41717561546f6b656e203a3a204e4f545f4d494e5445520000000000000000006000830152602082019050919050565b600061223f6020836128ae565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b600061227f6002836128bf565b91507f19010000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b60006122bf6018836128ae565b91507f41717561546f6b656e3a3a20415554485f4558504952454400000000000000006000830152602082019050919050565b60006122ff601d836128ae565b91507f41717561546f6b656e3a3a20415554485f414c52454144595f555345440000006000830152602082019050919050565b600061233f6024836128ae565b91507f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760008301527f616e6365000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006123a56017836128bf565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b60006123e5601d836128ae565b91507f41717561546f6b656e3a3a20494e56414c49445f5349474e41545552450000006000830152602082019050919050565b60006124256011836128bf565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b6000612465602f836128ae565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b60006124cb601e836128ae565b91507f41717561546f6b656e3a3a20415554485f4e4f545f5945545f56414c494400006000830152602082019050919050565b61250781612a22565b82525050565b61251681612a2c565b82525050565b600061252782612272565b9150612533828561210b565b602082019150612543828461210b565b6020820191508190509392505050565b600061255e82612398565b915061256a828561215b565b915061257582612418565b9150612581828461215b565b91508190509392505050565b60006020820190506125a260008301846120ed565b92915050565b60006020820190506125bd60008301846120fc565b92915050565b600060c0820190506125d860008301896120fc565b6125e560208301886120de565b6125f260408301876120de565b6125ff60608301866124fe565b61260c60808301856124fe565b61261960a08301846124fe565b979650505050505050565b600060e082019050612639600083018a6120fc565b61264660208301896120de565b61265360408301886120de565b61266060608301876124fe565b61266d60808301866124fe565b61267a60a08301856124fe565b61268760c08301846120fc565b98975050505050505050565b600060a0820190506126a860008301886120fc565b6126b560208301876120fc565b6126c260408301866120fc565b6126cf60608301856124fe565b6126dc60808301846120de565b9695505050505050565b60006080820190506126fb60008301876120fc565b612708602083018661250d565b61271560408301856120fc565b61272260608301846120fc565b95945050505050565b600060208201905081810360008301526127458184612122565b905092915050565b600060208201905081810360008301526127668161218c565b9050919050565b60006020820190508181036000830152612786816121f2565b9050919050565b600060208201905081810360008301526127a681612232565b9050919050565b600060208201905081810360008301526127c6816122b2565b9050919050565b600060208201905081810360008301526127e6816122f2565b9050919050565b6000602082019050818103600083015261280681612332565b9050919050565b60006020820190508181036000830152612826816123d8565b9050919050565b6000602082019050818103600083015261284681612458565b9050919050565b60006020820190508181036000830152612866816124be565b9050919050565b600060208201905061288260008301846124fe565b92915050565b600060208201905061289d600083018461250d565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b60006128d582612a22565b91506128e083612a22565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561291557612914612aa0565b5b828201905092915050565b600061292b82612a22565b915061293683612a22565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561296f5761296e612aa0565b5b828202905092915050565b600061298582612a22565b915061299083612a22565b9250828210156129a3576129a2612aa0565b5b828203905092915050565b60006129b982612a02565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b83811015612a57578082015181840152602081019050612a3c565b83811115612a66576000848401525b50505050565b6000612a7782612a22565b91506000821415612a8b57612a8a612aa0565b5b600182039050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000601f19601f8301169050919050565b612ae9816129ae565b8114612af457600080fd5b50565b612b00816129cc565b8114612b0b57600080fd5b50565b612b17816129d6565b8114612b2257600080fd5b50565b612b2e81612a22565b8114612b3957600080fd5b50565b612b4581612a2c565b8114612b5057600080fd5b5056fea2646970667358221220c5315a781e0f2f26ff569cdeeef21b2e6822c711124b143fcb17e9ea60b1504564736f6c63430008000033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000eae89190c038172065c096131dd2852ec7564675

-----Decoded View---------------
Arg [0] : timelock (address): 0xEAE89190c038172065C096131Dd2852ec7564675

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000eae89190c038172065c096131dd2852ec7564675


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.