Token Daosaur

 

Overview [ERC-721]

Max Total Supply:
0 DAOSAUR

Holders:
176

Transfers:
-

 
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Daosaur

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

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

/// @custom:security-contact [email protected]
contract Daosaur is ERC721, ERC721URIStorage, Pausable, Ownable {
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdCounter;

    bool public isPublicMintEnabled = false;
    bool public isWhitelistMintEnabled = false;
    bool public isRevealed = false;
    string public unrevealedUri =
        "ipfs://QmegjuBW29miRNTjaQNQR7xMgtnGwgHYy1LnhvmGyphoVx/";
    string private _baseURIextended;
    uint256 public maxSupply = 3333;
    bytes32 public whitelistRoot;
    bytes32 public freeMintRoot;
    uint256 public maxPerWallet = 5;
    uint256 public maxPerWalletWhitelist = 3;
    uint256 public maxPerWalletFreeMint = 1;
    uint256 public whitelistMintPrice = 8 ether / 100; // 0.08 ether
    uint256 public mintPrice = 1 ether / 10; // 0.1 ether

    constructor() ERC721("Daosaur", "DAOSAUR") {}

    function setWhitelistRoot(bytes32 whitelistSignature) external onlyOwner {
        whitelistRoot = whitelistSignature;
    }

    function setFreeMintRoot(bytes32 freeMintSignature) external onlyOwner {
        freeMintRoot = freeMintSignature;
    }

    function setIsWhitelistMintEnabled(bool enabled) external onlyOwner {
        isWhitelistMintEnabled = enabled;
    }

    function setIsPublicMintEnabled(bool enabled) external onlyOwner {
        isWhitelistMintEnabled = false;
        isPublicMintEnabled = enabled;
    }

    function setIsRevealed(bool enabled) external onlyOwner {
        isRevealed = enabled;
    }

    function setBaseURI(string memory uri) external onlyOwner {
        _baseURIextended = uri;
    }

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    function safeMint(bytes32[] calldata proof, uint256 quantity)
        public
        payable
    {
        if (isWhitelistMintEnabled) {
            bool isFreeMintWallet = MerkleProof.verify(
                proof,
                freeMintRoot,
                keccak256(abi.encodePacked(msg.sender))
            );
            if (isFreeMintWallet) {
                require(
                    balanceOf(msg.sender) + quantity <= maxPerWalletFreeMint,
                    "You cannot mint more than 1 Daosaurs via freemint"
                );
            } else {
                require(
                    MerkleProof.verify(
                        proof,
                        whitelistRoot,
                        keccak256(abi.encodePacked(msg.sender))
                    ),
                    "Public mint not available yet, only whitelisted wallets can mint at the moment."
                );
                require(
                    msg.value >= (quantity * whitelistMintPrice),
                    "Not enough ETH sent"
                );
                require(
                    balanceOf(msg.sender) + quantity <= maxPerWalletWhitelist,
                    "You cannot mint more than 3 Daosaurs during the Whitelisted sell"
                );
            }
        } else {
            require(isPublicMintEnabled, "Public mint not available yet.");
            require(msg.value >= (quantity * mintPrice), "Not enough ETH sent");
            require(
                balanceOf(msg.sender) + quantity <= maxPerWallet,
                "You cannot mint more than 5 Daosaurs during the public sell"
            );
        }
        require(_tokenIdCounter.current() + quantity <= maxSupply, "Sold out.");
        for (uint256 i = 0; i < quantity; i++) {
            uint256 tokenId = _tokenIdCounter.current();
            _tokenIdCounter.increment();
            _safeMint(msg.sender, tokenId);
        }
    }

    function partner(address[] calldata addresses) public onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            uint256 tokenId = _tokenIdCounter.current();
            require(_tokenIdCounter.current() <= maxSupply, "Sold out.");
            _tokenIdCounter.increment();
            _safeMint(msg.sender, tokenId);
            safeTransferFrom(msg.sender, addresses[i], tokenId);
        }
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721, ERC721URIStorage)
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        if (!isRevealed) {
            return unrevealedUri;
        }

        string memory baseURI = _baseURIextended;
        return
            bytes(baseURI).length > 0
                ? string(abi.encodePacked(baseURI, Strings.toString(tokenId)))
                : "";
    }

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

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

    // The following functions are overrides required by Solidity.

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

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

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 3 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev 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++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

File 6 of 15 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 7 of 15 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

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

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

        return super.tokenURI(tokenId);
    }

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

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

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

File 8 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        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: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {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 a {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 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 {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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

File 9 of 15 : 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.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 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.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 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":[],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMintRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"isPublicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhitelistMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletWhitelist","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":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"partner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"payable","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":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"freeMintSignature","type":"bytes32"}],"name":"setFreeMintRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setIsPublicMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setIsRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setIsWhitelistMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"whitelistSignature","type":"bytes32"}],"name":"setWhitelistRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unrevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600960006101000a81548160ff0219169083151502179055506000600960016101000a81548160ff0219169083151502179055506000600960026101000a81548160ff02191690831515021790555060405180606001604052806036815260200162004c9b60369139600a90805190602001906200008692919062000271565b50610d05600c556005600f556003601055600160115567011c37937e08000060125567016345785d8a0000601355348015620000c157600080fd5b506040518060400160405280600781526020017f44616f73617572000000000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f44414f534155520000000000000000000000000000000000000000000000000081525081600090805190602001906200014692919062000271565b5080600190805190602001906200015f92919062000271565b5050506000600760006101000a81548160ff0219169083151502179055506200019d62000191620001a360201b60201c565b620001ab60201b60201c565b62000386565b600033905090565b6000600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200027f9062000321565b90600052602060002090601f016020900481019282620002a35760008555620002ef565b82601f10620002be57805160ff1916838001178555620002ef565b82800160010185558215620002ef579182015b82811115620002ee578251825591602001919060010190620002d1565b5b509050620002fe919062000302565b5090565b5b808211156200031d57600081600090555060010162000303565b5090565b600060028204905060018216806200033a57607f821691505b6020821081141562000351576200035062000357565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61490580620003966000396000f3fe60806040526004361061023b5760003560e01c80636352211e1161012e578063b88d4fde116100ab578063e68d79f81161006f578063e68d79f814610817578063e985e9c514610833578063ee03ddf914610870578063f2fde38b14610899578063f5aa406d146108c25761023b565b8063b88d4fde14610732578063c02c1bcd1461075b578063c87b56dd14610786578063cbae5987146107c3578063d5abeb01146107ec5761023b565b80638456cb59116100f25780638456cb59146106715780638da5cb5b1461068857806395d89b41146106b3578063a22cb465146106de578063a886c377146107075761023b565b80636352211e1461058c5780636817c76c146105c957806370a08231146105f457806370c4257514610631578063715018a61461065a5761023b565b8063386bfc98116101bc57806349a5980a1161018057806349a5980a146104b957806351aaceab146104e257806354214f691461050d57806355f804b3146105385780635c975abb146105615761023b565b8063386bfc981461040c5780633ccfd60b146104375780633f4ba83a1461044e57806342842e0e14610465578063453c23101461048e5761023b565b80631be19ad9116102035780631be19ad9146103395780632373ac221461036457806323b872dd1461038d57806335c6aaf8146103b657806336a4e19b146103e15761023b565b80630116bc2d1461024057806301ffc9a71461026b57806306fdde03146102a8578063081812fc146102d3578063095ea7b314610310575b600080fd5b34801561024c57600080fd5b506102556108eb565b60405161026291906139ba565b60405180910390f35b34801561027757600080fd5b50610292600480360381019061028d91906133bf565b6108fe565b60405161029f91906139ba565b60405180910390f35b3480156102b457600080fd5b506102bd6109e0565b6040516102ca91906139f0565b60405180910390f35b3480156102df57600080fd5b506102fa60048036038101906102f59190613452565b610a72565b6040516103079190613953565b60405180910390f35b34801561031c57600080fd5b5061033760048036038101906103329190613294565b610af7565b005b34801561034557600080fd5b5061034e610c0f565b60405161035b9190613d32565b60405180910390f35b34801561037057600080fd5b5061038b6004803603810190610386919061336d565b610c15565b005b34801561039957600080fd5b506103b460048036038101906103af919061318e565b610cc9565b005b3480156103c257600080fd5b506103cb610d29565b6040516103d89190613d32565b60405180910390f35b3480156103ed57600080fd5b506103f6610d2f565b6040516104039190613d32565b60405180910390f35b34801561041857600080fd5b50610421610d35565b60405161042e91906139d5565b60405180910390f35b34801561044357600080fd5b5061044c610d3b565b005b34801561045a57600080fd5b50610463610e30565b005b34801561047157600080fd5b5061048c6004803603810190610487919061318e565b610eb6565b005b34801561049a57600080fd5b506104a3610ed6565b6040516104b09190613d32565b60405180910390f35b3480156104c557600080fd5b506104e060048036038101906104db919061336d565b610edc565b005b3480156104ee57600080fd5b506104f7610f75565b60405161050491906139ba565b60405180910390f35b34801561051957600080fd5b50610522610f88565b60405161052f91906139ba565b60405180910390f35b34801561054457600080fd5b5061055f600480360381019061055a9190613411565b610f9b565b005b34801561056d57600080fd5b50610576611031565b60405161058391906139ba565b60405180910390f35b34801561059857600080fd5b506105b360048036038101906105ae9190613452565b611048565b6040516105c09190613953565b60405180910390f35b3480156105d557600080fd5b506105de6110fa565b6040516105eb9190613d32565b60405180910390f35b34801561060057600080fd5b5061061b60048036038101906106169190613129565b611100565b6040516106289190613d32565b60405180910390f35b34801561063d57600080fd5b5061065860048036038101906106539190613396565b6111b8565b005b34801561066657600080fd5b5061066f61123e565b005b34801561067d57600080fd5b506106866112c6565b005b34801561069457600080fd5b5061069d61134c565b6040516106aa9190613953565b60405180910390f35b3480156106bf57600080fd5b506106c8611376565b6040516106d591906139f0565b60405180910390f35b3480156106ea57600080fd5b5061070560048036038101906107009190613258565b611408565b005b34801561071357600080fd5b5061071c61141e565b60405161072991906139d5565b60405180910390f35b34801561073e57600080fd5b50610759600480360381019061075491906131dd565b611424565b005b34801561076757600080fd5b50610770611486565b60405161077d91906139f0565b60405180910390f35b34801561079257600080fd5b506107ad60048036038101906107a89190613452565b611514565b6040516107ba91906139f0565b60405180910390f35b3480156107cf57600080fd5b506107ea60048036038101906107e5919061336d565b6116e5565b005b3480156107f857600080fd5b5061080161177e565b60405161080e9190613d32565b60405180910390f35b610831600480360381019061082c9190613315565b611784565b005b34801561083f57600080fd5b5061085a60048036038101906108559190613152565b611b6e565b60405161086791906139ba565b60405180910390f35b34801561087c57600080fd5b50610897600480360381019061089291906132d0565b611c02565b005b3480156108a557600080fd5b506108c060048036038101906108bb9190613129565b611d6d565b005b3480156108ce57600080fd5b506108e960048036038101906108e49190613396565b611e65565b005b600960009054906101000a900460ff1681565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109c957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109d957506109d882611eeb565b5b9050919050565b6060600080546109ef90613ff7565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1b90613ff7565b8015610a685780601f10610a3d57610100808354040283529160200191610a68565b820191906000526020600020905b815481529060010190602001808311610a4b57829003601f168201915b5050505050905090565b6000610a7d82611f55565b610abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab390613c52565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b0282611048565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6a90613cd2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b92611fc1565b73ffffffffffffffffffffffffffffffffffffffff161480610bc15750610bc081610bbb611fc1565b611b6e565b5b610c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf790613b92565b60405180910390fd5b610c0a8383611fc9565b505050565b60115481565b610c1d611fc1565b73ffffffffffffffffffffffffffffffffffffffff16610c3b61134c565b73ffffffffffffffffffffffffffffffffffffffff1614610c91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8890613c72565b60405180910390fd5b6000600960016101000a81548160ff02191690831515021790555080600960006101000a81548160ff02191690831515021790555050565b610cda610cd4611fc1565b82612082565b610d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1090613cf2565b60405180910390fd5b610d24838383612160565b505050565b60125481565b60105481565b600d5481565b610d43611fc1565b73ffffffffffffffffffffffffffffffffffffffff16610d6161134c565b73ffffffffffffffffffffffffffffffffffffffff1614610db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dae90613c72565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610ddd9061393e565b60006040518083038185875af1925050503d8060008114610e1a576040519150601f19603f3d011682016040523d82523d6000602084013e610e1f565b606091505b5050905080610e2d57600080fd5b50565b610e38611fc1565b73ffffffffffffffffffffffffffffffffffffffff16610e5661134c565b73ffffffffffffffffffffffffffffffffffffffff1614610eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea390613c72565b60405180910390fd5b610eb46123c7565b565b610ed183838360405180602001604052806000815250611424565b505050565b600f5481565b610ee4611fc1565b73ffffffffffffffffffffffffffffffffffffffff16610f0261134c565b73ffffffffffffffffffffffffffffffffffffffff1614610f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4f90613c72565b60405180910390fd5b80600960026101000a81548160ff02191690831515021790555050565b600960019054906101000a900460ff1681565b600960029054906101000a900460ff1681565b610fa3611fc1565b73ffffffffffffffffffffffffffffffffffffffff16610fc161134c565b73ffffffffffffffffffffffffffffffffffffffff1614611017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100e90613c72565b60405180910390fd5b80600b908051906020019061102d929190612ea4565b5050565b6000600760009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e890613bd2565b60405180910390fd5b80915050919050565b60135481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116890613bb2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111c0611fc1565b73ffffffffffffffffffffffffffffffffffffffff166111de61134c565b73ffffffffffffffffffffffffffffffffffffffff1614611234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122b90613c72565b60405180910390fd5b80600e8190555050565b611246611fc1565b73ffffffffffffffffffffffffffffffffffffffff1661126461134c565b73ffffffffffffffffffffffffffffffffffffffff16146112ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b190613c72565b60405180910390fd5b6112c46000612469565b565b6112ce611fc1565b73ffffffffffffffffffffffffffffffffffffffff166112ec61134c565b73ffffffffffffffffffffffffffffffffffffffff1614611342576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133990613c72565b60405180910390fd5b61134a61252f565b565b6000600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461138590613ff7565b80601f01602080910402602001604051908101604052809291908181526020018280546113b190613ff7565b80156113fe5780601f106113d3576101008083540402835291602001916113fe565b820191906000526020600020905b8154815290600101906020018083116113e157829003601f168201915b5050505050905090565b61141a611413611fc1565b83836125d2565b5050565b600e5481565b61143561142f611fc1565b83612082565b611474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146b90613cf2565b60405180910390fd5b6114808484848461273f565b50505050565b600a805461149390613ff7565b80601f01602080910402602001604051908101604052809291908181526020018280546114bf90613ff7565b801561150c5780601f106114e15761010080835404028352916020019161150c565b820191906000526020600020905b8154815290600101906020018083116114ef57829003601f168201915b505050505081565b606061151f82611f55565b61155e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155590613c92565b60405180910390fd5b600960029054906101000a900460ff1661160457600a805461157f90613ff7565b80601f01602080910402602001604051908101604052809291908181526020018280546115ab90613ff7565b80156115f85780601f106115cd576101008083540402835291602001916115f8565b820191906000526020600020905b8154815290600101906020018083116115db57829003601f168201915b505050505090506116e0565b6000600b805461161390613ff7565b80601f016020809104026020016040519081016040528092919081815260200182805461163f90613ff7565b801561168c5780601f106116615761010080835404028352916020019161168c565b820191906000526020600020905b81548152906001019060200180831161166f57829003601f168201915b5050505050905060008151116116b157604051806020016040528060008152506116dc565b806116bb8461279b565b6040516020016116cc92919061391a565b6040516020818303038152906040525b9150505b919050565b6116ed611fc1565b73ffffffffffffffffffffffffffffffffffffffff1661170b61134c565b73ffffffffffffffffffffffffffffffffffffffff1614611761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175890613c72565b60405180910390fd5b80600960016101000a81548160ff02191690831515021790555050565b600c5481565b600960019054906101000a900460ff16156119d657600061180f848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e54336040516020016117f491906138ff565b60405160208183030381529060405280519060200120612948565b90508015611874576011548261182433611100565b61182e9190613e22565b111561186f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186690613b72565b60405180910390fd5b6119d0565b6118e8848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d54336040516020016118cd91906138ff565b60405160208183030381529060405280519060200120612948565b611927576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191e90613a12565b60405180910390fd5b601254826119359190613ea9565b341015611977576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196e90613cb2565b60405180910390fd5b6010548261198433611100565b61198e9190613e22565b11156119cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c690613bf2565b60405180910390fd5b5b50611ace565b600960009054906101000a900460ff16611a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1c90613b32565b60405180910390fd5b60135481611a339190613ea9565b341015611a75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6c90613cb2565b60405180910390fd5b600f5481611a8233611100565b611a8c9190613e22565b1115611acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac490613c12565b60405180910390fd5b5b600c5481611adc600861295f565b611ae69190613e22565b1115611b27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1e90613d12565b60405180910390fd5b60005b81811015611b68576000611b3e600861295f565b9050611b4a600861296d565b611b543382612983565b508080611b609061405a565b915050611b2a565b50505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c0a611fc1565b73ffffffffffffffffffffffffffffffffffffffff16611c2861134c565b73ffffffffffffffffffffffffffffffffffffffff1614611c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7590613c72565b60405180910390fd5b60005b82829050811015611d68576000611c98600861295f565b9050600c54611ca7600861295f565b1115611ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdf90613d12565b60405180910390fd5b611cf2600861296d565b611cfc3382612983565b611d5433858585818110611d39577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611d4e9190613129565b83610eb6565b508080611d609061405a565b915050611c81565b505050565b611d75611fc1565b73ffffffffffffffffffffffffffffffffffffffff16611d9361134c565b73ffffffffffffffffffffffffffffffffffffffff1614611de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de090613c72565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5090613a72565b60405180910390fd5b611e6281612469565b50565b611e6d611fc1565b73ffffffffffffffffffffffffffffffffffffffff16611e8b61134c565b73ffffffffffffffffffffffffffffffffffffffff1614611ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed890613c72565b60405180910390fd5b80600d8190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661203c83611048565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061208d82611f55565b6120cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c390613b12565b60405180910390fd5b60006120d783611048565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061211957506121188185611b6e565b5b8061215757508373ffffffffffffffffffffffffffffffffffffffff1661213f84610a72565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661218082611048565b73ffffffffffffffffffffffffffffffffffffffff16146121d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cd90613a92565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223d90613ad2565b60405180910390fd5b6122518383836129a1565b61225c600082611fc9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122ac9190613f03565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123039190613e22565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123c28383836129f9565b505050565b6123cf611031565b61240e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240590613a32565b60405180910390fd5b6000600760006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612452611fc1565b60405161245f9190613953565b60405180910390a1565b6000600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612537611031565b15612577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256e90613b52565b60405180910390fd5b6001600760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125bb611fc1565b6040516125c89190613953565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612641576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263890613af2565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161273291906139ba565b60405180910390a3505050565b61274a848484612160565b612756848484846129fe565b612795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278c90613a52565b60405180910390fd5b50505050565b606060008214156127e3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612943565b600082905060005b600082146128155780806127fe9061405a565b915050600a8261280e9190613e78565b91506127eb565b60008167ffffffffffffffff811115612857577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128895781602001600182028036833780820191505090505b5090505b6000851461293c576001826128a29190613f03565b9150600a856128b191906140c7565b60306128bd9190613e22565b60f81b8183815181106128f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129359190613e78565b945061288d565b8093505050505b919050565b6000826129558584612b95565b1490509392505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b61299d828260405180602001604052806000815250612c30565b5050565b6129a9611031565b156129e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e090613b52565b60405180910390fd5b6129f4838383612c8b565b505050565b505050565b6000612a1f8473ffffffffffffffffffffffffffffffffffffffff16612c90565b15612b88578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a48611fc1565b8786866040518563ffffffff1660e01b8152600401612a6a949392919061396e565b602060405180830381600087803b158015612a8457600080fd5b505af1925050508015612ab557506040513d601f19601f82011682018060405250810190612ab291906133e8565b60015b612b38573d8060008114612ae5576040519150601f19603f3d011682016040523d82523d6000602084013e612aea565b606091505b50600081511415612b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2790613a52565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b8d565b600190505b949350505050565b60008082905060005b8451811015612c25576000858281518110612be2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612c0457612bfd8382612cb3565b9250612c11565b612c0e8184612cb3565b92505b508080612c1d9061405a565b915050612b9e565b508091505092915050565b612c3a8383612cca565b612c4760008484846129fe565b612c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7d90613a52565b60405180910390fd5b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3190613c32565b60405180910390fd5b612d4381611f55565b15612d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7a90613ab2565b60405180910390fd5b612d8f600083836129a1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ddf9190613e22565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ea0600083836129f9565b5050565b828054612eb090613ff7565b90600052602060002090601f016020900481019282612ed25760008555612f19565b82601f10612eeb57805160ff1916838001178555612f19565b82800160010185558215612f19579182015b82811115612f18578251825591602001919060010190612efd565b5b509050612f269190612f2a565b5090565b5b80821115612f43576000816000905550600101612f2b565b5090565b6000612f5a612f5584613d72565b613d4d565b905082815260208101848484011115612f7257600080fd5b612f7d848285613fb5565b509392505050565b6000612f98612f9384613da3565b613d4d565b905082815260208101848484011115612fb057600080fd5b612fbb848285613fb5565b509392505050565b600081359050612fd28161485c565b92915050565b60008083601f840112612fea57600080fd5b8235905067ffffffffffffffff81111561300357600080fd5b60208301915083602082028301111561301b57600080fd5b9250929050565b60008083601f84011261303457600080fd5b8235905067ffffffffffffffff81111561304d57600080fd5b60208301915083602082028301111561306557600080fd5b9250929050565b60008135905061307b81614873565b92915050565b6000813590506130908161488a565b92915050565b6000813590506130a5816148a1565b92915050565b6000815190506130ba816148a1565b92915050565b600082601f8301126130d157600080fd5b81356130e1848260208601612f47565b91505092915050565b600082601f8301126130fb57600080fd5b813561310b848260208601612f85565b91505092915050565b600081359050613123816148b8565b92915050565b60006020828403121561313b57600080fd5b600061314984828501612fc3565b91505092915050565b6000806040838503121561316557600080fd5b600061317385828601612fc3565b925050602061318485828601612fc3565b9150509250929050565b6000806000606084860312156131a357600080fd5b60006131b186828701612fc3565b93505060206131c286828701612fc3565b92505060406131d386828701613114565b9150509250925092565b600080600080608085870312156131f357600080fd5b600061320187828801612fc3565b945050602061321287828801612fc3565b935050604061322387828801613114565b925050606085013567ffffffffffffffff81111561324057600080fd5b61324c878288016130c0565b91505092959194509250565b6000806040838503121561326b57600080fd5b600061327985828601612fc3565b925050602061328a8582860161306c565b9150509250929050565b600080604083850312156132a757600080fd5b60006132b585828601612fc3565b92505060206132c685828601613114565b9150509250929050565b600080602083850312156132e357600080fd5b600083013567ffffffffffffffff8111156132fd57600080fd5b61330985828601612fd8565b92509250509250929050565b60008060006040848603121561332a57600080fd5b600084013567ffffffffffffffff81111561334457600080fd5b61335086828701613022565b9350935050602061336386828701613114565b9150509250925092565b60006020828403121561337f57600080fd5b600061338d8482850161306c565b91505092915050565b6000602082840312156133a857600080fd5b60006133b684828501613081565b91505092915050565b6000602082840312156133d157600080fd5b60006133df84828501613096565b91505092915050565b6000602082840312156133fa57600080fd5b6000613408848285016130ab565b91505092915050565b60006020828403121561342357600080fd5b600082013567ffffffffffffffff81111561343d57600080fd5b613449848285016130ea565b91505092915050565b60006020828403121561346457600080fd5b600061347284828501613114565b91505092915050565b61348481613f37565b82525050565b61349b61349682613f37565b6140a3565b82525050565b6134aa81613f49565b82525050565b6134b981613f55565b82525050565b60006134ca82613dd4565b6134d48185613dea565b93506134e4818560208601613fc4565b6134ed816141b4565b840191505092915050565b600061350382613ddf565b61350d8185613e06565b935061351d818560208601613fc4565b613526816141b4565b840191505092915050565b600061353c82613ddf565b6135468185613e17565b9350613556818560208601613fc4565b80840191505092915050565b600061356f604f83613e06565b915061357a826141d2565b606082019050919050565b6000613592601483613e06565b915061359d82614247565b602082019050919050565b60006135b5603283613e06565b91506135c082614270565b604082019050919050565b60006135d8602683613e06565b91506135e3826142bf565b604082019050919050565b60006135fb602583613e06565b91506136068261430e565b604082019050919050565b600061361e601c83613e06565b91506136298261435d565b602082019050919050565b6000613641602483613e06565b915061364c82614386565b604082019050919050565b6000613664601983613e06565b915061366f826143d5565b602082019050919050565b6000613687602c83613e06565b9150613692826143fe565b604082019050919050565b60006136aa601e83613e06565b91506136b58261444d565b602082019050919050565b60006136cd601083613e06565b91506136d882614476565b602082019050919050565b60006136f0603183613e06565b91506136fb8261449f565b604082019050919050565b6000613713603883613e06565b915061371e826144ee565b604082019050919050565b6000613736602a83613e06565b91506137418261453d565b604082019050919050565b6000613759602983613e06565b91506137648261458c565b604082019050919050565b600061377c604083613e06565b9150613787826145db565b604082019050919050565b600061379f603b83613e06565b91506137aa8261462a565b604082019050919050565b60006137c2602083613e06565b91506137cd82614679565b602082019050919050565b60006137e5602c83613e06565b91506137f0826146a2565b604082019050919050565b6000613808602083613e06565b9150613813826146f1565b602082019050919050565b600061382b602f83613e06565b91506138368261471a565b604082019050919050565b600061384e601383613e06565b915061385982614769565b602082019050919050565b6000613871602183613e06565b915061387c82614792565b604082019050919050565b6000613894600083613dfb565b915061389f826147e1565b600082019050919050565b60006138b7603183613e06565b91506138c2826147e4565b604082019050919050565b60006138da600983613e06565b91506138e582614833565b602082019050919050565b6138f981613fab565b82525050565b600061390b828461348a565b60148201915081905092915050565b60006139268285613531565b91506139328284613531565b91508190509392505050565b600061394982613887565b9150819050919050565b6000602082019050613968600083018461347b565b92915050565b6000608082019050613983600083018761347b565b613990602083018661347b565b61399d60408301856138f0565b81810360608301526139af81846134bf565b905095945050505050565b60006020820190506139cf60008301846134a1565b92915050565b60006020820190506139ea60008301846134b0565b92915050565b60006020820190508181036000830152613a0a81846134f8565b905092915050565b60006020820190508181036000830152613a2b81613562565b9050919050565b60006020820190508181036000830152613a4b81613585565b9050919050565b60006020820190508181036000830152613a6b816135a8565b9050919050565b60006020820190508181036000830152613a8b816135cb565b9050919050565b60006020820190508181036000830152613aab816135ee565b9050919050565b60006020820190508181036000830152613acb81613611565b9050919050565b60006020820190508181036000830152613aeb81613634565b9050919050565b60006020820190508181036000830152613b0b81613657565b9050919050565b60006020820190508181036000830152613b2b8161367a565b9050919050565b60006020820190508181036000830152613b4b8161369d565b9050919050565b60006020820190508181036000830152613b6b816136c0565b9050919050565b60006020820190508181036000830152613b8b816136e3565b9050919050565b60006020820190508181036000830152613bab81613706565b9050919050565b60006020820190508181036000830152613bcb81613729565b9050919050565b60006020820190508181036000830152613beb8161374c565b9050919050565b60006020820190508181036000830152613c0b8161376f565b9050919050565b60006020820190508181036000830152613c2b81613792565b9050919050565b60006020820190508181036000830152613c4b816137b5565b9050919050565b60006020820190508181036000830152613c6b816137d8565b9050919050565b60006020820190508181036000830152613c8b816137fb565b9050919050565b60006020820190508181036000830152613cab8161381e565b9050919050565b60006020820190508181036000830152613ccb81613841565b9050919050565b60006020820190508181036000830152613ceb81613864565b9050919050565b60006020820190508181036000830152613d0b816138aa565b9050919050565b60006020820190508181036000830152613d2b816138cd565b9050919050565b6000602082019050613d4760008301846138f0565b92915050565b6000613d57613d68565b9050613d638282614029565b919050565b6000604051905090565b600067ffffffffffffffff821115613d8d57613d8c614185565b5b613d96826141b4565b9050602081019050919050565b600067ffffffffffffffff821115613dbe57613dbd614185565b5b613dc7826141b4565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613e2d82613fab565b9150613e3883613fab565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e6d57613e6c6140f8565b5b828201905092915050565b6000613e8382613fab565b9150613e8e83613fab565b925082613e9e57613e9d614127565b5b828204905092915050565b6000613eb482613fab565b9150613ebf83613fab565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ef857613ef76140f8565b5b828202905092915050565b6000613f0e82613fab565b9150613f1983613fab565b925082821015613f2c57613f2b6140f8565b5b828203905092915050565b6000613f4282613f8b565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613fe2578082015181840152602081019050613fc7565b83811115613ff1576000848401525b50505050565b6000600282049050600182168061400f57607f821691505b6020821081141561402357614022614156565b5b50919050565b614032826141b4565b810181811067ffffffffffffffff8211171561405157614050614185565b5b80604052505050565b600061406582613fab565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614098576140976140f8565b5b600182019050919050565b60006140ae826140b5565b9050919050565b60006140c0826141c5565b9050919050565b60006140d282613fab565b91506140dd83613fab565b9250826140ed576140ec614127565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5075626c6963206d696e74206e6f7420617661696c61626c65207965742c206f60008201527f6e6c792077686974656c69737465642077616c6c6574732063616e206d696e7460208201527f20617420746865206d6f6d656e742e0000000000000000000000000000000000604082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5075626c6963206d696e74206e6f7420617661696c61626c65207965742e0000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f596f752063616e6e6f74206d696e74206d6f7265207468616e20312044616f7360008201527f617572732076696120667265656d696e74000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f596f752063616e6e6f74206d696e74206d6f7265207468616e20332044616f7360008201527f6175727320647572696e67207468652057686974656c69737465642073656c6c602082015250565b7f596f752063616e6e6f74206d696e74206d6f7265207468616e20352044616f7360008201527f6175727320647572696e6720746865207075626c69632073656c6c0000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768204554482073656e7400000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f536f6c64206f75742e0000000000000000000000000000000000000000000000600082015250565b61486581613f37565b811461487057600080fd5b50565b61487c81613f49565b811461488757600080fd5b50565b61489381613f55565b811461489e57600080fd5b50565b6148aa81613f5f565b81146148b557600080fd5b50565b6148c181613fab565b81146148cc57600080fd5b5056fea2646970667358221220970f3eaa25c0042c77f3a0c07a993db69640b869c8b19c0982e7b93a54560ad664736f6c63430008040033697066733a2f2f516d65676a75425732396d69524e546a61514e515237784d67746e477767485979314c6e68766d477970686f56782f

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.