ETH Price: $3,971.01 (+1.59%)

Token

Doozuki (DZK)
 

Overview

Max Total Supply

506 DZK

Holders

145

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 DZK
0x5A71F903AFED0fED82cE734d8e9A6433843aC01a
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Doozuki

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

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

pragma solidity 0.8.6;

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

contract BaseOpenSea {
    // string private _contractURI;
    address private _proxyRegistry;

    function proxyRegistry() public view returns (address) {
        return _proxyRegistry;
    }

    function isOwnersOpenSeaProxy(address owner, address operator)
        public
        view
        returns (bool)
    {
        address proxyRegistry_ = _proxyRegistry;

        if (proxyRegistry_ != address(0)) {
            if (block.chainid == 1 || block.chainid == 4) {
                return
                    address(ProxyRegistry(proxyRegistry_).proxies(owner)) ==
                    operator;
            } else if (block.chainid == 137 || block.chainid == 80001) {
                return proxyRegistry_ == operator;
            }
        }

        return false;
    }

    function _setOpenSeaRegistry(address proxyRegistryAddress) internal {
        _proxyRegistry = proxyRegistryAddress;
    }
}

contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

contract Doozuki is ERC721, Ownable, BaseOpenSea {
    using Strings for uint256;
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;

    bytes32 private _merkleRoot;

    uint256 public constant maxSupply = 3333;
    uint256 public constant maxFreeMint = 300;
    uint256 public constant maxReserved = 0;
    uint256 private constant presalePrice = 0 ether;
    uint256 public constant publicMintPrice = 0.033 ether;
    uint256 private constant maxMintsPerAddressFree = 1;
    uint256 private constant maxMintsPerAddressSale = 8;
    uint256 private constant reservedAmount = 8;
    uint256 public reservedMintAmount;
    uint256 public freeMintAmount;
    uint256 public constant freemintStartDate = 1643570937;
    uint256 public constant freemintEndDate = 1643640000;
    uint256 public constant saleStartDate = 1643381100;
    string private baseUri =
        "https://gateway.pinata.cloud/ipfs/QmenEuiZf6YHt9uSvx8iidhkd5ZFGasabX29RXWsKV7hcq/";
    string private baseExtension = ".json";

    mapping(address => uint256) public mintedTokensByAddress;
    mapping(address => uint256) public freemintedbyaddress;

    constructor(address openSeaProxyRegistry, bytes32 root)
        ERC721("Doozuki", "DZK")
    {
        // rinkeby: 0xf57b2c51ded3a29e6891aba85459d600256cf317
        // mainnet: 0xa5409ec958c83c3f309868babaca7c86dcb077c1
        if (openSeaProxyRegistry != address(0)) {
            _setOpenSeaRegistry(openSeaProxyRegistry);
        }
        _merkleRoot = root;
    }

    modifier onlyEOA() {
        require(msg.sender == tx.origin, "Only EOA");
        _;
    }

    function isFreeMintOpen() public view returns (bool) {
        if (
            block.timestamp >= freemintStartDate &&
            block.timestamp <= freemintEndDate
        ) {
            return true;
        } else {
            return false;
        }
    }

    function isSaleOpen() public view returns (bool) {
        // if (block.timestamp >= saleStartDate) {
        if (block.timestamp >= freemintEndDate + 30 minutes) {
            return true;
        } else {
            return false;
        }
    }

    function freeMint(uint256 amount) external onlyEOA {
        require(isFreeMintOpen(), "Free Mint session close");
        require(freeMintAmount <= maxFreeMint, "Free Mint Stock Unavailable");
        require(
            (amount > 0) && (amount <= maxMintsPerAddressFree),
            "Incorrect amount"
        );
        require(totalSupply() + amount <= maxSupply, "Max Supply reached");
        require(
            mintedTokensByAddress[msg.sender] + amount <=
                maxMintsPerAddressFree,
            "Max per address"
        );
        mintedTokensByAddress[msg.sender] += 1;
        freeMintAmount += 1;
        _mintToken(msg.sender, amount);
    }

    function saleMint(uint256 amount) external payable onlyEOA {
        require(isSaleOpen(), "Sale not open");
        if (
            freemintedbyaddress[msg.sender] < maxMintsPerAddressFree &&
            freeMintAmount < maxFreeMint
        ) {
            require(
                totalSupply() + amount + 1 <= maxSupply,
                "Max Supply reached"
            );
            require(
                (amount > 0) && (amount <= maxMintsPerAddressSale + 1),
                "Incorrect amount"
            );
            require(
                msg.value >= publicMintPrice * amount,
                "Incorrect Price sent"
            );
            freeMintAmount += 1;
            freemintedbyaddress[msg.sender] += 1;
            mintedTokensByAddress[msg.sender] += amount + 1;
            _mintToken(msg.sender, amount + 1);
        } else {
            require(totalSupply() + amount <= maxSupply, "Max Supply reached");
            require(
                (amount > 0) && (amount <= maxMintsPerAddressSale),
                "Incorrect amount"
            );
            require(
                mintedTokensByAddress[msg.sender] + amount <=
                    maxMintsPerAddressSale,
                "Max per address"
            );
            require(
                msg.value >= publicMintPrice * amount,
                "Incorrect Price sent"
            );
            mintedTokensByAddress[msg.sender] += amount;

            _mintToken(msg.sender, amount);
        }
    }

    function mintReserved(bytes32[] calldata proof) external onlyEOA {
        require(verifyWhitelist(proof, _merkleRoot), "Not whitelisted");
        require(
            reservedMintAmount + reservedAmount <= maxReserved,
            "Reserved Mint Stock Unavailable"
        );
        require(
            mintedTokensByAddress[msg.sender] + reservedAmount <=
                maxMintsPerAddressSale,
            "Max per address"
        );

        require(
            totalSupply() + reservedAmount <= maxSupply,
            "Max Supply reached"
        );
        mintedTokensByAddress[msg.sender] += reservedAmount;
        _mintToken(msg.sender, reservedAmount);
    }

    function _mintToken(address to, uint256 amount) private {
        uint256 id;
        for (uint256 i = 0; i < amount; i++) {
            _tokenIds.increment();
            id = _tokenIds.current();
            _mint(to, id);
        }
    }

    function supplyLeft() public view returns (uint256) {
        return maxSupply - totalSupply();
    }

    function reservedLeft() public view returns (uint256) {
        return maxReserved - reservedMintAmount;
    }

    function setMerkleRoot(bytes32 root) external onlyOwner {
        _merkleRoot = root;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        string memory _tokenURI = "Token with that ID does not exist.";
        if (_exists(tokenId)) {
            _tokenURI = string(
                abi.encodePacked(baseUri, tokenId.toString(), baseExtension)
            );
        }
        return _tokenURI;
    }

    function totalSupply() public view returns (uint256) {
        return _tokenIds.current();
    }

    function walletOfOwner(address _owner)
        external
        view
        returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
        uint256 currentTokenId = 1;
        uint256 ownedTokenIndex = 0;
        while (
            ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply
        ) {
            address currentTokenOwner = ownerOf(currentTokenId);
            if (currentTokenOwner == _owner) {
                ownedTokenIds[ownedTokenIndex] = currentTokenId;
                ownedTokenIndex++;
            }
            currentTokenId++;
        }
        return ownedTokenIds;
    }

    function withdrawBalance() external onlyOwner {
        require(address(this).balance > 0, "Zero Balance");
        payable(msg.sender).transfer(address(this).balance);
    }

    function isApprovedForAll(address owner, address operator)
        public
        view
        override
        returns (bool)
    {
        return
            super.isApprovedForAll(owner, operator) ||
            isOwnersOpenSeaProxy(owner, operator);
    }

    function verifyWhitelist(bytes32[] memory _proof, bytes32 _roothash)
        private
        view
        returns (bool)
    {
        bytes32 _leaf = keccak256(abi.encodePacked(msg.sender));
        return MerkleProof.verify(_proof, _roothash, _leaf);
    }
}

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

pragma solidity ^0.8.0;

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

File 3 of 13 : 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 4 of 13 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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.
 */
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 Merklee 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 = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

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

pragma solidity ^0.8.0;

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

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

File 8 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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 9 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 11 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

File 12 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 overriden 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 || getApproved(tokenId) == spender || isApprovedForAll(owner, 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);
    }

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

    /**
     * @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 of token that is not own");
        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);
    }

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"openSeaProxyRegistry","type":"address"},{"internalType":"bytes32","name":"root","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freemintEndDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freemintStartDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freemintedbyaddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"isFreeMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isOwnersOpenSeaProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedTokensByAddress","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":[],"name":"proxyRegistry","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"uint256","name":"amount","type":"uint256"}],"name":"saleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"saleStartDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawBalance","outputs":[],"stateMutability":"nonpayable","type":"function"}]

61010060405260516080818152906200291960a03980516200002a91600c9160209091019062000193565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200005991600d9162000193565b503480156200006757600080fd5b506040516200296a3803806200296a8339810160408190526200008a9162000239565b6040805180820182526007815266446f6f7a756b6960c81b602080830191825283518085019094526003845262445a4b60e81b908401528151919291620000d49160009162000193565b508051620000ea90600190602084019062000193565b50505062000107620001016200013d60201b60201c565b62000141565b6001600160a01b038216156200013357600780546001600160a01b0319166001600160a01b0384161790555b60095550620002b2565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001a19062000275565b90600052602060002090601f016020900481019282620001c5576000855562000210565b82601f10620001e057805160ff191683800117855562000210565b8280016001018555821562000210579182015b8281111562000210578251825591602001919060010190620001f3565b506200021e92915062000222565b5090565b5b808211156200021e576000815560010162000223565b600080604083850312156200024d57600080fd5b82516001600160a01b03811681146200026557600080fd5b6020939093015192949293505050565b600181811c908216806200028a57607f821691505b60208210811415620002ac57634e487b7160e01b600052602260045260246000fd5b50919050565b61265780620002c26000396000f3fe60806040526004361061023b5760003560e01c80638ca887ca1161012e578063b88d4fde116100ab578063dc53fd921161006f578063dc53fd9214610665578063e985e9c514610680578063f2e33090146106a0578063f2fde38b146106b8578063fdcf9d07146106d857600080fd5b8063b88d4fde146105ca578063c51f311e146105ea578063c87b56dd14610602578063cc51114914610622578063d5abeb011461064f57600080fd5b8063a22cb465116100f2578063a22cb4651461054c578063a591252d1461056c578063a6f5f01414610582578063a9898fd914610597578063b50cbd9f146105ac57600080fd5b80638ca887ca146104d15780638da5cb5b146104e45780638ee5eabf1461050257806395d89b41146105175780639d85b44e1461052c57600080fd5b80635579ca9e116101bc578063715018a611610180578063715018a61461044e5780637c928fe9146104635780637cb64759146104835780638973123c146104a35780638bbd935d146104bb57600080fd5b80635579ca9e146103ac5780635fd8c710146103d95780636102de98146103ee5780636352211e1461040e57806370a082311461042e57600080fd5b80631a081330116102035780631a0813301461031457806323b872dd146103295780633a467e3d1461034957806342842e0e1461035f578063438b63001461037f57600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063095ea7b3146102cf57806318160ddd146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b366004612127565b6106ed565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a61073f565b60405161026c91906122f8565b3480156102a357600080fd5b506102b76102b236600461210e565b6107d1565b6040516001600160a01b03909116815260200161026c565b3480156102db57600080fd5b506102ef6102ea36600461206d565b61086b565b005b3480156102fd57600080fd5b50610306610981565b60405190815260200161026c565b34801561032057600080fd5b50610260610991565b34801561033557600080fd5b506102ef610344366004611f19565b6109b5565b34801561035557600080fd5b50610306600b5481565b34801561036b57600080fd5b506102ef61037a366004611f19565b6109e6565b34801561038b57600080fd5b5061039f61039a366004611ec3565b610a01565b60405161026c91906122b4565b3480156103b857600080fd5b506103066103c7366004611ec3565b600f6020526000908152604090205481565b3480156103e557600080fd5b506102ef610ae2565b3480156103fa57600080fd5b50610260610409366004611ee0565b610b7a565b34801561041a57600080fd5b506102b761042936600461210e565b610c70565b34801561043a57600080fd5b50610306610449366004611ec3565b610ce7565b34801561045a57600080fd5b506102ef610d6e565b34801561046f57600080fd5b506102ef61047e36600461210e565b610da4565b34801561048f57600080fd5b506102ef61049e36600461210e565b610f52565b3480156104af57600080fd5b506103066361f4016c81565b3480156104c757600080fd5b50610306600a5481565b6102ef6104df36600461210e565b610f81565b3480156104f057600080fd5b506006546001600160a01b03166102b7565b34801561050e57600080fd5b5061030661126d565b34801561052357600080fd5b5061028a61127e565b34801561053857600080fd5b506102ef610547366004612099565b61128d565b34801561055857600080fd5b506102ef61056736600461203a565b61142f565b34801561057857600080fd5b5061030661012c81565b34801561058e57600080fd5b5061026061143a565b3480156105a357600080fd5b50610306600081565b3480156105b857600080fd5b506007546001600160a01b03166102b7565b3480156105d657600080fd5b506102ef6105e5366004611f5a565b61145f565b3480156105f657600080fd5b506103066361f6e6f981565b34801561060e57600080fd5b5061028a61061d36600461210e565b611497565b34801561062e57600080fd5b5061030661063d366004611ec3565b600e6020526000908152604090205481565b34801561065b57600080fd5b50610306610d0581565b34801561067157600080fd5b5061030666753d533d96800081565b34801561068c57600080fd5b5061026061069b366004611ee0565b61150a565b3480156106ac57600080fd5b506103066361f7f4c081565b3480156106c457600080fd5b506102ef6106d3366004611ec3565b61154c565b3480156106e457600080fd5b506103066115e4565b60006001600160e01b031982166380ac58cd60e01b148061071e57506001600160e01b03198216635b5e139f60e01b145b8061073957506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461074e90612512565b80601f016020809104026020016040519081016040528092919081815260200182805461077a90612512565b80156107c75780601f1061079c576101008083540402835291602001916107c7565b820191906000526020600020905b8154815290600101906020018083116107aa57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661084f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061087682610c70565b9050806001600160a01b0316836001600160a01b031614156108e45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610846565b336001600160a01b03821614806109005750610900813361150a565b6109725760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610846565b61097c83836115fa565b505050565b600061098c60085490565b905090565b60006109a36361f7f4c0610708612484565b42106109af5750600190565b50600090565b6109bf3382611668565b6109db5760405162461bcd60e51b815260040161084690612409565b61097c83838361173f565b61097c8383836040518060200160405280600081525061145f565b60606000610a0e83610ce7565b905060008167ffffffffffffffff811115610a2b57610a2b6125be565b604051908082528060200260200182016040528015610a54578160200160208202803683370190505b509050600160005b8381108015610a6d5750610d058211155b15610ad8576000610a7d83610c70565b9050866001600160a01b0316816001600160a01b03161415610ac55782848381518110610aac57610aac6125a8565b602090810291909101015281610ac18161254d565b9250505b82610acf8161254d565b93505050610a5c565b5090949350505050565b6006546001600160a01b03163314610b0c5760405162461bcd60e51b8152600401610846906123ab565b60004711610b4b5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f2042616c616e636560a01b6044820152606401610846565b60405133904780156108fc02916000818181858888f19350505050158015610b77573d6000803e3d6000fd5b50565b6007546000906001600160a01b03168015610c66574660011480610b9e5750466004145b15610c335760405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b158015610be957600080fd5b505afa158015610bfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c219190612161565b6001600160a01b031614915050610739565b4660891480610c4457504662013881145b15610c6657826001600160a01b0316816001600160a01b031614915050610739565b5060009392505050565b6000818152600260205260408120546001600160a01b0316806107395760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610846565b60006001600160a01b038216610d525760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610846565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610d985760405162461bcd60e51b8152600401610846906123ab565b610da260006118df565b565b333214610dc35760405162461bcd60e51b81526004016108469061235d565b610dcb61143a565b610e175760405162461bcd60e51b815260206004820152601760248201527f46726565204d696e742073657373696f6e20636c6f73650000000000000000006044820152606401610846565b61012c600b541115610e6b5760405162461bcd60e51b815260206004820152601b60248201527f46726565204d696e742053746f636b20556e617661696c61626c6500000000006044820152606401610846565b600081118015610e7c575060018111155b610e985760405162461bcd60e51b81526004016108469061245a565b610d0581610ea4610981565b610eae9190612484565b1115610ecc5760405162461bcd60e51b81526004016108469061237f565b336000908152600e6020526040902054600190610eea908390612484565b1115610f085760405162461bcd60e51b8152600401610846906123e0565b336000908152600e60205260408120805460019290610f28908490612484565b925050819055506001600b6000828254610f429190612484565b90915550610b7790503382611931565b6006546001600160a01b03163314610f7c5760405162461bcd60e51b8152600401610846906123ab565b600955565b333214610fa05760405162461bcd60e51b81526004016108469061235d565b610fa8610991565b610fe45760405162461bcd60e51b815260206004820152600d60248201526c29b0b632903737ba1037b832b760991b6044820152606401610846565b336000908152600f60205260409020546001118015611006575061012c600b54105b1561115a57610d0581611017610981565b6110219190612484565b61102c906001612484565b111561104a5760405162461bcd60e51b81526004016108469061237f565b600081118015611065575061106160086001612484565b8111155b6110815760405162461bcd60e51b81526004016108469061245a565b6110928166753d533d9680006124b0565b3410156110d85760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd08141c9a58d9481cd95b9d60621b6044820152606401610846565b6001600b60008282546110eb9190612484565b9091555050336000908152600f60205260408120805460019290611110908490612484565b909155506111219050816001612484565b336000908152600e602052604081208054909190611140908490612484565b90915550610b77905033611155836001612484565b611931565b610d0581611166610981565b6111709190612484565b111561118e5760405162461bcd60e51b81526004016108469061237f565b60008111801561119f575060088111155b6111bb5760405162461bcd60e51b81526004016108469061245a565b336000908152600e60205260409020546008906111d9908390612484565b11156111f75760405162461bcd60e51b8152600401610846906123e0565b6112088166753d533d9680006124b0565b34101561124e5760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd08141c9a58d9481cd95b9d60621b6044820152606401610846565b336000908152600e602052604081208054839290610f42908490612484565b6000600a54600061098c91906124cf565b60606001805461074e90612512565b3332146112ac5760405162461bcd60e51b81526004016108469061235d565b6112ec82828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600954915061196c9050565b61132a5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610846565b60006008600a5461133b9190612484565b11156113895760405162461bcd60e51b815260206004820152601f60248201527f5265736572766564204d696e742053746f636b20556e617661696c61626c65006044820152606401610846565b336000908152600e60205260409020546008906113a7908290612484565b11156113c55760405162461bcd60e51b8152600401610846906123e0565b610d0560086113d2610981565b6113dc9190612484565b11156113fa5760405162461bcd60e51b81526004016108469061237f565b336000908152600e6020526040812080546008929061141a908490612484565b9091555061142b9050336008611931565b5050565b61142b3383836119b2565b60006361f6e6f9421015801561145457506361f7f4c04211155b156109af5750600190565b6114693383611668565b6114855760405162461bcd60e51b815260040161084690612409565b61149184848484611a81565b50505050565b60606000604051806060016040528060228152602001612600602291396000848152600260205260409020549091506001600160a01b03161561073957600c6114df84611ab4565b600d6040516020016114f393929190612244565b604051602081830303815290604052905092915050565b6001600160a01b03808316600090815260056020908152604080832093851683529290529081205460ff168061154557506115458383610b7a565b9392505050565b6006546001600160a01b031633146115765760405162461bcd60e51b8152600401610846906123ab565b6001600160a01b0381166115db5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610846565b610b77816118df565b60006115ee610981565b61098c90610d056124cf565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061162f82610c70565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166116e15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610846565b60006116ec83610c70565b9050806001600160a01b0316846001600160a01b031614806117275750836001600160a01b031661171c846107d1565b6001600160a01b0316145b806117375750611737818561150a565b949350505050565b826001600160a01b031661175282610c70565b6001600160a01b0316146117ba5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610846565b6001600160a01b03821661181c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610846565b6118276000826115fa565b6001600160a01b03831660009081526003602052604081208054600192906118509084906124cf565b90915550506001600160a01b038216600090815260036020526040812080546001929061187e908490612484565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000805b828110156114915761194b600880546001019055565b600854915061195a8483611bb2565b806119648161254d565b915050611935565b6040516bffffffffffffffffffffffff193360601b1660208201526000908190603401604051602081830303815290604052805190602001209050611737848483611cf4565b816001600160a01b0316836001600160a01b03161415611a145760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610846565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611a8c84848461173f565b611a9884848484611d0a565b6114915760405162461bcd60e51b81526004016108469061230b565b606081611ad85750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b025780611aec8161254d565b9150611afb9050600a8361249c565b9150611adc565b60008167ffffffffffffffff811115611b1d57611b1d6125be565b6040519080825280601f01601f191660200182016040528015611b47576020820181803683370190505b5090505b841561173757611b5c6001836124cf565b9150611b69600a86612568565b611b74906030612484565b60f81b818381518110611b8957611b896125a8565b60200101906001600160f81b031916908160001a905350611bab600a8661249c565b9450611b4b565b6001600160a01b038216611c085760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610846565b6000818152600260205260409020546001600160a01b031615611c6d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610846565b6001600160a01b0382166000908152600360205260408120805460019290611c96908490612484565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600082611d018584611e17565b14949350505050565b60006001600160a01b0384163b15611e0c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d4e903390899088908890600401612277565b602060405180830381600087803b158015611d6857600080fd5b505af1925050508015611d98575060408051601f3d908101601f19168201909252611d9591810190612144565b60015b611df2573d808015611dc6576040519150601f19603f3d011682016040523d82523d6000602084013e611dcb565b606091505b508051611dea5760405162461bcd60e51b81526004016108469061230b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611737565b506001949350505050565b600081815b8451811015611ebb576000858281518110611e3957611e396125a8565b60200260200101519050808311611e7b576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611ea8565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611eb38161254d565b915050611e1c565b509392505050565b600060208284031215611ed557600080fd5b8135611545816125d4565b60008060408385031215611ef357600080fd5b8235611efe816125d4565b91506020830135611f0e816125d4565b809150509250929050565b600080600060608486031215611f2e57600080fd5b8335611f39816125d4565b92506020840135611f49816125d4565b929592945050506040919091013590565b60008060008060808587031215611f7057600080fd5b8435611f7b816125d4565b93506020850135611f8b816125d4565b925060408501359150606085013567ffffffffffffffff80821115611faf57600080fd5b818701915087601f830112611fc357600080fd5b813581811115611fd557611fd56125be565b604051601f8201601f19908116603f01168101908382118183101715611ffd57611ffd6125be565b816040528281528a602084870101111561201657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561204d57600080fd5b8235612058816125d4565b915060208301358015158114611f0e57600080fd5b6000806040838503121561208057600080fd5b823561208b816125d4565b946020939093013593505050565b600080602083850312156120ac57600080fd5b823567ffffffffffffffff808211156120c457600080fd5b818501915085601f8301126120d857600080fd5b8135818111156120e757600080fd5b8660208260051b85010111156120fc57600080fd5b60209290920196919550909350505050565b60006020828403121561212057600080fd5b5035919050565b60006020828403121561213957600080fd5b8135611545816125e9565b60006020828403121561215657600080fd5b8151611545816125e9565b60006020828403121561217357600080fd5b8151611545816125d4565b600081518084526121968160208601602086016124e6565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806121c457607f831692505b60208084108214156121e657634e487b7160e01b600052602260045260246000fd5b8180156121fa576001811461220b57612238565b60ff19861689528489019650612238565b60008881526020902060005b868110156122305781548b820152908501908301612217565b505084890196505b50505050505092915050565b600061225082866121aa565b84516122608183602089016124e6565b61226c818301866121aa565b979650505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122aa9083018461217e565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156122ec578351835292840192918401916001016122d0565b50909695505050505050565b602081526000611545602083018461217e565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600890820152674f6e6c7920454f4160c01b604082015260600190565b60208082526012908201527113585e0814dd5c1c1b1e481c995858da195960721b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600f908201526e4d617820706572206164647265737360881b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526010908201526f125b98dbdc9c9958dd08185b5bdd5b9d60821b604082015260600190565b600082198211156124975761249761257c565b500190565b6000826124ab576124ab612592565b500490565b60008160001904831182151516156124ca576124ca61257c565b500290565b6000828210156124e1576124e161257c565b500390565b60005b838110156125015781810151838201526020016124e9565b838111156114915750506000910152565b600181811c9082168061252657607f821691505b6020821081141561254757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156125615761256161257c565b5060010190565b60008261257757612577612592565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610b7757600080fd5b6001600160e01b031981168114610b7757600080fdfe546f6b656e2077697468207468617420494420646f6573206e6f742065786973742ea2646970667358221220f93728e921647a7a59a14f9c11f30318867ca82235599b7dbbacbeb5c61a00ad64736f6c6343000806003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d656e4575695a6636594874397553767838696964686b64355a464761736162583239525857734b56376863712f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c177e5ffcf428094bcebff9c81e9046ad5d87c029cd3d0471f585f539cf49d4b33

Deployed Bytecode

0x60806040526004361061023b5760003560e01c80638ca887ca1161012e578063b88d4fde116100ab578063dc53fd921161006f578063dc53fd9214610665578063e985e9c514610680578063f2e33090146106a0578063f2fde38b146106b8578063fdcf9d07146106d857600080fd5b8063b88d4fde146105ca578063c51f311e146105ea578063c87b56dd14610602578063cc51114914610622578063d5abeb011461064f57600080fd5b8063a22cb465116100f2578063a22cb4651461054c578063a591252d1461056c578063a6f5f01414610582578063a9898fd914610597578063b50cbd9f146105ac57600080fd5b80638ca887ca146104d15780638da5cb5b146104e45780638ee5eabf1461050257806395d89b41146105175780639d85b44e1461052c57600080fd5b80635579ca9e116101bc578063715018a611610180578063715018a61461044e5780637c928fe9146104635780637cb64759146104835780638973123c146104a35780638bbd935d146104bb57600080fd5b80635579ca9e146103ac5780635fd8c710146103d95780636102de98146103ee5780636352211e1461040e57806370a082311461042e57600080fd5b80631a081330116102035780631a0813301461031457806323b872dd146103295780633a467e3d1461034957806342842e0e1461035f578063438b63001461037f57600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063095ea7b3146102cf57806318160ddd146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b366004612127565b6106ed565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a61073f565b60405161026c91906122f8565b3480156102a357600080fd5b506102b76102b236600461210e565b6107d1565b6040516001600160a01b03909116815260200161026c565b3480156102db57600080fd5b506102ef6102ea36600461206d565b61086b565b005b3480156102fd57600080fd5b50610306610981565b60405190815260200161026c565b34801561032057600080fd5b50610260610991565b34801561033557600080fd5b506102ef610344366004611f19565b6109b5565b34801561035557600080fd5b50610306600b5481565b34801561036b57600080fd5b506102ef61037a366004611f19565b6109e6565b34801561038b57600080fd5b5061039f61039a366004611ec3565b610a01565b60405161026c91906122b4565b3480156103b857600080fd5b506103066103c7366004611ec3565b600f6020526000908152604090205481565b3480156103e557600080fd5b506102ef610ae2565b3480156103fa57600080fd5b50610260610409366004611ee0565b610b7a565b34801561041a57600080fd5b506102b761042936600461210e565b610c70565b34801561043a57600080fd5b50610306610449366004611ec3565b610ce7565b34801561045a57600080fd5b506102ef610d6e565b34801561046f57600080fd5b506102ef61047e36600461210e565b610da4565b34801561048f57600080fd5b506102ef61049e36600461210e565b610f52565b3480156104af57600080fd5b506103066361f4016c81565b3480156104c757600080fd5b50610306600a5481565b6102ef6104df36600461210e565b610f81565b3480156104f057600080fd5b506006546001600160a01b03166102b7565b34801561050e57600080fd5b5061030661126d565b34801561052357600080fd5b5061028a61127e565b34801561053857600080fd5b506102ef610547366004612099565b61128d565b34801561055857600080fd5b506102ef61056736600461203a565b61142f565b34801561057857600080fd5b5061030661012c81565b34801561058e57600080fd5b5061026061143a565b3480156105a357600080fd5b50610306600081565b3480156105b857600080fd5b506007546001600160a01b03166102b7565b3480156105d657600080fd5b506102ef6105e5366004611f5a565b61145f565b3480156105f657600080fd5b506103066361f6e6f981565b34801561060e57600080fd5b5061028a61061d36600461210e565b611497565b34801561062e57600080fd5b5061030661063d366004611ec3565b600e6020526000908152604090205481565b34801561065b57600080fd5b50610306610d0581565b34801561067157600080fd5b5061030666753d533d96800081565b34801561068c57600080fd5b5061026061069b366004611ee0565b61150a565b3480156106ac57600080fd5b506103066361f7f4c081565b3480156106c457600080fd5b506102ef6106d3366004611ec3565b61154c565b3480156106e457600080fd5b506103066115e4565b60006001600160e01b031982166380ac58cd60e01b148061071e57506001600160e01b03198216635b5e139f60e01b145b8061073957506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461074e90612512565b80601f016020809104026020016040519081016040528092919081815260200182805461077a90612512565b80156107c75780601f1061079c576101008083540402835291602001916107c7565b820191906000526020600020905b8154815290600101906020018083116107aa57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661084f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061087682610c70565b9050806001600160a01b0316836001600160a01b031614156108e45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610846565b336001600160a01b03821614806109005750610900813361150a565b6109725760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610846565b61097c83836115fa565b505050565b600061098c60085490565b905090565b60006109a36361f7f4c0610708612484565b42106109af5750600190565b50600090565b6109bf3382611668565b6109db5760405162461bcd60e51b815260040161084690612409565b61097c83838361173f565b61097c8383836040518060200160405280600081525061145f565b60606000610a0e83610ce7565b905060008167ffffffffffffffff811115610a2b57610a2b6125be565b604051908082528060200260200182016040528015610a54578160200160208202803683370190505b509050600160005b8381108015610a6d5750610d058211155b15610ad8576000610a7d83610c70565b9050866001600160a01b0316816001600160a01b03161415610ac55782848381518110610aac57610aac6125a8565b602090810291909101015281610ac18161254d565b9250505b82610acf8161254d565b93505050610a5c565b5090949350505050565b6006546001600160a01b03163314610b0c5760405162461bcd60e51b8152600401610846906123ab565b60004711610b4b5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f2042616c616e636560a01b6044820152606401610846565b60405133904780156108fc02916000818181858888f19350505050158015610b77573d6000803e3d6000fd5b50565b6007546000906001600160a01b03168015610c66574660011480610b9e5750466004145b15610c335760405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b158015610be957600080fd5b505afa158015610bfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c219190612161565b6001600160a01b031614915050610739565b4660891480610c4457504662013881145b15610c6657826001600160a01b0316816001600160a01b031614915050610739565b5060009392505050565b6000818152600260205260408120546001600160a01b0316806107395760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610846565b60006001600160a01b038216610d525760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610846565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610d985760405162461bcd60e51b8152600401610846906123ab565b610da260006118df565b565b333214610dc35760405162461bcd60e51b81526004016108469061235d565b610dcb61143a565b610e175760405162461bcd60e51b815260206004820152601760248201527f46726565204d696e742073657373696f6e20636c6f73650000000000000000006044820152606401610846565b61012c600b541115610e6b5760405162461bcd60e51b815260206004820152601b60248201527f46726565204d696e742053746f636b20556e617661696c61626c6500000000006044820152606401610846565b600081118015610e7c575060018111155b610e985760405162461bcd60e51b81526004016108469061245a565b610d0581610ea4610981565b610eae9190612484565b1115610ecc5760405162461bcd60e51b81526004016108469061237f565b336000908152600e6020526040902054600190610eea908390612484565b1115610f085760405162461bcd60e51b8152600401610846906123e0565b336000908152600e60205260408120805460019290610f28908490612484565b925050819055506001600b6000828254610f429190612484565b90915550610b7790503382611931565b6006546001600160a01b03163314610f7c5760405162461bcd60e51b8152600401610846906123ab565b600955565b333214610fa05760405162461bcd60e51b81526004016108469061235d565b610fa8610991565b610fe45760405162461bcd60e51b815260206004820152600d60248201526c29b0b632903737ba1037b832b760991b6044820152606401610846565b336000908152600f60205260409020546001118015611006575061012c600b54105b1561115a57610d0581611017610981565b6110219190612484565b61102c906001612484565b111561104a5760405162461bcd60e51b81526004016108469061237f565b600081118015611065575061106160086001612484565b8111155b6110815760405162461bcd60e51b81526004016108469061245a565b6110928166753d533d9680006124b0565b3410156110d85760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd08141c9a58d9481cd95b9d60621b6044820152606401610846565b6001600b60008282546110eb9190612484565b9091555050336000908152600f60205260408120805460019290611110908490612484565b909155506111219050816001612484565b336000908152600e602052604081208054909190611140908490612484565b90915550610b77905033611155836001612484565b611931565b610d0581611166610981565b6111709190612484565b111561118e5760405162461bcd60e51b81526004016108469061237f565b60008111801561119f575060088111155b6111bb5760405162461bcd60e51b81526004016108469061245a565b336000908152600e60205260409020546008906111d9908390612484565b11156111f75760405162461bcd60e51b8152600401610846906123e0565b6112088166753d533d9680006124b0565b34101561124e5760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd08141c9a58d9481cd95b9d60621b6044820152606401610846565b336000908152600e602052604081208054839290610f42908490612484565b6000600a54600061098c91906124cf565b60606001805461074e90612512565b3332146112ac5760405162461bcd60e51b81526004016108469061235d565b6112ec82828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600954915061196c9050565b61132a5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610846565b60006008600a5461133b9190612484565b11156113895760405162461bcd60e51b815260206004820152601f60248201527f5265736572766564204d696e742053746f636b20556e617661696c61626c65006044820152606401610846565b336000908152600e60205260409020546008906113a7908290612484565b11156113c55760405162461bcd60e51b8152600401610846906123e0565b610d0560086113d2610981565b6113dc9190612484565b11156113fa5760405162461bcd60e51b81526004016108469061237f565b336000908152600e6020526040812080546008929061141a908490612484565b9091555061142b9050336008611931565b5050565b61142b3383836119b2565b60006361f6e6f9421015801561145457506361f7f4c04211155b156109af5750600190565b6114693383611668565b6114855760405162461bcd60e51b815260040161084690612409565b61149184848484611a81565b50505050565b60606000604051806060016040528060228152602001612600602291396000848152600260205260409020549091506001600160a01b03161561073957600c6114df84611ab4565b600d6040516020016114f393929190612244565b604051602081830303815290604052905092915050565b6001600160a01b03808316600090815260056020908152604080832093851683529290529081205460ff168061154557506115458383610b7a565b9392505050565b6006546001600160a01b031633146115765760405162461bcd60e51b8152600401610846906123ab565b6001600160a01b0381166115db5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610846565b610b77816118df565b60006115ee610981565b61098c90610d056124cf565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061162f82610c70565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166116e15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610846565b60006116ec83610c70565b9050806001600160a01b0316846001600160a01b031614806117275750836001600160a01b031661171c846107d1565b6001600160a01b0316145b806117375750611737818561150a565b949350505050565b826001600160a01b031661175282610c70565b6001600160a01b0316146117ba5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610846565b6001600160a01b03821661181c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610846565b6118276000826115fa565b6001600160a01b03831660009081526003602052604081208054600192906118509084906124cf565b90915550506001600160a01b038216600090815260036020526040812080546001929061187e908490612484565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000805b828110156114915761194b600880546001019055565b600854915061195a8483611bb2565b806119648161254d565b915050611935565b6040516bffffffffffffffffffffffff193360601b1660208201526000908190603401604051602081830303815290604052805190602001209050611737848483611cf4565b816001600160a01b0316836001600160a01b03161415611a145760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610846565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611a8c84848461173f565b611a9884848484611d0a565b6114915760405162461bcd60e51b81526004016108469061230b565b606081611ad85750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b025780611aec8161254d565b9150611afb9050600a8361249c565b9150611adc565b60008167ffffffffffffffff811115611b1d57611b1d6125be565b6040519080825280601f01601f191660200182016040528015611b47576020820181803683370190505b5090505b841561173757611b5c6001836124cf565b9150611b69600a86612568565b611b74906030612484565b60f81b818381518110611b8957611b896125a8565b60200101906001600160f81b031916908160001a905350611bab600a8661249c565b9450611b4b565b6001600160a01b038216611c085760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610846565b6000818152600260205260409020546001600160a01b031615611c6d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610846565b6001600160a01b0382166000908152600360205260408120805460019290611c96908490612484565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600082611d018584611e17565b14949350505050565b60006001600160a01b0384163b15611e0c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d4e903390899088908890600401612277565b602060405180830381600087803b158015611d6857600080fd5b505af1925050508015611d98575060408051601f3d908101601f19168201909252611d9591810190612144565b60015b611df2573d808015611dc6576040519150601f19603f3d011682016040523d82523d6000602084013e611dcb565b606091505b508051611dea5760405162461bcd60e51b81526004016108469061230b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611737565b506001949350505050565b600081815b8451811015611ebb576000858281518110611e3957611e396125a8565b60200260200101519050808311611e7b576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611ea8565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611eb38161254d565b915050611e1c565b509392505050565b600060208284031215611ed557600080fd5b8135611545816125d4565b60008060408385031215611ef357600080fd5b8235611efe816125d4565b91506020830135611f0e816125d4565b809150509250929050565b600080600060608486031215611f2e57600080fd5b8335611f39816125d4565b92506020840135611f49816125d4565b929592945050506040919091013590565b60008060008060808587031215611f7057600080fd5b8435611f7b816125d4565b93506020850135611f8b816125d4565b925060408501359150606085013567ffffffffffffffff80821115611faf57600080fd5b818701915087601f830112611fc357600080fd5b813581811115611fd557611fd56125be565b604051601f8201601f19908116603f01168101908382118183101715611ffd57611ffd6125be565b816040528281528a602084870101111561201657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561204d57600080fd5b8235612058816125d4565b915060208301358015158114611f0e57600080fd5b6000806040838503121561208057600080fd5b823561208b816125d4565b946020939093013593505050565b600080602083850312156120ac57600080fd5b823567ffffffffffffffff808211156120c457600080fd5b818501915085601f8301126120d857600080fd5b8135818111156120e757600080fd5b8660208260051b85010111156120fc57600080fd5b60209290920196919550909350505050565b60006020828403121561212057600080fd5b5035919050565b60006020828403121561213957600080fd5b8135611545816125e9565b60006020828403121561215657600080fd5b8151611545816125e9565b60006020828403121561217357600080fd5b8151611545816125d4565b600081518084526121968160208601602086016124e6565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806121c457607f831692505b60208084108214156121e657634e487b7160e01b600052602260045260246000fd5b8180156121fa576001811461220b57612238565b60ff19861689528489019650612238565b60008881526020902060005b868110156122305781548b820152908501908301612217565b505084890196505b50505050505092915050565b600061225082866121aa565b84516122608183602089016124e6565b61226c818301866121aa565b979650505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122aa9083018461217e565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156122ec578351835292840192918401916001016122d0565b50909695505050505050565b602081526000611545602083018461217e565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600890820152674f6e6c7920454f4160c01b604082015260600190565b60208082526012908201527113585e0814dd5c1c1b1e481c995858da195960721b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600f908201526e4d617820706572206164647265737360881b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526010908201526f125b98dbdc9c9958dd08185b5bdd5b9d60821b604082015260600190565b600082198211156124975761249761257c565b500190565b6000826124ab576124ab612592565b500490565b60008160001904831182151516156124ca576124ca61257c565b500290565b6000828210156124e1576124e161257c565b500390565b60005b838110156125015781810151838201526020016124e9565b838111156114915750506000910152565b600181811c9082168061252657607f821691505b6020821081141561254757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156125615761256161257c565b5060010190565b60008261257757612577612592565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610b7757600080fd5b6001600160e01b031981168114610b7757600080fdfe546f6b656e2077697468207468617420494420646f6573206e6f742065786973742ea2646970667358221220f93728e921647a7a59a14f9c11f30318867ca82235599b7dbbacbeb5c61a00ad64736f6c63430008060033

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

000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c177e5ffcf428094bcebff9c81e9046ad5d87c029cd3d0471f585f539cf49d4b33

-----Decoded View---------------
Arg [0] : openSeaProxyRegistry (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [1] : root (bytes32): 0x77e5ffcf428094bcebff9c81e9046ad5d87c029cd3d0471f585f539cf49d4b33

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [1] : 77e5ffcf428094bcebff9c81e9046ad5d87c029cd3d0471f585f539cf49d4b33


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.