ETH Price: $3,271.29 (-0.86%)

Token

The Lost Glitches (GLITCH)
 

Overview

Max Total Supply

10,000 GLITCH

Holders

2,654

Market

Volume (24H)

0.0014 ETH

Min Price (24H)

$4.58 @ 0.001400 ETH

Max Price (24H)

$4.58 @ 0.001400 ETH
Balance
5 GLITCH
0x229142d62b7d0879a1f7118a00cff5d50512f4ce
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

"The Lost Glitches" is a collection of randomized avatar style artworks.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TheLostGlitches

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 14 : TheLostGlitches.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

/**
 * @title TheLostGlitches contract
 */
contract TheLostGlitches is ERC721Enumerable, ERC721URIStorage, Ownable {
    string public PROVENANCE_HASH = "";
    uint256 public MAX_GLITCHES;
    uint256 public OFFSET_VALUE;
    bool public METADATA_FROZEN;
    bool public PROVENANCE_FROZEN;

    string public baseUri;
    bool public saleIsActive;
    uint256 public mintPrice;
    uint256 public maxPerMint;

    event SetBaseUri(string indexed baseUri);

    modifier whenSaleActive {
        require(saleIsActive, "TheLostGlitches: Sale is not active");
        _;
    }

    modifier whenMetadataNotFrozen {
        require(!METADATA_FROZEN, "TheLostGlitches: Metadata already frozen.");
        _;
    }

    modifier whenProvenanceNotFrozen {
        require(!PROVENANCE_FROZEN, "TheLostGlitches: Provenance already frozen.");
        _;
    }

    constructor() ERC721("The Lost Glitches", "GLITCH") {
        saleIsActive = false;
        MAX_GLITCHES = 10000;
        mintPrice = 75000000000000000; // 0.075 ETH
        maxPerMint = 20;
        METADATA_FROZEN = false;
        PROVENANCE_FROZEN = false;
    }

    // ------------------
    // Explicit overrides
    // ------------------

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

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

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

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

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

    // ------------------
    // Utility view functions
    // ------------------

    function exists(uint256 _tokenId) public view returns (bool) {
        return _exists(_tokenId);
    }

    // ------------------
    // Functions for external minting
    // ------------------

    function mintGlitches(uint256 amount) external payable whenSaleActive {
        require(amount <= maxPerMint, "TheLostGlitches: Amount exceeds max per mint");
        require(totalSupply() + amount <= MAX_GLITCHES, "TheLostGlitches: Purchase would exceed cap");
        require(mintPrice * amount <= msg.value, "TheLostGlitches: Ether value sent is not correct");

        for(uint256 i = 0; i < amount; i++) {
            uint256 mintIndex = totalSupply() + 1;
            if (totalSupply() < MAX_GLITCHES) {
                _safeMint(msg.sender, mintIndex);
            }
        }
    }

    // ------------------
    // Functions for the owner
    // ------------------

    function setMaxPerMint(uint256 _maxPerMint) external onlyOwner {
        maxPerMint = _maxPerMint;
    }

    function setMintPrice(uint256 _mintPrice) external onlyOwner {
        mintPrice = _mintPrice;
    }

    function setBaseUri(string memory _baseUri) external onlyOwner whenMetadataNotFrozen {
        baseUri = _baseUri;
        emit SetBaseUri(baseUri);
    }

    function setTokenURI(uint256 tokenId, string memory _tokenURI) external onlyOwner whenMetadataNotFrozen {
        super._setTokenURI(tokenId, _tokenURI);
    }

    function mintForCommunity(address _to, uint256 _numberOfTokens) external onlyOwner {
        require(_to != address(0), "TheLostGlitches: Cannot mint to zero address.");
        require(totalSupply() + _numberOfTokens <= MAX_GLITCHES, "TheLostGlitches: Minting would exceed cap");

        for(uint256 i = 0; i < _numberOfTokens; i++) {
            uint256 mintIndex = totalSupply() + 1;
            if (totalSupply() < MAX_GLITCHES) {
                _safeMint(_to, mintIndex);
            }
        }
    }

    function setProvenanceHash(string memory _provenanceHash) external onlyOwner whenProvenanceNotFrozen {
        PROVENANCE_HASH = _provenanceHash;
    }

    function setOffsetValue(uint256 _offsetValue) external onlyOwner {
        OFFSET_VALUE = _offsetValue;
    }

    function toggleSaleState() external onlyOwner {
        saleIsActive = !saleIsActive;
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function freezeMetadata() external onlyOwner whenMetadataNotFrozen {
        METADATA_FROZEN = true;
    }

    function freezeProvenance() external onlyOwner whenProvenanceNotFrozen {
        PROVENANCE_FROZEN = true;
    }

    // ------------------
    // Utility function for getting the tokens of a certain address
    // ------------------

    function tokensOfOwner(address _owner) external view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            for (uint256 index; index < tokenCount; index++) {
                result[index] = tokenOfOwnerByIndex(_owner, index);
            }
            return result;
        }
    }
}

File 2 of 14 : 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 3 of 14 : 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 4 of 14 : 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 5 of 14 : 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(to).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 6 of 14 : 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);
}

File 7 of 14 : 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 14 : 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 14 : 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 14 : 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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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 14 : 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 14 : 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 14 : 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 14 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "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":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":"string","name":"baseUri","type":"string"}],"name":"SetBaseUri","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_GLITCHES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"METADATA_FROZEN","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OFFSET_VALUE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE_FROZEN","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezeProvenance","outputs":[],"stateMutability":"nonpayable","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":"maxPerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_numberOfTokens","type":"uint256"}],"name":"mintForCommunity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintGlitches","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerMint","type":"uint256"}],"name":"setMaxPerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_offsetValue","type":"uint256"}],"name":"setOffsetValue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSaleState","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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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"}]

60a06040819052600060808190526200001b91600c916200013c565b503480156200002957600080fd5b506040805180820182526011815270546865204c6f737420476c69746368657360781b60208083019182528351808501909452600684526508e9892a886960d31b90840152815191929162000081916000916200013c565b508051620000979060019060208401906200013c565b505050620000b4620000ae620000e660201b60201c565b620000ea565b6011805460ff19169055612710600d5567010a741a462780006012556014601355600f805461ffff191690556200021f565b3390565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014a90620001e2565b90600052602060002090601f0160209004810192826200016e5760008555620001b9565b82601f106200018957805160ff1916838001178555620001b9565b82800160010185558215620001b9579182015b82811115620001b95782518255916020019190600101906200019c565b50620001c7929150620001cb565b5090565b5b80821115620001c75760008155600101620001cc565b600281046001821680620001f757607f821691505b602082108114156200021957634e487b7160e01b600052602260045260246000fd5b50919050565b613094806200022f6000396000f3fe6080604052600436106102d15760003560e01c80638462151c11610179578063d111515d116100d6578063eb8d24441161008a578063f4a0a52811610064578063f4a0a52814610745578063fdb4953a14610765578063ff1b65561461077a576102d1565b8063eb8d2444146106fd578063f2fde38b14610712578063f43b0d4714610732576102d1565b8063db6242c3116100bb578063db6242c3146106a8578063e7d773a0146106c8578063e985e9c5146106dd576102d1565b8063d111515d1461067e578063daaeec8614610693576102d1565b8063a0bcfc7f1161012d578063ae10ee3511610112578063ae10ee3514610629578063b88d4fde1461063e578063c87b56dd1461065e576102d1565b8063a0bcfc7f146105e9578063a22cb46514610609576102d1565b80638da5cb5b1161015e5780638da5cb5b146105aa57806395d89b41146105bf5780639abc8320146105d4576102d1565b80638462151c1461055d57806384d5f97b1461058a576102d1565b806342842e0e11610232578063507e094f116101e65780636817c76c116101c05780636817c76c1461051357806370a0823114610528578063715018a614610548576102d1565b8063507e094f146104c957806356df7acf146104de5780636352211e146104f3576102d1565b80634e114e19116102175780634e114e19146104695780634f558e79146104895780634f6ccce7146104a9576102d1565b806342842e0e1461043457806345b6be8714610454576102d1565b8063162094c41161028957806323b872dd1161026e57806323b872dd146103df5780632f745c59146103ff5780633ccfd60b1461041f576102d1565b8063162094c41461039d57806318160ddd146103bd576102d1565b8063081812fc116102ba578063081812fc1461032e578063095ea7b31461035b578063109695231461037d576102d1565b806301ffc9a7146102d657806306fdde031461030c575b600080fd5b3480156102e257600080fd5b506102f66102f1366004612321565b61078f565b6040516103039190612573565b60405180910390f35b34801561031857600080fd5b506103216107bc565b604051610303919061257e565b34801561033a57600080fd5b5061034e61034936600461238c565b61084e565b60405161030391906124df565b34801561036757600080fd5b5061037b6103763660046122f8565b61089a565b005b34801561038957600080fd5b5061037b610398366004612359565b610932565b3480156103a957600080fd5b5061037b6103b83660046123a4565b6109b0565b3480156103c957600080fd5b506103d2610a1c565b6040516103039190612eff565b3480156103eb57600080fd5b5061037b6103fa36600461220a565b610a22565b34801561040b57600080fd5b506103d261041a3660046122f8565b610a5a565b34801561042b57600080fd5b5061037b610aac565b34801561044057600080fd5b5061037b61044f36600461220a565b610b1a565b34801561046057600080fd5b506103d2610b35565b34801561047557600080fd5b5061037b6104843660046122f8565b610b3b565b34801561049557600080fd5b506102f66104a436600461238c565b610c24565b3480156104b557600080fd5b506103d26104c436600461238c565b610c2f565b3480156104d557600080fd5b506103d2610c8a565b3480156104ea57600080fd5b506103d2610c90565b3480156104ff57600080fd5b5061034e61050e36600461238c565b610c96565b34801561051f57600080fd5b506103d2610ccb565b34801561053457600080fd5b506103d26105433660046121be565b610cd1565b34801561055457600080fd5b5061037b610d15565b34801561056957600080fd5b5061057d6105783660046121be565b610d60565b604051610303919061252f565b34801561059657600080fd5b5061037b6105a536600461238c565b610e41565b3480156105b657600080fd5b5061034e610e85565b3480156105cb57600080fd5b50610321610e94565b3480156105e057600080fd5b50610321610ea3565b3480156105f557600080fd5b5061037b610604366004612359565b610f31565b34801561061557600080fd5b5061037b6106243660046122be565b610fe9565b34801561063557600080fd5b506102f66110b7565b34801561064a57600080fd5b5061037b610659366004612245565b6110c5565b34801561066a57600080fd5b5061032161067936600461238c565b611104565b34801561068a57600080fd5b5061037b61110f565b34801561069f57600080fd5b5061037b611180565b3480156106b457600080fd5b5061037b6106c336600461238c565b6111d3565b3480156106d457600080fd5b5061037b611217565b3480156106e957600080fd5b506102f66106f83660046121d8565b61128f565b34801561070957600080fd5b506102f66112bd565b34801561071e57600080fd5b5061037b61072d3660046121be565b6112c6565b61037b61074036600461238c565b611337565b34801561075157600080fd5b5061037b61076036600461238c565b61142c565b34801561077157600080fd5b506102f6611470565b34801561078657600080fd5b50610321611479565b60006001600160e01b0319821663780e9d6360e01b14806107b457506107b482611486565b90505b919050565b6060600080546107cb90612fa2565b80601f01602080910402602001604051908101604052809291908181526020018280546107f790612fa2565b80156108445780601f1061081957610100808354040283529160200191610844565b820191906000526020600020905b81548152906001019060200180831161082757829003601f168201915b5050505050905090565b6000610859826114ab565b61087e5760405162461bcd60e51b815260040161087590612b39565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108a582610c96565b9050806001600160a01b0316836001600160a01b031614156108d95760405162461bcd60e51b815260040161087590612d2e565b806001600160a01b03166108eb6114c8565b6001600160a01b031614806109075750610907816106f86114c8565b6109235760405162461bcd60e51b815260040161087590612933565b61092d83836114cc565b505050565b61093a6114c8565b6001600160a01b031661094b610e85565b6001600160a01b0316146109715760405162461bcd60e51b815260040161087590612b85565b600f54610100900460ff16156109995760405162461bcd60e51b815260040161087590612c74565b80516109ac90600c90602084019061207f565b5050565b6109b86114c8565b6001600160a01b03166109c9610e85565b6001600160a01b0316146109ef5760405162461bcd60e51b815260040161087590612b85565b600f5460ff1615610a125760405162461bcd60e51b815260040161087590612591565b6109ac8282611547565b60085490565b610a33610a2d6114c8565b8261158b565b610a4f5760405162461bcd60e51b815260040161087590612de8565b61092d838383611610565b6000610a6583610cd1565b8210610a835760405162461bcd60e51b8152600401610875906125ee565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610ab46114c8565b6001600160a01b0316610ac5610e85565b6001600160a01b031614610aeb5760405162461bcd60e51b815260040161087590612b85565b6040514790339082156108fc029083906000818181858888f193505050501580156109ac573d6000803e3d6000fd5b61092d838383604051806020016040528060008152506110c5565b600d5481565b610b436114c8565b6001600160a01b0316610b54610e85565b6001600160a01b031614610b7a5760405162461bcd60e51b815260040161087590612b85565b6001600160a01b038216610ba05760405162461bcd60e51b815260040161087590612bba565b600d5481610bac610a1c565b610bb69190612f14565b1115610bd45760405162461bcd60e51b815260040161087590612d8b565b60005b8181101561092d576000610be9610a1c565b610bf4906001612f14565b9050600d54610c01610a1c565b1015610c1157610c11848261174a565b5080610c1c81612fd7565b915050610bd7565b60006107b4826114ab565b6000610c39610a1c565b8210610c575760405162461bcd60e51b815260040161087590612e45565b60088281548110610c7857634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b60135481565b600e5481565b6000818152600260205260408120546001600160a01b0316806107b45760405162461bcd60e51b8152600401610875906129ed565b60125481565b60006001600160a01b038216610cf95760405162461bcd60e51b815260040161087590612990565b506001600160a01b031660009081526003602052604090205490565b610d1d6114c8565b6001600160a01b0316610d2e610e85565b6001600160a01b031614610d545760405162461bcd60e51b815260040161087590612b85565b610d5e6000611764565b565b60606000610d6d83610cd1565b905080610d8a5750506040805160008152602081019091526107b7565b60008167ffffffffffffffff811115610db357634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ddc578160200160208202803683370190505b50905060005b82811015610e3157610df48582610a5a565b828281518110610e1457634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610e2981612fd7565b915050610de2565b5091506107b79050565b50919050565b610e496114c8565b6001600160a01b0316610e5a610e85565b6001600160a01b031614610e805760405162461bcd60e51b815260040161087590612b85565b600e55565b600b546001600160a01b031690565b6060600180546107cb90612fa2565b60108054610eb090612fa2565b80601f0160208091040260200160405190810160405280929190818152602001828054610edc90612fa2565b8015610f295780601f10610efe57610100808354040283529160200191610f29565b820191906000526020600020905b815481529060010190602001808311610f0c57829003601f168201915b505050505081565b610f396114c8565b6001600160a01b0316610f4a610e85565b6001600160a01b031614610f705760405162461bcd60e51b815260040161087590612b85565b600f5460ff1615610f935760405162461bcd60e51b815260040161087590612591565b8051610fa690601090602084019061207f565b506010604051610fb69190612444565b604051908190038120907fafa35f42f46f5052816d7c6a2e9406eca98294b20726677862d83b4a7418d8d590600090a250565b610ff16114c8565b6001600160a01b0316826001600160a01b031614156110225760405162461bcd60e51b8152600401610875906127f6565b806005600061102f6114c8565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556110736114c8565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110ab9190612573565b60405180910390a35050565b600f54610100900460ff1681565b6110d66110d06114c8565b8361158b565b6110f25760405162461bcd60e51b815260040161087590612de8565b6110fe848484846117c3565b50505050565b60606107b4826117f6565b6111176114c8565b6001600160a01b0316611128610e85565b6001600160a01b03161461114e5760405162461bcd60e51b815260040161087590612b85565b600f5460ff16156111715760405162461bcd60e51b815260040161087590612591565b600f805460ff19166001179055565b6111886114c8565b6001600160a01b0316611199610e85565b6001600160a01b0316146111bf5760405162461bcd60e51b815260040161087590612b85565b6011805460ff19811660ff90911615179055565b6111db6114c8565b6001600160a01b03166111ec610e85565b6001600160a01b0316146112125760405162461bcd60e51b815260040161087590612b85565b601355565b61121f6114c8565b6001600160a01b0316611230610e85565b6001600160a01b0316146112565760405162461bcd60e51b815260040161087590612b85565b600f54610100900460ff161561127e5760405162461bcd60e51b815260040161087590612c74565b600f805461ff001916610100179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60115460ff1681565b6112ce6114c8565b6001600160a01b03166112df610e85565b6001600160a01b0316146113055760405162461bcd60e51b815260040161087590612b85565b6001600160a01b03811661132b5760405162461bcd60e51b8152600401610875906126a8565b61133481611764565b50565b60115460ff166113595760405162461bcd60e51b8152600401610875906128d6565b60135481111561137b5760405162461bcd60e51b815260040161087590612ea2565b600d5481611387610a1c565b6113919190612f14565b11156113af5760405162461bcd60e51b81526004016108759061282d565b34816012546113be9190612f40565b11156113dc5760405162461bcd60e51b81526004016108759061273c565b60005b818110156109ac5760006113f1610a1c565b6113fc906001612f14565b9050600d54611409610a1c565b101561141957611419338261174a565b508061142481612fd7565b9150506113df565b6114346114c8565b6001600160a01b0316611445610e85565b6001600160a01b03161461146b5760405162461bcd60e51b815260040161087590612b85565b601255565b600f5460ff1681565b600c8054610eb090612fa2565b60006001600160e01b0319821663780e9d6360e01b14806107b457506107b48261190f565b6000908152600260205260409020546001600160a01b0316151590565b3390565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061150e82610c96565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611550826114ab565b61156c5760405162461bcd60e51b815260040161087590612a4a565b6000828152600a60209081526040909120825161092d9284019061207f565b6000611596826114ab565b6115b25760405162461bcd60e51b81526004016108759061288a565b60006115bd83610c96565b9050806001600160a01b0316846001600160a01b031614806115f85750836001600160a01b03166115ed8461084e565b6001600160a01b0316145b806116085750611608818561128f565b949350505050565b826001600160a01b031661162382610c96565b6001600160a01b0316146116495760405162461bcd60e51b815260040161087590612c17565b6001600160a01b03821661166f5760405162461bcd60e51b815260040161087590612799565b61167a838383611981565b6116856000826114cc565b6001600160a01b03831660009081526003602052604081208054600192906116ae908490612f5f565b90915550506001600160a01b03821660009081526003602052604081208054600192906116dc908490612f14565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6109ac82826040518060200160405280600081525061198c565b600b80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6117ce848484611610565b6117da848484846119bf565b6110fe5760405162461bcd60e51b81526004016108759061264b565b6060611801826114ab565b61181d5760405162461bcd60e51b815260040161087590612adc565b6000828152600a60205260408120805461183690612fa2565b80601f016020809104026020016040519081016040528092919081815260200182805461186290612fa2565b80156118af5780601f10611884576101008083540402835291602001916118af565b820191906000526020600020905b81548152906001019060200180831161189257829003601f168201915b5050505050905060006118c0611af3565b90508051600014156118d4575090506107b7565b8151156119065780826040516020016118ee929190612415565b604051602081830303815290604052925050506107b7565b61160884611b02565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061197257506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107b457506107b482611b85565b61092d838383611bb7565b6119968383611c40565b6119a360008484846119bf565b61092d5760405162461bcd60e51b81526004016108759061264b565b60006119d3846001600160a01b0316611d2c565b15611ae857836001600160a01b031663150b7a026119ef6114c8565b8786866040518563ffffffff1660e01b8152600401611a1194939291906124f3565b602060405180830381600087803b158015611a2b57600080fd5b505af1925050508015611a5b575060408051601f3d908101601f19168201909252611a589181019061233d565b60015b611ab5573d808015611a89576040519150601f19603f3d011682016040523d82523d6000602084013e611a8e565b606091505b508051611aad5760405162461bcd60e51b81526004016108759061264b565b805181602001fd5b6001600160e01b0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050611608565b506001949350505050565b6060601080546107cb90612fa2565b6060611b0d826114ab565b611b295760405162461bcd60e51b815260040161087590612cd1565b6000611b33611af3565b90506000815111611b535760405180602001604052806000815250611b7e565b80611b5d84611d32565b604051602001611b6e929190612415565b6040516020818303038152906040525b9392505050565b6001600160e01b031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b611bc283838361092d565b6001600160a01b038316611bde57611bd981611e81565b611c01565b816001600160a01b0316836001600160a01b031614611c0157611c018382611ec5565b6001600160a01b038216611c1d57611c1881611f62565b61092d565b826001600160a01b0316826001600160a01b03161461092d5761092d828261203b565b6001600160a01b038216611c665760405162461bcd60e51b815260040161087590612aa7565b611c6f816114ab565b15611c8c5760405162461bcd60e51b815260040161087590612705565b611c9860008383611981565b6001600160a01b0382166000908152600360205260408120805460019290611cc1908490612f14565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b606081611d73575060408051808201909152600181527f300000000000000000000000000000000000000000000000000000000000000060208201526107b7565b8160005b8115611d9d5780611d8781612fd7565b9150611d969050600a83612f2c565b9150611d77565b60008167ffffffffffffffff811115611dc657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611df0576020820181803683370190505b5090505b841561160857611e05600183612f5f565b9150611e12600a86612ff2565b611e1d906030612f14565b60f81b818381518110611e4057634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611e7a600a86612f2c565b9450611df4565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001611ed284610cd1565b611edc9190612f5f565b600083815260076020526040902054909150808214611f2f576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611f7490600190612f5f565b60008381526009602052604081205460088054939450909284908110611faa57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611fd957634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061201f57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061204683610cd1565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461208b90612fa2565b90600052602060002090601f0160209004810192826120ad57600085556120f3565b82601f106120c657805160ff19168380011785556120f3565b828001600101855582156120f3579182015b828111156120f35782518255916020019190600101906120d8565b506120ff929150612103565b5090565b5b808211156120ff5760008155600101612104565b600067ffffffffffffffff8084111561213357612133613032565b604051601f8501601f19168101602001828111828210171561215757612157613032565b60405284815291508183850186101561216f57600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146107b757600080fd5b600082601f8301126121af578081fd5b611b7e83833560208501612118565b6000602082840312156121cf578081fd5b611b7e82612188565b600080604083850312156121ea578081fd5b6121f383612188565b915061220160208401612188565b90509250929050565b60008060006060848603121561221e578081fd5b61222784612188565b925061223560208501612188565b9150604084013590509250925092565b6000806000806080858703121561225a578081fd5b61226385612188565b935061227160208601612188565b925060408501359150606085013567ffffffffffffffff811115612293578182fd5b8501601f810187136122a3578182fd5b6122b287823560208401612118565b91505092959194509250565b600080604083850312156122d0578182fd5b6122d983612188565b9150602083013580151581146122ed578182fd5b809150509250929050565b6000806040838503121561230a578182fd5b61231383612188565b946020939093013593505050565b600060208284031215612332578081fd5b8135611b7e81613048565b60006020828403121561234e578081fd5b8151611b7e81613048565b60006020828403121561236a578081fd5b813567ffffffffffffffff811115612380578182fd5b6116088482850161219f565b60006020828403121561239d578081fd5b5035919050565b600080604083850312156123b6578182fd5b82359150602083013567ffffffffffffffff8111156123d3578182fd5b6123df8582860161219f565b9150509250929050565b60008151808452612401816020860160208601612f76565b601f01601f19169290920160200192915050565b60008351612427818460208801612f76565b83519083019061243b818360208801612f76565b01949350505050565b815460009081906002810460018083168061246057607f831692505b602080841082141561248057634e487b7160e01b87526022600452602487fd5b81801561249457600181146124a5576124d1565b60ff198616895284890196506124d1565b6124ae8a612f08565b885b868110156124c95781548b8201529085019083016124b0565b505084890196505b509498975050505050505050565b6001600160a01b0391909116815260200190565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261252560808301846123e9565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156125675783518352928401929184019160010161254b565b50909695505050505050565b901515815260200190565b600060208252611b7e60208301846123e9565b60208082526029908201527f5468654c6f7374476c6974636865733a204d6574616461746120616c7265616460408201527f792066726f7a656e2e0000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201527f74206f6620626f756e6473000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526030908201527f5468654c6f7374476c6974636865733a2045746865722076616c75652073656e60408201527f74206973206e6f7420636f727265637400000000000000000000000000000000606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602a908201527f5468654c6f7374476c6974636865733a20507572636861736520776f756c642060408201527f6578636565642063617000000000000000000000000000000000000000000000606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526023908201527f5468654c6f7374476c6974636865733a2053616c65206973206e6f742061637460408201527f6976650000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606082015260800190565b6020808252602e908201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60408201527f6578697374656e7420746f6b656e000000000000000000000000000000000000606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526031908201527f45524337323155524953746f726167653a2055524920717565727920666f722060408201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602d908201527f5468654c6f7374476c6974636865733a2043616e6e6f74206d696e7420746f2060408201527f7a65726f20616464726573732e00000000000000000000000000000000000000606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f5468654c6f7374476c6974636865733a2050726f76656e616e636520616c726560408201527f6164792066726f7a656e2e000000000000000000000000000000000000000000606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560408201527f7200000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f5468654c6f7374476c6974636865733a204d696e74696e6720776f756c64206560408201527f7863656564206361700000000000000000000000000000000000000000000000606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201527f7574206f6620626f756e64730000000000000000000000000000000000000000606082015260800190565b6020808252602c908201527f5468654c6f7374476c6974636865733a20416d6f756e7420657863656564732060408201527f6d617820706572206d696e740000000000000000000000000000000000000000606082015260800190565b90815260200190565b60009081526020902090565b60008219821115612f2757612f27613006565b500190565b600082612f3b57612f3b61301c565b500490565b6000816000190483118215151615612f5a57612f5a613006565b500290565b600082821015612f7157612f71613006565b500390565b60005b83811015612f91578181015183820152602001612f79565b838111156110fe5750506000910152565b600281046001821680612fb657607f821691505b60208210811415610e3b57634e487b7160e01b600052602260045260246000fd5b6000600019821415612feb57612feb613006565b5060010190565b6000826130015761300161301c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461133457600080fdfea2646970667358221220ce50b4d256c484414615c7b0ffb593baf255db9c841195415ad47a4ef2288d4d64736f6c63430008000033

Deployed Bytecode

0x6080604052600436106102d15760003560e01c80638462151c11610179578063d111515d116100d6578063eb8d24441161008a578063f4a0a52811610064578063f4a0a52814610745578063fdb4953a14610765578063ff1b65561461077a576102d1565b8063eb8d2444146106fd578063f2fde38b14610712578063f43b0d4714610732576102d1565b8063db6242c3116100bb578063db6242c3146106a8578063e7d773a0146106c8578063e985e9c5146106dd576102d1565b8063d111515d1461067e578063daaeec8614610693576102d1565b8063a0bcfc7f1161012d578063ae10ee3511610112578063ae10ee3514610629578063b88d4fde1461063e578063c87b56dd1461065e576102d1565b8063a0bcfc7f146105e9578063a22cb46514610609576102d1565b80638da5cb5b1161015e5780638da5cb5b146105aa57806395d89b41146105bf5780639abc8320146105d4576102d1565b80638462151c1461055d57806384d5f97b1461058a576102d1565b806342842e0e11610232578063507e094f116101e65780636817c76c116101c05780636817c76c1461051357806370a0823114610528578063715018a614610548576102d1565b8063507e094f146104c957806356df7acf146104de5780636352211e146104f3576102d1565b80634e114e19116102175780634e114e19146104695780634f558e79146104895780634f6ccce7146104a9576102d1565b806342842e0e1461043457806345b6be8714610454576102d1565b8063162094c41161028957806323b872dd1161026e57806323b872dd146103df5780632f745c59146103ff5780633ccfd60b1461041f576102d1565b8063162094c41461039d57806318160ddd146103bd576102d1565b8063081812fc116102ba578063081812fc1461032e578063095ea7b31461035b578063109695231461037d576102d1565b806301ffc9a7146102d657806306fdde031461030c575b600080fd5b3480156102e257600080fd5b506102f66102f1366004612321565b61078f565b6040516103039190612573565b60405180910390f35b34801561031857600080fd5b506103216107bc565b604051610303919061257e565b34801561033a57600080fd5b5061034e61034936600461238c565b61084e565b60405161030391906124df565b34801561036757600080fd5b5061037b6103763660046122f8565b61089a565b005b34801561038957600080fd5b5061037b610398366004612359565b610932565b3480156103a957600080fd5b5061037b6103b83660046123a4565b6109b0565b3480156103c957600080fd5b506103d2610a1c565b6040516103039190612eff565b3480156103eb57600080fd5b5061037b6103fa36600461220a565b610a22565b34801561040b57600080fd5b506103d261041a3660046122f8565b610a5a565b34801561042b57600080fd5b5061037b610aac565b34801561044057600080fd5b5061037b61044f36600461220a565b610b1a565b34801561046057600080fd5b506103d2610b35565b34801561047557600080fd5b5061037b6104843660046122f8565b610b3b565b34801561049557600080fd5b506102f66104a436600461238c565b610c24565b3480156104b557600080fd5b506103d26104c436600461238c565b610c2f565b3480156104d557600080fd5b506103d2610c8a565b3480156104ea57600080fd5b506103d2610c90565b3480156104ff57600080fd5b5061034e61050e36600461238c565b610c96565b34801561051f57600080fd5b506103d2610ccb565b34801561053457600080fd5b506103d26105433660046121be565b610cd1565b34801561055457600080fd5b5061037b610d15565b34801561056957600080fd5b5061057d6105783660046121be565b610d60565b604051610303919061252f565b34801561059657600080fd5b5061037b6105a536600461238c565b610e41565b3480156105b657600080fd5b5061034e610e85565b3480156105cb57600080fd5b50610321610e94565b3480156105e057600080fd5b50610321610ea3565b3480156105f557600080fd5b5061037b610604366004612359565b610f31565b34801561061557600080fd5b5061037b6106243660046122be565b610fe9565b34801561063557600080fd5b506102f66110b7565b34801561064a57600080fd5b5061037b610659366004612245565b6110c5565b34801561066a57600080fd5b5061032161067936600461238c565b611104565b34801561068a57600080fd5b5061037b61110f565b34801561069f57600080fd5b5061037b611180565b3480156106b457600080fd5b5061037b6106c336600461238c565b6111d3565b3480156106d457600080fd5b5061037b611217565b3480156106e957600080fd5b506102f66106f83660046121d8565b61128f565b34801561070957600080fd5b506102f66112bd565b34801561071e57600080fd5b5061037b61072d3660046121be565b6112c6565b61037b61074036600461238c565b611337565b34801561075157600080fd5b5061037b61076036600461238c565b61142c565b34801561077157600080fd5b506102f6611470565b34801561078657600080fd5b50610321611479565b60006001600160e01b0319821663780e9d6360e01b14806107b457506107b482611486565b90505b919050565b6060600080546107cb90612fa2565b80601f01602080910402602001604051908101604052809291908181526020018280546107f790612fa2565b80156108445780601f1061081957610100808354040283529160200191610844565b820191906000526020600020905b81548152906001019060200180831161082757829003601f168201915b5050505050905090565b6000610859826114ab565b61087e5760405162461bcd60e51b815260040161087590612b39565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108a582610c96565b9050806001600160a01b0316836001600160a01b031614156108d95760405162461bcd60e51b815260040161087590612d2e565b806001600160a01b03166108eb6114c8565b6001600160a01b031614806109075750610907816106f86114c8565b6109235760405162461bcd60e51b815260040161087590612933565b61092d83836114cc565b505050565b61093a6114c8565b6001600160a01b031661094b610e85565b6001600160a01b0316146109715760405162461bcd60e51b815260040161087590612b85565b600f54610100900460ff16156109995760405162461bcd60e51b815260040161087590612c74565b80516109ac90600c90602084019061207f565b5050565b6109b86114c8565b6001600160a01b03166109c9610e85565b6001600160a01b0316146109ef5760405162461bcd60e51b815260040161087590612b85565b600f5460ff1615610a125760405162461bcd60e51b815260040161087590612591565b6109ac8282611547565b60085490565b610a33610a2d6114c8565b8261158b565b610a4f5760405162461bcd60e51b815260040161087590612de8565b61092d838383611610565b6000610a6583610cd1565b8210610a835760405162461bcd60e51b8152600401610875906125ee565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610ab46114c8565b6001600160a01b0316610ac5610e85565b6001600160a01b031614610aeb5760405162461bcd60e51b815260040161087590612b85565b6040514790339082156108fc029083906000818181858888f193505050501580156109ac573d6000803e3d6000fd5b61092d838383604051806020016040528060008152506110c5565b600d5481565b610b436114c8565b6001600160a01b0316610b54610e85565b6001600160a01b031614610b7a5760405162461bcd60e51b815260040161087590612b85565b6001600160a01b038216610ba05760405162461bcd60e51b815260040161087590612bba565b600d5481610bac610a1c565b610bb69190612f14565b1115610bd45760405162461bcd60e51b815260040161087590612d8b565b60005b8181101561092d576000610be9610a1c565b610bf4906001612f14565b9050600d54610c01610a1c565b1015610c1157610c11848261174a565b5080610c1c81612fd7565b915050610bd7565b60006107b4826114ab565b6000610c39610a1c565b8210610c575760405162461bcd60e51b815260040161087590612e45565b60088281548110610c7857634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b60135481565b600e5481565b6000818152600260205260408120546001600160a01b0316806107b45760405162461bcd60e51b8152600401610875906129ed565b60125481565b60006001600160a01b038216610cf95760405162461bcd60e51b815260040161087590612990565b506001600160a01b031660009081526003602052604090205490565b610d1d6114c8565b6001600160a01b0316610d2e610e85565b6001600160a01b031614610d545760405162461bcd60e51b815260040161087590612b85565b610d5e6000611764565b565b60606000610d6d83610cd1565b905080610d8a5750506040805160008152602081019091526107b7565b60008167ffffffffffffffff811115610db357634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ddc578160200160208202803683370190505b50905060005b82811015610e3157610df48582610a5a565b828281518110610e1457634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610e2981612fd7565b915050610de2565b5091506107b79050565b50919050565b610e496114c8565b6001600160a01b0316610e5a610e85565b6001600160a01b031614610e805760405162461bcd60e51b815260040161087590612b85565b600e55565b600b546001600160a01b031690565b6060600180546107cb90612fa2565b60108054610eb090612fa2565b80601f0160208091040260200160405190810160405280929190818152602001828054610edc90612fa2565b8015610f295780601f10610efe57610100808354040283529160200191610f29565b820191906000526020600020905b815481529060010190602001808311610f0c57829003601f168201915b505050505081565b610f396114c8565b6001600160a01b0316610f4a610e85565b6001600160a01b031614610f705760405162461bcd60e51b815260040161087590612b85565b600f5460ff1615610f935760405162461bcd60e51b815260040161087590612591565b8051610fa690601090602084019061207f565b506010604051610fb69190612444565b604051908190038120907fafa35f42f46f5052816d7c6a2e9406eca98294b20726677862d83b4a7418d8d590600090a250565b610ff16114c8565b6001600160a01b0316826001600160a01b031614156110225760405162461bcd60e51b8152600401610875906127f6565b806005600061102f6114c8565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556110736114c8565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110ab9190612573565b60405180910390a35050565b600f54610100900460ff1681565b6110d66110d06114c8565b8361158b565b6110f25760405162461bcd60e51b815260040161087590612de8565b6110fe848484846117c3565b50505050565b60606107b4826117f6565b6111176114c8565b6001600160a01b0316611128610e85565b6001600160a01b03161461114e5760405162461bcd60e51b815260040161087590612b85565b600f5460ff16156111715760405162461bcd60e51b815260040161087590612591565b600f805460ff19166001179055565b6111886114c8565b6001600160a01b0316611199610e85565b6001600160a01b0316146111bf5760405162461bcd60e51b815260040161087590612b85565b6011805460ff19811660ff90911615179055565b6111db6114c8565b6001600160a01b03166111ec610e85565b6001600160a01b0316146112125760405162461bcd60e51b815260040161087590612b85565b601355565b61121f6114c8565b6001600160a01b0316611230610e85565b6001600160a01b0316146112565760405162461bcd60e51b815260040161087590612b85565b600f54610100900460ff161561127e5760405162461bcd60e51b815260040161087590612c74565b600f805461ff001916610100179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60115460ff1681565b6112ce6114c8565b6001600160a01b03166112df610e85565b6001600160a01b0316146113055760405162461bcd60e51b815260040161087590612b85565b6001600160a01b03811661132b5760405162461bcd60e51b8152600401610875906126a8565b61133481611764565b50565b60115460ff166113595760405162461bcd60e51b8152600401610875906128d6565b60135481111561137b5760405162461bcd60e51b815260040161087590612ea2565b600d5481611387610a1c565b6113919190612f14565b11156113af5760405162461bcd60e51b81526004016108759061282d565b34816012546113be9190612f40565b11156113dc5760405162461bcd60e51b81526004016108759061273c565b60005b818110156109ac5760006113f1610a1c565b6113fc906001612f14565b9050600d54611409610a1c565b101561141957611419338261174a565b508061142481612fd7565b9150506113df565b6114346114c8565b6001600160a01b0316611445610e85565b6001600160a01b03161461146b5760405162461bcd60e51b815260040161087590612b85565b601255565b600f5460ff1681565b600c8054610eb090612fa2565b60006001600160e01b0319821663780e9d6360e01b14806107b457506107b48261190f565b6000908152600260205260409020546001600160a01b0316151590565b3390565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061150e82610c96565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611550826114ab565b61156c5760405162461bcd60e51b815260040161087590612a4a565b6000828152600a60209081526040909120825161092d9284019061207f565b6000611596826114ab565b6115b25760405162461bcd60e51b81526004016108759061288a565b60006115bd83610c96565b9050806001600160a01b0316846001600160a01b031614806115f85750836001600160a01b03166115ed8461084e565b6001600160a01b0316145b806116085750611608818561128f565b949350505050565b826001600160a01b031661162382610c96565b6001600160a01b0316146116495760405162461bcd60e51b815260040161087590612c17565b6001600160a01b03821661166f5760405162461bcd60e51b815260040161087590612799565b61167a838383611981565b6116856000826114cc565b6001600160a01b03831660009081526003602052604081208054600192906116ae908490612f5f565b90915550506001600160a01b03821660009081526003602052604081208054600192906116dc908490612f14565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6109ac82826040518060200160405280600081525061198c565b600b80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6117ce848484611610565b6117da848484846119bf565b6110fe5760405162461bcd60e51b81526004016108759061264b565b6060611801826114ab565b61181d5760405162461bcd60e51b815260040161087590612adc565b6000828152600a60205260408120805461183690612fa2565b80601f016020809104026020016040519081016040528092919081815260200182805461186290612fa2565b80156118af5780601f10611884576101008083540402835291602001916118af565b820191906000526020600020905b81548152906001019060200180831161189257829003601f168201915b5050505050905060006118c0611af3565b90508051600014156118d4575090506107b7565b8151156119065780826040516020016118ee929190612415565b604051602081830303815290604052925050506107b7565b61160884611b02565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061197257506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107b457506107b482611b85565b61092d838383611bb7565b6119968383611c40565b6119a360008484846119bf565b61092d5760405162461bcd60e51b81526004016108759061264b565b60006119d3846001600160a01b0316611d2c565b15611ae857836001600160a01b031663150b7a026119ef6114c8565b8786866040518563ffffffff1660e01b8152600401611a1194939291906124f3565b602060405180830381600087803b158015611a2b57600080fd5b505af1925050508015611a5b575060408051601f3d908101601f19168201909252611a589181019061233d565b60015b611ab5573d808015611a89576040519150601f19603f3d011682016040523d82523d6000602084013e611a8e565b606091505b508051611aad5760405162461bcd60e51b81526004016108759061264b565b805181602001fd5b6001600160e01b0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050611608565b506001949350505050565b6060601080546107cb90612fa2565b6060611b0d826114ab565b611b295760405162461bcd60e51b815260040161087590612cd1565b6000611b33611af3565b90506000815111611b535760405180602001604052806000815250611b7e565b80611b5d84611d32565b604051602001611b6e929190612415565b6040516020818303038152906040525b9392505050565b6001600160e01b031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b611bc283838361092d565b6001600160a01b038316611bde57611bd981611e81565b611c01565b816001600160a01b0316836001600160a01b031614611c0157611c018382611ec5565b6001600160a01b038216611c1d57611c1881611f62565b61092d565b826001600160a01b0316826001600160a01b03161461092d5761092d828261203b565b6001600160a01b038216611c665760405162461bcd60e51b815260040161087590612aa7565b611c6f816114ab565b15611c8c5760405162461bcd60e51b815260040161087590612705565b611c9860008383611981565b6001600160a01b0382166000908152600360205260408120805460019290611cc1908490612f14565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b606081611d73575060408051808201909152600181527f300000000000000000000000000000000000000000000000000000000000000060208201526107b7565b8160005b8115611d9d5780611d8781612fd7565b9150611d969050600a83612f2c565b9150611d77565b60008167ffffffffffffffff811115611dc657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611df0576020820181803683370190505b5090505b841561160857611e05600183612f5f565b9150611e12600a86612ff2565b611e1d906030612f14565b60f81b818381518110611e4057634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611e7a600a86612f2c565b9450611df4565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001611ed284610cd1565b611edc9190612f5f565b600083815260076020526040902054909150808214611f2f576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611f7490600190612f5f565b60008381526009602052604081205460088054939450909284908110611faa57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611fd957634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061201f57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061204683610cd1565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461208b90612fa2565b90600052602060002090601f0160209004810192826120ad57600085556120f3565b82601f106120c657805160ff19168380011785556120f3565b828001600101855582156120f3579182015b828111156120f35782518255916020019190600101906120d8565b506120ff929150612103565b5090565b5b808211156120ff5760008155600101612104565b600067ffffffffffffffff8084111561213357612133613032565b604051601f8501601f19168101602001828111828210171561215757612157613032565b60405284815291508183850186101561216f57600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146107b757600080fd5b600082601f8301126121af578081fd5b611b7e83833560208501612118565b6000602082840312156121cf578081fd5b611b7e82612188565b600080604083850312156121ea578081fd5b6121f383612188565b915061220160208401612188565b90509250929050565b60008060006060848603121561221e578081fd5b61222784612188565b925061223560208501612188565b9150604084013590509250925092565b6000806000806080858703121561225a578081fd5b61226385612188565b935061227160208601612188565b925060408501359150606085013567ffffffffffffffff811115612293578182fd5b8501601f810187136122a3578182fd5b6122b287823560208401612118565b91505092959194509250565b600080604083850312156122d0578182fd5b6122d983612188565b9150602083013580151581146122ed578182fd5b809150509250929050565b6000806040838503121561230a578182fd5b61231383612188565b946020939093013593505050565b600060208284031215612332578081fd5b8135611b7e81613048565b60006020828403121561234e578081fd5b8151611b7e81613048565b60006020828403121561236a578081fd5b813567ffffffffffffffff811115612380578182fd5b6116088482850161219f565b60006020828403121561239d578081fd5b5035919050565b600080604083850312156123b6578182fd5b82359150602083013567ffffffffffffffff8111156123d3578182fd5b6123df8582860161219f565b9150509250929050565b60008151808452612401816020860160208601612f76565b601f01601f19169290920160200192915050565b60008351612427818460208801612f76565b83519083019061243b818360208801612f76565b01949350505050565b815460009081906002810460018083168061246057607f831692505b602080841082141561248057634e487b7160e01b87526022600452602487fd5b81801561249457600181146124a5576124d1565b60ff198616895284890196506124d1565b6124ae8a612f08565b885b868110156124c95781548b8201529085019083016124b0565b505084890196505b509498975050505050505050565b6001600160a01b0391909116815260200190565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261252560808301846123e9565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156125675783518352928401929184019160010161254b565b50909695505050505050565b901515815260200190565b600060208252611b7e60208301846123e9565b60208082526029908201527f5468654c6f7374476c6974636865733a204d6574616461746120616c7265616460408201527f792066726f7a656e2e0000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201527f74206f6620626f756e6473000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526030908201527f5468654c6f7374476c6974636865733a2045746865722076616c75652073656e60408201527f74206973206e6f7420636f727265637400000000000000000000000000000000606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602a908201527f5468654c6f7374476c6974636865733a20507572636861736520776f756c642060408201527f6578636565642063617000000000000000000000000000000000000000000000606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526023908201527f5468654c6f7374476c6974636865733a2053616c65206973206e6f742061637460408201527f6976650000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606082015260800190565b6020808252602e908201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60408201527f6578697374656e7420746f6b656e000000000000000000000000000000000000606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526031908201527f45524337323155524953746f726167653a2055524920717565727920666f722060408201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602d908201527f5468654c6f7374476c6974636865733a2043616e6e6f74206d696e7420746f2060408201527f7a65726f20616464726573732e00000000000000000000000000000000000000606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f5468654c6f7374476c6974636865733a2050726f76656e616e636520616c726560408201527f6164792066726f7a656e2e000000000000000000000000000000000000000000606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560408201527f7200000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f5468654c6f7374476c6974636865733a204d696e74696e6720776f756c64206560408201527f7863656564206361700000000000000000000000000000000000000000000000606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201527f7574206f6620626f756e64730000000000000000000000000000000000000000606082015260800190565b6020808252602c908201527f5468654c6f7374476c6974636865733a20416d6f756e7420657863656564732060408201527f6d617820706572206d696e740000000000000000000000000000000000000000606082015260800190565b90815260200190565b60009081526020902090565b60008219821115612f2757612f27613006565b500190565b600082612f3b57612f3b61301c565b500490565b6000816000190483118215151615612f5a57612f5a613006565b500290565b600082821015612f7157612f71613006565b500390565b60005b83811015612f91578181015183820152602001612f79565b838111156110fe5750506000910152565b600281046001821680612fb657607f821691505b60208210811415610e3b57634e487b7160e01b600052602260045260246000fd5b6000600019821415612feb57612feb613006565b5060010190565b6000826130015761300161301c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461133457600080fdfea2646970667358221220ce50b4d256c484414615c7b0ffb593baf255db9c841195415ad47a4ef2288d4d64736f6c63430008000033

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.