ETH Price: $2,671.85 (+1.31%)

Token

CC0PY (CC0PY)
 

Overview

Max Total Supply

666 CC0PY

Holders

654

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 CC0PY
0xdafe9399ad9f641bcd386959052d649df3dbba4f
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:
CC0PY

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : CC0PY.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

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

contract CC0PY is ERC721, ERC721Burnable, Ownable, ReentrancyGuard {
    using Counters for Counters.Counter;
    using Strings for uint256;

    Counters.Counter private _tokenIdCounter;

    bytes32[] public merkleRoots;
    uint256[] public allowances;

    mapping(address => uint256) public numberOfMints;
    mapping(address => uint256) public numberOfAllowance;


    string private baseMetadataUri;
    string private hiddenMetadataUri;

    uint256 public maxSupply = 666;
    uint256 public totalSupply;
    uint256 public mintPrice = 0.0099 ether;

    bool public isWhitelistMintOpen = true;
    bool public isPublicMintOpen = true;
    bool public isRevealed = true;

    // >< >< >< >< >< >< >< >< >< >< >< >< >< >< >< >< >< >< >< ><  >< >< >< >< >< >< >< >< >< >< >< >< >< >< ><

    constructor(string memory _baseMetadataUri, string memory _hiddenMetadataUri) 
        ERC721("CC0PY", "CC0PY") 
    {
        baseMetadataUri = _baseMetadataUri;
        hiddenMetadataUri = _hiddenMetadataUri;            
        _tokenIdCounter.increment();    // The collection index starts from 1
    }

    modifier mintCompliance(uint256 _mintAmount) {
        require(_mintAmount > 0, "Invalid mint amount!");
        require(totalSupply + _mintAmount <= maxSupply, "Max supply exceeded!");
        _;
    }   

    // >< >< >< >< >< >< >< >< >< >< >< >< >< >< >< >< >< >< >< ><  >< >< >< >< >< >< >< >< >< >< >< >< >< >< ><

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

    function baseURI() public view returns (string memory) {
        if (isRevealed)
            return baseMetadataUri;
        else 
            return hiddenMetadataUri;
    }

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

        if (!isRevealed)
            return hiddenMetadataUri;
        
        return super.tokenURI(_tokenId);
    }

    function publicMint(uint256 _mintAmount) public payable mintCompliance(1) nonReentrant {
        require(_mintAmount == 1, "Mint amount can not exceed 1");
        require(isPublicMintOpen, "The public mint is not open yet!");
        require(numberOfMints[_msgSender()] == 0, "You have already minted at least 1 NFT!");

        if (totalSupply >= 200){
            require(msg.value >= mintPrice, "Invalid price input!");
        }

        numberOfMints[_msgSender()] = 1;

        _safeMint(_msgSender());
    }

    function whitelistMint(uint256 _mintAmount, bytes32[] calldata _merkleProof) 
    public mintCompliance(_mintAmount) nonReentrant returns (uint256){
        require(isWhitelistMintOpen, "The whitelist sale is not enabled!");

        merkleCheck(_merkleProof);
        require(numberOfAllowance[_msgSender()] > 0, "This address is not whitelisted!");
        require(numberOfAllowance[_msgSender()] >= numberOfMints[_msgSender()] + _mintAmount, "Number of allowance exceeded!");

        numberOfMints[_msgSender()] += _mintAmount;
        for (uint256 i = 0; i < _mintAmount; i++) {
            _safeMint(_msgSender());
        }
        return numberOfAllowance[_msgSender()] - numberOfMints[_msgSender()];
    }

    /*
        @dev increase tokenID and total supply before mint
    */
    function _safeMint(address to) internal virtual {
        uint256 tokenId = _tokenIdCounter.current();
        _tokenIdCounter.increment();

        totalSupply++;

        super._safeMint(to, tokenId);
    }

    function remainingAllowance(bytes32[] calldata _merkleProof) public returns (uint256) { 
        merkleCheck(_merkleProof);       
        require(numberOfAllowance[_msgSender()] > 0, "The address is not whitelisted!");

        return numberOfAllowance[_msgSender()] - numberOfMints[_msgSender()];
    }

    function merkleCheck (bytes32[] calldata _merkleProof) internal {
        bytes32 leaf = keccak256(abi.encodePacked(_msgSender()));
        
        for (uint256 i = 0; i < merkleRoots.length; i++){
            // If the proof valid for this index, get the allowance of this index
            if (MerkleProof.verify(_merkleProof, merkleRoots[i], leaf)){
                numberOfAllowance[_msgSender()] = allowances[i];
                break;
            }
        }
    }
        

    /*  ->->->->->->->->->->        ADMIN FUNCTIONS         ->->->->->->->->->->
                                                           .------.------.    
            +-------------+                                |      |      |    
            |             |                                |      |      |    
            |             |        _           ____        |      |      |    
            |             |     ___))         [  | \___    |      |      |    
            |             |     ) //o          | |     \   |      |      |    
            |             |  _ (_    >         | |      ]  |      |      |    
            |          __ | (O)  \__<          | | ____/   '------'------'    
            |         /  o| [/] /   \)        [__|/_                          
            |             | [\]|  ( \         __/___\_____                    
            |             | [/]|   \ \__  ___|            |                   
            |             | [\]|    \___E/%%/|____________|_____              
            |             | [/]|=====__   (_____________________)             
            |             | [\] \_____ \    |                  |              
            |             | [/========\ |   |                  |              
            |             | [\]     []| |   |                  |              
            |             | [/]     []| |_  |                  |              
            |             | [\]     []|___) |                  |    MEPH          
            ====================================================================
    */    
    function setWhitelistMintOpen(bool _state) public onlyOwner {
        isWhitelistMintOpen = _state;
    }

    function setPublicMintOpen(bool _state) public onlyOwner {
        isPublicMintOpen = _state;
    }

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

    function setBaseMetadataUri(string memory _baseMetadataUri) public onlyOwner {
        baseMetadataUri = _baseMetadataUri;
    }

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

    function setPublicPrice(uint256 _newPrice) public onlyOwner {
        mintPrice = _newPrice;
    }

    function pushMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoots.push(_merkleRoot);
    }

    function pushAllowance(uint256 _allowance) public onlyOwner {
        allowances.push(_allowance);
    }

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

File 7 of 15 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../../utils/Context.sol";

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _burn(tokenId);
    }
}

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

pragma solidity ^0.8.0;

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

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

File 10 of 15 : 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 11 of 15 : 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 12 of 15 : 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 13 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseMetadataUri","type":"string"},{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"allowances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhitelistMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"merkleRoots","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numberOfAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numberOfMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allowance","type":"uint256"}],"name":"pushAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"pushMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"remainingAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseMetadataUri","type":"string"}],"name":"setBaseMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicMintOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setWhitelistMintOpen","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":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

608060405261029a600f5566232bff5f46c0006011556001601260006101000a81548160ff0219169083151502179055506001601260016101000a81548160ff0219169083151502179055506001601260026101000a81548160ff0219169083151502179055503480156200007357600080fd5b5060405162004e8738038062004e878339818101604052810190620000999190620003c4565b6040518060400160405280600581526020017f43433050590000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f434330505900000000000000000000000000000000000000000000000000000081525081600090805190602001906200011d92919062000296565b5080600190805190602001906200013692919062000296565b505050620001596200014d620001b260201b60201c565b620001ba60201b60201c565b600160078190555081600d90805190602001906200017992919062000296565b5080600e90805190602001906200019292919062000296565b50620001aa60086200028060201b62001d5d1760201c565b5050620005cd565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b828054620002a490620004de565b90600052602060002090601f016020900481019282620002c8576000855562000314565b82601f10620002e357805160ff191683800117855562000314565b8280016001018555821562000314579182015b8281111562000313578251825591602001919060010190620002f6565b5b50905062000323919062000327565b5090565b5b808211156200034257600081600090555060010162000328565b5090565b60006200035d620003578462000472565b62000449565b9050828152602081018484840111156200037c576200037b620005ad565b5b62000389848285620004a8565b509392505050565b600082601f830112620003a957620003a8620005a8565b5b8151620003bb84826020860162000346565b91505092915050565b60008060408385031215620003de57620003dd620005b7565b5b600083015167ffffffffffffffff811115620003ff57620003fe620005b2565b5b6200040d8582860162000391565b925050602083015167ffffffffffffffff811115620004315762000430620005b2565b5b6200043f8582860162000391565b9150509250929050565b60006200045562000468565b905062000463828262000514565b919050565b6000604051905090565b600067ffffffffffffffff82111562000490576200048f62000579565b5b6200049b82620005bc565b9050602081019050919050565b60005b83811015620004c8578082015181840152602081019050620004ab565b83811115620004d8576000848401525b50505050565b60006002820490506001821680620004f757607f821691505b602082108114156200050e576200050d6200054a565b5b50919050565b6200051f82620005bc565b810181811067ffffffffffffffff8211171562000541576200054062000579565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6148aa80620005dd6000396000f3fe60806040526004361061023a5760003560e01c80636352211e1161012e578063a4435dfd116100ab578063d5abeb011161006f578063d5abeb011461088a578063e0a80853146108b5578063e985e9c5146108de578063f2fde38b1461091b578063fade63c9146109445761023a565b8063a4435dfd14610793578063b88d4fde146107be578063c6275255146107e7578063c87b56dd14610810578063d2cab0561461084d5761023a565b8063715018a6116100f2578063715018a6146106c057806371c5ecb1146106d75780638da5cb5b1461071457806395d89b411461073f578063a22cb4651461076a5761023a565b80636352211e146105c75780636387f804146106045780636817c76c1461062d5780636c0360eb1461065857806370a08231146106835761023a565b806323b872dd116101bc57806342842e0e1161018057806342842e0e146104e457806342966c681461050d5780634fdd43cb1461053657806354214f691461055f5780635b69f2ca1461058a5761023a565b806323b872dd1461042f57806325c4d51e146104585780632db11544146104815780633ccfd60b1461049d57806340f68bea146104a75761023a565b8063095ea7b311610203578063095ea7b31461033657806310163ee41461035f57806318160ddd1461039c57806318f52c48146103c757806319860557146103f25761023a565b8062d71cf81461023f5780630101084c1461026857806301ffc9a71461029157806306fdde03146102ce578063081812fc146102f9575b600080fd5b34801561024b57600080fd5b506102666004803603810190610261919061343b565b61096d565b005b34801561027457600080fd5b5061028f600480360381019061028a91906133b4565b61098f565b005b34801561029d57600080fd5b506102b860048036038101906102b391906133e1565b6109c3565b6040516102c59190613a50565b60405180910390f35b3480156102da57600080fd5b506102e3610aa5565b6040516102f09190613a86565b60405180910390f35b34801561030557600080fd5b50610320600480360381019061031b9190613484565b610b37565b60405161032d91906139e9565b60405180910390f35b34801561034257600080fd5b5061035d600480360381019061035891906132fa565b610b7d565b005b34801561036b57600080fd5b506103866004803603810190610381919061333a565b610c95565b6040516103939190613dc8565b60405180910390f35b3480156103a857600080fd5b506103b1610dca565b6040516103be9190613dc8565b60405180910390f35b3480156103d357600080fd5b506103dc610dd0565b6040516103e99190613a50565b60405180910390f35b3480156103fe57600080fd5b5061041960048036038101906104149190613177565b610de3565b6040516104269190613dc8565b60405180910390f35b34801561043b57600080fd5b50610456600480360381019061045191906131e4565b610dfb565b005b34801561046457600080fd5b5061047f600480360381019061047a9190613484565b610e5b565b005b61049b60048036038101906104969190613484565b610e8f565b005b6104a5611147565b005b3480156104b357600080fd5b506104ce60048036038101906104c99190613177565b6111cf565b6040516104db9190613dc8565b60405180910390f35b3480156104f057600080fd5b5061050b600480360381019061050691906131e4565b6111e7565b005b34801561051957600080fd5b50610534600480360381019061052f9190613484565b611207565b005b34801561054257600080fd5b5061055d6004803603810190610558919061343b565b611263565b005b34801561056b57600080fd5b50610574611285565b6040516105819190613a50565b60405180910390f35b34801561059657600080fd5b506105b160048036038101906105ac9190613484565b611298565b6040516105be9190613dc8565b60405180910390f35b3480156105d357600080fd5b506105ee60048036038101906105e99190613484565b6112bc565b6040516105fb91906139e9565b60405180910390f35b34801561061057600080fd5b5061062b60048036038101906106269190613387565b61136e565b005b34801561063957600080fd5b50610642611393565b60405161064f9190613dc8565b60405180910390f35b34801561066457600080fd5b5061066d611399565b60405161067a9190613a86565b60405180910390f35b34801561068f57600080fd5b506106aa60048036038101906106a59190613177565b6114d3565b6040516106b79190613dc8565b60405180910390f35b3480156106cc57600080fd5b506106d561158b565b005b3480156106e357600080fd5b506106fe60048036038101906106f99190613484565b61159f565b60405161070b9190613a6b565b60405180910390f35b34801561072057600080fd5b506107296115c3565b60405161073691906139e9565b60405180910390f35b34801561074b57600080fd5b506107546115ed565b6040516107619190613a86565b60405180910390f35b34801561077657600080fd5b50610791600480360381019061078c91906132ba565b61167f565b005b34801561079f57600080fd5b506107a8611695565b6040516107b59190613a50565b60405180910390f35b3480156107ca57600080fd5b506107e560048036038101906107e09190613237565b6116a8565b005b3480156107f357600080fd5b5061080e60048036038101906108099190613484565b61170a565b005b34801561081c57600080fd5b5061083760048036038101906108329190613484565b61171c565b6040516108449190613a86565b60405180910390f35b34801561085957600080fd5b50610874600480360381019061086f91906134b1565b61181d565b6040516108819190613dc8565b60405180910390f35b34801561089657600080fd5b5061089f611bf5565b6040516108ac9190613dc8565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d79190613387565b611bfb565b005b3480156108ea57600080fd5b50610905600480360381019061090091906131a4565b611c20565b6040516109129190613a50565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d9190613177565b611cb4565b005b34801561095057600080fd5b5061096b60048036038101906109669190613387565b611d38565b005b610975611d73565b80600d908051906020019061098b929190612f20565b5050565b610997611d73565b600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a8e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a9e5750610a9d82611df1565b5b9050919050565b606060008054610ab490614033565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae090614033565b8015610b2d5780601f10610b0257610100808354040283529160200191610b2d565b820191906000526020600020905b815481529060010190602001808311610b1057829003601f168201915b5050505050905090565b6000610b4282611e5b565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b88826112bc565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf090613c88565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c18611ea6565b73ffffffffffffffffffffffffffffffffffffffff161480610c475750610c4681610c41611ea6565b611c20565b5b610c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7d90613bc8565b60405180910390fd5b610c908383611eae565b505050565b6000610ca18383611f67565b6000600c6000610caf611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2190613d48565b60405180910390fd5b600b6000610d36611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c6000610d7d611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610dc29190613f3f565b905092915050565b60105481565b601260009054906101000a900460ff1681565b600b6020528060005260406000206000915090505481565b610e0c610e06611ea6565b8261209f565b610e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4290613d68565b60405180910390fd5b610e56838383612134565b505050565b610e63611d73565b600a81908060018154018082558091505060019003906000526020600020016000909190919091505550565b600160008111610ed4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecb90613b28565b60405180910390fd5b600f5481601054610ee59190613eb8565b1115610f26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1d90613ce8565b60405180910390fd5b60026007541415610f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6390613d88565b60405180910390fd5b600260078190555060018214610fb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fae90613b48565b60405180910390fd5b601260019054906101000a900460ff16611006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffd90613cc8565b60405180910390fd5b6000600b6000611014611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541461108f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108690613d28565b60405180910390fd5b60c8601054106110df576011543410156110de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d590613da8565b60405180910390fd5b5b6001600b60006110ed611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061113b611136611ea6565b61239b565b60016007819055505050565b61114f611d73565b60006111596115c3565b73ffffffffffffffffffffffffffffffffffffffff164760405161117c906139d4565b60006040518083038185875af1925050503d80600081146111b9576040519150601f19603f3d011682016040523d82523d6000602084013e6111be565b606091505b50509050806111cc57600080fd5b50565b600c6020528060005260406000206000915090505481565b611202838383604051806020016040528060008152506116a8565b505050565b611218611212611ea6565b8261209f565b611257576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124e90613d68565b60405180910390fd5b611260816123d9565b50565b61126b611d73565b80600e9080519060200190611281929190612f20565b5050565b601260029054906101000a900460ff1681565b600a81815481106112a857600080fd5b906000526020600020016000915090505481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135c90613c68565b60405180910390fd5b80915050919050565b611376611d73565b80601260016101000a81548160ff02191690831515021790555050565b60115481565b6060601260029054906101000a900460ff161561144257600d80546113bd90614033565b80601f01602080910402602001604051908101604052809291908181526020018280546113e990614033565b80156114365780601f1061140b57610100808354040283529160200191611436565b820191906000526020600020905b81548152906001019060200180831161141957829003601f168201915b505050505090506114d0565b600e805461144f90614033565b80601f016020809104026020016040519081016040528092919081815260200182805461147b90614033565b80156114c85780601f1061149d576101008083540402835291602001916114c8565b820191906000526020600020905b8154815290600101906020018083116114ab57829003601f168201915b505050505090505b90565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153b90613ba8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611593611d73565b61159d60006124f6565b565b600981815481106115af57600080fd5b906000526020600020016000915090505481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115fc90614033565b80601f016020809104026020016040519081016040528092919081815260200182805461162890614033565b80156116755780601f1061164a57610100808354040283529160200191611675565b820191906000526020600020905b81548152906001019060200180831161165857829003601f168201915b5050505050905090565b61169161168a611ea6565b83836125bc565b5050565b601260019054906101000a900460ff1681565b6116b96116b3611ea6565b8361209f565b6116f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ef90613d68565b60405180910390fd5b61170484848484612729565b50505050565b611712611d73565b8060118190555050565b606061172782612785565b611766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175d90613c28565b60405180910390fd5b601260029054906101000a900460ff1661180c57600e805461178790614033565b80601f01602080910402602001604051908101604052809291908181526020018280546117b390614033565b80156118005780601f106117d557610100808354040283529160200191611800565b820191906000526020600020905b8154815290600101906020018083116117e357829003601f168201915b50505050509050611818565b611815826127f1565b90505b919050565b60008360008111611863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185a90613b28565b60405180910390fd5b600f54816010546118749190613eb8565b11156118b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ac90613ce8565b60405180910390fd5b600260075414156118fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f290613d88565b60405180910390fd5b6002600781905550601260009054906101000a900460ff16611952576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194990613d08565b60405180910390fd5b61195c8484611f67565b6000600c600061196a611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116119e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119dc90613ca8565b60405180910390fd5b84600b60006119f2611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a379190613eb8565b600c6000611a43611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611abf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab690613c48565b60405180910390fd5b84600b6000611acc611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b159190613eb8565b9250508190555060005b85811015611b4a57611b37611b32611ea6565b61239b565b8080611b4290614096565b915050611b1f565b50600b6000611b57611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c6000611b9e611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611be39190613f3f565b91506001600781905550509392505050565b600f5481565b611c03611d73565b80601260026101000a81548160ff02191690831515021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cbc611d73565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2390613ac8565b60405180910390fd5b611d35816124f6565b50565b611d40611d73565b80601260006101000a81548160ff02191690831515021790555050565b6001816000016000828254019250508190555050565b611d7b611ea6565b73ffffffffffffffffffffffffffffffffffffffff16611d996115c3565b73ffffffffffffffffffffffffffffffffffffffff1614611def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de690613c08565b60405180910390fd5b565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611e6481612785565b611ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9a90613c68565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f21836112bc565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f71611ea6565b604051602001611f819190613995565b60405160208183030381529060405280519060200120905060005b60098054905081101561209957612013848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060098381548110612002576120016141c1565b5b906000526020600020015484612859565b1561208657600a818154811061202c5761202b6141c1565b5b9060005260206000200154600c6000612043611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612099565b808061209190614096565b915050611f9c565b50505050565b6000806120ab836112bc565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120ed57506120ec8185611c20565b5b8061212b57508373ffffffffffffffffffffffffffffffffffffffff1661211384610b37565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612154826112bc565b73ffffffffffffffffffffffffffffffffffffffff16146121aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a190613ae8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561221a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221190613b68565b60405180910390fd5b612225838383612870565b612230600082611eae565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122809190613f3f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122d79190613eb8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612396838383612875565b505050565b60006123a7600861287a565b90506123b36008611d5d565b601060008154809291906123c690614096565b91905055506123d58282612888565b5050565b60006123e4826112bc565b90506123f281600084612870565b6123fd600083611eae565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461244d9190613f3f565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124f281600084612875565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561262b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262290613b88565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161271c9190613a50565b60405180910390a3505050565b612734848484612134565b612740848484846128a6565b61277f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277690613aa8565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606127fc82611e5b565b6000612806612a3d565b905060008151116128265760405180602001604052806000815250612851565b8061283084612acf565b6040516020016128419291906139b0565b6040516020818303038152906040525b915050919050565b6000826128668584612c30565b1490509392505050565b505050565b505050565b600081600001549050919050565b6128a2828260405180602001604052806000815250612c86565b5050565b60006128c78473ffffffffffffffffffffffffffffffffffffffff16612ce1565b15612a30578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128f0611ea6565b8786866040518563ffffffff1660e01b81526004016129129493929190613a04565b602060405180830381600087803b15801561292c57600080fd5b505af192505050801561295d57506040513d601f19601f8201168201806040525081019061295a919061340e565b60015b6129e0573d806000811461298d576040519150601f19603f3d011682016040523d82523d6000602084013e612992565b606091505b506000815114156129d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129cf90613aa8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a35565b600190505b949350505050565b6060600d8054612a4c90614033565b80601f0160208091040260200160405190810160405280929190818152602001828054612a7890614033565b8015612ac55780601f10612a9a57610100808354040283529160200191612ac5565b820191906000526020600020905b815481529060010190602001808311612aa857829003601f168201915b5050505050905090565b60606000821415612b17576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c2b565b600082905060005b60008214612b49578080612b3290614096565b915050600a82612b429190613f0e565b9150612b1f565b60008167ffffffffffffffff811115612b6557612b646141f0565b5b6040519080825280601f01601f191660200182016040528015612b975781602001600182028036833780820191505090505b5090505b60008514612c2457600182612bb09190613f3f565b9150600a85612bbf9190614103565b6030612bcb9190613eb8565b60f81b818381518110612be157612be06141c1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c1d9190613f0e565b9450612b9b565b8093505050505b919050565b60008082905060005b8451811015612c7b57612c6682868381518110612c5957612c586141c1565b5b6020026020010151612d04565b91508080612c7390614096565b915050612c39565b508091505092915050565b612c908383612d2f565b612c9d60008484846128a6565b612cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd390613aa8565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000818310612d1c57612d178284612f09565b612d27565b612d268383612f09565b5b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9690613be8565b60405180910390fd5b612da881612785565b15612de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ddf90613b08565b60405180910390fd5b612df460008383612870565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e449190613eb8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f0560008383612875565b5050565b600082600052816020526040600020905092915050565b828054612f2c90614033565b90600052602060002090601f016020900481019282612f4e5760008555612f95565b82601f10612f6757805160ff1916838001178555612f95565b82800160010185558215612f95579182015b82811115612f94578251825591602001919060010190612f79565b5b509050612fa29190612fa6565b5090565b5b80821115612fbf576000816000905550600101612fa7565b5090565b6000612fd6612fd184613e08565b613de3565b905082815260208101848484011115612ff257612ff161422e565b5b612ffd848285613ff1565b509392505050565b600061301861301384613e39565b613de3565b9050828152602081018484840111156130345761303361422e565b5b61303f848285613ff1565b509392505050565b60008135905061305681614801565b92915050565b60008083601f84011261307257613071614224565b5b8235905067ffffffffffffffff81111561308f5761308e61421f565b5b6020830191508360208202830111156130ab576130aa614229565b5b9250929050565b6000813590506130c181614818565b92915050565b6000813590506130d68161482f565b92915050565b6000813590506130eb81614846565b92915050565b60008151905061310081614846565b92915050565b600082601f83011261311b5761311a614224565b5b813561312b848260208601612fc3565b91505092915050565b600082601f83011261314957613148614224565b5b8135613159848260208601613005565b91505092915050565b6000813590506131718161485d565b92915050565b60006020828403121561318d5761318c614238565b5b600061319b84828501613047565b91505092915050565b600080604083850312156131bb576131ba614238565b5b60006131c985828601613047565b92505060206131da85828601613047565b9150509250929050565b6000806000606084860312156131fd576131fc614238565b5b600061320b86828701613047565b935050602061321c86828701613047565b925050604061322d86828701613162565b9150509250925092565b6000806000806080858703121561325157613250614238565b5b600061325f87828801613047565b945050602061327087828801613047565b935050604061328187828801613162565b925050606085013567ffffffffffffffff8111156132a2576132a1614233565b5b6132ae87828801613106565b91505092959194509250565b600080604083850312156132d1576132d0614238565b5b60006132df85828601613047565b92505060206132f0858286016130b2565b9150509250929050565b6000806040838503121561331157613310614238565b5b600061331f85828601613047565b925050602061333085828601613162565b9150509250929050565b6000806020838503121561335157613350614238565b5b600083013567ffffffffffffffff81111561336f5761336e614233565b5b61337b8582860161305c565b92509250509250929050565b60006020828403121561339d5761339c614238565b5b60006133ab848285016130b2565b91505092915050565b6000602082840312156133ca576133c9614238565b5b60006133d8848285016130c7565b91505092915050565b6000602082840312156133f7576133f6614238565b5b6000613405848285016130dc565b91505092915050565b60006020828403121561342457613423614238565b5b6000613432848285016130f1565b91505092915050565b60006020828403121561345157613450614238565b5b600082013567ffffffffffffffff81111561346f5761346e614233565b5b61347b84828501613134565b91505092915050565b60006020828403121561349a57613499614238565b5b60006134a884828501613162565b91505092915050565b6000806000604084860312156134ca576134c9614238565b5b60006134d886828701613162565b935050602084013567ffffffffffffffff8111156134f9576134f8614233565b5b6135058682870161305c565b92509250509250925092565b61351a81613f73565b82525050565b61353161352c82613f73565b6140df565b82525050565b61354081613f85565b82525050565b61354f81613f91565b82525050565b600061356082613e6a565b61356a8185613e80565b935061357a818560208601614000565b6135838161423d565b840191505092915050565b600061359982613e75565b6135a38185613e9c565b93506135b3818560208601614000565b6135bc8161423d565b840191505092915050565b60006135d282613e75565b6135dc8185613ead565b93506135ec818560208601614000565b80840191505092915050565b6000613605603283613e9c565b91506136108261425b565b604082019050919050565b6000613628602683613e9c565b9150613633826142aa565b604082019050919050565b600061364b602583613e9c565b9150613656826142f9565b604082019050919050565b600061366e601c83613e9c565b915061367982614348565b602082019050919050565b6000613691601483613e9c565b915061369c82614371565b602082019050919050565b60006136b4601c83613e9c565b91506136bf8261439a565b602082019050919050565b60006136d7602483613e9c565b91506136e2826143c3565b604082019050919050565b60006136fa601983613e9c565b915061370582614412565b602082019050919050565b600061371d602983613e9c565b91506137288261443b565b604082019050919050565b6000613740603e83613e9c565b915061374b8261448a565b604082019050919050565b6000613763602083613e9c565b915061376e826144d9565b602082019050919050565b6000613786602083613e9c565b915061379182614502565b602082019050919050565b60006137a9602f83613e9c565b91506137b48261452b565b604082019050919050565b60006137cc601d83613e9c565b91506137d78261457a565b602082019050919050565b60006137ef601883613e9c565b91506137fa826145a3565b602082019050919050565b6000613812602183613e9c565b915061381d826145cc565b604082019050919050565b6000613835602083613e9c565b91506138408261461b565b602082019050919050565b6000613858602083613e9c565b915061386382614644565b602082019050919050565b600061387b600083613e91565b91506138868261466d565b600082019050919050565b600061389e601483613e9c565b91506138a982614670565b602082019050919050565b60006138c1602283613e9c565b91506138cc82614699565b604082019050919050565b60006138e4602783613e9c565b91506138ef826146e8565b604082019050919050565b6000613907601f83613e9c565b915061391282614737565b602082019050919050565b600061392a602e83613e9c565b915061393582614760565b604082019050919050565b600061394d601f83613e9c565b9150613958826147af565b602082019050919050565b6000613970601483613e9c565b915061397b826147d8565b602082019050919050565b61398f81613fe7565b82525050565b60006139a18284613520565b60148201915081905092915050565b60006139bc82856135c7565b91506139c882846135c7565b91508190509392505050565b60006139df8261386e565b9150819050919050565b60006020820190506139fe6000830184613511565b92915050565b6000608082019050613a196000830187613511565b613a266020830186613511565b613a336040830185613986565b8181036060830152613a458184613555565b905095945050505050565b6000602082019050613a656000830184613537565b92915050565b6000602082019050613a806000830184613546565b92915050565b60006020820190508181036000830152613aa0818461358e565b905092915050565b60006020820190508181036000830152613ac1816135f8565b9050919050565b60006020820190508181036000830152613ae18161361b565b9050919050565b60006020820190508181036000830152613b018161363e565b9050919050565b60006020820190508181036000830152613b2181613661565b9050919050565b60006020820190508181036000830152613b4181613684565b9050919050565b60006020820190508181036000830152613b61816136a7565b9050919050565b60006020820190508181036000830152613b81816136ca565b9050919050565b60006020820190508181036000830152613ba1816136ed565b9050919050565b60006020820190508181036000830152613bc181613710565b9050919050565b60006020820190508181036000830152613be181613733565b9050919050565b60006020820190508181036000830152613c0181613756565b9050919050565b60006020820190508181036000830152613c2181613779565b9050919050565b60006020820190508181036000830152613c418161379c565b9050919050565b60006020820190508181036000830152613c61816137bf565b9050919050565b60006020820190508181036000830152613c81816137e2565b9050919050565b60006020820190508181036000830152613ca181613805565b9050919050565b60006020820190508181036000830152613cc181613828565b9050919050565b60006020820190508181036000830152613ce18161384b565b9050919050565b60006020820190508181036000830152613d0181613891565b9050919050565b60006020820190508181036000830152613d21816138b4565b9050919050565b60006020820190508181036000830152613d41816138d7565b9050919050565b60006020820190508181036000830152613d61816138fa565b9050919050565b60006020820190508181036000830152613d818161391d565b9050919050565b60006020820190508181036000830152613da181613940565b9050919050565b60006020820190508181036000830152613dc181613963565b9050919050565b6000602082019050613ddd6000830184613986565b92915050565b6000613ded613dfe565b9050613df98282614065565b919050565b6000604051905090565b600067ffffffffffffffff821115613e2357613e226141f0565b5b613e2c8261423d565b9050602081019050919050565b600067ffffffffffffffff821115613e5457613e536141f0565b5b613e5d8261423d565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ec382613fe7565b9150613ece83613fe7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f0357613f02614134565b5b828201905092915050565b6000613f1982613fe7565b9150613f2483613fe7565b925082613f3457613f33614163565b5b828204905092915050565b6000613f4a82613fe7565b9150613f5583613fe7565b925082821015613f6857613f67614134565b5b828203905092915050565b6000613f7e82613fc7565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561401e578082015181840152602081019050614003565b8381111561402d576000848401525b50505050565b6000600282049050600182168061404b57607f821691505b6020821081141561405f5761405e614192565b5b50919050565b61406e8261423d565b810181811067ffffffffffffffff8211171561408d5761408c6141f0565b5b80604052505050565b60006140a182613fe7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156140d4576140d3614134565b5b600182019050919050565b60006140ea826140f1565b9050919050565b60006140fc8261424e565b9050919050565b600061410e82613fe7565b915061411983613fe7565b92508261412957614128614163565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f4d696e7420616d6f756e742063616e206e6f7420657863656564203100000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4e756d626572206f6620616c6c6f77616e636520657863656564656421000000600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f546869732061646472657373206973206e6f742077686974656c697374656421600082015250565b7f546865207075626c6963206d696e74206973206e6f74206f70656e2079657421600082015250565b50565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f5468652077686974656c6973742073616c65206973206e6f7420656e61626c6560008201527f6421000000000000000000000000000000000000000000000000000000000000602082015250565b7f596f75206861766520616c7265616479206d696e746564206174206c6561737460008201527f2031204e46542100000000000000000000000000000000000000000000000000602082015250565b7f5468652061646472657373206973206e6f742077686974656c69737465642100600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f496e76616c696420707269636520696e70757421000000000000000000000000600082015250565b61480a81613f73565b811461481557600080fd5b50565b61482181613f85565b811461482c57600080fd5b50565b61483881613f91565b811461484357600080fd5b50565b61484f81613f9b565b811461485a57600080fd5b50565b61486681613fe7565b811461487157600080fd5b5056fea2646970667358221220f2aa30b5dd6330029a74bb6f886e2274806d2c88c3de66b32d67d54ff4b8bd5064736f6c63430008070033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d574779756657645a64764631756971386e366a654e54436b6a6a6738634d5538654b674136745863443348512f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d57466671355179744b564c754d6932503262736270413865424a563435504a51696373744d337044634c35432f00000000000000000000

Deployed Bytecode

0x60806040526004361061023a5760003560e01c80636352211e1161012e578063a4435dfd116100ab578063d5abeb011161006f578063d5abeb011461088a578063e0a80853146108b5578063e985e9c5146108de578063f2fde38b1461091b578063fade63c9146109445761023a565b8063a4435dfd14610793578063b88d4fde146107be578063c6275255146107e7578063c87b56dd14610810578063d2cab0561461084d5761023a565b8063715018a6116100f2578063715018a6146106c057806371c5ecb1146106d75780638da5cb5b1461071457806395d89b411461073f578063a22cb4651461076a5761023a565b80636352211e146105c75780636387f804146106045780636817c76c1461062d5780636c0360eb1461065857806370a08231146106835761023a565b806323b872dd116101bc57806342842e0e1161018057806342842e0e146104e457806342966c681461050d5780634fdd43cb1461053657806354214f691461055f5780635b69f2ca1461058a5761023a565b806323b872dd1461042f57806325c4d51e146104585780632db11544146104815780633ccfd60b1461049d57806340f68bea146104a75761023a565b8063095ea7b311610203578063095ea7b31461033657806310163ee41461035f57806318160ddd1461039c57806318f52c48146103c757806319860557146103f25761023a565b8062d71cf81461023f5780630101084c1461026857806301ffc9a71461029157806306fdde03146102ce578063081812fc146102f9575b600080fd5b34801561024b57600080fd5b506102666004803603810190610261919061343b565b61096d565b005b34801561027457600080fd5b5061028f600480360381019061028a91906133b4565b61098f565b005b34801561029d57600080fd5b506102b860048036038101906102b391906133e1565b6109c3565b6040516102c59190613a50565b60405180910390f35b3480156102da57600080fd5b506102e3610aa5565b6040516102f09190613a86565b60405180910390f35b34801561030557600080fd5b50610320600480360381019061031b9190613484565b610b37565b60405161032d91906139e9565b60405180910390f35b34801561034257600080fd5b5061035d600480360381019061035891906132fa565b610b7d565b005b34801561036b57600080fd5b506103866004803603810190610381919061333a565b610c95565b6040516103939190613dc8565b60405180910390f35b3480156103a857600080fd5b506103b1610dca565b6040516103be9190613dc8565b60405180910390f35b3480156103d357600080fd5b506103dc610dd0565b6040516103e99190613a50565b60405180910390f35b3480156103fe57600080fd5b5061041960048036038101906104149190613177565b610de3565b6040516104269190613dc8565b60405180910390f35b34801561043b57600080fd5b50610456600480360381019061045191906131e4565b610dfb565b005b34801561046457600080fd5b5061047f600480360381019061047a9190613484565b610e5b565b005b61049b60048036038101906104969190613484565b610e8f565b005b6104a5611147565b005b3480156104b357600080fd5b506104ce60048036038101906104c99190613177565b6111cf565b6040516104db9190613dc8565b60405180910390f35b3480156104f057600080fd5b5061050b600480360381019061050691906131e4565b6111e7565b005b34801561051957600080fd5b50610534600480360381019061052f9190613484565b611207565b005b34801561054257600080fd5b5061055d6004803603810190610558919061343b565b611263565b005b34801561056b57600080fd5b50610574611285565b6040516105819190613a50565b60405180910390f35b34801561059657600080fd5b506105b160048036038101906105ac9190613484565b611298565b6040516105be9190613dc8565b60405180910390f35b3480156105d357600080fd5b506105ee60048036038101906105e99190613484565b6112bc565b6040516105fb91906139e9565b60405180910390f35b34801561061057600080fd5b5061062b60048036038101906106269190613387565b61136e565b005b34801561063957600080fd5b50610642611393565b60405161064f9190613dc8565b60405180910390f35b34801561066457600080fd5b5061066d611399565b60405161067a9190613a86565b60405180910390f35b34801561068f57600080fd5b506106aa60048036038101906106a59190613177565b6114d3565b6040516106b79190613dc8565b60405180910390f35b3480156106cc57600080fd5b506106d561158b565b005b3480156106e357600080fd5b506106fe60048036038101906106f99190613484565b61159f565b60405161070b9190613a6b565b60405180910390f35b34801561072057600080fd5b506107296115c3565b60405161073691906139e9565b60405180910390f35b34801561074b57600080fd5b506107546115ed565b6040516107619190613a86565b60405180910390f35b34801561077657600080fd5b50610791600480360381019061078c91906132ba565b61167f565b005b34801561079f57600080fd5b506107a8611695565b6040516107b59190613a50565b60405180910390f35b3480156107ca57600080fd5b506107e560048036038101906107e09190613237565b6116a8565b005b3480156107f357600080fd5b5061080e60048036038101906108099190613484565b61170a565b005b34801561081c57600080fd5b5061083760048036038101906108329190613484565b61171c565b6040516108449190613a86565b60405180910390f35b34801561085957600080fd5b50610874600480360381019061086f91906134b1565b61181d565b6040516108819190613dc8565b60405180910390f35b34801561089657600080fd5b5061089f611bf5565b6040516108ac9190613dc8565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d79190613387565b611bfb565b005b3480156108ea57600080fd5b50610905600480360381019061090091906131a4565b611c20565b6040516109129190613a50565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d9190613177565b611cb4565b005b34801561095057600080fd5b5061096b60048036038101906109669190613387565b611d38565b005b610975611d73565b80600d908051906020019061098b929190612f20565b5050565b610997611d73565b600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a8e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a9e5750610a9d82611df1565b5b9050919050565b606060008054610ab490614033565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae090614033565b8015610b2d5780601f10610b0257610100808354040283529160200191610b2d565b820191906000526020600020905b815481529060010190602001808311610b1057829003601f168201915b5050505050905090565b6000610b4282611e5b565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b88826112bc565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf090613c88565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c18611ea6565b73ffffffffffffffffffffffffffffffffffffffff161480610c475750610c4681610c41611ea6565b611c20565b5b610c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7d90613bc8565b60405180910390fd5b610c908383611eae565b505050565b6000610ca18383611f67565b6000600c6000610caf611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2190613d48565b60405180910390fd5b600b6000610d36611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c6000610d7d611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610dc29190613f3f565b905092915050565b60105481565b601260009054906101000a900460ff1681565b600b6020528060005260406000206000915090505481565b610e0c610e06611ea6565b8261209f565b610e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4290613d68565b60405180910390fd5b610e56838383612134565b505050565b610e63611d73565b600a81908060018154018082558091505060019003906000526020600020016000909190919091505550565b600160008111610ed4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecb90613b28565b60405180910390fd5b600f5481601054610ee59190613eb8565b1115610f26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1d90613ce8565b60405180910390fd5b60026007541415610f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6390613d88565b60405180910390fd5b600260078190555060018214610fb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fae90613b48565b60405180910390fd5b601260019054906101000a900460ff16611006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffd90613cc8565b60405180910390fd5b6000600b6000611014611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541461108f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108690613d28565b60405180910390fd5b60c8601054106110df576011543410156110de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d590613da8565b60405180910390fd5b5b6001600b60006110ed611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061113b611136611ea6565b61239b565b60016007819055505050565b61114f611d73565b60006111596115c3565b73ffffffffffffffffffffffffffffffffffffffff164760405161117c906139d4565b60006040518083038185875af1925050503d80600081146111b9576040519150601f19603f3d011682016040523d82523d6000602084013e6111be565b606091505b50509050806111cc57600080fd5b50565b600c6020528060005260406000206000915090505481565b611202838383604051806020016040528060008152506116a8565b505050565b611218611212611ea6565b8261209f565b611257576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124e90613d68565b60405180910390fd5b611260816123d9565b50565b61126b611d73565b80600e9080519060200190611281929190612f20565b5050565b601260029054906101000a900460ff1681565b600a81815481106112a857600080fd5b906000526020600020016000915090505481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135c90613c68565b60405180910390fd5b80915050919050565b611376611d73565b80601260016101000a81548160ff02191690831515021790555050565b60115481565b6060601260029054906101000a900460ff161561144257600d80546113bd90614033565b80601f01602080910402602001604051908101604052809291908181526020018280546113e990614033565b80156114365780601f1061140b57610100808354040283529160200191611436565b820191906000526020600020905b81548152906001019060200180831161141957829003601f168201915b505050505090506114d0565b600e805461144f90614033565b80601f016020809104026020016040519081016040528092919081815260200182805461147b90614033565b80156114c85780601f1061149d576101008083540402835291602001916114c8565b820191906000526020600020905b8154815290600101906020018083116114ab57829003601f168201915b505050505090505b90565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153b90613ba8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611593611d73565b61159d60006124f6565b565b600981815481106115af57600080fd5b906000526020600020016000915090505481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115fc90614033565b80601f016020809104026020016040519081016040528092919081815260200182805461162890614033565b80156116755780601f1061164a57610100808354040283529160200191611675565b820191906000526020600020905b81548152906001019060200180831161165857829003601f168201915b5050505050905090565b61169161168a611ea6565b83836125bc565b5050565b601260019054906101000a900460ff1681565b6116b96116b3611ea6565b8361209f565b6116f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ef90613d68565b60405180910390fd5b61170484848484612729565b50505050565b611712611d73565b8060118190555050565b606061172782612785565b611766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175d90613c28565b60405180910390fd5b601260029054906101000a900460ff1661180c57600e805461178790614033565b80601f01602080910402602001604051908101604052809291908181526020018280546117b390614033565b80156118005780601f106117d557610100808354040283529160200191611800565b820191906000526020600020905b8154815290600101906020018083116117e357829003601f168201915b50505050509050611818565b611815826127f1565b90505b919050565b60008360008111611863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185a90613b28565b60405180910390fd5b600f54816010546118749190613eb8565b11156118b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ac90613ce8565b60405180910390fd5b600260075414156118fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f290613d88565b60405180910390fd5b6002600781905550601260009054906101000a900460ff16611952576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194990613d08565b60405180910390fd5b61195c8484611f67565b6000600c600061196a611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116119e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119dc90613ca8565b60405180910390fd5b84600b60006119f2611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a379190613eb8565b600c6000611a43611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611abf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab690613c48565b60405180910390fd5b84600b6000611acc611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b159190613eb8565b9250508190555060005b85811015611b4a57611b37611b32611ea6565b61239b565b8080611b4290614096565b915050611b1f565b50600b6000611b57611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c6000611b9e611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611be39190613f3f565b91506001600781905550509392505050565b600f5481565b611c03611d73565b80601260026101000a81548160ff02191690831515021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cbc611d73565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2390613ac8565b60405180910390fd5b611d35816124f6565b50565b611d40611d73565b80601260006101000a81548160ff02191690831515021790555050565b6001816000016000828254019250508190555050565b611d7b611ea6565b73ffffffffffffffffffffffffffffffffffffffff16611d996115c3565b73ffffffffffffffffffffffffffffffffffffffff1614611def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de690613c08565b60405180910390fd5b565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611e6481612785565b611ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9a90613c68565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f21836112bc565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f71611ea6565b604051602001611f819190613995565b60405160208183030381529060405280519060200120905060005b60098054905081101561209957612013848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060098381548110612002576120016141c1565b5b906000526020600020015484612859565b1561208657600a818154811061202c5761202b6141c1565b5b9060005260206000200154600c6000612043611ea6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612099565b808061209190614096565b915050611f9c565b50505050565b6000806120ab836112bc565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120ed57506120ec8185611c20565b5b8061212b57508373ffffffffffffffffffffffffffffffffffffffff1661211384610b37565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612154826112bc565b73ffffffffffffffffffffffffffffffffffffffff16146121aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a190613ae8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561221a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221190613b68565b60405180910390fd5b612225838383612870565b612230600082611eae565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122809190613f3f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122d79190613eb8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612396838383612875565b505050565b60006123a7600861287a565b90506123b36008611d5d565b601060008154809291906123c690614096565b91905055506123d58282612888565b5050565b60006123e4826112bc565b90506123f281600084612870565b6123fd600083611eae565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461244d9190613f3f565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124f281600084612875565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561262b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262290613b88565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161271c9190613a50565b60405180910390a3505050565b612734848484612134565b612740848484846128a6565b61277f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277690613aa8565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606127fc82611e5b565b6000612806612a3d565b905060008151116128265760405180602001604052806000815250612851565b8061283084612acf565b6040516020016128419291906139b0565b6040516020818303038152906040525b915050919050565b6000826128668584612c30565b1490509392505050565b505050565b505050565b600081600001549050919050565b6128a2828260405180602001604052806000815250612c86565b5050565b60006128c78473ffffffffffffffffffffffffffffffffffffffff16612ce1565b15612a30578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128f0611ea6565b8786866040518563ffffffff1660e01b81526004016129129493929190613a04565b602060405180830381600087803b15801561292c57600080fd5b505af192505050801561295d57506040513d601f19601f8201168201806040525081019061295a919061340e565b60015b6129e0573d806000811461298d576040519150601f19603f3d011682016040523d82523d6000602084013e612992565b606091505b506000815114156129d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129cf90613aa8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a35565b600190505b949350505050565b6060600d8054612a4c90614033565b80601f0160208091040260200160405190810160405280929190818152602001828054612a7890614033565b8015612ac55780601f10612a9a57610100808354040283529160200191612ac5565b820191906000526020600020905b815481529060010190602001808311612aa857829003601f168201915b5050505050905090565b60606000821415612b17576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c2b565b600082905060005b60008214612b49578080612b3290614096565b915050600a82612b429190613f0e565b9150612b1f565b60008167ffffffffffffffff811115612b6557612b646141f0565b5b6040519080825280601f01601f191660200182016040528015612b975781602001600182028036833780820191505090505b5090505b60008514612c2457600182612bb09190613f3f565b9150600a85612bbf9190614103565b6030612bcb9190613eb8565b60f81b818381518110612be157612be06141c1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c1d9190613f0e565b9450612b9b565b8093505050505b919050565b60008082905060005b8451811015612c7b57612c6682868381518110612c5957612c586141c1565b5b6020026020010151612d04565b91508080612c7390614096565b915050612c39565b508091505092915050565b612c908383612d2f565b612c9d60008484846128a6565b612cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd390613aa8565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000818310612d1c57612d178284612f09565b612d27565b612d268383612f09565b5b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9690613be8565b60405180910390fd5b612da881612785565b15612de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ddf90613b08565b60405180910390fd5b612df460008383612870565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e449190613eb8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f0560008383612875565b5050565b600082600052816020526040600020905092915050565b828054612f2c90614033565b90600052602060002090601f016020900481019282612f4e5760008555612f95565b82601f10612f6757805160ff1916838001178555612f95565b82800160010185558215612f95579182015b82811115612f94578251825591602001919060010190612f79565b5b509050612fa29190612fa6565b5090565b5b80821115612fbf576000816000905550600101612fa7565b5090565b6000612fd6612fd184613e08565b613de3565b905082815260208101848484011115612ff257612ff161422e565b5b612ffd848285613ff1565b509392505050565b600061301861301384613e39565b613de3565b9050828152602081018484840111156130345761303361422e565b5b61303f848285613ff1565b509392505050565b60008135905061305681614801565b92915050565b60008083601f84011261307257613071614224565b5b8235905067ffffffffffffffff81111561308f5761308e61421f565b5b6020830191508360208202830111156130ab576130aa614229565b5b9250929050565b6000813590506130c181614818565b92915050565b6000813590506130d68161482f565b92915050565b6000813590506130eb81614846565b92915050565b60008151905061310081614846565b92915050565b600082601f83011261311b5761311a614224565b5b813561312b848260208601612fc3565b91505092915050565b600082601f83011261314957613148614224565b5b8135613159848260208601613005565b91505092915050565b6000813590506131718161485d565b92915050565b60006020828403121561318d5761318c614238565b5b600061319b84828501613047565b91505092915050565b600080604083850312156131bb576131ba614238565b5b60006131c985828601613047565b92505060206131da85828601613047565b9150509250929050565b6000806000606084860312156131fd576131fc614238565b5b600061320b86828701613047565b935050602061321c86828701613047565b925050604061322d86828701613162565b9150509250925092565b6000806000806080858703121561325157613250614238565b5b600061325f87828801613047565b945050602061327087828801613047565b935050604061328187828801613162565b925050606085013567ffffffffffffffff8111156132a2576132a1614233565b5b6132ae87828801613106565b91505092959194509250565b600080604083850312156132d1576132d0614238565b5b60006132df85828601613047565b92505060206132f0858286016130b2565b9150509250929050565b6000806040838503121561331157613310614238565b5b600061331f85828601613047565b925050602061333085828601613162565b9150509250929050565b6000806020838503121561335157613350614238565b5b600083013567ffffffffffffffff81111561336f5761336e614233565b5b61337b8582860161305c565b92509250509250929050565b60006020828403121561339d5761339c614238565b5b60006133ab848285016130b2565b91505092915050565b6000602082840312156133ca576133c9614238565b5b60006133d8848285016130c7565b91505092915050565b6000602082840312156133f7576133f6614238565b5b6000613405848285016130dc565b91505092915050565b60006020828403121561342457613423614238565b5b6000613432848285016130f1565b91505092915050565b60006020828403121561345157613450614238565b5b600082013567ffffffffffffffff81111561346f5761346e614233565b5b61347b84828501613134565b91505092915050565b60006020828403121561349a57613499614238565b5b60006134a884828501613162565b91505092915050565b6000806000604084860312156134ca576134c9614238565b5b60006134d886828701613162565b935050602084013567ffffffffffffffff8111156134f9576134f8614233565b5b6135058682870161305c565b92509250509250925092565b61351a81613f73565b82525050565b61353161352c82613f73565b6140df565b82525050565b61354081613f85565b82525050565b61354f81613f91565b82525050565b600061356082613e6a565b61356a8185613e80565b935061357a818560208601614000565b6135838161423d565b840191505092915050565b600061359982613e75565b6135a38185613e9c565b93506135b3818560208601614000565b6135bc8161423d565b840191505092915050565b60006135d282613e75565b6135dc8185613ead565b93506135ec818560208601614000565b80840191505092915050565b6000613605603283613e9c565b91506136108261425b565b604082019050919050565b6000613628602683613e9c565b9150613633826142aa565b604082019050919050565b600061364b602583613e9c565b9150613656826142f9565b604082019050919050565b600061366e601c83613e9c565b915061367982614348565b602082019050919050565b6000613691601483613e9c565b915061369c82614371565b602082019050919050565b60006136b4601c83613e9c565b91506136bf8261439a565b602082019050919050565b60006136d7602483613e9c565b91506136e2826143c3565b604082019050919050565b60006136fa601983613e9c565b915061370582614412565b602082019050919050565b600061371d602983613e9c565b91506137288261443b565b604082019050919050565b6000613740603e83613e9c565b915061374b8261448a565b604082019050919050565b6000613763602083613e9c565b915061376e826144d9565b602082019050919050565b6000613786602083613e9c565b915061379182614502565b602082019050919050565b60006137a9602f83613e9c565b91506137b48261452b565b604082019050919050565b60006137cc601d83613e9c565b91506137d78261457a565b602082019050919050565b60006137ef601883613e9c565b91506137fa826145a3565b602082019050919050565b6000613812602183613e9c565b915061381d826145cc565b604082019050919050565b6000613835602083613e9c565b91506138408261461b565b602082019050919050565b6000613858602083613e9c565b915061386382614644565b602082019050919050565b600061387b600083613e91565b91506138868261466d565b600082019050919050565b600061389e601483613e9c565b91506138a982614670565b602082019050919050565b60006138c1602283613e9c565b91506138cc82614699565b604082019050919050565b60006138e4602783613e9c565b91506138ef826146e8565b604082019050919050565b6000613907601f83613e9c565b915061391282614737565b602082019050919050565b600061392a602e83613e9c565b915061393582614760565b604082019050919050565b600061394d601f83613e9c565b9150613958826147af565b602082019050919050565b6000613970601483613e9c565b915061397b826147d8565b602082019050919050565b61398f81613fe7565b82525050565b60006139a18284613520565b60148201915081905092915050565b60006139bc82856135c7565b91506139c882846135c7565b91508190509392505050565b60006139df8261386e565b9150819050919050565b60006020820190506139fe6000830184613511565b92915050565b6000608082019050613a196000830187613511565b613a266020830186613511565b613a336040830185613986565b8181036060830152613a458184613555565b905095945050505050565b6000602082019050613a656000830184613537565b92915050565b6000602082019050613a806000830184613546565b92915050565b60006020820190508181036000830152613aa0818461358e565b905092915050565b60006020820190508181036000830152613ac1816135f8565b9050919050565b60006020820190508181036000830152613ae18161361b565b9050919050565b60006020820190508181036000830152613b018161363e565b9050919050565b60006020820190508181036000830152613b2181613661565b9050919050565b60006020820190508181036000830152613b4181613684565b9050919050565b60006020820190508181036000830152613b61816136a7565b9050919050565b60006020820190508181036000830152613b81816136ca565b9050919050565b60006020820190508181036000830152613ba1816136ed565b9050919050565b60006020820190508181036000830152613bc181613710565b9050919050565b60006020820190508181036000830152613be181613733565b9050919050565b60006020820190508181036000830152613c0181613756565b9050919050565b60006020820190508181036000830152613c2181613779565b9050919050565b60006020820190508181036000830152613c418161379c565b9050919050565b60006020820190508181036000830152613c61816137bf565b9050919050565b60006020820190508181036000830152613c81816137e2565b9050919050565b60006020820190508181036000830152613ca181613805565b9050919050565b60006020820190508181036000830152613cc181613828565b9050919050565b60006020820190508181036000830152613ce18161384b565b9050919050565b60006020820190508181036000830152613d0181613891565b9050919050565b60006020820190508181036000830152613d21816138b4565b9050919050565b60006020820190508181036000830152613d41816138d7565b9050919050565b60006020820190508181036000830152613d61816138fa565b9050919050565b60006020820190508181036000830152613d818161391d565b9050919050565b60006020820190508181036000830152613da181613940565b9050919050565b60006020820190508181036000830152613dc181613963565b9050919050565b6000602082019050613ddd6000830184613986565b92915050565b6000613ded613dfe565b9050613df98282614065565b919050565b6000604051905090565b600067ffffffffffffffff821115613e2357613e226141f0565b5b613e2c8261423d565b9050602081019050919050565b600067ffffffffffffffff821115613e5457613e536141f0565b5b613e5d8261423d565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ec382613fe7565b9150613ece83613fe7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f0357613f02614134565b5b828201905092915050565b6000613f1982613fe7565b9150613f2483613fe7565b925082613f3457613f33614163565b5b828204905092915050565b6000613f4a82613fe7565b9150613f5583613fe7565b925082821015613f6857613f67614134565b5b828203905092915050565b6000613f7e82613fc7565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561401e578082015181840152602081019050614003565b8381111561402d576000848401525b50505050565b6000600282049050600182168061404b57607f821691505b6020821081141561405f5761405e614192565b5b50919050565b61406e8261423d565b810181811067ffffffffffffffff8211171561408d5761408c6141f0565b5b80604052505050565b60006140a182613fe7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156140d4576140d3614134565b5b600182019050919050565b60006140ea826140f1565b9050919050565b60006140fc8261424e565b9050919050565b600061410e82613fe7565b915061411983613fe7565b92508261412957614128614163565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f4d696e7420616d6f756e742063616e206e6f7420657863656564203100000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4e756d626572206f6620616c6c6f77616e636520657863656564656421000000600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f546869732061646472657373206973206e6f742077686974656c697374656421600082015250565b7f546865207075626c6963206d696e74206973206e6f74206f70656e2079657421600082015250565b50565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f5468652077686974656c6973742073616c65206973206e6f7420656e61626c6560008201527f6421000000000000000000000000000000000000000000000000000000000000602082015250565b7f596f75206861766520616c7265616479206d696e746564206174206c6561737460008201527f2031204e46542100000000000000000000000000000000000000000000000000602082015250565b7f5468652061646472657373206973206e6f742077686974656c69737465642100600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f496e76616c696420707269636520696e70757421000000000000000000000000600082015250565b61480a81613f73565b811461481557600080fd5b50565b61482181613f85565b811461482c57600080fd5b50565b61483881613f91565b811461484357600080fd5b50565b61484f81613f9b565b811461485a57600080fd5b50565b61486681613fe7565b811461487157600080fd5b5056fea2646970667358221220f2aa30b5dd6330029a74bb6f886e2274806d2c88c3de66b32d67d54ff4b8bd5064736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d574779756657645a64764631756971386e366a654e54436b6a6a6738634d5538654b674136745863443348512f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d57466671355179744b564c754d6932503262736270413865424a563435504a51696373744d337044634c35432f00000000000000000000

-----Decoded View---------------
Arg [0] : _baseMetadataUri (string): ipfs://QmWGyufWdZdvF1uiq8n6jeNTCkjjg8cMU8eKgA6tXcD3HQ/
Arg [1] : _hiddenMetadataUri (string): ipfs://QmWFfq5QytKVLuMi2P2bsbpA8eBJV45PJQicstM3pDcL5C/

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d574779756657645a64764631756971386e366a654e5443
Arg [4] : 6b6a6a6738634d5538654b674136745863443348512f00000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [6] : 697066733a2f2f516d57466671355179744b564c754d69325032627362704138
Arg [7] : 65424a563435504a51696373744d337044634c35432f00000000000000000000


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.