ETH Price: $3,394.34 (+1.78%)

Token

Zero Project (ZERO)
 

Overview

Max Total Supply

1,183 ZERO

Holders

393

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
5 ZERO
0x882Eb53C4531f2E9B904e266e253A1FCB85F78aD
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
PZero

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

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

contract PZero is ERC721 , ERC721Enumerable, Ownable {

    string private baseUri;
    bytes32 public _merkleRoot;
    bool public reveal = false;

    bool public preSaleActive = false;
    bool public saleIsActive = false;
    uint16 public  constant MAX_SUPPLY = 5555;
    uint256 public  constant MAX_PRESALE_MINT = 5;
    uint256 public  tokenPrice = 0.07 ether;
    uint256 public  whitelistPrice = 0.04 ether;

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

    constructor(string memory _uri) ERC721("Zero Project", "ZERO") {
        baseUri = _uri;
        reserve(5);
    }

    function verify(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
            bytes32 computedHash = leaf;
            for (uint256 i = 0; i < proof.length; i++) {
                bytes32 proofElement = proof[i];

                if (computedHash <= proofElement) {
                    computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
                } else {
                    computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
                }
            }
            return computedHash == root;
        }

    function changeUri(string memory _uri) external onlyOwner {
        baseUri = _uri;
    }

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

    function activePreSale() external onlyOwner {
        preSaleActive = true;
    }

    function setPrice(uint256 _price) external onlyOwner {
        tokenPrice = _price; 
    }

    function setMerkleRoot(bytes32 _root) external onlyOwner {
        _merkleRoot = _root;
    }

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

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

    function tokenURI(uint256 tokenId) public view virtual override(ERC721) returns (string memory) {
        if (reveal == true) {
            return super.tokenURI(tokenId);
        } else {
            string memory baseURI = _baseURI();
            return string(abi.encodePacked(baseURI, "r", toString(tokenId)));
        }
    }

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

    function reserve(uint256 n) public onlyOwner {
      uint supply = totalSupply();
      uint i;
      for (i = 0; i < n; i++) {
          _safeMint(msg.sender, supply + i);
      }
    }

    function activeSales() public onlyOwner {
        preSaleActive = false;
        saleIsActive = true;
    }

    function regularMint(uint256 numberOfTokens) external payable {
        uint256 ts = totalSupply();
        require(ts + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed max tokens");
        require(tokenPrice * numberOfTokens <= msg.value, "Ether value sent is not correct");
        require(saleIsActive, "No sale for now");

        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender, ts + i);
        }
    }
    
    function preMint(bytes32[] calldata _merkleTree, uint256 numberOfTokens) external payable {
        uint256 ts = totalSupply();
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(preSaleActive, "No presale for now");
        require(balanceOf(msg.sender) + numberOfTokens <= MAX_PRESALE_MINT, "Exceeded max token purchase");
        require(verify(_merkleTree, _merkleRoot, leaf), "Not on whitelist");
        require(ts + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed max tokens");
        require(whitelistPrice * numberOfTokens <= msg.value, "Ether value sent is not correct");

        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender, ts + i);
        }
    }

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

File 3 of 13 : 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 4 of 13 : 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 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 13 of 13 : 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":[{"internalType":"string","name":"_uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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_PRESALE_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"activeSales","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"changeUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleTree","type":"bytes32[]"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"preSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"regularMint","outputs":[],"stateMutability":"payable","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":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revealToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","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":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600d60006101000a81548160ff0219169083151502179055506000600d60016101000a81548160ff0219169083151502179055506000600d60026101000a81548160ff02191690831515021790555066f8b0a10e470000600e55668e1bc9bf040000600f553480156200007857600080fd5b50604051620060823803806200608283398181016040528101906200009e919062000f54565b6040518060400160405280600c81526020017f5a65726f2050726f6a65637400000000000000000000000000000000000000008152506040518060400160405280600481526020017f5a45524f0000000000000000000000000000000000000000000000000000000081525081600090805190602001906200012292919062000def565b5080600190805190602001906200013b92919062000def565b5050506200015e620001526200019060201b60201c565b6200019860201b60201c565b80600b90805190602001906200017692919062000def565b506200018960056200025e60201b60201c565b506200160c565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200026e6200019060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002946200034760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002ed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002e4906200119b565b60405180910390fd5b6000620002ff6200037160201b60201c565b905060005b8281101562000342576200032c33828462000320919062001249565b6200037e60201b60201c565b80806200033990620013ed565b91505062000304565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600880549050905090565b620003a0828260405180602001604052806000815250620003a460201b60201c565b5050565b620003b683836200041260201b60201c565b620003cb6000848484620005f860201b60201c565b6200040d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004049062001113565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000485576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200047c9062001179565b60405180910390fd5b6200049681620007b260201b60201c565b15620004d9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004d09062001135565b60405180910390fd5b620004ed600083836200081e60201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200053f919062001249565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000620006268473ffffffffffffffffffffffffffffffffffffffff166200083b60201b62001a221760201c565b15620007a5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620006586200019060201b60201c565b8786866040518563ffffffff1660e01b81526004016200067c9493929190620010bf565b602060405180830381600087803b1580156200069757600080fd5b505af1925050508015620006cb57506040513d601f19601f82011682018060405250810190620006c8919062000f28565b60015b62000754573d8060008114620006fe576040519150601f19603f3d011682016040523d82523d6000602084013e62000703565b606091505b506000815114156200074c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007439062001113565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050620007aa565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b620008368383836200084e60201b62001a351760201c565b505050565b600080823b905060008111915050919050565b620008668383836200099560201b62001b491760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620008b357620008ad816200099a60201b60201c565b620008fb565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614620008fa57620008f98382620009e360201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200094857620009428162000b6060201b60201c565b62000990565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200098f576200098e828262000ca860201b60201c565b5b5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001620009fd8462000d3460201b62000e7c1760201c565b62000a099190620012a6565b905060006007600084815260200190815260200160002054905081811462000aef576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905062000b769190620012a6565b905060006009600084815260200190815260200160002054905060006008838154811062000bcd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811062000c16577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548062000c8c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600062000cc08362000d3460201b62000e7c1760201c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000da8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000d9f9062001157565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b82805462000dfd9062001381565b90600052602060002090601f01602090048101928262000e21576000855562000e6d565b82601f1062000e3c57805160ff191683800117855562000e6d565b8280016001018555821562000e6d579182015b8281111562000e6c57825182559160200191906001019062000e4f565b5b50905062000e7c919062000e80565b5090565b5b8082111562000e9b57600081600090555060010162000e81565b5090565b600062000eb662000eb084620011e6565b620011bd565b90508281526020810184848401111562000ecf57600080fd5b62000edc8482856200134b565b509392505050565b60008151905062000ef581620015f2565b92915050565b600082601f83011262000f0d57600080fd5b815162000f1f84826020860162000e9f565b91505092915050565b60006020828403121562000f3b57600080fd5b600062000f4b8482850162000ee4565b91505092915050565b60006020828403121562000f6757600080fd5b600082015167ffffffffffffffff81111562000f8257600080fd5b62000f908482850162000efb565b91505092915050565b62000fa481620012e1565b82525050565b600062000fb7826200121c565b62000fc3818562001227565b935062000fd58185602086016200134b565b62000fe081620014c8565b840191505092915050565b600062000ffa60328362001238565b91506200100782620014d9565b604082019050919050565b600062001021601c8362001238565b91506200102e8262001528565b602082019050919050565b600062001048602a8362001238565b9150620010558262001551565b604082019050919050565b60006200106f60208362001238565b91506200107c82620015a0565b602082019050919050565b60006200109660208362001238565b9150620010a382620015c9565b602082019050919050565b620010b98162001341565b82525050565b6000608082019050620010d6600083018762000f99565b620010e5602083018662000f99565b620010f46040830185620010ae565b818103606083015262001108818462000faa565b905095945050505050565b600060208201905081810360008301526200112e8162000feb565b9050919050565b60006020820190508181036000830152620011508162001012565b9050919050565b60006020820190508181036000830152620011728162001039565b9050919050565b60006020820190508181036000830152620011948162001060565b9050919050565b60006020820190508181036000830152620011b68162001087565b9050919050565b6000620011c9620011dc565b9050620011d78282620013b7565b919050565b6000604051905090565b600067ffffffffffffffff82111562001204576200120362001499565b5b6200120f82620014c8565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000620012568262001341565b9150620012638362001341565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200129b576200129a6200143b565b5b828201905092915050565b6000620012b38262001341565b9150620012c08362001341565b925082821015620012d657620012d56200143b565b5b828203905092915050565b6000620012ee8262001321565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200136b5780820151818401526020810190506200134e565b838111156200137b576000848401525b50505050565b600060028204905060018216806200139a57607f821691505b60208210811415620013b157620013b06200146a565b5b50919050565b620013c282620014c8565b810181811067ffffffffffffffff82111715620013e457620013e362001499565b5b80604052505050565b6000620013fa8262001341565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562001430576200142f6200143b565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b620015fd81620012f5565b81146200160957600080fd5b50565b614a66806200161c6000396000f3fe60806040526004361061021a5760003560e01c8063819b25ba11610123578063c3e30196116100ab578063eb8d24441161006f578063eb8d24441461079e578063f2fde38b146107c9578063f31d8505146107f2578063f4ddba9214610809578063fc1a1c36146108255761021a565b8063c3e30196146106c8578063c87b56dd146106e4578063d3b7f2f314610721578063e985e9c514610738578063eb1f9f6e146107755761021a565b806395d89b41116100f257806395d89b41146105f5578063a22cb46514610620578063a475b5dd14610649578063a70f1fbe14610674578063b88d4fde1461069f5761021a565b8063819b25ba1461054d57806384494708146105765780638da5cb5b146105a157806391b7f5ed146105cc5761021a565b806332cb6b0c116101a65780636352211e116101755780636352211e1461046857806370a08231146104a5578063715018a6146104e25780637cb64759146104f95780637ff9b596146105225761021a565b806332cb6b0c146103c05780633ccfd60b146103eb57806342842e0e146104025780634f6ccce71461042b5761021a565b806318160ddd116101ed57806318160ddd146102ed57806323b872dd146103185780632f745c59146103415780632fc37ab21461037e57806331905060146103a95761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190613544565b610850565b6040516102539190613b88565b60405180910390f35b34801561026857600080fd5b50610271610862565b60405161027e9190613bbe565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a991906135d7565b6108f4565b6040516102bb9190613b21565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e69190613487565b610979565b005b3480156102f957600080fd5b50610302610a91565b60405161030f9190613efb565b60405180910390f35b34801561032457600080fd5b5061033f600480360381019061033a9190613381565b610a9e565b005b34801561034d57600080fd5b5061036860048036038101906103639190613487565b610afe565b6040516103759190613efb565b60405180910390f35b34801561038a57600080fd5b50610393610ba3565b6040516103a09190613ba3565b60405180910390f35b3480156103b557600080fd5b506103be610ba9565b005b3480156103cc57600080fd5b506103d5610c42565b6040516103e29190613ee0565b60405180910390f35b3480156103f757600080fd5b50610400610c48565b005b34801561040e57600080fd5b5061042960048036038101906104249190613381565b610d13565b005b34801561043757600080fd5b50610452600480360381019061044d91906135d7565b610d33565b60405161045f9190613efb565b60405180910390f35b34801561047457600080fd5b5061048f600480360381019061048a91906135d7565b610dca565b60405161049c9190613b21565b60405180910390f35b3480156104b157600080fd5b506104cc60048036038101906104c7919061331c565b610e7c565b6040516104d99190613efb565b60405180910390f35b3480156104ee57600080fd5b506104f7610f34565b005b34801561050557600080fd5b50610520600480360381019061051b919061351b565b610fbc565b005b34801561052e57600080fd5b50610537611042565b6040516105449190613efb565b60405180910390f35b34801561055957600080fd5b50610574600480360381019061056f91906135d7565b611048565b005b34801561058257600080fd5b5061058b611108565b6040516105989190613b88565b60405180910390f35b3480156105ad57600080fd5b506105b661111b565b6040516105c39190613b21565b60405180910390f35b3480156105d857600080fd5b506105f360048036038101906105ee91906135d7565b611145565b005b34801561060157600080fd5b5061060a6111cb565b6040516106179190613bbe565b60405180910390f35b34801561062c57600080fd5b506106476004803603810190610642919061344b565b61125d565b005b34801561065557600080fd5b5061065e611273565b60405161066b9190613b88565b60405180910390f35b34801561068057600080fd5b50610689611286565b6040516106969190613efb565b60405180910390f35b3480156106ab57600080fd5b506106c660048036038101906106c191906133d0565b61128b565b005b6106e260048036038101906106dd91906134c3565b6112ed565b005b3480156106f057600080fd5b5061070b600480360381019061070691906135d7565b6114f6565b6040516107189190613bbe565b60405180910390f35b34801561072d57600080fd5b50610736611563565b005b34801561074457600080fd5b5061075f600480360381019061075a9190613345565b611617565b60405161076c9190613b88565b60405180910390f35b34801561078157600080fd5b5061079c60048036038101906107979190613596565b6116ab565b005b3480156107aa57600080fd5b506107b3611741565b6040516107c09190613b88565b60405180910390f35b3480156107d557600080fd5b506107f060048036038101906107eb919061331c565b611754565b005b3480156107fe57600080fd5b5061080761184c565b005b610823600480360381019061081e91906135d7565b6118e5565b005b34801561083157600080fd5b5061083a611a1c565b6040516108479190613efb565b60405180910390f35b600061085b82611b4e565b9050919050565b606060008054610871906141c3565b80601f016020809104026020016040519081016040528092919081815260200182805461089d906141c3565b80156108ea5780601f106108bf576101008083540402835291602001916108ea565b820191906000526020600020905b8154815290600101906020018083116108cd57829003601f168201915b5050505050905090565b60006108ff82611bc8565b61093e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093590613de0565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061098482610dca565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ec90613e60565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a14611c34565b73ffffffffffffffffffffffffffffffffffffffff161480610a435750610a4281610a3d611c34565b611617565b5b610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7990613d40565b60405180910390fd5b610a8c8383611c3c565b505050565b6000600880549050905090565b610aaf610aa9611c34565b82611cf5565b610aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae590613ea0565b60405180910390fd5b610af9838383611dd3565b505050565b6000610b0983610e7c565b8210610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4190613c00565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600c5481565b610bb1611c34565b73ffffffffffffffffffffffffffffffffffffffff16610bcf61111b565b73ffffffffffffffffffffffffffffffffffffffff1614610c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1c90613e00565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b6115b381565b610c50611c34565b73ffffffffffffffffffffffffffffffffffffffff16610c6e61111b565b73ffffffffffffffffffffffffffffffffffffffff1614610cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbb90613e00565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d0f573d6000803e3d6000fd5b5050565b610d2e8383836040518060200160405280600081525061128b565b505050565b6000610d3d610a91565b8210610d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7590613ec0565b60405180910390fd5b60088281548110610db8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6a90613d80565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610eed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee490613d60565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f3c611c34565b73ffffffffffffffffffffffffffffffffffffffff16610f5a61111b565b73ffffffffffffffffffffffffffffffffffffffff1614610fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa790613e00565b60405180910390fd5b610fba600061202f565b565b610fc4611c34565b73ffffffffffffffffffffffffffffffffffffffff16610fe261111b565b73ffffffffffffffffffffffffffffffffffffffff1614611038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102f90613e00565b60405180910390fd5b80600c8190555050565b600e5481565b611050611c34565b73ffffffffffffffffffffffffffffffffffffffff1661106e61111b565b73ffffffffffffffffffffffffffffffffffffffff16146110c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bb90613e00565b60405180910390fd5b60006110ce610a91565b905060005b82811015611103576110f03382846110eb9190613fe0565b6120f5565b80806110fb90614226565b9150506110d3565b505050565b600d60019054906101000a900460ff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61114d611c34565b73ffffffffffffffffffffffffffffffffffffffff1661116b61111b565b73ffffffffffffffffffffffffffffffffffffffff16146111c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b890613e00565b60405180910390fd5b80600e8190555050565b6060600180546111da906141c3565b80601f0160208091040260200160405190810160405280929190818152602001828054611206906141c3565b80156112535780601f1061122857610100808354040283529160200191611253565b820191906000526020600020905b81548152906001019060200180831161123657829003601f168201915b5050505050905090565b61126f611268611c34565b8383612113565b5050565b600d60009054906101000a900460ff1681565b600581565b61129c611296611c34565b83611cf5565b6112db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d290613ea0565b60405180910390fd5b6112e784848484612280565b50505050565b60006112f7610a91565b905060003360405160200161130c9190613a87565b604051602081830303815290604052805190602001209050600d60019054906101000a900460ff16611373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136a90613da0565b60405180910390fd5b60058361137f33610e7c565b6113899190613fe0565b11156113ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c190613e80565b60405180910390fd5b6113d88585600c54846122dc565b611417576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140e90613be0565b60405180910390fd5b6115b361ffff16838361142a9190613fe0565b111561146b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146290613c60565b60405180910390fd5b3483600f5461147a9190614067565b11156114bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b290613d00565b60405180910390fd5b60005b838110156114ee576114db3382856114d69190613fe0565b6120f5565b80806114e690614226565b9150506114be565b505050505050565b606060011515600d60009054906101000a900460ff16151514156115245761151d826123ba565b905061155e565b600061152e612461565b90508061153a846124f3565b60405160200161154b929190613af2565b6040516020818303038152906040529150505b919050565b61156b611c34565b73ffffffffffffffffffffffffffffffffffffffff1661158961111b565b73ffffffffffffffffffffffffffffffffffffffff16146115df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d690613e00565b60405180910390fd5b6000600d60016101000a81548160ff0219169083151502179055506001600d60026101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116b3611c34565b73ffffffffffffffffffffffffffffffffffffffff166116d161111b565b73ffffffffffffffffffffffffffffffffffffffff1614611727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171e90613e00565b60405180910390fd5b80600b908051906020019061173d9291906130e1565b5050565b600d60029054906101000a900460ff1681565b61175c611c34565b73ffffffffffffffffffffffffffffffffffffffff1661177a61111b565b73ffffffffffffffffffffffffffffffffffffffff16146117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c790613e00565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611840576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183790613c40565b60405180910390fd5b6118498161202f565b50565b611854611c34565b73ffffffffffffffffffffffffffffffffffffffff1661187261111b565b73ffffffffffffffffffffffffffffffffffffffff16146118c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bf90613e00565b60405180910390fd5b6001600d60016101000a81548160ff021916908315150217905550565b60006118ef610a91565b90506115b361ffff1682826119049190613fe0565b1115611945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193c90613c60565b60405180910390fd5b3482600e546119549190614067565b1115611995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198c90613d00565b60405180910390fd5b600d60029054906101000a900460ff166119e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119db90613ca0565b60405180910390fd5b60005b82811015611a1757611a043382846119ff9190613fe0565b6120f5565b8080611a0f90614226565b9150506119e7565b505050565b600f5481565b600080823b905060008111915050919050565b611a40838383611b49565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a8357611a7e816126a0565b611ac2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611ac157611ac083826126e9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b0557611b0081612856565b611b44565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611b4357611b428282612999565b5b5b505050565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bc15750611bc082612a18565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611caf83610dca565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611d0082611bc8565b611d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3690613d20565b60405180910390fd5b6000611d4a83610dca565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611db957508373ffffffffffffffffffffffffffffffffffffffff16611da1846108f4565b73ffffffffffffffffffffffffffffffffffffffff16145b80611dca5750611dc98185611617565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611df382610dca565b73ffffffffffffffffffffffffffffffffffffffff1614611e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4090613e20565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb090613cc0565b60405180910390fd5b611ec4838383612afa565b611ecf600082611c3c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f1f91906140c1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f769190613fe0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61210f828260405180602001604052806000815250612b0a565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612182576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217990613ce0565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122739190613b88565b60405180910390a3505050565b61228b848484611dd3565b61229784848484612b65565b6122d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cd90613c20565b60405180910390fd5b50505050565b60008082905060005b868690508110156123ab57600087878381811061232b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135905080831161236b57828160405160200161234e929190613aa2565b604051602081830303815290604052805190602001209250612397565b808360405160200161237e929190613aa2565b6040516020818303038152906040528051906020012092505b5080806123a390614226565b9150506122e5565b50838114915050949350505050565b60606123c582611bc8565b612404576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fb90613e40565b60405180910390fd5b600061240e612461565b9050600081511161242e5760405180602001604052806000815250612459565b8061243884612cfc565b604051602001612449929190613ace565b6040516020818303038152906040525b915050919050565b6060600b8054612470906141c3565b80601f016020809104026020016040519081016040528092919081815260200182805461249c906141c3565b80156124e95780601f106124be576101008083540402835291602001916124e9565b820191906000526020600020905b8154815290600101906020018083116124cc57829003601f168201915b5050505050905090565b6060600082141561253b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061269b565b600082905060005b6000821461256d57808061255690614226565b915050600a826125669190614036565b9150612543565b60008167ffffffffffffffff8111156125af577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156125e15781602001600182028036833780820191505090505b5090505b60008514612694576001826125fa91906140c1565b9150600a85612609919061429d565b60306126159190613fe0565b60f81b818381518110612651577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561268d9190614036565b94506125e5565b8093505050505b919050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016126f684610e7c565b61270091906140c1565b90506000600760008481526020019081526020016000205490508181146127e5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061286a91906140c1565b90506000600960008481526020019081526020016000205490506000600883815481106128c0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612908577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061297d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006129a483610e7c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ae357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612af35750612af282612ea9565b5b9050919050565b612b05838383611a35565b505050565b612b148383612f13565b612b216000848484612b65565b612b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5790613c20565b60405180910390fd5b505050565b6000612b868473ffffffffffffffffffffffffffffffffffffffff16611a22565b15612cef578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612baf611c34565b8786866040518563ffffffff1660e01b8152600401612bd19493929190613b3c565b602060405180830381600087803b158015612beb57600080fd5b505af1925050508015612c1c57506040513d601f19601f82011682018060405250810190612c19919061356d565b60015b612c9f573d8060008114612c4c576040519150601f19603f3d011682016040523d82523d6000602084013e612c51565b606091505b50600081511415612c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8e90613c20565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612cf4565b600190505b949350505050565b60606000821415612d44576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ea4565b600082905060005b60008214612d76578080612d5f90614226565b915050600a82612d6f9190614036565b9150612d4c565b60008167ffffffffffffffff811115612db8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612dea5781602001600182028036833780820191505090505b5090505b60008514612e9d57600182612e0391906140c1565b9150600a85612e12919061429d565b6030612e1e9190613fe0565b60f81b818381518110612e5a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e969190614036565b9450612dee565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7a90613dc0565b60405180910390fd5b612f8c81611bc8565b15612fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc390613c80565b60405180910390fd5b612fd860008383612afa565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130289190613fe0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546130ed906141c3565b90600052602060002090601f01602090048101928261310f5760008555613156565b82601f1061312857805160ff1916838001178555613156565b82800160010185558215613156579182015b8281111561315557825182559160200191906001019061313a565b5b5090506131639190613167565b5090565b5b80821115613180576000816000905550600101613168565b5090565b600061319761319284613f3b565b613f16565b9050828152602081018484840111156131af57600080fd5b6131ba848285614181565b509392505050565b60006131d56131d084613f6c565b613f16565b9050828152602081018484840111156131ed57600080fd5b6131f8848285614181565b509392505050565b60008135905061320f816149bd565b92915050565b60008083601f84011261322757600080fd5b8235905067ffffffffffffffff81111561324057600080fd5b60208301915083602082028301111561325857600080fd5b9250929050565b60008135905061326e816149d4565b92915050565b600081359050613283816149eb565b92915050565b60008135905061329881614a02565b92915050565b6000815190506132ad81614a02565b92915050565b600082601f8301126132c457600080fd5b81356132d4848260208601613184565b91505092915050565b600082601f8301126132ee57600080fd5b81356132fe8482602086016131c2565b91505092915050565b60008135905061331681614a19565b92915050565b60006020828403121561332e57600080fd5b600061333c84828501613200565b91505092915050565b6000806040838503121561335857600080fd5b600061336685828601613200565b925050602061337785828601613200565b9150509250929050565b60008060006060848603121561339657600080fd5b60006133a486828701613200565b93505060206133b586828701613200565b92505060406133c686828701613307565b9150509250925092565b600080600080608085870312156133e657600080fd5b60006133f487828801613200565b945050602061340587828801613200565b935050604061341687828801613307565b925050606085013567ffffffffffffffff81111561343357600080fd5b61343f878288016132b3565b91505092959194509250565b6000806040838503121561345e57600080fd5b600061346c85828601613200565b925050602061347d8582860161325f565b9150509250929050565b6000806040838503121561349a57600080fd5b60006134a885828601613200565b92505060206134b985828601613307565b9150509250929050565b6000806000604084860312156134d857600080fd5b600084013567ffffffffffffffff8111156134f257600080fd5b6134fe86828701613215565b9350935050602061351186828701613307565b9150509250925092565b60006020828403121561352d57600080fd5b600061353b84828501613274565b91505092915050565b60006020828403121561355657600080fd5b600061356484828501613289565b91505092915050565b60006020828403121561357f57600080fd5b600061358d8482850161329e565b91505092915050565b6000602082840312156135a857600080fd5b600082013567ffffffffffffffff8111156135c257600080fd5b6135ce848285016132dd565b91505092915050565b6000602082840312156135e957600080fd5b60006135f784828501613307565b91505092915050565b613609816140f5565b82525050565b61362061361b826140f5565b61426f565b82525050565b61362f81614107565b82525050565b61363e81614113565b82525050565b61365561365082614113565b614281565b82525050565b600061366682613f9d565b6136708185613fb3565b9350613680818560208601614190565b6136898161438a565b840191505092915050565b600061369f82613fa8565b6136a98185613fc4565b93506136b9818560208601614190565b6136c28161438a565b840191505092915050565b60006136d882613fa8565b6136e28185613fd5565b93506136f2818560208601614190565b80840191505092915050565b600061370b601083613fc4565b9150613716826143a8565b602082019050919050565b600061372e602b83613fc4565b9150613739826143d1565b604082019050919050565b6000613751603283613fc4565b915061375c82614420565b604082019050919050565b6000613774602683613fc4565b915061377f8261446f565b604082019050919050565b6000613797602083613fc4565b91506137a2826144be565b602082019050919050565b60006137ba601c83613fc4565b91506137c5826144e7565b602082019050919050565b60006137dd600183613fd5565b91506137e882614510565b600182019050919050565b6000613800600f83613fc4565b915061380b82614539565b602082019050919050565b6000613823602483613fc4565b915061382e82614562565b604082019050919050565b6000613846601983613fc4565b9150613851826145b1565b602082019050919050565b6000613869601f83613fc4565b9150613874826145da565b602082019050919050565b600061388c602c83613fc4565b915061389782614603565b604082019050919050565b60006138af603883613fc4565b91506138ba82614652565b604082019050919050565b60006138d2602a83613fc4565b91506138dd826146a1565b604082019050919050565b60006138f5602983613fc4565b9150613900826146f0565b604082019050919050565b6000613918601283613fc4565b91506139238261473f565b602082019050919050565b600061393b602083613fc4565b915061394682614768565b602082019050919050565b600061395e602c83613fc4565b915061396982614791565b604082019050919050565b6000613981602083613fc4565b915061398c826147e0565b602082019050919050565b60006139a4602983613fc4565b91506139af82614809565b604082019050919050565b60006139c7602f83613fc4565b91506139d282614858565b604082019050919050565b60006139ea602183613fc4565b91506139f5826148a7565b604082019050919050565b6000613a0d601b83613fc4565b9150613a18826148f6565b602082019050919050565b6000613a30603183613fc4565b9150613a3b8261491f565b604082019050919050565b6000613a53602c83613fc4565b9150613a5e8261496e565b604082019050919050565b613a7281614149565b82525050565b613a8181614177565b82525050565b6000613a93828461360f565b60148201915081905092915050565b6000613aae8285613644565b602082019150613abe8284613644565b6020820191508190509392505050565b6000613ada82856136cd565b9150613ae682846136cd565b91508190509392505050565b6000613afe82856136cd565b9150613b09826137d0565b9150613b1582846136cd565b91508190509392505050565b6000602082019050613b366000830184613600565b92915050565b6000608082019050613b516000830187613600565b613b5e6020830186613600565b613b6b6040830185613a78565b8181036060830152613b7d818461365b565b905095945050505050565b6000602082019050613b9d6000830184613626565b92915050565b6000602082019050613bb86000830184613635565b92915050565b60006020820190508181036000830152613bd88184613694565b905092915050565b60006020820190508181036000830152613bf9816136fe565b9050919050565b60006020820190508181036000830152613c1981613721565b9050919050565b60006020820190508181036000830152613c3981613744565b9050919050565b60006020820190508181036000830152613c5981613767565b9050919050565b60006020820190508181036000830152613c798161378a565b9050919050565b60006020820190508181036000830152613c99816137ad565b9050919050565b60006020820190508181036000830152613cb9816137f3565b9050919050565b60006020820190508181036000830152613cd981613816565b9050919050565b60006020820190508181036000830152613cf981613839565b9050919050565b60006020820190508181036000830152613d198161385c565b9050919050565b60006020820190508181036000830152613d398161387f565b9050919050565b60006020820190508181036000830152613d59816138a2565b9050919050565b60006020820190508181036000830152613d79816138c5565b9050919050565b60006020820190508181036000830152613d99816138e8565b9050919050565b60006020820190508181036000830152613db98161390b565b9050919050565b60006020820190508181036000830152613dd98161392e565b9050919050565b60006020820190508181036000830152613df981613951565b9050919050565b60006020820190508181036000830152613e1981613974565b9050919050565b60006020820190508181036000830152613e3981613997565b9050919050565b60006020820190508181036000830152613e59816139ba565b9050919050565b60006020820190508181036000830152613e79816139dd565b9050919050565b60006020820190508181036000830152613e9981613a00565b9050919050565b60006020820190508181036000830152613eb981613a23565b9050919050565b60006020820190508181036000830152613ed981613a46565b9050919050565b6000602082019050613ef56000830184613a69565b92915050565b6000602082019050613f106000830184613a78565b92915050565b6000613f20613f31565b9050613f2c82826141f5565b919050565b6000604051905090565b600067ffffffffffffffff821115613f5657613f5561435b565b5b613f5f8261438a565b9050602081019050919050565b600067ffffffffffffffff821115613f8757613f8661435b565b5b613f908261438a565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613feb82614177565b9150613ff683614177565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561402b5761402a6142ce565b5b828201905092915050565b600061404182614177565b915061404c83614177565b92508261405c5761405b6142fd565b5b828204905092915050565b600061407282614177565b915061407d83614177565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140b6576140b56142ce565b5b828202905092915050565b60006140cc82614177565b91506140d783614177565b9250828210156140ea576140e96142ce565b5b828203905092915050565b600061410082614157565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156141ae578082015181840152602081019050614193565b838111156141bd576000848401525b50505050565b600060028204905060018216806141db57607f821691505b602082108114156141ef576141ee61432c565b5b50919050565b6141fe8261438a565b810181811067ffffffffffffffff8211171561421d5761421c61435b565b5b80604052505050565b600061423182614177565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614264576142636142ce565b5b600182019050919050565b600061427a8261428b565b9050919050565b6000819050919050565b60006142968261439b565b9050919050565b60006142a882614177565b91506142b383614177565b9250826142c3576142c26142fd565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4e6f74206f6e2077686974656c69737400000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f7200000000000000000000000000000000000000000000000000000000000000600082015250565b7f4e6f2073616c6520666f72206e6f770000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e6f2070726573616c6520666f72206e6f770000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d617820746f6b656e2070757263686173650000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6149c6816140f5565b81146149d157600080fd5b50565b6149dd81614107565b81146149e857600080fd5b50565b6149f481614113565b81146149ff57600080fd5b50565b614a0b8161411d565b8114614a1657600080fd5b50565b614a2281614177565b8114614a2d57600080fd5b5056fea2646970667358221220c8c9e6a5c2565f65bc5bc75539d46b42cfe90b194737d63c1199aab717996dc064736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d617474473864557139707651556177483538467575445645623457385655717770663561647269324365456f2f00000000000000000000

Deployed Bytecode

0x60806040526004361061021a5760003560e01c8063819b25ba11610123578063c3e30196116100ab578063eb8d24441161006f578063eb8d24441461079e578063f2fde38b146107c9578063f31d8505146107f2578063f4ddba9214610809578063fc1a1c36146108255761021a565b8063c3e30196146106c8578063c87b56dd146106e4578063d3b7f2f314610721578063e985e9c514610738578063eb1f9f6e146107755761021a565b806395d89b41116100f257806395d89b41146105f5578063a22cb46514610620578063a475b5dd14610649578063a70f1fbe14610674578063b88d4fde1461069f5761021a565b8063819b25ba1461054d57806384494708146105765780638da5cb5b146105a157806391b7f5ed146105cc5761021a565b806332cb6b0c116101a65780636352211e116101755780636352211e1461046857806370a08231146104a5578063715018a6146104e25780637cb64759146104f95780637ff9b596146105225761021a565b806332cb6b0c146103c05780633ccfd60b146103eb57806342842e0e146104025780634f6ccce71461042b5761021a565b806318160ddd116101ed57806318160ddd146102ed57806323b872dd146103185780632f745c59146103415780632fc37ab21461037e57806331905060146103a95761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190613544565b610850565b6040516102539190613b88565b60405180910390f35b34801561026857600080fd5b50610271610862565b60405161027e9190613bbe565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a991906135d7565b6108f4565b6040516102bb9190613b21565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e69190613487565b610979565b005b3480156102f957600080fd5b50610302610a91565b60405161030f9190613efb565b60405180910390f35b34801561032457600080fd5b5061033f600480360381019061033a9190613381565b610a9e565b005b34801561034d57600080fd5b5061036860048036038101906103639190613487565b610afe565b6040516103759190613efb565b60405180910390f35b34801561038a57600080fd5b50610393610ba3565b6040516103a09190613ba3565b60405180910390f35b3480156103b557600080fd5b506103be610ba9565b005b3480156103cc57600080fd5b506103d5610c42565b6040516103e29190613ee0565b60405180910390f35b3480156103f757600080fd5b50610400610c48565b005b34801561040e57600080fd5b5061042960048036038101906104249190613381565b610d13565b005b34801561043757600080fd5b50610452600480360381019061044d91906135d7565b610d33565b60405161045f9190613efb565b60405180910390f35b34801561047457600080fd5b5061048f600480360381019061048a91906135d7565b610dca565b60405161049c9190613b21565b60405180910390f35b3480156104b157600080fd5b506104cc60048036038101906104c7919061331c565b610e7c565b6040516104d99190613efb565b60405180910390f35b3480156104ee57600080fd5b506104f7610f34565b005b34801561050557600080fd5b50610520600480360381019061051b919061351b565b610fbc565b005b34801561052e57600080fd5b50610537611042565b6040516105449190613efb565b60405180910390f35b34801561055957600080fd5b50610574600480360381019061056f91906135d7565b611048565b005b34801561058257600080fd5b5061058b611108565b6040516105989190613b88565b60405180910390f35b3480156105ad57600080fd5b506105b661111b565b6040516105c39190613b21565b60405180910390f35b3480156105d857600080fd5b506105f360048036038101906105ee91906135d7565b611145565b005b34801561060157600080fd5b5061060a6111cb565b6040516106179190613bbe565b60405180910390f35b34801561062c57600080fd5b506106476004803603810190610642919061344b565b61125d565b005b34801561065557600080fd5b5061065e611273565b60405161066b9190613b88565b60405180910390f35b34801561068057600080fd5b50610689611286565b6040516106969190613efb565b60405180910390f35b3480156106ab57600080fd5b506106c660048036038101906106c191906133d0565b61128b565b005b6106e260048036038101906106dd91906134c3565b6112ed565b005b3480156106f057600080fd5b5061070b600480360381019061070691906135d7565b6114f6565b6040516107189190613bbe565b60405180910390f35b34801561072d57600080fd5b50610736611563565b005b34801561074457600080fd5b5061075f600480360381019061075a9190613345565b611617565b60405161076c9190613b88565b60405180910390f35b34801561078157600080fd5b5061079c60048036038101906107979190613596565b6116ab565b005b3480156107aa57600080fd5b506107b3611741565b6040516107c09190613b88565b60405180910390f35b3480156107d557600080fd5b506107f060048036038101906107eb919061331c565b611754565b005b3480156107fe57600080fd5b5061080761184c565b005b610823600480360381019061081e91906135d7565b6118e5565b005b34801561083157600080fd5b5061083a611a1c565b6040516108479190613efb565b60405180910390f35b600061085b82611b4e565b9050919050565b606060008054610871906141c3565b80601f016020809104026020016040519081016040528092919081815260200182805461089d906141c3565b80156108ea5780601f106108bf576101008083540402835291602001916108ea565b820191906000526020600020905b8154815290600101906020018083116108cd57829003601f168201915b5050505050905090565b60006108ff82611bc8565b61093e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093590613de0565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061098482610dca565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ec90613e60565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a14611c34565b73ffffffffffffffffffffffffffffffffffffffff161480610a435750610a4281610a3d611c34565b611617565b5b610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7990613d40565b60405180910390fd5b610a8c8383611c3c565b505050565b6000600880549050905090565b610aaf610aa9611c34565b82611cf5565b610aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae590613ea0565b60405180910390fd5b610af9838383611dd3565b505050565b6000610b0983610e7c565b8210610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4190613c00565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600c5481565b610bb1611c34565b73ffffffffffffffffffffffffffffffffffffffff16610bcf61111b565b73ffffffffffffffffffffffffffffffffffffffff1614610c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1c90613e00565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b6115b381565b610c50611c34565b73ffffffffffffffffffffffffffffffffffffffff16610c6e61111b565b73ffffffffffffffffffffffffffffffffffffffff1614610cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbb90613e00565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d0f573d6000803e3d6000fd5b5050565b610d2e8383836040518060200160405280600081525061128b565b505050565b6000610d3d610a91565b8210610d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7590613ec0565b60405180910390fd5b60088281548110610db8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6a90613d80565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610eed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee490613d60565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f3c611c34565b73ffffffffffffffffffffffffffffffffffffffff16610f5a61111b565b73ffffffffffffffffffffffffffffffffffffffff1614610fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa790613e00565b60405180910390fd5b610fba600061202f565b565b610fc4611c34565b73ffffffffffffffffffffffffffffffffffffffff16610fe261111b565b73ffffffffffffffffffffffffffffffffffffffff1614611038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102f90613e00565b60405180910390fd5b80600c8190555050565b600e5481565b611050611c34565b73ffffffffffffffffffffffffffffffffffffffff1661106e61111b565b73ffffffffffffffffffffffffffffffffffffffff16146110c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bb90613e00565b60405180910390fd5b60006110ce610a91565b905060005b82811015611103576110f03382846110eb9190613fe0565b6120f5565b80806110fb90614226565b9150506110d3565b505050565b600d60019054906101000a900460ff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61114d611c34565b73ffffffffffffffffffffffffffffffffffffffff1661116b61111b565b73ffffffffffffffffffffffffffffffffffffffff16146111c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b890613e00565b60405180910390fd5b80600e8190555050565b6060600180546111da906141c3565b80601f0160208091040260200160405190810160405280929190818152602001828054611206906141c3565b80156112535780601f1061122857610100808354040283529160200191611253565b820191906000526020600020905b81548152906001019060200180831161123657829003601f168201915b5050505050905090565b61126f611268611c34565b8383612113565b5050565b600d60009054906101000a900460ff1681565b600581565b61129c611296611c34565b83611cf5565b6112db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d290613ea0565b60405180910390fd5b6112e784848484612280565b50505050565b60006112f7610a91565b905060003360405160200161130c9190613a87565b604051602081830303815290604052805190602001209050600d60019054906101000a900460ff16611373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136a90613da0565b60405180910390fd5b60058361137f33610e7c565b6113899190613fe0565b11156113ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c190613e80565b60405180910390fd5b6113d88585600c54846122dc565b611417576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140e90613be0565b60405180910390fd5b6115b361ffff16838361142a9190613fe0565b111561146b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146290613c60565b60405180910390fd5b3483600f5461147a9190614067565b11156114bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b290613d00565b60405180910390fd5b60005b838110156114ee576114db3382856114d69190613fe0565b6120f5565b80806114e690614226565b9150506114be565b505050505050565b606060011515600d60009054906101000a900460ff16151514156115245761151d826123ba565b905061155e565b600061152e612461565b90508061153a846124f3565b60405160200161154b929190613af2565b6040516020818303038152906040529150505b919050565b61156b611c34565b73ffffffffffffffffffffffffffffffffffffffff1661158961111b565b73ffffffffffffffffffffffffffffffffffffffff16146115df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d690613e00565b60405180910390fd5b6000600d60016101000a81548160ff0219169083151502179055506001600d60026101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116b3611c34565b73ffffffffffffffffffffffffffffffffffffffff166116d161111b565b73ffffffffffffffffffffffffffffffffffffffff1614611727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171e90613e00565b60405180910390fd5b80600b908051906020019061173d9291906130e1565b5050565b600d60029054906101000a900460ff1681565b61175c611c34565b73ffffffffffffffffffffffffffffffffffffffff1661177a61111b565b73ffffffffffffffffffffffffffffffffffffffff16146117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c790613e00565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611840576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183790613c40565b60405180910390fd5b6118498161202f565b50565b611854611c34565b73ffffffffffffffffffffffffffffffffffffffff1661187261111b565b73ffffffffffffffffffffffffffffffffffffffff16146118c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bf90613e00565b60405180910390fd5b6001600d60016101000a81548160ff021916908315150217905550565b60006118ef610a91565b90506115b361ffff1682826119049190613fe0565b1115611945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193c90613c60565b60405180910390fd5b3482600e546119549190614067565b1115611995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198c90613d00565b60405180910390fd5b600d60029054906101000a900460ff166119e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119db90613ca0565b60405180910390fd5b60005b82811015611a1757611a043382846119ff9190613fe0565b6120f5565b8080611a0f90614226565b9150506119e7565b505050565b600f5481565b600080823b905060008111915050919050565b611a40838383611b49565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a8357611a7e816126a0565b611ac2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611ac157611ac083826126e9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b0557611b0081612856565b611b44565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611b4357611b428282612999565b5b5b505050565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bc15750611bc082612a18565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611caf83610dca565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611d0082611bc8565b611d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3690613d20565b60405180910390fd5b6000611d4a83610dca565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611db957508373ffffffffffffffffffffffffffffffffffffffff16611da1846108f4565b73ffffffffffffffffffffffffffffffffffffffff16145b80611dca5750611dc98185611617565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611df382610dca565b73ffffffffffffffffffffffffffffffffffffffff1614611e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4090613e20565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb090613cc0565b60405180910390fd5b611ec4838383612afa565b611ecf600082611c3c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f1f91906140c1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f769190613fe0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61210f828260405180602001604052806000815250612b0a565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612182576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217990613ce0565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122739190613b88565b60405180910390a3505050565b61228b848484611dd3565b61229784848484612b65565b6122d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cd90613c20565b60405180910390fd5b50505050565b60008082905060005b868690508110156123ab57600087878381811061232b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135905080831161236b57828160405160200161234e929190613aa2565b604051602081830303815290604052805190602001209250612397565b808360405160200161237e929190613aa2565b6040516020818303038152906040528051906020012092505b5080806123a390614226565b9150506122e5565b50838114915050949350505050565b60606123c582611bc8565b612404576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fb90613e40565b60405180910390fd5b600061240e612461565b9050600081511161242e5760405180602001604052806000815250612459565b8061243884612cfc565b604051602001612449929190613ace565b6040516020818303038152906040525b915050919050565b6060600b8054612470906141c3565b80601f016020809104026020016040519081016040528092919081815260200182805461249c906141c3565b80156124e95780601f106124be576101008083540402835291602001916124e9565b820191906000526020600020905b8154815290600101906020018083116124cc57829003601f168201915b5050505050905090565b6060600082141561253b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061269b565b600082905060005b6000821461256d57808061255690614226565b915050600a826125669190614036565b9150612543565b60008167ffffffffffffffff8111156125af577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156125e15781602001600182028036833780820191505090505b5090505b60008514612694576001826125fa91906140c1565b9150600a85612609919061429d565b60306126159190613fe0565b60f81b818381518110612651577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561268d9190614036565b94506125e5565b8093505050505b919050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016126f684610e7c565b61270091906140c1565b90506000600760008481526020019081526020016000205490508181146127e5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061286a91906140c1565b90506000600960008481526020019081526020016000205490506000600883815481106128c0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612908577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061297d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006129a483610e7c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ae357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612af35750612af282612ea9565b5b9050919050565b612b05838383611a35565b505050565b612b148383612f13565b612b216000848484612b65565b612b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5790613c20565b60405180910390fd5b505050565b6000612b868473ffffffffffffffffffffffffffffffffffffffff16611a22565b15612cef578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612baf611c34565b8786866040518563ffffffff1660e01b8152600401612bd19493929190613b3c565b602060405180830381600087803b158015612beb57600080fd5b505af1925050508015612c1c57506040513d601f19601f82011682018060405250810190612c19919061356d565b60015b612c9f573d8060008114612c4c576040519150601f19603f3d011682016040523d82523d6000602084013e612c51565b606091505b50600081511415612c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8e90613c20565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612cf4565b600190505b949350505050565b60606000821415612d44576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ea4565b600082905060005b60008214612d76578080612d5f90614226565b915050600a82612d6f9190614036565b9150612d4c565b60008167ffffffffffffffff811115612db8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612dea5781602001600182028036833780820191505090505b5090505b60008514612e9d57600182612e0391906140c1565b9150600a85612e12919061429d565b6030612e1e9190613fe0565b60f81b818381518110612e5a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e969190614036565b9450612dee565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7a90613dc0565b60405180910390fd5b612f8c81611bc8565b15612fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc390613c80565b60405180910390fd5b612fd860008383612afa565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130289190613fe0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546130ed906141c3565b90600052602060002090601f01602090048101928261310f5760008555613156565b82601f1061312857805160ff1916838001178555613156565b82800160010185558215613156579182015b8281111561315557825182559160200191906001019061313a565b5b5090506131639190613167565b5090565b5b80821115613180576000816000905550600101613168565b5090565b600061319761319284613f3b565b613f16565b9050828152602081018484840111156131af57600080fd5b6131ba848285614181565b509392505050565b60006131d56131d084613f6c565b613f16565b9050828152602081018484840111156131ed57600080fd5b6131f8848285614181565b509392505050565b60008135905061320f816149bd565b92915050565b60008083601f84011261322757600080fd5b8235905067ffffffffffffffff81111561324057600080fd5b60208301915083602082028301111561325857600080fd5b9250929050565b60008135905061326e816149d4565b92915050565b600081359050613283816149eb565b92915050565b60008135905061329881614a02565b92915050565b6000815190506132ad81614a02565b92915050565b600082601f8301126132c457600080fd5b81356132d4848260208601613184565b91505092915050565b600082601f8301126132ee57600080fd5b81356132fe8482602086016131c2565b91505092915050565b60008135905061331681614a19565b92915050565b60006020828403121561332e57600080fd5b600061333c84828501613200565b91505092915050565b6000806040838503121561335857600080fd5b600061336685828601613200565b925050602061337785828601613200565b9150509250929050565b60008060006060848603121561339657600080fd5b60006133a486828701613200565b93505060206133b586828701613200565b92505060406133c686828701613307565b9150509250925092565b600080600080608085870312156133e657600080fd5b60006133f487828801613200565b945050602061340587828801613200565b935050604061341687828801613307565b925050606085013567ffffffffffffffff81111561343357600080fd5b61343f878288016132b3565b91505092959194509250565b6000806040838503121561345e57600080fd5b600061346c85828601613200565b925050602061347d8582860161325f565b9150509250929050565b6000806040838503121561349a57600080fd5b60006134a885828601613200565b92505060206134b985828601613307565b9150509250929050565b6000806000604084860312156134d857600080fd5b600084013567ffffffffffffffff8111156134f257600080fd5b6134fe86828701613215565b9350935050602061351186828701613307565b9150509250925092565b60006020828403121561352d57600080fd5b600061353b84828501613274565b91505092915050565b60006020828403121561355657600080fd5b600061356484828501613289565b91505092915050565b60006020828403121561357f57600080fd5b600061358d8482850161329e565b91505092915050565b6000602082840312156135a857600080fd5b600082013567ffffffffffffffff8111156135c257600080fd5b6135ce848285016132dd565b91505092915050565b6000602082840312156135e957600080fd5b60006135f784828501613307565b91505092915050565b613609816140f5565b82525050565b61362061361b826140f5565b61426f565b82525050565b61362f81614107565b82525050565b61363e81614113565b82525050565b61365561365082614113565b614281565b82525050565b600061366682613f9d565b6136708185613fb3565b9350613680818560208601614190565b6136898161438a565b840191505092915050565b600061369f82613fa8565b6136a98185613fc4565b93506136b9818560208601614190565b6136c28161438a565b840191505092915050565b60006136d882613fa8565b6136e28185613fd5565b93506136f2818560208601614190565b80840191505092915050565b600061370b601083613fc4565b9150613716826143a8565b602082019050919050565b600061372e602b83613fc4565b9150613739826143d1565b604082019050919050565b6000613751603283613fc4565b915061375c82614420565b604082019050919050565b6000613774602683613fc4565b915061377f8261446f565b604082019050919050565b6000613797602083613fc4565b91506137a2826144be565b602082019050919050565b60006137ba601c83613fc4565b91506137c5826144e7565b602082019050919050565b60006137dd600183613fd5565b91506137e882614510565b600182019050919050565b6000613800600f83613fc4565b915061380b82614539565b602082019050919050565b6000613823602483613fc4565b915061382e82614562565b604082019050919050565b6000613846601983613fc4565b9150613851826145b1565b602082019050919050565b6000613869601f83613fc4565b9150613874826145da565b602082019050919050565b600061388c602c83613fc4565b915061389782614603565b604082019050919050565b60006138af603883613fc4565b91506138ba82614652565b604082019050919050565b60006138d2602a83613fc4565b91506138dd826146a1565b604082019050919050565b60006138f5602983613fc4565b9150613900826146f0565b604082019050919050565b6000613918601283613fc4565b91506139238261473f565b602082019050919050565b600061393b602083613fc4565b915061394682614768565b602082019050919050565b600061395e602c83613fc4565b915061396982614791565b604082019050919050565b6000613981602083613fc4565b915061398c826147e0565b602082019050919050565b60006139a4602983613fc4565b91506139af82614809565b604082019050919050565b60006139c7602f83613fc4565b91506139d282614858565b604082019050919050565b60006139ea602183613fc4565b91506139f5826148a7565b604082019050919050565b6000613a0d601b83613fc4565b9150613a18826148f6565b602082019050919050565b6000613a30603183613fc4565b9150613a3b8261491f565b604082019050919050565b6000613a53602c83613fc4565b9150613a5e8261496e565b604082019050919050565b613a7281614149565b82525050565b613a8181614177565b82525050565b6000613a93828461360f565b60148201915081905092915050565b6000613aae8285613644565b602082019150613abe8284613644565b6020820191508190509392505050565b6000613ada82856136cd565b9150613ae682846136cd565b91508190509392505050565b6000613afe82856136cd565b9150613b09826137d0565b9150613b1582846136cd565b91508190509392505050565b6000602082019050613b366000830184613600565b92915050565b6000608082019050613b516000830187613600565b613b5e6020830186613600565b613b6b6040830185613a78565b8181036060830152613b7d818461365b565b905095945050505050565b6000602082019050613b9d6000830184613626565b92915050565b6000602082019050613bb86000830184613635565b92915050565b60006020820190508181036000830152613bd88184613694565b905092915050565b60006020820190508181036000830152613bf9816136fe565b9050919050565b60006020820190508181036000830152613c1981613721565b9050919050565b60006020820190508181036000830152613c3981613744565b9050919050565b60006020820190508181036000830152613c5981613767565b9050919050565b60006020820190508181036000830152613c798161378a565b9050919050565b60006020820190508181036000830152613c99816137ad565b9050919050565b60006020820190508181036000830152613cb9816137f3565b9050919050565b60006020820190508181036000830152613cd981613816565b9050919050565b60006020820190508181036000830152613cf981613839565b9050919050565b60006020820190508181036000830152613d198161385c565b9050919050565b60006020820190508181036000830152613d398161387f565b9050919050565b60006020820190508181036000830152613d59816138a2565b9050919050565b60006020820190508181036000830152613d79816138c5565b9050919050565b60006020820190508181036000830152613d99816138e8565b9050919050565b60006020820190508181036000830152613db98161390b565b9050919050565b60006020820190508181036000830152613dd98161392e565b9050919050565b60006020820190508181036000830152613df981613951565b9050919050565b60006020820190508181036000830152613e1981613974565b9050919050565b60006020820190508181036000830152613e3981613997565b9050919050565b60006020820190508181036000830152613e59816139ba565b9050919050565b60006020820190508181036000830152613e79816139dd565b9050919050565b60006020820190508181036000830152613e9981613a00565b9050919050565b60006020820190508181036000830152613eb981613a23565b9050919050565b60006020820190508181036000830152613ed981613a46565b9050919050565b6000602082019050613ef56000830184613a69565b92915050565b6000602082019050613f106000830184613a78565b92915050565b6000613f20613f31565b9050613f2c82826141f5565b919050565b6000604051905090565b600067ffffffffffffffff821115613f5657613f5561435b565b5b613f5f8261438a565b9050602081019050919050565b600067ffffffffffffffff821115613f8757613f8661435b565b5b613f908261438a565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613feb82614177565b9150613ff683614177565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561402b5761402a6142ce565b5b828201905092915050565b600061404182614177565b915061404c83614177565b92508261405c5761405b6142fd565b5b828204905092915050565b600061407282614177565b915061407d83614177565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140b6576140b56142ce565b5b828202905092915050565b60006140cc82614177565b91506140d783614177565b9250828210156140ea576140e96142ce565b5b828203905092915050565b600061410082614157565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156141ae578082015181840152602081019050614193565b838111156141bd576000848401525b50505050565b600060028204905060018216806141db57607f821691505b602082108114156141ef576141ee61432c565b5b50919050565b6141fe8261438a565b810181811067ffffffffffffffff8211171561421d5761421c61435b565b5b80604052505050565b600061423182614177565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614264576142636142ce565b5b600182019050919050565b600061427a8261428b565b9050919050565b6000819050919050565b60006142968261439b565b9050919050565b60006142a882614177565b91506142b383614177565b9250826142c3576142c26142fd565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4e6f74206f6e2077686974656c69737400000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f7200000000000000000000000000000000000000000000000000000000000000600082015250565b7f4e6f2073616c6520666f72206e6f770000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e6f2070726573616c6520666f72206e6f770000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d617820746f6b656e2070757263686173650000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6149c6816140f5565b81146149d157600080fd5b50565b6149dd81614107565b81146149e857600080fd5b50565b6149f481614113565b81146149ff57600080fd5b50565b614a0b8161411d565b8114614a1657600080fd5b50565b614a2281614177565b8114614a2d57600080fd5b5056fea2646970667358221220c8c9e6a5c2565f65bc5bc75539d46b42cfe90b194737d63c1199aab717996dc064736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d617474473864557139707651556177483538467575445645623457385655717770663561647269324365456f2f00000000000000000000

-----Decoded View---------------
Arg [0] : _uri (string): ipfs://QmattG8dUq9pvQUawH58FuuDVEb4W8VUqwpf5adri2CeEo/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d6174744738645571397076515561774835384675754456
Arg [3] : 45623457385655717770663561647269324365456f2f00000000000000000000


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.