ETH Price: $2,732.43 (+12.80%)
 

Overview

Max Total Supply

555 OWLIES

Holders

332

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
n1kos.eth
Balance
1 OWLIES
0x380f1600f55bcaAD8a9b93E75A9F5eB94C3fCAAB
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
FifthDimension

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : FifthDimension.sol
/*
Crafted with love by
Fueled on Bacon
https://fueledonbacon.com
*/
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

contract FifthDimension is ERC721, AccessControl {
    bytes32 public ADMIN_ROLE = keccak256("ADMIN_ROLE");
    using Strings for uint256;

    bytes32 private _whitelistMerkleRoot;

    mapping(address => uint256) private _whitelistClaimed;
    mapping(address => uint256) private _publicSaleClaimed;

    string private _baseUri;
    string private _tempUri;
    
    uint256 public revealed;
    uint256 private _overridePrivateSale;
    uint256 private _overridePublicSale;

    uint256 private constant _WHITELIST_LIMIT = 1;
    uint256 private constant _PUBLIC_LIMIT = 2;

    uint256[500] private _communityIds;
    uint256[55] private _teamIds;
    uint256 private _communityIndex;
    uint256 private _teamIndex;

    uint256 private _supplyTeamWallet; //pairs with _AIRDROP_LIMIT
    uint256 private _supplyCommunity; //pairs with _COLLECTION_SIZE - _AIRDROP_LIMIT

    uint256 public whitelistStart;
    uint256 public whitelistEnd;
    uint256 public publicStart;
    uint256 public publicEnd;

    constructor(
        uint256 _whitelistStart,
        uint256 _whitelistEnd,
        uint256 _publicStart,
        uint256 _publicEnd,
        bytes32 whitelistMerkleRoot,
        string memory name,
        string memory symbol,
        string memory tempUri
    )
        ERC721(name, symbol)
    {
        _whitelistMerkleRoot = whitelistMerkleRoot;
        _tempUri = tempUri;
        uint256 timestamp = block.timestamp;
        require(_whitelistStart > timestamp, "Wrong whitelist start");
        require(_whitelistEnd > timestamp && _whitelistEnd > whitelistStart, "Wrong whitelist end");
        whitelistStart = _whitelistStart;
        whitelistEnd = _whitelistEnd;
        require(_publicStart > timestamp && _publicStart >= _whitelistEnd, "Wrong public start");
        require(_publicEnd > timestamp && _publicEnd > _publicStart, "Wrong public end");
        publicStart = _publicStart; 
        publicEnd = _publicEnd; 
        address account = _msgSender();
        _setupRole(DEFAULT_ADMIN_ROLE, account);
        _setupRole(ADMIN_ROLE, account);
    }

    modifier onlyAdmin(){
        address account = _msgSender();
        require(hasRole(DEFAULT_ADMIN_ROLE, account) || hasRole(ADMIN_ROLE, account) , "Must be an admin");
        _;
    }

    /// @notice send more gas if you are minting a high quantity.
    function airdrop(address to, uint16 quantity) external onlyAdmin {
        _supplyTeamWallet += quantity;
        for(uint16 i = 0; i < quantity; i++) {
            _safeMint(to, _pickRandomTeamUniqueId());
        }
    }

    function isWhitelistSaleActive() public view returns(bool){
        return _overridePrivateSale == 1 || (block.timestamp > whitelistStart && block.timestamp < whitelistEnd);
    }

    function isPublicSaleActive() public view returns(bool) {
        return _overridePublicSale == 1 || (block.timestamp > publicStart && block.timestamp < publicEnd);
    }

    /// @notice overrides public and private sale
    /// @param publicSale true if override public sale
    /// @param privateSale true if override private sale
    function overrideSales(bool publicSale, bool privateSale) external onlyAdmin {
        _overridePublicSale = publicSale ? 1 : 0;
        _overridePrivateSale = privateSale ? 1: 0;
    }

    function toggleReveal() external onlyAdmin {
        revealed = revealed == 0 ? 1 : 0;
    }

    function setBaseURI(string memory baseUri) external onlyAdmin {
        _baseUri = baseUri;
    }

    function setPlaceholderURI(string memory tempUri) external onlyAdmin {
        _tempUri = tempUri;
    }

    /// @dev override base uri. It will be combined with token ID
    function _baseURI() internal view override returns (string memory) {
        return _baseUri;
    }

    function _verifyList(bytes32[] calldata _merkleProof, bytes32 root, address addr) private pure returns(bool) {
        return (MerkleProof.verify(_merkleProof, root, keccak256(abi.encodePacked(addr))) == true);
    }

    function _verifyWhitelist(bytes32[] calldata _merkleProof, address addr) private view returns(bool) {
       return (MerkleProof.verify(_merkleProof, _whitelistMerkleRoot, keccak256(abi.encodePacked(addr))) == true);
    }
    
    /// @notice each address on the presale list may mint up to 1 tokens
    function whitelistMint(bytes32[] calldata _merkleProof) external {
        address account = _msgSender();
        require(isWhitelistSaleActive(), "PRESALE_INACTIVE");
        require(_verifyWhitelist(_merkleProof, account), "PRESALE_NOT_VERIFIED");
        require(_whitelistClaimed[account] == 0, "WHITELIST_TOKEN_CLAIMED");
        _whitelistClaimed[account] = 1;
        _supplyCommunity += 1;
        _safeMint(account, _pickRandomCommunityUniqueId());
    }

    /// @notice may mint up to 2 tokens per transaction at the public sale price.
    function mint() external {
        require(isPublicSaleActive(), "PUBLIC_SALE_INACTIVE");
        address account = _msgSender();
        _publicSaleClaimed[account] += 1;
        require(_publicSaleClaimed[account] <= _PUBLIC_LIMIT, "PUBLIC_TOKEN_LIMIT");
        _supplyCommunity += 1;
        _safeMint(_msgSender(), _pickRandomCommunityUniqueId());
    }

    function tokenURI(uint256 id) public view override returns (string memory) {
        require(_exists(id), "INVALID_ID");

        return revealed == 1
            ? string(abi.encodePacked(_baseURI(), id.toString(), ".json"))
            : _tempUri;
    }

    function _pickRandomCommunityUniqueId() private returns (uint256 id) {
        uint256 random = uint256(keccak256(abi.encodePacked(_communityIndex, msg.sender, block.timestamp, blockhash(block.number-1))));
        uint256 len = _communityIds.length - _communityIndex;
        _communityIndex += 1;

        require(len > 0, 'no _communityIds left');
        uint256 randomIndex = random % len;
        id = _communityIds[randomIndex] != 0 ? _communityIds[randomIndex] : randomIndex;
        id += 1 + 55;
        _communityIds[randomIndex] = _communityIds[len - 1] == 0 ? len - 1 : _communityIds[len - 1];
        _communityIds[len - 1] = 0;
    }


    function _pickRandomTeamUniqueId() private returns (uint256 id) {
        uint256 random = uint256(keccak256(abi.encodePacked(_teamIndex, msg.sender, block.timestamp, blockhash(block.number-1))));
        uint256 len = _teamIds.length - _teamIndex;
        _teamIndex += 1;
        require(len > 0, 'no _teamIds left');
        uint256 randomIndex = random % len;
        id = _teamIds[randomIndex] != 0 ? _teamIds[randomIndex] : randomIndex;
        id += 1;
        _teamIds[randomIndex] = _teamIds[len - 1] == 0 ? len - 1 : _teamIds[len - 1];
        _teamIds[len - 1] = 0;
    }

    function totalSupply() external view returns(uint256) {
        return _supplyTeamWallet + _supplyCommunity;
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, AccessControl) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 13 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 3 of 13 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/AccessControl.sol)

pragma solidity ^0.8.0;

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view 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 revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

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

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

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 4 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 5 of 13 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 6 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 7 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 8 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 9 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 10 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 11 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 12 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 13 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @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://diligence.consensys.net/posts/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.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @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, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * 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.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @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`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_whitelistStart","type":"uint256"},{"internalType":"uint256","name":"_whitelistEnd","type":"uint256"},{"internalType":"uint256","name":"_publicStart","type":"uint256"},{"internalType":"uint256","name":"_publicEnd","type":"uint256"},{"internalType":"bytes32","name":"whitelistMerkleRoot","type":"bytes32"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"tempUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","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":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ADMIN_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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint16","name":"quantity","type":"uint16"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhitelistSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"publicSale","type":"bool"},{"internalType":"bool","name":"privateSale","type":"bool"}],"name":"overrideSales","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tempUri","type":"string"}],"name":"setPlaceholderURI","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":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040527fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217756007553480156200003557600080fd5b50604051620052633803806200526383398181016040528101906200005b91906200069d565b8282816000908051906020019062000075929190620003da565b5080600190805190602001906200008e929190620003da565b5050508360088190555080600c9080519060200190620000b0929190620003da565b506000429050808911620000fb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000f29062000824565b60405180910390fd5b80881180156200010d575061023f5488115b6200014f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001469062000896565b60405180910390fd5b8861023f81905550876102408190555080871180156200016f5750878710155b620001b1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001a89062000908565b60405180910390fd5b8086118015620001c057508686115b62000202576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001f9906200097a565b60405180910390fd5b866102418190555085610242819055506000620002246200025f60201b60201c565b90506200023b6000801b826200026760201b60201c565b6200024f600754826200026760201b60201c565b5050505050505050505062000a00565b600033905090565b6200027982826200027d60201b60201c565b5050565b6200028f82826200036f60201b60201c565b6200036b5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620003106200025f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620003e890620009cb565b90600052602060002090601f0160209004810192826200040c576000855562000458565b82601f106200042757805160ff191683800117855562000458565b8280016001018555821562000458579182015b82811115620004575782518255916020019190600101906200043a565b5b5090506200046791906200046b565b5090565b5b80821115620004865760008160009055506001016200046c565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b620004b3816200049e565b8114620004bf57600080fd5b50565b600081519050620004d381620004a8565b92915050565b6000819050919050565b620004ee81620004d9565b8114620004fa57600080fd5b50565b6000815190506200050e81620004e3565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000569826200051e565b810181811067ffffffffffffffff821117156200058b576200058a6200052f565b5b80604052505050565b6000620005a06200048a565b9050620005ae82826200055e565b919050565b600067ffffffffffffffff821115620005d157620005d06200052f565b5b620005dc826200051e565b9050602081019050919050565b60005b8381101562000609578082015181840152602081019050620005ec565b8381111562000619576000848401525b50505050565b6000620006366200063084620005b3565b62000594565b90508281526020810184848401111562000655576200065462000519565b5b62000662848285620005e9565b509392505050565b600082601f83011262000682576200068162000514565b5b8151620006948482602086016200061f565b91505092915050565b600080600080600080600080610100898b031215620006c157620006c062000494565b5b6000620006d18b828c01620004c2565b9850506020620006e48b828c01620004c2565b9750506040620006f78b828c01620004c2565b96505060606200070a8b828c01620004c2565b95505060806200071d8b828c01620004fd565b94505060a089015167ffffffffffffffff81111562000741576200074062000499565b5b6200074f8b828c016200066a565b93505060c089015167ffffffffffffffff81111562000773576200077262000499565b5b620007818b828c016200066a565b92505060e089015167ffffffffffffffff811115620007a557620007a462000499565b5b620007b38b828c016200066a565b9150509295985092959890939650565b600082825260208201905092915050565b7f57726f6e672077686974656c6973742073746172740000000000000000000000600082015250565b60006200080c601583620007c3565b91506200081982620007d4565b602082019050919050565b600060208201905081810360008301526200083f81620007fd565b9050919050565b7f57726f6e672077686974656c69737420656e6400000000000000000000000000600082015250565b60006200087e601383620007c3565b91506200088b8262000846565b602082019050919050565b60006020820190508181036000830152620008b1816200086f565b9050919050565b7f57726f6e67207075626c69632073746172740000000000000000000000000000600082015250565b6000620008f0601283620007c3565b9150620008fd82620008b8565b602082019050919050565b600060208201905081810360008301526200092381620008e1565b9050919050565b7f57726f6e67207075626c696320656e6400000000000000000000000000000000600082015250565b600062000962601083620007c3565b91506200096f826200092a565b602082019050919050565b60006020820190508181036000830152620009958162000953565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620009e457607f821691505b602082108103620009fa57620009f96200099c565b5b50919050565b6148538062000a106000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80635b010e4311610125578063a22cb465116100ad578063bfb6e0e71161007c578063bfb6e0e7146105c8578063c87b56dd146105e6578063d547741f14610616578063e985e9c514610632578063ec8d130b1461066257610211565b8063a22cb46514610554578063a5f4c6ff14610570578063b88d4fde1461058e578063b98451cf146105aa57610211565b806375b238fc116100f457806375b238fc146104ac57806391d14854146104ca57806395d89b41146104fa578063994d396914610518578063a217fddf1461053657610211565b80635b010e43146104265780635b8ad429146104425780636352211e1461044c57806370a082311461047c57610211565b806323b872dd116101a857806336568abe1161017757806336568abe14610398578063372f657c146103b457806342842e0e146103d057806351830227146103ec57806355f804b31461040a57610211565b806323b872dd14610314578063248a9ca3146103305780632f2ff15d146103605780633574a2dd1461037c57610211565b80630acae9a7116101e45780630acae9a7146102b05780631249c58b146102ce57806318160ddd146102d85780631e84c413146102f657610211565b806301ffc9a71461021657806306fdde0314610246578063081812fc14610264578063095ea7b314610294575b600080fd5b610230600480360381019061022b9190612d8d565b61067e565b60405161023d9190612dd5565b60405180910390f35b61024e610690565b60405161025b9190612e89565b60405180910390f35b61027e60048036038101906102799190612ee1565b610722565b60405161028b9190612f4f565b60405180910390f35b6102ae60048036038101906102a99190612f96565b6107a7565b005b6102b86108be565b6040516102c59190612fe5565b60405180910390f35b6102d66108c5565b005b6102e0610a28565b6040516102ed9190612fe5565b60405180910390f35b6102fe610a41565b60405161030b9190612dd5565b60405180910390f35b61032e60048036038101906103299190613000565b610a69565b005b61034a60048036038101906103459190613089565b610ac9565b60405161035791906130c5565b60405180910390f35b61037a600480360381019061037591906130e0565b610ae9565b005b61039660048036038101906103919190613255565b610b12565b005b6103b260048036038101906103ad91906130e0565b610b98565b005b6103ce60048036038101906103c991906132fe565b610c1b565b005b6103ea60048036038101906103e59190613000565b610db0565b005b6103f4610dd0565b6040516104019190612fe5565b60405180910390f35b610424600480360381019061041f9190613255565b610dd6565b005b610440600480360381019061043b9190613377565b610e5c565b005b61044a610efc565b005b61046660048036038101906104619190612ee1565b610f87565b6040516104739190612f4f565b60405180910390f35b610496600480360381019061049191906133b7565b611038565b6040516104a39190612fe5565b60405180910390f35b6104b46110ef565b6040516104c191906130c5565b60405180910390f35b6104e460048036038101906104df91906130e0565b6110f5565b6040516104f19190612dd5565b60405180910390f35b610502611160565b60405161050f9190612e89565b60405180910390f35b6105206111f2565b60405161052d9190612fe5565b60405180910390f35b61053e6111f9565b60405161054b91906130c5565b60405180910390f35b61056e600480360381019061056991906133e4565b611200565b005b610578611216565b6040516105859190612fe5565b60405180910390f35b6105a860048036038101906105a391906134c5565b61121d565b005b6105b261127f565b6040516105bf9190612dd5565b60405180910390f35b6105d06112a7565b6040516105dd9190612fe5565b60405180910390f35b61060060048036038101906105fb9190612ee1565b6112ae565b60405161060d9190612e89565b60405180910390f35b610630600480360381019061062b91906130e0565b6113cb565b005b61064c60048036038101906106479190613548565b6113f4565b6040516106599190612dd5565b60405180910390f35b61067c600480360381019061067791906135c2565b611488565b005b60006106898261154e565b9050919050565b60606000805461069f90613631565b80601f01602080910402602001604051908101604052809291908181526020018280546106cb90613631565b80156107185780601f106106ed57610100808354040283529160200191610718565b820191906000526020600020905b8154815290600101906020018083116106fb57829003601f168201915b5050505050905090565b600061072d826115c8565b61076c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610763906136d4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107b282610f87565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610822576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081990613766565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610841611634565b73ffffffffffffffffffffffffffffffffffffffff161480610870575061086f8161086a611634565b6113f4565b5b6108af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a6906137f8565b60405180910390fd5b6108b9838361163c565b505050565b6102425481565b6108cd610a41565b61090c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090390613864565b60405180910390fd5b6000610916611634565b90506001600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461096891906138b3565b925050819055506002600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156109f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e990613955565b60405180910390fd5b600161023e6000828254610a0691906138b3565b92505081905550610a25610a18611634565b610a206116f5565b6118b2565b50565b600061023e5461023d54610a3c91906138b3565b905090565b60006001600f541480610a6457506102415442118015610a6357506102425442105b5b905090565b610a7a610a74611634565b826118d0565b610ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab0906139e7565b60405180910390fd5b610ac48383836119ae565b505050565b600060066000838152602001908152602001600020600101549050919050565b610af282610ac9565b610b0381610afe611634565b611c09565b610b0d8383611ca6565b505050565b6000610b1c611634565b9050610b2b6000801b826110f5565b80610b3e5750610b3d600754826110f5565b5b610b7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7490613a53565b60405180910390fd5b81600c9080519060200190610b93929190612c7e565b505050565b610ba0611634565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0490613ae5565b60405180910390fd5b610c178282611d87565b5050565b6000610c25611634565b9050610c2f61127f565b610c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6590613b51565b60405180910390fd5b610c79838383611e69565b610cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caf90613bbd565b60405180910390fd5b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3190613c29565b60405180910390fd5b6001600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600161023e6000828254610d9391906138b3565b92505081905550610dab81610da66116f5565b6118b2565b505050565b610dcb8383836040518060200160405280600081525061121d565b505050565b600d5481565b6000610de0611634565b9050610def6000801b826110f5565b80610e025750610e01600754826110f5565b5b610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3890613a53565b60405180910390fd5b81600b9080519060200190610e57929190612c7e565b505050565b6000610e66611634565b9050610e756000801b826110f5565b80610e885750610e87600754826110f5565b5b610ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebe90613a53565b60405180910390fd5b82610ed3576000610ed6565b60015b60ff16600f8190555081610eeb576000610eee565b60015b60ff16600e81905550505050565b6000610f06611634565b9050610f156000801b826110f5565b80610f285750610f27600754826110f5565b5b610f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5e90613a53565b60405180910390fd5b6000600d5414610f78576000610f7b565b60015b60ff16600d8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361102f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102690613cbb565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109f90613d4d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60075481565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461116f90613631565b80601f016020809104026020016040519081016040528092919081815260200182805461119b90613631565b80156111e85780601f106111bd576101008083540402835291602001916111e8565b820191906000526020600020905b8154815290600101906020018083116111cb57829003601f168201915b5050505050905090565b61023f5481565b6000801b81565b61121261120b611634565b8383611eef565b5050565b6102415481565b61122e611228611634565b836118d0565b61126d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611264906139e7565b60405180910390fd5b6112798484848461205b565b50505050565b60006001600e5414806112a2575061023f54421180156112a157506102405442105b5b905090565b6102405481565b60606112b9826115c8565b6112f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ef90613db9565b60405180910390fd5b6001600d541461139257600c805461130f90613631565b80601f016020809104026020016040519081016040528092919081815260200182805461133b90613631565b80156113885780601f1061135d57610100808354040283529160200191611388565b820191906000526020600020905b81548152906001019060200180831161136b57829003601f168201915b50505050506113c4565b61139a6120b7565b6113a383612149565b6040516020016113b4929190613e61565b6040516020818303038152906040525b9050919050565b6113d482610ac9565b6113e5816113e0611634565b611c09565b6113ef8383611d87565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000611492611634565b90506114a16000801b826110f5565b806114b457506114b3600754826110f5565b5b6114f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ea90613a53565b60405180910390fd5b8161ffff1661023d600082825461150a91906138b3565b9250508190555060005b8261ffff168161ffff16101561154857611535846115306122a9565b6118b2565b808061154090613e90565b915050611514565b50505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806115c157506115c082612465565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166116af83610f87565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061023b54334260014361170b9190613eba565b4060405160200161171f9493929190613f78565b6040516020818303038152906040528051906020012060001c9050600061023b546101f461174d9190613eba565b9050600161023b600082825461176391906138b3565b92505081905550600081116117ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a490614012565b60405180910390fd5b600081836117bb9190614061565b905060006010826101f481106117d4576117d3614092565b5b0154036117e157806117f9565b6010816101f481106117f6576117f5614092565b5b01545b935060388461180891906138b3565b93506000601060018461181b9190613eba565b6101f4811061182d5761182c614092565b5b01541461185c5760106001836118439190613eba565b6101f4811061185557611854614092565b5b015461186a565b6001826118699190613eba565b5b6010826101f4811061187f5761187e614092565b5b0181905550600060106001846118959190613eba565b6101f481106118a7576118a6614092565b5b018190555050505090565b6118cc828260405180602001604052806000815250612547565b5050565b60006118db826115c8565b61191a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191190614133565b60405180910390fd5b600061192583610f87565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061199457508373ffffffffffffffffffffffffffffffffffffffff1661197c84610722565b73ffffffffffffffffffffffffffffffffffffffff16145b806119a557506119a481856113f4565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166119ce82610f87565b73ffffffffffffffffffffffffffffffffffffffff1614611a24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1b906141c5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8a90614257565b60405180910390fd5b611a9e8383836125a2565b611aa960008261163c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611af99190613eba565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b5091906138b3565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611c1382826110f5565b611ca257611c388173ffffffffffffffffffffffffffffffffffffffff1660146125a7565b611c468360001c60206125a7565b604051602001611c5792919061430f565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c999190612e89565b60405180910390fd5b5050565b611cb082826110f5565b611d835760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611d28611634565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611d9182826110f5565b15611e655760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611e0a611634565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600060011515611ee3858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060085485604051602001611ec89190614349565b604051602081830303815290604052805190602001206127e3565b15151490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f54906143b0565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161204e9190612dd5565b60405180910390a3505050565b6120668484846119ae565b612072848484846127fa565b6120b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a890614442565b60405180910390fd5b50505050565b6060600b80546120c690613631565b80601f01602080910402602001604051908101604052809291908181526020018280546120f290613631565b801561213f5780601f106121145761010080835404028352916020019161213f565b820191906000526020600020905b81548152906001019060200180831161212257829003601f168201915b5050505050905090565b606060008203612190576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506122a4565b600082905060005b600082146121c25780806121ab90614462565b915050600a826121bb91906144aa565b9150612198565b60008167ffffffffffffffff8111156121de576121dd61312a565b5b6040519080825280601f01601f1916602001820160405280156122105781602001600182028036833780820191505090505b5090505b6000851461229d576001826122299190613eba565b9150600a856122389190614061565b603061224491906138b3565b60f81b81838151811061225a57612259614092565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561229691906144aa565b9450612214565b8093505050505b919050565b60008061023c5433426001436122bf9190613eba565b406040516020016122d39493929190613f78565b6040516020818303038152906040528051906020012060001c9050600061023c5460376123009190613eba565b9050600161023c600082825461231691906138b3565b9250508190555060008111612360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235790614527565b60405180910390fd5b6000818361236e9190614061565b90506000610204826037811061238757612386614092565b5b01540361239457806123ac565b61020481603781106123a9576123a8614092565b5b01545b93506001846123bb91906138b3565b935060006102046001846123cf9190613eba565b603781106123e0576123df614092565b5b01541461240f576102046001836123f79190613eba565b6037811061240857612407614092565b5b015461241d565b60018261241c9190613eba565b5b610204826037811061243257612431614092565b5b018190555060006102046001846124499190613eba565b6037811061245a57612459614092565b5b018190555050505090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061253057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612540575061253f82612981565b5b9050919050565b61255183836129eb565b61255e60008484846127fa565b61259d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259490614442565b60405180910390fd5b505050565b505050565b6060600060028360026125ba9190614547565b6125c491906138b3565b67ffffffffffffffff8111156125dd576125dc61312a565b5b6040519080825280601f01601f19166020018201604052801561260f5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061264757612646614092565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106126ab576126aa614092565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026126eb9190614547565b6126f591906138b3565b90505b6001811115612795577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061273757612736614092565b5b1a60f81b82828151811061274e5761274d614092565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061278e906145a1565b90506126f8565b50600084146127d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d090614616565b60405180910390fd5b8091505092915050565b6000826127f08584612bb8565b1490509392505050565b600061281b8473ffffffffffffffffffffffffffffffffffffffff16612c6b565b15612974578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612844611634565b8786866040518563ffffffff1660e01b8152600401612866949392919061468b565b6020604051808303816000875af19250505080156128a257506040513d601f19601f8201168201806040525081019061289f91906146ec565b60015b612924573d80600081146128d2576040519150601f19603f3d011682016040523d82523d6000602084013e6128d7565b606091505b50600081510361291c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291390614442565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612979565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5190614765565b60405180910390fd5b612a63816115c8565b15612aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9a906147d1565b60405180910390fd5b612aaf600083836125a2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612aff91906138b3565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008082905060005b8451811015612c60576000858281518110612bdf57612bde614092565b5b60200260200101519050808311612c20578281604051602001612c039291906147f1565b604051602081830303815290604052805190602001209250612c4c565b8083604051602001612c339291906147f1565b6040516020818303038152906040528051906020012092505b508080612c5890614462565b915050612bc1565b508091505092915050565b600080823b905060008111915050919050565b828054612c8a90613631565b90600052602060002090601f016020900481019282612cac5760008555612cf3565b82601f10612cc557805160ff1916838001178555612cf3565b82800160010185558215612cf3579182015b82811115612cf2578251825591602001919060010190612cd7565b5b509050612d009190612d04565b5090565b5b80821115612d1d576000816000905550600101612d05565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612d6a81612d35565b8114612d7557600080fd5b50565b600081359050612d8781612d61565b92915050565b600060208284031215612da357612da2612d2b565b5b6000612db184828501612d78565b91505092915050565b60008115159050919050565b612dcf81612dba565b82525050565b6000602082019050612dea6000830184612dc6565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e2a578082015181840152602081019050612e0f565b83811115612e39576000848401525b50505050565b6000601f19601f8301169050919050565b6000612e5b82612df0565b612e658185612dfb565b9350612e75818560208601612e0c565b612e7e81612e3f565b840191505092915050565b60006020820190508181036000830152612ea38184612e50565b905092915050565b6000819050919050565b612ebe81612eab565b8114612ec957600080fd5b50565b600081359050612edb81612eb5565b92915050565b600060208284031215612ef757612ef6612d2b565b5b6000612f0584828501612ecc565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612f3982612f0e565b9050919050565b612f4981612f2e565b82525050565b6000602082019050612f646000830184612f40565b92915050565b612f7381612f2e565b8114612f7e57600080fd5b50565b600081359050612f9081612f6a565b92915050565b60008060408385031215612fad57612fac612d2b565b5b6000612fbb85828601612f81565b9250506020612fcc85828601612ecc565b9150509250929050565b612fdf81612eab565b82525050565b6000602082019050612ffa6000830184612fd6565b92915050565b60008060006060848603121561301957613018612d2b565b5b600061302786828701612f81565b935050602061303886828701612f81565b925050604061304986828701612ecc565b9150509250925092565b6000819050919050565b61306681613053565b811461307157600080fd5b50565b6000813590506130838161305d565b92915050565b60006020828403121561309f5761309e612d2b565b5b60006130ad84828501613074565b91505092915050565b6130bf81613053565b82525050565b60006020820190506130da60008301846130b6565b92915050565b600080604083850312156130f7576130f6612d2b565b5b600061310585828601613074565b925050602061311685828601612f81565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61316282612e3f565b810181811067ffffffffffffffff821117156131815761318061312a565b5b80604052505050565b6000613194612d21565b90506131a08282613159565b919050565b600067ffffffffffffffff8211156131c0576131bf61312a565b5b6131c982612e3f565b9050602081019050919050565b82818337600083830152505050565b60006131f86131f3846131a5565b61318a565b90508281526020810184848401111561321457613213613125565b5b61321f8482856131d6565b509392505050565b600082601f83011261323c5761323b613120565b5b813561324c8482602086016131e5565b91505092915050565b60006020828403121561326b5761326a612d2b565b5b600082013567ffffffffffffffff81111561328957613288612d30565b5b61329584828501613227565b91505092915050565b600080fd5b600080fd5b60008083601f8401126132be576132bd613120565b5b8235905067ffffffffffffffff8111156132db576132da61329e565b5b6020830191508360208202830111156132f7576132f66132a3565b5b9250929050565b6000806020838503121561331557613314612d2b565b5b600083013567ffffffffffffffff81111561333357613332612d30565b5b61333f858286016132a8565b92509250509250929050565b61335481612dba565b811461335f57600080fd5b50565b6000813590506133718161334b565b92915050565b6000806040838503121561338e5761338d612d2b565b5b600061339c85828601613362565b92505060206133ad85828601613362565b9150509250929050565b6000602082840312156133cd576133cc612d2b565b5b60006133db84828501612f81565b91505092915050565b600080604083850312156133fb576133fa612d2b565b5b600061340985828601612f81565b925050602061341a85828601613362565b9150509250929050565b600067ffffffffffffffff82111561343f5761343e61312a565b5b61344882612e3f565b9050602081019050919050565b600061346861346384613424565b61318a565b90508281526020810184848401111561348457613483613125565b5b61348f8482856131d6565b509392505050565b600082601f8301126134ac576134ab613120565b5b81356134bc848260208601613455565b91505092915050565b600080600080608085870312156134df576134de612d2b565b5b60006134ed87828801612f81565b94505060206134fe87828801612f81565b935050604061350f87828801612ecc565b925050606085013567ffffffffffffffff8111156135305761352f612d30565b5b61353c87828801613497565b91505092959194509250565b6000806040838503121561355f5761355e612d2b565b5b600061356d85828601612f81565b925050602061357e85828601612f81565b9150509250929050565b600061ffff82169050919050565b61359f81613588565b81146135aa57600080fd5b50565b6000813590506135bc81613596565b92915050565b600080604083850312156135d9576135d8612d2b565b5b60006135e785828601612f81565b92505060206135f8858286016135ad565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061364957607f821691505b60208210810361365c5761365b613602565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006136be602c83612dfb565b91506136c982613662565b604082019050919050565b600060208201905081810360008301526136ed816136b1565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613750602183612dfb565b915061375b826136f4565b604082019050919050565b6000602082019050818103600083015261377f81613743565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006137e2603883612dfb565b91506137ed82613786565b604082019050919050565b60006020820190508181036000830152613811816137d5565b9050919050565b7f5055424c49435f53414c455f494e414354495645000000000000000000000000600082015250565b600061384e601483612dfb565b915061385982613818565b602082019050919050565b6000602082019050818103600083015261387d81613841565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006138be82612eab565b91506138c983612eab565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138fe576138fd613884565b5b828201905092915050565b7f5055424c49435f544f4b454e5f4c494d49540000000000000000000000000000600082015250565b600061393f601283612dfb565b915061394a82613909565b602082019050919050565b6000602082019050818103600083015261396e81613932565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006139d1603183612dfb565b91506139dc82613975565b604082019050919050565b60006020820190508181036000830152613a00816139c4565b9050919050565b7f4d75737420626520616e2061646d696e00000000000000000000000000000000600082015250565b6000613a3d601083612dfb565b9150613a4882613a07565b602082019050919050565b60006020820190508181036000830152613a6c81613a30565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613acf602f83612dfb565b9150613ada82613a73565b604082019050919050565b60006020820190508181036000830152613afe81613ac2565b9050919050565b7f50524553414c455f494e41435449564500000000000000000000000000000000600082015250565b6000613b3b601083612dfb565b9150613b4682613b05565b602082019050919050565b60006020820190508181036000830152613b6a81613b2e565b9050919050565b7f50524553414c455f4e4f545f5645524946494544000000000000000000000000600082015250565b6000613ba7601483612dfb565b9150613bb282613b71565b602082019050919050565b60006020820190508181036000830152613bd681613b9a565b9050919050565b7f57484954454c4953545f544f4b454e5f434c41494d4544000000000000000000600082015250565b6000613c13601783612dfb565b9150613c1e82613bdd565b602082019050919050565b60006020820190508181036000830152613c4281613c06565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613ca5602983612dfb565b9150613cb082613c49565b604082019050919050565b60006020820190508181036000830152613cd481613c98565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613d37602a83612dfb565b9150613d4282613cdb565b604082019050919050565b60006020820190508181036000830152613d6681613d2a565b9050919050565b7f494e56414c49445f494400000000000000000000000000000000000000000000600082015250565b6000613da3600a83612dfb565b9150613dae82613d6d565b602082019050919050565b60006020820190508181036000830152613dd281613d96565b9050919050565b600081905092915050565b6000613def82612df0565b613df98185613dd9565b9350613e09818560208601612e0c565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613e4b600583613dd9565b9150613e5682613e15565b600582019050919050565b6000613e6d8285613de4565b9150613e798284613de4565b9150613e8482613e3e565b91508190509392505050565b6000613e9b82613588565b915061ffff8203613eaf57613eae613884565b5b600182019050919050565b6000613ec582612eab565b9150613ed083612eab565b925082821015613ee357613ee2613884565b5b828203905092915050565b6000819050919050565b613f09613f0482612eab565b613eee565b82525050565b60008160601b9050919050565b6000613f2782613f0f565b9050919050565b6000613f3982613f1c565b9050919050565b613f51613f4c82612f2e565b613f2e565b82525050565b6000819050919050565b613f72613f6d82613053565b613f57565b82525050565b6000613f848287613ef8565b602082019150613f948286613f40565b601482019150613fa48285613ef8565b602082019150613fb48284613f61565b60208201915081905095945050505050565b7f6e6f205f636f6d6d756e697479496473206c6566740000000000000000000000600082015250565b6000613ffc601583612dfb565b915061400782613fc6565b602082019050919050565b6000602082019050818103600083015261402b81613fef565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061406c82612eab565b915061407783612eab565b92508261408757614086614032565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061411d602c83612dfb565b9150614128826140c1565b604082019050919050565b6000602082019050818103600083015261414c81614110565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006141af602983612dfb565b91506141ba82614153565b604082019050919050565b600060208201905081810360008301526141de816141a2565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614241602483612dfb565b915061424c826141e5565b604082019050919050565b6000602082019050818103600083015261427081614234565b9050919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006142ad601783613dd9565b91506142b882614277565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006142f9601183613dd9565b9150614304826142c3565b601182019050919050565b600061431a826142a0565b91506143268285613de4565b9150614331826142ec565b915061433d8284613de4565b91508190509392505050565b60006143558284613f40565b60148201915081905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061439a601983612dfb565b91506143a582614364565b602082019050919050565b600060208201905081810360008301526143c98161438d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061442c603283612dfb565b9150614437826143d0565b604082019050919050565b6000602082019050818103600083015261445b8161441f565b9050919050565b600061446d82612eab565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361449f5761449e613884565b5b600182019050919050565b60006144b582612eab565b91506144c083612eab565b9250826144d0576144cf614032565b5b828204905092915050565b7f6e6f205f7465616d496473206c65667400000000000000000000000000000000600082015250565b6000614511601083612dfb565b915061451c826144db565b602082019050919050565b6000602082019050818103600083015261454081614504565b9050919050565b600061455282612eab565b915061455d83612eab565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561459657614595613884565b5b828202905092915050565b60006145ac82612eab565b9150600082036145bf576145be613884565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614600602083612dfb565b915061460b826145ca565b602082019050919050565b6000602082019050818103600083015261462f816145f3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061465d82614636565b6146678185614641565b9350614677818560208601612e0c565b61468081612e3f565b840191505092915050565b60006080820190506146a06000830187612f40565b6146ad6020830186612f40565b6146ba6040830185612fd6565b81810360608301526146cc8184614652565b905095945050505050565b6000815190506146e681612d61565b92915050565b60006020828403121561470257614701612d2b565b5b6000614710848285016146d7565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061474f602083612dfb565b915061475a82614719565b602082019050919050565b6000602082019050818103600083015261477e81614742565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006147bb601c83612dfb565b91506147c682614785565b602082019050919050565b600060208201905081810360008301526147ea816147ae565b9050919050565b60006147fd8285613f61565b60208201915061480d8284613f61565b602082019150819050939250505056fea2646970667358221220e406d5003c6fb2a7d4da361451bd7820431093ce6708899d822bfc9c1ba0d23c64736f6c634300080d00330000000000000000000000000000000000000000000000000000000062d083d00000000000000000000000000000000000000000000000000000000062d1d5140000000000000000000000000000000000000000000000000000000062d1d5500000000000000000000000000000000000000000000000000000000062d326d003aa67f9c4b5d32605a5301fbbb4b685d742cfc41bcabd7e3bebc1c4420b7a1a000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000001d4f776c6965732066726f6d20746865203574682044696d656e73696f6e00000000000000000000000000000000000000000000000000000000000000000000064f574c4945530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002f68747470733a2f2f6173736574732e35746864696d656e73696f6e2e696f2f706c616365686f6c6465722e6a736f6e0000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102115760003560e01c80635b010e4311610125578063a22cb465116100ad578063bfb6e0e71161007c578063bfb6e0e7146105c8578063c87b56dd146105e6578063d547741f14610616578063e985e9c514610632578063ec8d130b1461066257610211565b8063a22cb46514610554578063a5f4c6ff14610570578063b88d4fde1461058e578063b98451cf146105aa57610211565b806375b238fc116100f457806375b238fc146104ac57806391d14854146104ca57806395d89b41146104fa578063994d396914610518578063a217fddf1461053657610211565b80635b010e43146104265780635b8ad429146104425780636352211e1461044c57806370a082311461047c57610211565b806323b872dd116101a857806336568abe1161017757806336568abe14610398578063372f657c146103b457806342842e0e146103d057806351830227146103ec57806355f804b31461040a57610211565b806323b872dd14610314578063248a9ca3146103305780632f2ff15d146103605780633574a2dd1461037c57610211565b80630acae9a7116101e45780630acae9a7146102b05780631249c58b146102ce57806318160ddd146102d85780631e84c413146102f657610211565b806301ffc9a71461021657806306fdde0314610246578063081812fc14610264578063095ea7b314610294575b600080fd5b610230600480360381019061022b9190612d8d565b61067e565b60405161023d9190612dd5565b60405180910390f35b61024e610690565b60405161025b9190612e89565b60405180910390f35b61027e60048036038101906102799190612ee1565b610722565b60405161028b9190612f4f565b60405180910390f35b6102ae60048036038101906102a99190612f96565b6107a7565b005b6102b86108be565b6040516102c59190612fe5565b60405180910390f35b6102d66108c5565b005b6102e0610a28565b6040516102ed9190612fe5565b60405180910390f35b6102fe610a41565b60405161030b9190612dd5565b60405180910390f35b61032e60048036038101906103299190613000565b610a69565b005b61034a60048036038101906103459190613089565b610ac9565b60405161035791906130c5565b60405180910390f35b61037a600480360381019061037591906130e0565b610ae9565b005b61039660048036038101906103919190613255565b610b12565b005b6103b260048036038101906103ad91906130e0565b610b98565b005b6103ce60048036038101906103c991906132fe565b610c1b565b005b6103ea60048036038101906103e59190613000565b610db0565b005b6103f4610dd0565b6040516104019190612fe5565b60405180910390f35b610424600480360381019061041f9190613255565b610dd6565b005b610440600480360381019061043b9190613377565b610e5c565b005b61044a610efc565b005b61046660048036038101906104619190612ee1565b610f87565b6040516104739190612f4f565b60405180910390f35b610496600480360381019061049191906133b7565b611038565b6040516104a39190612fe5565b60405180910390f35b6104b46110ef565b6040516104c191906130c5565b60405180910390f35b6104e460048036038101906104df91906130e0565b6110f5565b6040516104f19190612dd5565b60405180910390f35b610502611160565b60405161050f9190612e89565b60405180910390f35b6105206111f2565b60405161052d9190612fe5565b60405180910390f35b61053e6111f9565b60405161054b91906130c5565b60405180910390f35b61056e600480360381019061056991906133e4565b611200565b005b610578611216565b6040516105859190612fe5565b60405180910390f35b6105a860048036038101906105a391906134c5565b61121d565b005b6105b261127f565b6040516105bf9190612dd5565b60405180910390f35b6105d06112a7565b6040516105dd9190612fe5565b60405180910390f35b61060060048036038101906105fb9190612ee1565b6112ae565b60405161060d9190612e89565b60405180910390f35b610630600480360381019061062b91906130e0565b6113cb565b005b61064c60048036038101906106479190613548565b6113f4565b6040516106599190612dd5565b60405180910390f35b61067c600480360381019061067791906135c2565b611488565b005b60006106898261154e565b9050919050565b60606000805461069f90613631565b80601f01602080910402602001604051908101604052809291908181526020018280546106cb90613631565b80156107185780601f106106ed57610100808354040283529160200191610718565b820191906000526020600020905b8154815290600101906020018083116106fb57829003601f168201915b5050505050905090565b600061072d826115c8565b61076c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610763906136d4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107b282610f87565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610822576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081990613766565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610841611634565b73ffffffffffffffffffffffffffffffffffffffff161480610870575061086f8161086a611634565b6113f4565b5b6108af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a6906137f8565b60405180910390fd5b6108b9838361163c565b505050565b6102425481565b6108cd610a41565b61090c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090390613864565b60405180910390fd5b6000610916611634565b90506001600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461096891906138b3565b925050819055506002600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156109f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e990613955565b60405180910390fd5b600161023e6000828254610a0691906138b3565b92505081905550610a25610a18611634565b610a206116f5565b6118b2565b50565b600061023e5461023d54610a3c91906138b3565b905090565b60006001600f541480610a6457506102415442118015610a6357506102425442105b5b905090565b610a7a610a74611634565b826118d0565b610ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab0906139e7565b60405180910390fd5b610ac48383836119ae565b505050565b600060066000838152602001908152602001600020600101549050919050565b610af282610ac9565b610b0381610afe611634565b611c09565b610b0d8383611ca6565b505050565b6000610b1c611634565b9050610b2b6000801b826110f5565b80610b3e5750610b3d600754826110f5565b5b610b7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7490613a53565b60405180910390fd5b81600c9080519060200190610b93929190612c7e565b505050565b610ba0611634565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0490613ae5565b60405180910390fd5b610c178282611d87565b5050565b6000610c25611634565b9050610c2f61127f565b610c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6590613b51565b60405180910390fd5b610c79838383611e69565b610cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caf90613bbd565b60405180910390fd5b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3190613c29565b60405180910390fd5b6001600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600161023e6000828254610d9391906138b3565b92505081905550610dab81610da66116f5565b6118b2565b505050565b610dcb8383836040518060200160405280600081525061121d565b505050565b600d5481565b6000610de0611634565b9050610def6000801b826110f5565b80610e025750610e01600754826110f5565b5b610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3890613a53565b60405180910390fd5b81600b9080519060200190610e57929190612c7e565b505050565b6000610e66611634565b9050610e756000801b826110f5565b80610e885750610e87600754826110f5565b5b610ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebe90613a53565b60405180910390fd5b82610ed3576000610ed6565b60015b60ff16600f8190555081610eeb576000610eee565b60015b60ff16600e81905550505050565b6000610f06611634565b9050610f156000801b826110f5565b80610f285750610f27600754826110f5565b5b610f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5e90613a53565b60405180910390fd5b6000600d5414610f78576000610f7b565b60015b60ff16600d8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361102f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102690613cbb565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109f90613d4d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60075481565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461116f90613631565b80601f016020809104026020016040519081016040528092919081815260200182805461119b90613631565b80156111e85780601f106111bd576101008083540402835291602001916111e8565b820191906000526020600020905b8154815290600101906020018083116111cb57829003601f168201915b5050505050905090565b61023f5481565b6000801b81565b61121261120b611634565b8383611eef565b5050565b6102415481565b61122e611228611634565b836118d0565b61126d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611264906139e7565b60405180910390fd5b6112798484848461205b565b50505050565b60006001600e5414806112a2575061023f54421180156112a157506102405442105b5b905090565b6102405481565b60606112b9826115c8565b6112f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ef90613db9565b60405180910390fd5b6001600d541461139257600c805461130f90613631565b80601f016020809104026020016040519081016040528092919081815260200182805461133b90613631565b80156113885780601f1061135d57610100808354040283529160200191611388565b820191906000526020600020905b81548152906001019060200180831161136b57829003601f168201915b50505050506113c4565b61139a6120b7565b6113a383612149565b6040516020016113b4929190613e61565b6040516020818303038152906040525b9050919050565b6113d482610ac9565b6113e5816113e0611634565b611c09565b6113ef8383611d87565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000611492611634565b90506114a16000801b826110f5565b806114b457506114b3600754826110f5565b5b6114f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ea90613a53565b60405180910390fd5b8161ffff1661023d600082825461150a91906138b3565b9250508190555060005b8261ffff168161ffff16101561154857611535846115306122a9565b6118b2565b808061154090613e90565b915050611514565b50505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806115c157506115c082612465565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166116af83610f87565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061023b54334260014361170b9190613eba565b4060405160200161171f9493929190613f78565b6040516020818303038152906040528051906020012060001c9050600061023b546101f461174d9190613eba565b9050600161023b600082825461176391906138b3565b92505081905550600081116117ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a490614012565b60405180910390fd5b600081836117bb9190614061565b905060006010826101f481106117d4576117d3614092565b5b0154036117e157806117f9565b6010816101f481106117f6576117f5614092565b5b01545b935060388461180891906138b3565b93506000601060018461181b9190613eba565b6101f4811061182d5761182c614092565b5b01541461185c5760106001836118439190613eba565b6101f4811061185557611854614092565b5b015461186a565b6001826118699190613eba565b5b6010826101f4811061187f5761187e614092565b5b0181905550600060106001846118959190613eba565b6101f481106118a7576118a6614092565b5b018190555050505090565b6118cc828260405180602001604052806000815250612547565b5050565b60006118db826115c8565b61191a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191190614133565b60405180910390fd5b600061192583610f87565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061199457508373ffffffffffffffffffffffffffffffffffffffff1661197c84610722565b73ffffffffffffffffffffffffffffffffffffffff16145b806119a557506119a481856113f4565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166119ce82610f87565b73ffffffffffffffffffffffffffffffffffffffff1614611a24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1b906141c5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8a90614257565b60405180910390fd5b611a9e8383836125a2565b611aa960008261163c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611af99190613eba565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b5091906138b3565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611c1382826110f5565b611ca257611c388173ffffffffffffffffffffffffffffffffffffffff1660146125a7565b611c468360001c60206125a7565b604051602001611c5792919061430f565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c999190612e89565b60405180910390fd5b5050565b611cb082826110f5565b611d835760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611d28611634565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611d9182826110f5565b15611e655760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611e0a611634565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600060011515611ee3858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060085485604051602001611ec89190614349565b604051602081830303815290604052805190602001206127e3565b15151490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f54906143b0565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161204e9190612dd5565b60405180910390a3505050565b6120668484846119ae565b612072848484846127fa565b6120b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a890614442565b60405180910390fd5b50505050565b6060600b80546120c690613631565b80601f01602080910402602001604051908101604052809291908181526020018280546120f290613631565b801561213f5780601f106121145761010080835404028352916020019161213f565b820191906000526020600020905b81548152906001019060200180831161212257829003601f168201915b5050505050905090565b606060008203612190576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506122a4565b600082905060005b600082146121c25780806121ab90614462565b915050600a826121bb91906144aa565b9150612198565b60008167ffffffffffffffff8111156121de576121dd61312a565b5b6040519080825280601f01601f1916602001820160405280156122105781602001600182028036833780820191505090505b5090505b6000851461229d576001826122299190613eba565b9150600a856122389190614061565b603061224491906138b3565b60f81b81838151811061225a57612259614092565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561229691906144aa565b9450612214565b8093505050505b919050565b60008061023c5433426001436122bf9190613eba565b406040516020016122d39493929190613f78565b6040516020818303038152906040528051906020012060001c9050600061023c5460376123009190613eba565b9050600161023c600082825461231691906138b3565b9250508190555060008111612360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235790614527565b60405180910390fd5b6000818361236e9190614061565b90506000610204826037811061238757612386614092565b5b01540361239457806123ac565b61020481603781106123a9576123a8614092565b5b01545b93506001846123bb91906138b3565b935060006102046001846123cf9190613eba565b603781106123e0576123df614092565b5b01541461240f576102046001836123f79190613eba565b6037811061240857612407614092565b5b015461241d565b60018261241c9190613eba565b5b610204826037811061243257612431614092565b5b018190555060006102046001846124499190613eba565b6037811061245a57612459614092565b5b018190555050505090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061253057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612540575061253f82612981565b5b9050919050565b61255183836129eb565b61255e60008484846127fa565b61259d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259490614442565b60405180910390fd5b505050565b505050565b6060600060028360026125ba9190614547565b6125c491906138b3565b67ffffffffffffffff8111156125dd576125dc61312a565b5b6040519080825280601f01601f19166020018201604052801561260f5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061264757612646614092565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106126ab576126aa614092565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026126eb9190614547565b6126f591906138b3565b90505b6001811115612795577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061273757612736614092565b5b1a60f81b82828151811061274e5761274d614092565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061278e906145a1565b90506126f8565b50600084146127d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d090614616565b60405180910390fd5b8091505092915050565b6000826127f08584612bb8565b1490509392505050565b600061281b8473ffffffffffffffffffffffffffffffffffffffff16612c6b565b15612974578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612844611634565b8786866040518563ffffffff1660e01b8152600401612866949392919061468b565b6020604051808303816000875af19250505080156128a257506040513d601f19601f8201168201806040525081019061289f91906146ec565b60015b612924573d80600081146128d2576040519150601f19603f3d011682016040523d82523d6000602084013e6128d7565b606091505b50600081510361291c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291390614442565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612979565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5190614765565b60405180910390fd5b612a63816115c8565b15612aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9a906147d1565b60405180910390fd5b612aaf600083836125a2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612aff91906138b3565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008082905060005b8451811015612c60576000858281518110612bdf57612bde614092565b5b60200260200101519050808311612c20578281604051602001612c039291906147f1565b604051602081830303815290604052805190602001209250612c4c565b8083604051602001612c339291906147f1565b6040516020818303038152906040528051906020012092505b508080612c5890614462565b915050612bc1565b508091505092915050565b600080823b905060008111915050919050565b828054612c8a90613631565b90600052602060002090601f016020900481019282612cac5760008555612cf3565b82601f10612cc557805160ff1916838001178555612cf3565b82800160010185558215612cf3579182015b82811115612cf2578251825591602001919060010190612cd7565b5b509050612d009190612d04565b5090565b5b80821115612d1d576000816000905550600101612d05565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612d6a81612d35565b8114612d7557600080fd5b50565b600081359050612d8781612d61565b92915050565b600060208284031215612da357612da2612d2b565b5b6000612db184828501612d78565b91505092915050565b60008115159050919050565b612dcf81612dba565b82525050565b6000602082019050612dea6000830184612dc6565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e2a578082015181840152602081019050612e0f565b83811115612e39576000848401525b50505050565b6000601f19601f8301169050919050565b6000612e5b82612df0565b612e658185612dfb565b9350612e75818560208601612e0c565b612e7e81612e3f565b840191505092915050565b60006020820190508181036000830152612ea38184612e50565b905092915050565b6000819050919050565b612ebe81612eab565b8114612ec957600080fd5b50565b600081359050612edb81612eb5565b92915050565b600060208284031215612ef757612ef6612d2b565b5b6000612f0584828501612ecc565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612f3982612f0e565b9050919050565b612f4981612f2e565b82525050565b6000602082019050612f646000830184612f40565b92915050565b612f7381612f2e565b8114612f7e57600080fd5b50565b600081359050612f9081612f6a565b92915050565b60008060408385031215612fad57612fac612d2b565b5b6000612fbb85828601612f81565b9250506020612fcc85828601612ecc565b9150509250929050565b612fdf81612eab565b82525050565b6000602082019050612ffa6000830184612fd6565b92915050565b60008060006060848603121561301957613018612d2b565b5b600061302786828701612f81565b935050602061303886828701612f81565b925050604061304986828701612ecc565b9150509250925092565b6000819050919050565b61306681613053565b811461307157600080fd5b50565b6000813590506130838161305d565b92915050565b60006020828403121561309f5761309e612d2b565b5b60006130ad84828501613074565b91505092915050565b6130bf81613053565b82525050565b60006020820190506130da60008301846130b6565b92915050565b600080604083850312156130f7576130f6612d2b565b5b600061310585828601613074565b925050602061311685828601612f81565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61316282612e3f565b810181811067ffffffffffffffff821117156131815761318061312a565b5b80604052505050565b6000613194612d21565b90506131a08282613159565b919050565b600067ffffffffffffffff8211156131c0576131bf61312a565b5b6131c982612e3f565b9050602081019050919050565b82818337600083830152505050565b60006131f86131f3846131a5565b61318a565b90508281526020810184848401111561321457613213613125565b5b61321f8482856131d6565b509392505050565b600082601f83011261323c5761323b613120565b5b813561324c8482602086016131e5565b91505092915050565b60006020828403121561326b5761326a612d2b565b5b600082013567ffffffffffffffff81111561328957613288612d30565b5b61329584828501613227565b91505092915050565b600080fd5b600080fd5b60008083601f8401126132be576132bd613120565b5b8235905067ffffffffffffffff8111156132db576132da61329e565b5b6020830191508360208202830111156132f7576132f66132a3565b5b9250929050565b6000806020838503121561331557613314612d2b565b5b600083013567ffffffffffffffff81111561333357613332612d30565b5b61333f858286016132a8565b92509250509250929050565b61335481612dba565b811461335f57600080fd5b50565b6000813590506133718161334b565b92915050565b6000806040838503121561338e5761338d612d2b565b5b600061339c85828601613362565b92505060206133ad85828601613362565b9150509250929050565b6000602082840312156133cd576133cc612d2b565b5b60006133db84828501612f81565b91505092915050565b600080604083850312156133fb576133fa612d2b565b5b600061340985828601612f81565b925050602061341a85828601613362565b9150509250929050565b600067ffffffffffffffff82111561343f5761343e61312a565b5b61344882612e3f565b9050602081019050919050565b600061346861346384613424565b61318a565b90508281526020810184848401111561348457613483613125565b5b61348f8482856131d6565b509392505050565b600082601f8301126134ac576134ab613120565b5b81356134bc848260208601613455565b91505092915050565b600080600080608085870312156134df576134de612d2b565b5b60006134ed87828801612f81565b94505060206134fe87828801612f81565b935050604061350f87828801612ecc565b925050606085013567ffffffffffffffff8111156135305761352f612d30565b5b61353c87828801613497565b91505092959194509250565b6000806040838503121561355f5761355e612d2b565b5b600061356d85828601612f81565b925050602061357e85828601612f81565b9150509250929050565b600061ffff82169050919050565b61359f81613588565b81146135aa57600080fd5b50565b6000813590506135bc81613596565b92915050565b600080604083850312156135d9576135d8612d2b565b5b60006135e785828601612f81565b92505060206135f8858286016135ad565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061364957607f821691505b60208210810361365c5761365b613602565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006136be602c83612dfb565b91506136c982613662565b604082019050919050565b600060208201905081810360008301526136ed816136b1565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613750602183612dfb565b915061375b826136f4565b604082019050919050565b6000602082019050818103600083015261377f81613743565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006137e2603883612dfb565b91506137ed82613786565b604082019050919050565b60006020820190508181036000830152613811816137d5565b9050919050565b7f5055424c49435f53414c455f494e414354495645000000000000000000000000600082015250565b600061384e601483612dfb565b915061385982613818565b602082019050919050565b6000602082019050818103600083015261387d81613841565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006138be82612eab565b91506138c983612eab565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138fe576138fd613884565b5b828201905092915050565b7f5055424c49435f544f4b454e5f4c494d49540000000000000000000000000000600082015250565b600061393f601283612dfb565b915061394a82613909565b602082019050919050565b6000602082019050818103600083015261396e81613932565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006139d1603183612dfb565b91506139dc82613975565b604082019050919050565b60006020820190508181036000830152613a00816139c4565b9050919050565b7f4d75737420626520616e2061646d696e00000000000000000000000000000000600082015250565b6000613a3d601083612dfb565b9150613a4882613a07565b602082019050919050565b60006020820190508181036000830152613a6c81613a30565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613acf602f83612dfb565b9150613ada82613a73565b604082019050919050565b60006020820190508181036000830152613afe81613ac2565b9050919050565b7f50524553414c455f494e41435449564500000000000000000000000000000000600082015250565b6000613b3b601083612dfb565b9150613b4682613b05565b602082019050919050565b60006020820190508181036000830152613b6a81613b2e565b9050919050565b7f50524553414c455f4e4f545f5645524946494544000000000000000000000000600082015250565b6000613ba7601483612dfb565b9150613bb282613b71565b602082019050919050565b60006020820190508181036000830152613bd681613b9a565b9050919050565b7f57484954454c4953545f544f4b454e5f434c41494d4544000000000000000000600082015250565b6000613c13601783612dfb565b9150613c1e82613bdd565b602082019050919050565b60006020820190508181036000830152613c4281613c06565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613ca5602983612dfb565b9150613cb082613c49565b604082019050919050565b60006020820190508181036000830152613cd481613c98565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613d37602a83612dfb565b9150613d4282613cdb565b604082019050919050565b60006020820190508181036000830152613d6681613d2a565b9050919050565b7f494e56414c49445f494400000000000000000000000000000000000000000000600082015250565b6000613da3600a83612dfb565b9150613dae82613d6d565b602082019050919050565b60006020820190508181036000830152613dd281613d96565b9050919050565b600081905092915050565b6000613def82612df0565b613df98185613dd9565b9350613e09818560208601612e0c565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613e4b600583613dd9565b9150613e5682613e15565b600582019050919050565b6000613e6d8285613de4565b9150613e798284613de4565b9150613e8482613e3e565b91508190509392505050565b6000613e9b82613588565b915061ffff8203613eaf57613eae613884565b5b600182019050919050565b6000613ec582612eab565b9150613ed083612eab565b925082821015613ee357613ee2613884565b5b828203905092915050565b6000819050919050565b613f09613f0482612eab565b613eee565b82525050565b60008160601b9050919050565b6000613f2782613f0f565b9050919050565b6000613f3982613f1c565b9050919050565b613f51613f4c82612f2e565b613f2e565b82525050565b6000819050919050565b613f72613f6d82613053565b613f57565b82525050565b6000613f848287613ef8565b602082019150613f948286613f40565b601482019150613fa48285613ef8565b602082019150613fb48284613f61565b60208201915081905095945050505050565b7f6e6f205f636f6d6d756e697479496473206c6566740000000000000000000000600082015250565b6000613ffc601583612dfb565b915061400782613fc6565b602082019050919050565b6000602082019050818103600083015261402b81613fef565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061406c82612eab565b915061407783612eab565b92508261408757614086614032565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061411d602c83612dfb565b9150614128826140c1565b604082019050919050565b6000602082019050818103600083015261414c81614110565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006141af602983612dfb565b91506141ba82614153565b604082019050919050565b600060208201905081810360008301526141de816141a2565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614241602483612dfb565b915061424c826141e5565b604082019050919050565b6000602082019050818103600083015261427081614234565b9050919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006142ad601783613dd9565b91506142b882614277565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006142f9601183613dd9565b9150614304826142c3565b601182019050919050565b600061431a826142a0565b91506143268285613de4565b9150614331826142ec565b915061433d8284613de4565b91508190509392505050565b60006143558284613f40565b60148201915081905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061439a601983612dfb565b91506143a582614364565b602082019050919050565b600060208201905081810360008301526143c98161438d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061442c603283612dfb565b9150614437826143d0565b604082019050919050565b6000602082019050818103600083015261445b8161441f565b9050919050565b600061446d82612eab565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361449f5761449e613884565b5b600182019050919050565b60006144b582612eab565b91506144c083612eab565b9250826144d0576144cf614032565b5b828204905092915050565b7f6e6f205f7465616d496473206c65667400000000000000000000000000000000600082015250565b6000614511601083612dfb565b915061451c826144db565b602082019050919050565b6000602082019050818103600083015261454081614504565b9050919050565b600061455282612eab565b915061455d83612eab565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561459657614595613884565b5b828202905092915050565b60006145ac82612eab565b9150600082036145bf576145be613884565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614600602083612dfb565b915061460b826145ca565b602082019050919050565b6000602082019050818103600083015261462f816145f3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061465d82614636565b6146678185614641565b9350614677818560208601612e0c565b61468081612e3f565b840191505092915050565b60006080820190506146a06000830187612f40565b6146ad6020830186612f40565b6146ba6040830185612fd6565b81810360608301526146cc8184614652565b905095945050505050565b6000815190506146e681612d61565b92915050565b60006020828403121561470257614701612d2b565b5b6000614710848285016146d7565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061474f602083612dfb565b915061475a82614719565b602082019050919050565b6000602082019050818103600083015261477e81614742565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006147bb601c83612dfb565b91506147c682614785565b602082019050919050565b600060208201905081810360008301526147ea816147ae565b9050919050565b60006147fd8285613f61565b60208201915061480d8284613f61565b602082019150819050939250505056fea2646970667358221220e406d5003c6fb2a7d4da361451bd7820431093ce6708899d822bfc9c1ba0d23c64736f6c634300080d0033

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

0000000000000000000000000000000000000000000000000000000062d083d00000000000000000000000000000000000000000000000000000000062d1d5140000000000000000000000000000000000000000000000000000000062d1d5500000000000000000000000000000000000000000000000000000000062d326d003aa67f9c4b5d32605a5301fbbb4b685d742cfc41bcabd7e3bebc1c4420b7a1a000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000001d4f776c6965732066726f6d20746865203574682044696d656e73696f6e00000000000000000000000000000000000000000000000000000000000000000000064f574c4945530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002f68747470733a2f2f6173736574732e35746864696d656e73696f6e2e696f2f706c616365686f6c6465722e6a736f6e0000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _whitelistStart (uint256): 1657832400
Arg [1] : _whitelistEnd (uint256): 1657918740
Arg [2] : _publicStart (uint256): 1657918800
Arg [3] : _publicEnd (uint256): 1658005200
Arg [4] : whitelistMerkleRoot (bytes32): 0x03aa67f9c4b5d32605a5301fbbb4b685d742cfc41bcabd7e3bebc1c4420b7a1a
Arg [5] : name (string): Owlies from the 5th Dimension
Arg [6] : symbol (string): OWLIES
Arg [7] : tempUri (string): https://assets.5thdimension.io/placeholder.json

-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000062d083d0
Arg [1] : 0000000000000000000000000000000000000000000000000000000062d1d514
Arg [2] : 0000000000000000000000000000000000000000000000000000000062d1d550
Arg [3] : 0000000000000000000000000000000000000000000000000000000062d326d0
Arg [4] : 03aa67f9c4b5d32605a5301fbbb4b685d742cfc41bcabd7e3bebc1c4420b7a1a
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [8] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [9] : 4f776c6965732066726f6d20746865203574682044696d656e73696f6e000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [11] : 4f574c4945530000000000000000000000000000000000000000000000000000
Arg [12] : 000000000000000000000000000000000000000000000000000000000000002f
Arg [13] : 68747470733a2f2f6173736574732e35746864696d656e73696f6e2e696f2f70
Arg [14] : 6c616365686f6c6465722e6a736f6e0000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.