ETH Price: $3,345.45 (-1.28%)

Token

Love by Milan Quadens (LOVE)
 

Overview

Max Total Supply

2,000 LOVE

Holders

1,021

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
derekgmi.eth
Balance
1 LOVE
0x533c4a6d478a47e2707a85bc62cfc75cd0f8d612
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

This is Milan Quadens first-ever NFT collection - Powered by TheMintPass

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Love

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : Love.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @author Nathan G

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract Love is ERC721Enumerable, Ownable, ReentrancyGuard {

    using Counters for Counters.Counter;
    using Strings for uint256;

    bytes32 public merkleRoot;

    Counters.Counter private _nftIdCounter;

    uint public constant MAX_SUPPLY = 2611;

    string public baseURI;
    string public notRevealedURI;
    string public baseExtension = ".json";

    bool public isRevealed = false;
    bool public isMintOpen = false;
    bool public isPublicSaleOpen = false;
    mapping(address => uint) public remainingToken;
    mapping(address => bool) public isRemainingSet;
    mapping(address => bool) public isGenesisRemainingSet;

    address private _owner;

    constructor() ERC721("Love by Milan Quadens", "LOVE") {
        transferOwnership(msg.sender);
    }

    function openMint(bool _isMintOpen) external onlyOwner {
        isMintOpen = _isMintOpen;
    }

    function openPublicSale(bool _isPublicSaleOpen) external onlyOwner {
        isPublicSaleOpen = _isPublicSaleOpen;
    }

    function setMerkleRoot(bytes32 _newMerkleRoot) external onlyOwner {
        merkleRoot = _newMerkleRoot;
    }


    function setBaseUri(string memory _newBaseURI) external onlyOwner {
        baseURI = _newBaseURI;
    }

    function setNotRevealURI(string memory _notRevealedURI) external onlyOwner {
        notRevealedURI = _notRevealedURI;
    }

    function reveal() external onlyOwner {
        isRevealed = true;
    }

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

    function mint(uint numberOfTokens, bytes32[] calldata _merkleProof, uint balance) external nonReentrant {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));

        require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'This address is not a holder.');
        require(isMintOpen, 'The mint is not open.');
        require(totalSupply() + numberOfTokens <= MAX_SUPPLY, 'Purchase would exceed max tokens.');
        if (!isGenesisRemainingSet[msg.sender] && !isPublicSaleOpen) {
            isGenesisRemainingSet[msg.sender] = true;
            remainingToken[msg.sender] = balance;
        } else if (!isRemainingSet[msg.sender] && isPublicSaleOpen) {
            isRemainingSet[msg.sender] = true;
            remainingToken[msg.sender] = balance;
        }
        require(numberOfTokens <= remainingToken[msg.sender], 'Exceeded max token purchase.');
        for (uint i = 0; i < numberOfTokens; i++) {
            _nftIdCounter.increment();
            _safeMint(msg.sender, _nftIdCounter.current());
        }
        remainingToken[msg.sender] -= numberOfTokens;
    }

    function tokenURI(uint _nftId) public view override(ERC721) returns (string memory) {
        require(_exists(_nftId), "This NFT doesn't exist.");
        if (isRevealed == false) {
            return notRevealedURI;
        }

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

    function reserve(uint n) external onlyOwner {
        require(totalSupply() + n <= MAX_SUPPLY, 'Purchase would exceed max tokens.');
        for (uint i = 0; i < n; i++) {
            _nftIdCounter.increment();
            _safeMint(msg.sender, _nftIdCounter.current());
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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 5 of 16 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 7 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

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

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

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"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":[{"internalType":"address","name":"","type":"address"}],"name":"isGenesisRemainingSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isRemainingSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"balance","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_isMintOpen","type":"bool"}],"name":"openMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleOpen","type":"bool"}],"name":"openPublicSale","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"","type":"address"}],"name":"remainingToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"_nftId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060109080519060200190620000519291906200039e565b506000601160006101000a81548160ff0219169083151502179055506000601160016101000a81548160ff0219169083151502179055506000601160026101000a81548160ff021916908315150217905550348015620000b057600080fd5b506040518060400160405280601581526020017f4c6f7665206279204d696c616e2051756164656e7300000000000000000000008152506040518060400160405280600481526020017f4c4f5645000000000000000000000000000000000000000000000000000000008152508160009080519060200190620001359291906200039e565b5080600190805190602001906200014e9291906200039e565b50505062000171620001656200019060201b60201c565b6200019860201b60201c565b6001600b819055506200018a336200025e60201b60201c565b620005ce565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200026e6200019060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002946200037460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002ed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002e490620004be565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000357906200049c565b60405180910390fd5b62000371816200019860201b60201c565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003ac90620004f1565b90600052602060002090601f016020900481019282620003d057600085556200041c565b82601f10620003eb57805160ff19168380011785556200041c565b828001600101855582156200041c579182015b828111156200041b578251825591602001919060010190620003fe565b5b5090506200042b91906200042f565b5090565b5b808211156200044a57600081600090555060010162000430565b5090565b60006200045d602683620004e0565b91506200046a8262000556565b604082019050919050565b600062000484602083620004e0565b91506200049182620005a5565b602082019050919050565b60006020820190508181036000830152620004b7816200044e565b9050919050565b60006020820190508181036000830152620004d98162000475565b9050919050565b600082825260208201905092915050565b600060028204905060018216806200050a57607f821691505b6020821081141562000521576200052062000527565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b614a6880620005de6000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c80636352211e1161013057806395d89b41116100b8578063c66828621161007c578063c668286214610665578063c87b56dd14610683578063e7b52ad6146106b3578063e985e9c5146106e3578063f2fde38b1461071357610232565b806395d89b41146105e9578063a0bcfc7f14610607578063a22cb46514610623578063a475b5dd1461063f578063b88d4fde1461064957610232565b806372250380116100ff57806372250380146105455780637cb6475914610563578063819b25ba1461057f5780638da5cb5b1461059b5780638ec0d376146105b957610232565b80636352211e146104bd5780636c0360eb146104ed57806370a082311461050b578063715018a61461053b57610232565b80632eb4a7ab116101be5780634f6ccce7116101825780634f6ccce71461040757806354214f691461043757806358a85bca146104555780635accac99146104715780635e21b28a1461048d57610232565b80632eb4a7ab146103635780632f745c591461038157806332cb6b0c146103b157806342842e0e146103cf5780634dc41b02146103eb57610232565b806318160ddd1161020557806318160ddd146102d157806319908016146102ef5780631a6949e31461030d5780631ff7712f1461032b57806323b872dd1461034757610232565b806301ffc9a71461023757806306fdde0314610267578063081812fc14610285578063095ea7b3146102b5575b600080fd5b610251600480360381019061024c91906135b2565b61072f565b60405161025e9190613c6a565b60405180910390f35b61026f6107a9565b60405161027c9190613ca0565b60405180910390f35b61029f600480360381019061029a9190613645565b61083b565b6040516102ac9190613c03565b60405180910390f35b6102cf60048036038101906102ca9190613524565b6108c0565b005b6102d96109d8565b6040516102e69190613fa2565b60405180910390f35b6102f76109e5565b6040516103049190613c6a565b60405180910390f35b6103156109f8565b6040516103229190613c6a565b60405180910390f35b6103456004803603810190610340919061366e565b610a0b565b005b610361600480360381019061035c919061341e565b610ef0565b005b61036b610f50565b6040516103789190613c85565b60405180910390f35b61039b60048036038101906103969190613524565b610f56565b6040516103a89190613fa2565b60405180910390f35b6103b9610ffb565b6040516103c69190613fa2565b60405180910390f35b6103e960048036038101906103e4919061341e565b611001565b005b61040560048036038101906104009190613560565b611021565b005b610421600480360381019061041c9190613645565b6110ba565b60405161042e9190613fa2565b60405180910390f35b61043f611151565b60405161044c9190613c6a565b60405180910390f35b61046f600480360381019061046a9190613560565b611164565b005b61048b60048036038101906104869190613604565b6111fd565b005b6104a760048036038101906104a291906133b9565b611293565b6040516104b49190613c6a565b60405180910390f35b6104d760048036038101906104d29190613645565b6112b3565b6040516104e49190613c03565b60405180910390f35b6104f5611365565b6040516105029190613ca0565b60405180910390f35b610525600480360381019061052091906133b9565b6113f3565b6040516105329190613fa2565b60405180910390f35b6105436114ab565b005b61054d611533565b60405161055a9190613ca0565b60405180910390f35b61057d60048036038101906105789190613589565b6115c1565b005b61059960048036038101906105949190613645565b611647565b005b6105a3611759565b6040516105b09190613c03565b60405180910390f35b6105d360048036038101906105ce91906133b9565b611783565b6040516105e09190613fa2565b60405180910390f35b6105f161179b565b6040516105fe9190613ca0565b60405180910390f35b610621600480360381019061061c9190613604565b61182d565b005b61063d600480360381019061063891906134e8565b6118c3565b005b6106476118d9565b005b610663600480360381019061065e919061346d565b611972565b005b61066d6119d4565b60405161067a9190613ca0565b60405180910390f35b61069d60048036038101906106989190613645565b611a62565b6040516106aa9190613ca0565b60405180910390f35b6106cd60048036038101906106c891906133b9565b611bbb565b6040516106da9190613c6a565b60405180910390f35b6106fd60048036038101906106f891906133e2565b611bdb565b60405161070a9190613c6a565b60405180910390f35b61072d600480360381019061072891906133b9565b611c6f565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107a257506107a182611d67565b5b9050919050565b6060600080546107b890614217565b80601f01602080910402602001604051908101604052809291908181526020018280546107e490614217565b80156108315780601f1061080657610100808354040283529160200191610831565b820191906000526020600020905b81548152906001019060200180831161081457829003601f168201915b5050505050905090565b600061084682611e49565b610885576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087c90613e62565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108cb826112b3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561093c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093390613ee2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661095b611eb5565b73ffffffffffffffffffffffffffffffffffffffff16148061098a575061098981610984611eb5565b611bdb565b5b6109c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c090613de2565b60405180910390fd5b6109d38383611ebd565b505050565b6000600880549050905090565b601160019054906101000a900460ff1681565b601160029054906101000a900460ff1681565b6002600b541415610a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4890613f62565b60405180910390fd5b6002600b81905550600033604051602001610a6c9190613b8b565b604051602081830303815290604052805190602001209050610ad2848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5483611f76565b610b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0890613e82565b60405180910390fd5b601160019054906101000a900460ff16610b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5790613f82565b60405180910390fd5b610a3385610b6c6109d8565b610b76919061409c565b1115610bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bae90613f22565b60405180910390fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015610c1e5750601160029054906101000a900460ff16155b15610cc4576001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555081601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610dcd565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015610d2a5750601160029054906101000a900460ff165b15610dcc576001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555081601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054851115610e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4690613d62565b60405180910390fd5b60005b85811015610e8a57610e64600d611f8d565b610e7733610e72600d611fa3565b611fb1565b8080610e829061427a565b915050610e52565b5084601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610eda9190614123565b92505081905550506001600b8190555050505050565b610f01610efb611eb5565b82611fcf565b610f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3790613f02565b60405180910390fd5b610f4b8383836120ad565b505050565b600c5481565b6000610f61836113f3565b8210610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9990613cc2565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a3381565b61101c83838360405180602001604052806000815250611972565b505050565b611029611eb5565b73ffffffffffffffffffffffffffffffffffffffff16611047611759565b73ffffffffffffffffffffffffffffffffffffffff161461109d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109490613ea2565b60405180910390fd5b80601160026101000a81548160ff02191690831515021790555050565b60006110c46109d8565b8210611105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fc90613f42565b60405180910390fd5b6008828154811061113f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b601160009054906101000a900460ff1681565b61116c611eb5565b73ffffffffffffffffffffffffffffffffffffffff1661118a611759565b73ffffffffffffffffffffffffffffffffffffffff16146111e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d790613ea2565b60405180910390fd5b80601160016101000a81548160ff02191690831515021790555050565b611205611eb5565b73ffffffffffffffffffffffffffffffffffffffff16611223611759565b73ffffffffffffffffffffffffffffffffffffffff1614611279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127090613ea2565b60405180910390fd5b80600f908051906020019061128f92919061317e565b5050565b60136020528060005260406000206000915054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561135c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135390613e22565b60405180910390fd5b80915050919050565b600e805461137290614217565b80601f016020809104026020016040519081016040528092919081815260200182805461139e90614217565b80156113eb5780601f106113c0576101008083540402835291602001916113eb565b820191906000526020600020905b8154815290600101906020018083116113ce57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611464576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145b90613e02565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114b3611eb5565b73ffffffffffffffffffffffffffffffffffffffff166114d1611759565b73ffffffffffffffffffffffffffffffffffffffff1614611527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151e90613ea2565b60405180910390fd5b6115316000612309565b565b600f805461154090614217565b80601f016020809104026020016040519081016040528092919081815260200182805461156c90614217565b80156115b95780601f1061158e576101008083540402835291602001916115b9565b820191906000526020600020905b81548152906001019060200180831161159c57829003601f168201915b505050505081565b6115c9611eb5565b73ffffffffffffffffffffffffffffffffffffffff166115e7611759565b73ffffffffffffffffffffffffffffffffffffffff161461163d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163490613ea2565b60405180910390fd5b80600c8190555050565b61164f611eb5565b73ffffffffffffffffffffffffffffffffffffffff1661166d611759565b73ffffffffffffffffffffffffffffffffffffffff16146116c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ba90613ea2565b60405180910390fd5b610a33816116cf6109d8565b6116d9919061409c565b111561171a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171190613f22565b60405180910390fd5b60005b818110156117555761172f600d611f8d565b6117423361173d600d611fa3565b611fb1565b808061174d9061427a565b91505061171d565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60126020528060005260406000206000915090505481565b6060600180546117aa90614217565b80601f01602080910402602001604051908101604052809291908181526020018280546117d690614217565b80156118235780601f106117f857610100808354040283529160200191611823565b820191906000526020600020905b81548152906001019060200180831161180657829003601f168201915b5050505050905090565b611835611eb5565b73ffffffffffffffffffffffffffffffffffffffff16611853611759565b73ffffffffffffffffffffffffffffffffffffffff16146118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a090613ea2565b60405180910390fd5b80600e90805190602001906118bf92919061317e565b5050565b6118d56118ce611eb5565b83836123cf565b5050565b6118e1611eb5565b73ffffffffffffffffffffffffffffffffffffffff166118ff611759565b73ffffffffffffffffffffffffffffffffffffffff1614611955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194c90613ea2565b60405180910390fd5b6001601160006101000a81548160ff021916908315150217905550565b61198361197d611eb5565b83611fcf565b6119c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b990613f02565b60405180910390fd5b6119ce8484848461253c565b50505050565b601080546119e190614217565b80601f0160208091040260200160405190810160405280929190818152602001828054611a0d90614217565b8015611a5a5780601f10611a2f57610100808354040283529160200191611a5a565b820191906000526020600020905b815481529060010190602001808311611a3d57829003601f168201915b505050505081565b6060611a6d82611e49565b611aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa390613d22565b60405180910390fd5b60001515601160009054906101000a900460ff1615151415611b5a57600f8054611ad590614217565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0190614217565b8015611b4e5780601f10611b2357610100808354040283529160200191611b4e565b820191906000526020600020905b815481529060010190602001808311611b3157829003601f168201915b50505050509050611bb6565b6000611b64612598565b90506000815111611b845760405180602001604052806000815250611bb2565b80611b8e8461262a565b6010604051602001611ba293929190613bd2565b6040516020818303038152906040525b9150505b919050565b60146020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c77611eb5565b73ffffffffffffffffffffffffffffffffffffffff16611c95611759565b73ffffffffffffffffffffffffffffffffffffffff1614611ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce290613ea2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5290613d02565b60405180910390fd5b611d6481612309565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e3257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e425750611e41826127d7565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f30836112b3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600082611f838584612841565b1490509392505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b611fcb82826040518060200160405280600081525061291a565b5050565b6000611fda82611e49565b612019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201090613dc2565b60405180910390fd5b6000612024836112b3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061209357508373ffffffffffffffffffffffffffffffffffffffff1661207b8461083b565b73ffffffffffffffffffffffffffffffffffffffff16145b806120a457506120a38185611bdb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166120cd826112b3565b73ffffffffffffffffffffffffffffffffffffffff1614612123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211a90613ec2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612193576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218a90613d82565b60405180910390fd5b61219e838383612975565b6121a9600082611ebd565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121f99190614123565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612250919061409c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561243e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243590613da2565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161252f9190613c6a565b60405180910390a3505050565b6125478484846120ad565b61255384848484612a89565b612592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258990613ce2565b60405180910390fd5b50505050565b6060600e80546125a790614217565b80601f01602080910402602001604051908101604052809291908181526020018280546125d390614217565b80156126205780601f106125f557610100808354040283529160200191612620565b820191906000526020600020905b81548152906001019060200180831161260357829003601f168201915b5050505050905090565b60606000821415612672576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127d2565b600082905060005b600082146126a457808061268d9061427a565b915050600a8261269d91906140f2565b915061267a565b60008167ffffffffffffffff8111156126e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127185781602001600182028036833780820191505090505b5090505b600085146127cb576001826127319190614123565b9150600a8561274091906142f1565b603061274c919061409c565b60f81b818381518110612788577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127c491906140f2565b945061271c565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008082905060005b845181101561290f57600085828151811061288e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116128cf5782816040516020016128b2929190613ba6565b6040516020818303038152906040528051906020012092506128fb565b80836040516020016128e2929190613ba6565b6040516020818303038152906040528051906020012092505b5080806129079061427a565b91505061284a565b508091505092915050565b6129248383612c20565b6129316000848484612a89565b612970576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296790613ce2565b60405180910390fd5b505050565b612980838383612dee565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129c3576129be81612df3565b612a02565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612a0157612a008382612e3c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a4557612a4081612fa9565b612a84565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a8357612a8282826130ec565b5b5b505050565b6000612aaa8473ffffffffffffffffffffffffffffffffffffffff1661316b565b15612c13578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ad3611eb5565b8786866040518563ffffffff1660e01b8152600401612af59493929190613c1e565b602060405180830381600087803b158015612b0f57600080fd5b505af1925050508015612b4057506040513d601f19601f82011682018060405250810190612b3d91906135db565b60015b612bc3573d8060008114612b70576040519150601f19603f3d011682016040523d82523d6000602084013e612b75565b606091505b50600081511415612bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb290613ce2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c18565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8790613e42565b60405180910390fd5b612c9981611e49565b15612cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd090613d42565b60405180910390fd5b612ce560008383612975565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d35919061409c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e49846113f3565b612e539190614123565b9050600060076000848152602001908152602001600020549050818114612f38576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612fbd9190614123565b9050600060096000848152602001908152602001600020549050600060088381548110613013577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061305b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806130d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006130f7836113f3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b82805461318a90614217565b90600052602060002090601f0160209004810192826131ac57600085556131f3565b82601f106131c557805160ff19168380011785556131f3565b828001600101855582156131f3579182015b828111156131f25782518255916020019190600101906131d7565b5b5090506132009190613204565b5090565b5b8082111561321d576000816000905550600101613205565b5090565b600061323461322f84613fe2565b613fbd565b90508281526020810184848401111561324c57600080fd5b6132578482856141d5565b509392505050565b600061327261326d84614013565b613fbd565b90508281526020810184848401111561328a57600080fd5b6132958482856141d5565b509392505050565b6000813590506132ac816149bf565b92915050565b60008083601f8401126132c457600080fd5b8235905067ffffffffffffffff8111156132dd57600080fd5b6020830191508360208202830111156132f557600080fd5b9250929050565b60008135905061330b816149d6565b92915050565b600081359050613320816149ed565b92915050565b60008135905061333581614a04565b92915050565b60008151905061334a81614a04565b92915050565b600082601f83011261336157600080fd5b8135613371848260208601613221565b91505092915050565b600082601f83011261338b57600080fd5b813561339b84826020860161325f565b91505092915050565b6000813590506133b381614a1b565b92915050565b6000602082840312156133cb57600080fd5b60006133d98482850161329d565b91505092915050565b600080604083850312156133f557600080fd5b60006134038582860161329d565b92505060206134148582860161329d565b9150509250929050565b60008060006060848603121561343357600080fd5b60006134418682870161329d565b93505060206134528682870161329d565b9250506040613463868287016133a4565b9150509250925092565b6000806000806080858703121561348357600080fd5b60006134918782880161329d565b94505060206134a28782880161329d565b93505060406134b3878288016133a4565b925050606085013567ffffffffffffffff8111156134d057600080fd5b6134dc87828801613350565b91505092959194509250565b600080604083850312156134fb57600080fd5b60006135098582860161329d565b925050602061351a858286016132fc565b9150509250929050565b6000806040838503121561353757600080fd5b60006135458582860161329d565b9250506020613556858286016133a4565b9150509250929050565b60006020828403121561357257600080fd5b6000613580848285016132fc565b91505092915050565b60006020828403121561359b57600080fd5b60006135a984828501613311565b91505092915050565b6000602082840312156135c457600080fd5b60006135d284828501613326565b91505092915050565b6000602082840312156135ed57600080fd5b60006135fb8482850161333b565b91505092915050565b60006020828403121561361657600080fd5b600082013567ffffffffffffffff81111561363057600080fd5b61363c8482850161337a565b91505092915050565b60006020828403121561365757600080fd5b6000613665848285016133a4565b91505092915050565b6000806000806060858703121561368457600080fd5b6000613692878288016133a4565b945050602085013567ffffffffffffffff8111156136af57600080fd5b6136bb878288016132b2565b935093505060406136ce878288016133a4565b91505092959194509250565b6136e381614157565b82525050565b6136fa6136f582614157565b6142c3565b82525050565b61370981614169565b82525050565b61371881614175565b82525050565b61372f61372a82614175565b6142d5565b82525050565b600061374082614059565b61374a818561406f565b935061375a8185602086016141e4565b613763816143de565b840191505092915050565b600061377982614064565b6137838185614080565b93506137938185602086016141e4565b61379c816143de565b840191505092915050565b60006137b282614064565b6137bc8185614091565b93506137cc8185602086016141e4565b80840191505092915050565b600081546137e581614217565b6137ef8186614091565b9450600182166000811461380a576001811461381b5761384e565b60ff1983168652818601935061384e565b61382485614044565b60005b8381101561384657815481890152600182019150602081019050613827565b838801955050505b50505092915050565b6000613864602b83614080565b915061386f826143fc565b604082019050919050565b6000613887603283614080565b91506138928261444b565b604082019050919050565b60006138aa602683614080565b91506138b58261449a565b604082019050919050565b60006138cd601783614080565b91506138d8826144e9565b602082019050919050565b60006138f0601c83614080565b91506138fb82614512565b602082019050919050565b6000613913601c83614080565b915061391e8261453b565b602082019050919050565b6000613936602483614080565b915061394182614564565b604082019050919050565b6000613959601983614080565b9150613964826145b3565b602082019050919050565b600061397c602c83614080565b9150613987826145dc565b604082019050919050565b600061399f603883614080565b91506139aa8261462b565b604082019050919050565b60006139c2602a83614080565b91506139cd8261467a565b604082019050919050565b60006139e5602983614080565b91506139f0826146c9565b604082019050919050565b6000613a08602083614080565b9150613a1382614718565b602082019050919050565b6000613a2b602c83614080565b9150613a3682614741565b604082019050919050565b6000613a4e601d83614080565b9150613a5982614790565b602082019050919050565b6000613a71602083614080565b9150613a7c826147b9565b602082019050919050565b6000613a94602983614080565b9150613a9f826147e2565b604082019050919050565b6000613ab7602183614080565b9150613ac282614831565b604082019050919050565b6000613ada603183614080565b9150613ae582614880565b604082019050919050565b6000613afd602183614080565b9150613b08826148cf565b604082019050919050565b6000613b20602c83614080565b9150613b2b8261491e565b604082019050919050565b6000613b43601f83614080565b9150613b4e8261496d565b602082019050919050565b6000613b66601583614080565b9150613b7182614996565b602082019050919050565b613b85816141cb565b82525050565b6000613b9782846136e9565b60148201915081905092915050565b6000613bb2828561371e565b602082019150613bc2828461371e565b6020820191508190509392505050565b6000613bde82866137a7565b9150613bea82856137a7565b9150613bf682846137d8565b9150819050949350505050565b6000602082019050613c1860008301846136da565b92915050565b6000608082019050613c3360008301876136da565b613c4060208301866136da565b613c4d6040830185613b7c565b8181036060830152613c5f8184613735565b905095945050505050565b6000602082019050613c7f6000830184613700565b92915050565b6000602082019050613c9a600083018461370f565b92915050565b60006020820190508181036000830152613cba818461376e565b905092915050565b60006020820190508181036000830152613cdb81613857565b9050919050565b60006020820190508181036000830152613cfb8161387a565b9050919050565b60006020820190508181036000830152613d1b8161389d565b9050919050565b60006020820190508181036000830152613d3b816138c0565b9050919050565b60006020820190508181036000830152613d5b816138e3565b9050919050565b60006020820190508181036000830152613d7b81613906565b9050919050565b60006020820190508181036000830152613d9b81613929565b9050919050565b60006020820190508181036000830152613dbb8161394c565b9050919050565b60006020820190508181036000830152613ddb8161396f565b9050919050565b60006020820190508181036000830152613dfb81613992565b9050919050565b60006020820190508181036000830152613e1b816139b5565b9050919050565b60006020820190508181036000830152613e3b816139d8565b9050919050565b60006020820190508181036000830152613e5b816139fb565b9050919050565b60006020820190508181036000830152613e7b81613a1e565b9050919050565b60006020820190508181036000830152613e9b81613a41565b9050919050565b60006020820190508181036000830152613ebb81613a64565b9050919050565b60006020820190508181036000830152613edb81613a87565b9050919050565b60006020820190508181036000830152613efb81613aaa565b9050919050565b60006020820190508181036000830152613f1b81613acd565b9050919050565b60006020820190508181036000830152613f3b81613af0565b9050919050565b60006020820190508181036000830152613f5b81613b13565b9050919050565b60006020820190508181036000830152613f7b81613b36565b9050919050565b60006020820190508181036000830152613f9b81613b59565b9050919050565b6000602082019050613fb76000830184613b7c565b92915050565b6000613fc7613fd8565b9050613fd38282614249565b919050565b6000604051905090565b600067ffffffffffffffff821115613ffd57613ffc6143af565b5b614006826143de565b9050602081019050919050565b600067ffffffffffffffff82111561402e5761402d6143af565b5b614037826143de565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006140a7826141cb565b91506140b2836141cb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140e7576140e6614322565b5b828201905092915050565b60006140fd826141cb565b9150614108836141cb565b92508261411857614117614351565b5b828204905092915050565b600061412e826141cb565b9150614139836141cb565b92508282101561414c5761414b614322565b5b828203905092915050565b6000614162826141ab565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156142025780820151818401526020810190506141e7565b83811115614211576000848401525b50505050565b6000600282049050600182168061422f57607f821691505b6020821081141561424357614242614380565b5b50919050565b614252826143de565b810181811067ffffffffffffffff82111715614271576142706143af565b5b80604052505050565b6000614285826141cb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142b8576142b7614322565b5b600182019050919050565b60006142ce826142df565b9050919050565b6000819050919050565b60006142ea826143ef565b9050919050565b60006142fc826141cb565b9150614307836141cb565b92508261431757614316614351565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f54686973204e465420646f65736e27742065786973742e000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4578636565646564206d617820746f6b656e2070757263686173652e00000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f546869732061646472657373206973206e6f74206120686f6c6465722e000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e7360008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f546865206d696e74206973206e6f74206f70656e2e0000000000000000000000600082015250565b6149c881614157565b81146149d357600080fd5b50565b6149df81614169565b81146149ea57600080fd5b50565b6149f681614175565b8114614a0157600080fd5b50565b614a0d8161417f565b8114614a1857600080fd5b50565b614a24816141cb565b8114614a2f57600080fd5b5056fea26469706673582212201dadef137f2a1decd83ef9290021e977b7252c2bc5027273b040ca9f06590e8f64736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102325760003560e01c80636352211e1161013057806395d89b41116100b8578063c66828621161007c578063c668286214610665578063c87b56dd14610683578063e7b52ad6146106b3578063e985e9c5146106e3578063f2fde38b1461071357610232565b806395d89b41146105e9578063a0bcfc7f14610607578063a22cb46514610623578063a475b5dd1461063f578063b88d4fde1461064957610232565b806372250380116100ff57806372250380146105455780637cb6475914610563578063819b25ba1461057f5780638da5cb5b1461059b5780638ec0d376146105b957610232565b80636352211e146104bd5780636c0360eb146104ed57806370a082311461050b578063715018a61461053b57610232565b80632eb4a7ab116101be5780634f6ccce7116101825780634f6ccce71461040757806354214f691461043757806358a85bca146104555780635accac99146104715780635e21b28a1461048d57610232565b80632eb4a7ab146103635780632f745c591461038157806332cb6b0c146103b157806342842e0e146103cf5780634dc41b02146103eb57610232565b806318160ddd1161020557806318160ddd146102d157806319908016146102ef5780631a6949e31461030d5780631ff7712f1461032b57806323b872dd1461034757610232565b806301ffc9a71461023757806306fdde0314610267578063081812fc14610285578063095ea7b3146102b5575b600080fd5b610251600480360381019061024c91906135b2565b61072f565b60405161025e9190613c6a565b60405180910390f35b61026f6107a9565b60405161027c9190613ca0565b60405180910390f35b61029f600480360381019061029a9190613645565b61083b565b6040516102ac9190613c03565b60405180910390f35b6102cf60048036038101906102ca9190613524565b6108c0565b005b6102d96109d8565b6040516102e69190613fa2565b60405180910390f35b6102f76109e5565b6040516103049190613c6a565b60405180910390f35b6103156109f8565b6040516103229190613c6a565b60405180910390f35b6103456004803603810190610340919061366e565b610a0b565b005b610361600480360381019061035c919061341e565b610ef0565b005b61036b610f50565b6040516103789190613c85565b60405180910390f35b61039b60048036038101906103969190613524565b610f56565b6040516103a89190613fa2565b60405180910390f35b6103b9610ffb565b6040516103c69190613fa2565b60405180910390f35b6103e960048036038101906103e4919061341e565b611001565b005b61040560048036038101906104009190613560565b611021565b005b610421600480360381019061041c9190613645565b6110ba565b60405161042e9190613fa2565b60405180910390f35b61043f611151565b60405161044c9190613c6a565b60405180910390f35b61046f600480360381019061046a9190613560565b611164565b005b61048b60048036038101906104869190613604565b6111fd565b005b6104a760048036038101906104a291906133b9565b611293565b6040516104b49190613c6a565b60405180910390f35b6104d760048036038101906104d29190613645565b6112b3565b6040516104e49190613c03565b60405180910390f35b6104f5611365565b6040516105029190613ca0565b60405180910390f35b610525600480360381019061052091906133b9565b6113f3565b6040516105329190613fa2565b60405180910390f35b6105436114ab565b005b61054d611533565b60405161055a9190613ca0565b60405180910390f35b61057d60048036038101906105789190613589565b6115c1565b005b61059960048036038101906105949190613645565b611647565b005b6105a3611759565b6040516105b09190613c03565b60405180910390f35b6105d360048036038101906105ce91906133b9565b611783565b6040516105e09190613fa2565b60405180910390f35b6105f161179b565b6040516105fe9190613ca0565b60405180910390f35b610621600480360381019061061c9190613604565b61182d565b005b61063d600480360381019061063891906134e8565b6118c3565b005b6106476118d9565b005b610663600480360381019061065e919061346d565b611972565b005b61066d6119d4565b60405161067a9190613ca0565b60405180910390f35b61069d60048036038101906106989190613645565b611a62565b6040516106aa9190613ca0565b60405180910390f35b6106cd60048036038101906106c891906133b9565b611bbb565b6040516106da9190613c6a565b60405180910390f35b6106fd60048036038101906106f891906133e2565b611bdb565b60405161070a9190613c6a565b60405180910390f35b61072d600480360381019061072891906133b9565b611c6f565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107a257506107a182611d67565b5b9050919050565b6060600080546107b890614217565b80601f01602080910402602001604051908101604052809291908181526020018280546107e490614217565b80156108315780601f1061080657610100808354040283529160200191610831565b820191906000526020600020905b81548152906001019060200180831161081457829003601f168201915b5050505050905090565b600061084682611e49565b610885576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087c90613e62565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108cb826112b3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561093c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093390613ee2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661095b611eb5565b73ffffffffffffffffffffffffffffffffffffffff16148061098a575061098981610984611eb5565b611bdb565b5b6109c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c090613de2565b60405180910390fd5b6109d38383611ebd565b505050565b6000600880549050905090565b601160019054906101000a900460ff1681565b601160029054906101000a900460ff1681565b6002600b541415610a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4890613f62565b60405180910390fd5b6002600b81905550600033604051602001610a6c9190613b8b565b604051602081830303815290604052805190602001209050610ad2848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5483611f76565b610b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0890613e82565b60405180910390fd5b601160019054906101000a900460ff16610b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5790613f82565b60405180910390fd5b610a3385610b6c6109d8565b610b76919061409c565b1115610bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bae90613f22565b60405180910390fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015610c1e5750601160029054906101000a900460ff16155b15610cc4576001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555081601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610dcd565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015610d2a5750601160029054906101000a900460ff165b15610dcc576001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555081601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054851115610e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4690613d62565b60405180910390fd5b60005b85811015610e8a57610e64600d611f8d565b610e7733610e72600d611fa3565b611fb1565b8080610e829061427a565b915050610e52565b5084601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610eda9190614123565b92505081905550506001600b8190555050505050565b610f01610efb611eb5565b82611fcf565b610f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3790613f02565b60405180910390fd5b610f4b8383836120ad565b505050565b600c5481565b6000610f61836113f3565b8210610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9990613cc2565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a3381565b61101c83838360405180602001604052806000815250611972565b505050565b611029611eb5565b73ffffffffffffffffffffffffffffffffffffffff16611047611759565b73ffffffffffffffffffffffffffffffffffffffff161461109d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109490613ea2565b60405180910390fd5b80601160026101000a81548160ff02191690831515021790555050565b60006110c46109d8565b8210611105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fc90613f42565b60405180910390fd5b6008828154811061113f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b601160009054906101000a900460ff1681565b61116c611eb5565b73ffffffffffffffffffffffffffffffffffffffff1661118a611759565b73ffffffffffffffffffffffffffffffffffffffff16146111e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d790613ea2565b60405180910390fd5b80601160016101000a81548160ff02191690831515021790555050565b611205611eb5565b73ffffffffffffffffffffffffffffffffffffffff16611223611759565b73ffffffffffffffffffffffffffffffffffffffff1614611279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127090613ea2565b60405180910390fd5b80600f908051906020019061128f92919061317e565b5050565b60136020528060005260406000206000915054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561135c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135390613e22565b60405180910390fd5b80915050919050565b600e805461137290614217565b80601f016020809104026020016040519081016040528092919081815260200182805461139e90614217565b80156113eb5780601f106113c0576101008083540402835291602001916113eb565b820191906000526020600020905b8154815290600101906020018083116113ce57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611464576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145b90613e02565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114b3611eb5565b73ffffffffffffffffffffffffffffffffffffffff166114d1611759565b73ffffffffffffffffffffffffffffffffffffffff1614611527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151e90613ea2565b60405180910390fd5b6115316000612309565b565b600f805461154090614217565b80601f016020809104026020016040519081016040528092919081815260200182805461156c90614217565b80156115b95780601f1061158e576101008083540402835291602001916115b9565b820191906000526020600020905b81548152906001019060200180831161159c57829003601f168201915b505050505081565b6115c9611eb5565b73ffffffffffffffffffffffffffffffffffffffff166115e7611759565b73ffffffffffffffffffffffffffffffffffffffff161461163d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163490613ea2565b60405180910390fd5b80600c8190555050565b61164f611eb5565b73ffffffffffffffffffffffffffffffffffffffff1661166d611759565b73ffffffffffffffffffffffffffffffffffffffff16146116c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ba90613ea2565b60405180910390fd5b610a33816116cf6109d8565b6116d9919061409c565b111561171a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171190613f22565b60405180910390fd5b60005b818110156117555761172f600d611f8d565b6117423361173d600d611fa3565b611fb1565b808061174d9061427a565b91505061171d565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60126020528060005260406000206000915090505481565b6060600180546117aa90614217565b80601f01602080910402602001604051908101604052809291908181526020018280546117d690614217565b80156118235780601f106117f857610100808354040283529160200191611823565b820191906000526020600020905b81548152906001019060200180831161180657829003601f168201915b5050505050905090565b611835611eb5565b73ffffffffffffffffffffffffffffffffffffffff16611853611759565b73ffffffffffffffffffffffffffffffffffffffff16146118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a090613ea2565b60405180910390fd5b80600e90805190602001906118bf92919061317e565b5050565b6118d56118ce611eb5565b83836123cf565b5050565b6118e1611eb5565b73ffffffffffffffffffffffffffffffffffffffff166118ff611759565b73ffffffffffffffffffffffffffffffffffffffff1614611955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194c90613ea2565b60405180910390fd5b6001601160006101000a81548160ff021916908315150217905550565b61198361197d611eb5565b83611fcf565b6119c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b990613f02565b60405180910390fd5b6119ce8484848461253c565b50505050565b601080546119e190614217565b80601f0160208091040260200160405190810160405280929190818152602001828054611a0d90614217565b8015611a5a5780601f10611a2f57610100808354040283529160200191611a5a565b820191906000526020600020905b815481529060010190602001808311611a3d57829003601f168201915b505050505081565b6060611a6d82611e49565b611aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa390613d22565b60405180910390fd5b60001515601160009054906101000a900460ff1615151415611b5a57600f8054611ad590614217565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0190614217565b8015611b4e5780601f10611b2357610100808354040283529160200191611b4e565b820191906000526020600020905b815481529060010190602001808311611b3157829003601f168201915b50505050509050611bb6565b6000611b64612598565b90506000815111611b845760405180602001604052806000815250611bb2565b80611b8e8461262a565b6010604051602001611ba293929190613bd2565b6040516020818303038152906040525b9150505b919050565b60146020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c77611eb5565b73ffffffffffffffffffffffffffffffffffffffff16611c95611759565b73ffffffffffffffffffffffffffffffffffffffff1614611ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce290613ea2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5290613d02565b60405180910390fd5b611d6481612309565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e3257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e425750611e41826127d7565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f30836112b3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600082611f838584612841565b1490509392505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b611fcb82826040518060200160405280600081525061291a565b5050565b6000611fda82611e49565b612019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201090613dc2565b60405180910390fd5b6000612024836112b3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061209357508373ffffffffffffffffffffffffffffffffffffffff1661207b8461083b565b73ffffffffffffffffffffffffffffffffffffffff16145b806120a457506120a38185611bdb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166120cd826112b3565b73ffffffffffffffffffffffffffffffffffffffff1614612123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211a90613ec2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612193576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218a90613d82565b60405180910390fd5b61219e838383612975565b6121a9600082611ebd565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121f99190614123565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612250919061409c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561243e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243590613da2565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161252f9190613c6a565b60405180910390a3505050565b6125478484846120ad565b61255384848484612a89565b612592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258990613ce2565b60405180910390fd5b50505050565b6060600e80546125a790614217565b80601f01602080910402602001604051908101604052809291908181526020018280546125d390614217565b80156126205780601f106125f557610100808354040283529160200191612620565b820191906000526020600020905b81548152906001019060200180831161260357829003601f168201915b5050505050905090565b60606000821415612672576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127d2565b600082905060005b600082146126a457808061268d9061427a565b915050600a8261269d91906140f2565b915061267a565b60008167ffffffffffffffff8111156126e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127185781602001600182028036833780820191505090505b5090505b600085146127cb576001826127319190614123565b9150600a8561274091906142f1565b603061274c919061409c565b60f81b818381518110612788577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127c491906140f2565b945061271c565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008082905060005b845181101561290f57600085828151811061288e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116128cf5782816040516020016128b2929190613ba6565b6040516020818303038152906040528051906020012092506128fb565b80836040516020016128e2929190613ba6565b6040516020818303038152906040528051906020012092505b5080806129079061427a565b91505061284a565b508091505092915050565b6129248383612c20565b6129316000848484612a89565b612970576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296790613ce2565b60405180910390fd5b505050565b612980838383612dee565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129c3576129be81612df3565b612a02565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612a0157612a008382612e3c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a4557612a4081612fa9565b612a84565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a8357612a8282826130ec565b5b5b505050565b6000612aaa8473ffffffffffffffffffffffffffffffffffffffff1661316b565b15612c13578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ad3611eb5565b8786866040518563ffffffff1660e01b8152600401612af59493929190613c1e565b602060405180830381600087803b158015612b0f57600080fd5b505af1925050508015612b4057506040513d601f19601f82011682018060405250810190612b3d91906135db565b60015b612bc3573d8060008114612b70576040519150601f19603f3d011682016040523d82523d6000602084013e612b75565b606091505b50600081511415612bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb290613ce2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c18565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8790613e42565b60405180910390fd5b612c9981611e49565b15612cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd090613d42565b60405180910390fd5b612ce560008383612975565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d35919061409c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e49846113f3565b612e539190614123565b9050600060076000848152602001908152602001600020549050818114612f38576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612fbd9190614123565b9050600060096000848152602001908152602001600020549050600060088381548110613013577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061305b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806130d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006130f7836113f3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b82805461318a90614217565b90600052602060002090601f0160209004810192826131ac57600085556131f3565b82601f106131c557805160ff19168380011785556131f3565b828001600101855582156131f3579182015b828111156131f25782518255916020019190600101906131d7565b5b5090506132009190613204565b5090565b5b8082111561321d576000816000905550600101613205565b5090565b600061323461322f84613fe2565b613fbd565b90508281526020810184848401111561324c57600080fd5b6132578482856141d5565b509392505050565b600061327261326d84614013565b613fbd565b90508281526020810184848401111561328a57600080fd5b6132958482856141d5565b509392505050565b6000813590506132ac816149bf565b92915050565b60008083601f8401126132c457600080fd5b8235905067ffffffffffffffff8111156132dd57600080fd5b6020830191508360208202830111156132f557600080fd5b9250929050565b60008135905061330b816149d6565b92915050565b600081359050613320816149ed565b92915050565b60008135905061333581614a04565b92915050565b60008151905061334a81614a04565b92915050565b600082601f83011261336157600080fd5b8135613371848260208601613221565b91505092915050565b600082601f83011261338b57600080fd5b813561339b84826020860161325f565b91505092915050565b6000813590506133b381614a1b565b92915050565b6000602082840312156133cb57600080fd5b60006133d98482850161329d565b91505092915050565b600080604083850312156133f557600080fd5b60006134038582860161329d565b92505060206134148582860161329d565b9150509250929050565b60008060006060848603121561343357600080fd5b60006134418682870161329d565b93505060206134528682870161329d565b9250506040613463868287016133a4565b9150509250925092565b6000806000806080858703121561348357600080fd5b60006134918782880161329d565b94505060206134a28782880161329d565b93505060406134b3878288016133a4565b925050606085013567ffffffffffffffff8111156134d057600080fd5b6134dc87828801613350565b91505092959194509250565b600080604083850312156134fb57600080fd5b60006135098582860161329d565b925050602061351a858286016132fc565b9150509250929050565b6000806040838503121561353757600080fd5b60006135458582860161329d565b9250506020613556858286016133a4565b9150509250929050565b60006020828403121561357257600080fd5b6000613580848285016132fc565b91505092915050565b60006020828403121561359b57600080fd5b60006135a984828501613311565b91505092915050565b6000602082840312156135c457600080fd5b60006135d284828501613326565b91505092915050565b6000602082840312156135ed57600080fd5b60006135fb8482850161333b565b91505092915050565b60006020828403121561361657600080fd5b600082013567ffffffffffffffff81111561363057600080fd5b61363c8482850161337a565b91505092915050565b60006020828403121561365757600080fd5b6000613665848285016133a4565b91505092915050565b6000806000806060858703121561368457600080fd5b6000613692878288016133a4565b945050602085013567ffffffffffffffff8111156136af57600080fd5b6136bb878288016132b2565b935093505060406136ce878288016133a4565b91505092959194509250565b6136e381614157565b82525050565b6136fa6136f582614157565b6142c3565b82525050565b61370981614169565b82525050565b61371881614175565b82525050565b61372f61372a82614175565b6142d5565b82525050565b600061374082614059565b61374a818561406f565b935061375a8185602086016141e4565b613763816143de565b840191505092915050565b600061377982614064565b6137838185614080565b93506137938185602086016141e4565b61379c816143de565b840191505092915050565b60006137b282614064565b6137bc8185614091565b93506137cc8185602086016141e4565b80840191505092915050565b600081546137e581614217565b6137ef8186614091565b9450600182166000811461380a576001811461381b5761384e565b60ff1983168652818601935061384e565b61382485614044565b60005b8381101561384657815481890152600182019150602081019050613827565b838801955050505b50505092915050565b6000613864602b83614080565b915061386f826143fc565b604082019050919050565b6000613887603283614080565b91506138928261444b565b604082019050919050565b60006138aa602683614080565b91506138b58261449a565b604082019050919050565b60006138cd601783614080565b91506138d8826144e9565b602082019050919050565b60006138f0601c83614080565b91506138fb82614512565b602082019050919050565b6000613913601c83614080565b915061391e8261453b565b602082019050919050565b6000613936602483614080565b915061394182614564565b604082019050919050565b6000613959601983614080565b9150613964826145b3565b602082019050919050565b600061397c602c83614080565b9150613987826145dc565b604082019050919050565b600061399f603883614080565b91506139aa8261462b565b604082019050919050565b60006139c2602a83614080565b91506139cd8261467a565b604082019050919050565b60006139e5602983614080565b91506139f0826146c9565b604082019050919050565b6000613a08602083614080565b9150613a1382614718565b602082019050919050565b6000613a2b602c83614080565b9150613a3682614741565b604082019050919050565b6000613a4e601d83614080565b9150613a5982614790565b602082019050919050565b6000613a71602083614080565b9150613a7c826147b9565b602082019050919050565b6000613a94602983614080565b9150613a9f826147e2565b604082019050919050565b6000613ab7602183614080565b9150613ac282614831565b604082019050919050565b6000613ada603183614080565b9150613ae582614880565b604082019050919050565b6000613afd602183614080565b9150613b08826148cf565b604082019050919050565b6000613b20602c83614080565b9150613b2b8261491e565b604082019050919050565b6000613b43601f83614080565b9150613b4e8261496d565b602082019050919050565b6000613b66601583614080565b9150613b7182614996565b602082019050919050565b613b85816141cb565b82525050565b6000613b9782846136e9565b60148201915081905092915050565b6000613bb2828561371e565b602082019150613bc2828461371e565b6020820191508190509392505050565b6000613bde82866137a7565b9150613bea82856137a7565b9150613bf682846137d8565b9150819050949350505050565b6000602082019050613c1860008301846136da565b92915050565b6000608082019050613c3360008301876136da565b613c4060208301866136da565b613c4d6040830185613b7c565b8181036060830152613c5f8184613735565b905095945050505050565b6000602082019050613c7f6000830184613700565b92915050565b6000602082019050613c9a600083018461370f565b92915050565b60006020820190508181036000830152613cba818461376e565b905092915050565b60006020820190508181036000830152613cdb81613857565b9050919050565b60006020820190508181036000830152613cfb8161387a565b9050919050565b60006020820190508181036000830152613d1b8161389d565b9050919050565b60006020820190508181036000830152613d3b816138c0565b9050919050565b60006020820190508181036000830152613d5b816138e3565b9050919050565b60006020820190508181036000830152613d7b81613906565b9050919050565b60006020820190508181036000830152613d9b81613929565b9050919050565b60006020820190508181036000830152613dbb8161394c565b9050919050565b60006020820190508181036000830152613ddb8161396f565b9050919050565b60006020820190508181036000830152613dfb81613992565b9050919050565b60006020820190508181036000830152613e1b816139b5565b9050919050565b60006020820190508181036000830152613e3b816139d8565b9050919050565b60006020820190508181036000830152613e5b816139fb565b9050919050565b60006020820190508181036000830152613e7b81613a1e565b9050919050565b60006020820190508181036000830152613e9b81613a41565b9050919050565b60006020820190508181036000830152613ebb81613a64565b9050919050565b60006020820190508181036000830152613edb81613a87565b9050919050565b60006020820190508181036000830152613efb81613aaa565b9050919050565b60006020820190508181036000830152613f1b81613acd565b9050919050565b60006020820190508181036000830152613f3b81613af0565b9050919050565b60006020820190508181036000830152613f5b81613b13565b9050919050565b60006020820190508181036000830152613f7b81613b36565b9050919050565b60006020820190508181036000830152613f9b81613b59565b9050919050565b6000602082019050613fb76000830184613b7c565b92915050565b6000613fc7613fd8565b9050613fd38282614249565b919050565b6000604051905090565b600067ffffffffffffffff821115613ffd57613ffc6143af565b5b614006826143de565b9050602081019050919050565b600067ffffffffffffffff82111561402e5761402d6143af565b5b614037826143de565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006140a7826141cb565b91506140b2836141cb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140e7576140e6614322565b5b828201905092915050565b60006140fd826141cb565b9150614108836141cb565b92508261411857614117614351565b5b828204905092915050565b600061412e826141cb565b9150614139836141cb565b92508282101561414c5761414b614322565b5b828203905092915050565b6000614162826141ab565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156142025780820151818401526020810190506141e7565b83811115614211576000848401525b50505050565b6000600282049050600182168061422f57607f821691505b6020821081141561424357614242614380565b5b50919050565b614252826143de565b810181811067ffffffffffffffff82111715614271576142706143af565b5b80604052505050565b6000614285826141cb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142b8576142b7614322565b5b600182019050919050565b60006142ce826142df565b9050919050565b6000819050919050565b60006142ea826143ef565b9050919050565b60006142fc826141cb565b9150614307836141cb565b92508261431757614316614351565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f54686973204e465420646f65736e27742065786973742e000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4578636565646564206d617820746f6b656e2070757263686173652e00000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f546869732061646472657373206973206e6f74206120686f6c6465722e000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e7360008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f546865206d696e74206973206e6f74206f70656e2e0000000000000000000000600082015250565b6149c881614157565b81146149d357600080fd5b50565b6149df81614169565b81146149ea57600080fd5b50565b6149f681614175565b8114614a0157600080fd5b50565b614a0d8161417f565b8114614a1857600080fd5b50565b614a24816141cb565b8114614a2f57600080fd5b5056fea26469706673582212201dadef137f2a1decd83ef9290021e977b7252c2bc5027273b040ca9f06590e8f64736f6c63430008040033

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.