ETH Price: $2,291.56 (-3.76%)

Token

F50 (F50)
 

Overview

Max Total Supply

0 F50

Holders

50

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 F50
0xfb4fd288fb13ee17a1c7d616bcf6fab5fc562285
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:
F50

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : F50.sol
// SPDX-License-Identifier: MIT
/*
MMMMMMMMMMMMMMMMMMMMN0kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkOXMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMWd.                                   lNMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMK,                                    '0MMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMNl                                      :XMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMWx.                                      .dWMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMX:                                        ,KMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMWx.                                         lNMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMK,                                          'OMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMWd.                 .oOOOOo.                  cNMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMO.                  ;KMMMMX:                  .xWMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMNl                   ;KMMMMX:                   ,KMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMWk.                   ;XMMMMNl                   .dWMMMMMMMMMMMMMMM
MMMMMMMMMMMMMK;                   .dWMMMMMk.                   'OMMMMMMMMMMMMMMM
MMMMMMMMMMMMWd                    .kMMMMMMK,                    lNMMMMMMMMMMMMMM
MMMMMMMMMMMM0,                    ;KMMMMMMWl                    .kWMMMMMMMMMMMMM
MMMMMMMMMMMNl                     oWMMMMMMWd.                    ;KMMMMMMMMMMMMM
MMMMMMMMMMMO.                    .kMMMMMMMMK,                     dWMMMMMMMMMMMM
MMMMMMMMMMX:                     ;XMMMMMMMMX;                     ,KMMMMMMMMMMMM
MMMMMMMMMWo.                     :XMMMMMMMMWd.                     lNMMMMMMMMMMM
MMMMMMMMMK,                     'OMMMMMMMMMMK:                     .OMMMMMMMMMMM
MMMMMMMMNl                     :0WMMMMMMMMMMMXl.                    :XMMMMMMMMMM
MMMMMMMMO'                    cXMMMMMMMMMMMMMMWx.                   .xWMMMMMMMMM
MMMMMMMNl                    'OMMMMMMMMMMMMMMMMX;                    ;KMMMMMMMMM
MMMMMMWx.                    ;XMMMMMMMMMMMMMMMMX;                     oNMMMMMMMM
MMMMMMK,                     ;XMMMMMMMMMMMMMMMMX;                     'OMMMMMMMM
MMMMMWo.                     ;XMMMMMMMMMMMMMMMMX;                      lNMMMMMMM
MMMMMO.                      ;XMMMMMMMMMMMMMMMMX;                      .xMMMMMMM
MMMMNc                       ;XMMMMMMMMMMMMMMMMX;                       :XMMMMMM
MMMWk.                       ;XMMMMMMMMMMMMMMMMX;                       .dWMMMMM
MMMX:                        ;XMMMMMMMMMMMMMMMMX;                        .OMMMMM
MMWx.                        ;XMMMMMMMMMMMMMMMMX;                         cNMMMM
MMK,                         ;XMMMMMMMMMMMMMMMMX;                         .kWMMM
MNl                          ;XMMMMMMMMMMMMMMMMX;                          :XMMM
MO.                          ;XMMMMMMMMMMMMMMMMX;                          .kMMM
X:                           ;XMMMMMMMMMMMMMMMMX;                           ,KMM
O,                           cXMMMMMMMMMMMMMMMMXc                            oNM
NOkkkkkkkkkkkkkkkkkkkkkkkkkkk0WMMMMMMMMMMMMMMMMW0kkkkkkkkkkkkkkkkkkkkkkkkkkkk0WM
*/
pragma solidity ^0.8.17;

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

contract F50 is ERC721, Ownable {
    using Strings for uint256;
    uint256 public constant MAX_SUPPLY = 50;
    uint256 public tokenPrice = 5 ether;
    uint256 public tokenID;
    string private baseTokenURI;
    bytes32 private merkleRoot;
    mapping(address => bool) public minted;
    error BeyondMaxSupply();
    error AlreadyMinted();
    error WrongAmountOfEther();
    error NotAFounder();

    constructor(string memory _baseTokenURI, bytes32 _merkleRoot)
        ERC721("F50", "F50")
    {
        baseTokenURI = _baseTokenURI;
        merkleRoot = _merkleRoot;
    }

    function isValidUser(bytes32[] memory _merkleProof, bytes32 _leaf)
        public
        view
        returns (bool)
    {
        return MerkleProof.verify(_merkleProof, merkleRoot, _leaf);
    }

    function mint(bytes32[] memory _merkleProof) external payable {
        if (tokenID >= MAX_SUPPLY) revert BeyondMaxSupply();
        if (minted[msg.sender]) revert AlreadyMinted();
        if (msg.value != tokenPrice) revert WrongAmountOfEther();
        if (!isValidUser(_merkleProof, keccak256(abi.encodePacked(msg.sender)))) revert NotAFounder();
        minted[msg.sender] = true;
        _mint(msg.sender, tokenID);
        tokenID++;
    }

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

    function tokenURI(uint256 _tokenID)
        public
        view
        override
        returns (string memory)
    {
        return
            string(abi.encodePacked(baseTokenURI, Strings.toString(_tokenID)));
    }

    function setTokenURI(string memory _baseTokenURI) external onlyOwner {
        baseTokenURI = _baseTokenURI;
    }

    function setTokenPrice(uint256 _tokenPrice) external onlyOwner {
        tokenPrice = _tokenPrice;
    }

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 5 of 12 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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

File 6 of 12 : 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 7 of 12 : 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 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 11 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyMinted","type":"error"},{"inputs":[],"name":"BeyondMaxSupply","type":"error"},{"inputs":[],"name":"NotAFounder","type":"error"},{"inputs":[],"name":"WrongAmountOfEther","type":"error"},{"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":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"bytes32","name":"_leaf","type":"bytes32"}],"name":"isValidUser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenPrice","type":"uint256"}],"name":"setTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052674563918244f400006007553480156200001d57600080fd5b5060405162003b7338038062003b738339818101604052810190620000439190620003b2565b6040518060400160405280600381526020017f46353000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f46353000000000000000000000000000000000000000000000000000000000008152508160009081620000c0919062000663565b508060019081620000d2919062000663565b505050620000f5620000e96200011660201b60201c565b6200011e60201b60201c565b816009908162000106919062000663565b5080600a8190555050506200074a565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200024d8262000202565b810181811067ffffffffffffffff821117156200026f576200026e62000213565b5b80604052505050565b600062000284620001e4565b905062000292828262000242565b919050565b600067ffffffffffffffff821115620002b557620002b462000213565b5b620002c08262000202565b9050602081019050919050565b60005b83811015620002ed578082015181840152602081019050620002d0565b60008484015250505050565b6000620003106200030a8462000297565b62000278565b9050828152602081018484840111156200032f576200032e620001fd565b5b6200033c848285620002cd565b509392505050565b600082601f8301126200035c576200035b620001f8565b5b81516200036e848260208601620002f9565b91505092915050565b6000819050919050565b6200038c8162000377565b81146200039857600080fd5b50565b600081519050620003ac8162000381565b92915050565b60008060408385031215620003cc57620003cb620001ee565b5b600083015167ffffffffffffffff811115620003ed57620003ec620001f3565b5b620003fb8582860162000344565b92505060206200040e858286016200039b565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200046b57607f821691505b60208210810362000481576200048062000423565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004eb7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004ac565b620004f78683620004ac565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005446200053e62000538846200050f565b62000519565b6200050f565b9050919050565b6000819050919050565b620005608362000523565b620005786200056f826200054b565b848454620004b9565b825550505050565b600090565b6200058f62000580565b6200059c81848462000555565b505050565b5b81811015620005c457620005b860008262000585565b600181019050620005a2565b5050565b601f8211156200061357620005dd8162000487565b620005e8846200049c565b81016020851015620005f8578190505b6200061062000607856200049c565b830182620005a1565b50505b505050565b600082821c905092915050565b6000620006386000198460080262000618565b1980831691505092915050565b600062000653838362000625565b9150826002028217905092915050565b6200066e8262000418565b67ffffffffffffffff8111156200068a576200068962000213565b5b62000696825462000452565b620006a3828285620005c8565b600060209050601f831160018114620006db5760008415620006c6578287015190505b620006d2858262000645565b86555062000742565b601f198416620006eb8662000487565b60005b828110156200071557848901518255600182019150602085019450602081019050620006ee565b8683101562000735578489015162000731601f89168262000625565b8355505b6001600288020188555050505b505050505050565b613419806200075a6000396000f3fe6080604052600436106101815760003560e01c80637bef907a116100d1578063a5c42ef11161008a578063c87b56dd11610064578063c87b56dd14610552578063e0df5b6f1461058f578063e985e9c5146105b8578063f2fde38b146105f557610181565b8063a5c42ef1146104e2578063b77a147b1461050d578063b88d4fde1461052957610181565b80637bef907a146103d25780637cb647591461040f5780637ff9b596146104385780638da5cb5b1461046357806395d89b411461048e578063a22cb465146104b957610181565b806332cb6b0c1161013e5780636352211e116101185780636352211e146103185780636a61e5fc1461035557806370a082311461037e578063715018a6146103bb57610181565b806332cb6b0c146102ba5780633ccfd60b146102e557806342842e0e146102ef57610181565b806301ffc9a71461018657806306fdde03146101c3578063081812fc146101ee578063095ea7b31461022b5780631e7269c51461025457806323b872dd14610291575b600080fd5b34801561019257600080fd5b506101ad60048036038101906101a89190611e43565b61061e565b6040516101ba9190611e8b565b60405180910390f35b3480156101cf57600080fd5b506101d8610700565b6040516101e59190611f36565b60405180910390f35b3480156101fa57600080fd5b5061021560048036038101906102109190611f8e565b610792565b6040516102229190611ffc565b60405180910390f35b34801561023757600080fd5b50610252600480360381019061024d9190612043565b6107d8565b005b34801561026057600080fd5b5061027b60048036038101906102769190612083565b6108ef565b6040516102889190611e8b565b60405180910390f35b34801561029d57600080fd5b506102b860048036038101906102b391906120b0565b61090f565b005b3480156102c657600080fd5b506102cf61096f565b6040516102dc9190612112565b60405180910390f35b6102ed610974565b005b3480156102fb57600080fd5b50610316600480360381019061031191906120b0565b6109f5565b005b34801561032457600080fd5b5061033f600480360381019061033a9190611f8e565b610a15565b60405161034c9190611ffc565b60405180910390f35b34801561036157600080fd5b5061037c60048036038101906103779190611f8e565b610ac6565b005b34801561038a57600080fd5b506103a560048036038101906103a09190612083565b610ad8565b6040516103b29190612112565b60405180910390f35b3480156103c757600080fd5b506103d0610b8f565b005b3480156103de57600080fd5b506103f960048036038101906103f491906122ab565b610ba3565b6040516104069190611e8b565b60405180910390f35b34801561041b57600080fd5b5061043660048036038101906104319190612307565b610bba565b005b34801561044457600080fd5b5061044d610bcc565b60405161045a9190612112565b60405180910390f35b34801561046f57600080fd5b50610478610bd2565b6040516104859190611ffc565b60405180910390f35b34801561049a57600080fd5b506104a3610bfc565b6040516104b09190611f36565b60405180910390f35b3480156104c557600080fd5b506104e060048036038101906104db9190612360565b610c8e565b005b3480156104ee57600080fd5b506104f7610ca4565b6040516105049190612112565b60405180910390f35b610527600480360381019061052291906123a0565b610caa565b005b34801561053557600080fd5b50610550600480360381019061054b919061249e565b610e8a565b005b34801561055e57600080fd5b5061057960048036038101906105749190611f8e565b610eec565b6040516105869190611f36565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b191906125c2565b610f20565b005b3480156105c457600080fd5b506105df60048036038101906105da919061260b565b610f3b565b6040516105ec9190611e8b565b60405180910390f35b34801561060157600080fd5b5061061c60048036038101906106179190612083565b610fcf565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106e957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106f957506106f882611052565b5b9050919050565b60606000805461070f9061267a565b80601f016020809104026020016040519081016040528092919081815260200182805461073b9061267a565b80156107885780601f1061075d57610100808354040283529160200191610788565b820191906000526020600020905b81548152906001019060200180831161076b57829003601f168201915b5050505050905090565b600061079d826110bc565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107e382610a15565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084a9061271d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610872611107565b73ffffffffffffffffffffffffffffffffffffffff1614806108a157506108a08161089b611107565b610f3b565b5b6108e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d7906127af565b60405180910390fd5b6108ea838361110f565b505050565b600b6020528060005260406000206000915054906101000a900460ff1681565b61092061091a611107565b826111c8565b61095f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095690612841565b60405180910390fd5b61096a83838361125d565b505050565b603281565b61097c6114c3565b60003373ffffffffffffffffffffffffffffffffffffffff16476040516109a290612892565b60006040518083038185875af1925050503d80600081146109df576040519150601f19603f3d011682016040523d82523d6000602084013e6109e4565b606091505b50509050806109f257600080fd5b50565b610a1083838360405180602001604052806000815250610e8a565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab4906128f3565b60405180910390fd5b80915050919050565b610ace6114c3565b8060078190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3f90612985565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b976114c3565b610ba16000611541565b565b6000610bb283600a5484611607565b905092915050565b610bc26114c3565b80600a8190555050565b60075481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610c0b9061267a565b80601f0160208091040260200160405190810160405280929190818152602001828054610c379061267a565b8015610c845780601f10610c5957610100808354040283529160200191610c84565b820191906000526020600020905b815481529060010190602001808311610c6757829003601f168201915b5050505050905090565b610ca0610c99611107565b838361161e565b5050565b60085481565b603260085410610ce6576040517f502252bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610d6a576040517fddefae2800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007543414610da5576040517fb55baa4700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610dd58133604051602001610dba91906129ed565b60405160208183030381529060405280519060200120610ba3565b610e0b576040517f03c18cf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610e6f3360085461178a565b60086000815480929190610e8290612a37565b919050555050565b610e9b610e95611107565b836111c8565b610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed190612841565b60405180910390fd5b610ee684848484611963565b50505050565b60606009610ef9836119bf565b604051602001610f0a929190612b53565b6040516020818303038152906040529050919050565b610f286114c3565b8060099081610f379190612d0e565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610fd76114c3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d90612e52565b60405180910390fd5b61104f81611541565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6110c581611b1f565b611104576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fb906128f3565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661118283610a15565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806111d483610a15565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061121657506112158185610f3b565b5b8061125457508373ffffffffffffffffffffffffffffffffffffffff1661123c84610792565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661127d82610a15565b73ffffffffffffffffffffffffffffffffffffffff16146112d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ca90612ee4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611342576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133990612f76565b60405180910390fd5b61134d838383611b8b565b61135860008261110f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113a89190612f96565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113ff9190612fca565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46114be838383611b90565b505050565b6114cb611107565b73ffffffffffffffffffffffffffffffffffffffff166114e9610bd2565b73ffffffffffffffffffffffffffffffffffffffff161461153f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115369061304a565b60405180910390fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000826116148584611b95565b1490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361168c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611683906130b6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161177d9190611e8b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f090613122565b60405180910390fd5b61180281611b1f565b15611842576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118399061318e565b60405180910390fd5b61184e60008383611b8b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461189e9190612fca565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461195f60008383611b90565b5050565b61196e84848461125d565b61197a84848484611beb565b6119b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b090613220565b60405180910390fd5b50505050565b606060008203611a06576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611b1a565b600082905060005b60008214611a38578080611a2190612a37565b915050600a82611a31919061326f565b9150611a0e565b60008167ffffffffffffffff811115611a5457611a53612132565b5b6040519080825280601f01601f191660200182016040528015611a865781602001600182028036833780820191505090505b5090505b60008514611b1357600182611a9f9190612f96565b9150600a85611aae91906132a0565b6030611aba9190612fca565b60f81b818381518110611ad057611acf6132d1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611b0c919061326f565b9450611a8a565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60008082905060005b8451811015611be057611bcb82868381518110611bbe57611bbd6132d1565b5b6020026020010151611d72565b91508080611bd890612a37565b915050611b9e565b508091505092915050565b6000611c0c8473ffffffffffffffffffffffffffffffffffffffff16611d9d565b15611d65578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c35611107565b8786866040518563ffffffff1660e01b8152600401611c579493929190613355565b6020604051808303816000875af1925050508015611c9357506040513d601f19601f82011682018060405250810190611c9091906133b6565b60015b611d15573d8060008114611cc3576040519150601f19603f3d011682016040523d82523d6000602084013e611cc8565b606091505b506000815103611d0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0490613220565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611d6a565b600190505b949350505050565b6000818310611d8a57611d858284611dc0565b611d95565b611d948383611dc0565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611e2081611deb565b8114611e2b57600080fd5b50565b600081359050611e3d81611e17565b92915050565b600060208284031215611e5957611e58611de1565b5b6000611e6784828501611e2e565b91505092915050565b60008115159050919050565b611e8581611e70565b82525050565b6000602082019050611ea06000830184611e7c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611ee0578082015181840152602081019050611ec5565b60008484015250505050565b6000601f19601f8301169050919050565b6000611f0882611ea6565b611f128185611eb1565b9350611f22818560208601611ec2565b611f2b81611eec565b840191505092915050565b60006020820190508181036000830152611f508184611efd565b905092915050565b6000819050919050565b611f6b81611f58565b8114611f7657600080fd5b50565b600081359050611f8881611f62565b92915050565b600060208284031215611fa457611fa3611de1565b5b6000611fb284828501611f79565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611fe682611fbb565b9050919050565b611ff681611fdb565b82525050565b60006020820190506120116000830184611fed565b92915050565b61202081611fdb565b811461202b57600080fd5b50565b60008135905061203d81612017565b92915050565b6000806040838503121561205a57612059611de1565b5b60006120688582860161202e565b925050602061207985828601611f79565b9150509250929050565b60006020828403121561209957612098611de1565b5b60006120a78482850161202e565b91505092915050565b6000806000606084860312156120c9576120c8611de1565b5b60006120d78682870161202e565b93505060206120e88682870161202e565b92505060406120f986828701611f79565b9150509250925092565b61210c81611f58565b82525050565b60006020820190506121276000830184612103565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61216a82611eec565b810181811067ffffffffffffffff8211171561218957612188612132565b5b80604052505050565b600061219c611dd7565b90506121a88282612161565b919050565b600067ffffffffffffffff8211156121c8576121c7612132565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6121f1816121de565b81146121fc57600080fd5b50565b60008135905061220e816121e8565b92915050565b6000612227612222846121ad565b612192565b9050808382526020820190506020840283018581111561224a576122496121d9565b5b835b81811015612273578061225f88826121ff565b84526020840193505060208101905061224c565b5050509392505050565b600082601f8301126122925761229161212d565b5b81356122a2848260208601612214565b91505092915050565b600080604083850312156122c2576122c1611de1565b5b600083013567ffffffffffffffff8111156122e0576122df611de6565b5b6122ec8582860161227d565b92505060206122fd858286016121ff565b9150509250929050565b60006020828403121561231d5761231c611de1565b5b600061232b848285016121ff565b91505092915050565b61233d81611e70565b811461234857600080fd5b50565b60008135905061235a81612334565b92915050565b6000806040838503121561237757612376611de1565b5b60006123858582860161202e565b92505060206123968582860161234b565b9150509250929050565b6000602082840312156123b6576123b5611de1565b5b600082013567ffffffffffffffff8111156123d4576123d3611de6565b5b6123e08482850161227d565b91505092915050565b600080fd5b600067ffffffffffffffff82111561240957612408612132565b5b61241282611eec565b9050602081019050919050565b82818337600083830152505050565b600061244161243c846123ee565b612192565b90508281526020810184848401111561245d5761245c6123e9565b5b61246884828561241f565b509392505050565b600082601f8301126124855761248461212d565b5b813561249584826020860161242e565b91505092915050565b600080600080608085870312156124b8576124b7611de1565b5b60006124c68782880161202e565b94505060206124d78782880161202e565b93505060406124e887828801611f79565b925050606085013567ffffffffffffffff81111561250957612508611de6565b5b61251587828801612470565b91505092959194509250565b600067ffffffffffffffff82111561253c5761253b612132565b5b61254582611eec565b9050602081019050919050565b600061256561256084612521565b612192565b905082815260208101848484011115612581576125806123e9565b5b61258c84828561241f565b509392505050565b600082601f8301126125a9576125a861212d565b5b81356125b9848260208601612552565b91505092915050565b6000602082840312156125d8576125d7611de1565b5b600082013567ffffffffffffffff8111156125f6576125f5611de6565b5b61260284828501612594565b91505092915050565b6000806040838503121561262257612621611de1565b5b60006126308582860161202e565b92505060206126418582860161202e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061269257607f821691505b6020821081036126a5576126a461264b565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612707602183611eb1565b9150612712826126ab565b604082019050919050565b60006020820190508181036000830152612736816126fa565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612799603e83611eb1565b91506127a48261273d565b604082019050919050565b600060208201905081810360008301526127c88161278c565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b600061282b602e83611eb1565b9150612836826127cf565b604082019050919050565b6000602082019050818103600083015261285a8161281e565b9050919050565b600081905092915050565b50565b600061287c600083612861565b91506128878261286c565b600082019050919050565b600061289d8261286f565b9150819050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006128dd601883611eb1565b91506128e8826128a7565b602082019050919050565b6000602082019050818103600083015261290c816128d0565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061296f602983611eb1565b915061297a82612913565b604082019050919050565b6000602082019050818103600083015261299e81612962565b9050919050565b60008160601b9050919050565b60006129bd826129a5565b9050919050565b60006129cf826129b2565b9050919050565b6129e76129e282611fdb565b6129c4565b82525050565b60006129f982846129d6565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612a4282611f58565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612a7457612a73612a08565b5b600182019050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154612aac8161267a565b612ab68186612a7f565b94506001821660008114612ad15760018114612ae657612b19565b60ff1983168652811515820286019350612b19565b612aef85612a8a565b60005b83811015612b1157815481890152600182019150602081019050612af2565b838801955050505b50505092915050565b6000612b2d82611ea6565b612b378185612a7f565b9350612b47818560208601611ec2565b80840191505092915050565b6000612b5f8285612a9f565b9150612b6b8284612b22565b91508190509392505050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612bc47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612b87565b612bce8683612b87565b95508019841693508086168417925050509392505050565b6000819050919050565b6000612c0b612c06612c0184611f58565b612be6565b611f58565b9050919050565b6000819050919050565b612c2583612bf0565b612c39612c3182612c12565b848454612b94565b825550505050565b600090565b612c4e612c41565b612c59818484612c1c565b505050565b5b81811015612c7d57612c72600082612c46565b600181019050612c5f565b5050565b601f821115612cc257612c9381612a8a565b612c9c84612b77565b81016020851015612cab578190505b612cbf612cb785612b77565b830182612c5e565b50505b505050565b600082821c905092915050565b6000612ce560001984600802612cc7565b1980831691505092915050565b6000612cfe8383612cd4565b9150826002028217905092915050565b612d1782611ea6565b67ffffffffffffffff811115612d3057612d2f612132565b5b612d3a825461267a565b612d45828285612c81565b600060209050601f831160018114612d785760008415612d66578287015190505b612d708582612cf2565b865550612dd8565b601f198416612d8686612a8a565b60005b82811015612dae57848901518255600182019150602085019450602081019050612d89565b86831015612dcb5784890151612dc7601f891682612cd4565b8355505b6001600288020188555050505b505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612e3c602683611eb1565b9150612e4782612de0565b604082019050919050565b60006020820190508181036000830152612e6b81612e2f565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000612ece602583611eb1565b9150612ed982612e72565b604082019050919050565b60006020820190508181036000830152612efd81612ec1565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612f60602483611eb1565b9150612f6b82612f04565b604082019050919050565b60006020820190508181036000830152612f8f81612f53565b9050919050565b6000612fa182611f58565b9150612fac83611f58565b9250828203905081811115612fc457612fc3612a08565b5b92915050565b6000612fd582611f58565b9150612fe083611f58565b9250828201905080821115612ff857612ff7612a08565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613034602083611eb1565b915061303f82612ffe565b602082019050919050565b6000602082019050818103600083015261306381613027565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006130a0601983611eb1565b91506130ab8261306a565b602082019050919050565b600060208201905081810360008301526130cf81613093565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061310c602083611eb1565b9150613117826130d6565b602082019050919050565b6000602082019050818103600083015261313b816130ff565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613178601c83611eb1565b915061318382613142565b602082019050919050565b600060208201905081810360008301526131a78161316b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061320a603283611eb1565b9150613215826131ae565b604082019050919050565b60006020820190508181036000830152613239816131fd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061327a82611f58565b915061328583611f58565b92508261329557613294613240565b5b828204905092915050565b60006132ab82611f58565b91506132b683611f58565b9250826132c6576132c5613240565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b600061332782613300565b613331818561330b565b9350613341818560208601611ec2565b61334a81611eec565b840191505092915050565b600060808201905061336a6000830187611fed565b6133776020830186611fed565b6133846040830185612103565b8181036060830152613396818461331c565b905095945050505050565b6000815190506133b081611e17565b92915050565b6000602082840312156133cc576133cb611de1565b5b60006133da848285016133a1565b9150509291505056fea2646970667358221220857e1afb89f2ba16af7f787ad7615c7399dda018452aafeaee8a21a702e9a29564736f6c63430008110033000000000000000000000000000000000000000000000000000000000000004083c43e555a3e0753bee6a44339d8c94aeadfabba070606e953d6005f9163f30d000000000000000000000000000000000000000000000000000000000000002c68747470733a2f2f746865626f72656462726577696e67636f6d70616e792e636f6d2f6d657461646174612f0000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101815760003560e01c80637bef907a116100d1578063a5c42ef11161008a578063c87b56dd11610064578063c87b56dd14610552578063e0df5b6f1461058f578063e985e9c5146105b8578063f2fde38b146105f557610181565b8063a5c42ef1146104e2578063b77a147b1461050d578063b88d4fde1461052957610181565b80637bef907a146103d25780637cb647591461040f5780637ff9b596146104385780638da5cb5b1461046357806395d89b411461048e578063a22cb465146104b957610181565b806332cb6b0c1161013e5780636352211e116101185780636352211e146103185780636a61e5fc1461035557806370a082311461037e578063715018a6146103bb57610181565b806332cb6b0c146102ba5780633ccfd60b146102e557806342842e0e146102ef57610181565b806301ffc9a71461018657806306fdde03146101c3578063081812fc146101ee578063095ea7b31461022b5780631e7269c51461025457806323b872dd14610291575b600080fd5b34801561019257600080fd5b506101ad60048036038101906101a89190611e43565b61061e565b6040516101ba9190611e8b565b60405180910390f35b3480156101cf57600080fd5b506101d8610700565b6040516101e59190611f36565b60405180910390f35b3480156101fa57600080fd5b5061021560048036038101906102109190611f8e565b610792565b6040516102229190611ffc565b60405180910390f35b34801561023757600080fd5b50610252600480360381019061024d9190612043565b6107d8565b005b34801561026057600080fd5b5061027b60048036038101906102769190612083565b6108ef565b6040516102889190611e8b565b60405180910390f35b34801561029d57600080fd5b506102b860048036038101906102b391906120b0565b61090f565b005b3480156102c657600080fd5b506102cf61096f565b6040516102dc9190612112565b60405180910390f35b6102ed610974565b005b3480156102fb57600080fd5b50610316600480360381019061031191906120b0565b6109f5565b005b34801561032457600080fd5b5061033f600480360381019061033a9190611f8e565b610a15565b60405161034c9190611ffc565b60405180910390f35b34801561036157600080fd5b5061037c60048036038101906103779190611f8e565b610ac6565b005b34801561038a57600080fd5b506103a560048036038101906103a09190612083565b610ad8565b6040516103b29190612112565b60405180910390f35b3480156103c757600080fd5b506103d0610b8f565b005b3480156103de57600080fd5b506103f960048036038101906103f491906122ab565b610ba3565b6040516104069190611e8b565b60405180910390f35b34801561041b57600080fd5b5061043660048036038101906104319190612307565b610bba565b005b34801561044457600080fd5b5061044d610bcc565b60405161045a9190612112565b60405180910390f35b34801561046f57600080fd5b50610478610bd2565b6040516104859190611ffc565b60405180910390f35b34801561049a57600080fd5b506104a3610bfc565b6040516104b09190611f36565b60405180910390f35b3480156104c557600080fd5b506104e060048036038101906104db9190612360565b610c8e565b005b3480156104ee57600080fd5b506104f7610ca4565b6040516105049190612112565b60405180910390f35b610527600480360381019061052291906123a0565b610caa565b005b34801561053557600080fd5b50610550600480360381019061054b919061249e565b610e8a565b005b34801561055e57600080fd5b5061057960048036038101906105749190611f8e565b610eec565b6040516105869190611f36565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b191906125c2565b610f20565b005b3480156105c457600080fd5b506105df60048036038101906105da919061260b565b610f3b565b6040516105ec9190611e8b565b60405180910390f35b34801561060157600080fd5b5061061c60048036038101906106179190612083565b610fcf565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106e957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106f957506106f882611052565b5b9050919050565b60606000805461070f9061267a565b80601f016020809104026020016040519081016040528092919081815260200182805461073b9061267a565b80156107885780601f1061075d57610100808354040283529160200191610788565b820191906000526020600020905b81548152906001019060200180831161076b57829003601f168201915b5050505050905090565b600061079d826110bc565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107e382610a15565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084a9061271d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610872611107565b73ffffffffffffffffffffffffffffffffffffffff1614806108a157506108a08161089b611107565b610f3b565b5b6108e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d7906127af565b60405180910390fd5b6108ea838361110f565b505050565b600b6020528060005260406000206000915054906101000a900460ff1681565b61092061091a611107565b826111c8565b61095f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095690612841565b60405180910390fd5b61096a83838361125d565b505050565b603281565b61097c6114c3565b60003373ffffffffffffffffffffffffffffffffffffffff16476040516109a290612892565b60006040518083038185875af1925050503d80600081146109df576040519150601f19603f3d011682016040523d82523d6000602084013e6109e4565b606091505b50509050806109f257600080fd5b50565b610a1083838360405180602001604052806000815250610e8a565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab4906128f3565b60405180910390fd5b80915050919050565b610ace6114c3565b8060078190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3f90612985565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b976114c3565b610ba16000611541565b565b6000610bb283600a5484611607565b905092915050565b610bc26114c3565b80600a8190555050565b60075481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610c0b9061267a565b80601f0160208091040260200160405190810160405280929190818152602001828054610c379061267a565b8015610c845780601f10610c5957610100808354040283529160200191610c84565b820191906000526020600020905b815481529060010190602001808311610c6757829003601f168201915b5050505050905090565b610ca0610c99611107565b838361161e565b5050565b60085481565b603260085410610ce6576040517f502252bc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610d6a576040517fddefae2800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007543414610da5576040517fb55baa4700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610dd58133604051602001610dba91906129ed565b60405160208183030381529060405280519060200120610ba3565b610e0b576040517f03c18cf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610e6f3360085461178a565b60086000815480929190610e8290612a37565b919050555050565b610e9b610e95611107565b836111c8565b610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed190612841565b60405180910390fd5b610ee684848484611963565b50505050565b60606009610ef9836119bf565b604051602001610f0a929190612b53565b6040516020818303038152906040529050919050565b610f286114c3565b8060099081610f379190612d0e565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610fd76114c3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d90612e52565b60405180910390fd5b61104f81611541565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6110c581611b1f565b611104576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fb906128f3565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661118283610a15565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806111d483610a15565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061121657506112158185610f3b565b5b8061125457508373ffffffffffffffffffffffffffffffffffffffff1661123c84610792565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661127d82610a15565b73ffffffffffffffffffffffffffffffffffffffff16146112d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ca90612ee4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611342576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133990612f76565b60405180910390fd5b61134d838383611b8b565b61135860008261110f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113a89190612f96565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113ff9190612fca565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46114be838383611b90565b505050565b6114cb611107565b73ffffffffffffffffffffffffffffffffffffffff166114e9610bd2565b73ffffffffffffffffffffffffffffffffffffffff161461153f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115369061304a565b60405180910390fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000826116148584611b95565b1490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361168c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611683906130b6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161177d9190611e8b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f090613122565b60405180910390fd5b61180281611b1f565b15611842576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118399061318e565b60405180910390fd5b61184e60008383611b8b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461189e9190612fca565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461195f60008383611b90565b5050565b61196e84848461125d565b61197a84848484611beb565b6119b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b090613220565b60405180910390fd5b50505050565b606060008203611a06576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611b1a565b600082905060005b60008214611a38578080611a2190612a37565b915050600a82611a31919061326f565b9150611a0e565b60008167ffffffffffffffff811115611a5457611a53612132565b5b6040519080825280601f01601f191660200182016040528015611a865781602001600182028036833780820191505090505b5090505b60008514611b1357600182611a9f9190612f96565b9150600a85611aae91906132a0565b6030611aba9190612fca565b60f81b818381518110611ad057611acf6132d1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611b0c919061326f565b9450611a8a565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60008082905060005b8451811015611be057611bcb82868381518110611bbe57611bbd6132d1565b5b6020026020010151611d72565b91508080611bd890612a37565b915050611b9e565b508091505092915050565b6000611c0c8473ffffffffffffffffffffffffffffffffffffffff16611d9d565b15611d65578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c35611107565b8786866040518563ffffffff1660e01b8152600401611c579493929190613355565b6020604051808303816000875af1925050508015611c9357506040513d601f19601f82011682018060405250810190611c9091906133b6565b60015b611d15573d8060008114611cc3576040519150601f19603f3d011682016040523d82523d6000602084013e611cc8565b606091505b506000815103611d0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0490613220565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611d6a565b600190505b949350505050565b6000818310611d8a57611d858284611dc0565b611d95565b611d948383611dc0565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611e2081611deb565b8114611e2b57600080fd5b50565b600081359050611e3d81611e17565b92915050565b600060208284031215611e5957611e58611de1565b5b6000611e6784828501611e2e565b91505092915050565b60008115159050919050565b611e8581611e70565b82525050565b6000602082019050611ea06000830184611e7c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611ee0578082015181840152602081019050611ec5565b60008484015250505050565b6000601f19601f8301169050919050565b6000611f0882611ea6565b611f128185611eb1565b9350611f22818560208601611ec2565b611f2b81611eec565b840191505092915050565b60006020820190508181036000830152611f508184611efd565b905092915050565b6000819050919050565b611f6b81611f58565b8114611f7657600080fd5b50565b600081359050611f8881611f62565b92915050565b600060208284031215611fa457611fa3611de1565b5b6000611fb284828501611f79565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611fe682611fbb565b9050919050565b611ff681611fdb565b82525050565b60006020820190506120116000830184611fed565b92915050565b61202081611fdb565b811461202b57600080fd5b50565b60008135905061203d81612017565b92915050565b6000806040838503121561205a57612059611de1565b5b60006120688582860161202e565b925050602061207985828601611f79565b9150509250929050565b60006020828403121561209957612098611de1565b5b60006120a78482850161202e565b91505092915050565b6000806000606084860312156120c9576120c8611de1565b5b60006120d78682870161202e565b93505060206120e88682870161202e565b92505060406120f986828701611f79565b9150509250925092565b61210c81611f58565b82525050565b60006020820190506121276000830184612103565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61216a82611eec565b810181811067ffffffffffffffff8211171561218957612188612132565b5b80604052505050565b600061219c611dd7565b90506121a88282612161565b919050565b600067ffffffffffffffff8211156121c8576121c7612132565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6121f1816121de565b81146121fc57600080fd5b50565b60008135905061220e816121e8565b92915050565b6000612227612222846121ad565b612192565b9050808382526020820190506020840283018581111561224a576122496121d9565b5b835b81811015612273578061225f88826121ff565b84526020840193505060208101905061224c565b5050509392505050565b600082601f8301126122925761229161212d565b5b81356122a2848260208601612214565b91505092915050565b600080604083850312156122c2576122c1611de1565b5b600083013567ffffffffffffffff8111156122e0576122df611de6565b5b6122ec8582860161227d565b92505060206122fd858286016121ff565b9150509250929050565b60006020828403121561231d5761231c611de1565b5b600061232b848285016121ff565b91505092915050565b61233d81611e70565b811461234857600080fd5b50565b60008135905061235a81612334565b92915050565b6000806040838503121561237757612376611de1565b5b60006123858582860161202e565b92505060206123968582860161234b565b9150509250929050565b6000602082840312156123b6576123b5611de1565b5b600082013567ffffffffffffffff8111156123d4576123d3611de6565b5b6123e08482850161227d565b91505092915050565b600080fd5b600067ffffffffffffffff82111561240957612408612132565b5b61241282611eec565b9050602081019050919050565b82818337600083830152505050565b600061244161243c846123ee565b612192565b90508281526020810184848401111561245d5761245c6123e9565b5b61246884828561241f565b509392505050565b600082601f8301126124855761248461212d565b5b813561249584826020860161242e565b91505092915050565b600080600080608085870312156124b8576124b7611de1565b5b60006124c68782880161202e565b94505060206124d78782880161202e565b93505060406124e887828801611f79565b925050606085013567ffffffffffffffff81111561250957612508611de6565b5b61251587828801612470565b91505092959194509250565b600067ffffffffffffffff82111561253c5761253b612132565b5b61254582611eec565b9050602081019050919050565b600061256561256084612521565b612192565b905082815260208101848484011115612581576125806123e9565b5b61258c84828561241f565b509392505050565b600082601f8301126125a9576125a861212d565b5b81356125b9848260208601612552565b91505092915050565b6000602082840312156125d8576125d7611de1565b5b600082013567ffffffffffffffff8111156125f6576125f5611de6565b5b61260284828501612594565b91505092915050565b6000806040838503121561262257612621611de1565b5b60006126308582860161202e565b92505060206126418582860161202e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061269257607f821691505b6020821081036126a5576126a461264b565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612707602183611eb1565b9150612712826126ab565b604082019050919050565b60006020820190508181036000830152612736816126fa565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612799603e83611eb1565b91506127a48261273d565b604082019050919050565b600060208201905081810360008301526127c88161278c565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b600061282b602e83611eb1565b9150612836826127cf565b604082019050919050565b6000602082019050818103600083015261285a8161281e565b9050919050565b600081905092915050565b50565b600061287c600083612861565b91506128878261286c565b600082019050919050565b600061289d8261286f565b9150819050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006128dd601883611eb1565b91506128e8826128a7565b602082019050919050565b6000602082019050818103600083015261290c816128d0565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061296f602983611eb1565b915061297a82612913565b604082019050919050565b6000602082019050818103600083015261299e81612962565b9050919050565b60008160601b9050919050565b60006129bd826129a5565b9050919050565b60006129cf826129b2565b9050919050565b6129e76129e282611fdb565b6129c4565b82525050565b60006129f982846129d6565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612a4282611f58565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612a7457612a73612a08565b5b600182019050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154612aac8161267a565b612ab68186612a7f565b94506001821660008114612ad15760018114612ae657612b19565b60ff1983168652811515820286019350612b19565b612aef85612a8a565b60005b83811015612b1157815481890152600182019150602081019050612af2565b838801955050505b50505092915050565b6000612b2d82611ea6565b612b378185612a7f565b9350612b47818560208601611ec2565b80840191505092915050565b6000612b5f8285612a9f565b9150612b6b8284612b22565b91508190509392505050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612bc47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612b87565b612bce8683612b87565b95508019841693508086168417925050509392505050565b6000819050919050565b6000612c0b612c06612c0184611f58565b612be6565b611f58565b9050919050565b6000819050919050565b612c2583612bf0565b612c39612c3182612c12565b848454612b94565b825550505050565b600090565b612c4e612c41565b612c59818484612c1c565b505050565b5b81811015612c7d57612c72600082612c46565b600181019050612c5f565b5050565b601f821115612cc257612c9381612a8a565b612c9c84612b77565b81016020851015612cab578190505b612cbf612cb785612b77565b830182612c5e565b50505b505050565b600082821c905092915050565b6000612ce560001984600802612cc7565b1980831691505092915050565b6000612cfe8383612cd4565b9150826002028217905092915050565b612d1782611ea6565b67ffffffffffffffff811115612d3057612d2f612132565b5b612d3a825461267a565b612d45828285612c81565b600060209050601f831160018114612d785760008415612d66578287015190505b612d708582612cf2565b865550612dd8565b601f198416612d8686612a8a565b60005b82811015612dae57848901518255600182019150602085019450602081019050612d89565b86831015612dcb5784890151612dc7601f891682612cd4565b8355505b6001600288020188555050505b505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612e3c602683611eb1565b9150612e4782612de0565b604082019050919050565b60006020820190508181036000830152612e6b81612e2f565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000612ece602583611eb1565b9150612ed982612e72565b604082019050919050565b60006020820190508181036000830152612efd81612ec1565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612f60602483611eb1565b9150612f6b82612f04565b604082019050919050565b60006020820190508181036000830152612f8f81612f53565b9050919050565b6000612fa182611f58565b9150612fac83611f58565b9250828203905081811115612fc457612fc3612a08565b5b92915050565b6000612fd582611f58565b9150612fe083611f58565b9250828201905080821115612ff857612ff7612a08565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613034602083611eb1565b915061303f82612ffe565b602082019050919050565b6000602082019050818103600083015261306381613027565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006130a0601983611eb1565b91506130ab8261306a565b602082019050919050565b600060208201905081810360008301526130cf81613093565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061310c602083611eb1565b9150613117826130d6565b602082019050919050565b6000602082019050818103600083015261313b816130ff565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613178601c83611eb1565b915061318382613142565b602082019050919050565b600060208201905081810360008301526131a78161316b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061320a603283611eb1565b9150613215826131ae565b604082019050919050565b60006020820190508181036000830152613239816131fd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061327a82611f58565b915061328583611f58565b92508261329557613294613240565b5b828204905092915050565b60006132ab82611f58565b91506132b683611f58565b9250826132c6576132c5613240565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b600061332782613300565b613331818561330b565b9350613341818560208601611ec2565b61334a81611eec565b840191505092915050565b600060808201905061336a6000830187611fed565b6133776020830186611fed565b6133846040830185612103565b8181036060830152613396818461331c565b905095945050505050565b6000815190506133b081611e17565b92915050565b6000602082840312156133cc576133cb611de1565b5b60006133da848285016133a1565b9150509291505056fea2646970667358221220857e1afb89f2ba16af7f787ad7615c7399dda018452aafeaee8a21a702e9a29564736f6c63430008110033

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

000000000000000000000000000000000000000000000000000000000000004083c43e555a3e0753bee6a44339d8c94aeadfabba070606e953d6005f9163f30d000000000000000000000000000000000000000000000000000000000000002c68747470733a2f2f746865626f72656462726577696e67636f6d70616e792e636f6d2f6d657461646174612f0000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseTokenURI (string): https://theboredbrewingcompany.com/metadata/
Arg [1] : _merkleRoot (bytes32): 0x83c43e555a3e0753bee6a44339d8c94aeadfabba070606e953d6005f9163f30d

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 83c43e555a3e0753bee6a44339d8c94aeadfabba070606e953d6005f9163f30d
Arg [2] : 000000000000000000000000000000000000000000000000000000000000002c
Arg [3] : 68747470733a2f2f746865626f72656462726577696e67636f6d70616e792e63
Arg [4] : 6f6d2f6d657461646174612f0000000000000000000000000000000000000000


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.