ETH Price: $3,412.67 (+1.73%)

Token

KEMUSHI NFT (KEMUMU)
 

Overview

Max Total Supply

1,616 KEMUMU

Holders

1,455

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 KEMUMU
0xd09AC51873Af161f7FaE87925dB479c2b9Ddb0F8
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:
KEMUSHI

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : TheSmartContract.sol
// SPDX-License-Identifier: GPL-3.0
// You have made it here. Thank you.
// This is the original contract for KEMUSHI the blockchain butterfly
// Together, we will grow, develop and earn

pragma solidity ^0.8.17;

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

contract KEMUSHI is
    ERC721Enumerable,
    ERC721URIStorage,
    Ownable,
    ReentrancyGuard
{
    using Counters for Counters.Counter;
    using Strings for uint256;
    uint96 royaltyFeesBips;

    string public baseURI;
    string public notRevealedUri;
    string public baseExtension = ".json";
    uint256 public maxSupply = 5555;
    bool public paused = false;
    bool public revealed = false;
    bool public public_sale = false;
    mapping(address => uint256) public onWhitelist;
    uint256 private price = 0.0 ether;
    uint256 private pricePublic = 0.1 ether;

    //free mint per wallet
    uint256 public maxMint = 1;
    //this applies to minting only. buying on secondary is open
    uint256 public maxInWallet = 2;

    //Otosan
    address[] private addressList = [
        0x0bc854245B825C83ddF477151f4b1bCC70D86Bb2
    ];

    //this wallet will be used to try and protect our investors by holding the floor price
    address private FloorProtect = 0x73D385C854438C86ca7d3B9bfe6e2BF168169EEa;

    uint256[] private shareList = [100];
    address public royaltyOwner = 0x0bc854245B825C83ddF477151f4b1bCC70D86Bb2;
    uint96 public royaltyBips = 1000;

    Counters.Counter private _tokenIds;

    //+++++++++++++++++++++++++++++++++++++++++ ONLY OWNER +++++++++++++++++++++++++++++++++++++++++
    //+++++++++++++++++++++++++++++++++++++++++ ONLY OWNER +++++++++++++++++++++++++++++++++++++++++
    //+++++++++++++++++++++++++++++++++++++++++ ONLY OWNER +++++++++++++++++++++++++++++++++++++++++

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _initBaseURI,
        string memory _initNotRevealedUri
    ) ERC721(_name, _symbol) {
        setBaseURI(_initBaseURI);
        setNotRevealedURI(_initNotRevealedUri);
        setRoyaltyInfo(royaltyOwner, royaltyBips);
        whiteListOne(FloorProtect);
    }

    //+++++++++++++++++++++++++++++++++++++++++ *********** +++++++++++++++++++++++++++++++++++++++++
    //+++++++++++++++++++++++++++++++++++++++++ *********** +++++++++++++++++++++++++++++++++++++++++
    //+++++++++++++++++++++++++++++++++++++++++ *********** +++++++++++++++++++++++++++++++++++++++++

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

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

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

    //+++++++++++++++++++++++++++++++++++++++++ ONLY OWNER +++++++++++++++++++++++++++++++++++++++++
    //+++++++++++++++++++++++++++++++++++++++++ ONLY OWNER +++++++++++++++++++++++++++++++++++++++++
    //+++++++++++++++++++++++++++++++++++++++++ ONLY OWNER +++++++++++++++++++++++++++++++++++++++++

    function reveal() public onlyOwner {
        revealed = true;
    }

    function updateURI(uint256 tokenid, string memory newURI) public onlyOwner {
        _setTokenURI(tokenid, newURI);
    }

    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedUri = _notRevealedURI;
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    function setBaseExtension(string memory _newBaseExtension)
        public
        onlyOwner
    {
        baseExtension = _newBaseExtension;
    }

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

    function whiteListOne(address _addressToWhitelist) public onlyOwner {
        onWhitelist[_addressToWhitelist] = maxMint;
    }

    function whiteListMany(address[] calldata _addresses) public onlyOwner {
        for (uint256 i; i < _addresses.length; i++) {
            onWhitelist[_addresses[i]] = maxMint;
        }
    }

    function setPrice(uint256 _newPrice) public onlyOwner {
        pricePublic = _newPrice;
    }

    function setPricePrivate(uint256 _newPrice) public onlyOwner {
        price = _newPrice;
    }

    function setPublicSale(bool _truefalse) public onlyOwner {
        public_sale = _truefalse;
    }

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

    //+++++++++++++++++++++++++++++++++++++++++ PUBLIC READ +++++++++++++++++++++++++++++++++++++++++
    //+++++++++++++++++++++++++++++++++++++++++ PUBLIC READ +++++++++++++++++++++++++++++++++++++++++
    //+++++++++++++++++++++++++++++++++++++++++ PUBLIC READ +++++++++++++++++++++++++++++++++++++++++

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

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override(ERC721, ERC721URIStorage)
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        if (revealed == false) {
            return notRevealedUri;
        }

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

    //+++++++++++++++++++++++++++++++++++++++++ PUBLIC READ +++++++++++++++++++++++++++++++++++++++++
    //+++++++++++++++++++++++++++++++++++++++++ PUBLIC READ +++++++++++++++++++++++++++++++++++++++++
    //+++++++++++++++++++++++++++++++++++++++++ PUBLIC READ +++++++++++++++++++++++++++++++++++++++++

    function mintPublic(uint256 _tokenAmount) public payable {
        uint256 s = totalSupply();

        require(public_sale == true, "Public mint is not enabled!");
        require(_tokenAmount > 0, "You cannot mint 0 NFT!");
        require(_tokenAmount <= maxMint, "You must mint less!");
        require(balanceOf(msg.sender) < maxInWallet, "Max tokens per wallet reached!");
        require(s + _tokenAmount <= maxSupply, "You must mint less!");
        require(msg.value >= pricePublic * _tokenAmount, "Wrong ETH input!");

        for (uint256 i = 0; i < _tokenAmount; ++i) {
            _safeMint(msg.sender, s + i, "");
        }
        delete s;
    }

    // whitelist minting
    function mintPrivate() public payable {
        uint256 _tokenAmount = 1;
        uint256 s = totalSupply();
        uint256 wl = onWhitelist[msg.sender];

        require(public_sale == false, "Private mint is not enabled!");
        require(wl > 0);
        require(balanceOf(msg.sender) < maxMint, "Max private mint per wallet reached!");
        require(msg.value >= price * _tokenAmount, "Wrong ETH input!");
        delete wl;

        for (uint256 i = 0; i < _tokenAmount; ++i) {
            _safeMint(msg.sender, s + i, "");
        }
        delete s;
    }

    function gift(uint256[] calldata gifts, address[] calldata recipient)
        external
        onlyOwner
    {
        require(gifts.length == recipient.length);
        uint256 g = 0;
        uint256 s = totalSupply();
        for (uint256 i = 0; i < gifts.length; ++i) {
            g += gifts[i];
        }
        require(s + g <= maxSupply, "Exceeded max allowed!");
        delete g;
        for (uint256 i = 0; i < recipient.length; ++i) {
            for (uint256 j = 0; j < gifts[i]; ++j) {
                _safeMint(recipient[i], s++, "");
            }
        }
        delete s;
    }

    //+++++++++++++++++++++++++++++++++++++++++ ROYALTIES +++++++++++++++++++++++++++++++++++++++++
    //+++++++++++++++++++++++++++++++++++++++++ ROYALTIES +++++++++++++++++++++++++++++++++++++++++
    //+++++++++++++++++++++++++++++++++++++++++ ROYALTIES +++++++++++++++++++++++++++++++++++++++++

    function calculateRoyalty(uint256 _salePrice)
        public
        view
        returns (uint256)
    {
        return (_salePrice / 10000) * royaltyFeesBips;
    }

    function setRoyaltyInfo(address _receiver, uint96 _royaltyFeesBips)
        public
        onlyOwner
    {
        royaltyOwner = _receiver;
        royaltyFeesBips = _royaltyFeesBips;
    }

    function royaltyInfo(uint256 _salePrice)
        external
        view
        returns (
            address receiver,
            uint256 royaltyAmount //uint256 _tokenId,
        )
    {
        return (royaltyOwner, calculateRoyalty(_salePrice));
    }
}

File 2 of 19 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 3 of 19 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

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

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

        return super.tokenURI(tokenId);
    }

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

    /**
     * @dev See {ERC721-_burn}. This override additionally checks to see if a
     * token-specific URI was set for the token, and if so, it deletes the token URI from
     * the storage mapping.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

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

File 4 of 19 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 19 : ERC721Royalty.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/ERC721Royalty.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../common/ERC2981.sol";
import "../../../utils/introspection/ERC165.sol";

/**
 * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment
 * information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC721Royalty is ERC2981, ERC721 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);
        _resetTokenRoyalty(tokenId);
    }
}

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 8 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 9 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 10 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 of 19 : 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 19 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 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 13 of 19 : 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 14 of 19 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 15 of 19 : 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 16 of 19 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 17 of 19 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 18 of 19 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 19 of 19 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"calculateRoyalty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"gifts","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","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":"maxInWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrivate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"onWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"public_sale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyBips","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPricePrivate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_truefalse","type":"bool"}],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeesBips","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":[{"internalType":"uint256","name":"tokenid","type":"uint256"},{"internalType":"string","name":"newURI","type":"string"}],"name":"updateURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"whiteListMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addressToWhitelist","type":"address"}],"name":"whiteListOne","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250601090816200004a919062000983565b506115b36011556000601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff0219169083151502179055506000601260026101000a81548160ff021916908315150217905550600060145567016345785d8a0000601555600160165560026017556040518060200160405280730bc854245b825c83ddf477151f4b1bcc70d86bb273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525060189060016200011e92919062000604565b507373d385c854438c86ca7d3b9bfe6e2bf168169eea601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060200160405280606460ff16815250601a9060016200019992919062000693565b50730bc854245b825c83ddf477151f4b1bcc70d86bb2601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506103e8601b60146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055503480156200022f57600080fd5b5060405162005d0a38038062005d0a833981810160405281019062000255919062000bce565b8383816000908162000268919062000983565b5080600190816200027a919062000983565b5050506200029d620002916200035260201b60201c565b6200035a60201b60201c565b6001600c81905550620002b6826200042060201b60201c565b620002c7816200044560201b60201c565b62000315601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601b60149054906101000a90046bffffffffffffffffffffffff166200046a60201b60201c565b62000348601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620004f060201b60201c565b5050505062000d3f565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620004306200054960201b60201c565b80600e908162000441919062000983565b5050565b620004556200054960201b60201c565b80600f908162000466919062000983565b5050565b6200047a6200054960201b60201c565b81601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505050565b620005006200054960201b60201c565b601654601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b620005596200035260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200057f620005da60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620005d8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005cf9062000d1d565b60405180910390fd5b565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b82805482825590600052602060002090810192821562000680579160200282015b828111156200067f5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000625565b5b5090506200068f9190620006ea565b5090565b828054828255906000526020600020908101928215620006d7579160200282015b82811115620006d6578251829060ff16905591602001919060010190620006b4565b5b509050620006e69190620006ea565b5090565b5b8082111562000705576000816000905550600101620006eb565b5090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200078b57607f821691505b602082108103620007a157620007a062000743565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200080b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620007cc565b620008178683620007cc565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620008646200085e62000858846200082f565b62000839565b6200082f565b9050919050565b6000819050919050565b620008808362000843565b620008986200088f826200086b565b848454620007d9565b825550505050565b600090565b620008af620008a0565b620008bc81848462000875565b505050565b5b81811015620008e457620008d8600082620008a5565b600181019050620008c2565b5050565b601f8211156200093357620008fd81620007a7565b6200090884620007bc565b8101602085101562000918578190505b620009306200092785620007bc565b830182620008c1565b50505b505050565b600082821c905092915050565b6000620009586000198460080262000938565b1980831691505092915050565b600062000973838362000945565b9150826002028217905092915050565b6200098e8262000709565b67ffffffffffffffff811115620009aa57620009a962000714565b5b620009b6825462000772565b620009c3828285620008e8565b600060209050601f831160018114620009fb5760008415620009e6578287015190505b620009f2858262000965565b86555062000a62565b601f19841662000a0b86620007a7565b60005b8281101562000a355784890151825560018201915060208501945060208101905062000a0e565b8683101562000a55578489015162000a51601f89168262000945565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b62000aa48262000a88565b810181811067ffffffffffffffff8211171562000ac65762000ac562000714565b5b80604052505050565b600062000adb62000a6a565b905062000ae9828262000a99565b919050565b600067ffffffffffffffff82111562000b0c5762000b0b62000714565b5b62000b178262000a88565b9050602081019050919050565b60005b8381101562000b4457808201518184015260208101905062000b27565b60008484015250505050565b600062000b6762000b618462000aee565b62000acf565b90508281526020810184848401111562000b865762000b8562000a83565b5b62000b9384828562000b24565b509392505050565b600082601f83011262000bb35762000bb262000a7e565b5b815162000bc584826020860162000b50565b91505092915050565b6000806000806080858703121562000beb5762000bea62000a74565b5b600085015167ffffffffffffffff81111562000c0c5762000c0b62000a79565b5b62000c1a8782880162000b9b565b945050602085015167ffffffffffffffff81111562000c3e5762000c3d62000a79565b5b62000c4c8782880162000b9b565b935050604085015167ffffffffffffffff81111562000c705762000c6f62000a79565b5b62000c7e8782880162000b9b565b925050606085015167ffffffffffffffff81111562000ca25762000ca162000a79565b5b62000cb08782880162000b9b565b91505092959194509250565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000d0560208362000cbc565b915062000d128262000ccd565b602082019050919050565b6000602082019050818103600083015262000d388162000cf6565b9050919050565b614fbb8062000d4f6000396000f3fe6080604052600436106102ae5760003560e01c806370a0823111610175578063af47bbfe116100dc578063d5abeb0111610095578063e985e9c51161006f578063e985e9c514610a6d578063efd0cbf914610aaa578063f2c4ce1e14610ac6578063f2fde38b14610aef576102ae565b8063d5abeb01146109ee578063da3ef23f14610a19578063db5eb70214610a42576102ae565b8063af47bbfe146108c9578063b88d4fde146108f4578063c66828621461091d578063c87b56dd14610948578063cef6d36814610985578063d186660b146109c3576102ae565b806395d89b411161012e57806395d89b41146107cf57806396ea3a47146107fa578063a22cb46514610823578063a2e696131461084c578063a475b5dd14610889578063a49f9758146108a0576102ae565b806370a08231146106d1578063715018a61461070e5780637501f741146107255780638da5cb5b1461075057806391b7f5ed1461077b57806391ed094d146107a4576102ae565b80633ccfd60b1161021957806351830227116101d257806351830227146105c157806355f804b3146105ec5780635aca1bb6146106155780635c975abb1461063e5780636352211e146106695780636c0360eb146106a6576102ae565b80633ccfd60b146104f55780633e28eae1146104ff57806342842e0e1461050957806343d675651461053257806349619f781461055b5780634f6ccce714610584576102ae565b8063095ea7b31161026b578063095ea7b3146103d557806318160ddd146103fe5780631d6086591461042957806323b872dd146104665780632f745c591461048f57806331d41c69146104cc576102ae565b806301ffc9a7146102b357806302329a29146102f057806302fa7c471461031957806306fdde0314610342578063081812fc1461036d578063081c8c44146103aa575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d591906132e8565b610b18565b6040516102e79190613330565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613377565b610b2a565b005b34801561032557600080fd5b50610340600480360381019061033b9190613446565b610b4f565b005b34801561034e57600080fd5b50610357610bcd565b6040516103649190613516565b60405180910390f35b34801561037957600080fd5b50610394600480360381019061038f919061356e565b610c5f565b6040516103a191906135aa565b60405180910390f35b3480156103b657600080fd5b506103bf610ca5565b6040516103cc9190613516565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f791906135c5565b610d33565b005b34801561040a57600080fd5b50610413610e4a565b6040516104209190613614565b60405180910390f35b34801561043557600080fd5b50610450600480360381019061044b919061362f565b610e57565b60405161045d9190613614565b60405180910390f35b34801561047257600080fd5b5061048d6004803603810190610488919061365c565b610e6f565b005b34801561049b57600080fd5b506104b660048036038101906104b191906135c5565b610ecf565b6040516104c39190613614565b60405180910390f35b3480156104d857600080fd5b506104f360048036038101906104ee91906137e4565b610f74565b005b6104fd610f8a565b005b61050761100b565b005b34801561051557600080fd5b50610530600480360381019061052b919061365c565b6111af565b005b34801561053e57600080fd5b50610559600480360381019061055491906138a0565b6111cf565b005b34801561056757600080fd5b50610582600480360381019061057d919061362f565b61126a565b005b34801561059057600080fd5b506105ab60048036038101906105a6919061356e565b6112bb565b6040516105b89190613614565b60405180910390f35b3480156105cd57600080fd5b506105d661132c565b6040516105e39190613330565b60405180910390f35b3480156105f857600080fd5b50610613600480360381019061060e91906138ed565b61133f565b005b34801561062157600080fd5b5061063c60048036038101906106379190613377565b61135a565b005b34801561064a57600080fd5b5061065361137f565b6040516106609190613330565b60405180910390f35b34801561067557600080fd5b50610690600480360381019061068b919061356e565b611392565b60405161069d91906135aa565b60405180910390f35b3480156106b257600080fd5b506106bb611443565b6040516106c89190613516565b60405180910390f35b3480156106dd57600080fd5b506106f860048036038101906106f3919061362f565b6114d1565b6040516107059190613614565b60405180910390f35b34801561071a57600080fd5b50610723611588565b005b34801561073157600080fd5b5061073a61159c565b6040516107479190613614565b60405180910390f35b34801561075c57600080fd5b506107656115a2565b60405161077291906135aa565b60405180910390f35b34801561078757600080fd5b506107a2600480360381019061079d919061356e565b6115cc565b005b3480156107b057600080fd5b506107b96115de565b6040516107c69190613330565b60405180910390f35b3480156107db57600080fd5b506107e46115f1565b6040516107f19190613516565b60405180910390f35b34801561080657600080fd5b50610821600480360381019061081c919061398c565b611683565b005b34801561082f57600080fd5b5061084a60048036038101906108459190613a0d565b6117f4565b005b34801561085857600080fd5b50610873600480360381019061086e919061356e565b61180a565b6040516108809190613614565b60405180910390f35b34801561089557600080fd5b5061089e611854565b005b3480156108ac57600080fd5b506108c760048036038101906108c2919061356e565b611879565b005b3480156108d557600080fd5b506108de61188b565b6040516108eb9190613614565b60405180910390f35b34801561090057600080fd5b5061091b60048036038101906109169190613aee565b611891565b005b34801561092957600080fd5b506109326118f3565b60405161093f9190613516565b60405180910390f35b34801561095457600080fd5b5061096f600480360381019061096a919061356e565b611981565b60405161097c9190613516565b60405180910390f35b34801561099157600080fd5b506109ac60048036038101906109a7919061356e565b611ad9565b6040516109ba929190613b71565b60405180910390f35b3480156109cf57600080fd5b506109d8611b11565b6040516109e59190613ba9565b60405180910390f35b3480156109fa57600080fd5b50610a03611b2f565b604051610a109190613614565b60405180910390f35b348015610a2557600080fd5b50610a406004803603810190610a3b91906138ed565b611b35565b005b348015610a4e57600080fd5b50610a57611b50565b604051610a6491906135aa565b60405180910390f35b348015610a7957600080fd5b50610a946004803603810190610a8f9190613bc4565b611b76565b604051610aa19190613330565b60405180910390f35b610ac46004803603810190610abf919061356e565b611c0a565b005b348015610ad257600080fd5b50610aed6004803603810190610ae891906138ed565b611e2a565b005b348015610afb57600080fd5b50610b166004803603810190610b11919061362f565b611e45565b005b6000610b2382611ec8565b9050919050565b610b32611f42565b80601260006101000a81548160ff02191690831515021790555050565b610b57611f42565b81601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505050565b606060008054610bdc90613c33565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0890613c33565b8015610c555780601f10610c2a57610100808354040283529160200191610c55565b820191906000526020600020905b815481529060010190602001808311610c3857829003601f168201915b5050505050905090565b6000610c6a82611fc0565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600f8054610cb290613c33565b80601f0160208091040260200160405190810160405280929190818152602001828054610cde90613c33565b8015610d2b5780601f10610d0057610100808354040283529160200191610d2b565b820191906000526020600020905b815481529060010190602001808311610d0e57829003601f168201915b505050505081565b6000610d3e82611392565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da590613cd6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dcd61200b565b73ffffffffffffffffffffffffffffffffffffffff161480610dfc5750610dfb81610df661200b565b611b76565b5b610e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3290613d68565b60405180910390fd5b610e458383612013565b505050565b6000600880549050905090565b60136020528060005260406000206000915090505481565b610e80610e7a61200b565b826120cc565b610ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb690613dfa565b60405180910390fd5b610eca838383612161565b505050565b6000610eda836114d1565b8210610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1290613e8c565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f7c611f42565b610f8682826123c7565b5050565b610f92611f42565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610fb890613edd565b60006040518083038185875af1925050503d8060008114610ff5576040519150601f19603f3d011682016040523d82523d6000602084013e610ffa565b606091505b505090508061100857600080fd5b50565b600060019050600061101b610e4a565b90506000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060001515601260029054906101000a900460ff161515146110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae90613f3e565b60405180910390fd5b600081116110c457600080fd5b6016546110d0336114d1565b10611110576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110790613fd0565b60405180910390fd5b8260145461111e919061401f565b341015611160576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611157906140ad565b60405180910390fd5b6000905060005b838110156111a55761119433828561117f91906140cd565b60405180602001604052806000815250612434565b8061119e90614101565b9050611167565b5060009150505050565b6111ca83838360405180602001604052806000815250611891565b505050565b6111d7611f42565b60005b8282905081101561126557601654601360008585858181106111ff576111fe614149565b5b9050602002016020810190611214919061362f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061125d90614101565b9150506111da565b505050565b611272611f42565b601654601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b60006112c5610e4a565b8210611306576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fd906141ea565b60405180910390fd5b6008828154811061131a57611319614149565b5b90600052602060002001549050919050565b601260019054906101000a900460ff1681565b611347611f42565b80600e908161135691906143b6565b5050565b611362611f42565b80601260026101000a81548160ff02191690831515021790555050565b601260009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361143a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611431906144d4565b60405180910390fd5b80915050919050565b600e805461145090613c33565b80601f016020809104026020016040519081016040528092919081815260200182805461147c90613c33565b80156114c95780601f1061149e576101008083540402835291602001916114c9565b820191906000526020600020905b8154815290600101906020018083116114ac57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153890614566565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611590611f42565b61159a600061248f565b565b60165481565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115d4611f42565b8060158190555050565b601260029054906101000a900460ff1681565b60606001805461160090613c33565b80601f016020809104026020016040519081016040528092919081815260200182805461162c90613c33565b80156116795780601f1061164e57610100808354040283529160200191611679565b820191906000526020600020905b81548152906001019060200180831161165c57829003601f168201915b5050505050905090565b61168b611f42565b81819050848490501461169d57600080fd5b6000806116a8610e4a565b905060005b868690508110156116f0578686828181106116cb576116ca614149565b5b90506020020135836116dd91906140cd565b9250806116e990614101565b90506116ad565b50601154828261170091906140cd565b1115611741576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611738906145d2565b60405180910390fd5b6000915060005b848490508110156117e75760005b87878381811061176957611768614149565b5b905060200201358110156117d5576117c486868481811061178d5761178c614149565b5b90506020020160208101906117a2919061362f565b84806117ad90614101565b955060405180602001604052806000815250612434565b806117ce90614101565b9050611756565b50806117e090614101565b9050611748565b5060009050505050505050565b6118066117ff61200b565b8383612555565b5050565b6000600d60009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16612710836118439190614621565b61184d919061401f565b9050919050565b61185c611f42565b6001601260016101000a81548160ff021916908315150217905550565b611881611f42565b8060148190555050565b60175481565b6118a261189c61200b565b836120cc565b6118e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d890613dfa565b60405180910390fd5b6118ed848484846126c1565b50505050565b6010805461190090613c33565b80601f016020809104026020016040519081016040528092919081815260200182805461192c90613c33565b80156119795780601f1061194e57610100808354040283529160200191611979565b820191906000526020600020905b81548152906001019060200180831161195c57829003601f168201915b505050505081565b606061198c8261271d565b6119cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c2906146c4565b60405180910390fd5b60001515601260019054906101000a900460ff16151503611a7857600f80546119f390613c33565b80601f0160208091040260200160405190810160405280929190818152602001828054611a1f90613c33565b8015611a6c5780601f10611a4157610100808354040283529160200191611a6c565b820191906000526020600020905b815481529060010190602001808311611a4f57829003601f168201915b50505050509050611ad4565b6000611a82612789565b90506000815111611aa25760405180602001604052806000815250611ad0565b80611aac8461281b565b6010604051602001611ac0939291906147a3565b6040516020818303038152906040525b9150505b919050565b600080601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611b088461180a565b91509150915091565b601b60149054906101000a90046bffffffffffffffffffffffff1681565b60115481565b611b3d611f42565b8060109081611b4c91906143b6565b5050565b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000611c14610e4a565b905060011515601260029054906101000a900460ff16151514611c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6390614820565b60405180910390fd5b60008211611caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca69061488c565b60405180910390fd5b601654821115611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb906148f8565b60405180910390fd5b601754611d00336114d1565b10611d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3790614964565b60405180910390fd5b6011548282611d4f91906140cd565b1115611d90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d87906148f8565b60405180910390fd5b81601554611d9e919061401f565b341015611de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd7906140ad565b60405180910390fd5b60005b82811015611e2157611e10338284611dfb91906140cd565b60405180602001604052806000815250612434565b80611e1a90614101565b9050611de3565b50600090505050565b611e32611f42565b80600f9081611e4191906143b6565b5050565b611e4d611f42565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb3906149f6565b60405180910390fd5b611ec58161248f565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f3b5750611f3a8261297b565b5b9050919050565b611f4a61200b565b73ffffffffffffffffffffffffffffffffffffffff16611f686115a2565b73ffffffffffffffffffffffffffffffffffffffff1614611fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb590614a62565b60405180910390fd5b565b611fc98161271d565b612008576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fff906144d4565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661208683611392565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806120d883611392565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061211a57506121198185611b76565b5b8061215857508373ffffffffffffffffffffffffffffffffffffffff1661214084610c5f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661218182611392565b73ffffffffffffffffffffffffffffffffffffffff16146121d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ce90614af4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223d90614b86565b60405180910390fd5b612251838383612a5d565b61225c600082612013565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122ac9190614ba6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230391906140cd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123c2838383612a6d565b505050565b6123d08261271d565b61240f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240690614c4c565b60405180910390fd5b80600a6000848152602001908152602001600020908161242f91906143b6565b505050565b61243e8383612a72565b61244b6000848484612c4b565b61248a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248190614cde565b60405180910390fd5b505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036125c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ba90614d4a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126b49190613330565b60405180910390a3505050565b6126cc848484612161565b6126d884848484612c4b565b612717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270e90614cde565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600e805461279890613c33565b80601f01602080910402602001604051908101604052809291908181526020018280546127c490613c33565b80156128115780601f106127e657610100808354040283529160200191612811565b820191906000526020600020905b8154815290600101906020018083116127f457829003601f168201915b5050505050905090565b606060008203612862576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612976565b600082905060005b6000821461289457808061287d90614101565b915050600a8261288d9190614621565b915061286a565b60008167ffffffffffffffff8111156128b0576128af6136b9565b5b6040519080825280601f01601f1916602001820160405280156128e25781602001600182028036833780820191505090505b5090505b6000851461296f576001826128fb9190614ba6565b9150600a8561290a9190614d6a565b603061291691906140cd565b60f81b81838151811061292c5761292b614149565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129689190614621565b94506128e6565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a4657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a565750612a5582612dd2565b5b9050919050565b612a68838383612e3c565b505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad890614de7565b60405180910390fd5b612aea8161271d565b15612b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2190614e53565b60405180910390fd5b612b3660008383612a5d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b8691906140cd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c4760008383612a6d565b5050565b6000612c6c8473ffffffffffffffffffffffffffffffffffffffff16612f4e565b15612dc5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c9561200b565b8786866040518563ffffffff1660e01b8152600401612cb79493929190614ec8565b6020604051808303816000875af1925050508015612cf357506040513d601f19601f82011682018060405250810190612cf09190614f29565b60015b612d75573d8060008114612d23576040519150601f19603f3d011682016040523d82523d6000602084013e612d28565b606091505b506000815103612d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6490614cde565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612dca565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612e47838383612f71565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612e8957612e8481612f76565b612ec8565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ec757612ec68382612fbf565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612f0a57612f058161312c565b612f49565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612f4857612f4782826131fd565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612fcc846114d1565b612fd69190614ba6565b90506000600760008481526020019081526020016000205490508181146130bb576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506131409190614ba6565b90506000600960008481526020019081526020016000205490506000600883815481106131705761316f614149565b5b90600052602060002001549050806008838154811061319257613191614149565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806131e1576131e0614f56565b5b6001900381819060005260206000200160009055905550505050565b6000613208836114d1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132c581613290565b81146132d057600080fd5b50565b6000813590506132e2816132bc565b92915050565b6000602082840312156132fe576132fd613286565b5b600061330c848285016132d3565b91505092915050565b60008115159050919050565b61332a81613315565b82525050565b60006020820190506133456000830184613321565b92915050565b61335481613315565b811461335f57600080fd5b50565b6000813590506133718161334b565b92915050565b60006020828403121561338d5761338c613286565b5b600061339b84828501613362565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133cf826133a4565b9050919050565b6133df816133c4565b81146133ea57600080fd5b50565b6000813590506133fc816133d6565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61342381613402565b811461342e57600080fd5b50565b6000813590506134408161341a565b92915050565b6000806040838503121561345d5761345c613286565b5b600061346b858286016133ed565b925050602061347c85828601613431565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134c05780820151818401526020810190506134a5565b60008484015250505050565b6000601f19601f8301169050919050565b60006134e882613486565b6134f28185613491565b93506135028185602086016134a2565b61350b816134cc565b840191505092915050565b6000602082019050818103600083015261353081846134dd565b905092915050565b6000819050919050565b61354b81613538565b811461355657600080fd5b50565b60008135905061356881613542565b92915050565b60006020828403121561358457613583613286565b5b600061359284828501613559565b91505092915050565b6135a4816133c4565b82525050565b60006020820190506135bf600083018461359b565b92915050565b600080604083850312156135dc576135db613286565b5b60006135ea858286016133ed565b92505060206135fb85828601613559565b9150509250929050565b61360e81613538565b82525050565b60006020820190506136296000830184613605565b92915050565b60006020828403121561364557613644613286565b5b6000613653848285016133ed565b91505092915050565b60008060006060848603121561367557613674613286565b5b6000613683868287016133ed565b9350506020613694868287016133ed565b92505060406136a586828701613559565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136f1826134cc565b810181811067ffffffffffffffff821117156137105761370f6136b9565b5b80604052505050565b600061372361327c565b905061372f82826136e8565b919050565b600067ffffffffffffffff82111561374f5761374e6136b9565b5b613758826134cc565b9050602081019050919050565b82818337600083830152505050565b600061378761378284613734565b613719565b9050828152602081018484840111156137a3576137a26136b4565b5b6137ae848285613765565b509392505050565b600082601f8301126137cb576137ca6136af565b5b81356137db848260208601613774565b91505092915050565b600080604083850312156137fb576137fa613286565b5b600061380985828601613559565b925050602083013567ffffffffffffffff81111561382a5761382961328b565b5b613836858286016137b6565b9150509250929050565b600080fd5b600080fd5b60008083601f8401126138605761385f6136af565b5b8235905067ffffffffffffffff81111561387d5761387c613840565b5b60208301915083602082028301111561389957613898613845565b5b9250929050565b600080602083850312156138b7576138b6613286565b5b600083013567ffffffffffffffff8111156138d5576138d461328b565b5b6138e18582860161384a565b92509250509250929050565b60006020828403121561390357613902613286565b5b600082013567ffffffffffffffff8111156139215761392061328b565b5b61392d848285016137b6565b91505092915050565b60008083601f84011261394c5761394b6136af565b5b8235905067ffffffffffffffff81111561396957613968613840565b5b60208301915083602082028301111561398557613984613845565b5b9250929050565b600080600080604085870312156139a6576139a5613286565b5b600085013567ffffffffffffffff8111156139c4576139c361328b565b5b6139d087828801613936565b9450945050602085013567ffffffffffffffff8111156139f3576139f261328b565b5b6139ff8782880161384a565b925092505092959194509250565b60008060408385031215613a2457613a23613286565b5b6000613a32858286016133ed565b9250506020613a4385828601613362565b9150509250929050565b600067ffffffffffffffff821115613a6857613a676136b9565b5b613a71826134cc565b9050602081019050919050565b6000613a91613a8c84613a4d565b613719565b905082815260208101848484011115613aad57613aac6136b4565b5b613ab8848285613765565b509392505050565b600082601f830112613ad557613ad46136af565b5b8135613ae5848260208601613a7e565b91505092915050565b60008060008060808587031215613b0857613b07613286565b5b6000613b16878288016133ed565b9450506020613b27878288016133ed565b9350506040613b3887828801613559565b925050606085013567ffffffffffffffff811115613b5957613b5861328b565b5b613b6587828801613ac0565b91505092959194509250565b6000604082019050613b86600083018561359b565b613b936020830184613605565b9392505050565b613ba381613402565b82525050565b6000602082019050613bbe6000830184613b9a565b92915050565b60008060408385031215613bdb57613bda613286565b5b6000613be9858286016133ed565b9250506020613bfa858286016133ed565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613c4b57607f821691505b602082108103613c5e57613c5d613c04565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613cc0602183613491565b9150613ccb82613c64565b604082019050919050565b60006020820190508181036000830152613cef81613cb3565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613d52603e83613491565b9150613d5d82613cf6565b604082019050919050565b60006020820190508181036000830152613d8181613d45565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613de4602e83613491565b9150613def82613d88565b604082019050919050565b60006020820190508181036000830152613e1381613dd7565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613e76602b83613491565b9150613e8182613e1a565b604082019050919050565b60006020820190508181036000830152613ea581613e69565b9050919050565b600081905092915050565b50565b6000613ec7600083613eac565b9150613ed282613eb7565b600082019050919050565b6000613ee882613eba565b9150819050919050565b7f50726976617465206d696e74206973206e6f7420656e61626c65642100000000600082015250565b6000613f28601c83613491565b9150613f3382613ef2565b602082019050919050565b60006020820190508181036000830152613f5781613f1b565b9050919050565b7f4d61782070726976617465206d696e74207065722077616c6c6574207265616360008201527f6865642100000000000000000000000000000000000000000000000000000000602082015250565b6000613fba602483613491565b9150613fc582613f5e565b604082019050919050565b60006020820190508181036000830152613fe981613fad565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061402a82613538565b915061403583613538565b925082820261404381613538565b9150828204841483151761405a57614059613ff0565b5b5092915050565b7f57726f6e672045544820696e7075742100000000000000000000000000000000600082015250565b6000614097601083613491565b91506140a282614061565b602082019050919050565b600060208201905081810360008301526140c68161408a565b9050919050565b60006140d882613538565b91506140e383613538565b92508282019050808211156140fb576140fa613ff0565b5b92915050565b600061410c82613538565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361413e5761413d613ff0565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006141d4602c83613491565b91506141df82614178565b604082019050919050565b60006020820190508181036000830152614203816141c7565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261426c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261422f565b614276868361422f565b95508019841693508086168417925050509392505050565b6000819050919050565b60006142b36142ae6142a984613538565b61428e565b613538565b9050919050565b6000819050919050565b6142cd83614298565b6142e16142d9826142ba565b84845461423c565b825550505050565b600090565b6142f66142e9565b6143018184846142c4565b505050565b5b818110156143255761431a6000826142ee565b600181019050614307565b5050565b601f82111561436a5761433b8161420a565b6143448461421f565b81016020851015614353578190505b61436761435f8561421f565b830182614306565b50505b505050565b600082821c905092915050565b600061438d6000198460080261436f565b1980831691505092915050565b60006143a6838361437c565b9150826002028217905092915050565b6143bf82613486565b67ffffffffffffffff8111156143d8576143d76136b9565b5b6143e28254613c33565b6143ed828285614329565b600060209050601f831160018114614420576000841561440e578287015190505b614418858261439a565b865550614480565b601f19841661442e8661420a565b60005b8281101561445657848901518255600182019150602085019450602081019050614431565b86831015614473578489015161446f601f89168261437c565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006144be601883613491565b91506144c982614488565b602082019050919050565b600060208201905081810360008301526144ed816144b1565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614550602983613491565b915061455b826144f4565b604082019050919050565b6000602082019050818103600083015261457f81614543565b9050919050565b7f4578636565646564206d617820616c6c6f776564210000000000000000000000600082015250565b60006145bc601583613491565b91506145c782614586565b602082019050919050565b600060208201905081810360008301526145eb816145af565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061462c82613538565b915061463783613538565b925082614647576146466145f2565b5b828204905092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006146ae602f83613491565b91506146b982614652565b604082019050919050565b600060208201905081810360008301526146dd816146a1565b9050919050565b600081905092915050565b60006146fa82613486565b61470481856146e4565b93506147148185602086016134a2565b80840191505092915050565b6000815461472d81613c33565b61473781866146e4565b9450600182166000811461475257600181146147675761479a565b60ff198316865281151582028601935061479a565b6147708561420a565b60005b8381101561479257815481890152600182019150602081019050614773565b838801955050505b50505092915050565b60006147af82866146ef565b91506147bb82856146ef565b91506147c78284614720565b9150819050949350505050565b7f5075626c6963206d696e74206973206e6f7420656e61626c6564210000000000600082015250565b600061480a601b83613491565b9150614815826147d4565b602082019050919050565b60006020820190508181036000830152614839816147fd565b9050919050565b7f596f752063616e6e6f74206d696e742030204e46542100000000000000000000600082015250565b6000614876601683613491565b915061488182614840565b602082019050919050565b600060208201905081810360008301526148a581614869565b9050919050565b7f596f75206d757374206d696e74206c6573732100000000000000000000000000600082015250565b60006148e2601383613491565b91506148ed826148ac565b602082019050919050565b60006020820190508181036000830152614911816148d5565b9050919050565b7f4d617820746f6b656e73207065722077616c6c65742072656163686564210000600082015250565b600061494e601e83613491565b915061495982614918565b602082019050919050565b6000602082019050818103600083015261497d81614941565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006149e0602683613491565b91506149eb82614984565b604082019050919050565b60006020820190508181036000830152614a0f816149d3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614a4c602083613491565b9150614a5782614a16565b602082019050919050565b60006020820190508181036000830152614a7b81614a3f565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614ade602583613491565b9150614ae982614a82565b604082019050919050565b60006020820190508181036000830152614b0d81614ad1565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614b70602483613491565b9150614b7b82614b14565b604082019050919050565b60006020820190508181036000830152614b9f81614b63565b9050919050565b6000614bb182613538565b9150614bbc83613538565b9250828203905081811115614bd457614bd3613ff0565b5b92915050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614c36602e83613491565b9150614c4182614bda565b604082019050919050565b60006020820190508181036000830152614c6581614c29565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614cc8603283613491565b9150614cd382614c6c565b604082019050919050565b60006020820190508181036000830152614cf781614cbb565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614d34601983613491565b9150614d3f82614cfe565b602082019050919050565b60006020820190508181036000830152614d6381614d27565b9050919050565b6000614d7582613538565b9150614d8083613538565b925082614d9057614d8f6145f2565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614dd1602083613491565b9150614ddc82614d9b565b602082019050919050565b60006020820190508181036000830152614e0081614dc4565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614e3d601c83613491565b9150614e4882614e07565b602082019050919050565b60006020820190508181036000830152614e6c81614e30565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614e9a82614e73565b614ea48185614e7e565b9350614eb48185602086016134a2565b614ebd816134cc565b840191505092915050565b6000608082019050614edd600083018761359b565b614eea602083018661359b565b614ef76040830185613605565b8181036060830152614f098184614e8f565b905095945050505050565b600081519050614f23816132bc565b92915050565b600060208284031215614f3f57614f3e613286565b5b6000614f4d84828501614f14565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220d59569261422d2c67630abd1b695f3fc45e745b50199b6599ce94cbae190616064736f6c63430008110033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000b4b454d55534849204e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064b454d554d5500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d506154705a6a58746a6b68456a42727155727852416e6f764776484268515a794263566469626466527a31752f000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d506154705a6a58746a6b68456a42727155727852416e6f764776484268515a794263566469626466527a31750000000000000000000000

Deployed Bytecode

0x6080604052600436106102ae5760003560e01c806370a0823111610175578063af47bbfe116100dc578063d5abeb0111610095578063e985e9c51161006f578063e985e9c514610a6d578063efd0cbf914610aaa578063f2c4ce1e14610ac6578063f2fde38b14610aef576102ae565b8063d5abeb01146109ee578063da3ef23f14610a19578063db5eb70214610a42576102ae565b8063af47bbfe146108c9578063b88d4fde146108f4578063c66828621461091d578063c87b56dd14610948578063cef6d36814610985578063d186660b146109c3576102ae565b806395d89b411161012e57806395d89b41146107cf57806396ea3a47146107fa578063a22cb46514610823578063a2e696131461084c578063a475b5dd14610889578063a49f9758146108a0576102ae565b806370a08231146106d1578063715018a61461070e5780637501f741146107255780638da5cb5b1461075057806391b7f5ed1461077b57806391ed094d146107a4576102ae565b80633ccfd60b1161021957806351830227116101d257806351830227146105c157806355f804b3146105ec5780635aca1bb6146106155780635c975abb1461063e5780636352211e146106695780636c0360eb146106a6576102ae565b80633ccfd60b146104f55780633e28eae1146104ff57806342842e0e1461050957806343d675651461053257806349619f781461055b5780634f6ccce714610584576102ae565b8063095ea7b31161026b578063095ea7b3146103d557806318160ddd146103fe5780631d6086591461042957806323b872dd146104665780632f745c591461048f57806331d41c69146104cc576102ae565b806301ffc9a7146102b357806302329a29146102f057806302fa7c471461031957806306fdde0314610342578063081812fc1461036d578063081c8c44146103aa575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d591906132e8565b610b18565b6040516102e79190613330565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613377565b610b2a565b005b34801561032557600080fd5b50610340600480360381019061033b9190613446565b610b4f565b005b34801561034e57600080fd5b50610357610bcd565b6040516103649190613516565b60405180910390f35b34801561037957600080fd5b50610394600480360381019061038f919061356e565b610c5f565b6040516103a191906135aa565b60405180910390f35b3480156103b657600080fd5b506103bf610ca5565b6040516103cc9190613516565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f791906135c5565b610d33565b005b34801561040a57600080fd5b50610413610e4a565b6040516104209190613614565b60405180910390f35b34801561043557600080fd5b50610450600480360381019061044b919061362f565b610e57565b60405161045d9190613614565b60405180910390f35b34801561047257600080fd5b5061048d6004803603810190610488919061365c565b610e6f565b005b34801561049b57600080fd5b506104b660048036038101906104b191906135c5565b610ecf565b6040516104c39190613614565b60405180910390f35b3480156104d857600080fd5b506104f360048036038101906104ee91906137e4565b610f74565b005b6104fd610f8a565b005b61050761100b565b005b34801561051557600080fd5b50610530600480360381019061052b919061365c565b6111af565b005b34801561053e57600080fd5b50610559600480360381019061055491906138a0565b6111cf565b005b34801561056757600080fd5b50610582600480360381019061057d919061362f565b61126a565b005b34801561059057600080fd5b506105ab60048036038101906105a6919061356e565b6112bb565b6040516105b89190613614565b60405180910390f35b3480156105cd57600080fd5b506105d661132c565b6040516105e39190613330565b60405180910390f35b3480156105f857600080fd5b50610613600480360381019061060e91906138ed565b61133f565b005b34801561062157600080fd5b5061063c60048036038101906106379190613377565b61135a565b005b34801561064a57600080fd5b5061065361137f565b6040516106609190613330565b60405180910390f35b34801561067557600080fd5b50610690600480360381019061068b919061356e565b611392565b60405161069d91906135aa565b60405180910390f35b3480156106b257600080fd5b506106bb611443565b6040516106c89190613516565b60405180910390f35b3480156106dd57600080fd5b506106f860048036038101906106f3919061362f565b6114d1565b6040516107059190613614565b60405180910390f35b34801561071a57600080fd5b50610723611588565b005b34801561073157600080fd5b5061073a61159c565b6040516107479190613614565b60405180910390f35b34801561075c57600080fd5b506107656115a2565b60405161077291906135aa565b60405180910390f35b34801561078757600080fd5b506107a2600480360381019061079d919061356e565b6115cc565b005b3480156107b057600080fd5b506107b96115de565b6040516107c69190613330565b60405180910390f35b3480156107db57600080fd5b506107e46115f1565b6040516107f19190613516565b60405180910390f35b34801561080657600080fd5b50610821600480360381019061081c919061398c565b611683565b005b34801561082f57600080fd5b5061084a60048036038101906108459190613a0d565b6117f4565b005b34801561085857600080fd5b50610873600480360381019061086e919061356e565b61180a565b6040516108809190613614565b60405180910390f35b34801561089557600080fd5b5061089e611854565b005b3480156108ac57600080fd5b506108c760048036038101906108c2919061356e565b611879565b005b3480156108d557600080fd5b506108de61188b565b6040516108eb9190613614565b60405180910390f35b34801561090057600080fd5b5061091b60048036038101906109169190613aee565b611891565b005b34801561092957600080fd5b506109326118f3565b60405161093f9190613516565b60405180910390f35b34801561095457600080fd5b5061096f600480360381019061096a919061356e565b611981565b60405161097c9190613516565b60405180910390f35b34801561099157600080fd5b506109ac60048036038101906109a7919061356e565b611ad9565b6040516109ba929190613b71565b60405180910390f35b3480156109cf57600080fd5b506109d8611b11565b6040516109e59190613ba9565b60405180910390f35b3480156109fa57600080fd5b50610a03611b2f565b604051610a109190613614565b60405180910390f35b348015610a2557600080fd5b50610a406004803603810190610a3b91906138ed565b611b35565b005b348015610a4e57600080fd5b50610a57611b50565b604051610a6491906135aa565b60405180910390f35b348015610a7957600080fd5b50610a946004803603810190610a8f9190613bc4565b611b76565b604051610aa19190613330565b60405180910390f35b610ac46004803603810190610abf919061356e565b611c0a565b005b348015610ad257600080fd5b50610aed6004803603810190610ae891906138ed565b611e2a565b005b348015610afb57600080fd5b50610b166004803603810190610b11919061362f565b611e45565b005b6000610b2382611ec8565b9050919050565b610b32611f42565b80601260006101000a81548160ff02191690831515021790555050565b610b57611f42565b81601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505050565b606060008054610bdc90613c33565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0890613c33565b8015610c555780601f10610c2a57610100808354040283529160200191610c55565b820191906000526020600020905b815481529060010190602001808311610c3857829003601f168201915b5050505050905090565b6000610c6a82611fc0565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600f8054610cb290613c33565b80601f0160208091040260200160405190810160405280929190818152602001828054610cde90613c33565b8015610d2b5780601f10610d0057610100808354040283529160200191610d2b565b820191906000526020600020905b815481529060010190602001808311610d0e57829003601f168201915b505050505081565b6000610d3e82611392565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da590613cd6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dcd61200b565b73ffffffffffffffffffffffffffffffffffffffff161480610dfc5750610dfb81610df661200b565b611b76565b5b610e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3290613d68565b60405180910390fd5b610e458383612013565b505050565b6000600880549050905090565b60136020528060005260406000206000915090505481565b610e80610e7a61200b565b826120cc565b610ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb690613dfa565b60405180910390fd5b610eca838383612161565b505050565b6000610eda836114d1565b8210610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1290613e8c565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f7c611f42565b610f8682826123c7565b5050565b610f92611f42565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610fb890613edd565b60006040518083038185875af1925050503d8060008114610ff5576040519150601f19603f3d011682016040523d82523d6000602084013e610ffa565b606091505b505090508061100857600080fd5b50565b600060019050600061101b610e4a565b90506000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060001515601260029054906101000a900460ff161515146110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae90613f3e565b60405180910390fd5b600081116110c457600080fd5b6016546110d0336114d1565b10611110576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110790613fd0565b60405180910390fd5b8260145461111e919061401f565b341015611160576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611157906140ad565b60405180910390fd5b6000905060005b838110156111a55761119433828561117f91906140cd565b60405180602001604052806000815250612434565b8061119e90614101565b9050611167565b5060009150505050565b6111ca83838360405180602001604052806000815250611891565b505050565b6111d7611f42565b60005b8282905081101561126557601654601360008585858181106111ff576111fe614149565b5b9050602002016020810190611214919061362f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061125d90614101565b9150506111da565b505050565b611272611f42565b601654601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b60006112c5610e4a565b8210611306576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fd906141ea565b60405180910390fd5b6008828154811061131a57611319614149565b5b90600052602060002001549050919050565b601260019054906101000a900460ff1681565b611347611f42565b80600e908161135691906143b6565b5050565b611362611f42565b80601260026101000a81548160ff02191690831515021790555050565b601260009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361143a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611431906144d4565b60405180910390fd5b80915050919050565b600e805461145090613c33565b80601f016020809104026020016040519081016040528092919081815260200182805461147c90613c33565b80156114c95780601f1061149e576101008083540402835291602001916114c9565b820191906000526020600020905b8154815290600101906020018083116114ac57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153890614566565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611590611f42565b61159a600061248f565b565b60165481565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115d4611f42565b8060158190555050565b601260029054906101000a900460ff1681565b60606001805461160090613c33565b80601f016020809104026020016040519081016040528092919081815260200182805461162c90613c33565b80156116795780601f1061164e57610100808354040283529160200191611679565b820191906000526020600020905b81548152906001019060200180831161165c57829003601f168201915b5050505050905090565b61168b611f42565b81819050848490501461169d57600080fd5b6000806116a8610e4a565b905060005b868690508110156116f0578686828181106116cb576116ca614149565b5b90506020020135836116dd91906140cd565b9250806116e990614101565b90506116ad565b50601154828261170091906140cd565b1115611741576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611738906145d2565b60405180910390fd5b6000915060005b848490508110156117e75760005b87878381811061176957611768614149565b5b905060200201358110156117d5576117c486868481811061178d5761178c614149565b5b90506020020160208101906117a2919061362f565b84806117ad90614101565b955060405180602001604052806000815250612434565b806117ce90614101565b9050611756565b50806117e090614101565b9050611748565b5060009050505050505050565b6118066117ff61200b565b8383612555565b5050565b6000600d60009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16612710836118439190614621565b61184d919061401f565b9050919050565b61185c611f42565b6001601260016101000a81548160ff021916908315150217905550565b611881611f42565b8060148190555050565b60175481565b6118a261189c61200b565b836120cc565b6118e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d890613dfa565b60405180910390fd5b6118ed848484846126c1565b50505050565b6010805461190090613c33565b80601f016020809104026020016040519081016040528092919081815260200182805461192c90613c33565b80156119795780601f1061194e57610100808354040283529160200191611979565b820191906000526020600020905b81548152906001019060200180831161195c57829003601f168201915b505050505081565b606061198c8261271d565b6119cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c2906146c4565b60405180910390fd5b60001515601260019054906101000a900460ff16151503611a7857600f80546119f390613c33565b80601f0160208091040260200160405190810160405280929190818152602001828054611a1f90613c33565b8015611a6c5780601f10611a4157610100808354040283529160200191611a6c565b820191906000526020600020905b815481529060010190602001808311611a4f57829003601f168201915b50505050509050611ad4565b6000611a82612789565b90506000815111611aa25760405180602001604052806000815250611ad0565b80611aac8461281b565b6010604051602001611ac0939291906147a3565b6040516020818303038152906040525b9150505b919050565b600080601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611b088461180a565b91509150915091565b601b60149054906101000a90046bffffffffffffffffffffffff1681565b60115481565b611b3d611f42565b8060109081611b4c91906143b6565b5050565b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000611c14610e4a565b905060011515601260029054906101000a900460ff16151514611c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6390614820565b60405180910390fd5b60008211611caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca69061488c565b60405180910390fd5b601654821115611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb906148f8565b60405180910390fd5b601754611d00336114d1565b10611d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3790614964565b60405180910390fd5b6011548282611d4f91906140cd565b1115611d90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d87906148f8565b60405180910390fd5b81601554611d9e919061401f565b341015611de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd7906140ad565b60405180910390fd5b60005b82811015611e2157611e10338284611dfb91906140cd565b60405180602001604052806000815250612434565b80611e1a90614101565b9050611de3565b50600090505050565b611e32611f42565b80600f9081611e4191906143b6565b5050565b611e4d611f42565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb3906149f6565b60405180910390fd5b611ec58161248f565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f3b5750611f3a8261297b565b5b9050919050565b611f4a61200b565b73ffffffffffffffffffffffffffffffffffffffff16611f686115a2565b73ffffffffffffffffffffffffffffffffffffffff1614611fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb590614a62565b60405180910390fd5b565b611fc98161271d565b612008576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fff906144d4565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661208683611392565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806120d883611392565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061211a57506121198185611b76565b5b8061215857508373ffffffffffffffffffffffffffffffffffffffff1661214084610c5f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661218182611392565b73ffffffffffffffffffffffffffffffffffffffff16146121d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ce90614af4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223d90614b86565b60405180910390fd5b612251838383612a5d565b61225c600082612013565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122ac9190614ba6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230391906140cd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123c2838383612a6d565b505050565b6123d08261271d565b61240f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240690614c4c565b60405180910390fd5b80600a6000848152602001908152602001600020908161242f91906143b6565b505050565b61243e8383612a72565b61244b6000848484612c4b565b61248a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248190614cde565b60405180910390fd5b505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036125c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ba90614d4a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126b49190613330565b60405180910390a3505050565b6126cc848484612161565b6126d884848484612c4b565b612717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270e90614cde565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600e805461279890613c33565b80601f01602080910402602001604051908101604052809291908181526020018280546127c490613c33565b80156128115780601f106127e657610100808354040283529160200191612811565b820191906000526020600020905b8154815290600101906020018083116127f457829003601f168201915b5050505050905090565b606060008203612862576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612976565b600082905060005b6000821461289457808061287d90614101565b915050600a8261288d9190614621565b915061286a565b60008167ffffffffffffffff8111156128b0576128af6136b9565b5b6040519080825280601f01601f1916602001820160405280156128e25781602001600182028036833780820191505090505b5090505b6000851461296f576001826128fb9190614ba6565b9150600a8561290a9190614d6a565b603061291691906140cd565b60f81b81838151811061292c5761292b614149565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129689190614621565b94506128e6565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a4657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a565750612a5582612dd2565b5b9050919050565b612a68838383612e3c565b505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad890614de7565b60405180910390fd5b612aea8161271d565b15612b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2190614e53565b60405180910390fd5b612b3660008383612a5d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b8691906140cd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c4760008383612a6d565b5050565b6000612c6c8473ffffffffffffffffffffffffffffffffffffffff16612f4e565b15612dc5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c9561200b565b8786866040518563ffffffff1660e01b8152600401612cb79493929190614ec8565b6020604051808303816000875af1925050508015612cf357506040513d601f19601f82011682018060405250810190612cf09190614f29565b60015b612d75573d8060008114612d23576040519150601f19603f3d011682016040523d82523d6000602084013e612d28565b606091505b506000815103612d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6490614cde565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612dca565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612e47838383612f71565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612e8957612e8481612f76565b612ec8565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ec757612ec68382612fbf565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612f0a57612f058161312c565b612f49565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612f4857612f4782826131fd565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612fcc846114d1565b612fd69190614ba6565b90506000600760008481526020019081526020016000205490508181146130bb576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506131409190614ba6565b90506000600960008481526020019081526020016000205490506000600883815481106131705761316f614149565b5b90600052602060002001549050806008838154811061319257613191614149565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806131e1576131e0614f56565b5b6001900381819060005260206000200160009055905550505050565b6000613208836114d1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132c581613290565b81146132d057600080fd5b50565b6000813590506132e2816132bc565b92915050565b6000602082840312156132fe576132fd613286565b5b600061330c848285016132d3565b91505092915050565b60008115159050919050565b61332a81613315565b82525050565b60006020820190506133456000830184613321565b92915050565b61335481613315565b811461335f57600080fd5b50565b6000813590506133718161334b565b92915050565b60006020828403121561338d5761338c613286565b5b600061339b84828501613362565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133cf826133a4565b9050919050565b6133df816133c4565b81146133ea57600080fd5b50565b6000813590506133fc816133d6565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61342381613402565b811461342e57600080fd5b50565b6000813590506134408161341a565b92915050565b6000806040838503121561345d5761345c613286565b5b600061346b858286016133ed565b925050602061347c85828601613431565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134c05780820151818401526020810190506134a5565b60008484015250505050565b6000601f19601f8301169050919050565b60006134e882613486565b6134f28185613491565b93506135028185602086016134a2565b61350b816134cc565b840191505092915050565b6000602082019050818103600083015261353081846134dd565b905092915050565b6000819050919050565b61354b81613538565b811461355657600080fd5b50565b60008135905061356881613542565b92915050565b60006020828403121561358457613583613286565b5b600061359284828501613559565b91505092915050565b6135a4816133c4565b82525050565b60006020820190506135bf600083018461359b565b92915050565b600080604083850312156135dc576135db613286565b5b60006135ea858286016133ed565b92505060206135fb85828601613559565b9150509250929050565b61360e81613538565b82525050565b60006020820190506136296000830184613605565b92915050565b60006020828403121561364557613644613286565b5b6000613653848285016133ed565b91505092915050565b60008060006060848603121561367557613674613286565b5b6000613683868287016133ed565b9350506020613694868287016133ed565b92505060406136a586828701613559565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136f1826134cc565b810181811067ffffffffffffffff821117156137105761370f6136b9565b5b80604052505050565b600061372361327c565b905061372f82826136e8565b919050565b600067ffffffffffffffff82111561374f5761374e6136b9565b5b613758826134cc565b9050602081019050919050565b82818337600083830152505050565b600061378761378284613734565b613719565b9050828152602081018484840111156137a3576137a26136b4565b5b6137ae848285613765565b509392505050565b600082601f8301126137cb576137ca6136af565b5b81356137db848260208601613774565b91505092915050565b600080604083850312156137fb576137fa613286565b5b600061380985828601613559565b925050602083013567ffffffffffffffff81111561382a5761382961328b565b5b613836858286016137b6565b9150509250929050565b600080fd5b600080fd5b60008083601f8401126138605761385f6136af565b5b8235905067ffffffffffffffff81111561387d5761387c613840565b5b60208301915083602082028301111561389957613898613845565b5b9250929050565b600080602083850312156138b7576138b6613286565b5b600083013567ffffffffffffffff8111156138d5576138d461328b565b5b6138e18582860161384a565b92509250509250929050565b60006020828403121561390357613902613286565b5b600082013567ffffffffffffffff8111156139215761392061328b565b5b61392d848285016137b6565b91505092915050565b60008083601f84011261394c5761394b6136af565b5b8235905067ffffffffffffffff81111561396957613968613840565b5b60208301915083602082028301111561398557613984613845565b5b9250929050565b600080600080604085870312156139a6576139a5613286565b5b600085013567ffffffffffffffff8111156139c4576139c361328b565b5b6139d087828801613936565b9450945050602085013567ffffffffffffffff8111156139f3576139f261328b565b5b6139ff8782880161384a565b925092505092959194509250565b60008060408385031215613a2457613a23613286565b5b6000613a32858286016133ed565b9250506020613a4385828601613362565b9150509250929050565b600067ffffffffffffffff821115613a6857613a676136b9565b5b613a71826134cc565b9050602081019050919050565b6000613a91613a8c84613a4d565b613719565b905082815260208101848484011115613aad57613aac6136b4565b5b613ab8848285613765565b509392505050565b600082601f830112613ad557613ad46136af565b5b8135613ae5848260208601613a7e565b91505092915050565b60008060008060808587031215613b0857613b07613286565b5b6000613b16878288016133ed565b9450506020613b27878288016133ed565b9350506040613b3887828801613559565b925050606085013567ffffffffffffffff811115613b5957613b5861328b565b5b613b6587828801613ac0565b91505092959194509250565b6000604082019050613b86600083018561359b565b613b936020830184613605565b9392505050565b613ba381613402565b82525050565b6000602082019050613bbe6000830184613b9a565b92915050565b60008060408385031215613bdb57613bda613286565b5b6000613be9858286016133ed565b9250506020613bfa858286016133ed565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613c4b57607f821691505b602082108103613c5e57613c5d613c04565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613cc0602183613491565b9150613ccb82613c64565b604082019050919050565b60006020820190508181036000830152613cef81613cb3565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613d52603e83613491565b9150613d5d82613cf6565b604082019050919050565b60006020820190508181036000830152613d8181613d45565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613de4602e83613491565b9150613def82613d88565b604082019050919050565b60006020820190508181036000830152613e1381613dd7565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613e76602b83613491565b9150613e8182613e1a565b604082019050919050565b60006020820190508181036000830152613ea581613e69565b9050919050565b600081905092915050565b50565b6000613ec7600083613eac565b9150613ed282613eb7565b600082019050919050565b6000613ee882613eba565b9150819050919050565b7f50726976617465206d696e74206973206e6f7420656e61626c65642100000000600082015250565b6000613f28601c83613491565b9150613f3382613ef2565b602082019050919050565b60006020820190508181036000830152613f5781613f1b565b9050919050565b7f4d61782070726976617465206d696e74207065722077616c6c6574207265616360008201527f6865642100000000000000000000000000000000000000000000000000000000602082015250565b6000613fba602483613491565b9150613fc582613f5e565b604082019050919050565b60006020820190508181036000830152613fe981613fad565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061402a82613538565b915061403583613538565b925082820261404381613538565b9150828204841483151761405a57614059613ff0565b5b5092915050565b7f57726f6e672045544820696e7075742100000000000000000000000000000000600082015250565b6000614097601083613491565b91506140a282614061565b602082019050919050565b600060208201905081810360008301526140c68161408a565b9050919050565b60006140d882613538565b91506140e383613538565b92508282019050808211156140fb576140fa613ff0565b5b92915050565b600061410c82613538565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361413e5761413d613ff0565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006141d4602c83613491565b91506141df82614178565b604082019050919050565b60006020820190508181036000830152614203816141c7565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261426c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261422f565b614276868361422f565b95508019841693508086168417925050509392505050565b6000819050919050565b60006142b36142ae6142a984613538565b61428e565b613538565b9050919050565b6000819050919050565b6142cd83614298565b6142e16142d9826142ba565b84845461423c565b825550505050565b600090565b6142f66142e9565b6143018184846142c4565b505050565b5b818110156143255761431a6000826142ee565b600181019050614307565b5050565b601f82111561436a5761433b8161420a565b6143448461421f565b81016020851015614353578190505b61436761435f8561421f565b830182614306565b50505b505050565b600082821c905092915050565b600061438d6000198460080261436f565b1980831691505092915050565b60006143a6838361437c565b9150826002028217905092915050565b6143bf82613486565b67ffffffffffffffff8111156143d8576143d76136b9565b5b6143e28254613c33565b6143ed828285614329565b600060209050601f831160018114614420576000841561440e578287015190505b614418858261439a565b865550614480565b601f19841661442e8661420a565b60005b8281101561445657848901518255600182019150602085019450602081019050614431565b86831015614473578489015161446f601f89168261437c565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006144be601883613491565b91506144c982614488565b602082019050919050565b600060208201905081810360008301526144ed816144b1565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614550602983613491565b915061455b826144f4565b604082019050919050565b6000602082019050818103600083015261457f81614543565b9050919050565b7f4578636565646564206d617820616c6c6f776564210000000000000000000000600082015250565b60006145bc601583613491565b91506145c782614586565b602082019050919050565b600060208201905081810360008301526145eb816145af565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061462c82613538565b915061463783613538565b925082614647576146466145f2565b5b828204905092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006146ae602f83613491565b91506146b982614652565b604082019050919050565b600060208201905081810360008301526146dd816146a1565b9050919050565b600081905092915050565b60006146fa82613486565b61470481856146e4565b93506147148185602086016134a2565b80840191505092915050565b6000815461472d81613c33565b61473781866146e4565b9450600182166000811461475257600181146147675761479a565b60ff198316865281151582028601935061479a565b6147708561420a565b60005b8381101561479257815481890152600182019150602081019050614773565b838801955050505b50505092915050565b60006147af82866146ef565b91506147bb82856146ef565b91506147c78284614720565b9150819050949350505050565b7f5075626c6963206d696e74206973206e6f7420656e61626c6564210000000000600082015250565b600061480a601b83613491565b9150614815826147d4565b602082019050919050565b60006020820190508181036000830152614839816147fd565b9050919050565b7f596f752063616e6e6f74206d696e742030204e46542100000000000000000000600082015250565b6000614876601683613491565b915061488182614840565b602082019050919050565b600060208201905081810360008301526148a581614869565b9050919050565b7f596f75206d757374206d696e74206c6573732100000000000000000000000000600082015250565b60006148e2601383613491565b91506148ed826148ac565b602082019050919050565b60006020820190508181036000830152614911816148d5565b9050919050565b7f4d617820746f6b656e73207065722077616c6c65742072656163686564210000600082015250565b600061494e601e83613491565b915061495982614918565b602082019050919050565b6000602082019050818103600083015261497d81614941565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006149e0602683613491565b91506149eb82614984565b604082019050919050565b60006020820190508181036000830152614a0f816149d3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614a4c602083613491565b9150614a5782614a16565b602082019050919050565b60006020820190508181036000830152614a7b81614a3f565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614ade602583613491565b9150614ae982614a82565b604082019050919050565b60006020820190508181036000830152614b0d81614ad1565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614b70602483613491565b9150614b7b82614b14565b604082019050919050565b60006020820190508181036000830152614b9f81614b63565b9050919050565b6000614bb182613538565b9150614bbc83613538565b9250828203905081811115614bd457614bd3613ff0565b5b92915050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614c36602e83613491565b9150614c4182614bda565b604082019050919050565b60006020820190508181036000830152614c6581614c29565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614cc8603283613491565b9150614cd382614c6c565b604082019050919050565b60006020820190508181036000830152614cf781614cbb565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614d34601983613491565b9150614d3f82614cfe565b602082019050919050565b60006020820190508181036000830152614d6381614d27565b9050919050565b6000614d7582613538565b9150614d8083613538565b925082614d9057614d8f6145f2565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614dd1602083613491565b9150614ddc82614d9b565b602082019050919050565b60006020820190508181036000830152614e0081614dc4565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614e3d601c83613491565b9150614e4882614e07565b602082019050919050565b60006020820190508181036000830152614e6c81614e30565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614e9a82614e73565b614ea48185614e7e565b9350614eb48185602086016134a2565b614ebd816134cc565b840191505092915050565b6000608082019050614edd600083018761359b565b614eea602083018661359b565b614ef76040830185613605565b8181036060830152614f098184614e8f565b905095945050505050565b600081519050614f23816132bc565b92915050565b600060208284031215614f3f57614f3e613286565b5b6000614f4d84828501614f14565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220d59569261422d2c67630abd1b695f3fc45e745b50199b6599ce94cbae190616064736f6c63430008110033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000b4b454d55534849204e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064b454d554d5500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d506154705a6a58746a6b68456a42727155727852416e6f764776484268515a794263566469626466527a31752f000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d506154705a6a58746a6b68456a42727155727852416e6f764776484268515a794263566469626466527a31750000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): KEMUSHI NFT
Arg [1] : _symbol (string): KEMUMU
Arg [2] : _initBaseURI (string): ipfs://QmPaTpZjXtjkhEjBrqUrxRAnovGvHBhQZyBcVdibdfRz1u/
Arg [3] : _initNotRevealedUri (string): ipfs://QmPaTpZjXtjkhEjBrqUrxRAnovGvHBhQZyBcVdibdfRz1u

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [5] : 4b454d55534849204e4654000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [7] : 4b454d554d550000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [9] : 697066733a2f2f516d506154705a6a58746a6b68456a42727155727852416e6f
Arg [10] : 764776484268515a794263566469626466527a31752f00000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [12] : 697066733a2f2f516d506154705a6a58746a6b68456a42727155727852416e6f
Arg [13] : 764776484268515a794263566469626466527a31750000000000000000000000


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.