ETH Price: $2,663.24 (+8.19%)
 

Overview

Max Total Supply

487 AI

Holders

61

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
24 AI
0xb130923C16796Da5A96B87529d77B1dbdF4C1E79
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:
TattooArtists

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : TattooArtists.sol
// SPDX-License-Identifier: MIT
//   /$$$$$$$$          /$$     /$$
//  |__  $$__/         | $$    | $$
//     | $$  /$$$$$$  /$$$$$$ /$$$$$$    /$$$$$$   /$$$$$$
//     | $$ |____  $$|_  $$_/|_  $$_/   /$$__  $$ /$$__  $$
//     | $$  /$$$$$$$  | $$    | $$    | $$  \ $$| $$  \ $$
//     | $$ /$$__  $$  | $$ /$$| $$ /$$| $$  | $$| $$  | $$
//     | $$|  $$$$$$$  |  $$$$/|  $$$$/|  $$$$$$/|  $$$$$$/
//     |__/ \_______/   \___/   \___/   \______/  \______/
//
//
//
//    /$$$$$$              /$$     /$$             /$$
//   /$$__  $$            | $$    |__/            | $$
//  | $$  \ $$  /$$$$$$  /$$$$$$   /$$  /$$$$$$$ /$$$$$$   /$$$$$$$
//  | $$$$$$$$ /$$__  $$|_  $$_/  | $$ /$$_____/|_  $$_/  /$$_____/
//  | $$__  $$| $$  \__/  | $$    | $$|  $$$$$$   | $$   |  $$$$$$
//  | $$  | $$| $$        | $$ /$$| $$ \____  $$  | $$ /$$\____  $$
//  | $$  | $$| $$        |  $$$$/| $$ /$$$$$$$/  |  $$$$//$$$$$$$/
//  |__/  |__/|__/         \___/  |__/|_______/    \___/ |_______/
//
// Author: Martin, Mike, Christian

pragma solidity >=0.8.0 <0.9.0;

import "./ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract TattooArtists is ERC721A, Ownable, ReentrancyGuard {
    using Strings for uint256;

    string public _baseTokenURI;
    string public hiddenMetadataUri;

    uint256 public cost = 0.0045 ether;
    uint256 public freemint_supply = 0;
    uint256 public maxMintAmountPerTx = 20;
    uint256 public maxSupply = 4165;
    bool public paused = false;
    bool public revealed;

    bool public isSignature = true;

    constructor(string memory _hiddenMetadataUri)
        ERC721A("Alien Inkling", "AI")
    {
        setHiddenMetadataUri(_hiddenMetadataUri);
        Airdrop();
    }

    function setMaxSupply(uint256 _maxSupply) public onlyOwner {
        maxSupply = _maxSupply;
    }

    function mint(
        uint256 _mintAmount,
        uint256 _timestamp,
        bytes memory _signature
    ) public payable nonReentrant {
        require(
            _mintAmount > 0 && _mintAmount <= maxMintAmountPerTx,
            "Invalid mint amount!"
        );
        require(
            totalSupply() + _mintAmount <= maxSupply,
            "Max supply exceeded!"
        );
        require(!paused, "The contract is paused!");
        require(msg.value >= cost * _mintAmount, "Insufficient funds!");

        address wallet = _msgSender();
        if (isSignature) {
            address signerOwner = signatureWallet(
                wallet,
                _mintAmount,
                _timestamp,
                _signature
            );
            require(signerOwner == owner(), "Not authorized to mint");

            require(block.timestamp >= _timestamp - 30, "Out of time");

            _safeMint(wallet, _mintAmount);
        } else {
            _safeMint(wallet, _mintAmount);
        }
        payable(owner()).transfer(msg.value);
    }

    function setSignature(bool _isSignature) public onlyOwner {
        isSignature = _isSignature;
    }

    function signatureWallet(
        address wallet,
        uint256 _tokenAmount,
        uint256 _timestamp,
        bytes memory _signature
    ) public pure returns (address) {
        return
            ECDSA.recover(
                keccak256(abi.encode(wallet, _tokenAmount, _timestamp)),
                _signature
            );
    }
    function freeMintAirdrop(
        address _address,
        uint256 _mintAmount
    ) public nonReentrant {
        require(!paused, "The contract is paused!");
        _safeMint(_address, _mintAmount);
        
    }

    function freemint(
        uint256 _mintAmount,
        uint256 _timestamp,
        bytes memory _signature
    ) public nonReentrant {
        require(
            _mintAmount > 0 && _mintAmount <= maxMintAmountPerTx,
            "Invalid mint amount!"
        );
        require(
            totalSupply() + _mintAmount <= freemint_supply,
            "Freemint Max supply exceeded!"
        );
        require(!paused, "The contract is paused!");
        // require(msg.value >= cost * _mintAmount, "Insufficient funds!");

        address wallet = _msgSender();
        if (isSignature) {
            address signerOwner = signatureWallet(
                wallet,
                _mintAmount,
                _timestamp,
                _signature
            );
            require(signerOwner == owner(), "Not authorized to mint");

            require(block.timestamp >= _timestamp - 30, "Out of time");

            _safeMint(wallet, _mintAmount);
        } else {
            _safeMint(wallet, _mintAmount);
        }
    }

    function mintForAddress(uint256 _mintAmount, address _receiver)
        public
        onlyOwner
    {
        _safeMint(_receiver, _mintAmount);
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function setRevealed(bool _state) public onlyOwner {
        revealed = _state;
    }

    function setCost(uint256 _cost) public onlyOwner {
        cost = _cost;
    }

    function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx)
        public
        onlyOwner
    {
        maxMintAmountPerTx = _maxMintAmountPerTx;
    }

    function setPaused(bool _state) public onlyOwner {
        paused = _state;
    }

    function setFreemintSupply(uint256 _freemintSupply) public onlyOwner {
        freemint_supply = _freemintSupply;
    }

    function withdrawAll(address _withdrawAddress) public onlyOwner {
        (bool os, ) = payable(_withdrawAddress).call{
            value: address(this).balance
        }("");
        require(os);
    }

    function withdraw() public payable onlyOwner {
    (bool os, ) = payable(owner()).call{value: address(this).balance}("");
    require(os);
  }

    // METADATA HANDLING

    function setHiddenMetadataUri(string memory _hiddenMetadataUri)
        public
        onlyOwner
    {
        hiddenMetadataUri = _hiddenMetadataUri;
    }

    function setBaseURI(string calldata baseURI) public onlyOwner {
        _baseTokenURI = baseURI;
    }

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

    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(_tokenId), "URI does not exist!");

        if (revealed) {
            return
                string(
                    abi.encodePacked(_baseURI(), _tokenId.toString(), ".json")
                );
        } else {
            return
                string(
                    abi.encodePacked(hiddenMetadataUri, _tokenId.toString(), ".json")
                );
        }
    }

    function Airdrop() private{
        freeMintAirdrop(0xE5BaDEa71d2ad9d284f80a3cb91231997a5d74a4, 2);
        freeMintAirdrop(0xE7C26A45dC27b7BE98d265F4D86D4859f4147cca, 2);
        freeMintAirdrop(0xa978291BDfeeaC037Aa8141FEF2BB7e9c511D659, 8);
        freeMintAirdrop(0x750E19B430dfF7Fc16fEe27aA97A5D0a030D57A4, 8);
        freeMintAirdrop(0x444458e24a60560DE3A9aF2fe59cc7a695ca1821, 8);
        freeMintAirdrop(0x90c0F855979018daBC6b517f39FAddc90Acae292, 4);
        freeMintAirdrop(0xCEA7225621e68aD823EdC4AcaB399C640E1cE89A, 6);
        freeMintAirdrop(0xf67b32F542D461D4960dDC01A773684D44cFFa20, 2);
        freeMintAirdrop(0x29f9ef8286dcc4F9a94340278DB01f12c3483988, 2);
        freeMintAirdrop(0x3bb5A706AE90ba7ea5a7403b20A134b6D8c6B815, 2);
        freeMintAirdrop(0x3Dc954502511Ed10735FDd0c2189fe7E0730Bf4C, 2);
        freeMintAirdrop(0xb130923C16796Da5A96B87529d77B1dbdF4C1E79, 4);
        freeMintAirdrop(0xC13e5551C962Ea93B2Fb4b4F42ECDbA5CBA50c63, 2);
        freeMintAirdrop(0xbb7E5320AFe5F90fF1912Fcec1fCA60061711b9f, 4);
        freeMintAirdrop(0xd068bCb3F588431C32e84345ceEe045C409C1e23, 2);
        freeMintAirdrop(0xa48F47A3641f37116B816cF571bd5a4bbf456BaD, 2);
        freeMintAirdrop(0xDb4d6FbE29215F8B430C404958c8CE1581D4Ca98, 2);
        freeMintAirdrop(0x536908A363132bCa6dB5C3B4F4eadb4C768f93dC, 2);
        freeMintAirdrop(0x493827DF59A3077b46215f22512204D374b2Cd5E, 4);
        freeMintAirdrop(0xb130923C16796Da5A96B87529d77B1dbdF4C1E79, 10);
        freeMintAirdrop(0x5DFDE2228e0971C4f10A8379e1fbAd7F30D699Fe, 5);
        freeMintAirdrop(0x0D189f7E6e0c38f908422169423134efa8feb110, 2);
        freeMintAirdrop(0xEB243A2F3eFE1AfC1ACF2aa371b8B12DBD90B925, 2);
        freeMintAirdrop(0xDAcf8123C912098Dc6b3248Ede8cBaeEADe8666c, 5);
        freeMintAirdrop(0xb130923C16796Da5A96B87529d77B1dbdF4C1E79, 10);
        freeMintAirdrop(0x1eb627488314501cB7C1964923c5e9B619B0aa13, 11);
        freeMintAirdrop(0xc56A7B098aAc17ae2DE38045316E94Ace6660F07, 15);
        freeMintAirdrop(0xDb4d6FbE29215F8B430C404958c8CE1581D4Ca98, 11);
        freeMintAirdrop(0xec4d2F96B00E7C9eD0dAD95F614B4a22730Bfc88, 11);
        freeMintAirdrop(0x73dD7e2209A3A7D530B6A2572FDBA9Aa72d1A3f8, 5);
        freeMintAirdrop(0x3b7cf36B6BeACA538BEf989a9DDE239189fDBD26, 3);
        freeMintAirdrop(0x469461E43000CacDF7A93edfACf20Ad40bb067Ba, 5);
        freeMintAirdrop(0x0Ee2d68A4ebfFCcD9746FF90698aa44607e41173, 5);
        freeMintAirdrop(0xfce76f34A5b136c6FCAdb1aBd66ccF2F5d9C250C, 5);
        freeMintAirdrop(0x7A47028766Ab9B37D7B176EE5df24050bdC7e730, 5);
        freeMintAirdrop(0x71A10EB29db3a9B30dF9cDbE76480F37c59649c9, 5);
        freeMintAirdrop(0x90c874351097645b413B362871F220D0c0952d9D, 5);
        freeMintAirdrop(0x961CDf0A4483181be500724aB052E8DcbAc75B15, 5);
        freeMintAirdrop(0xc31e659368bA22826c2230F56C26F00897CDe76C, 10);
        freeMintAirdrop(0x961CDf0A4483181be500724aB052E8DcbAc75B15, 5);
        freeMintAirdrop(0xeF1A70Eb3f1Eb4ED406fAddfa6Ff7547510B7024, 5);
        freeMintAirdrop(0x6C8F712530D75f114cA4dc8b076ed6c4ADd79D7e, 5);
        freeMintAirdrop(0x8BB900A63D240F6B8f9aC3C1432760b1C2e79710, 3);
        freeMintAirdrop(0xe135e0B283cc9470bE938Cbe01101275Ec243274, 3);
        freeMintAirdrop(0x07Fab93C4b03A5E46Fb7AF6Ab5Ad0C30e78702E0, 3);
        freeMintAirdrop(0x619a7a24E94643d6b22a2d43A05063d3cC2507AD, 5);
        freeMintAirdrop(0x0645e6121E034619A808644fB2487Acf5DE81e20, 5);
        freeMintAirdrop(0x640eEec18ad93c629a02e244028E8B6C9357167f, 200);
    }
}

File 2 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // 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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _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 {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex &&
            !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) 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 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 5 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 6 of 13 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 7 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

File 8 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 9 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 10 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 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 12 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 13 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"freeMintAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"uint256","name":"_timestamp","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"freemint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freemint_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isSignature","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"uint256","name":"_timestamp","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_freemintSupply","type":"uint256"}],"name":"setFreemintSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isSignature","type":"bool"}],"name":"setSignature","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"},{"internalType":"uint256","name":"_timestamp","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"signatureWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","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":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_withdrawAddress","type":"address"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052660ffcb9e57d4000600c556000600d556014600e55611045600f556010805462ff00ff1916620100001790553480156200003d57600080fd5b506040516200383838038062003838833981016040819052620000609162000caa565b6040518060400160405280600d81526020016c416c69656e20496e6b6c696e6760981b81525060405180604001604052806002815260200161414960f01b8152508160029080519060200190620000b992919062000bd3565b508051620000cf90600390602084019062000bd3565b5050600160005550620000e23362000103565b6001600955620000f28162000155565b620000fc620001ce565b5062000e36565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620001b55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b8051620001ca90600b90602084019062000bd3565b5050565b620001ef73e5badea71d2ad9d284f80a3cb91231997a5d74a4600262000800565b6200021073e7c26a45dc27b7be98d265f4d86d4859f4147cca600262000800565b6200023173a978291bdfeeac037aa8141fef2bb7e9c511d659600862000800565b6200025273750e19b430dff7fc16fee27aa97a5d0a030d57a4600862000800565b6200027373444458e24a60560de3a9af2fe59cc7a695ca1821600862000800565b620002947390c0f855979018dabc6b517f39faddc90acae292600462000800565b620002b573cea7225621e68ad823edc4acab399c640e1ce89a600662000800565b620002d673f67b32f542d461d4960ddc01a773684d44cffa20600262000800565b620002f77329f9ef8286dcc4f9a94340278db01f12c3483988600262000800565b62000318733bb5a706ae90ba7ea5a7403b20a134b6d8c6b815600262000800565b62000339733dc954502511ed10735fdd0c2189fe7e0730bf4c600262000800565b6200035a73b130923c16796da5a96b87529d77b1dbdf4c1e79600462000800565b6200037b73c13e5551c962ea93b2fb4b4f42ecdba5cba50c63600262000800565b6200039c73bb7e5320afe5f90ff1912fcec1fca60061711b9f600462000800565b620003bd73d068bcb3f588431c32e84345ceee045c409c1e23600262000800565b620003de73a48f47a3641f37116b816cf571bd5a4bbf456bad600262000800565b620003ff73db4d6fbe29215f8b430c404958c8ce1581d4ca98600262000800565b6200042073536908a363132bca6db5c3b4f4eadb4c768f93dc600262000800565b6200044173493827df59a3077b46215f22512204d374b2cd5e600462000800565b6200046273b130923c16796da5a96b87529d77b1dbdf4c1e79600a62000800565b62000483735dfde2228e0971c4f10a8379e1fbad7f30d699fe600562000800565b620004a4730d189f7e6e0c38f908422169423134efa8feb110600262000800565b620004c573eb243a2f3efe1afc1acf2aa371b8b12dbd90b925600262000800565b620004e673dacf8123c912098dc6b3248ede8cbaeeade8666c600562000800565b6200050773b130923c16796da5a96b87529d77b1dbdf4c1e79600a62000800565b62000528731eb627488314501cb7c1964923c5e9b619b0aa13600b62000800565b6200054973c56a7b098aac17ae2de38045316e94ace6660f07600f62000800565b6200056a73db4d6fbe29215f8b430c404958c8ce1581d4ca98600b62000800565b6200058b73ec4d2f96b00e7c9ed0dad95f614b4a22730bfc88600b62000800565b620005ac7373dd7e2209a3a7d530b6a2572fdba9aa72d1a3f8600562000800565b620005cd733b7cf36b6beaca538bef989a9dde239189fdbd26600362000800565b620005ee73469461e43000cacdf7a93edfacf20ad40bb067ba600562000800565b6200060f730ee2d68a4ebffccd9746ff90698aa44607e41173600562000800565b6200063073fce76f34a5b136c6fcadb1abd66ccf2f5d9c250c600562000800565b62000651737a47028766ab9b37d7b176ee5df24050bdc7e730600562000800565b620006727371a10eb29db3a9b30df9cdbe76480f37c59649c9600562000800565b620006937390c874351097645b413b362871f220d0c0952d9d600562000800565b620006b473961cdf0a4483181be500724ab052e8dcbac75b15600562000800565b620006d573c31e659368ba22826c2230f56c26f00897cde76c600a62000800565b620006f673961cdf0a4483181be500724ab052e8dcbac75b15600562000800565b6200071773ef1a70eb3f1eb4ed406faddfa6ff7547510b7024600562000800565b62000738736c8f712530d75f114ca4dc8b076ed6c4add79d7e600562000800565b62000759738bb900a63d240f6b8f9ac3c1432760b1c2e79710600362000800565b6200077a73e135e0b283cc9470be938cbe01101275ec243274600362000800565b6200079b7307fab93c4b03a5e46fb7af6ab5ad0c30e78702e0600362000800565b620007bc73619a7a24e94643d6b22a2d43a05063d3cc2507ad600562000800565b620007dd730645e6121e034619a808644fb2487acf5de81e20600562000800565b620007fe73640eeec18ad93c629a02e244028e8b6c9357167f60c862000800565b565b60026009541415620008555760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401620001ac565b600260095560105460ff1615620008af5760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401620001ac565b620008bb8282620008c4565b50506001600955565b620001ca828260405180602001604052806000815250620008e660201b60201c565b620008f58383836001620008fa565b505050565b6000546001600160a01b0385166200092457604051622e076360e81b815260040160405180910390fd5b83620009435760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546001600160801b031981166001600160401b038083168c018116918217680100000000000000006001600160401b031990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015620009fc5750620009fc876001600160a01b031662000ac360201b620015621760201c565b1562000a7c575b60405182906001600160a01b0389169060009060008051602062003818833981519152908290a4600182019162000a409060009089908862000ad2565b62000a5e576040516368d2bf6b60e11b815260040160405180910390fd5b8082141562000a0357826000541462000a7657600080fd5b62000ab2565b5b6040516001830192906001600160a01b0389169060009060008051602062003818833981519152908290a48082141562000a7d575b506000555050505050565b50505050565b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029062000b0990339089908890889060040162000d5e565b602060405180830381600087803b15801562000b2457600080fd5b505af192505050801562000b57575060408051601f3d908101601f1916820190925262000b549181019062000c79565b60015b62000bb6573d80801562000b88576040519150601f19603f3d011682016040523d82523d6000602084013e62000b8d565b606091505b50805162000bae576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b82805462000be19062000de3565b90600052602060002090601f01602090048101928262000c05576000855562000c50565b82601f1062000c2057805160ff191683800117855562000c50565b8280016001018555821562000c50579182015b8281111562000c5057825182559160200191906001019062000c33565b5062000c5e92915062000c62565b5090565b5b8082111562000c5e576000815560010162000c63565b60006020828403121562000c8b578081fd5b81516001600160e01b03198116811462000ca3578182fd5b9392505050565b60006020828403121562000cbc578081fd5b81516001600160401b038082111562000cd3578283fd5b818401915084601f83011262000ce7578283fd5b81518181111562000cfc5762000cfc62000e20565b604051601f8201601f19908116603f0116810190838211818310171562000d275762000d2762000e20565b8160405282815287602084870101111562000d40578586fd5b62000d5383602083016020880162000db4565b979650505050505050565b600060018060a01b03808716835280861660208401525083604083015260806060830152825180608084015262000d9d8160a085016020870162000db4565b601f01601f19169190910160a00195945050505050565b60005b8381101562000dd157818101518382015260200162000db7565b8381111562000abd5750506000910152565b600181811c9082168062000df857607f821691505b6020821081141562000e1a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6129d28062000e466000396000f3fe6080604052600436106102515760003560e01c806370a0823111610139578063c195e44e116100b6578063e0a808531161007a578063e0a8085314610690578063e985e9c5146106b0578063efbd73f4146106f9578063f232056814610719578063f2fde38b14610739578063fa09e6301461075957600080fd5b8063c195e44e14610605578063c87b56dd14610625578063ce4a74f214610645578063cfc86f7b14610665578063d5abeb011461067a57600080fd5b8063a22cb465116100fd578063a22cb46514610570578063a45ba8e714610590578063a823f475146105a5578063b071401b146105c5578063b88d4fde146105e557600080fd5b806370a08231146104f2578063715018a6146105125780638da5cb5b1461052757806394354fd01461054557806395d89b411461055b57600080fd5b8063295871c3116101d25780634fdd43cb116101965780634fdd43cb14610439578063518302271461045957806355f804b3146104785780635c975abb146104985780636352211e146104b25780636f8b44b0146104d257600080fd5b8063295871c3146103b15780633995940e146103d15780633ccfd60b146103f157806342842e0e146103f957806344a0d68a1461041957600080fd5b806313faede61161021957806313faede61461031a57806316c38b3c1461033e57806318160ddd1461035e5780631df0d2d01461037b57806323b872dd1461039157600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad57806308dc9f42146102e5578063095ea7b3146102fa575b600080fd5b34801561026257600080fd5b506102766102713660046124a8565b610779565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a06107cb565b6040516102829190612796565b3480156102b957600080fd5b506102cd6102c8366004612591565b61085d565b6040516001600160a01b039091168152602001610282565b6102f86102f33660046125cb565b6108a1565b005b34801561030657600080fd5b506102f861031536600461241f565b610b31565b34801561032657600080fd5b50610330600c5481565b604051908152602001610282565b34801561034a57600080fd5b506102f861035936600461248e565b610bbf565b34801561036a57600080fd5b506001546000540360001901610330565b34801561038757600080fd5b50610330600d5481565b34801561039d57600080fd5b506102f86103ac366004612356565b610bfc565b3480156103bd57600080fd5b506102f86103cc366004612591565b610c07565b3480156103dd57600080fd5b506102f86103ec3660046125cb565b610c36565b6102f8610e39565b34801561040557600080fd5b506102f8610414366004612356565b610ed7565b34801561042557600080fd5b506102f8610434366004612591565b610ef2565b34801561044557600080fd5b506102f861045436600461254c565b610f21565b34801561046557600080fd5b5060105461027690610100900460ff1681565b34801561048457600080fd5b506102f86104933660046124e0565b610f62565b3480156104a457600080fd5b506010546102769060ff1681565b3480156104be57600080fd5b506102cd6104cd366004612591565b610f98565b3480156104de57600080fd5b506102f86104ed366004612591565b610faa565b3480156104fe57600080fd5b5061033061050d36600461230a565b610fd9565b34801561051e57600080fd5b506102f8611027565b34801561053357600080fd5b506008546001600160a01b03166102cd565b34801561055157600080fd5b50610330600e5481565b34801561056757600080fd5b506102a061105d565b34801561057c57600080fd5b506102f861058b3660046123f6565b61106c565b34801561059c57600080fd5b506102a0611102565b3480156105b157600080fd5b506102f86105c036600461241f565b611190565b3480156105d157600080fd5b506102f86105e0366004612591565b6111ee565b3480156105f157600080fd5b506102f8610600366004612391565b61121d565b34801561061157600080fd5b506102f861062036600461248e565b61126e565b34801561063157600080fd5b506102a0610640366004612591565b6112b4565b34801561065157600080fd5b506010546102769062010000900460ff1681565b34801561067157600080fd5b506102a061136a565b34801561068657600080fd5b50610330600f5481565b34801561069c57600080fd5b506102f86106ab36600461248e565b611377565b3480156106bc57600080fd5b506102766106cb366004612324565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561070557600080fd5b506102f86107143660046125a9565b6113bb565b34801561072557600080fd5b506102cd610734366004612448565b6113ef565b34801561074557600080fd5b506102f861075436600461230a565b611440565b34801561076557600080fd5b506102f861077436600461230a565b6114d8565b60006001600160e01b031982166380ac58cd60e01b14806107aa57506001600160e01b03198216635b5e139f60e01b145b806107c557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546107da906128da565b80601f0160208091040260200160405190810160405280929190818152602001828054610806906128da565b80156108535780601f1061082857610100808354040283529160200191610853565b820191906000526020600020905b81548152906001019060200180831161083657829003601f168201915b5050505050905090565b600061086882611571565b610885576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600260095414156108cd5760405162461bcd60e51b81526004016108c490612815565b60405180910390fd5b600260095582158015906108e35750600e548311155b6109265760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064016108c4565b600f546001546000548591900360001901610941919061284c565b11156109865760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b60448201526064016108c4565b60105460ff16156109a95760405162461bcd60e51b81526004016108c4906127de565b82600c546109b79190612878565b3410156109fc5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b60448201526064016108c4565b601054339062010000900460ff1615610ae2576000610a1d828686866113ef565b9050610a316008546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610a8a5760405162461bcd60e51b8152602060048201526016602482015275139bdd08185d5d1a1bdc9a5e9959081d1bc81b5a5b9d60521b60448201526064016108c4565b610a95601e85612897565b421015610ad25760405162461bcd60e51b815260206004820152600b60248201526a4f7574206f662074696d6560a81b60448201526064016108c4565b610adc82866115aa565b50610aec565b610aec81856115aa565b6008546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015610b25573d6000803e3d6000fd5b50506001600955505050565b6000610b3c82610f98565b9050806001600160a01b0316836001600160a01b03161415610b715760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610b915750610b8f81336106cb565b155b15610baf576040516367d9dca160e11b815260040160405180910390fd5b610bba8383836115c4565b505050565b6008546001600160a01b03163314610be95760405162461bcd60e51b81526004016108c4906127a9565b6010805460ff1916911515919091179055565b610bba838383611620565b6008546001600160a01b03163314610c315760405162461bcd60e51b81526004016108c4906127a9565b600d55565b60026009541415610c595760405162461bcd60e51b81526004016108c490612815565b60026009558215801590610c6f5750600e548311155b610cb25760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064016108c4565b600d546001546000548591900360001901610ccd919061284c565b1115610d1b5760405162461bcd60e51b815260206004820152601d60248201527f467265656d696e74204d617820737570706c792065786365656465642100000060448201526064016108c4565b60105460ff1615610d3e5760405162461bcd60e51b81526004016108c4906127de565b601054339062010000900460ff1615610e24576000610d5f828686866113ef565b9050610d736008546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610dcc5760405162461bcd60e51b8152602060048201526016602482015275139bdd08185d5d1a1bdc9a5e9959081d1bc81b5a5b9d60521b60448201526064016108c4565b610dd7601e85612897565b421015610e145760405162461bcd60e51b815260206004820152600b60248201526a4f7574206f662074696d6560a81b60448201526064016108c4565b610e1e82866115aa565b50610e2e565b610e2e81856115aa565b505060016009555050565b6008546001600160a01b03163314610e635760405162461bcd60e51b81526004016108c4906127a9565b6000610e776008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ec1576040519150601f19603f3d011682016040523d82523d6000602084013e610ec6565b606091505b5050905080610ed457600080fd5b50565b610bba8383836040518060200160405280600081525061121d565b6008546001600160a01b03163314610f1c5760405162461bcd60e51b81526004016108c4906127a9565b600c55565b6008546001600160a01b03163314610f4b5760405162461bcd60e51b81526004016108c4906127a9565b8051610f5e90600b90602084019061213b565b5050565b6008546001600160a01b03163314610f8c5760405162461bcd60e51b81526004016108c4906127a9565b610bba600a83836121bf565b6000610fa38261180e565b5192915050565b6008546001600160a01b03163314610fd45760405162461bcd60e51b81526004016108c4906127a9565b600f55565b60006001600160a01b038216611002576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b031633146110515760405162461bcd60e51b81526004016108c4906127a9565b61105b6000611935565b565b6060600380546107da906128da565b6001600160a01b0382163314156110965760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b805461110f906128da565b80601f016020809104026020016040519081016040528092919081815260200182805461113b906128da565b80156111885780601f1061115d57610100808354040283529160200191611188565b820191906000526020600020905b81548152906001019060200180831161116b57829003601f168201915b505050505081565b600260095414156111b35760405162461bcd60e51b81526004016108c490612815565b600260095560105460ff16156111db5760405162461bcd60e51b81526004016108c4906127de565b6111e582826115aa565b50506001600955565b6008546001600160a01b031633146112185760405162461bcd60e51b81526004016108c4906127a9565b600e55565b611228848484611620565b6001600160a01b0383163b1515801561124a575061124884848484611987565b155b15611268576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146112985760405162461bcd60e51b81526004016108c4906127a9565b60108054911515620100000262ff000019909216919091179055565b60606112bf82611571565b6113015760405162461bcd60e51b815260206004820152601360248201527255524920646f6573206e6f742065786973742160681b60448201526064016108c4565b601054610100900460ff161561134957611319611a7b565b61132283611a8a565b604051602001611333929190612660565b6040516020818303038152906040529050919050565b600b61135483611a8a565b60405160200161133392919061269f565b919050565b600a805461110f906128da565b6008546001600160a01b031633146113a15760405162461bcd60e51b81526004016108c4906127a9565b601080549115156101000261ff0019909216919091179055565b6008546001600160a01b031633146113e55760405162461bcd60e51b81526004016108c4906127a9565b610f5e81836115aa565b604080516001600160a01b038616602082015290810184905260608101839052600090611435906080016040516020818303038152906040528051906020012083611ba3565b90505b949350505050565b6008546001600160a01b0316331461146a5760405162461bcd60e51b81526004016108c4906127a9565b6001600160a01b0381166114cf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c4565b610ed481611935565b6008546001600160a01b031633146115025760405162461bcd60e51b81526004016108c4906127a9565b6000816001600160a01b03164760405160006040518083038185875af1925050503d806000811461154f576040519150601f19603f3d011682016040523d82523d6000602084013e611554565b606091505b5050905080610f5e57600080fd5b6001600160a01b03163b151590565b600081600111158015611585575060005482105b80156107c5575050600090815260046020526040902054600160e01b900460ff161590565b610f5e828260405180602001604052806000815250611bc7565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061162b8261180e565b9050836001600160a01b031681600001516001600160a01b0316146116625760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611680575061168085336106cb565b8061169b5750336116908461085d565b6001600160a01b0316145b9050806116bb57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166116e257604051633a954ecd60e21b815260040160405180910390fd5b6116ee600084876115c4565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166117c25760005482146117c257805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6040805160608101825260008082526020820181905291810191909152818060011115801561183e575060005481105b1561191c57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061191a5780516001600160a01b0316156118b1579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611915579392505050565b6118b1565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119bc903390899088908890600401612759565b602060405180830381600087803b1580156119d657600080fd5b505af1925050508015611a06575060408051601f3d908101601f19168201909252611a03918101906124c4565b60015b611a61573d808015611a34576040519150601f19603f3d011682016040523d82523d6000602084013e611a39565b606091505b508051611a59576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611438565b6060600a80546107da906128da565b606081611aae5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ad85780611ac281612915565b9150611ad19050600a83612864565b9150611ab2565b6000816001600160401b03811115611b0057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611b2a576020820181803683370190505b5090505b841561143857611b3f600183612897565b9150611b4c600a86612930565b611b5790603061284c565b60f81b818381518110611b7a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611b9c600a86612864565b9450611b2e565b6000806000611bb28585611bd4565b91509150611bbf81611c44565b509392505050565b610bba8383836001611e45565b600080825160411415611c0b5760208301516040840151606085015160001a611bff87828585612015565b94509450505050611c3d565b825160401415611c355760208301516040840151611c2a868383612102565b935093505050611c3d565b506000905060025b9250929050565b6000816004811115611c6657634e487b7160e01b600052602160045260246000fd5b1415611c6f5750565b6001816004811115611c9157634e487b7160e01b600052602160045260246000fd5b1415611cdf5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016108c4565b6002816004811115611d0157634e487b7160e01b600052602160045260246000fd5b1415611d4f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016108c4565b6003816004811115611d7157634e487b7160e01b600052602160045260246000fd5b1415611dca5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016108c4565b6004816004811115611dec57634e487b7160e01b600052602160045260246000fd5b1415610ed45760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016108c4565b6000546001600160a01b038516611e6e57604051622e076360e81b815260040160405180910390fd5b83611e8c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611f3d57506001600160a01b0387163b15155b15611fc6575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611f8e6000888480600101955088611987565b611fab576040516368d2bf6b60e11b815260040160405180910390fd5b80821415611f43578260005414611fc157600080fd5b61200c565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611fc7575b50600055611807565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561204c57506000905060036120f9565b8460ff16601b1415801561206457508460ff16601c14155b1561207557506000905060046120f9565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156120c9573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166120f2576000600192509250506120f9565b9150600090505b94509492505050565b6000806001600160ff1b0383168161211f60ff86901c601b61284c565b905061212d87828885612015565b935093505050935093915050565b828054612147906128da565b90600052602060002090601f01602090048101928261216957600085556121af565b82601f1061218257805160ff19168380011785556121af565b828001600101855582156121af579182015b828111156121af578251825591602001919060010190612194565b506121bb929150612233565b5090565b8280546121cb906128da565b90600052602060002090601f0160209004810192826121ed57600085556121af565b82601f106122065782800160ff198235161785556121af565b828001600101855582156121af579182015b828111156121af578235825591602001919060010190612218565b5b808211156121bb5760008155600101612234565b60006001600160401b038084111561226257612262612970565b604051601f8501601f19908116603f0116810190828211818310171561228a5761228a612970565b816040528093508581528686860111156122a357600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461136557600080fd5b8035801515811461136557600080fd5b600082601f8301126122f4578081fd5b61230383833560208501612248565b9392505050565b60006020828403121561231b578081fd5b612303826122bd565b60008060408385031215612336578081fd5b61233f836122bd565b915061234d602084016122bd565b90509250929050565b60008060006060848603121561236a578081fd5b612373846122bd565b9250612381602085016122bd565b9150604084013590509250925092565b600080600080608085870312156123a6578081fd5b6123af856122bd565b93506123bd602086016122bd565b92506040850135915060608501356001600160401b038111156123de578182fd5b6123ea878288016122e4565b91505092959194509250565b60008060408385031215612408578182fd5b612411836122bd565b915061234d602084016122d4565b60008060408385031215612431578182fd5b61243a836122bd565b946020939093013593505050565b6000806000806080858703121561245d578384fd5b612466856122bd565b9350602085013592506040850135915060608501356001600160401b038111156123de578182fd5b60006020828403121561249f578081fd5b612303826122d4565b6000602082840312156124b9578081fd5b813561230381612986565b6000602082840312156124d5578081fd5b815161230381612986565b600080602083850312156124f2578182fd5b82356001600160401b0380821115612508578384fd5b818501915085601f83011261251b578384fd5b813581811115612529578485fd5b86602082850101111561253a578485fd5b60209290920196919550909350505050565b60006020828403121561255d578081fd5b81356001600160401b03811115612572578182fd5b8201601f81018413612582578182fd5b61143884823560208401612248565b6000602082840312156125a2578081fd5b5035919050565b600080604083850312156125bb578182fd5b8235915061234d602084016122bd565b6000806000606084860312156125df578081fd5b833592506020840135915060408401356001600160401b03811115612602578182fd5b61260e868287016122e4565b9150509250925092565b600081518084526126308160208601602086016128ae565b601f01601f19169290920160200192915050565b600081516126568185602086016128ae565b9290920192915050565b600083516126728184602088016128ae565b8351908301906126868183602088016128ae565b64173539b7b760d91b9101908152600501949350505050565b600080845482600182811c9150808316806126bb57607f831692505b60208084108214156126db57634e487b7160e01b87526022600452602487fd5b8180156126ef57600181146127005761272c565b60ff1986168952848901965061272c565b60008b815260209020885b868110156127245781548b82015290850190830161270b565b505084890196505b50505050505061275061273f8286612644565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061278c90830184612618565b9695505050505050565b6020815260006123036020830184612618565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526017908201527f54686520636f6e74726163742069732070617573656421000000000000000000604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561285f5761285f612944565b500190565b6000826128735761287361295a565b500490565b600081600019048311821515161561289257612892612944565b500290565b6000828210156128a9576128a9612944565b500390565b60005b838110156128c95781810151838201526020016128b1565b838111156112685750506000910152565b600181811c908216806128ee57607f821691505b6020821081141561290f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561292957612929612944565b5060010190565b60008261293f5761293f61295a565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ed457600080fdfea2646970667358221220f6ba90ff274bb5c73eac29a70fcf4dcb8f0c52534b9f964025148b35468b285464736f6c63430008040033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f746865746174746f6f73686f702e6d7970696e6174612e636c6f75642f697066732f516d58664a707048715551385446447176557379446e646d4e776e4c3844794c344b51557371344253787257506b2f00000000000000

Deployed Bytecode

0x6080604052600436106102515760003560e01c806370a0823111610139578063c195e44e116100b6578063e0a808531161007a578063e0a8085314610690578063e985e9c5146106b0578063efbd73f4146106f9578063f232056814610719578063f2fde38b14610739578063fa09e6301461075957600080fd5b8063c195e44e14610605578063c87b56dd14610625578063ce4a74f214610645578063cfc86f7b14610665578063d5abeb011461067a57600080fd5b8063a22cb465116100fd578063a22cb46514610570578063a45ba8e714610590578063a823f475146105a5578063b071401b146105c5578063b88d4fde146105e557600080fd5b806370a08231146104f2578063715018a6146105125780638da5cb5b1461052757806394354fd01461054557806395d89b411461055b57600080fd5b8063295871c3116101d25780634fdd43cb116101965780634fdd43cb14610439578063518302271461045957806355f804b3146104785780635c975abb146104985780636352211e146104b25780636f8b44b0146104d257600080fd5b8063295871c3146103b15780633995940e146103d15780633ccfd60b146103f157806342842e0e146103f957806344a0d68a1461041957600080fd5b806313faede61161021957806313faede61461031a57806316c38b3c1461033e57806318160ddd1461035e5780631df0d2d01461037b57806323b872dd1461039157600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad57806308dc9f42146102e5578063095ea7b3146102fa575b600080fd5b34801561026257600080fd5b506102766102713660046124a8565b610779565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a06107cb565b6040516102829190612796565b3480156102b957600080fd5b506102cd6102c8366004612591565b61085d565b6040516001600160a01b039091168152602001610282565b6102f86102f33660046125cb565b6108a1565b005b34801561030657600080fd5b506102f861031536600461241f565b610b31565b34801561032657600080fd5b50610330600c5481565b604051908152602001610282565b34801561034a57600080fd5b506102f861035936600461248e565b610bbf565b34801561036a57600080fd5b506001546000540360001901610330565b34801561038757600080fd5b50610330600d5481565b34801561039d57600080fd5b506102f86103ac366004612356565b610bfc565b3480156103bd57600080fd5b506102f86103cc366004612591565b610c07565b3480156103dd57600080fd5b506102f86103ec3660046125cb565b610c36565b6102f8610e39565b34801561040557600080fd5b506102f8610414366004612356565b610ed7565b34801561042557600080fd5b506102f8610434366004612591565b610ef2565b34801561044557600080fd5b506102f861045436600461254c565b610f21565b34801561046557600080fd5b5060105461027690610100900460ff1681565b34801561048457600080fd5b506102f86104933660046124e0565b610f62565b3480156104a457600080fd5b506010546102769060ff1681565b3480156104be57600080fd5b506102cd6104cd366004612591565b610f98565b3480156104de57600080fd5b506102f86104ed366004612591565b610faa565b3480156104fe57600080fd5b5061033061050d36600461230a565b610fd9565b34801561051e57600080fd5b506102f8611027565b34801561053357600080fd5b506008546001600160a01b03166102cd565b34801561055157600080fd5b50610330600e5481565b34801561056757600080fd5b506102a061105d565b34801561057c57600080fd5b506102f861058b3660046123f6565b61106c565b34801561059c57600080fd5b506102a0611102565b3480156105b157600080fd5b506102f86105c036600461241f565b611190565b3480156105d157600080fd5b506102f86105e0366004612591565b6111ee565b3480156105f157600080fd5b506102f8610600366004612391565b61121d565b34801561061157600080fd5b506102f861062036600461248e565b61126e565b34801561063157600080fd5b506102a0610640366004612591565b6112b4565b34801561065157600080fd5b506010546102769062010000900460ff1681565b34801561067157600080fd5b506102a061136a565b34801561068657600080fd5b50610330600f5481565b34801561069c57600080fd5b506102f86106ab36600461248e565b611377565b3480156106bc57600080fd5b506102766106cb366004612324565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561070557600080fd5b506102f86107143660046125a9565b6113bb565b34801561072557600080fd5b506102cd610734366004612448565b6113ef565b34801561074557600080fd5b506102f861075436600461230a565b611440565b34801561076557600080fd5b506102f861077436600461230a565b6114d8565b60006001600160e01b031982166380ac58cd60e01b14806107aa57506001600160e01b03198216635b5e139f60e01b145b806107c557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546107da906128da565b80601f0160208091040260200160405190810160405280929190818152602001828054610806906128da565b80156108535780601f1061082857610100808354040283529160200191610853565b820191906000526020600020905b81548152906001019060200180831161083657829003601f168201915b5050505050905090565b600061086882611571565b610885576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600260095414156108cd5760405162461bcd60e51b81526004016108c490612815565b60405180910390fd5b600260095582158015906108e35750600e548311155b6109265760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064016108c4565b600f546001546000548591900360001901610941919061284c565b11156109865760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b60448201526064016108c4565b60105460ff16156109a95760405162461bcd60e51b81526004016108c4906127de565b82600c546109b79190612878565b3410156109fc5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b60448201526064016108c4565b601054339062010000900460ff1615610ae2576000610a1d828686866113ef565b9050610a316008546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610a8a5760405162461bcd60e51b8152602060048201526016602482015275139bdd08185d5d1a1bdc9a5e9959081d1bc81b5a5b9d60521b60448201526064016108c4565b610a95601e85612897565b421015610ad25760405162461bcd60e51b815260206004820152600b60248201526a4f7574206f662074696d6560a81b60448201526064016108c4565b610adc82866115aa565b50610aec565b610aec81856115aa565b6008546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015610b25573d6000803e3d6000fd5b50506001600955505050565b6000610b3c82610f98565b9050806001600160a01b0316836001600160a01b03161415610b715760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610b915750610b8f81336106cb565b155b15610baf576040516367d9dca160e11b815260040160405180910390fd5b610bba8383836115c4565b505050565b6008546001600160a01b03163314610be95760405162461bcd60e51b81526004016108c4906127a9565b6010805460ff1916911515919091179055565b610bba838383611620565b6008546001600160a01b03163314610c315760405162461bcd60e51b81526004016108c4906127a9565b600d55565b60026009541415610c595760405162461bcd60e51b81526004016108c490612815565b60026009558215801590610c6f5750600e548311155b610cb25760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064016108c4565b600d546001546000548591900360001901610ccd919061284c565b1115610d1b5760405162461bcd60e51b815260206004820152601d60248201527f467265656d696e74204d617820737570706c792065786365656465642100000060448201526064016108c4565b60105460ff1615610d3e5760405162461bcd60e51b81526004016108c4906127de565b601054339062010000900460ff1615610e24576000610d5f828686866113ef565b9050610d736008546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610dcc5760405162461bcd60e51b8152602060048201526016602482015275139bdd08185d5d1a1bdc9a5e9959081d1bc81b5a5b9d60521b60448201526064016108c4565b610dd7601e85612897565b421015610e145760405162461bcd60e51b815260206004820152600b60248201526a4f7574206f662074696d6560a81b60448201526064016108c4565b610e1e82866115aa565b50610e2e565b610e2e81856115aa565b505060016009555050565b6008546001600160a01b03163314610e635760405162461bcd60e51b81526004016108c4906127a9565b6000610e776008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ec1576040519150601f19603f3d011682016040523d82523d6000602084013e610ec6565b606091505b5050905080610ed457600080fd5b50565b610bba8383836040518060200160405280600081525061121d565b6008546001600160a01b03163314610f1c5760405162461bcd60e51b81526004016108c4906127a9565b600c55565b6008546001600160a01b03163314610f4b5760405162461bcd60e51b81526004016108c4906127a9565b8051610f5e90600b90602084019061213b565b5050565b6008546001600160a01b03163314610f8c5760405162461bcd60e51b81526004016108c4906127a9565b610bba600a83836121bf565b6000610fa38261180e565b5192915050565b6008546001600160a01b03163314610fd45760405162461bcd60e51b81526004016108c4906127a9565b600f55565b60006001600160a01b038216611002576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b031633146110515760405162461bcd60e51b81526004016108c4906127a9565b61105b6000611935565b565b6060600380546107da906128da565b6001600160a01b0382163314156110965760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b805461110f906128da565b80601f016020809104026020016040519081016040528092919081815260200182805461113b906128da565b80156111885780601f1061115d57610100808354040283529160200191611188565b820191906000526020600020905b81548152906001019060200180831161116b57829003601f168201915b505050505081565b600260095414156111b35760405162461bcd60e51b81526004016108c490612815565b600260095560105460ff16156111db5760405162461bcd60e51b81526004016108c4906127de565b6111e582826115aa565b50506001600955565b6008546001600160a01b031633146112185760405162461bcd60e51b81526004016108c4906127a9565b600e55565b611228848484611620565b6001600160a01b0383163b1515801561124a575061124884848484611987565b155b15611268576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146112985760405162461bcd60e51b81526004016108c4906127a9565b60108054911515620100000262ff000019909216919091179055565b60606112bf82611571565b6113015760405162461bcd60e51b815260206004820152601360248201527255524920646f6573206e6f742065786973742160681b60448201526064016108c4565b601054610100900460ff161561134957611319611a7b565b61132283611a8a565b604051602001611333929190612660565b6040516020818303038152906040529050919050565b600b61135483611a8a565b60405160200161133392919061269f565b919050565b600a805461110f906128da565b6008546001600160a01b031633146113a15760405162461bcd60e51b81526004016108c4906127a9565b601080549115156101000261ff0019909216919091179055565b6008546001600160a01b031633146113e55760405162461bcd60e51b81526004016108c4906127a9565b610f5e81836115aa565b604080516001600160a01b038616602082015290810184905260608101839052600090611435906080016040516020818303038152906040528051906020012083611ba3565b90505b949350505050565b6008546001600160a01b0316331461146a5760405162461bcd60e51b81526004016108c4906127a9565b6001600160a01b0381166114cf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c4565b610ed481611935565b6008546001600160a01b031633146115025760405162461bcd60e51b81526004016108c4906127a9565b6000816001600160a01b03164760405160006040518083038185875af1925050503d806000811461154f576040519150601f19603f3d011682016040523d82523d6000602084013e611554565b606091505b5050905080610f5e57600080fd5b6001600160a01b03163b151590565b600081600111158015611585575060005482105b80156107c5575050600090815260046020526040902054600160e01b900460ff161590565b610f5e828260405180602001604052806000815250611bc7565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061162b8261180e565b9050836001600160a01b031681600001516001600160a01b0316146116625760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611680575061168085336106cb565b8061169b5750336116908461085d565b6001600160a01b0316145b9050806116bb57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166116e257604051633a954ecd60e21b815260040160405180910390fd5b6116ee600084876115c4565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166117c25760005482146117c257805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6040805160608101825260008082526020820181905291810191909152818060011115801561183e575060005481105b1561191c57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061191a5780516001600160a01b0316156118b1579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611915579392505050565b6118b1565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119bc903390899088908890600401612759565b602060405180830381600087803b1580156119d657600080fd5b505af1925050508015611a06575060408051601f3d908101601f19168201909252611a03918101906124c4565b60015b611a61573d808015611a34576040519150601f19603f3d011682016040523d82523d6000602084013e611a39565b606091505b508051611a59576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611438565b6060600a80546107da906128da565b606081611aae5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ad85780611ac281612915565b9150611ad19050600a83612864565b9150611ab2565b6000816001600160401b03811115611b0057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611b2a576020820181803683370190505b5090505b841561143857611b3f600183612897565b9150611b4c600a86612930565b611b5790603061284c565b60f81b818381518110611b7a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611b9c600a86612864565b9450611b2e565b6000806000611bb28585611bd4565b91509150611bbf81611c44565b509392505050565b610bba8383836001611e45565b600080825160411415611c0b5760208301516040840151606085015160001a611bff87828585612015565b94509450505050611c3d565b825160401415611c355760208301516040840151611c2a868383612102565b935093505050611c3d565b506000905060025b9250929050565b6000816004811115611c6657634e487b7160e01b600052602160045260246000fd5b1415611c6f5750565b6001816004811115611c9157634e487b7160e01b600052602160045260246000fd5b1415611cdf5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016108c4565b6002816004811115611d0157634e487b7160e01b600052602160045260246000fd5b1415611d4f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016108c4565b6003816004811115611d7157634e487b7160e01b600052602160045260246000fd5b1415611dca5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016108c4565b6004816004811115611dec57634e487b7160e01b600052602160045260246000fd5b1415610ed45760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016108c4565b6000546001600160a01b038516611e6e57604051622e076360e81b815260040160405180910390fd5b83611e8c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611f3d57506001600160a01b0387163b15155b15611fc6575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611f8e6000888480600101955088611987565b611fab576040516368d2bf6b60e11b815260040160405180910390fd5b80821415611f43578260005414611fc157600080fd5b61200c565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611fc7575b50600055611807565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561204c57506000905060036120f9565b8460ff16601b1415801561206457508460ff16601c14155b1561207557506000905060046120f9565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156120c9573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166120f2576000600192509250506120f9565b9150600090505b94509492505050565b6000806001600160ff1b0383168161211f60ff86901c601b61284c565b905061212d87828885612015565b935093505050935093915050565b828054612147906128da565b90600052602060002090601f01602090048101928261216957600085556121af565b82601f1061218257805160ff19168380011785556121af565b828001600101855582156121af579182015b828111156121af578251825591602001919060010190612194565b506121bb929150612233565b5090565b8280546121cb906128da565b90600052602060002090601f0160209004810192826121ed57600085556121af565b82601f106122065782800160ff198235161785556121af565b828001600101855582156121af579182015b828111156121af578235825591602001919060010190612218565b5b808211156121bb5760008155600101612234565b60006001600160401b038084111561226257612262612970565b604051601f8501601f19908116603f0116810190828211818310171561228a5761228a612970565b816040528093508581528686860111156122a357600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461136557600080fd5b8035801515811461136557600080fd5b600082601f8301126122f4578081fd5b61230383833560208501612248565b9392505050565b60006020828403121561231b578081fd5b612303826122bd565b60008060408385031215612336578081fd5b61233f836122bd565b915061234d602084016122bd565b90509250929050565b60008060006060848603121561236a578081fd5b612373846122bd565b9250612381602085016122bd565b9150604084013590509250925092565b600080600080608085870312156123a6578081fd5b6123af856122bd565b93506123bd602086016122bd565b92506040850135915060608501356001600160401b038111156123de578182fd5b6123ea878288016122e4565b91505092959194509250565b60008060408385031215612408578182fd5b612411836122bd565b915061234d602084016122d4565b60008060408385031215612431578182fd5b61243a836122bd565b946020939093013593505050565b6000806000806080858703121561245d578384fd5b612466856122bd565b9350602085013592506040850135915060608501356001600160401b038111156123de578182fd5b60006020828403121561249f578081fd5b612303826122d4565b6000602082840312156124b9578081fd5b813561230381612986565b6000602082840312156124d5578081fd5b815161230381612986565b600080602083850312156124f2578182fd5b82356001600160401b0380821115612508578384fd5b818501915085601f83011261251b578384fd5b813581811115612529578485fd5b86602082850101111561253a578485fd5b60209290920196919550909350505050565b60006020828403121561255d578081fd5b81356001600160401b03811115612572578182fd5b8201601f81018413612582578182fd5b61143884823560208401612248565b6000602082840312156125a2578081fd5b5035919050565b600080604083850312156125bb578182fd5b8235915061234d602084016122bd565b6000806000606084860312156125df578081fd5b833592506020840135915060408401356001600160401b03811115612602578182fd5b61260e868287016122e4565b9150509250925092565b600081518084526126308160208601602086016128ae565b601f01601f19169290920160200192915050565b600081516126568185602086016128ae565b9290920192915050565b600083516126728184602088016128ae565b8351908301906126868183602088016128ae565b64173539b7b760d91b9101908152600501949350505050565b600080845482600182811c9150808316806126bb57607f831692505b60208084108214156126db57634e487b7160e01b87526022600452602487fd5b8180156126ef57600181146127005761272c565b60ff1986168952848901965061272c565b60008b815260209020885b868110156127245781548b82015290850190830161270b565b505084890196505b50505050505061275061273f8286612644565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061278c90830184612618565b9695505050505050565b6020815260006123036020830184612618565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526017908201527f54686520636f6e74726163742069732070617573656421000000000000000000604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561285f5761285f612944565b500190565b6000826128735761287361295a565b500490565b600081600019048311821515161561289257612892612944565b500290565b6000828210156128a9576128a9612944565b500390565b60005b838110156128c95781810151838201526020016128b1565b838111156112685750506000910152565b600181811c908216806128ee57607f821691505b6020821081141561290f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561292957612929612944565b5060010190565b60008261293f5761293f61295a565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ed457600080fdfea2646970667358221220f6ba90ff274bb5c73eac29a70fcf4dcb8f0c52534b9f964025148b35468b285464736f6c63430008040033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f746865746174746f6f73686f702e6d7970696e6174612e636c6f75642f697066732f516d58664a707048715551385446447176557379446e646d4e776e4c3844794c344b51557371344253787257506b2f00000000000000

-----Decoded View---------------
Arg [0] : _hiddenMetadataUri (string): https://thetattooshop.mypinata.cloud/ipfs/QmXfJppHqUQ8TFDqvUsyDndmNwnL8DyL4KQUsq4BSxrWPk/

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000059
Arg [2] : 68747470733a2f2f746865746174746f6f73686f702e6d7970696e6174612e63
Arg [3] : 6c6f75642f697066732f516d58664a707048715551385446447176557379446e
Arg [4] : 646d4e776e4c3844794c344b51557371344253787257506b2f00000000000000


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.