ETH Price: $2,386.57 (-3.18%)
 

Overview

Max Total Supply

2,331 NkNk

Holders

1,005

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
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:
NftMinter

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
byzantium EvmVersion
File 1 of 16 : NftMinter.sol
// SPDX-License-Identifier: MIT
// solhint-disable-next-line
pragma solidity ^0.8.10;

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

contract NftMinter is ERC721Enumerable, Ownable, ReentrancyGuard {
    using Strings for uint256;
    using SafeMath for uint256;

    bool public emergencyStop = false;
    uint256 internal maxAmount = 1;
    uint256 internal maxSupply = 5000;
    string internal baseExtension = ".json";
    string internal baseURI;
    bool public revealed = false;
    string public notRevealedUri;
    uint256 public mintIndex = 300;
    uint256 public reserveMintIndex = 0;
    uint256 public reservedNftMintCount = 0;
    uint256 public publicNftMintCount = 0;
    uint256 public whitelistMintPeriod;
    bytes32 public root;
    address[] public airdropAddresses;

    mapping(address => uint) internal reserveList;
    mapping(address => uint) internal airdropList;
    mapping(address => uint) internal publicMinted;
    mapping(address => uint) internal whitelistedMinted;

    event Mint(address minter, uint256 _tokenAmount, uint256 _tokenPrice);
    event SetMaxAmount(uint256 _maxAmount);
    event SetMaxSupply(uint256 _maxSupply);
    event SetBaseURI(string _uri);
    event SetBaseExtension(string _baseExtension);
    event Withdraw(uint256 amount);

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _initBaseURI,
        string memory _initNotRevealedUri,
        bytes32 _root
    ) ERC721(_name, _symbol) {
        setBaseURI(_initBaseURI);
        setNotRevealedURI(_initNotRevealedUri);
        root = _root;
    }

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

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(tokenId), "ERC721Metadata: Nonexistent token");

        if(revealed == false) {
            return bytes(notRevealedUri).length > 0
            ? string(abi.encodePacked(notRevealedUri, tokenId.toString(), baseExtension))
            : "";
        }

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

    function airdropMint() external onlyOwner {
        require(!emergencyStop, "Contract is paused");
        uint256 supply = totalSupply();
        for(uint256 i = 0; i < airdropAddresses.length; i++){
            require(airdropList[airdropAddresses[i]].add(supply) <= 4500, "Exceeded max supply");
            for(uint256 j = 0; j < airdropList[airdropAddresses[i]]; j++){
                if((mintIndex.add(1) > 3000 && mintIndex.add(1) < 3100) || (mintIndex.add(1) > 4000 && mintIndex.add(1) < 4100)){
                    mintIndex = mintIndex.add(100);
                }
                _safeMint(airdropAddresses[i], mintIndex.add(1));
                mintIndex = mintIndex.add(1);
            }
            emit Mint(airdropAddresses[i], airdropList[airdropAddresses[i]], 0);
        }
    }

    function publicMint(uint256 _amount) external nonReentrant{
        require(block.timestamp > whitelistMintPeriod,"public mint not started");
        require(!emergencyStop, "Contract is paused");
        require(_amount > 0, "Value less than 0");
        uint256 supply = totalSupply();
        require(_amount.add(supply) <= 4500, "Exceeded max supply");
        if (msg.sender != owner()) {
            require(publicMinted[msg.sender] <= 1, "Limit Exceeded");
            require(_amount <= maxAmount, "Exceeded max amount");
            require(publicNftMintCount <= 1000,"Public nft Minted");
        }
        publicMinted[msg.sender]  = publicMinted[msg.sender].add(_amount);
        publicNftMintCount = publicNftMintCount.add(_amount);
        for (uint256 i = 1; i <= _amount; i++) {
            if((mintIndex.add(1) > 3000 && mintIndex.add(1) < 3100) || (mintIndex.add(1) > 4000 && mintIndex.add(1) < 4100)){
                mintIndex = mintIndex.add(100);
            }
            _safeMint(msg.sender, mintIndex.add(1));
            mintIndex = mintIndex.add(1);
        }
        emit Mint(msg.sender, _amount, 0);
    }


    function whitelistMint(bytes32[] calldata proof,uint _level, uint _amount) external nonReentrant{
        require(block.timestamp <= whitelistMintPeriod,"Minting period over");
        require(_amount > 0, "Value less than 0");
        require(!emergencyStop, "Contract is paused");
        require(whitelistedMinted[msg.sender].add(_amount) <= _level, "Limit Exceeded");
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender,_level));
        require(isValid(proof,leaf), "Invalid Proof");
        uint256 supply = totalSupply();
        require(_amount.add(supply) <= 4500, "Exceeded max supply");
        whitelistedMinted[msg.sender] = whitelistedMinted[msg.sender].add(_amount);
        for (uint256 i = 1; i <= _amount; i++) {
            if((mintIndex.add(1) > 3000 && mintIndex.add(1) < 3100) || (mintIndex.add(1) > 4000 && mintIndex.add(1) < 4100)){
                mintIndex = mintIndex.add(100);
            }
            _safeMint(msg.sender, mintIndex.add(1));
            mintIndex = mintIndex.add(1);
        }
        emit Mint(msg.sender, _amount, 0);
    }

    function reserveMint(uint _amount) external {
        require(reserveList[msg.sender] > 0, "Not a part of Allowlist");
        require(!emergencyStop, "Contract is paused");
        require(_amount > 0, "Value less than 0");
        require(reservedNftMintCount.add(_amount) <= 500,"Reserved nft minted");
        require(_amount <= reserveList[msg.sender], "Exceeded max amount");
        uint256 supply = totalSupply();
        require(_amount + supply <= maxSupply, "Exceeded max supply");
        reserveList[msg.sender] = reserveList[msg.sender].sub(_amount);
        reservedNftMintCount = reservedNftMintCount.add(_amount);
        for (uint256 i = 1; i <= _amount; i++) {
            if(reserveMintIndex.add(1) > 300 && reserveMintIndex.add(1) <= 3000){
                reserveMintIndex = 3000;
            }else if(reserveMintIndex.add(1) > 3100 && reserveMintIndex.add(1) <= 4000){
                reserveMintIndex = 4000;
            }
            _safeMint(msg.sender, reserveMintIndex.add(1));
            reserveMintIndex = reserveMintIndex.add(1);
        }
        emit Mint(msg.sender, _amount, 0);
    }

    function isValid(bytes32[] memory proof, bytes32 leaf) public view returns (bool) {
        return MerkleProof.verify(proof, root, leaf);
    }

    function ownerOfTokens(address _owner)
        public
        view
        returns (uint256[] memory)
    {
        uint256 balance = balanceOf(_owner);
        uint256[] memory tokenIds = new uint256[](balance);
        for (uint256 i; i < balance; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokenIds;
    }


    function setMaxAmount(uint256 _maxAmount) public onlyOwner {
        require(_maxAmount > 0, "Value less than 0");
        maxAmount = _maxAmount;
        emit SetMaxAmount(maxAmount);
    }

    function setMaxSupply(uint256 _maxSupply) public onlyOwner {
        require(_maxSupply > 0, "Value less than 0");
        maxSupply = _maxSupply;
        emit SetMaxSupply(maxSupply);
    }

    function setBaseURI(string memory _uri) public onlyOwner {
        baseURI = _uri;
        emit SetBaseURI(baseURI);
    }

    function setBaseExtension(string memory _baseExtension) public onlyOwner {
        baseExtension = _baseExtension;
        emit SetBaseExtension(baseExtension);
    }

    function setReserveList(address[] memory addresses, uint256[] memory numSlots) external onlyOwner {
        (
            addresses.length == numSlots.length,
            "addresses does not match numSlots length"
        );
        for (uint256 i = 0; i < addresses.length; i++) {
            reserveList[addresses[i]] = numSlots[i];
        }
    }

    function setRootHash(bytes32 _newRoot) external onlyOwner {
        root = _newRoot;
    }

    function setAirdropList(address[] memory addresses, uint256[] memory numSlots) external onlyOwner {
        (
            addresses.length == numSlots.length,
            "addresses does not match numSlots length"
        );
        for (uint256 i = 0; i < addresses.length; i++) {
            airdropList[addresses[i]] = numSlots[i];
        }
        airdropAddresses = addresses;
    }

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

    function getMaxAmount() public view returns (uint256) {
        return maxAmount;
    }

    function getMaxSupply() public view returns (uint256) {
        return maxSupply;
    }

    function getBaseURI() public view returns (string memory) {
        return baseURI;
    }

    function getBaseExtension() public view returns (string memory) {
        return baseExtension;
    }

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

    function stopContract() public onlyOwner {
        emergencyStop = true;
    }

    function startContract() public onlyOwner {
        emergencyStop = false;
    }

    function setWhitelistMintPeriod(uint _timePeriod) public onlyOwner {
        whitelistMintPeriod = block.timestamp.add(_timePeriod);
    }


    function transferOwnership(address newOwner)
        public
        virtual
        override
        onlyOwner
    {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        _transferOwnership(newOwner);
    }
}

File 2 of 16 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 5 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

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

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

File 8 of 16 : 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 9 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 16 : 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 11 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 16 : 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 13 of 16 : 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 14 of 16 : 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 15 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

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

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"},{"internalType":"bytes32","name":"_root","type":"bytes32"}],"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":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_tokenPrice","type":"uint256"}],"name":"Mint","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":false,"internalType":"string","name":"_baseExtension","type":"string"}],"name":"SetBaseExtension","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_uri","type":"string"}],"name":"SetBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxAmount","type":"uint256"}],"name":"SetMaxAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"SetMaxSupply","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"airdropAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"airdropMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyStop","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"ownerOfTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicNftMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveMintIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedNftMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"numSlots","type":"uint256[]"}],"name":"setAirdropList","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":"_baseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxAmount","type":"uint256"}],"name":"setMaxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"numSlots","type":"uint256[]"}],"name":"setReserveList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newRoot","type":"bytes32"}],"name":"setRootHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timePeriod","type":"uint256"}],"name":"setWhitelistMintPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopContract","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":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"_level","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMintPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

600c805460ff191690556001600d55611388600e5560c0604052600560808190527f2e6a736f6e00000000000000000000000000000000000000000000000000000060a09081526200005591600f9190620002db565b506011805460ff1916905561012c6013556000601481905560158190556016553480156200008257600080fd5b5060405162003d1c38038062003d1c833981016040819052620000a59162000467565b845185908590620000be906000906020850190620002db565b508051620000d4906001906020840190620002db565b50505062000103620000f46200013e640100000000026401000000009004565b64010000000062000142810204565b6001600b556200011c8364010000000062000194810204565b6200013082640100000000620001fa810204565b601855506200064892505050565b3390565b600a8054600160a060020a03838116600160a060020a0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001a764010000000062000226810204565b8051620001bc906010906020840190620002db565b507f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa6010604051620001ef91906200057f565b60405180910390a150565b6200020d64010000000062000226810204565b805162000222906012906020840190620002db565b5050565b620002396401000000006200013e810204565b600160a060020a031662000255640100000000620002cc810204565b600160a060020a031614620002ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b600a54600160a060020a031690565b828054620002e9906200052a565b90600052602060002090601f0160209004810192826200030d576000855562000358565b82601f106200032857805160ff191683800117855562000358565b8280016001018555821562000358579182015b82811115620003585782518255916020019190600101906200033b565b50620003669291506200036a565b5090565b5b808211156200036657600081556001016200036b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f830112620003c257600080fd5b81516001604060020a0380821115620003df57620003df62000381565b604051601f8301601f19908116603f011681019082821181831017156200040a576200040a62000381565b816040528381526020925086838588010111156200042757600080fd5b600091505b838210156200044b57858201830151818301840152908201906200042c565b838211156200045d5760008385830101525b9695505050505050565b600080600080600060a086880312156200048057600080fd5b85516001604060020a03808211156200049857600080fd5b620004a689838a01620003b0565b96506020880151915080821115620004bd57600080fd5b620004cb89838a01620003b0565b95506040880151915080821115620004e257600080fd5b620004f089838a01620003b0565b945060608801519150808211156200050757600080fd5b506200051688828901620003b0565b925050608086015190509295509295909350565b6002810460018216806200053f57607f821691505b60208210810362000579577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208083526000845481600282049050600180831680620005a357607f831692505b8583108103620005da577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b878601838152602001818015620005fa57600181146200060c5762000639565b60ff1986168252878201965062000639565b60008b81526020902060005b86811015620006335781548482015290850190890162000618565b83019750505b50949998505050505050505050565b6136c480620006586000396000f3fe608060405234801561001057600080fd5b506004361061030e576000357c0100000000000000000000000000000000000000000000000000000000900480635fb02f4d116101ba578063a475b5dd11610106578063e02767e9116100bf578063f2c4ce1e11610099578063f2c4ce1e14610641578063f2fde38b14610654578063f74f9bfd14610667578063fb1954901461067057600080fd5b8063e02767e9146105f4578063e985e9c5146105fc578063ebf0c7171461063857600080fd5b8063a475b5dd1461058d578063b88d4fde14610595578063b8a20ed0146105a8578063bb210fc0146105bb578063c87b56dd146105ce578063da3ef23f146105e157600080fd5b8063715018a6116101735780638da5cb5b1161014d5780638da5cb5b1461055857806395d89b4114610569578063a1bc542714610571578063a22cb4651461057a57600080fd5b8063715018a61461051d578063721909191461052557806389a971b31461054557600080fd5b80635fb02f4d146104c75780636352211e146104cf57806363a599a4146104e25780636f8b44b0146104ef57806370a0823114610502578063714c53981461051557600080fd5b806323b872dd1161027957806342bd20be116102325780634fe47f701161020c5780634fe47f701461048b578063518302271461049e57806355f804b3146104ab57806356b224f2146104be57600080fd5b806342bd20be146104675780634c0f38c2146104705780634f6ccce71461047857600080fd5b806323b872dd146103f55780632d7ac7dd146104085780632d7eae661461041b5780632db115441461042e5780632f745c591461044157806342842e0e1461045457600080fd5b8063095ea7b3116102cb578063095ea7b31461039e5780630a889038146103b35780630ba95909146103ca57806312253a6c146103d25780631342ff4c146103da57806318160ddd146103ed57600080fd5b806301ffc9a714610313578063022503071461033b57806306ca3ab71461035057806306fdde031461037b578063081812fc14610383578063081c8c4414610396575b600080fd5b610326610321366004612c81565b610683565b60405190151581526020015b60405180910390f35b6103436106c7565b6040516103329190612cf6565b61036361035e366004612d09565b610759565b604051600160a060020a039091168152602001610332565b610343610783565b610363610391366004612d09565b610792565b6103436107b9565b6103b16103ac366004612d3e565b610847565b005b6103bc60155481565b604051908152602001610332565b600d546103bc565b6103b1610983565b6103b16103e8366004612d09565b61099a565b6008546103bc565b6103b1610403366004612d68565b610c71565b6103b1610416366004612e7a565b610ca5565b6103b1610429366004612d09565b610d3c565b6103b161043c366004612d09565b610d49565b6103bc61044f366004612d3e565b6110ca565b6103b1610462366004612d68565b611175565b6103bc60165481565b600e546103bc565b6103bc610486366004612d09565b611190565b6103b1610499366004612d09565b611237565b6011546103269060ff1681565b6103b16104b9366004612f8f565b61129e565b6103bc60175481565b6103b16112ea565b6103636104dd366004612d09565b6112fe565b600c546103269060ff1681565b6103b16104fd366004612d09565b611366565b6103bc610510366004612fd8565b6113c6565b610343611463565b6103b1611472565b610538610533366004612fd8565b611486565b6040516103329190612ff3565b6103b1610553366004612e7a565b611528565b600a54600160a060020a0316610363565b6103436115ab565b6103bc60145481565b6103b1610588366004613037565b6115ba565b6103b16115c9565b6103b16105a3366004613073565b6115e0565b6103266105b63660046130ef565b61161b565b6103b16105c9366004612d09565b611631565b6103436105dc366004612d09565b611649565b6103b16105ef366004612f8f565b6117a5565b6103b16117f1565b61032661060a366004613183565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103bc60185481565b6103b161064f366004612f8f565b611a67565b6103b1610662366004612fd8565b611a82565b6103bc60135481565b6103b161067e3660046131b6565b611b15565b6000600160e060020a031982167f780e9d630000000000000000000000000000000000000000000000000000000014806106c157506106c182611ea1565b92915050565b6060600f80546106d690613237565b80601f016020809104026020016040519081016040528092919081815260200182805461070290613237565b801561074f5780601f106107245761010080835404028352916020019161074f565b820191906000526020600020905b81548152906001019060200180831161073257829003601f168201915b5050505050905090565b6019818154811061076957600080fd5b600091825260209091200154600160a060020a0316905081565b6060600080546106d690613237565b600061079d82611f3c565b50600090815260046020526040902054600160a060020a031690565b601280546107c690613237565b80601f01602080910402602001604051908101604052809291908181526020018280546107f290613237565b801561083f5780601f106108145761010080835404028352916020019161083f565b820191906000526020600020905b81548152906001019060200180831161082257829003601f168201915b505050505081565b6000610852826112fe565b905080600160a060020a031683600160a060020a0316036108e35760405160e560020a62461bcd02815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b33600160a060020a03821614806108ff57506108ff813361060a565b6109745760405160e560020a62461bcd02815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016108da565b61097e8383611fa3565b505050565b61098b61201e565b600c805460ff19166001179055565b336000908152601a60205260409020546109f95760405160e560020a62461bcd02815260206004820152601760248201527f4e6f7420612070617274206f6620416c6c6f776c69737400000000000000000060448201526064016108da565b600c5460ff1615610a1f5760405160e560020a62461bcd0281526004016108da90613274565b60008111610a425760405160e560020a62461bcd0281526004016108da906132ab565b6015546101f490610a53908361207b565b1115610aa45760405160e560020a62461bcd02815260206004820152601360248201527f5265736572766564206e6674206d696e7465640000000000000000000000000060448201526064016108da565b336000908152601a6020526040902054811115610b065760405160e560020a62461bcd02815260206004820152601360248201527f4578636565646564206d617820616d6f756e740000000000000000000000000060448201526064016108da565b6000610b1160085490565b600e54909150610b2182846132fb565b1115610b425760405160e560020a62461bcd0281526004016108da90613313565b336000908152601a6020526040902054610b5c9083612087565b336000908152601a6020526040902055601554610b79908361207b565b60155560015b828111610c425760145461012c90610b9890600161207b565b118015610bb55750601454610bb890610bb290600161207b565b11155b15610bc557610bb8601455610c00565b601454610c1c90610bd790600161207b565b118015610bf45750601454610fa090610bf190600161207b565b11155b15610c0057610fa06014555b610c1f33610c1a600160145461207b90919063ffffffff16565b612093565b601454610c2d90600161207b565b60145580610c3a8161334a565b915050610b7f565b5060008051602061366f83398151915233836000604051610c6593929190613363565b60405180910390a15050565b610c7b33826120ad565b610c9a5760405160e560020a62461bcd0281526004016108da90613384565b61097e83838361212c565b610cad61201e565b60005b8251811015610d2857818181518110610ccb57610ccb6133e1565b6020026020010151601b6000858481518110610ce957610ce96133e1565b6020026020010151600160a060020a0316600160a060020a03168152602001908152602001600020819055508080610d209061334a565b915050610cb0565b50815161097e906019906020850190612b70565b610d4461201e565b601855565b6002600b5403610d9e5760405160e560020a62461bcd02815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108da565b6002600b556017544211610df75760405160e560020a62461bcd02815260206004820152601760248201527f7075626c6963206d696e74206e6f74207374617274656400000000000000000060448201526064016108da565b600c5460ff1615610e1d5760405160e560020a62461bcd0281526004016108da90613274565b60008111610e405760405160e560020a62461bcd0281526004016108da906132ab565b6000610e4b60085490565b9050611194610e5a838361207b565b1115610e7b5760405160e560020a62461bcd0281526004016108da90613313565b600a54600160a060020a03163314610f9c57336000908152601c602052604090205460011015610ef05760405160e560020a62461bcd02815260206004820152600e60248201527f4c696d697420457863656564656400000000000000000000000000000000000060448201526064016108da565b600d54821115610f455760405160e560020a62461bcd02815260206004820152601360248201527f4578636565646564206d617820616d6f756e740000000000000000000000000060448201526064016108da565b6103e86016541115610f9c5760405160e560020a62461bcd02815260206004820152601160248201527f5075626c6963206e6674204d696e74656400000000000000000000000000000060448201526064016108da565b336000908152601c6020526040902054610fb6908361207b565b336000908152601c6020526040902055601654610fd3908361207b565b60165560015b82811161109657601354610bb890610ff290600161207b565b11801561100e5750601354610c1c9061100c90600161207b565b105b806110425750601354610fa09061102690600161207b565b11801561104257506013546110049061104090600161207b565b105b156110595760135461105590606461207b565b6013555b61107333610c1a600160135461207b90919063ffffffff16565b60135461108190600161207b565b6013558061108e8161334a565b915050610fd9565b5060008051602061366f833981519152338360006040516110b993929190613363565b60405180910390a150506001600b55565b60006110d5836113c6565b821061114c5760405160e560020a62461bcd02815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016108da565b50600160a060020a03919091166000908152600660209081526040808320938352929052205490565b61097e838383604051806020016040528060008152506115e0565b600061119b60085490565b82106112125760405160e560020a62461bcd02815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016108da565b60088281548110611225576112256133e1565b90600052602060002001549050919050565b61123f61201e565b600081116112625760405160e560020a62461bcd0281526004016108da906132ab565b600d8190556040518181527fe49b18fe24eb0f323a42b5d7c70de83440fe7b490823bd47bf1a891f92d7a03c906020015b60405180910390a150565b6112a661201e565b80516112b9906010906020840190612be2565b507f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa601060405161129391906133fa565b6112f261201e565b600c805460ff19169055565b600081815260026020526040812054600160a060020a0316806106c15760405160e560020a62461bcd02815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016108da565b61136e61201e565b600081116113915760405160e560020a62461bcd0281526004016108da906132ab565b600e8190556040518181527f3f8118fc46e72ecde0c5e090803cad8c88e817b2f1e93e820aa9bfbf51f2468d90602001611293565b6000600160a060020a0382166114475760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e6572000000000000000000000000000000000000000000000060648201526084016108da565b50600160a060020a031660009081526003602052604090205490565b6060601080546106d690613237565b61147a61201e565b6114846000612317565b565b60606000611493836113c6565b905060008167ffffffffffffffff8111156114b0576114b0612da4565b6040519080825280602002602001820160405280156114d9578160200160208202803683370190505b50905060005b82811015611520576114f185826110ca565b828281518110611503576115036133e1565b6020908102919091010152806115188161334a565b9150506114df565b509392505050565b61153061201e565b60005b825181101561097e5781818151811061154e5761154e6133e1565b6020026020010151601a600085848151811061156c5761156c6133e1565b6020026020010151600160a060020a0316600160a060020a031681526020019081526020016000208190555080806115a39061334a565b915050611533565b6060600180546106d690613237565b6115c5338383612376565b5050565b6115d161201e565b6011805460ff19166001179055565b6115ea33836120ad565b6116095760405160e560020a62461bcd0281526004016108da90613384565b61161584848484612447565b50505050565b600061162a836018548461247d565b9392505050565b61163961201e565b611643428261207b565b60175550565b600081815260026020526040902054606090600160a060020a03166116d95760405160e560020a62461bcd02815260206004820152602160248201527f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b6560448201527f6e0000000000000000000000000000000000000000000000000000000000000060648201526084016108da565b60115460ff161515600003611747576000601280546116f790613237565b90501161171357604051806020016040528060008152506106c1565b601261171e83612493565b600f604051602001611732939291906134ee565b60405160208183030381529060405292915050565b6000611751611463565b90506000815111611771576040518060200160405280600081525061162a565b8061177b84612493565b600f60405160200161178f93929190613521565b6040516020818303038152906040529392505050565b6117ad61201e565b80516117c090600f906020840190612be2565b507f6071cea616670de4a34e13317fcf628a1c6aeca1a57223fbdb7acd0caff98f20600f60405161129391906133fa565b6117f961201e565b600c5460ff161561181f5760405160e560020a62461bcd0281526004016108da90613274565b600061182a60085490565b905060005b6019548110156115c55761119461188283601b600060198681548110611857576118576133e1565b6000918252602080832090910154600160a060020a031683528201929092526040019020549061207b565b11156118a35760405160e560020a62461bcd0281526004016108da90613313565b60005b601b6000601984815481106118bd576118bd6133e1565b6000918252602080832090910154600160a060020a031683528201929092526040019020548110156119c157601354610bb8906118fb90600161207b565b1180156119175750601354610c1c9061191590600161207b565b105b8061194b5750601354610fa09061192f90600161207b565b11801561194b57506013546110049061194990600161207b565b105b156119625760135461195e90606461207b565b6013555b61199e60198381548110611978576119786133e1565b600091825260209091200154601354600160a060020a0390911690610c1a90600161207b565b6013546119ac90600161207b565b601355806119b98161334a565b9150506118a6565b5060008051602061366f833981519152601982815481106119e4576119e46133e1565b9060005260206000200160009054906101000a9004600160a060020a0316601b600060198581548110611a1957611a196133e1565b6000918252602080832090910154600160a060020a0316835282019290925260409081018220549051611a4d939290613363565b60405180910390a180611a5f8161334a565b91505061182f565b611a6f61201e565b80516115c5906012906020840190612be2565b611a8a61201e565b600160a060020a038116611b095760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108da565b611b1281612317565b50565b6002600b5403611b6a5760405160e560020a62461bcd02815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108da565b6002600b55601754421115611bc45760405160e560020a62461bcd02815260206004820152601360248201527f4d696e74696e6720706572696f64206f7665720000000000000000000000000060448201526064016108da565b60008111611be75760405160e560020a62461bcd0281526004016108da906132ab565b600c5460ff1615611c0d5760405160e560020a62461bcd0281526004016108da90613274565b336000908152601d60205260409020548290611c29908361207b565b1115611c7a5760405160e560020a62461bcd02815260206004820152600e60248201527f4c696d697420457863656564656400000000000000000000000000000000000060448201526064016108da565b6040516c010000000000000000000000003302602082015260348101839052600090605401604051602081830303815290604052805190602001209050611cf585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525085925061161b915050565b611d445760405160e560020a62461bcd02815260206004820152600d60248201527f496e76616c69642050726f6f660000000000000000000000000000000000000060448201526064016108da565b6000611d4f60085490565b9050611194611d5e848361207b565b1115611d7f5760405160e560020a62461bcd0281526004016108da90613313565b336000908152601d6020526040902054611d99908461207b565b336000908152601d602052604090205560015b838111611e6957601354610bb890611dc590600161207b565b118015611de15750601354610c1c90611ddf90600161207b565b105b80611e155750601354610fa090611df990600161207b565b118015611e15575060135461100490611e1390600161207b565b105b15611e2c57601354611e2890606461207b565b6013555b611e4633610c1a600160135461207b90919063ffffffff16565b601354611e5490600161207b565b60135580611e618161334a565b915050611dac565b5060008051602061366f83398151915233846000604051611e8c93929190613363565b60405180910390a150506001600b5550505050565b6000600160e060020a031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611f045750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806106c157507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a03198316146106c1565b600081815260026020526040902054600160a060020a0316611b125760405160e560020a62461bcd02815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016108da565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384169081179091558190611fe5826112fe565b600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600a54600160a060020a031633146114845760405160e560020a62461bcd02815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108da565b600061162a82846132fb565b600061162a8284613547565b6115c58282604051806020016040528060008152506125e7565b6000806120b9836112fe565b905080600160a060020a031684600160a060020a031614806121005750600160a060020a0380821660009081526005602090815260408083209388168352929052205460ff165b80612124575083600160a060020a031661211984610792565b600160a060020a0316145b949350505050565b82600160a060020a031661213f826112fe565b600160a060020a0316146121be5760405160e560020a62461bcd02815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016108da565b600160a060020a03821661223c5760405160e560020a62461bcd028152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108da565b61224783838361261d565b612252600082611fa3565b600160a060020a038316600090815260036020526040812080546001929061227b908490613547565b9091555050600160a060020a03821660009081526003602052604081208054600192906122a99084906132fb565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a8054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b81600160a060020a031683600160a060020a0316036123da5760405160e560020a62461bcd02815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108da565b600160a060020a03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61245284848461212c565b61245e848484846126d5565b6116155760405160e560020a62461bcd0281526004016108da9061355e565b60008261248a858461280b565b14949350505050565b6060816000036124d657505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561250057806124ea8161334a565b91506124f99050600a836135d4565b91506124da565b60008167ffffffffffffffff81111561251b5761251b612da4565b6040519080825280601f01601f191660200182016040528015612545576020820181803683370190505b5090505b84156121245761255a600183613547565b9150612567600a866135e8565b6125729060306132fb565b7f0100000000000000000000000000000000000000000000000000000000000000028183815181106125a6576125a66133e1565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506125e0600a866135d4565b9450612549565b6125f18383612850565b6125fe60008484846126d5565b61097e5760405160e560020a62461bcd0281526004016108da9061355e565b600160a060020a0383166126785761267381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61269b565b81600160a060020a031683600160a060020a03161461269b5761269b83826129b1565b600160a060020a0382166126b25761097e81612a4e565b82600160a060020a031682600160a060020a03161461097e5761097e8282612afd565b6000600160a060020a0384163b15612800576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a02906127329033908990889088906004016135fc565b6020604051808303816000875af192505050801561276d575060408051601f3d908101601f1916820190925261276a91810190613638565b60015b6127cd573d80801561279b576040519150601f19603f3d011682016040523d82523d6000602084013e6127a0565b606091505b5080516000036127c55760405160e560020a62461bcd0281526004016108da9061355e565b805181602001fd5b600160e060020a0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050612124565b506001949350505050565b600081815b84518110156115205761283c8286838151811061282f5761282f6133e1565b6020026020010151612b41565b9150806128488161334a565b915050612810565b600160a060020a0382166128a95760405160e560020a62461bcd02815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108da565b600081815260026020526040902054600160a060020a0316156129115760405160e560020a62461bcd02815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108da565b61291d6000838361261d565b600160a060020a03821660009081526003602052604081208054600192906129469084906132fb565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060016129be846113c6565b6129c89190613547565b600083815260076020526040902054909150808214612a1b57600160a060020a03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b506000918252600760209081526040808420849055600160a060020a039094168352600681528383209183525290812055565b600854600090612a6090600190613547565b60008381526009602052604081205460088054939450909284908110612a8857612a886133e1565b906000526020600020015490508060088381548110612aa957612aa96133e1565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612ae157612ae1613655565b6001900381819060005260206000200160009055905550505050565b6000612b08836113c6565b600160a060020a039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6000818310612b5d57600082815260208490526040902061162a565b600083815260208390526040902061162a565b828054828255906000526020600020908101928215612bd2579160200282015b82811115612bd2578251825473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909116178255602090920191600190910190612b90565b50612bde929150612c56565b5090565b828054612bee90613237565b90600052602060002090601f016020900481019282612c105760008555612bd2565b82601f10612c2957805160ff1916838001178555612bd2565b82800160010185558215612bd2579182015b82811115612bd2578251825591602001919060010190612c3b565b5b80821115612bde5760008155600101612c57565b600160e060020a031981168114611b1257600080fd5b600060208284031215612c9357600080fd5b813561162a81612c6b565b60005b83811015612cb9578181015183820152602001612ca1565b838111156116155750506000910152565b60008151808452612ce2816020860160208601612c9e565b601f01601f19169290920160200192915050565b60208152600061162a6020830184612cca565b600060208284031215612d1b57600080fd5b5035919050565b8035600160a060020a0381168114612d3957600080fd5b919050565b60008060408385031215612d5157600080fd5b612d5a83612d22565b946020939093013593505050565b600080600060608486031215612d7d57600080fd5b612d8684612d22565b9250612d9460208501612d22565b9150604084013590509250925092565b60e060020a634e487b7102600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612de657612de6612da4565b604052919050565b600067ffffffffffffffff821115612e0857612e08612da4565b5060209081020190565b600082601f830112612e2357600080fd5b81356020612e38612e3383612dee565b612dbd565b82815291810284018101918181019086841115612e5457600080fd5b8286015b84811015612e6f5780358352918301918301612e58565b509695505050505050565b60008060408385031215612e8d57600080fd5b823567ffffffffffffffff80821115612ea557600080fd5b818501915085601f830112612eb957600080fd5b81356020612ec9612e3383612dee565b82815291810284018101918181019089841115612ee557600080fd5b948201945b83861015612f0a57612efb86612d22565b82529482019490820190612eea565b96505086013592505080821115612f2057600080fd5b50612f2d85828601612e12565b9150509250929050565b600067ffffffffffffffff831115612f5157612f51612da4565b612f64601f8401601f1916602001612dbd565b9050828152838383011115612f7857600080fd5b828260208301376000602084830101529392505050565b600060208284031215612fa157600080fd5b813567ffffffffffffffff811115612fb857600080fd5b8201601f81018413612fc957600080fd5b61212484823560208401612f37565b600060208284031215612fea57600080fd5b61162a82612d22565b6020808252825182820181905260009190848201906040850190845b8181101561302b5783518352928401929184019160010161300f565b50909695505050505050565b6000806040838503121561304a57600080fd5b61305383612d22565b91506020830135801515811461306857600080fd5b809150509250929050565b6000806000806080858703121561308957600080fd5b61309285612d22565b93506130a060208601612d22565b925060408501359150606085013567ffffffffffffffff8111156130c357600080fd5b8501601f810187136130d457600080fd5b6130e387823560208401612f37565b91505092959194509250565b6000806040838503121561310257600080fd5b823567ffffffffffffffff81111561311957600080fd5b8301601f8101851361312a57600080fd5b8035602061313a612e3383612dee565b8281529181028301810191818101908884111561315657600080fd5b938201935b838510156131745784358252938201939082019061315b565b98969091013596505050505050565b6000806040838503121561319657600080fd5b61319f83612d22565b91506131ad60208401612d22565b90509250929050565b600080600080606085870312156131cc57600080fd5b843567ffffffffffffffff808211156131e457600080fd5b818701915087601f8301126131f857600080fd5b81358181111561320757600080fd5b886020808302850101111561321b57600080fd5b6020928301999098509187013596604001359550909350505050565b60028104600182168061324b57607f821691505b60208210810361326e5760e060020a634e487b7102600052602260045260246000fd5b50919050565b60208082526012908201527f436f6e7472616374206973207061757365640000000000000000000000000000604082015260600190565b60208082526011908201527f56616c7565206c657373207468616e2030000000000000000000000000000000604082015260600190565b60e060020a634e487b7102600052601160045260246000fd5b6000821982111561330e5761330e6132e2565b500190565b60208082526013908201527f4578636565646564206d617820737570706c7900000000000000000000000000604082015260600190565b60006001820161335c5761335c6132e2565b5060010190565b600160a060020a039390931683526020830191909152604082015260600190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201527f72206e6f7220617070726f766564000000000000000000000000000000000000606082015260800190565b60e060020a634e487b7102600052603260045260246000fd5b600060208083526000845461340e81613237565b8084870152604060018084166000811461342f576001811461344357613471565b60ff19851689840152606089019550613471565b896000528660002060005b858110156134695781548b820186015290830190880161344e565b8a0184019650505b509398975050505050505050565b6000815461348c81613237565b600182811680156134a457600181146134b5576134e4565b60ff198416875282870194506134e4565b8560005260208060002060005b858110156134db5781548a8201529084019082016134c2565b50505082870194505b5050505092915050565b60006134fa828661347f565b845161350a818360208901612c9e565b6135168183018661347f565b979650505050505050565b60008451613533818460208901612c9e565b84519083019061350a818360208901612c9e565b600082821015613559576135596132e2565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b60e060020a634e487b7102600052601260045260246000fd5b6000826135e3576135e36135bb565b500490565b6000826135f7576135f76135bb565b500690565b6000600160a060020a0380871683528086166020840152508360408301526080606083015261362e6080830184612cca565b9695505050505050565b60006020828403121561364a57600080fd5b815161162a81612c6b565b60e060020a634e487b7102600052603160045260246000fdfe4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4fa2646970667358221220173cf4eb0b7cbebffcf345d33fafa8a85c1bbb8c0ad89cf68170ee5970ae00ae64736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180818ea5d92f6fdf7ed4270a64c30eba276d15cf5d464fbed926b0cfec69d72ca600000000000000000000000000000000000000000000000000000000000000084e656b6f4e656b6f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e6b4e6b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d646b654837723651707633514c31343732646b6b75554c466d665372514e7a4e6655335531324462483370732f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d655233437a764e427542633136616646393232567639324a727877483964626b3334785541537a73684d59562f00000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061030e576000357c0100000000000000000000000000000000000000000000000000000000900480635fb02f4d116101ba578063a475b5dd11610106578063e02767e9116100bf578063f2c4ce1e11610099578063f2c4ce1e14610641578063f2fde38b14610654578063f74f9bfd14610667578063fb1954901461067057600080fd5b8063e02767e9146105f4578063e985e9c5146105fc578063ebf0c7171461063857600080fd5b8063a475b5dd1461058d578063b88d4fde14610595578063b8a20ed0146105a8578063bb210fc0146105bb578063c87b56dd146105ce578063da3ef23f146105e157600080fd5b8063715018a6116101735780638da5cb5b1161014d5780638da5cb5b1461055857806395d89b4114610569578063a1bc542714610571578063a22cb4651461057a57600080fd5b8063715018a61461051d578063721909191461052557806389a971b31461054557600080fd5b80635fb02f4d146104c75780636352211e146104cf57806363a599a4146104e25780636f8b44b0146104ef57806370a0823114610502578063714c53981461051557600080fd5b806323b872dd1161027957806342bd20be116102325780634fe47f701161020c5780634fe47f701461048b578063518302271461049e57806355f804b3146104ab57806356b224f2146104be57600080fd5b806342bd20be146104675780634c0f38c2146104705780634f6ccce71461047857600080fd5b806323b872dd146103f55780632d7ac7dd146104085780632d7eae661461041b5780632db115441461042e5780632f745c591461044157806342842e0e1461045457600080fd5b8063095ea7b3116102cb578063095ea7b31461039e5780630a889038146103b35780630ba95909146103ca57806312253a6c146103d25780631342ff4c146103da57806318160ddd146103ed57600080fd5b806301ffc9a714610313578063022503071461033b57806306ca3ab71461035057806306fdde031461037b578063081812fc14610383578063081c8c4414610396575b600080fd5b610326610321366004612c81565b610683565b60405190151581526020015b60405180910390f35b6103436106c7565b6040516103329190612cf6565b61036361035e366004612d09565b610759565b604051600160a060020a039091168152602001610332565b610343610783565b610363610391366004612d09565b610792565b6103436107b9565b6103b16103ac366004612d3e565b610847565b005b6103bc60155481565b604051908152602001610332565b600d546103bc565b6103b1610983565b6103b16103e8366004612d09565b61099a565b6008546103bc565b6103b1610403366004612d68565b610c71565b6103b1610416366004612e7a565b610ca5565b6103b1610429366004612d09565b610d3c565b6103b161043c366004612d09565b610d49565b6103bc61044f366004612d3e565b6110ca565b6103b1610462366004612d68565b611175565b6103bc60165481565b600e546103bc565b6103bc610486366004612d09565b611190565b6103b1610499366004612d09565b611237565b6011546103269060ff1681565b6103b16104b9366004612f8f565b61129e565b6103bc60175481565b6103b16112ea565b6103636104dd366004612d09565b6112fe565b600c546103269060ff1681565b6103b16104fd366004612d09565b611366565b6103bc610510366004612fd8565b6113c6565b610343611463565b6103b1611472565b610538610533366004612fd8565b611486565b6040516103329190612ff3565b6103b1610553366004612e7a565b611528565b600a54600160a060020a0316610363565b6103436115ab565b6103bc60145481565b6103b1610588366004613037565b6115ba565b6103b16115c9565b6103b16105a3366004613073565b6115e0565b6103266105b63660046130ef565b61161b565b6103b16105c9366004612d09565b611631565b6103436105dc366004612d09565b611649565b6103b16105ef366004612f8f565b6117a5565b6103b16117f1565b61032661060a366004613183565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103bc60185481565b6103b161064f366004612f8f565b611a67565b6103b1610662366004612fd8565b611a82565b6103bc60135481565b6103b161067e3660046131b6565b611b15565b6000600160e060020a031982167f780e9d630000000000000000000000000000000000000000000000000000000014806106c157506106c182611ea1565b92915050565b6060600f80546106d690613237565b80601f016020809104026020016040519081016040528092919081815260200182805461070290613237565b801561074f5780601f106107245761010080835404028352916020019161074f565b820191906000526020600020905b81548152906001019060200180831161073257829003601f168201915b5050505050905090565b6019818154811061076957600080fd5b600091825260209091200154600160a060020a0316905081565b6060600080546106d690613237565b600061079d82611f3c565b50600090815260046020526040902054600160a060020a031690565b601280546107c690613237565b80601f01602080910402602001604051908101604052809291908181526020018280546107f290613237565b801561083f5780601f106108145761010080835404028352916020019161083f565b820191906000526020600020905b81548152906001019060200180831161082257829003601f168201915b505050505081565b6000610852826112fe565b905080600160a060020a031683600160a060020a0316036108e35760405160e560020a62461bcd02815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b33600160a060020a03821614806108ff57506108ff813361060a565b6109745760405160e560020a62461bcd02815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016108da565b61097e8383611fa3565b505050565b61098b61201e565b600c805460ff19166001179055565b336000908152601a60205260409020546109f95760405160e560020a62461bcd02815260206004820152601760248201527f4e6f7420612070617274206f6620416c6c6f776c69737400000000000000000060448201526064016108da565b600c5460ff1615610a1f5760405160e560020a62461bcd0281526004016108da90613274565b60008111610a425760405160e560020a62461bcd0281526004016108da906132ab565b6015546101f490610a53908361207b565b1115610aa45760405160e560020a62461bcd02815260206004820152601360248201527f5265736572766564206e6674206d696e7465640000000000000000000000000060448201526064016108da565b336000908152601a6020526040902054811115610b065760405160e560020a62461bcd02815260206004820152601360248201527f4578636565646564206d617820616d6f756e740000000000000000000000000060448201526064016108da565b6000610b1160085490565b600e54909150610b2182846132fb565b1115610b425760405160e560020a62461bcd0281526004016108da90613313565b336000908152601a6020526040902054610b5c9083612087565b336000908152601a6020526040902055601554610b79908361207b565b60155560015b828111610c425760145461012c90610b9890600161207b565b118015610bb55750601454610bb890610bb290600161207b565b11155b15610bc557610bb8601455610c00565b601454610c1c90610bd790600161207b565b118015610bf45750601454610fa090610bf190600161207b565b11155b15610c0057610fa06014555b610c1f33610c1a600160145461207b90919063ffffffff16565b612093565b601454610c2d90600161207b565b60145580610c3a8161334a565b915050610b7f565b5060008051602061366f83398151915233836000604051610c6593929190613363565b60405180910390a15050565b610c7b33826120ad565b610c9a5760405160e560020a62461bcd0281526004016108da90613384565b61097e83838361212c565b610cad61201e565b60005b8251811015610d2857818181518110610ccb57610ccb6133e1565b6020026020010151601b6000858481518110610ce957610ce96133e1565b6020026020010151600160a060020a0316600160a060020a03168152602001908152602001600020819055508080610d209061334a565b915050610cb0565b50815161097e906019906020850190612b70565b610d4461201e565b601855565b6002600b5403610d9e5760405160e560020a62461bcd02815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108da565b6002600b556017544211610df75760405160e560020a62461bcd02815260206004820152601760248201527f7075626c6963206d696e74206e6f74207374617274656400000000000000000060448201526064016108da565b600c5460ff1615610e1d5760405160e560020a62461bcd0281526004016108da90613274565b60008111610e405760405160e560020a62461bcd0281526004016108da906132ab565b6000610e4b60085490565b9050611194610e5a838361207b565b1115610e7b5760405160e560020a62461bcd0281526004016108da90613313565b600a54600160a060020a03163314610f9c57336000908152601c602052604090205460011015610ef05760405160e560020a62461bcd02815260206004820152600e60248201527f4c696d697420457863656564656400000000000000000000000000000000000060448201526064016108da565b600d54821115610f455760405160e560020a62461bcd02815260206004820152601360248201527f4578636565646564206d617820616d6f756e740000000000000000000000000060448201526064016108da565b6103e86016541115610f9c5760405160e560020a62461bcd02815260206004820152601160248201527f5075626c6963206e6674204d696e74656400000000000000000000000000000060448201526064016108da565b336000908152601c6020526040902054610fb6908361207b565b336000908152601c6020526040902055601654610fd3908361207b565b60165560015b82811161109657601354610bb890610ff290600161207b565b11801561100e5750601354610c1c9061100c90600161207b565b105b806110425750601354610fa09061102690600161207b565b11801561104257506013546110049061104090600161207b565b105b156110595760135461105590606461207b565b6013555b61107333610c1a600160135461207b90919063ffffffff16565b60135461108190600161207b565b6013558061108e8161334a565b915050610fd9565b5060008051602061366f833981519152338360006040516110b993929190613363565b60405180910390a150506001600b55565b60006110d5836113c6565b821061114c5760405160e560020a62461bcd02815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016108da565b50600160a060020a03919091166000908152600660209081526040808320938352929052205490565b61097e838383604051806020016040528060008152506115e0565b600061119b60085490565b82106112125760405160e560020a62461bcd02815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016108da565b60088281548110611225576112256133e1565b90600052602060002001549050919050565b61123f61201e565b600081116112625760405160e560020a62461bcd0281526004016108da906132ab565b600d8190556040518181527fe49b18fe24eb0f323a42b5d7c70de83440fe7b490823bd47bf1a891f92d7a03c906020015b60405180910390a150565b6112a661201e565b80516112b9906010906020840190612be2565b507f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa601060405161129391906133fa565b6112f261201e565b600c805460ff19169055565b600081815260026020526040812054600160a060020a0316806106c15760405160e560020a62461bcd02815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016108da565b61136e61201e565b600081116113915760405160e560020a62461bcd0281526004016108da906132ab565b600e8190556040518181527f3f8118fc46e72ecde0c5e090803cad8c88e817b2f1e93e820aa9bfbf51f2468d90602001611293565b6000600160a060020a0382166114475760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e6572000000000000000000000000000000000000000000000060648201526084016108da565b50600160a060020a031660009081526003602052604090205490565b6060601080546106d690613237565b61147a61201e565b6114846000612317565b565b60606000611493836113c6565b905060008167ffffffffffffffff8111156114b0576114b0612da4565b6040519080825280602002602001820160405280156114d9578160200160208202803683370190505b50905060005b82811015611520576114f185826110ca565b828281518110611503576115036133e1565b6020908102919091010152806115188161334a565b9150506114df565b509392505050565b61153061201e565b60005b825181101561097e5781818151811061154e5761154e6133e1565b6020026020010151601a600085848151811061156c5761156c6133e1565b6020026020010151600160a060020a0316600160a060020a031681526020019081526020016000208190555080806115a39061334a565b915050611533565b6060600180546106d690613237565b6115c5338383612376565b5050565b6115d161201e565b6011805460ff19166001179055565b6115ea33836120ad565b6116095760405160e560020a62461bcd0281526004016108da90613384565b61161584848484612447565b50505050565b600061162a836018548461247d565b9392505050565b61163961201e565b611643428261207b565b60175550565b600081815260026020526040902054606090600160a060020a03166116d95760405160e560020a62461bcd02815260206004820152602160248201527f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b6560448201527f6e0000000000000000000000000000000000000000000000000000000000000060648201526084016108da565b60115460ff161515600003611747576000601280546116f790613237565b90501161171357604051806020016040528060008152506106c1565b601261171e83612493565b600f604051602001611732939291906134ee565b60405160208183030381529060405292915050565b6000611751611463565b90506000815111611771576040518060200160405280600081525061162a565b8061177b84612493565b600f60405160200161178f93929190613521565b6040516020818303038152906040529392505050565b6117ad61201e565b80516117c090600f906020840190612be2565b507f6071cea616670de4a34e13317fcf628a1c6aeca1a57223fbdb7acd0caff98f20600f60405161129391906133fa565b6117f961201e565b600c5460ff161561181f5760405160e560020a62461bcd0281526004016108da90613274565b600061182a60085490565b905060005b6019548110156115c55761119461188283601b600060198681548110611857576118576133e1565b6000918252602080832090910154600160a060020a031683528201929092526040019020549061207b565b11156118a35760405160e560020a62461bcd0281526004016108da90613313565b60005b601b6000601984815481106118bd576118bd6133e1565b6000918252602080832090910154600160a060020a031683528201929092526040019020548110156119c157601354610bb8906118fb90600161207b565b1180156119175750601354610c1c9061191590600161207b565b105b8061194b5750601354610fa09061192f90600161207b565b11801561194b57506013546110049061194990600161207b565b105b156119625760135461195e90606461207b565b6013555b61199e60198381548110611978576119786133e1565b600091825260209091200154601354600160a060020a0390911690610c1a90600161207b565b6013546119ac90600161207b565b601355806119b98161334a565b9150506118a6565b5060008051602061366f833981519152601982815481106119e4576119e46133e1565b9060005260206000200160009054906101000a9004600160a060020a0316601b600060198581548110611a1957611a196133e1565b6000918252602080832090910154600160a060020a0316835282019290925260409081018220549051611a4d939290613363565b60405180910390a180611a5f8161334a565b91505061182f565b611a6f61201e565b80516115c5906012906020840190612be2565b611a8a61201e565b600160a060020a038116611b095760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108da565b611b1281612317565b50565b6002600b5403611b6a5760405160e560020a62461bcd02815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108da565b6002600b55601754421115611bc45760405160e560020a62461bcd02815260206004820152601360248201527f4d696e74696e6720706572696f64206f7665720000000000000000000000000060448201526064016108da565b60008111611be75760405160e560020a62461bcd0281526004016108da906132ab565b600c5460ff1615611c0d5760405160e560020a62461bcd0281526004016108da90613274565b336000908152601d60205260409020548290611c29908361207b565b1115611c7a5760405160e560020a62461bcd02815260206004820152600e60248201527f4c696d697420457863656564656400000000000000000000000000000000000060448201526064016108da565b6040516c010000000000000000000000003302602082015260348101839052600090605401604051602081830303815290604052805190602001209050611cf585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525085925061161b915050565b611d445760405160e560020a62461bcd02815260206004820152600d60248201527f496e76616c69642050726f6f660000000000000000000000000000000000000060448201526064016108da565b6000611d4f60085490565b9050611194611d5e848361207b565b1115611d7f5760405160e560020a62461bcd0281526004016108da90613313565b336000908152601d6020526040902054611d99908461207b565b336000908152601d602052604090205560015b838111611e6957601354610bb890611dc590600161207b565b118015611de15750601354610c1c90611ddf90600161207b565b105b80611e155750601354610fa090611df990600161207b565b118015611e15575060135461100490611e1390600161207b565b105b15611e2c57601354611e2890606461207b565b6013555b611e4633610c1a600160135461207b90919063ffffffff16565b601354611e5490600161207b565b60135580611e618161334a565b915050611dac565b5060008051602061366f83398151915233846000604051611e8c93929190613363565b60405180910390a150506001600b5550505050565b6000600160e060020a031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611f045750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806106c157507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a03198316146106c1565b600081815260026020526040902054600160a060020a0316611b125760405160e560020a62461bcd02815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016108da565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384169081179091558190611fe5826112fe565b600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600a54600160a060020a031633146114845760405160e560020a62461bcd02815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108da565b600061162a82846132fb565b600061162a8284613547565b6115c58282604051806020016040528060008152506125e7565b6000806120b9836112fe565b905080600160a060020a031684600160a060020a031614806121005750600160a060020a0380821660009081526005602090815260408083209388168352929052205460ff165b80612124575083600160a060020a031661211984610792565b600160a060020a0316145b949350505050565b82600160a060020a031661213f826112fe565b600160a060020a0316146121be5760405160e560020a62461bcd02815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016108da565b600160a060020a03821661223c5760405160e560020a62461bcd028152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108da565b61224783838361261d565b612252600082611fa3565b600160a060020a038316600090815260036020526040812080546001929061227b908490613547565b9091555050600160a060020a03821660009081526003602052604081208054600192906122a99084906132fb565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a8054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b81600160a060020a031683600160a060020a0316036123da5760405160e560020a62461bcd02815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108da565b600160a060020a03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61245284848461212c565b61245e848484846126d5565b6116155760405160e560020a62461bcd0281526004016108da9061355e565b60008261248a858461280b565b14949350505050565b6060816000036124d657505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561250057806124ea8161334a565b91506124f99050600a836135d4565b91506124da565b60008167ffffffffffffffff81111561251b5761251b612da4565b6040519080825280601f01601f191660200182016040528015612545576020820181803683370190505b5090505b84156121245761255a600183613547565b9150612567600a866135e8565b6125729060306132fb565b7f0100000000000000000000000000000000000000000000000000000000000000028183815181106125a6576125a66133e1565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506125e0600a866135d4565b9450612549565b6125f18383612850565b6125fe60008484846126d5565b61097e5760405160e560020a62461bcd0281526004016108da9061355e565b600160a060020a0383166126785761267381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61269b565b81600160a060020a031683600160a060020a03161461269b5761269b83826129b1565b600160a060020a0382166126b25761097e81612a4e565b82600160a060020a031682600160a060020a03161461097e5761097e8282612afd565b6000600160a060020a0384163b15612800576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a02906127329033908990889088906004016135fc565b6020604051808303816000875af192505050801561276d575060408051601f3d908101601f1916820190925261276a91810190613638565b60015b6127cd573d80801561279b576040519150601f19603f3d011682016040523d82523d6000602084013e6127a0565b606091505b5080516000036127c55760405160e560020a62461bcd0281526004016108da9061355e565b805181602001fd5b600160e060020a0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050612124565b506001949350505050565b600081815b84518110156115205761283c8286838151811061282f5761282f6133e1565b6020026020010151612b41565b9150806128488161334a565b915050612810565b600160a060020a0382166128a95760405160e560020a62461bcd02815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108da565b600081815260026020526040902054600160a060020a0316156129115760405160e560020a62461bcd02815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108da565b61291d6000838361261d565b600160a060020a03821660009081526003602052604081208054600192906129469084906132fb565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060016129be846113c6565b6129c89190613547565b600083815260076020526040902054909150808214612a1b57600160a060020a03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b506000918252600760209081526040808420849055600160a060020a039094168352600681528383209183525290812055565b600854600090612a6090600190613547565b60008381526009602052604081205460088054939450909284908110612a8857612a886133e1565b906000526020600020015490508060088381548110612aa957612aa96133e1565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612ae157612ae1613655565b6001900381819060005260206000200160009055905550505050565b6000612b08836113c6565b600160a060020a039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6000818310612b5d57600082815260208490526040902061162a565b600083815260208390526040902061162a565b828054828255906000526020600020908101928215612bd2579160200282015b82811115612bd2578251825473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909116178255602090920191600190910190612b90565b50612bde929150612c56565b5090565b828054612bee90613237565b90600052602060002090601f016020900481019282612c105760008555612bd2565b82601f10612c2957805160ff1916838001178555612bd2565b82800160010185558215612bd2579182015b82811115612bd2578251825591602001919060010190612c3b565b5b80821115612bde5760008155600101612c57565b600160e060020a031981168114611b1257600080fd5b600060208284031215612c9357600080fd5b813561162a81612c6b565b60005b83811015612cb9578181015183820152602001612ca1565b838111156116155750506000910152565b60008151808452612ce2816020860160208601612c9e565b601f01601f19169290920160200192915050565b60208152600061162a6020830184612cca565b600060208284031215612d1b57600080fd5b5035919050565b8035600160a060020a0381168114612d3957600080fd5b919050565b60008060408385031215612d5157600080fd5b612d5a83612d22565b946020939093013593505050565b600080600060608486031215612d7d57600080fd5b612d8684612d22565b9250612d9460208501612d22565b9150604084013590509250925092565b60e060020a634e487b7102600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612de657612de6612da4565b604052919050565b600067ffffffffffffffff821115612e0857612e08612da4565b5060209081020190565b600082601f830112612e2357600080fd5b81356020612e38612e3383612dee565b612dbd565b82815291810284018101918181019086841115612e5457600080fd5b8286015b84811015612e6f5780358352918301918301612e58565b509695505050505050565b60008060408385031215612e8d57600080fd5b823567ffffffffffffffff80821115612ea557600080fd5b818501915085601f830112612eb957600080fd5b81356020612ec9612e3383612dee565b82815291810284018101918181019089841115612ee557600080fd5b948201945b83861015612f0a57612efb86612d22565b82529482019490820190612eea565b96505086013592505080821115612f2057600080fd5b50612f2d85828601612e12565b9150509250929050565b600067ffffffffffffffff831115612f5157612f51612da4565b612f64601f8401601f1916602001612dbd565b9050828152838383011115612f7857600080fd5b828260208301376000602084830101529392505050565b600060208284031215612fa157600080fd5b813567ffffffffffffffff811115612fb857600080fd5b8201601f81018413612fc957600080fd5b61212484823560208401612f37565b600060208284031215612fea57600080fd5b61162a82612d22565b6020808252825182820181905260009190848201906040850190845b8181101561302b5783518352928401929184019160010161300f565b50909695505050505050565b6000806040838503121561304a57600080fd5b61305383612d22565b91506020830135801515811461306857600080fd5b809150509250929050565b6000806000806080858703121561308957600080fd5b61309285612d22565b93506130a060208601612d22565b925060408501359150606085013567ffffffffffffffff8111156130c357600080fd5b8501601f810187136130d457600080fd5b6130e387823560208401612f37565b91505092959194509250565b6000806040838503121561310257600080fd5b823567ffffffffffffffff81111561311957600080fd5b8301601f8101851361312a57600080fd5b8035602061313a612e3383612dee565b8281529181028301810191818101908884111561315657600080fd5b938201935b838510156131745784358252938201939082019061315b565b98969091013596505050505050565b6000806040838503121561319657600080fd5b61319f83612d22565b91506131ad60208401612d22565b90509250929050565b600080600080606085870312156131cc57600080fd5b843567ffffffffffffffff808211156131e457600080fd5b818701915087601f8301126131f857600080fd5b81358181111561320757600080fd5b886020808302850101111561321b57600080fd5b6020928301999098509187013596604001359550909350505050565b60028104600182168061324b57607f821691505b60208210810361326e5760e060020a634e487b7102600052602260045260246000fd5b50919050565b60208082526012908201527f436f6e7472616374206973207061757365640000000000000000000000000000604082015260600190565b60208082526011908201527f56616c7565206c657373207468616e2030000000000000000000000000000000604082015260600190565b60e060020a634e487b7102600052601160045260246000fd5b6000821982111561330e5761330e6132e2565b500190565b60208082526013908201527f4578636565646564206d617820737570706c7900000000000000000000000000604082015260600190565b60006001820161335c5761335c6132e2565b5060010190565b600160a060020a039390931683526020830191909152604082015260600190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201527f72206e6f7220617070726f766564000000000000000000000000000000000000606082015260800190565b60e060020a634e487b7102600052603260045260246000fd5b600060208083526000845461340e81613237565b8084870152604060018084166000811461342f576001811461344357613471565b60ff19851689840152606089019550613471565b896000528660002060005b858110156134695781548b820186015290830190880161344e565b8a0184019650505b509398975050505050505050565b6000815461348c81613237565b600182811680156134a457600181146134b5576134e4565b60ff198416875282870194506134e4565b8560005260208060002060005b858110156134db5781548a8201529084019082016134c2565b50505082870194505b5050505092915050565b60006134fa828661347f565b845161350a818360208901612c9e565b6135168183018661347f565b979650505050505050565b60008451613533818460208901612c9e565b84519083019061350a818360208901612c9e565b600082821015613559576135596132e2565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b60e060020a634e487b7102600052601260045260246000fd5b6000826135e3576135e36135bb565b500490565b6000826135f7576135f76135bb565b500690565b6000600160a060020a0380871683528086166020840152508360408301526080606083015261362e6080830184612cca565b9695505050505050565b60006020828403121561364a57600080fd5b815161162a81612c6b565b60e060020a634e487b7102600052603160045260246000fdfe4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4fa2646970667358221220173cf4eb0b7cbebffcf345d33fafa8a85c1bbb8c0ad89cf68170ee5970ae00ae64736f6c634300080d0033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180818ea5d92f6fdf7ed4270a64c30eba276d15cf5d464fbed926b0cfec69d72ca600000000000000000000000000000000000000000000000000000000000000084e656b6f4e656b6f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e6b4e6b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d646b654837723651707633514c31343732646b6b75554c466d665372514e7a4e6655335531324462483370732f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d655233437a764e427542633136616646393232567639324a727877483964626b3334785541537a73684d59562f00000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): NekoNeko
Arg [1] : _symbol (string): NkNk
Arg [2] : _initBaseURI (string): ipfs://QmdkeH7r6Qpv3QL1472dkkuULFmfSrQNzNfU3U12DbH3ps/
Arg [3] : _initNotRevealedUri (string): ipfs://QmeR3CzvNBuBc16afF922Vv92JrxwH9dbk34xUASzshMYV/
Arg [4] : _root (bytes32): 0x818ea5d92f6fdf7ed4270a64c30eba276d15cf5d464fbed926b0cfec69d72ca6

-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 818ea5d92f6fdf7ed4270a64c30eba276d15cf5d464fbed926b0cfec69d72ca6
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [6] : 4e656b6f4e656b6f000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 4e6b4e6b00000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [10] : 697066733a2f2f516d646b654837723651707633514c31343732646b6b75554c
Arg [11] : 466d665372514e7a4e6655335531324462483370732f00000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [13] : 697066733a2f2f516d655233437a764e42754263313661664639323256763932
Arg [14] : 4a727877483964626b3334785541537a73684d59562f00000000000000000000


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.