ETH Price: $2,543.25 (-4.47%)
Gas: 1 Gwei

Token

NeuralMixArt (NMA)
 

Overview

Max Total Supply

397 NMA

Holders

201

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
78646.eth
Balance
2 NMA
0xd4e673945c2702ff763cfd76343a4ff8ea0b62db
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:
NeuralMixArt

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : NMA.sol
// SPDX-License-Identifier: MIT


// ███╗   ██╗███████╗██╗   ██╗██████╗  █████╗ ██╗     ███╗   ███╗██╗██╗  ██╗     █████╗ ██████╗ ████████╗
// ████╗  ██║██╔════╝██║   ██║██╔══██╗██╔══██╗██║     ████╗ ████║██║╚██╗██╔╝    ██╔══██╗██╔══██╗╚══██╔══╝
// ██╔██╗ ██║█████╗  ██║   ██║██████╔╝███████║██║     ██╔████╔██║██║ ╚███╔╝     ███████║██████╔╝   ██║   
// ██║╚██╗██║██╔══╝  ██║   ██║██╔══██╗██╔══██║██║     ██║╚██╔╝██║██║ ██╔██╗     ██╔══██║██╔══██╗   ██║   
// ██║ ╚████║███████╗╚██████╔╝██║  ██║██║  ██║███████╗██║ ╚═╝ ██║██║██╔╝ ██╗    ██║  ██║██║  ██║   ██║   
// ╚═╝  ╚═══╝╚══════╝ ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝╚══════╝╚═╝     ╚═╝╚═╝╚═╝  ╚═╝    ╚═╝  ╚═╝╚═╝  ╚═╝   ╚═╝   

// Project Website: https://neuralmix.art
// Project Twitter: https://twitter.com/NeuralMixArt
// Minting date: Nov 15th '22 4PM UTC
// Minting info: no WL, first 1500 free FCFS 2 per wallet, then 0.02 ETH 10 per tx

// by @bilozir_eth


pragma solidity ^0.8.9;

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

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

    bytes32 public root;
    
    address proxyRegistryAddress;

    uint256 public maxSupply = 5000;
    uint256 public maxFreeSupply = 1500;

    string public baseURI; 
    string public notRevealedUri = "ipfs://QmUGvfT2GatG4i3Auo3YQ2UYJfkipQrUjS9PXyvGvmAJ7N/hidden.json";
    string public baseExtension = ".json";

    bool public paused = true;
    bool public revealed = false;
    bool public presaleM = false;
    bool public publicM = false;

    uint256 freeAmountLimit = 2;
    uint256 public maxMintAmount = 10;
    mapping(address => uint256) public _freeClaimed;

    uint256 public _price = 20000000000000000; // 0.02 ETH
    uint256 public _freePrice = 0; // 0 ETH

    Counters.Counter private _tokenIds;


    constructor(string memory uri, bytes32 merkleroot, address _proxyRegistryAddress)
        ERC721("NeuralMixArt", "NMA")
        ReentrancyGuard() // A modifier that can prevent reentrancy during certain functions
    {
        root = merkleroot;
        proxyRegistryAddress = _proxyRegistryAddress;

        setBaseURI(uri);
    }

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

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

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

    function setMerkleRoot(bytes32 merkleroot) 
    onlyOwner 
    public 
    {
        root = merkleroot;
    }

    modifier onlyAccounts () {
        require(msg.sender == tx.origin, "Not allowed origin");
        _;
    }

    modifier isValidMerkleProof(bytes32[] calldata _proof) {
         require(MerkleProof.verify(
            _proof,
            root,
            keccak256(abi.encodePacked(msg.sender))
            ) == true, "Not allowed origin");
        _;
   }

    function togglePause() public onlyOwner {
        paused = !paused;
    }

    function togglePresale() public onlyOwner {
        presaleM = !presaleM;
    }

    function togglePublicSale() public onlyOwner {
        publicM = !publicM;
    }


    function freeMint(uint256 _amount)
    external
    payable
    onlyAccounts
    {
        require(presaleM,                       "Presale is OFF");
        require(!paused,                        "Contract is paused");
        require(
            _amount <= freeAmountLimit,      "You can't mint so much tokens");
        require(
            _freeClaimed[msg.sender] + _amount <= freeAmountLimit,  "You can't mint so much tokens");


        uint current = _tokenIds.current();

        require(
            current + _amount <= maxFreeSupply,
            "Max presale supply exceeded"
        );
        require(
            _freePrice * _amount <= msg.value,
            "Not enough ethers sent"
        );
             
        _freeClaimed[msg.sender] += _amount;

        for (uint i = 0; i < _amount; i++) {
            mintInternal();
        }
    }

    function publicSaleMint(uint256 _amount) 
    external 
    payable
    onlyAccounts
    {
        require(publicM, "PublicSale is OFF");
        require(!paused, "Contract is paused");
        require(_amount > 0, "Zero amount");
        require(
            _amount <= maxMintAmount,      "You can't mint more then 10 per tx");
        uint current = _tokenIds.current();

        require(
            current + _amount <= maxSupply,
            "Max supply exceeded"
        );
        require(
            _price * _amount <= msg.value,
            "Not enough ethers sent"
        );
        
        
        for (uint i = 0; i < _amount; i++) {
            mintInternal();
        }
    }

    function mintInternal() internal nonReentrant {
        _tokenIds.increment();

        uint256 tokenId = _tokenIds.current();
        _safeMint(msg.sender, tokenId);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        if (revealed == false) {
            return notRevealedUri;
        }

        string memory currentBaseURI = _baseURI();
    
        return
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        tokenId.toString(),
                        baseExtension
                    )
                )
                : "";
    }
    function setMintPrice(uint256 newPrice) public onlyOwner {
        require(newPrice >= 0, "NMA price must be greater than zero");
        _price = newPrice;
    }
    function setPreSaleMintPrice(uint256 newPresalePrice) public onlyOwner {
        require(newPresalePrice >= 0, "NMA price must be greater than zero");
        _freePrice = newPresalePrice;
    }

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

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

    function totalSupply() public view returns (uint) {
        return _tokenIds.current();
    }
    address private constant treasuryAddress =
        0xC1DA2dAfd2A70D5bbf04638bc685D4463C8fE498;

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        Address.sendValue(payable(treasuryAddress), balance);
    }

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
     */
    function isApprovedForAll(address owner, address operator)
        override
        public
        view
        returns (bool)
    {
        // Whitelist OpenSea proxy contract for easy trading.
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        if (address(proxyRegistry.proxies(owner)) == operator) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }
}



/**
  @title An OpenSea delegate proxy contract which we include for whitelisting.
  @author OpenSea
*/
contract OwnableDelegateProxy {}

/**
  @title An OpenSea proxy registry contract which we include for whitelisting.
  @author OpenSea
*/
contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

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

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _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) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

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

File 3 of 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 4 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * 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.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
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 simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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 sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _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}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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 5 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (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() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

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 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 = _ownerOf(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 or 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 or 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 or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @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 _ownerOf(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, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

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

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

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @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. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256, /* firstTokenId */
        uint256 batchSize
    ) internal virtual {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}
}

File 8 of 15 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 9 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 10 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 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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.8.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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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":"uri","type":"string"},{"internalType":"bytes32","name":"merkleroot","type":"bytes32"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_freeClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_freePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_price","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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"payable","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":"maxFreeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleM","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicM","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleroot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPresalePrice","type":"uint256"}],"name":"setPreSaleMintPrice","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":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052611388600a556105dc600b55604051806080016040528060418152602001620051e560419139600d90805190602001906200004192919062000428565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600e90805190602001906200008f92919062000428565b506001600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055506000600f60026101000a81548160ff0219169083151502179055506000600f60036101000a81548160ff0219169083151502179055506002601055600a60115566470de4df82000060135560006014553480156200012357600080fd5b506040516200522638038062005226833981810160405281019062000149919062000715565b6040518060400160405280600c81526020017f4e657572616c4d697841727400000000000000000000000000000000000000008152506040518060400160405280600381526020017f4e4d4100000000000000000000000000000000000000000000000000000000008152508160009080519060200190620001cd92919062000428565b508060019080519060200190620001e692919062000428565b50505062000209620001fd6200027360201b60201c565b6200027b60201b60201c565b60016007819055508160088190555080600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200026a836200034160201b60201c565b50505062000878565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003516200036d60201b60201c565b80600c90805190602001906200036992919062000428565b5050565b6200037d6200027360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003a3620003fe60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003fc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003f390620007f1565b60405180910390fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620004369062000842565b90600052602060002090601f0160209004810192826200045a5760008555620004a6565b82601f106200047557805160ff1916838001178555620004a6565b82800160010185558215620004a6579182015b82811115620004a557825182559160200191906001019062000488565b5b509050620004b59190620004b9565b5090565b5b80821115620004d4576000816000905550600101620004ba565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200054182620004f6565b810181811067ffffffffffffffff8211171562000563576200056262000507565b5b80604052505050565b600062000578620004d8565b905062000586828262000536565b919050565b600067ffffffffffffffff821115620005a957620005a862000507565b5b620005b482620004f6565b9050602081019050919050565b60005b83811015620005e1578082015181840152602081019050620005c4565b83811115620005f1576000848401525b50505050565b60006200060e62000608846200058b565b6200056c565b9050828152602081018484840111156200062d576200062c620004f1565b5b6200063a848285620005c1565b509392505050565b600082601f8301126200065a5762000659620004ec565b5b81516200066c848260208601620005f7565b91505092915050565b6000819050919050565b6200068a8162000675565b81146200069657600080fd5b50565b600081519050620006aa816200067f565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006dd82620006b0565b9050919050565b620006ef81620006d0565b8114620006fb57600080fd5b50565b6000815190506200070f81620006e4565b92915050565b600080600060608486031215620007315762000730620004e2565b5b600084015167ffffffffffffffff811115620007525762000751620004e7565b5b620007608682870162000642565b9350506020620007738682870162000699565b92505060406200078686828701620006fe565b9150509250925092565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620007d960208362000790565b9150620007e682620007a1565b602082019050919050565b600060208201905081810360008301526200080c81620007ca565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200085b57607f821691505b6020821081141562000872576200087162000813565b5b50919050565b61495d80620008886000396000f3fe6080604052600436106102675760003560e01c80637857ee4211610144578063c4ae3168116100b6578063e222c7f91161007a578063e222c7f9146108a6578063e985e9c5146108bd578063ebf0c717146108fa578063f2c4ce1e14610925578063f2fde38b1461094e578063f4a0a5281461097757610267565b8063c4ae3168146107d3578063c6682862146107ea578063c87b56dd14610815578063d5abeb0114610852578063da3ef23f1461087d57610267565b80639a943b3b116101085780639a943b3b146106f8578063a22cb46514610723578063a45063c01461074c578063a475b5dd14610777578063b3ab66b01461078e578063b88d4fde146107aa57610267565b80637857ee42146106205780637c928fe91461065d5780637cb64759146106795780638da5cb5b146106a257806395d89b41146106cd57610267565b80633b9ee7e4116101dd57806355f804b3116101a157806355f804b3146105105780635c975abb146105395780636352211e146105645780636c0360eb146105a157806370a08231146105cc578063715018a61461060957610267565b80633b9ee7e4146104515780633ccfd60b1461047a57806342842e0e1461049157806347513334146104ba57806351830227146104e557610267565b80631798d58b1161022f5780631798d58b1461036557806318160ddd14610390578063235b6ea1146103bb578063239c70ae146103e657806323b872dd14610411578063343937431461043a57610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063081c8c4414610311578063095ea7b31461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613040565b6109a0565b6040516102a09190613088565b60405180910390f35b3480156102b557600080fd5b506102be610a82565b6040516102cb919061313c565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613194565b610b14565b6040516103089190613202565b60405180910390f35b34801561031d57600080fd5b50610326610b5a565b604051610333919061313c565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e9190613249565b610be8565b005b34801561037157600080fd5b5061037a610d00565b6040516103879190613088565b60405180910390f35b34801561039c57600080fd5b506103a5610d13565b6040516103b29190613298565b60405180910390f35b3480156103c757600080fd5b506103d0610d24565b6040516103dd9190613298565b60405180910390f35b3480156103f257600080fd5b506103fb610d2a565b6040516104089190613298565b60405180910390f35b34801561041d57600080fd5b50610438600480360381019061043391906132b3565b610d30565b005b34801561044657600080fd5b5061044f610d90565b005b34801561045d57600080fd5b5061047860048036038101906104739190613194565b610dc4565b005b34801561048657600080fd5b5061048f610e1a565b005b34801561049d57600080fd5b506104b860048036038101906104b391906132b3565b610e48565b005b3480156104c657600080fd5b506104cf610e68565b6040516104dc9190613298565b60405180910390f35b3480156104f157600080fd5b506104fa610e6e565b6040516105079190613088565b60405180910390f35b34801561051c57600080fd5b506105376004803603810190610532919061343b565b610e81565b005b34801561054557600080fd5b5061054e610ea3565b60405161055b9190613088565b60405180910390f35b34801561057057600080fd5b5061058b60048036038101906105869190613194565b610eb6565b6040516105989190613202565b60405180910390f35b3480156105ad57600080fd5b506105b6610f3d565b6040516105c3919061313c565b60405180910390f35b3480156105d857600080fd5b506105f360048036038101906105ee9190613484565b610fcb565b6040516106009190613298565b60405180910390f35b34801561061557600080fd5b5061061e611083565b005b34801561062c57600080fd5b5061064760048036038101906106429190613484565b611097565b6040516106549190613298565b60405180910390f35b61067760048036038101906106729190613194565b6110af565b005b34801561068557600080fd5b506106a0600480360381019061069b91906134e7565b6113bf565b005b3480156106ae57600080fd5b506106b76113d1565b6040516106c49190613202565b60405180910390f35b3480156106d957600080fd5b506106e26113fb565b6040516106ef919061313c565b60405180910390f35b34801561070457600080fd5b5061070d61148d565b60405161071a9190613298565b60405180910390f35b34801561072f57600080fd5b5061074a60048036038101906107459190613540565b611493565b005b34801561075857600080fd5b506107616114a9565b60405161076e9190613088565b60405180910390f35b34801561078357600080fd5b5061078c6114bc565b005b6107a860048036038101906107a39190613194565b6114e1565b005b3480156107b657600080fd5b506107d160048036038101906107cc9190613621565b61174f565b005b3480156107df57600080fd5b506107e86117b1565b005b3480156107f657600080fd5b506107ff6117e5565b60405161080c919061313c565b60405180910390f35b34801561082157600080fd5b5061083c60048036038101906108379190613194565b611873565b604051610849919061313c565b60405180910390f35b34801561085e57600080fd5b506108676119cc565b6040516108749190613298565b60405180910390f35b34801561088957600080fd5b506108a4600480360381019061089f919061343b565b6119d2565b005b3480156108b257600080fd5b506108bb6119f4565b005b3480156108c957600080fd5b506108e460048036038101906108df91906136a4565b611a28565b6040516108f19190613088565b60405180910390f35b34801561090657600080fd5b5061090f611b2a565b60405161091c91906136f3565b60405180910390f35b34801561093157600080fd5b5061094c6004803603810190610947919061343b565b611b30565b005b34801561095a57600080fd5b5061097560048036038101906109709190613484565b611b52565b005b34801561098357600080fd5b5061099e60048036038101906109999190613194565b611bd6565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a6b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a7b5750610a7a82611c2c565b5b9050919050565b606060008054610a919061373d565b80601f0160208091040260200160405190810160405280929190818152602001828054610abd9061373d565b8015610b0a5780601f10610adf57610100808354040283529160200191610b0a565b820191906000526020600020905b815481529060010190602001808311610aed57829003601f168201915b5050505050905090565b6000610b1f82611c96565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600d8054610b679061373d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b939061373d565b8015610be05780601f10610bb557610100808354040283529160200191610be0565b820191906000526020600020905b815481529060010190602001808311610bc357829003601f168201915b505050505081565b6000610bf382610eb6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5b906137e1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c83611ce1565b73ffffffffffffffffffffffffffffffffffffffff161480610cb25750610cb181610cac611ce1565b611a28565b5b610cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce890613873565b60405180910390fd5b610cfb8383611ce9565b505050565b600f60029054906101000a900460ff1681565b6000610d1f6015611da2565b905090565b60135481565b60115481565b610d41610d3b611ce1565b82611db0565b610d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7790613905565b60405180910390fd5b610d8b838383611e45565b505050565b610d9861213f565b600f60029054906101000a900460ff1615600f60026101000a81548160ff021916908315150217905550565b610dcc61213f565b6000811015610e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0790613997565b60405180910390fd5b8060148190555050565b610e2261213f565b6000479050610e4573c1da2dafd2a70d5bbf04638bc685d4463c8fe498826121bd565b50565b610e638383836040518060200160405280600081525061174f565b505050565b600b5481565b600f60019054906101000a900460ff1681565b610e8961213f565b80600c9080519060200190610e9f929190612f31565b5050565b600f60009054906101000a900460ff1681565b600080610ec2836122b1565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b90613a03565b60405180910390fd5b80915050919050565b600c8054610f4a9061373d565b80601f0160208091040260200160405190810160405280929190818152602001828054610f769061373d565b8015610fc35780601f10610f9857610100808354040283529160200191610fc3565b820191906000526020600020905b815481529060010190602001808311610fa657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561103c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103390613a95565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61108b61213f565b61109560006122ee565b565b60126020528060005260406000206000915090505481565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461111d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111490613b01565b60405180910390fd5b600f60029054906101000a900460ff1661116c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116390613b6d565b60405180910390fd5b600f60009054906101000a900460ff16156111bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b390613bd9565b60405180910390fd5b601054811115611201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f890613c45565b60405180910390fd5b60105481601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461124f9190613c94565b1115611290576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128790613c45565b60405180910390fd5b600061129c6015611da2565b9050600b5482826112ad9190613c94565b11156112ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e590613d36565b60405180910390fd5b34826014546112fd9190613d56565b111561133e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133590613dfc565b60405180910390fd5b81601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461138d9190613c94565b9250508190555060005b828110156113ba576113a76123b4565b80806113b290613e1c565b915050611397565b505050565b6113c761213f565b8060088190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461140a9061373d565b80601f01602080910402602001604051908101604052809291908181526020018280546114369061373d565b80156114835780601f1061145857610100808354040283529160200191611483565b820191906000526020600020905b81548152906001019060200180831161146657829003601f168201915b5050505050905090565b60145481565b6114a561149e611ce1565b83836123e9565b5050565b600f60039054906101000a900460ff1681565b6114c461213f565b6001600f60016101000a81548160ff021916908315150217905550565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461154f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154690613b01565b60405180910390fd5b600f60039054906101000a900460ff1661159e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159590613eb1565b60405180910390fd5b600f60009054906101000a900460ff16156115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e590613bd9565b60405180910390fd5b60008111611631576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162890613f1d565b60405180910390fd5b601154811115611676576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166d90613faf565b60405180910390fd5b60006116826015611da2565b9050600a5482826116939190613c94565b11156116d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cb9061401b565b60405180910390fd5b34826013546116e39190613d56565b1115611724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171b90613dfc565b60405180910390fd5b60005b8281101561174a576117376123b4565b808061174290613e1c565b915050611727565b505050565b61176061175a611ce1565b83611db0565b61179f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179690613905565b60405180910390fd5b6117ab84848484612556565b50505050565b6117b961213f565b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b600e80546117f29061373d565b80601f016020809104026020016040519081016040528092919081815260200182805461181e9061373d565b801561186b5780601f106118405761010080835404028352916020019161186b565b820191906000526020600020905b81548152906001019060200180831161184e57829003601f168201915b505050505081565b606061187e826125b2565b6118bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b4906140ad565b60405180910390fd5b60001515600f60019054906101000a900460ff161515141561196b57600d80546118e69061373d565b80601f01602080910402602001604051908101604052809291908181526020018280546119129061373d565b801561195f5780601f106119345761010080835404028352916020019161195f565b820191906000526020600020905b81548152906001019060200180831161194257829003601f168201915b505050505090506119c7565b60006119756125f3565b9050600081511161199557604051806020016040528060008152506119c3565b8061199f84612685565b600e6040516020016119b39392919061419d565b6040516020818303038152906040525b9150505b919050565b600a5481565b6119da61213f565b80600e90805190602001906119f0929190612f31565b5050565b6119fc61213f565b600f60039054906101000a900460ff1615600f60036101000a81548160ff021916908315150217905550565b600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611aa09190613202565b60206040518083038186803b158015611ab857600080fd5b505afa158015611acc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af0919061420c565b73ffffffffffffffffffffffffffffffffffffffff161415611b16576001915050611b24565b611b20848461275d565b9150505b92915050565b60085481565b611b3861213f565b80600d9080519060200190611b4e929190612f31565b5050565b611b5a61213f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc1906142ab565b60405180910390fd5b611bd3816122ee565b50565b611bde61213f565b6000811015611c22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1990613997565b60405180910390fd5b8060138190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611c9f816125b2565b611cde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd590613a03565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d5c83610eb6565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600080611dbc83610eb6565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611dfe5750611dfd8185611a28565b5b80611e3c57508373ffffffffffffffffffffffffffffffffffffffff16611e2484610b14565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e6582610eb6565b73ffffffffffffffffffffffffffffffffffffffff1614611ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb29061433d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f22906143cf565b60405180910390fd5b611f3883838360016127f1565b8273ffffffffffffffffffffffffffffffffffffffff16611f5882610eb6565b73ffffffffffffffffffffffffffffffffffffffff1614611fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa59061433d565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461213a8383836001612917565b505050565b612147611ce1565b73ffffffffffffffffffffffffffffffffffffffff166121656113d1565b73ffffffffffffffffffffffffffffffffffffffff16146121bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b29061443b565b60405180910390fd5b565b80471015612200576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f7906144a7565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612226906144f8565b60006040518083038185875af1925050503d8060008114612263576040519150601f19603f3d011682016040523d82523d6000602084013e612268565b606091505b50509050806122ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a39061457f565b60405180910390fd5b505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123bc61291d565b6123c6601561296d565b60006123d26015611da2565b90506123de3382612983565b506123e76129a1565b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244f906145eb565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125499190613088565b60405180910390a3505050565b612561848484611e45565b61256d848484846129ab565b6125ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a39061467d565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166125d4836122b1565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600c80546126029061373d565b80601f016020809104026020016040519081016040528092919081815260200182805461262e9061373d565b801561267b5780601f106126505761010080835404028352916020019161267b565b820191906000526020600020905b81548152906001019060200180831161265e57829003601f168201915b5050505050905090565b60606000600161269484612b42565b01905060008167ffffffffffffffff8111156126b3576126b2613310565b5b6040519080825280601f01601f1916602001820160405280156126e55781602001600182028036833780820191505090505b509050600082602001820190505b600115612752578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161273c5761273b61469d565b5b049450600085141561274d57612752565b6126f3565b819350505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600181111561291157600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146128855780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461287d91906146cc565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146129105780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129089190613c94565b925050819055505b5b50505050565b50505050565b60026007541415612963576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295a9061474c565b60405180910390fd5b6002600781905550565b6001816000016000828254019250508190555050565b61299d828260405180602001604052806000815250612c95565b5050565b6001600781905550565b60006129cc8473ffffffffffffffffffffffffffffffffffffffff16612cf0565b15612b35578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129f5611ce1565b8786866040518563ffffffff1660e01b8152600401612a1794939291906147c1565b602060405180830381600087803b158015612a3157600080fd5b505af1925050508015612a6257506040513d601f19601f82011682018060405250810190612a5f9190614822565b60015b612ae5573d8060008114612a92576040519150601f19603f3d011682016040523d82523d6000602084013e612a97565b606091505b50600081511415612add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad49061467d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b3a565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612ba0577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612b9657612b9561469d565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612bdd576d04ee2d6d415b85acef81000000008381612bd357612bd261469d565b5b0492506020810190505b662386f26fc100008310612c0c57662386f26fc100008381612c0257612c0161469d565b5b0492506010810190505b6305f5e1008310612c35576305f5e1008381612c2b57612c2a61469d565b5b0492506008810190505b6127108310612c5a576127108381612c5057612c4f61469d565b5b0492506004810190505b60648310612c7d5760648381612c7357612c7261469d565b5b0492506002810190505b600a8310612c8c576001810190505b80915050919050565b612c9f8383612d13565b612cac60008484846129ab565b612ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce29061467d565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7a9061489b565b60405180910390fd5b612d8c816125b2565b15612dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc390614907565b60405180910390fd5b612dda6000838360016127f1565b612de3816125b2565b15612e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1a90614907565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f2d600083836001612917565b5050565b828054612f3d9061373d565b90600052602060002090601f016020900481019282612f5f5760008555612fa6565b82601f10612f7857805160ff1916838001178555612fa6565b82800160010185558215612fa6579182015b82811115612fa5578251825591602001919060010190612f8a565b5b509050612fb39190612fb7565b5090565b5b80821115612fd0576000816000905550600101612fb8565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61301d81612fe8565b811461302857600080fd5b50565b60008135905061303a81613014565b92915050565b60006020828403121561305657613055612fde565b5b60006130648482850161302b565b91505092915050565b60008115159050919050565b6130828161306d565b82525050565b600060208201905061309d6000830184613079565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156130dd5780820151818401526020810190506130c2565b838111156130ec576000848401525b50505050565b6000601f19601f8301169050919050565b600061310e826130a3565b61311881856130ae565b93506131288185602086016130bf565b613131816130f2565b840191505092915050565b600060208201905081810360008301526131568184613103565b905092915050565b6000819050919050565b6131718161315e565b811461317c57600080fd5b50565b60008135905061318e81613168565b92915050565b6000602082840312156131aa576131a9612fde565b5b60006131b88482850161317f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006131ec826131c1565b9050919050565b6131fc816131e1565b82525050565b600060208201905061321760008301846131f3565b92915050565b613226816131e1565b811461323157600080fd5b50565b6000813590506132438161321d565b92915050565b600080604083850312156132605761325f612fde565b5b600061326e85828601613234565b925050602061327f8582860161317f565b9150509250929050565b6132928161315e565b82525050565b60006020820190506132ad6000830184613289565b92915050565b6000806000606084860312156132cc576132cb612fde565b5b60006132da86828701613234565b93505060206132eb86828701613234565b92505060406132fc8682870161317f565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613348826130f2565b810181811067ffffffffffffffff8211171561336757613366613310565b5b80604052505050565b600061337a612fd4565b9050613386828261333f565b919050565b600067ffffffffffffffff8211156133a6576133a5613310565b5b6133af826130f2565b9050602081019050919050565b82818337600083830152505050565b60006133de6133d98461338b565b613370565b9050828152602081018484840111156133fa576133f961330b565b5b6134058482856133bc565b509392505050565b600082601f83011261342257613421613306565b5b81356134328482602086016133cb565b91505092915050565b60006020828403121561345157613450612fde565b5b600082013567ffffffffffffffff81111561346f5761346e612fe3565b5b61347b8482850161340d565b91505092915050565b60006020828403121561349a57613499612fde565b5b60006134a884828501613234565b91505092915050565b6000819050919050565b6134c4816134b1565b81146134cf57600080fd5b50565b6000813590506134e1816134bb565b92915050565b6000602082840312156134fd576134fc612fde565b5b600061350b848285016134d2565b91505092915050565b61351d8161306d565b811461352857600080fd5b50565b60008135905061353a81613514565b92915050565b6000806040838503121561355757613556612fde565b5b600061356585828601613234565b92505060206135768582860161352b565b9150509250929050565b600067ffffffffffffffff82111561359b5761359a613310565b5b6135a4826130f2565b9050602081019050919050565b60006135c46135bf84613580565b613370565b9050828152602081018484840111156135e0576135df61330b565b5b6135eb8482856133bc565b509392505050565b600082601f83011261360857613607613306565b5b81356136188482602086016135b1565b91505092915050565b6000806000806080858703121561363b5761363a612fde565b5b600061364987828801613234565b945050602061365a87828801613234565b935050604061366b8782880161317f565b925050606085013567ffffffffffffffff81111561368c5761368b612fe3565b5b613698878288016135f3565b91505092959194509250565b600080604083850312156136bb576136ba612fde565b5b60006136c985828601613234565b92505060206136da85828601613234565b9150509250929050565b6136ed816134b1565b82525050565b600060208201905061370860008301846136e4565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061375557607f821691505b602082108114156137695761376861370e565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006137cb6021836130ae565b91506137d68261376f565b604082019050919050565b600060208201905081810360008301526137fa816137be565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b600061385d603d836130ae565b915061386882613801565b604082019050919050565b6000602082019050818103600083015261388c81613850565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b60006138ef602d836130ae565b91506138fa82613893565b604082019050919050565b6000602082019050818103600083015261391e816138e2565b9050919050565b7f4e4d41207072696365206d7573742062652067726561746572207468616e207a60008201527f65726f0000000000000000000000000000000000000000000000000000000000602082015250565b60006139816023836130ae565b915061398c82613925565b604082019050919050565b600060208201905081810360008301526139b081613974565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006139ed6018836130ae565b91506139f8826139b7565b602082019050919050565b60006020820190508181036000830152613a1c816139e0565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613a7f6029836130ae565b9150613a8a82613a23565b604082019050919050565b60006020820190508181036000830152613aae81613a72565b9050919050565b7f4e6f7420616c6c6f776564206f726967696e0000000000000000000000000000600082015250565b6000613aeb6012836130ae565b9150613af682613ab5565b602082019050919050565b60006020820190508181036000830152613b1a81613ade565b9050919050565b7f50726573616c65206973204f4646000000000000000000000000000000000000600082015250565b6000613b57600e836130ae565b9150613b6282613b21565b602082019050919050565b60006020820190508181036000830152613b8681613b4a565b9050919050565b7f436f6e7472616374206973207061757365640000000000000000000000000000600082015250565b6000613bc36012836130ae565b9150613bce82613b8d565b602082019050919050565b60006020820190508181036000830152613bf281613bb6565b9050919050565b7f596f752063616e2774206d696e7420736f206d75636820746f6b656e73000000600082015250565b6000613c2f601d836130ae565b9150613c3a82613bf9565b602082019050919050565b60006020820190508181036000830152613c5e81613c22565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c9f8261315e565b9150613caa8361315e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613cdf57613cde613c65565b5b828201905092915050565b7f4d61782070726573616c6520737570706c792065786365656465640000000000600082015250565b6000613d20601b836130ae565b9150613d2b82613cea565b602082019050919050565b60006020820190508181036000830152613d4f81613d13565b9050919050565b6000613d618261315e565b9150613d6c8361315e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613da557613da4613c65565b5b828202905092915050565b7f4e6f7420656e6f756768206574686572732073656e7400000000000000000000600082015250565b6000613de66016836130ae565b9150613df182613db0565b602082019050919050565b60006020820190508181036000830152613e1581613dd9565b9050919050565b6000613e278261315e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e5a57613e59613c65565b5b600182019050919050565b7f5075626c696353616c65206973204f4646000000000000000000000000000000600082015250565b6000613e9b6011836130ae565b9150613ea682613e65565b602082019050919050565b60006020820190508181036000830152613eca81613e8e565b9050919050565b7f5a65726f20616d6f756e74000000000000000000000000000000000000000000600082015250565b6000613f07600b836130ae565b9150613f1282613ed1565b602082019050919050565b60006020820190508181036000830152613f3681613efa565b9050919050565b7f596f752063616e2774206d696e74206d6f7265207468656e203130207065722060008201527f7478000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f996022836130ae565b9150613fa482613f3d565b604082019050919050565b60006020820190508181036000830152613fc881613f8c565b9050919050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b60006140056013836130ae565b915061401082613fcf565b602082019050919050565b6000602082019050818103600083015261403481613ff8565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614097602f836130ae565b91506140a28261403b565b604082019050919050565b600060208201905081810360008301526140c68161408a565b9050919050565b600081905092915050565b60006140e3826130a3565b6140ed81856140cd565b93506140fd8185602086016130bf565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461412b8161373d565b61413581866140cd565b94506001821660008114614150576001811461416157614194565b60ff19831686528186019350614194565b61416a85614109565b60005b8381101561418c5781548189015260018201915060208101905061416d565b838801955050505b50505092915050565b60006141a982866140d8565b91506141b582856140d8565b91506141c1828461411e565b9150819050949350505050565b60006141d9826131e1565b9050919050565b6141e9816141ce565b81146141f457600080fd5b50565b600081519050614206816141e0565b92915050565b60006020828403121561422257614221612fde565b5b6000614230848285016141f7565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006142956026836130ae565b91506142a082614239565b604082019050919050565b600060208201905081810360008301526142c481614288565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006143276025836130ae565b9150614332826142cb565b604082019050919050565b600060208201905081810360008301526143568161431a565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006143b96024836130ae565b91506143c48261435d565b604082019050919050565b600060208201905081810360008301526143e8816143ac565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006144256020836130ae565b9150614430826143ef565b602082019050919050565b6000602082019050818103600083015261445481614418565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614491601d836130ae565b915061449c8261445b565b602082019050919050565b600060208201905081810360008301526144c081614484565b9050919050565b600081905092915050565b50565b60006144e26000836144c7565b91506144ed826144d2565b600082019050919050565b6000614503826144d5565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614569603a836130ae565b91506145748261450d565b604082019050919050565b600060208201905081810360008301526145988161455c565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006145d56019836130ae565b91506145e08261459f565b602082019050919050565b60006020820190508181036000830152614604816145c8565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006146676032836130ae565b91506146728261460b565b604082019050919050565b600060208201905081810360008301526146968161465a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146d78261315e565b91506146e28361315e565b9250828210156146f5576146f4613c65565b5b828203905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614736601f836130ae565b915061474182614700565b602082019050919050565b6000602082019050818103600083015261476581614729565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006147938261476c565b61479d8185614777565b93506147ad8185602086016130bf565b6147b6816130f2565b840191505092915050565b60006080820190506147d660008301876131f3565b6147e360208301866131f3565b6147f06040830185613289565b81810360608301526148028184614788565b905095945050505050565b60008151905061481c81613014565b92915050565b60006020828403121561483857614837612fde565b5b60006148468482850161480d565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006148856020836130ae565b91506148908261484f565b602082019050919050565b600060208201905081810360008301526148b481614878565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006148f1601c836130ae565b91506148fc826148bb565b602082019050919050565b60006020820190508181036000830152614920816148e4565b905091905056fea2646970667358221220b9673536d4a7897fd4d75c8017ea512ce34139ed465084b47cffb21683c2fbec64736f6c63430008090033697066733a2f2f516d5547766654324761744734693341756f3359513255594a666b69705172556a53395058797647766d414a374e2f68696464656e2e6a736f6e0000000000000000000000000000000000000000000000000000000000000060b5e469efb31090f2e3cffb6eaa515c23db2f4bd7213cf8f14dc5c8d8969ab48f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000000000000000022727000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102675760003560e01c80637857ee4211610144578063c4ae3168116100b6578063e222c7f91161007a578063e222c7f9146108a6578063e985e9c5146108bd578063ebf0c717146108fa578063f2c4ce1e14610925578063f2fde38b1461094e578063f4a0a5281461097757610267565b8063c4ae3168146107d3578063c6682862146107ea578063c87b56dd14610815578063d5abeb0114610852578063da3ef23f1461087d57610267565b80639a943b3b116101085780639a943b3b146106f8578063a22cb46514610723578063a45063c01461074c578063a475b5dd14610777578063b3ab66b01461078e578063b88d4fde146107aa57610267565b80637857ee42146106205780637c928fe91461065d5780637cb64759146106795780638da5cb5b146106a257806395d89b41146106cd57610267565b80633b9ee7e4116101dd57806355f804b3116101a157806355f804b3146105105780635c975abb146105395780636352211e146105645780636c0360eb146105a157806370a08231146105cc578063715018a61461060957610267565b80633b9ee7e4146104515780633ccfd60b1461047a57806342842e0e1461049157806347513334146104ba57806351830227146104e557610267565b80631798d58b1161022f5780631798d58b1461036557806318160ddd14610390578063235b6ea1146103bb578063239c70ae146103e657806323b872dd14610411578063343937431461043a57610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063081c8c4414610311578063095ea7b31461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613040565b6109a0565b6040516102a09190613088565b60405180910390f35b3480156102b557600080fd5b506102be610a82565b6040516102cb919061313c565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613194565b610b14565b6040516103089190613202565b60405180910390f35b34801561031d57600080fd5b50610326610b5a565b604051610333919061313c565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e9190613249565b610be8565b005b34801561037157600080fd5b5061037a610d00565b6040516103879190613088565b60405180910390f35b34801561039c57600080fd5b506103a5610d13565b6040516103b29190613298565b60405180910390f35b3480156103c757600080fd5b506103d0610d24565b6040516103dd9190613298565b60405180910390f35b3480156103f257600080fd5b506103fb610d2a565b6040516104089190613298565b60405180910390f35b34801561041d57600080fd5b50610438600480360381019061043391906132b3565b610d30565b005b34801561044657600080fd5b5061044f610d90565b005b34801561045d57600080fd5b5061047860048036038101906104739190613194565b610dc4565b005b34801561048657600080fd5b5061048f610e1a565b005b34801561049d57600080fd5b506104b860048036038101906104b391906132b3565b610e48565b005b3480156104c657600080fd5b506104cf610e68565b6040516104dc9190613298565b60405180910390f35b3480156104f157600080fd5b506104fa610e6e565b6040516105079190613088565b60405180910390f35b34801561051c57600080fd5b506105376004803603810190610532919061343b565b610e81565b005b34801561054557600080fd5b5061054e610ea3565b60405161055b9190613088565b60405180910390f35b34801561057057600080fd5b5061058b60048036038101906105869190613194565b610eb6565b6040516105989190613202565b60405180910390f35b3480156105ad57600080fd5b506105b6610f3d565b6040516105c3919061313c565b60405180910390f35b3480156105d857600080fd5b506105f360048036038101906105ee9190613484565b610fcb565b6040516106009190613298565b60405180910390f35b34801561061557600080fd5b5061061e611083565b005b34801561062c57600080fd5b5061064760048036038101906106429190613484565b611097565b6040516106549190613298565b60405180910390f35b61067760048036038101906106729190613194565b6110af565b005b34801561068557600080fd5b506106a0600480360381019061069b91906134e7565b6113bf565b005b3480156106ae57600080fd5b506106b76113d1565b6040516106c49190613202565b60405180910390f35b3480156106d957600080fd5b506106e26113fb565b6040516106ef919061313c565b60405180910390f35b34801561070457600080fd5b5061070d61148d565b60405161071a9190613298565b60405180910390f35b34801561072f57600080fd5b5061074a60048036038101906107459190613540565b611493565b005b34801561075857600080fd5b506107616114a9565b60405161076e9190613088565b60405180910390f35b34801561078357600080fd5b5061078c6114bc565b005b6107a860048036038101906107a39190613194565b6114e1565b005b3480156107b657600080fd5b506107d160048036038101906107cc9190613621565b61174f565b005b3480156107df57600080fd5b506107e86117b1565b005b3480156107f657600080fd5b506107ff6117e5565b60405161080c919061313c565b60405180910390f35b34801561082157600080fd5b5061083c60048036038101906108379190613194565b611873565b604051610849919061313c565b60405180910390f35b34801561085e57600080fd5b506108676119cc565b6040516108749190613298565b60405180910390f35b34801561088957600080fd5b506108a4600480360381019061089f919061343b565b6119d2565b005b3480156108b257600080fd5b506108bb6119f4565b005b3480156108c957600080fd5b506108e460048036038101906108df91906136a4565b611a28565b6040516108f19190613088565b60405180910390f35b34801561090657600080fd5b5061090f611b2a565b60405161091c91906136f3565b60405180910390f35b34801561093157600080fd5b5061094c6004803603810190610947919061343b565b611b30565b005b34801561095a57600080fd5b5061097560048036038101906109709190613484565b611b52565b005b34801561098357600080fd5b5061099e60048036038101906109999190613194565b611bd6565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a6b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a7b5750610a7a82611c2c565b5b9050919050565b606060008054610a919061373d565b80601f0160208091040260200160405190810160405280929190818152602001828054610abd9061373d565b8015610b0a5780601f10610adf57610100808354040283529160200191610b0a565b820191906000526020600020905b815481529060010190602001808311610aed57829003601f168201915b5050505050905090565b6000610b1f82611c96565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600d8054610b679061373d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b939061373d565b8015610be05780601f10610bb557610100808354040283529160200191610be0565b820191906000526020600020905b815481529060010190602001808311610bc357829003601f168201915b505050505081565b6000610bf382610eb6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5b906137e1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c83611ce1565b73ffffffffffffffffffffffffffffffffffffffff161480610cb25750610cb181610cac611ce1565b611a28565b5b610cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce890613873565b60405180910390fd5b610cfb8383611ce9565b505050565b600f60029054906101000a900460ff1681565b6000610d1f6015611da2565b905090565b60135481565b60115481565b610d41610d3b611ce1565b82611db0565b610d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7790613905565b60405180910390fd5b610d8b838383611e45565b505050565b610d9861213f565b600f60029054906101000a900460ff1615600f60026101000a81548160ff021916908315150217905550565b610dcc61213f565b6000811015610e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0790613997565b60405180910390fd5b8060148190555050565b610e2261213f565b6000479050610e4573c1da2dafd2a70d5bbf04638bc685d4463c8fe498826121bd565b50565b610e638383836040518060200160405280600081525061174f565b505050565b600b5481565b600f60019054906101000a900460ff1681565b610e8961213f565b80600c9080519060200190610e9f929190612f31565b5050565b600f60009054906101000a900460ff1681565b600080610ec2836122b1565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b90613a03565b60405180910390fd5b80915050919050565b600c8054610f4a9061373d565b80601f0160208091040260200160405190810160405280929190818152602001828054610f769061373d565b8015610fc35780601f10610f9857610100808354040283529160200191610fc3565b820191906000526020600020905b815481529060010190602001808311610fa657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561103c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103390613a95565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61108b61213f565b61109560006122ee565b565b60126020528060005260406000206000915090505481565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461111d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111490613b01565b60405180910390fd5b600f60029054906101000a900460ff1661116c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116390613b6d565b60405180910390fd5b600f60009054906101000a900460ff16156111bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b390613bd9565b60405180910390fd5b601054811115611201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f890613c45565b60405180910390fd5b60105481601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461124f9190613c94565b1115611290576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128790613c45565b60405180910390fd5b600061129c6015611da2565b9050600b5482826112ad9190613c94565b11156112ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e590613d36565b60405180910390fd5b34826014546112fd9190613d56565b111561133e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133590613dfc565b60405180910390fd5b81601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461138d9190613c94565b9250508190555060005b828110156113ba576113a76123b4565b80806113b290613e1c565b915050611397565b505050565b6113c761213f565b8060088190555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461140a9061373d565b80601f01602080910402602001604051908101604052809291908181526020018280546114369061373d565b80156114835780601f1061145857610100808354040283529160200191611483565b820191906000526020600020905b81548152906001019060200180831161146657829003601f168201915b5050505050905090565b60145481565b6114a561149e611ce1565b83836123e9565b5050565b600f60039054906101000a900460ff1681565b6114c461213f565b6001600f60016101000a81548160ff021916908315150217905550565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461154f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154690613b01565b60405180910390fd5b600f60039054906101000a900460ff1661159e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159590613eb1565b60405180910390fd5b600f60009054906101000a900460ff16156115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e590613bd9565b60405180910390fd5b60008111611631576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162890613f1d565b60405180910390fd5b601154811115611676576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166d90613faf565b60405180910390fd5b60006116826015611da2565b9050600a5482826116939190613c94565b11156116d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cb9061401b565b60405180910390fd5b34826013546116e39190613d56565b1115611724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171b90613dfc565b60405180910390fd5b60005b8281101561174a576117376123b4565b808061174290613e1c565b915050611727565b505050565b61176061175a611ce1565b83611db0565b61179f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179690613905565b60405180910390fd5b6117ab84848484612556565b50505050565b6117b961213f565b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b600e80546117f29061373d565b80601f016020809104026020016040519081016040528092919081815260200182805461181e9061373d565b801561186b5780601f106118405761010080835404028352916020019161186b565b820191906000526020600020905b81548152906001019060200180831161184e57829003601f168201915b505050505081565b606061187e826125b2565b6118bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b4906140ad565b60405180910390fd5b60001515600f60019054906101000a900460ff161515141561196b57600d80546118e69061373d565b80601f01602080910402602001604051908101604052809291908181526020018280546119129061373d565b801561195f5780601f106119345761010080835404028352916020019161195f565b820191906000526020600020905b81548152906001019060200180831161194257829003601f168201915b505050505090506119c7565b60006119756125f3565b9050600081511161199557604051806020016040528060008152506119c3565b8061199f84612685565b600e6040516020016119b39392919061419d565b6040516020818303038152906040525b9150505b919050565b600a5481565b6119da61213f565b80600e90805190602001906119f0929190612f31565b5050565b6119fc61213f565b600f60039054906101000a900460ff1615600f60036101000a81548160ff021916908315150217905550565b600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611aa09190613202565b60206040518083038186803b158015611ab857600080fd5b505afa158015611acc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af0919061420c565b73ffffffffffffffffffffffffffffffffffffffff161415611b16576001915050611b24565b611b20848461275d565b9150505b92915050565b60085481565b611b3861213f565b80600d9080519060200190611b4e929190612f31565b5050565b611b5a61213f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc1906142ab565b60405180910390fd5b611bd3816122ee565b50565b611bde61213f565b6000811015611c22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1990613997565b60405180910390fd5b8060138190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611c9f816125b2565b611cde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd590613a03565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d5c83610eb6565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600080611dbc83610eb6565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611dfe5750611dfd8185611a28565b5b80611e3c57508373ffffffffffffffffffffffffffffffffffffffff16611e2484610b14565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e6582610eb6565b73ffffffffffffffffffffffffffffffffffffffff1614611ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb29061433d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f22906143cf565b60405180910390fd5b611f3883838360016127f1565b8273ffffffffffffffffffffffffffffffffffffffff16611f5882610eb6565b73ffffffffffffffffffffffffffffffffffffffff1614611fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa59061433d565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461213a8383836001612917565b505050565b612147611ce1565b73ffffffffffffffffffffffffffffffffffffffff166121656113d1565b73ffffffffffffffffffffffffffffffffffffffff16146121bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b29061443b565b60405180910390fd5b565b80471015612200576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f7906144a7565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612226906144f8565b60006040518083038185875af1925050503d8060008114612263576040519150601f19603f3d011682016040523d82523d6000602084013e612268565b606091505b50509050806122ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a39061457f565b60405180910390fd5b505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123bc61291d565b6123c6601561296d565b60006123d26015611da2565b90506123de3382612983565b506123e76129a1565b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244f906145eb565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125499190613088565b60405180910390a3505050565b612561848484611e45565b61256d848484846129ab565b6125ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a39061467d565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166125d4836122b1565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600c80546126029061373d565b80601f016020809104026020016040519081016040528092919081815260200182805461262e9061373d565b801561267b5780601f106126505761010080835404028352916020019161267b565b820191906000526020600020905b81548152906001019060200180831161265e57829003601f168201915b5050505050905090565b60606000600161269484612b42565b01905060008167ffffffffffffffff8111156126b3576126b2613310565b5b6040519080825280601f01601f1916602001820160405280156126e55781602001600182028036833780820191505090505b509050600082602001820190505b600115612752578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161273c5761273b61469d565b5b049450600085141561274d57612752565b6126f3565b819350505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600181111561291157600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146128855780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461287d91906146cc565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146129105780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129089190613c94565b925050819055505b5b50505050565b50505050565b60026007541415612963576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295a9061474c565b60405180910390fd5b6002600781905550565b6001816000016000828254019250508190555050565b61299d828260405180602001604052806000815250612c95565b5050565b6001600781905550565b60006129cc8473ffffffffffffffffffffffffffffffffffffffff16612cf0565b15612b35578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129f5611ce1565b8786866040518563ffffffff1660e01b8152600401612a1794939291906147c1565b602060405180830381600087803b158015612a3157600080fd5b505af1925050508015612a6257506040513d601f19601f82011682018060405250810190612a5f9190614822565b60015b612ae5573d8060008114612a92576040519150601f19603f3d011682016040523d82523d6000602084013e612a97565b606091505b50600081511415612add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad49061467d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b3a565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612ba0577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612b9657612b9561469d565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612bdd576d04ee2d6d415b85acef81000000008381612bd357612bd261469d565b5b0492506020810190505b662386f26fc100008310612c0c57662386f26fc100008381612c0257612c0161469d565b5b0492506010810190505b6305f5e1008310612c35576305f5e1008381612c2b57612c2a61469d565b5b0492506008810190505b6127108310612c5a576127108381612c5057612c4f61469d565b5b0492506004810190505b60648310612c7d5760648381612c7357612c7261469d565b5b0492506002810190505b600a8310612c8c576001810190505b80915050919050565b612c9f8383612d13565b612cac60008484846129ab565b612ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce29061467d565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7a9061489b565b60405180910390fd5b612d8c816125b2565b15612dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc390614907565b60405180910390fd5b612dda6000838360016127f1565b612de3816125b2565b15612e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1a90614907565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f2d600083836001612917565b5050565b828054612f3d9061373d565b90600052602060002090601f016020900481019282612f5f5760008555612fa6565b82601f10612f7857805160ff1916838001178555612fa6565b82800160010185558215612fa6579182015b82811115612fa5578251825591602001919060010190612f8a565b5b509050612fb39190612fb7565b5090565b5b80821115612fd0576000816000905550600101612fb8565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61301d81612fe8565b811461302857600080fd5b50565b60008135905061303a81613014565b92915050565b60006020828403121561305657613055612fde565b5b60006130648482850161302b565b91505092915050565b60008115159050919050565b6130828161306d565b82525050565b600060208201905061309d6000830184613079565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156130dd5780820151818401526020810190506130c2565b838111156130ec576000848401525b50505050565b6000601f19601f8301169050919050565b600061310e826130a3565b61311881856130ae565b93506131288185602086016130bf565b613131816130f2565b840191505092915050565b600060208201905081810360008301526131568184613103565b905092915050565b6000819050919050565b6131718161315e565b811461317c57600080fd5b50565b60008135905061318e81613168565b92915050565b6000602082840312156131aa576131a9612fde565b5b60006131b88482850161317f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006131ec826131c1565b9050919050565b6131fc816131e1565b82525050565b600060208201905061321760008301846131f3565b92915050565b613226816131e1565b811461323157600080fd5b50565b6000813590506132438161321d565b92915050565b600080604083850312156132605761325f612fde565b5b600061326e85828601613234565b925050602061327f8582860161317f565b9150509250929050565b6132928161315e565b82525050565b60006020820190506132ad6000830184613289565b92915050565b6000806000606084860312156132cc576132cb612fde565b5b60006132da86828701613234565b93505060206132eb86828701613234565b92505060406132fc8682870161317f565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613348826130f2565b810181811067ffffffffffffffff8211171561336757613366613310565b5b80604052505050565b600061337a612fd4565b9050613386828261333f565b919050565b600067ffffffffffffffff8211156133a6576133a5613310565b5b6133af826130f2565b9050602081019050919050565b82818337600083830152505050565b60006133de6133d98461338b565b613370565b9050828152602081018484840111156133fa576133f961330b565b5b6134058482856133bc565b509392505050565b600082601f83011261342257613421613306565b5b81356134328482602086016133cb565b91505092915050565b60006020828403121561345157613450612fde565b5b600082013567ffffffffffffffff81111561346f5761346e612fe3565b5b61347b8482850161340d565b91505092915050565b60006020828403121561349a57613499612fde565b5b60006134a884828501613234565b91505092915050565b6000819050919050565b6134c4816134b1565b81146134cf57600080fd5b50565b6000813590506134e1816134bb565b92915050565b6000602082840312156134fd576134fc612fde565b5b600061350b848285016134d2565b91505092915050565b61351d8161306d565b811461352857600080fd5b50565b60008135905061353a81613514565b92915050565b6000806040838503121561355757613556612fde565b5b600061356585828601613234565b92505060206135768582860161352b565b9150509250929050565b600067ffffffffffffffff82111561359b5761359a613310565b5b6135a4826130f2565b9050602081019050919050565b60006135c46135bf84613580565b613370565b9050828152602081018484840111156135e0576135df61330b565b5b6135eb8482856133bc565b509392505050565b600082601f83011261360857613607613306565b5b81356136188482602086016135b1565b91505092915050565b6000806000806080858703121561363b5761363a612fde565b5b600061364987828801613234565b945050602061365a87828801613234565b935050604061366b8782880161317f565b925050606085013567ffffffffffffffff81111561368c5761368b612fe3565b5b613698878288016135f3565b91505092959194509250565b600080604083850312156136bb576136ba612fde565b5b60006136c985828601613234565b92505060206136da85828601613234565b9150509250929050565b6136ed816134b1565b82525050565b600060208201905061370860008301846136e4565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061375557607f821691505b602082108114156137695761376861370e565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006137cb6021836130ae565b91506137d68261376f565b604082019050919050565b600060208201905081810360008301526137fa816137be565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b600061385d603d836130ae565b915061386882613801565b604082019050919050565b6000602082019050818103600083015261388c81613850565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b60006138ef602d836130ae565b91506138fa82613893565b604082019050919050565b6000602082019050818103600083015261391e816138e2565b9050919050565b7f4e4d41207072696365206d7573742062652067726561746572207468616e207a60008201527f65726f0000000000000000000000000000000000000000000000000000000000602082015250565b60006139816023836130ae565b915061398c82613925565b604082019050919050565b600060208201905081810360008301526139b081613974565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006139ed6018836130ae565b91506139f8826139b7565b602082019050919050565b60006020820190508181036000830152613a1c816139e0565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613a7f6029836130ae565b9150613a8a82613a23565b604082019050919050565b60006020820190508181036000830152613aae81613a72565b9050919050565b7f4e6f7420616c6c6f776564206f726967696e0000000000000000000000000000600082015250565b6000613aeb6012836130ae565b9150613af682613ab5565b602082019050919050565b60006020820190508181036000830152613b1a81613ade565b9050919050565b7f50726573616c65206973204f4646000000000000000000000000000000000000600082015250565b6000613b57600e836130ae565b9150613b6282613b21565b602082019050919050565b60006020820190508181036000830152613b8681613b4a565b9050919050565b7f436f6e7472616374206973207061757365640000000000000000000000000000600082015250565b6000613bc36012836130ae565b9150613bce82613b8d565b602082019050919050565b60006020820190508181036000830152613bf281613bb6565b9050919050565b7f596f752063616e2774206d696e7420736f206d75636820746f6b656e73000000600082015250565b6000613c2f601d836130ae565b9150613c3a82613bf9565b602082019050919050565b60006020820190508181036000830152613c5e81613c22565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c9f8261315e565b9150613caa8361315e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613cdf57613cde613c65565b5b828201905092915050565b7f4d61782070726573616c6520737570706c792065786365656465640000000000600082015250565b6000613d20601b836130ae565b9150613d2b82613cea565b602082019050919050565b60006020820190508181036000830152613d4f81613d13565b9050919050565b6000613d618261315e565b9150613d6c8361315e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613da557613da4613c65565b5b828202905092915050565b7f4e6f7420656e6f756768206574686572732073656e7400000000000000000000600082015250565b6000613de66016836130ae565b9150613df182613db0565b602082019050919050565b60006020820190508181036000830152613e1581613dd9565b9050919050565b6000613e278261315e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e5a57613e59613c65565b5b600182019050919050565b7f5075626c696353616c65206973204f4646000000000000000000000000000000600082015250565b6000613e9b6011836130ae565b9150613ea682613e65565b602082019050919050565b60006020820190508181036000830152613eca81613e8e565b9050919050565b7f5a65726f20616d6f756e74000000000000000000000000000000000000000000600082015250565b6000613f07600b836130ae565b9150613f1282613ed1565b602082019050919050565b60006020820190508181036000830152613f3681613efa565b9050919050565b7f596f752063616e2774206d696e74206d6f7265207468656e203130207065722060008201527f7478000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f996022836130ae565b9150613fa482613f3d565b604082019050919050565b60006020820190508181036000830152613fc881613f8c565b9050919050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b60006140056013836130ae565b915061401082613fcf565b602082019050919050565b6000602082019050818103600083015261403481613ff8565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614097602f836130ae565b91506140a28261403b565b604082019050919050565b600060208201905081810360008301526140c68161408a565b9050919050565b600081905092915050565b60006140e3826130a3565b6140ed81856140cd565b93506140fd8185602086016130bf565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461412b8161373d565b61413581866140cd565b94506001821660008114614150576001811461416157614194565b60ff19831686528186019350614194565b61416a85614109565b60005b8381101561418c5781548189015260018201915060208101905061416d565b838801955050505b50505092915050565b60006141a982866140d8565b91506141b582856140d8565b91506141c1828461411e565b9150819050949350505050565b60006141d9826131e1565b9050919050565b6141e9816141ce565b81146141f457600080fd5b50565b600081519050614206816141e0565b92915050565b60006020828403121561422257614221612fde565b5b6000614230848285016141f7565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006142956026836130ae565b91506142a082614239565b604082019050919050565b600060208201905081810360008301526142c481614288565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006143276025836130ae565b9150614332826142cb565b604082019050919050565b600060208201905081810360008301526143568161431a565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006143b96024836130ae565b91506143c48261435d565b604082019050919050565b600060208201905081810360008301526143e8816143ac565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006144256020836130ae565b9150614430826143ef565b602082019050919050565b6000602082019050818103600083015261445481614418565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614491601d836130ae565b915061449c8261445b565b602082019050919050565b600060208201905081810360008301526144c081614484565b9050919050565b600081905092915050565b50565b60006144e26000836144c7565b91506144ed826144d2565b600082019050919050565b6000614503826144d5565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614569603a836130ae565b91506145748261450d565b604082019050919050565b600060208201905081810360008301526145988161455c565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006145d56019836130ae565b91506145e08261459f565b602082019050919050565b60006020820190508181036000830152614604816145c8565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006146676032836130ae565b91506146728261460b565b604082019050919050565b600060208201905081810360008301526146968161465a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146d78261315e565b91506146e28361315e565b9250828210156146f5576146f4613c65565b5b828203905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614736601f836130ae565b915061474182614700565b602082019050919050565b6000602082019050818103600083015261476581614729565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006147938261476c565b61479d8185614777565b93506147ad8185602086016130bf565b6147b6816130f2565b840191505092915050565b60006080820190506147d660008301876131f3565b6147e360208301866131f3565b6147f06040830185613289565b81810360608301526148028184614788565b905095945050505050565b60008151905061481c81613014565b92915050565b60006020828403121561483857614837612fde565b5b60006148468482850161480d565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006148856020836130ae565b91506148908261484f565b602082019050919050565b600060208201905081810360008301526148b481614878565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006148f1601c836130ae565b91506148fc826148bb565b602082019050919050565b60006020820190508181036000830152614920816148e4565b905091905056fea2646970667358221220b9673536d4a7897fd4d75c8017ea512ce34139ed465084b47cffb21683c2fbec64736f6c63430008090033

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

0000000000000000000000000000000000000000000000000000000000000060b5e469efb31090f2e3cffb6eaa515c23db2f4bd7213cf8f14dc5c8d8969ab48f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000000000000000022727000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : uri (string): ''
Arg [1] : merkleroot (bytes32): 0xb5e469efb31090f2e3cffb6eaa515c23db2f4bd7213cf8f14dc5c8d8969ab48f
Arg [2] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : b5e469efb31090f2e3cffb6eaa515c23db2f4bd7213cf8f14dc5c8d8969ab48f
Arg [2] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [4] : 2727000000000000000000000000000000000000000000000000000000000000


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.