Contract 0xF6600eEc317c158d3084B4f5A724CDdFE24d9475 1

 
 
Txn Hash
Method
Block
From
To
Value
0xd707188deabcc0d10e9804be2b8930cabd74134f04a13bebdf5c30e7f0991d15Safe Transfer Fr...157941312022-10-21 4:35:5939 days 7 hrs ago0xff24c5c5aa4c8d04ce04f4dd80fbf4ca25aea6a2 IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.0012826 21.18854078
0x16615534461dfdcd21dc676ebb5b3ee67eb3064d17dcda98c442bf881f92999bSet Approval For...157663482022-10-17 7:29:5943 days 4 hrs ago0x0ea513d5b2bb375fb9ba3d36725964fedd8b8475 IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00048274 10.46247325
0x8eaf7bb7a6783d3ea242e929e7fa26ebec6725fa9f1ab9a6c83b7c3fb5458af8Set Approval For...157575032022-10-16 1:49:4744 days 9 hrs ago0xff24c5c5aa4c8d04ce04f4dd80fbf4ca25aea6a2 IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00082521 17.88466405
0xa9a5f3bb8c738c51f24ba8daa6b32329e68b4a59f46d080dfc32a6778156bd37Set Approval For...157103852022-10-09 11:57:3550 days 23 hrs agoENS Name kurorotty.eth IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00071158 15.4218774
0x69179f972dd7068f0c035b06262023e1064a1f0dcdfdd750b5284db75a79ef36Set Approval For...156611012022-10-02 14:36:3557 days 21 hrs ago0x1e1dc93e06e44cae96e3dd20cb10bfc9861d3dcc IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00033235 7.20302242
0x65ace0383f5be176ec1a6db7a588915138d34e5bd85b0e543bf0d4fde3b626e8Transfer From156393032022-09-29 13:29:1160 days 22 hrs ago0xcc86aab8772786da2f632dff9b0540472a2acf13 IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00093901 16.29323051
0x1d701d86af18d598112b936a9974901a998125c7fc75780458d7409a0f2e06bfSet Approval For...156150842022-09-26 4:12:5964 days 7 hrs ago0xc66a6d9b377db1e237455b6c83bee4e64770f911 IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00027454 5.95009796
0x4677e8ad4d6b444db45d000d91954256ef824a4f01a079b3960b173507ee00dbSafe Transfer Fr...155964332022-09-23 13:45:5966 days 21 hrs ago0x54ed4747ad3cb6596df356df2670ba2a88576d3c IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00048485 8.01143359
0xb1a31bfdf52f0e5272d262079196a22c42324214ad1d8ef8f981b0e2fdb18c41Safe Transfer Fr...155955922022-09-23 10:56:5967 days 39 mins ago0x95bf587777b68a29ef6f3e5f6ac9fbef1abe5d62 IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00041048 6.78119772
0x3b0661d74c0255567715c447ab69c9d1c3db75adfe1b2200e749b98805c73991Set Approval For...155663202022-09-19 8:17:2371 days 3 hrs ago0x3f222e6f7e38c22b28f30a65b4cdb8822f0c4da0 IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00025197 5.46108467
0xa54d9aa300878177771e1be1f28eb1b282e07cad89e6e68a5bc8d75fb5307a0fSet Approval For...155262012022-09-13 9:43:2877 days 1 hr ago0xff5985d6f63458adc6229824d06886f13c7f98c3 IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00032221 13.29888319
0x6c8284caf1e9cde949fb34c49cc03e1ea26a5c2ba80a6d4d766ec089c22dfda6Set Approval For...154842052022-09-06 12:52:4083 days 22 hrs agoENS Name okkun.eth IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00029842 6.4677278
0xaa00b3c00e237a1a09ec67edac170a713bce4622a392c9a7f3780cbf7c65ab20Set Approval For...154221602022-08-27 14:43:5293 days 20 hrs ago0xbaf7c5e84b844fb3cca9de566159cbc1def6c406 IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00042748 9.26473672
0x7e8eeb6be2b5a08bb908fb5d2299f8e2fc387cfda8f98109297b9ed57c45c831Set Approval For...154056902022-08-24 23:05:3796 days 12 hrs ago0x480f682245ddf551727e747314400d4fac84e438 IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00051541 11.17035124
0xfbefb1d83655b417157ebca8646d7fd09200539a6121cd7aa3dc0b34ad7fcb71Set Approval For...153881642022-08-22 4:22:5099 days 7 hrs ago0x096a29951b2407d981d80b51ccaea8908d5d29bd IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00028773 6.2360609
0x5c84a10d0d30b07d4e8503189fde315e4a506de8528e34ec983674b9122a61ddSet Approval For...153824812022-08-21 6:49:24100 days 4 hrs ago0x69c1f3471ac09760077d71a3a60125a678b507d2 IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00014573 3.15838477
0xb125ff165a9f1d9d9721bbab45d7bf99976f38e778839e86426acb3ceee74387Safe Transfer Fr...153709652022-08-19 11:17:49102 days 18 mins ago0x50889e629ea47888a38b0b256bb0212183b6a1e9 IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00078058 12.89521188
0x3bc39fe8032f5bbb6ffeea26a5066bfc5acbaa7d91b5d030caecbd4a2c8af6a8Set Approval For...153627022022-08-18 3:37:24103 days 7 hrs ago0xc83a7e93d60798b9c1e9cfb2b1e6f63803463e16 IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00043975 9.53070746
0xcb583074c1ade23a2d6f7e81ebed7a69001e267b03fd26030c90f038ea3b6561Set Approval For...153578452022-08-17 9:08:19104 days 2 hrs ago0x4c0c8781bf38792c9a4099f51aba90377a568ddc IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00028138 6.09844797
0xffaa9340c5451263e0fec5dcc60916f99b209bbb2ef87f762fdb57cd209ec07fSafe Transfer Fr...153571902022-08-17 6:43:52104 days 4 hrs ago0xee0e61623a7142883d92bf98980c3f58a409b1c8 IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00058526 9.66846513
0xe7ffd5c0f358730051e74722b534b36cd5101d4bf374e0ac6287482af6c38416Transfer From152804212022-08-05 5:26:20116 days 6 hrs agoENS Name yume3.eth IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.0005591 9.70130463
0x08d5464f6d5ade3b0cff68917158d51d10d04f40bad2a24fbf0297b544ea272aSet Approval For...152574822022-08-01 15:29:53119 days 20 hrs ago0x50889e629ea47888a38b0b256bb0212183b6a1e9 IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00097073 21.03840494
0xfd04c7383033008a82c826061a6c033c6cf5c5d79439ba885e3314167a6dc8b2Transfer From152541652022-08-01 3:26:46120 days 8 hrs ago0x08d727615860e9b5e317cad7767ebc93d79667e5 IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00054929 13.55212074
0x76714a249e887c8a933a6bc116aef3c5884c4da114e106e50afb8918a2c6a6daTransfer From152446842022-07-30 15:46:47121 days 19 hrs ago0xfc944fd6f81c76a67878fcc5e9b87edf35fca74a IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00055537 13.70217863
0x3e722a616a74b475f634f4100858f227e5f2266bb8e04468c85cb7f4d007f756Transfer From152446682022-07-30 15:43:15121 days 19 hrs ago0xfc944fd6f81c76a67878fcc5e9b87edf35fca74a IN  0xf6600eec317c158d3084b4f5a724cddfe24d94750 Ether0.00091535 14.66163149
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x87e2e257fb6ca6cbb84cbce5b8834e63010e8226eb464844c9141e7fd998c927152091402022-07-25 2:51:18127 days 8 hrs ago 0xf6600eec317c158d3084b4f5a724cddfe24d9475METASAMURAI: Deployer1.98 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
JpTheWavyASZ

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : JpTheWavyASZ.sol
/*

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

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

contract JpTheWavyASZ is ERC721, Ownable, ERC2981 {
    string private _baseTokenURI;

    uint256 public maxSupply;
    uint256 private constant _price = 0.06 ether;
    uint256 private _tokenId;
    uint256 private _mintLimitPerAddress = 1;

    bytes32 private _merkleRoot;

    bool public isPublicActive;
    bool public isPreActive;
    mapping(address => uint256) private _amountMinted;

    event MintAmount(
        uint256 _mintAmountLeft,
        uint256 _totalSupply,
        address _minter
    );

    constructor(
        string memory _uri,
        uint256 _maxSupply,
        bytes32 merkleRoot_
    ) ERC721("ASZ", "ASZ") {
        setBaseTokenURI(_uri);
        setMaxSupply(_maxSupply);
        setRoyaltyInfo(_msgSender(), 750); // 750 == 7.5%
        setMerkleProof(merkleRoot_);
    }

    modifier mintCompliance(uint256 _mintAmount) {
        require(
            totalSupply() + _mintAmount <= maxSupply,
            "JTWASZ: Must mint within max supply"
        );
        require(_mintAmount > 0, "JTWASZ: Must mint at least 1");
        _;
    }
    modifier saleCompliance(bool _isSaleActive) {
        require(_isSaleActive, "JTWASZ: The sale is not Active yet");
        require(
            _amountMinted[_msgSender()] < _mintLimitPerAddress,
            "JTWASZ: Already reached mint limit"
        );
        require(msg.value == _price, "JTWASZ: The mint price is not right");
        _;
    }

    // mint
    /**
     * @dev _tokenId and _amountMinted are called before _safeMint
     *      because of Checks-Effects-Interactions
     */

    function devMint(uint256 _mintAmount)
        public
        onlyOwner
        mintCompliance(_mintAmount)
    {
        address to = owner();
        for (uint256 i = 0; i < _mintAmount; i++) {
            mint_(to);
        }
    }

    function publicMint()
        public
        payable
        mintCompliance(1)
        saleCompliance(isPublicActive)
    {
        address to = _msgSender();
        _amountMinted[to] += 1;
        mint_(to);
        emit MintAmount(0, totalSupply(), to);
    }

    function preMint(bytes32[] calldata _merkleProof)
        public
        payable
        mintCompliance(1)
        saleCompliance(isPreActive)
    {
        address to = _msgSender();
        require(_verify(to, _merkleProof), "JTWASZ: Invalid Merkle Proof");

        _amountMinted[to] += 1;
        mint_(to);
        emit MintAmount(0, totalSupply(), to);
    }

    function mint_(address _to) private {
        _tokenId += 1;
        _safeMint(_to, _tokenId);
    }

    // setter

    function setBaseTokenURI(string memory _newTokenURI) public onlyOwner {
        _baseTokenURI = _newTokenURI;
    }

    function setMaxSupply(uint256 _newMaxSupply) public onlyOwner {
        maxSupply = _newMaxSupply;
    }

    function setMintLimit(uint256 _newMintLimit) public onlyOwner {
        _mintLimitPerAddress = _newMintLimit;
    }

    function setMerkleProof(bytes32 _newMerkleRoot) public onlyOwner {
        _merkleRoot = _newMerkleRoot;
    }

    function setRoyaltyInfo(address _receiver, uint96 _royaltyFee)
        public
        onlyOwner
    {
        _setDefaultRoyalty(_receiver, _royaltyFee);
    }

    // toggle

    function togglePublicActive() public onlyOwner {
        isPublicActive = !isPublicActive;
    }

    function togglePreActive() public onlyOwner {
        isPreActive = !isPreActive;
    }

    // view

    function totalSupply() public view returns (uint256) {
        return _tokenId;
    }

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

    function mintableAmount(address _address, bytes32[] calldata _merkleProof)
        public
        view
        returns (uint256)
    {
        if (
            _verify(_address, _merkleProof) &&
            _amountMinted[_address] < _mintLimitPerAddress
        ) return _mintLimitPerAddress - _amountMinted[_address];
        else return 0;
    }

    function amountMinted(address _address) public view returns (uint256) {
        return _amountMinted[_address];
    }

    function _verify(address _address, bytes32[] calldata _merkleProof)
        private
        view
        returns (bool)
    {
        bytes32 leaf = keccak256(abi.encodePacked(_address));

        return MerkleProof.verify(_merkleProof, _merkleRoot, leaf);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, ERC2981)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    // withdraw

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

    /**
     * @dev For receiving eth just in case someone try to send it.
     */

    receive() external payable {}
}

File 2 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

File 3 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 14 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

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

pragma solidity ^0.8.0;

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

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

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

File 6 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 14 : 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 8 of 14 : 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 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 14 of 14 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_mintAmountLeft","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"indexed":false,"internalType":"address","name":"_minter","type":"address"}],"name":"MintAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"amountMinted","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":"_mintAmount","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPreActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newMerkleRoot","type":"bytes32"}],"name":"setMerkleProof","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMintLimit","type":"uint256"}],"name":"setMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFee","type":"uint96"}],"name":"setRoyaltyInfo","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":"togglePreActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526001600c553480156200001657600080fd5b5060405162002c7538038062002c75833981016040819052620000399162000454565b60408051808201825260038082526220a9ad60e91b602080840182815285518087019096529285528401528151919291620000779160009162000398565b5080516200008d90600190602084019062000398565b505050620000aa620000a4620000e260201b60201c565b620000e6565b620000b58362000138565b620000c082620001a0565b620000ce336102ee620001f0565b620000d98162000247565b50505062000581565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006546001600160a01b03163314620001875760405162461bcd60e51b8152602060048201819052602482015260008051602062002c5583398151915260448201526064015b60405180910390fd5b80516200019c90600990602084019062000398565b5050565b6006546001600160a01b03163314620001eb5760405162461bcd60e51b8152602060048201819052602482015260008051602062002c5583398151915260448201526064016200017e565b600a55565b6006546001600160a01b031633146200023b5760405162461bcd60e51b8152602060048201819052602482015260008051602062002c5583398151915260448201526064016200017e565b6200019c828262000297565b6006546001600160a01b03163314620002925760405162461bcd60e51b8152602060048201819052602482015260008051602062002c5583398151915260448201526064016200017e565b600d55565b6127106001600160601b0382161115620003075760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016200017e565b6001600160a01b0382166200035f5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016200017e565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600755565b828054620003a69062000544565b90600052602060002090601f016020900481019282620003ca576000855562000415565b82601f10620003e557805160ff191683800117855562000415565b8280016001018555821562000415579182015b8281111562000415578251825591602001919060010190620003f8565b506200042392915062000427565b5090565b5b8082111562000423576000815560010162000428565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156200046a57600080fd5b83516001600160401b03808211156200048257600080fd5b818601915086601f8301126200049757600080fd5b815181811115620004ac57620004ac6200043e565b604051601f8201601f19908116603f01168101908382118183101715620004d757620004d76200043e565b81604052828152602093508984848701011115620004f457600080fd5b600091505b82821015620005185784820184015181830185015290830190620004f9565b828211156200052a5760008484830101525b928801516040909801519299979850919695505050505050565b600181811c908216806200055957607f821691505b602082108114156200057b57634e487b7160e01b600052602260045260246000fd5b50919050565b6126c480620005916000396000f3fe6080604052600436106101fd5760003560e01c8063438a67e71161010d5780639e6a1d7d116100a0578063c87b56dd1161006f578063c87b56dd146105b8578063d38cd1cf146105d8578063d5abeb01146105ed578063e985e9c514610603578063f2fde38b1461064c57600080fd5b80639e6a1d7d1461053e578063a22cb4651461055e578063a3330d251461057e578063b88d4fde1461059857600080fd5b8063715018a6116100dc578063715018a6146104d657806386758912146104eb5780638da5cb5b1461050b57806395d89b411461052957600080fd5b8063438a67e7146104405780636352211e146104765780636f8b44b01461049657806370a08231146104b657600080fd5b80631e49e2f21161019057806330176e131161015f57806330176e13146103b6578063375a069a146103d6578063384079b5146103f65780633ccfd60b1461040b57806342842e0e1461042057600080fd5b80631e49e2f21461033057806323b872dd1461034f57806326092b831461036f5780632a55205a1461037757600080fd5b806308a2ae4f116101cc57806308a2ae4f146102ba578063095ea7b3146102e857806314412dab1461030857806318160ddd1461031b57600080fd5b806301ffc9a71461020957806302fa7c471461023e57806306fdde0314610260578063081812fc1461028257600080fd5b3661020457005b600080fd5b34801561021557600080fd5b50610229610224366004611eac565b61066c565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b5061025e610259366004611ee5565b61067d565b005b34801561026c57600080fd5b506102756106be565b6040516102359190611f80565b34801561028e57600080fd5b506102a261029d366004611f93565b610750565b6040516001600160a01b039091168152602001610235565b3480156102c657600080fd5b506102da6102d5366004611ff1565b6107e5565b604051908152602001610235565b3480156102f457600080fd5b5061025e610303366004612044565b610854565b61025e61031636600461206e565b61096a565b34801561032757600080fd5b50600b546102da565b34801561033c57600080fd5b50600e5461022990610100900460ff1681565b34801561035b57600080fd5b5061025e61036a3660046120b0565b610b2a565b61025e610b5b565b34801561038357600080fd5b506103976103923660046120ec565b610cb3565b604080516001600160a01b039093168352602083019190915201610235565b3480156103c257600080fd5b5061025e6103d136600461219a565b610d61565b3480156103e257600080fd5b5061025e6103f1366004611f93565b610d9e565b34801561040257600080fd5b5061025e610e60565b34801561041757600080fd5b5061025e610ea7565b34801561042c57600080fd5b5061025e61043b3660046120b0565b610f7f565b34801561044c57600080fd5b506102da61045b3660046121e3565b6001600160a01b03166000908152600f602052604090205490565b34801561048257600080fd5b506102a2610491366004611f93565b610f9a565b3480156104a257600080fd5b5061025e6104b1366004611f93565b611011565b3480156104c257600080fd5b506102da6104d13660046121e3565b611040565b3480156104e257600080fd5b5061025e6110c7565b3480156104f757600080fd5b5061025e610506366004611f93565b6110fd565b34801561051757600080fd5b506006546001600160a01b03166102a2565b34801561053557600080fd5b5061027561112c565b34801561054a57600080fd5b5061025e610559366004611f93565b61113b565b34801561056a57600080fd5b5061025e6105793660046121fe565b61116a565b34801561058a57600080fd5b50600e546102299060ff1681565b3480156105a457600080fd5b5061025e6105b336600461222f565b611175565b3480156105c457600080fd5b506102756105d3366004611f93565b6111a7565b3480156105e457600080fd5b5061025e611281565b3480156105f957600080fd5b506102da600a5481565b34801561060f57600080fd5b5061022961061e3660046122ab565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561065857600080fd5b5061025e6106673660046121e3565b6112bf565b600061067782611357565b92915050565b6006546001600160a01b031633146106b05760405162461bcd60e51b81526004016106a7906122de565b60405180910390fd5b6106ba828261137c565b5050565b6060600080546106cd90612313565b80601f01602080910402602001604051908101604052809291908181526020018280546106f990612313565b80156107465780601f1061071b57610100808354040283529160200191610746565b820191906000526020600020905b81548152906001019060200180831161072957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107c95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106a7565b506000908152600460205260409020546001600160a01b031690565b60006107f2848484611479565b80156108175750600c546001600160a01b0385166000908152600f6020526040902054105b15610849576001600160a01b0384166000908152600f6020526040902054600c546108429190612364565b905061084d565b5060005b9392505050565b600061085f82610f9a565b9050806001600160a01b0316836001600160a01b031614156108cd5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106a7565b336001600160a01b03821614806108e957506108e9813361061e565b61095b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106a7565b61096583836114ff565b505050565b6001600a5481610979600b5490565b610983919061237b565b11156109a15760405162461bcd60e51b81526004016106a790612393565b600081116109c15760405162461bcd60e51b81526004016106a7906123d6565b600e54610100900460ff16806109e95760405162461bcd60e51b81526004016106a79061240d565b600c54336000908152600f602052604090205410610a195760405162461bcd60e51b81526004016106a79061244f565b66d529ae9e8600003414610a3f5760405162461bcd60e51b81526004016106a790612491565b33610a4b818686611479565b610a975760405162461bcd60e51b815260206004820152601c60248201527f4a545741535a3a20496e76616c6964204d65726b6c652050726f6f660000000060448201526064016106a7565b6001600160a01b0381166000908152600f60205260408120805460019290610ac090849061237b565b90915550610acf90508161156d565b7f4f61faeb3c52dffd20c1512e79f4c78a3bce93cdd610a99d72e1c0760360fb4f6000610afb600b5490565b6040805192835260208301919091526001600160a01b0384169082015260600160405180910390a15050505050565b610b343382611593565b610b505760405162461bcd60e51b81526004016106a7906124d4565b61096583838361168a565b6001600a5481610b6a600b5490565b610b74919061237b565b1115610b925760405162461bcd60e51b81526004016106a790612393565b60008111610bb25760405162461bcd60e51b81526004016106a7906123d6565b600e5460ff1680610bd55760405162461bcd60e51b81526004016106a79061240d565b600c54336000908152600f602052604090205410610c055760405162461bcd60e51b81526004016106a79061244f565b66d529ae9e8600003414610c2b5760405162461bcd60e51b81526004016106a790612491565b336000818152600f60205260408120805460019290610c4b90849061237b565b90915550610c5a90508161156d565b7f4f61faeb3c52dffd20c1512e79f4c78a3bce93cdd610a99d72e1c0760360fb4f6000610c86600b5490565b6040805192835260208301919091526001600160a01b0384169082015260600160405180910390a1505050565b60008281526008602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610d285750604080518082019091526007546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610d47906001600160601b031687612525565b610d51919061255a565b91519350909150505b9250929050565b6006546001600160a01b03163314610d8b5760405162461bcd60e51b81526004016106a7906122de565b80516106ba906009906020840190611dfd565b6006546001600160a01b03163314610dc85760405162461bcd60e51b81526004016106a7906122de565b80600a5481610dd6600b5490565b610de0919061237b565b1115610dfe5760405162461bcd60e51b81526004016106a790612393565b60008111610e1e5760405162461bcd60e51b81526004016106a7906123d6565b6000610e326006546001600160a01b031690565b905060005b83811015610e5a57610e488261156d565b80610e528161256e565b915050610e37565b50505050565b6006546001600160a01b03163314610e8a5760405162461bcd60e51b81526004016106a7906122de565b600e805461ff001981166101009182900460ff1615909102179055565b6006546001600160a01b03163314610ed15760405162461bcd60e51b81526004016106a7906122de565b6000610ee56006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610f2f576040519150601f19603f3d011682016040523d82523d6000602084013e610f34565b606091505b5050905080610f7c5760405162461bcd60e51b81526020600482015260146024820152737769746864726177206973206661696c6564212160601b60448201526064016106a7565b50565b61096583838360405180602001604052806000815250611175565b6000818152600260205260408120546001600160a01b0316806106775760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106a7565b6006546001600160a01b0316331461103b5760405162461bcd60e51b81526004016106a7906122de565b600a55565b60006001600160a01b0382166110ab5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106a7565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146110f15760405162461bcd60e51b81526004016106a7906122de565b6110fb6000611826565b565b6006546001600160a01b031633146111275760405162461bcd60e51b81526004016106a7906122de565b600d55565b6060600180546106cd90612313565b6006546001600160a01b031633146111655760405162461bcd60e51b81526004016106a7906122de565b600c55565b6106ba338383611878565b61117f3383611593565b61119b5760405162461bcd60e51b81526004016106a7906124d4565b610e5a84848484611947565b6000818152600260205260409020546060906001600160a01b03166112265760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106a7565b600061123061197a565b90506000815111611250576040518060200160405280600081525061084d565b8061125a84611989565b60405160200161126b929190612589565b6040516020818303038152906040529392505050565b6006546001600160a01b031633146112ab5760405162461bcd60e51b81526004016106a7906122de565b600e805460ff19811660ff90911615179055565b6006546001600160a01b031633146112e95760405162461bcd60e51b81526004016106a7906122de565b6001600160a01b03811661134e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106a7565b610f7c81611826565b60006001600160e01b0319821663152a902d60e11b1480610677575061067782611a87565b6127106001600160601b03821611156113ea5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016106a7565b6001600160a01b0382166114405760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016106a7565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600755565b6040516bffffffffffffffffffffffff19606085901b16602082015260009081906034016040516020818303038152906040528051906020012090506114f684848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d549150849050611ad7565b95945050505050565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061153482610f9a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600b6000828254611580919061237b565b92505081905550610f7c81600b54611aed565b6000818152600260205260408120546001600160a01b031661160c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106a7565b600061161783610f9a565b9050806001600160a01b0316846001600160a01b0316148061165e57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806116825750836001600160a01b031661167784610750565b6001600160a01b0316145b949350505050565b826001600160a01b031661169d82610f9a565b6001600160a01b0316146117015760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016106a7565b6001600160a01b0382166117635760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106a7565b61176e6000826114ff565b6001600160a01b0383166000908152600360205260408120805460019290611797908490612364565b90915550506001600160a01b03821660009081526003602052604081208054600192906117c590849061237b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156118da5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106a7565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61195284848461168a565b61195e84848484611b07565b610e5a5760405162461bcd60e51b81526004016106a7906125b8565b6060600980546106cd90612313565b6060816119ad5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119d757806119c18161256e565b91506119d09050600a8361255a565b91506119b1565b60008167ffffffffffffffff8111156119f2576119f261210e565b6040519080825280601f01601f191660200182016040528015611a1c576020820181803683370190505b5090505b841561168257611a31600183612364565b9150611a3e600a8661260a565b611a4990603061237b565b60f81b818381518110611a5e57611a5e61261e565b60200101906001600160f81b031916908160001a905350611a80600a8661255a565b9450611a20565b60006001600160e01b031982166380ac58cd60e01b1480611ab857506001600160e01b03198216635b5e139f60e01b145b8061067757506301ffc9a760e01b6001600160e01b0319831614610677565b600082611ae48584611c14565b14949350505050565b6106ba828260405180602001604052806000815250611c88565b60006001600160a01b0384163b15611c0957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b4b903390899088908890600401612634565b602060405180830381600087803b158015611b6557600080fd5b505af1925050508015611b95575060408051601f3d908101601f19168201909252611b9291810190612671565b60015b611bef573d808015611bc3576040519150601f19603f3d011682016040523d82523d6000602084013e611bc8565b606091505b508051611be75760405162461bcd60e51b81526004016106a7906125b8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611682565b506001949350505050565b600081815b8451811015611c80576000858281518110611c3657611c3661261e565b60200260200101519050808311611c5c5760008381526020829052604090209250611c6d565b600081815260208490526040902092505b5080611c788161256e565b915050611c19565b509392505050565b611c928383611cbb565b611c9f6000848484611b07565b6109655760405162461bcd60e51b81526004016106a7906125b8565b6001600160a01b038216611d115760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106a7565b6000818152600260205260409020546001600160a01b031615611d765760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106a7565b6001600160a01b0382166000908152600360205260408120805460019290611d9f90849061237b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611e0990612313565b90600052602060002090601f016020900481019282611e2b5760008555611e71565b82601f10611e4457805160ff1916838001178555611e71565b82800160010185558215611e71579182015b82811115611e71578251825591602001919060010190611e56565b50611e7d929150611e81565b5090565b5b80821115611e7d5760008155600101611e82565b6001600160e01b031981168114610f7c57600080fd5b600060208284031215611ebe57600080fd5b813561084d81611e96565b80356001600160a01b0381168114611ee057600080fd5b919050565b60008060408385031215611ef857600080fd5b611f0183611ec9565b915060208301356001600160601b0381168114611f1d57600080fd5b809150509250929050565b60005b83811015611f43578181015183820152602001611f2b565b83811115610e5a5750506000910152565b60008151808452611f6c816020860160208601611f28565b601f01601f19169290920160200192915050565b60208152600061084d6020830184611f54565b600060208284031215611fa557600080fd5b5035919050565b60008083601f840112611fbe57600080fd5b50813567ffffffffffffffff811115611fd657600080fd5b6020830191508360208260051b8501011115610d5a57600080fd5b60008060006040848603121561200657600080fd5b61200f84611ec9565b9250602084013567ffffffffffffffff81111561202b57600080fd5b61203786828701611fac565b9497909650939450505050565b6000806040838503121561205757600080fd5b61206083611ec9565b946020939093013593505050565b6000806020838503121561208157600080fd5b823567ffffffffffffffff81111561209857600080fd5b6120a485828601611fac565b90969095509350505050565b6000806000606084860312156120c557600080fd5b6120ce84611ec9565b92506120dc60208501611ec9565b9150604084013590509250925092565b600080604083850312156120ff57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561213f5761213f61210e565b604051601f8501601f19908116603f011681019082821181831017156121675761216761210e565b8160405280935085815286868601111561218057600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156121ac57600080fd5b813567ffffffffffffffff8111156121c357600080fd5b8201601f810184136121d457600080fd5b61168284823560208401612124565b6000602082840312156121f557600080fd5b61084d82611ec9565b6000806040838503121561221157600080fd5b61221a83611ec9565b915060208301358015158114611f1d57600080fd5b6000806000806080858703121561224557600080fd5b61224e85611ec9565b935061225c60208601611ec9565b925060408501359150606085013567ffffffffffffffff81111561227f57600080fd5b8501601f8101871361229057600080fd5b61229f87823560208401612124565b91505092959194509250565b600080604083850312156122be57600080fd5b6122c783611ec9565b91506122d560208401611ec9565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061232757607f821691505b6020821081141561234857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156123765761237661234e565b500390565b6000821982111561238e5761238e61234e565b500190565b60208082526023908201527f4a545741535a3a204d757374206d696e742077697468696e206d617820737570604082015262706c7960e81b606082015260800190565b6020808252601c908201527f4a545741535a3a204d757374206d696e74206174206c65617374203100000000604082015260600190565b60208082526022908201527f4a545741535a3a205468652073616c65206973206e6f74204163746976652079604082015261195d60f21b606082015260800190565b60208082526022908201527f4a545741535a3a20416c72656164792072656163686564206d696e74206c696d6040820152611a5d60f21b606082015260800190565b60208082526023908201527f4a545741535a3a20546865206d696e74207072696365206973206e6f7420726960408201526219da1d60ea1b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600081600019048311821515161561253f5761253f61234e565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261256957612569612544565b500490565b60006000198214156125825761258261234e565b5060010190565b6000835161259b818460208801611f28565b8351908301906125af818360208801611f28565b01949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008261261957612619612544565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061266790830184611f54565b9695505050505050565b60006020828403121561268357600080fd5b815161084d81611e9656fea2646970667358221220ffde631a504951e132d8c1e5d9671b1aeec7f02142e43294299d1cf8793967af64736f6c634300080900334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65720000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000003f37c4c0121b59beb7d883ce94a5475b3ab581c2f5ab91b417a8624ab348bff6830000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d64674b594e38474143676d75696f636e635134686b71644b3333764e785271704e66686e3562773354794e782f00000000000000000000

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

0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000003f37c4c0121b59beb7d883ce94a5475b3ab581c2f5ab91b417a8624ab348bff6830000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d64674b594e38474143676d75696f636e635134686b71644b3333764e785271704e66686e3562773354794e782f00000000000000000000

-----Decoded View---------------
Arg [0] : _uri (string): ipfs://QmdgKYN8GACgmuiocncQ4hkqdK33vNxRqpNfhn5bw3TyNx/
Arg [1] : _maxSupply (uint256): 63
Arg [2] : merkleRoot_ (bytes32): 0x37c4c0121b59beb7d883ce94a5475b3ab581c2f5ab91b417a8624ab348bff683

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 000000000000000000000000000000000000000000000000000000000000003f
Arg [2] : 37c4c0121b59beb7d883ce94a5475b3ab581c2f5ab91b417a8624ab348bff683
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d64674b594e38474143676d75696f636e635134686b7164
Arg [5] : 4b3333764e785271704e66686e3562773354794e782f00000000000000000000


Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.