ETH Price: $3,604.76 (+8.49%)

Token

TheOneEyedSmiley (TOES)
 

Overview

Max Total Supply

1,205 TOES

Holders

443

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
2 TOES
0xa495e370E5987babb57580319c2eCb8E52A1239b
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:
TheOneEyedSmiley

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : TOE.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

contract TheOneEyedSmiley is ERC721, ERC721Enumerable, ERC721URIStorage, Ownable {
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdCounter;

    uint256 public constant maxItems = 10000;
    uint256 public constant price = 0.025 ether;
    uint256 public constant priceAfterSale = 0.05 ether;
    uint256 public presaleRemaining = 1000;
    uint256 public reservedRemaining = 350;

    string baseURI = "https://api.nftmarketservice.com/token/toes/";
    string baseContractURI = "https://api.nftmarketservice.com/token/toes/";
    uint8 public charLimit = 32;
    bool public namingAllowed = false;
    bool public changesLocked = false;

    /************ EVENTS **************/
    event NameChanged(uint256 _tokenId, string _name);
    event NamingStateChanged(bool _namingAllowed);
    event NamingCharacterLimitChanged(uint8 _charLimit);
    event ChangesLocked(bool _changesLocked);
    /**********************************/

    constructor() ERC721("TheOneEyedSmiley", "TOES") {}

    //For OpenSea
    function contractURI() public view returns (string memory) {
        return baseContractURI;
    }

    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }


    function currentTokenIdCounter() public view returns (uint256) {
        return _tokenIdCounter.current();
    }

    function setBaseURI(string memory _newBaseURI) public virtual onlyOwner {
        require(!changesLocked, "Changes are locked");
        baseURI = _newBaseURI;
    }

    function lockChanges() public virtual onlyOwner {
        changesLocked = true;
        emit ChangesLocked(true);
    }

    function setBaseContractURI(string memory _newContractURI) public virtual onlyOwner {
        require(!changesLocked, "Changes are locked");
        baseContractURI = _newContractURI;
    }


    function reserve(uint num, address _to) public onlyOwner {
        require(num > 0, "Reserve number must be greater than zero");
        require(_tokenIdCounter.current() + num <= maxItems, "Reserve would exceed max supply of items");
        require(reservedRemaining >= num, "Reserve would exceed limit");

        uint i;
        for (i = 0; i < num; i++) {
            _tokenIdCounter.increment();
            _safeMint(_to, _tokenIdCounter.current());
            reservedRemaining = reservedRemaining - 1;
        }
    }

    function setCharacterLimit(uint8 _charLimit) external onlyOwner {
        charLimit = _charLimit;
        emit NamingCharacterLimitChanged(_charLimit);
    }

    function toggleNaming(bool _namingAllowed) external onlyOwner {
        namingAllowed = _namingAllowed;
        emit NamingStateChanged(_namingAllowed);
    }

    function nameNFT(uint256 _tokenId, string memory _name) external payable {
        require(namingAllowed, "Naming is disabled");
        require(balanceOf(msg.sender) > 0, "The address has no associated items");
        require(ownerOf(_tokenId) == msg.sender, "Only the owner can change the NFT name");
        require(bytes(_name).length <= charLimit, "Exceeded characters limit");
        emit NameChanged(_tokenId, _name);
    }


    function mint(uint256 mintCount) public payable {

        uint256 currentPrice = price;

        //Limit presale purchases
        if (presaleRemaining > 0) {
            require((balanceOf(msg.sender) + mintCount) <= 4, "Exceeded the limit of presale items per address");
            require(presaleRemaining >= mintCount, "Exceeded the number of items for presale");
        } else {
            currentPrice = priceAfterSale;
            require(mintCount <= 10, "Exceeded the limit of items to be minted at once");
        }

        require(msg.value >= (currentPrice * mintCount), "Value below current price");
        require((totalSupply() + mintCount + reservedRemaining) <= maxItems, "Purchase would exceed max supply of items");

        for (uint256 i = 0; i < mintCount; i++) {
            _tokenIdCounter.increment();
            _safeMint(msg.sender, _tokenIdCounter.current());

            if (presaleRemaining > 0) {
                presaleRemaining = presaleRemaining - 1;
            }

        }

    }


    // The following functions are overrides required by Solidity.
    function _beforeTokenTransfer(address from, address to, uint256 tokenId)
    internal
    override(ERC721, ERC721Enumerable)
    {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) {
        super._burn(tokenId);
    }

    function tokenURI(uint256 tokenId)
    public
    view
    override(ERC721, ERC721URIStorage)
    returns (string memory)
    {
        return super.tokenURI(tokenId);
    }

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

    function withdraw() public onlyOwner {
        uint balance = address(this).balance;
        require(balance > 0);
        (bool sent,) = msg.sender.call{value : balance}("");
        require(sent, "Failed to send Ether");
    }
}

File 2 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT

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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 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 3 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 4 of 15 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 5 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 15 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 7 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT

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 8 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 9 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 10 of 15 : Address.sol
// SPDX-License-Identifier: MIT

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);
            }
        }
    }
}

File 11 of 15 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 12 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 13 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 15 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":false,"internalType":"bool","name":"_changesLocked","type":"bool"}],"name":"ChangesLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"_name","type":"string"}],"name":"NameChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"_charLimit","type":"uint8"}],"name":"NamingCharacterLimitChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_namingAllowed","type":"bool"}],"name":"NamingStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":[{"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":[],"name":"changesLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"charLimit","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentTokenIdCounter","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":"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":"lockChanges","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxItems","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintCount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_name","type":"string"}],"name":"nameNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"namingAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceAfterSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedRemaining","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":"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":"_newContractURI","type":"string"}],"name":"setBaseContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_charLimit","type":"uint8"}],"name":"setCharacterLimit","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":[{"internalType":"bool","name":"_namingAllowed","type":"bool"}],"name":"toggleNaming","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526103e8600d5561015e600e556040518060600160405280602c815260200162005472602c9139600f90805190602001906200004192919062000268565b506040518060600160405280602c815260200162005472602c9139601090805190602001906200007392919062000268565b506020601160006101000a81548160ff021916908360ff1602179055506000601160016101000a81548160ff0219169083151502179055506000601160026101000a81548160ff021916908315150217905550348015620000d357600080fd5b506040518060400160405280601081526020017f5468654f6e6545796564536d696c6579000000000000000000000000000000008152506040518060400160405280600481526020017f544f45530000000000000000000000000000000000000000000000000000000081525081600090805190602001906200015892919062000268565b5080600190805190602001906200017192919062000268565b50505062000194620001886200019a60201b60201c565b620001a260201b60201c565b6200037d565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002769062000318565b90600052602060002090601f0160209004810192826200029a5760008555620002e6565b82601f10620002b557805160ff1916838001178555620002e6565b82800160010185558215620002e6579182015b82811115620002e5578251825591602001919060010190620002c8565b5b509050620002f59190620002f9565b5090565b5b8082111562000314576000816000905550600101620002fa565b5090565b600060028204905060018216806200033157607f821691505b602082108114156200034857620003476200034e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6150e5806200038d6000396000f3fe6080604052600436106102255760003560e01c80636352211e116101235780639a13a7ec116100ab578063b88d4fde1161006f578063b88d4fde146107b5578063c87b56dd146107de578063e8a3d4851461081b578063e985e9c514610846578063f2fde38b1461088357610225565b80639a13a7ec146106ef578063a035b1fe1461071a578063a0712d6814610745578063a22cb46514610761578063a460bd6c1461078a57610225565b8063715018a6116100f2578063715018a61461062c578063869680f9146106435780638da5cb5b1461066e57806392731aaa1461069957806395d89b41146106c457610225565b80636352211e1461056d5780636f5286d7146105aa57806370a08231146105c6578063712ad5cc1461060357610225565b80632f745c59116101b15780634f6ccce7116101755780634f6ccce7146104885780635325fafd146104c557806355f804b3146104ee5780635c0c370f14610517578063606fe95a1461054257610225565b80632f745c59146103c95780633c010a3e146104065780633c58d378146104315780633ccfd60b1461044857806342842e0e1461045f57610225565b8063095ea7b3116101f8578063095ea7b3146102f85780630cd3a5381461032157806318160ddd1461034a57806323b872dd1461037557806328ad60b21461039e57610225565b806301ffc9a71461022a57806303339bcb1461026757806306fdde0314610290578063081812fc146102bb575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906136d2565b6108ac565b60405161025e9190613e6c565b60405180910390f35b34801561027357600080fd5b5061028e6004803603810190610289919061378e565b6108be565b005b34801561029c57600080fd5b506102a5610a70565b6040516102b29190613e87565b60405180910390f35b3480156102c757600080fd5b506102e260048036038101906102dd9190613765565b610b02565b6040516102ef9190613e05565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a919061366d565b610b87565b005b34801561032d57600080fd5b5061034860048036038101906103439190613724565b610c9f565b005b34801561035657600080fd5b5061035f610d85565b60405161036c91906142c9565b60405180910390f35b34801561038157600080fd5b5061039c60048036038101906103979190613567565b610d92565b005b3480156103aa57600080fd5b506103b3610df2565b6040516103c091906142c9565b60405180910390f35b3480156103d557600080fd5b506103f060048036038101906103eb919061366d565b610dfd565b6040516103fd91906142c9565b60405180910390f35b34801561041257600080fd5b5061041b610ea2565b60405161042891906142c9565b60405180910390f35b34801561043d57600080fd5b50610446610ea8565b005b34801561045457600080fd5b5061045d610f79565b005b34801561046b57600080fd5b5061048660048036038101906104819190613567565b6110b7565b005b34801561049457600080fd5b506104af60048036038101906104aa9190613765565b6110d7565b6040516104bc91906142c9565b60405180910390f35b3480156104d157600080fd5b506104ec60048036038101906104e7919061381e565b61116e565b005b3480156104fa57600080fd5b5061051560048036038101906105109190613724565b61123f565b005b34801561052357600080fd5b5061052c611325565b6040516105399190613e6c565b60405180910390f35b34801561054e57600080fd5b50610557611338565b60405161056491906142c9565b60405180910390f35b34801561057957600080fd5b50610594600480360381019061058f9190613765565b611349565b6040516105a19190613e05565b60405180910390f35b6105c460048036038101906105bf91906137ca565b6113fb565b005b3480156105d257600080fd5b506105ed60048036038101906105e89190613502565b61159e565b6040516105fa91906142c9565b60405180910390f35b34801561060f57600080fd5b5061062a600480360381019061062591906136a9565b611656565b005b34801561063857600080fd5b50610641611726565b005b34801561064f57600080fd5b506106586117ae565b60405161066591906142c9565b60405180910390f35b34801561067a57600080fd5b506106836117b4565b6040516106909190613e05565b60405180910390f35b3480156106a557600080fd5b506106ae6117de565b6040516106bb9190613e6c565b60405180910390f35b3480156106d057600080fd5b506106d96117f1565b6040516106e69190613e87565b60405180910390f35b3480156106fb57600080fd5b50610704611883565b6040516107119190614314565b60405180910390f35b34801561072657600080fd5b5061072f611896565b60405161073c91906142c9565b60405180910390f35b61075f600480360381019061075a9190613765565b6118a1565b005b34801561076d57600080fd5b5061078860048036038101906107839190613631565b611abb565b005b34801561079657600080fd5b5061079f611c3c565b6040516107ac91906142c9565b60405180910390f35b3480156107c157600080fd5b506107dc60048036038101906107d791906135b6565b611c42565b005b3480156107ea57600080fd5b5061080560048036038101906108009190613765565b611ca4565b6040516108129190613e87565b60405180910390f35b34801561082757600080fd5b50610830611cb6565b60405161083d9190613e87565b60405180910390f35b34801561085257600080fd5b5061086d6004803603810190610868919061352b565b611d48565b60405161087a9190613e6c565b60405180910390f35b34801561088f57600080fd5b506108aa60048036038101906108a59190613502565b611ddc565b005b60006108b782611ed4565b9050919050565b6108c6611f4e565b73ffffffffffffffffffffffffffffffffffffffff166108e46117b4565b73ffffffffffffffffffffffffffffffffffffffff161461093a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093190614189565b60405180910390fd5b6000821161097d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097490614069565b60405180910390fd5b6127108261098b600c611f56565b6109959190614404565b11156109d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cd906140c9565b60405180910390fd5b81600e541015610a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a12906141e9565b60405180910390fd5b60005b82811015610a6b57610a30600c611f64565b610a4382610a3e600c611f56565b611f7a565b6001600e54610a5291906144e5565b600e819055508080610a639061463f565b915050610a1e565b505050565b606060008054610a7f906145dc565b80601f0160208091040260200160405190810160405280929190818152602001828054610aab906145dc565b8015610af85780601f10610acd57610100808354040283529160200191610af8565b820191906000526020600020905b815481529060010190602001808311610adb57829003601f168201915b5050505050905090565b6000610b0d82611f98565b610b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4390614169565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b9282611349565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfa90614209565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c22611f4e565b73ffffffffffffffffffffffffffffffffffffffff161480610c515750610c5081610c4b611f4e565b611d48565b5b610c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c87906140a9565b60405180910390fd5b610c9a8383612004565b505050565b610ca7611f4e565b73ffffffffffffffffffffffffffffffffffffffff16610cc56117b4565b73ffffffffffffffffffffffffffffffffffffffff1614610d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1290614189565b60405180910390fd5b601160029054906101000a900460ff1615610d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6290614029565b60405180910390fd5b8060109080519060200190610d81929190613311565b5050565b6000600880549050905090565b610da3610d9d611f4e565b826120bd565b610de2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd990614289565b60405180910390fd5b610ded83838361219b565b505050565b66b1a2bc2ec5000081565b6000610e088361159e565b8210610e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4090613ec9565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b610eb0611f4e565b73ffffffffffffffffffffffffffffffffffffffff16610ece6117b4565b73ffffffffffffffffffffffffffffffffffffffff1614610f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1b90614189565b60405180910390fd5b6001601160026101000a81548160ff0219169083151502179055507f4b8aaed745828f3a37dd0eed528bb4642565f9638de5a5c9f19d29f1d27776fd6001604051610f6f9190613e6c565b60405180910390a1565b610f81611f4e565b73ffffffffffffffffffffffffffffffffffffffff16610f9f6117b4565b73ffffffffffffffffffffffffffffffffffffffff1614610ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fec90614189565b60405180910390fd5b60004790506000811161100757600080fd5b60003373ffffffffffffffffffffffffffffffffffffffff168260405161102d90613df0565b60006040518083038185875af1925050503d806000811461106a576040519150601f19603f3d011682016040523d82523d6000602084013e61106f565b606091505b50509050806110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa90613fa9565b60405180910390fd5b5050565b6110d283838360405180602001604052806000815250611c42565b505050565b60006110e1610d85565b8210611122576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611119906142a9565b60405180910390fd5b6008828154811061115c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b611176611f4e565b73ffffffffffffffffffffffffffffffffffffffff166111946117b4565b73ffffffffffffffffffffffffffffffffffffffff16146111ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e190614189565b60405180910390fd5b80601160006101000a81548160ff021916908360ff1602179055507f64fb4b0ff92c21b2a99a221b03cfeb1f7d93027582268e6c1d2d69c3987a1839816040516112349190614314565b60405180910390a150565b611247611f4e565b73ffffffffffffffffffffffffffffffffffffffff166112656117b4565b73ffffffffffffffffffffffffffffffffffffffff16146112bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b290614189565b60405180910390fd5b601160029054906101000a900460ff161561130b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130290614029565b60405180910390fd5b80600f9080519060200190611321929190613311565b5050565b601160019054906101000a900460ff1681565b6000611344600c611f56565b905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e990614109565b60405180910390fd5b80915050919050565b601160019054906101000a900460ff1661144a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144190613ea9565b60405180910390fd5b60006114553361159e565b11611495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148c90614229565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166114b583611349565b73ffffffffffffffffffffffffffffffffffffffff161461150b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150290614249565b60405180910390fd5b601160009054906101000a900460ff1660ff1681511115611561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155890613f49565b60405180910390fd5b7f8edfa912e70e283a8ef6d6f52cd1faef9690ff989eff2f11a134e8478ba7b28b82826040516115929291906142e4565b60405180910390a15050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561160f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611606906140e9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61165e611f4e565b73ffffffffffffffffffffffffffffffffffffffff1661167c6117b4565b73ffffffffffffffffffffffffffffffffffffffff16146116d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c990614189565b60405180910390fd5b80601160016101000a81548160ff0219169083151502179055507f83bbab4027fa9736c47ba53472f66ce0a0564aa42d70db3e3e3c11b2eb793d198160405161171b9190613e6c565b60405180910390a150565b61172e611f4e565b73ffffffffffffffffffffffffffffffffffffffff1661174c6117b4565b73ffffffffffffffffffffffffffffffffffffffff16146117a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179990614189565b60405180910390fd5b6117ac60006123f7565b565b600e5481565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601160029054906101000a900460ff1681565b606060018054611800906145dc565b80601f016020809104026020016040519081016040528092919081815260200182805461182c906145dc565b80156118795780601f1061184e57610100808354040283529160200191611879565b820191906000526020600020905b81548152906001019060200180831161185c57829003601f168201915b5050505050905090565b601160009054906101000a900460ff1681565b6658d15e1762800081565b60006658d15e1762800090506000600d541115611959576004826118c43361159e565b6118ce9190614404565b111561190f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190690613f69565b60405180910390fd5b81600d541015611954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194b90614049565b60405180910390fd5b6119a8565b66b1a2bc2ec500009050600a8211156119a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199e90614089565b60405180910390fd5b5b81816119b4919061448b565b3410156119f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ed90613f89565b60405180910390fd5b612710600e5483611a05610d85565b611a0f9190614404565b611a199190614404565b1115611a5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5190614269565b60405180910390fd5b60005b82811015611ab657611a6f600c611f64565b611a8233611a7d600c611f56565b611f7a565b6000600d541115611aa3576001600d54611a9c91906144e5565b600d819055505b8080611aae9061463f565b915050611a5d565b505050565b611ac3611f4e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2890613fe9565b60405180910390fd5b8060056000611b3e611f4e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611beb611f4e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c309190613e6c565b60405180910390a35050565b600d5481565b611c53611c4d611f4e565b836120bd565b611c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8990614289565b60405180910390fd5b611c9e848484846124bd565b50505050565b6060611caf82612519565b9050919050565b606060108054611cc5906145dc565b80601f0160208091040260200160405190810160405280929190818152602001828054611cf1906145dc565b8015611d3e5780601f10611d1357610100808354040283529160200191611d3e565b820191906000526020600020905b815481529060010190602001808311611d2157829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611de4611f4e565b73ffffffffffffffffffffffffffffffffffffffff16611e026117b4565b73ffffffffffffffffffffffffffffffffffffffff1614611e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4f90614189565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebf90613f09565b60405180910390fd5b611ed1816123f7565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f475750611f468261266b565b5b9050919050565b600033905090565b600081600001549050919050565b6001816000016000828254019250508190555050565b611f9482826040518060200160405280600081525061274d565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661207783611349565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006120c882611f98565b612107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fe90614009565b60405180910390fd5b600061211283611349565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061218157508373ffffffffffffffffffffffffffffffffffffffff1661216984610b02565b73ffffffffffffffffffffffffffffffffffffffff16145b8061219257506121918185611d48565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121bb82611349565b73ffffffffffffffffffffffffffffffffffffffff1614612211576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612208906141a9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227890613fc9565b60405180910390fd5b61228c8383836127a8565b612297600082612004565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122e791906144e5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461233e9190614404565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124c884848461219b565b6124d4848484846127b8565b612513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250a90613ee9565b60405180910390fd5b50505050565b606061252482611f98565b612563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255a90614149565b60405180910390fd5b6000600a60008481526020019081526020016000208054612583906145dc565b80601f01602080910402602001604051908101604052809291908181526020018280546125af906145dc565b80156125fc5780601f106125d1576101008083540402835291602001916125fc565b820191906000526020600020905b8154815290600101906020018083116125df57829003601f168201915b50505050509050600061260d61294f565b9050600081511415612623578192505050612666565b600082511115612658578082604051602001612640929190613dcc565b60405160208183030381529060405292505050612666565b612661846129e1565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061273657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612746575061274582612a88565b5b9050919050565b6127578383612af2565b61276460008484846127b8565b6127a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279a90613ee9565b60405180910390fd5b505050565b6127b3838383612cc0565b505050565b60006127d98473ffffffffffffffffffffffffffffffffffffffff16612dd4565b15612942578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612802611f4e565b8786866040518563ffffffff1660e01b81526004016128249493929190613e20565b602060405180830381600087803b15801561283e57600080fd5b505af192505050801561286f57506040513d601f19601f8201168201806040525081019061286c91906136fb565b60015b6128f2573d806000811461289f576040519150601f19603f3d011682016040523d82523d6000602084013e6128a4565b606091505b506000815114156128ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e190613ee9565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612947565b600190505b949350505050565b6060600f805461295e906145dc565b80601f016020809104026020016040519081016040528092919081815260200182805461298a906145dc565b80156129d75780601f106129ac576101008083540402835291602001916129d7565b820191906000526020600020905b8154815290600101906020018083116129ba57829003601f168201915b5050505050905090565b60606129ec82611f98565b612a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a22906141c9565b60405180910390fd5b6000612a3561294f565b90506000815111612a555760405180602001604052806000815250612a80565b80612a5f84612de7565b604051602001612a70929190613dcc565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5990614129565b60405180910390fd5b612b6b81611f98565b15612bab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba290613f29565b60405180910390fd5b612bb7600083836127a8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c079190614404565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612ccb838383612f94565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d0e57612d0981612f99565b612d4d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d4c57612d4b8382612fe2565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d9057612d8b8161314f565b612dcf565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612dce57612dcd8282613292565b5b5b505050565b600080823b905060008111915050919050565b60606000821415612e2f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f8f565b600082905060005b60008214612e61578080612e4a9061463f565b915050600a82612e5a919061445a565b9150612e37565b60008167ffffffffffffffff811115612ea3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612ed55781602001600182028036833780820191505090505b5090505b60008514612f8857600182612eee91906144e5565b9150600a85612efd9190614688565b6030612f099190614404565b60f81b818381518110612f45577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f81919061445a565b9450612ed9565b8093505050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612fef8461159e565b612ff991906144e5565b90506000600760008481526020019081526020016000205490508181146130de576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061316391906144e5565b90506000600960008481526020019081526020016000205490506000600883815481106131b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613201577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613276577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061329d8361159e565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461331d906145dc565b90600052602060002090601f01602090048101928261333f5760008555613386565b82601f1061335857805160ff1916838001178555613386565b82800160010185558215613386579182015b8281111561338557825182559160200191906001019061336a565b5b5090506133939190613397565b5090565b5b808211156133b0576000816000905550600101613398565b5090565b60006133c76133c284614354565b61432f565b9050828152602081018484840111156133df57600080fd5b6133ea84828561459a565b509392505050565b600061340561340084614385565b61432f565b90508281526020810184848401111561341d57600080fd5b61342884828561459a565b509392505050565b60008135905061343f8161503c565b92915050565b60008135905061345481615053565b92915050565b6000813590506134698161506a565b92915050565b60008151905061347e8161506a565b92915050565b600082601f83011261349557600080fd5b81356134a58482602086016133b4565b91505092915050565b600082601f8301126134bf57600080fd5b81356134cf8482602086016133f2565b91505092915050565b6000813590506134e781615081565b92915050565b6000813590506134fc81615098565b92915050565b60006020828403121561351457600080fd5b600061352284828501613430565b91505092915050565b6000806040838503121561353e57600080fd5b600061354c85828601613430565b925050602061355d85828601613430565b9150509250929050565b60008060006060848603121561357c57600080fd5b600061358a86828701613430565b935050602061359b86828701613430565b92505060406135ac868287016134d8565b9150509250925092565b600080600080608085870312156135cc57600080fd5b60006135da87828801613430565b94505060206135eb87828801613430565b93505060406135fc878288016134d8565b925050606085013567ffffffffffffffff81111561361957600080fd5b61362587828801613484565b91505092959194509250565b6000806040838503121561364457600080fd5b600061365285828601613430565b925050602061366385828601613445565b9150509250929050565b6000806040838503121561368057600080fd5b600061368e85828601613430565b925050602061369f858286016134d8565b9150509250929050565b6000602082840312156136bb57600080fd5b60006136c984828501613445565b91505092915050565b6000602082840312156136e457600080fd5b60006136f28482850161345a565b91505092915050565b60006020828403121561370d57600080fd5b600061371b8482850161346f565b91505092915050565b60006020828403121561373657600080fd5b600082013567ffffffffffffffff81111561375057600080fd5b61375c848285016134ae565b91505092915050565b60006020828403121561377757600080fd5b6000613785848285016134d8565b91505092915050565b600080604083850312156137a157600080fd5b60006137af858286016134d8565b92505060206137c085828601613430565b9150509250929050565b600080604083850312156137dd57600080fd5b60006137eb858286016134d8565b925050602083013567ffffffffffffffff81111561380857600080fd5b613814858286016134ae565b9150509250929050565b60006020828403121561383057600080fd5b600061383e848285016134ed565b91505092915050565b61385081614519565b82525050565b61385f8161452b565b82525050565b6000613870826143b6565b61387a81856143cc565b935061388a8185602086016145a9565b61389381614775565b840191505092915050565b60006138a9826143c1565b6138b381856143e8565b93506138c38185602086016145a9565b6138cc81614775565b840191505092915050565b60006138e2826143c1565b6138ec81856143f9565b93506138fc8185602086016145a9565b80840191505092915050565b60006139156012836143e8565b915061392082614786565b602082019050919050565b6000613938602b836143e8565b9150613943826147af565b604082019050919050565b600061395b6032836143e8565b9150613966826147fe565b604082019050919050565b600061397e6026836143e8565b91506139898261484d565b604082019050919050565b60006139a1601c836143e8565b91506139ac8261489c565b602082019050919050565b60006139c46019836143e8565b91506139cf826148c5565b602082019050919050565b60006139e7602f836143e8565b91506139f2826148ee565b604082019050919050565b6000613a0a6019836143e8565b9150613a158261493d565b602082019050919050565b6000613a2d6014836143e8565b9150613a3882614966565b602082019050919050565b6000613a506024836143e8565b9150613a5b8261498f565b604082019050919050565b6000613a736019836143e8565b9150613a7e826149de565b602082019050919050565b6000613a96602c836143e8565b9150613aa182614a07565b604082019050919050565b6000613ab96012836143e8565b9150613ac482614a56565b602082019050919050565b6000613adc6028836143e8565b9150613ae782614a7f565b604082019050919050565b6000613aff6028836143e8565b9150613b0a82614ace565b604082019050919050565b6000613b226030836143e8565b9150613b2d82614b1d565b604082019050919050565b6000613b456038836143e8565b9150613b5082614b6c565b604082019050919050565b6000613b686028836143e8565b9150613b7382614bbb565b604082019050919050565b6000613b8b602a836143e8565b9150613b9682614c0a565b604082019050919050565b6000613bae6029836143e8565b9150613bb982614c59565b604082019050919050565b6000613bd16020836143e8565b9150613bdc82614ca8565b602082019050919050565b6000613bf46031836143e8565b9150613bff82614cd1565b604082019050919050565b6000613c17602c836143e8565b9150613c2282614d20565b604082019050919050565b6000613c3a6020836143e8565b9150613c4582614d6f565b602082019050919050565b6000613c5d6029836143e8565b9150613c6882614d98565b604082019050919050565b6000613c80602f836143e8565b9150613c8b82614de7565b604082019050919050565b6000613ca3601a836143e8565b9150613cae82614e36565b602082019050919050565b6000613cc66021836143e8565b9150613cd182614e5f565b604082019050919050565b6000613ce96023836143e8565b9150613cf482614eae565b604082019050919050565b6000613d0c6026836143e8565b9150613d1782614efd565b604082019050919050565b6000613d2f6029836143e8565b9150613d3a82614f4c565b604082019050919050565b6000613d526000836143dd565b9150613d5d82614f9b565b600082019050919050565b6000613d756031836143e8565b9150613d8082614f9e565b604082019050919050565b6000613d98602c836143e8565b9150613da382614fed565b604082019050919050565b613db781614583565b82525050565b613dc68161458d565b82525050565b6000613dd882856138d7565b9150613de482846138d7565b91508190509392505050565b6000613dfb82613d45565b9150819050919050565b6000602082019050613e1a6000830184613847565b92915050565b6000608082019050613e356000830187613847565b613e426020830186613847565b613e4f6040830185613dae565b8181036060830152613e618184613865565b905095945050505050565b6000602082019050613e816000830184613856565b92915050565b60006020820190508181036000830152613ea1818461389e565b905092915050565b60006020820190508181036000830152613ec281613908565b9050919050565b60006020820190508181036000830152613ee28161392b565b9050919050565b60006020820190508181036000830152613f028161394e565b9050919050565b60006020820190508181036000830152613f2281613971565b9050919050565b60006020820190508181036000830152613f4281613994565b9050919050565b60006020820190508181036000830152613f62816139b7565b9050919050565b60006020820190508181036000830152613f82816139da565b9050919050565b60006020820190508181036000830152613fa2816139fd565b9050919050565b60006020820190508181036000830152613fc281613a20565b9050919050565b60006020820190508181036000830152613fe281613a43565b9050919050565b6000602082019050818103600083015261400281613a66565b9050919050565b6000602082019050818103600083015261402281613a89565b9050919050565b6000602082019050818103600083015261404281613aac565b9050919050565b6000602082019050818103600083015261406281613acf565b9050919050565b6000602082019050818103600083015261408281613af2565b9050919050565b600060208201905081810360008301526140a281613b15565b9050919050565b600060208201905081810360008301526140c281613b38565b9050919050565b600060208201905081810360008301526140e281613b5b565b9050919050565b6000602082019050818103600083015261410281613b7e565b9050919050565b6000602082019050818103600083015261412281613ba1565b9050919050565b6000602082019050818103600083015261414281613bc4565b9050919050565b6000602082019050818103600083015261416281613be7565b9050919050565b6000602082019050818103600083015261418281613c0a565b9050919050565b600060208201905081810360008301526141a281613c2d565b9050919050565b600060208201905081810360008301526141c281613c50565b9050919050565b600060208201905081810360008301526141e281613c73565b9050919050565b6000602082019050818103600083015261420281613c96565b9050919050565b6000602082019050818103600083015261422281613cb9565b9050919050565b6000602082019050818103600083015261424281613cdc565b9050919050565b6000602082019050818103600083015261426281613cff565b9050919050565b6000602082019050818103600083015261428281613d22565b9050919050565b600060208201905081810360008301526142a281613d68565b9050919050565b600060208201905081810360008301526142c281613d8b565b9050919050565b60006020820190506142de6000830184613dae565b92915050565b60006040820190506142f96000830185613dae565b818103602083015261430b818461389e565b90509392505050565b60006020820190506143296000830184613dbd565b92915050565b600061433961434a565b9050614345828261460e565b919050565b6000604051905090565b600067ffffffffffffffff82111561436f5761436e614746565b5b61437882614775565b9050602081019050919050565b600067ffffffffffffffff8211156143a05761439f614746565b5b6143a982614775565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061440f82614583565b915061441a83614583565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561444f5761444e6146b9565b5b828201905092915050565b600061446582614583565b915061447083614583565b9250826144805761447f6146e8565b5b828204905092915050565b600061449682614583565b91506144a183614583565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144da576144d96146b9565b5b828202905092915050565b60006144f082614583565b91506144fb83614583565b92508282101561450e5761450d6146b9565b5b828203905092915050565b600061452482614563565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156145c75780820151818401526020810190506145ac565b838111156145d6576000848401525b50505050565b600060028204905060018216806145f457607f821691505b6020821081141561460857614607614717565b5b50919050565b61461782614775565b810181811067ffffffffffffffff8211171561463657614635614746565b5b80604052505050565b600061464a82614583565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561467d5761467c6146b9565b5b600182019050919050565b600061469382614583565b915061469e83614583565b9250826146ae576146ad6146e8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4e616d696e672069732064697361626c65640000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f45786365656465642063686172616374657273206c696d697400000000000000600082015250565b7f457863656564656420746865206c696d6974206f662070726573616c6520697460008201527f656d732070657220616464726573730000000000000000000000000000000000602082015250565b7f56616c75652062656c6f772063757272656e7420707269636500000000000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4368616e67657320617265206c6f636b65640000000000000000000000000000600082015250565b7f457863656564656420746865206e756d626572206f66206974656d7320666f7260008201527f2070726573616c65000000000000000000000000000000000000000000000000602082015250565b7f52657365727665206e756d626572206d7573742062652067726561746572207460008201527f68616e207a65726f000000000000000000000000000000000000000000000000602082015250565b7f457863656564656420746865206c696d6974206f66206974656d7320746f206260008201527f65206d696e746564206174206f6e636500000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f5265736572766520776f756c6420657863656564206d617820737570706c792060008201527f6f66206974656d73000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5265736572766520776f756c6420657863656564206c696d6974000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f546865206164647265737320686173206e6f206173736f63696174656420697460008201527f656d730000000000000000000000000000000000000000000000000000000000602082015250565b7f4f6e6c7920746865206f776e65722063616e206368616e676520746865204e4660008201527f54206e616d650000000000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f66206974656d730000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61504581614519565b811461505057600080fd5b50565b61505c8161452b565b811461506757600080fd5b50565b61507381614537565b811461507e57600080fd5b50565b61508a81614583565b811461509557600080fd5b50565b6150a18161458d565b81146150ac57600080fd5b5056fea2646970667358221220ed838c23993ba099e59b12116e3e39e755e2447ae544bf06b54a336703135ad864736f6c6343000804003368747470733a2f2f6170692e6e66746d61726b6574736572766963652e636f6d2f746f6b656e2f746f65732f

Deployed Bytecode

0x6080604052600436106102255760003560e01c80636352211e116101235780639a13a7ec116100ab578063b88d4fde1161006f578063b88d4fde146107b5578063c87b56dd146107de578063e8a3d4851461081b578063e985e9c514610846578063f2fde38b1461088357610225565b80639a13a7ec146106ef578063a035b1fe1461071a578063a0712d6814610745578063a22cb46514610761578063a460bd6c1461078a57610225565b8063715018a6116100f2578063715018a61461062c578063869680f9146106435780638da5cb5b1461066e57806392731aaa1461069957806395d89b41146106c457610225565b80636352211e1461056d5780636f5286d7146105aa57806370a08231146105c6578063712ad5cc1461060357610225565b80632f745c59116101b15780634f6ccce7116101755780634f6ccce7146104885780635325fafd146104c557806355f804b3146104ee5780635c0c370f14610517578063606fe95a1461054257610225565b80632f745c59146103c95780633c010a3e146104065780633c58d378146104315780633ccfd60b1461044857806342842e0e1461045f57610225565b8063095ea7b3116101f8578063095ea7b3146102f85780630cd3a5381461032157806318160ddd1461034a57806323b872dd1461037557806328ad60b21461039e57610225565b806301ffc9a71461022a57806303339bcb1461026757806306fdde0314610290578063081812fc146102bb575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906136d2565b6108ac565b60405161025e9190613e6c565b60405180910390f35b34801561027357600080fd5b5061028e6004803603810190610289919061378e565b6108be565b005b34801561029c57600080fd5b506102a5610a70565b6040516102b29190613e87565b60405180910390f35b3480156102c757600080fd5b506102e260048036038101906102dd9190613765565b610b02565b6040516102ef9190613e05565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a919061366d565b610b87565b005b34801561032d57600080fd5b5061034860048036038101906103439190613724565b610c9f565b005b34801561035657600080fd5b5061035f610d85565b60405161036c91906142c9565b60405180910390f35b34801561038157600080fd5b5061039c60048036038101906103979190613567565b610d92565b005b3480156103aa57600080fd5b506103b3610df2565b6040516103c091906142c9565b60405180910390f35b3480156103d557600080fd5b506103f060048036038101906103eb919061366d565b610dfd565b6040516103fd91906142c9565b60405180910390f35b34801561041257600080fd5b5061041b610ea2565b60405161042891906142c9565b60405180910390f35b34801561043d57600080fd5b50610446610ea8565b005b34801561045457600080fd5b5061045d610f79565b005b34801561046b57600080fd5b5061048660048036038101906104819190613567565b6110b7565b005b34801561049457600080fd5b506104af60048036038101906104aa9190613765565b6110d7565b6040516104bc91906142c9565b60405180910390f35b3480156104d157600080fd5b506104ec60048036038101906104e7919061381e565b61116e565b005b3480156104fa57600080fd5b5061051560048036038101906105109190613724565b61123f565b005b34801561052357600080fd5b5061052c611325565b6040516105399190613e6c565b60405180910390f35b34801561054e57600080fd5b50610557611338565b60405161056491906142c9565b60405180910390f35b34801561057957600080fd5b50610594600480360381019061058f9190613765565b611349565b6040516105a19190613e05565b60405180910390f35b6105c460048036038101906105bf91906137ca565b6113fb565b005b3480156105d257600080fd5b506105ed60048036038101906105e89190613502565b61159e565b6040516105fa91906142c9565b60405180910390f35b34801561060f57600080fd5b5061062a600480360381019061062591906136a9565b611656565b005b34801561063857600080fd5b50610641611726565b005b34801561064f57600080fd5b506106586117ae565b60405161066591906142c9565b60405180910390f35b34801561067a57600080fd5b506106836117b4565b6040516106909190613e05565b60405180910390f35b3480156106a557600080fd5b506106ae6117de565b6040516106bb9190613e6c565b60405180910390f35b3480156106d057600080fd5b506106d96117f1565b6040516106e69190613e87565b60405180910390f35b3480156106fb57600080fd5b50610704611883565b6040516107119190614314565b60405180910390f35b34801561072657600080fd5b5061072f611896565b60405161073c91906142c9565b60405180910390f35b61075f600480360381019061075a9190613765565b6118a1565b005b34801561076d57600080fd5b5061078860048036038101906107839190613631565b611abb565b005b34801561079657600080fd5b5061079f611c3c565b6040516107ac91906142c9565b60405180910390f35b3480156107c157600080fd5b506107dc60048036038101906107d791906135b6565b611c42565b005b3480156107ea57600080fd5b5061080560048036038101906108009190613765565b611ca4565b6040516108129190613e87565b60405180910390f35b34801561082757600080fd5b50610830611cb6565b60405161083d9190613e87565b60405180910390f35b34801561085257600080fd5b5061086d6004803603810190610868919061352b565b611d48565b60405161087a9190613e6c565b60405180910390f35b34801561088f57600080fd5b506108aa60048036038101906108a59190613502565b611ddc565b005b60006108b782611ed4565b9050919050565b6108c6611f4e565b73ffffffffffffffffffffffffffffffffffffffff166108e46117b4565b73ffffffffffffffffffffffffffffffffffffffff161461093a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093190614189565b60405180910390fd5b6000821161097d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097490614069565b60405180910390fd5b6127108261098b600c611f56565b6109959190614404565b11156109d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cd906140c9565b60405180910390fd5b81600e541015610a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a12906141e9565b60405180910390fd5b60005b82811015610a6b57610a30600c611f64565b610a4382610a3e600c611f56565b611f7a565b6001600e54610a5291906144e5565b600e819055508080610a639061463f565b915050610a1e565b505050565b606060008054610a7f906145dc565b80601f0160208091040260200160405190810160405280929190818152602001828054610aab906145dc565b8015610af85780601f10610acd57610100808354040283529160200191610af8565b820191906000526020600020905b815481529060010190602001808311610adb57829003601f168201915b5050505050905090565b6000610b0d82611f98565b610b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4390614169565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b9282611349565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfa90614209565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c22611f4e565b73ffffffffffffffffffffffffffffffffffffffff161480610c515750610c5081610c4b611f4e565b611d48565b5b610c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c87906140a9565b60405180910390fd5b610c9a8383612004565b505050565b610ca7611f4e565b73ffffffffffffffffffffffffffffffffffffffff16610cc56117b4565b73ffffffffffffffffffffffffffffffffffffffff1614610d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1290614189565b60405180910390fd5b601160029054906101000a900460ff1615610d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6290614029565b60405180910390fd5b8060109080519060200190610d81929190613311565b5050565b6000600880549050905090565b610da3610d9d611f4e565b826120bd565b610de2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd990614289565b60405180910390fd5b610ded83838361219b565b505050565b66b1a2bc2ec5000081565b6000610e088361159e565b8210610e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4090613ec9565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b610eb0611f4e565b73ffffffffffffffffffffffffffffffffffffffff16610ece6117b4565b73ffffffffffffffffffffffffffffffffffffffff1614610f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1b90614189565b60405180910390fd5b6001601160026101000a81548160ff0219169083151502179055507f4b8aaed745828f3a37dd0eed528bb4642565f9638de5a5c9f19d29f1d27776fd6001604051610f6f9190613e6c565b60405180910390a1565b610f81611f4e565b73ffffffffffffffffffffffffffffffffffffffff16610f9f6117b4565b73ffffffffffffffffffffffffffffffffffffffff1614610ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fec90614189565b60405180910390fd5b60004790506000811161100757600080fd5b60003373ffffffffffffffffffffffffffffffffffffffff168260405161102d90613df0565b60006040518083038185875af1925050503d806000811461106a576040519150601f19603f3d011682016040523d82523d6000602084013e61106f565b606091505b50509050806110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa90613fa9565b60405180910390fd5b5050565b6110d283838360405180602001604052806000815250611c42565b505050565b60006110e1610d85565b8210611122576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611119906142a9565b60405180910390fd5b6008828154811061115c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b611176611f4e565b73ffffffffffffffffffffffffffffffffffffffff166111946117b4565b73ffffffffffffffffffffffffffffffffffffffff16146111ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e190614189565b60405180910390fd5b80601160006101000a81548160ff021916908360ff1602179055507f64fb4b0ff92c21b2a99a221b03cfeb1f7d93027582268e6c1d2d69c3987a1839816040516112349190614314565b60405180910390a150565b611247611f4e565b73ffffffffffffffffffffffffffffffffffffffff166112656117b4565b73ffffffffffffffffffffffffffffffffffffffff16146112bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b290614189565b60405180910390fd5b601160029054906101000a900460ff161561130b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130290614029565b60405180910390fd5b80600f9080519060200190611321929190613311565b5050565b601160019054906101000a900460ff1681565b6000611344600c611f56565b905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e990614109565b60405180910390fd5b80915050919050565b601160019054906101000a900460ff1661144a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144190613ea9565b60405180910390fd5b60006114553361159e565b11611495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148c90614229565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166114b583611349565b73ffffffffffffffffffffffffffffffffffffffff161461150b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150290614249565b60405180910390fd5b601160009054906101000a900460ff1660ff1681511115611561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155890613f49565b60405180910390fd5b7f8edfa912e70e283a8ef6d6f52cd1faef9690ff989eff2f11a134e8478ba7b28b82826040516115929291906142e4565b60405180910390a15050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561160f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611606906140e9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61165e611f4e565b73ffffffffffffffffffffffffffffffffffffffff1661167c6117b4565b73ffffffffffffffffffffffffffffffffffffffff16146116d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c990614189565b60405180910390fd5b80601160016101000a81548160ff0219169083151502179055507f83bbab4027fa9736c47ba53472f66ce0a0564aa42d70db3e3e3c11b2eb793d198160405161171b9190613e6c565b60405180910390a150565b61172e611f4e565b73ffffffffffffffffffffffffffffffffffffffff1661174c6117b4565b73ffffffffffffffffffffffffffffffffffffffff16146117a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179990614189565b60405180910390fd5b6117ac60006123f7565b565b600e5481565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601160029054906101000a900460ff1681565b606060018054611800906145dc565b80601f016020809104026020016040519081016040528092919081815260200182805461182c906145dc565b80156118795780601f1061184e57610100808354040283529160200191611879565b820191906000526020600020905b81548152906001019060200180831161185c57829003601f168201915b5050505050905090565b601160009054906101000a900460ff1681565b6658d15e1762800081565b60006658d15e1762800090506000600d541115611959576004826118c43361159e565b6118ce9190614404565b111561190f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190690613f69565b60405180910390fd5b81600d541015611954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194b90614049565b60405180910390fd5b6119a8565b66b1a2bc2ec500009050600a8211156119a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199e90614089565b60405180910390fd5b5b81816119b4919061448b565b3410156119f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ed90613f89565b60405180910390fd5b612710600e5483611a05610d85565b611a0f9190614404565b611a199190614404565b1115611a5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5190614269565b60405180910390fd5b60005b82811015611ab657611a6f600c611f64565b611a8233611a7d600c611f56565b611f7a565b6000600d541115611aa3576001600d54611a9c91906144e5565b600d819055505b8080611aae9061463f565b915050611a5d565b505050565b611ac3611f4e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2890613fe9565b60405180910390fd5b8060056000611b3e611f4e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611beb611f4e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c309190613e6c565b60405180910390a35050565b600d5481565b611c53611c4d611f4e565b836120bd565b611c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8990614289565b60405180910390fd5b611c9e848484846124bd565b50505050565b6060611caf82612519565b9050919050565b606060108054611cc5906145dc565b80601f0160208091040260200160405190810160405280929190818152602001828054611cf1906145dc565b8015611d3e5780601f10611d1357610100808354040283529160200191611d3e565b820191906000526020600020905b815481529060010190602001808311611d2157829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611de4611f4e565b73ffffffffffffffffffffffffffffffffffffffff16611e026117b4565b73ffffffffffffffffffffffffffffffffffffffff1614611e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4f90614189565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebf90613f09565b60405180910390fd5b611ed1816123f7565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f475750611f468261266b565b5b9050919050565b600033905090565b600081600001549050919050565b6001816000016000828254019250508190555050565b611f9482826040518060200160405280600081525061274d565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661207783611349565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006120c882611f98565b612107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fe90614009565b60405180910390fd5b600061211283611349565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061218157508373ffffffffffffffffffffffffffffffffffffffff1661216984610b02565b73ffffffffffffffffffffffffffffffffffffffff16145b8061219257506121918185611d48565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121bb82611349565b73ffffffffffffffffffffffffffffffffffffffff1614612211576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612208906141a9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227890613fc9565b60405180910390fd5b61228c8383836127a8565b612297600082612004565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122e791906144e5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461233e9190614404565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124c884848461219b565b6124d4848484846127b8565b612513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250a90613ee9565b60405180910390fd5b50505050565b606061252482611f98565b612563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255a90614149565b60405180910390fd5b6000600a60008481526020019081526020016000208054612583906145dc565b80601f01602080910402602001604051908101604052809291908181526020018280546125af906145dc565b80156125fc5780601f106125d1576101008083540402835291602001916125fc565b820191906000526020600020905b8154815290600101906020018083116125df57829003601f168201915b50505050509050600061260d61294f565b9050600081511415612623578192505050612666565b600082511115612658578082604051602001612640929190613dcc565b60405160208183030381529060405292505050612666565b612661846129e1565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061273657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612746575061274582612a88565b5b9050919050565b6127578383612af2565b61276460008484846127b8565b6127a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279a90613ee9565b60405180910390fd5b505050565b6127b3838383612cc0565b505050565b60006127d98473ffffffffffffffffffffffffffffffffffffffff16612dd4565b15612942578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612802611f4e565b8786866040518563ffffffff1660e01b81526004016128249493929190613e20565b602060405180830381600087803b15801561283e57600080fd5b505af192505050801561286f57506040513d601f19601f8201168201806040525081019061286c91906136fb565b60015b6128f2573d806000811461289f576040519150601f19603f3d011682016040523d82523d6000602084013e6128a4565b606091505b506000815114156128ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e190613ee9565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612947565b600190505b949350505050565b6060600f805461295e906145dc565b80601f016020809104026020016040519081016040528092919081815260200182805461298a906145dc565b80156129d75780601f106129ac576101008083540402835291602001916129d7565b820191906000526020600020905b8154815290600101906020018083116129ba57829003601f168201915b5050505050905090565b60606129ec82611f98565b612a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a22906141c9565b60405180910390fd5b6000612a3561294f565b90506000815111612a555760405180602001604052806000815250612a80565b80612a5f84612de7565b604051602001612a70929190613dcc565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5990614129565b60405180910390fd5b612b6b81611f98565b15612bab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba290613f29565b60405180910390fd5b612bb7600083836127a8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c079190614404565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612ccb838383612f94565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d0e57612d0981612f99565b612d4d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d4c57612d4b8382612fe2565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d9057612d8b8161314f565b612dcf565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612dce57612dcd8282613292565b5b5b505050565b600080823b905060008111915050919050565b60606000821415612e2f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f8f565b600082905060005b60008214612e61578080612e4a9061463f565b915050600a82612e5a919061445a565b9150612e37565b60008167ffffffffffffffff811115612ea3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612ed55781602001600182028036833780820191505090505b5090505b60008514612f8857600182612eee91906144e5565b9150600a85612efd9190614688565b6030612f099190614404565b60f81b818381518110612f45577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f81919061445a565b9450612ed9565b8093505050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612fef8461159e565b612ff991906144e5565b90506000600760008481526020019081526020016000205490508181146130de576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061316391906144e5565b90506000600960008481526020019081526020016000205490506000600883815481106131b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613201577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613276577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061329d8361159e565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461331d906145dc565b90600052602060002090601f01602090048101928261333f5760008555613386565b82601f1061335857805160ff1916838001178555613386565b82800160010185558215613386579182015b8281111561338557825182559160200191906001019061336a565b5b5090506133939190613397565b5090565b5b808211156133b0576000816000905550600101613398565b5090565b60006133c76133c284614354565b61432f565b9050828152602081018484840111156133df57600080fd5b6133ea84828561459a565b509392505050565b600061340561340084614385565b61432f565b90508281526020810184848401111561341d57600080fd5b61342884828561459a565b509392505050565b60008135905061343f8161503c565b92915050565b60008135905061345481615053565b92915050565b6000813590506134698161506a565b92915050565b60008151905061347e8161506a565b92915050565b600082601f83011261349557600080fd5b81356134a58482602086016133b4565b91505092915050565b600082601f8301126134bf57600080fd5b81356134cf8482602086016133f2565b91505092915050565b6000813590506134e781615081565b92915050565b6000813590506134fc81615098565b92915050565b60006020828403121561351457600080fd5b600061352284828501613430565b91505092915050565b6000806040838503121561353e57600080fd5b600061354c85828601613430565b925050602061355d85828601613430565b9150509250929050565b60008060006060848603121561357c57600080fd5b600061358a86828701613430565b935050602061359b86828701613430565b92505060406135ac868287016134d8565b9150509250925092565b600080600080608085870312156135cc57600080fd5b60006135da87828801613430565b94505060206135eb87828801613430565b93505060406135fc878288016134d8565b925050606085013567ffffffffffffffff81111561361957600080fd5b61362587828801613484565b91505092959194509250565b6000806040838503121561364457600080fd5b600061365285828601613430565b925050602061366385828601613445565b9150509250929050565b6000806040838503121561368057600080fd5b600061368e85828601613430565b925050602061369f858286016134d8565b9150509250929050565b6000602082840312156136bb57600080fd5b60006136c984828501613445565b91505092915050565b6000602082840312156136e457600080fd5b60006136f28482850161345a565b91505092915050565b60006020828403121561370d57600080fd5b600061371b8482850161346f565b91505092915050565b60006020828403121561373657600080fd5b600082013567ffffffffffffffff81111561375057600080fd5b61375c848285016134ae565b91505092915050565b60006020828403121561377757600080fd5b6000613785848285016134d8565b91505092915050565b600080604083850312156137a157600080fd5b60006137af858286016134d8565b92505060206137c085828601613430565b9150509250929050565b600080604083850312156137dd57600080fd5b60006137eb858286016134d8565b925050602083013567ffffffffffffffff81111561380857600080fd5b613814858286016134ae565b9150509250929050565b60006020828403121561383057600080fd5b600061383e848285016134ed565b91505092915050565b61385081614519565b82525050565b61385f8161452b565b82525050565b6000613870826143b6565b61387a81856143cc565b935061388a8185602086016145a9565b61389381614775565b840191505092915050565b60006138a9826143c1565b6138b381856143e8565b93506138c38185602086016145a9565b6138cc81614775565b840191505092915050565b60006138e2826143c1565b6138ec81856143f9565b93506138fc8185602086016145a9565b80840191505092915050565b60006139156012836143e8565b915061392082614786565b602082019050919050565b6000613938602b836143e8565b9150613943826147af565b604082019050919050565b600061395b6032836143e8565b9150613966826147fe565b604082019050919050565b600061397e6026836143e8565b91506139898261484d565b604082019050919050565b60006139a1601c836143e8565b91506139ac8261489c565b602082019050919050565b60006139c46019836143e8565b91506139cf826148c5565b602082019050919050565b60006139e7602f836143e8565b91506139f2826148ee565b604082019050919050565b6000613a0a6019836143e8565b9150613a158261493d565b602082019050919050565b6000613a2d6014836143e8565b9150613a3882614966565b602082019050919050565b6000613a506024836143e8565b9150613a5b8261498f565b604082019050919050565b6000613a736019836143e8565b9150613a7e826149de565b602082019050919050565b6000613a96602c836143e8565b9150613aa182614a07565b604082019050919050565b6000613ab96012836143e8565b9150613ac482614a56565b602082019050919050565b6000613adc6028836143e8565b9150613ae782614a7f565b604082019050919050565b6000613aff6028836143e8565b9150613b0a82614ace565b604082019050919050565b6000613b226030836143e8565b9150613b2d82614b1d565b604082019050919050565b6000613b456038836143e8565b9150613b5082614b6c565b604082019050919050565b6000613b686028836143e8565b9150613b7382614bbb565b604082019050919050565b6000613b8b602a836143e8565b9150613b9682614c0a565b604082019050919050565b6000613bae6029836143e8565b9150613bb982614c59565b604082019050919050565b6000613bd16020836143e8565b9150613bdc82614ca8565b602082019050919050565b6000613bf46031836143e8565b9150613bff82614cd1565b604082019050919050565b6000613c17602c836143e8565b9150613c2282614d20565b604082019050919050565b6000613c3a6020836143e8565b9150613c4582614d6f565b602082019050919050565b6000613c5d6029836143e8565b9150613c6882614d98565b604082019050919050565b6000613c80602f836143e8565b9150613c8b82614de7565b604082019050919050565b6000613ca3601a836143e8565b9150613cae82614e36565b602082019050919050565b6000613cc66021836143e8565b9150613cd182614e5f565b604082019050919050565b6000613ce96023836143e8565b9150613cf482614eae565b604082019050919050565b6000613d0c6026836143e8565b9150613d1782614efd565b604082019050919050565b6000613d2f6029836143e8565b9150613d3a82614f4c565b604082019050919050565b6000613d526000836143dd565b9150613d5d82614f9b565b600082019050919050565b6000613d756031836143e8565b9150613d8082614f9e565b604082019050919050565b6000613d98602c836143e8565b9150613da382614fed565b604082019050919050565b613db781614583565b82525050565b613dc68161458d565b82525050565b6000613dd882856138d7565b9150613de482846138d7565b91508190509392505050565b6000613dfb82613d45565b9150819050919050565b6000602082019050613e1a6000830184613847565b92915050565b6000608082019050613e356000830187613847565b613e426020830186613847565b613e4f6040830185613dae565b8181036060830152613e618184613865565b905095945050505050565b6000602082019050613e816000830184613856565b92915050565b60006020820190508181036000830152613ea1818461389e565b905092915050565b60006020820190508181036000830152613ec281613908565b9050919050565b60006020820190508181036000830152613ee28161392b565b9050919050565b60006020820190508181036000830152613f028161394e565b9050919050565b60006020820190508181036000830152613f2281613971565b9050919050565b60006020820190508181036000830152613f4281613994565b9050919050565b60006020820190508181036000830152613f62816139b7565b9050919050565b60006020820190508181036000830152613f82816139da565b9050919050565b60006020820190508181036000830152613fa2816139fd565b9050919050565b60006020820190508181036000830152613fc281613a20565b9050919050565b60006020820190508181036000830152613fe281613a43565b9050919050565b6000602082019050818103600083015261400281613a66565b9050919050565b6000602082019050818103600083015261402281613a89565b9050919050565b6000602082019050818103600083015261404281613aac565b9050919050565b6000602082019050818103600083015261406281613acf565b9050919050565b6000602082019050818103600083015261408281613af2565b9050919050565b600060208201905081810360008301526140a281613b15565b9050919050565b600060208201905081810360008301526140c281613b38565b9050919050565b600060208201905081810360008301526140e281613b5b565b9050919050565b6000602082019050818103600083015261410281613b7e565b9050919050565b6000602082019050818103600083015261412281613ba1565b9050919050565b6000602082019050818103600083015261414281613bc4565b9050919050565b6000602082019050818103600083015261416281613be7565b9050919050565b6000602082019050818103600083015261418281613c0a565b9050919050565b600060208201905081810360008301526141a281613c2d565b9050919050565b600060208201905081810360008301526141c281613c50565b9050919050565b600060208201905081810360008301526141e281613c73565b9050919050565b6000602082019050818103600083015261420281613c96565b9050919050565b6000602082019050818103600083015261422281613cb9565b9050919050565b6000602082019050818103600083015261424281613cdc565b9050919050565b6000602082019050818103600083015261426281613cff565b9050919050565b6000602082019050818103600083015261428281613d22565b9050919050565b600060208201905081810360008301526142a281613d68565b9050919050565b600060208201905081810360008301526142c281613d8b565b9050919050565b60006020820190506142de6000830184613dae565b92915050565b60006040820190506142f96000830185613dae565b818103602083015261430b818461389e565b90509392505050565b60006020820190506143296000830184613dbd565b92915050565b600061433961434a565b9050614345828261460e565b919050565b6000604051905090565b600067ffffffffffffffff82111561436f5761436e614746565b5b61437882614775565b9050602081019050919050565b600067ffffffffffffffff8211156143a05761439f614746565b5b6143a982614775565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061440f82614583565b915061441a83614583565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561444f5761444e6146b9565b5b828201905092915050565b600061446582614583565b915061447083614583565b9250826144805761447f6146e8565b5b828204905092915050565b600061449682614583565b91506144a183614583565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144da576144d96146b9565b5b828202905092915050565b60006144f082614583565b91506144fb83614583565b92508282101561450e5761450d6146b9565b5b828203905092915050565b600061452482614563565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156145c75780820151818401526020810190506145ac565b838111156145d6576000848401525b50505050565b600060028204905060018216806145f457607f821691505b6020821081141561460857614607614717565b5b50919050565b61461782614775565b810181811067ffffffffffffffff8211171561463657614635614746565b5b80604052505050565b600061464a82614583565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561467d5761467c6146b9565b5b600182019050919050565b600061469382614583565b915061469e83614583565b9250826146ae576146ad6146e8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4e616d696e672069732064697361626c65640000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f45786365656465642063686172616374657273206c696d697400000000000000600082015250565b7f457863656564656420746865206c696d6974206f662070726573616c6520697460008201527f656d732070657220616464726573730000000000000000000000000000000000602082015250565b7f56616c75652062656c6f772063757272656e7420707269636500000000000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4368616e67657320617265206c6f636b65640000000000000000000000000000600082015250565b7f457863656564656420746865206e756d626572206f66206974656d7320666f7260008201527f2070726573616c65000000000000000000000000000000000000000000000000602082015250565b7f52657365727665206e756d626572206d7573742062652067726561746572207460008201527f68616e207a65726f000000000000000000000000000000000000000000000000602082015250565b7f457863656564656420746865206c696d6974206f66206974656d7320746f206260008201527f65206d696e746564206174206f6e636500000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f5265736572766520776f756c6420657863656564206d617820737570706c792060008201527f6f66206974656d73000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5265736572766520776f756c6420657863656564206c696d6974000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f546865206164647265737320686173206e6f206173736f63696174656420697460008201527f656d730000000000000000000000000000000000000000000000000000000000602082015250565b7f4f6e6c7920746865206f776e65722063616e206368616e676520746865204e4660008201527f54206e616d650000000000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f66206974656d730000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61504581614519565b811461505057600080fd5b50565b61505c8161452b565b811461506757600080fd5b50565b61507381614537565b811461507e57600080fd5b50565b61508a81614583565b811461509557600080fd5b50565b6150a18161458d565b81146150ac57600080fd5b5056fea2646970667358221220ed838c23993ba099e59b12116e3e39e755e2447ae544bf06b54a336703135ad864736f6c63430008040033

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.