Contract 0x60c49da50b8063573e087d3d323c995cc24bf84c

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xec20e6e70e78e7f7324e2dcb598a8e7ac4493c30c814c44de3cf543f84d14cd5Set Approval For...279038052023-03-25 21:46:032 days 14 hrs ago0xaedbe94ff3808696c0d992fd37bae91173404584 IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.001235925506 26.66275848
0x9d522d43891b83fe87a152d9f18c3374ce614a33112219707b8bffa4bd5792b9Set Approval For...279037892023-03-25 21:45:312 days 14 hrs ago0xaedbe94ff3808696c0d992fd37bae91173404584 IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.001238309285 26.714184
0xfab46572f86ff42200a87646698025f725b8adc0e7a6baebf598d1f5b700b239Set Approval For...277816792023-03-22 19:43:005 days 16 hrs ago0x77a65f7d8fdbba6d7e86e2d7ace262df98748b02 IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.00124877676 26.940000001
0x4eeecb875277cc2a17f7d69df37e03389320cccc4ba72ac1dee9fcd4a55088ccSet Approval For...277065812023-03-21 1:28:577 days 10 hrs ago0x91573edbb274dc0c389af7d39e8738f2003dd68f IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.00080196185 27.425
0x7682b55757616fa0cf37bb50591011de9855c7f88c70f8e68f6af46195aba415Set Approval For...277065802023-03-21 1:28:557 days 10 hrs ago0x91573edbb274dc0c389af7d39e8738f2003dd68f IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.00080196185 27.425
0xefa24478fd0f23a85cdccc3c329dab6577ec226b8030b1ba4cfb5c14c56e234bSet Approval For...276999582023-03-20 21:46:457 days 14 hrs ago0xd0db1f4bd228f09a5e0dbf72e90967ab25cf651b IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.000840707528.75
0x02176fe600c6456a8c9d21990a53e7d2e25a0dcae6661716af9f51cbbb4302ecSet Approval For...276999462023-03-20 21:46:197 days 14 hrs ago0xd0db1f4bd228f09a5e0dbf72e90967ab25cf651b IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.000840707528.75
0x5b2e901b41f5e37ec5f432beb720a61b33f647e6bed002cba471e346b0224032Set Approval For...276526472023-03-19 19:16:568 days 17 hrs ago0x7ca8b5250f2d6ebeeff5e1cefff6ad55368502f2 IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.001228381 26.5
0x65650e117870fc30c8b1a92a4d5e411bdc00582b1ec8dc76a9abddc3f7caa9a1Set Approval For...274086022023-03-14 1:53:2414 days 10 hrs ago0xa6818aaed662bda084cc8f3c9903c557705bf171 IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.001249674099 26.959358399
0xb856384afed36eae7988599a6e3310fafbff3c1d55c8c28a2674c06d2fa4c3ebSet Approval For...273928792023-03-13 17:02:4014 days 19 hrs ago0xa6818aaed662bda084cc8f3c9903c557705bf171 IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.001228381 26.5
0x8ef1e132d04ffe5cfee03e382ca7a0390c80bd3a09608e75f85307aff7105beeSet Approval For...271959602023-03-09 2:40:5319 days 9 hrs ago0xae1ccbcbf653b77820860ddfd6159581a4698049 IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.000774913 26.5
0xc6f3a60259974523505307c04365471972ebd15b196846df76218acb49c42166Set Approval For...271848262023-03-08 20:23:1419 days 15 hrs ago0x12b1642c4a485108a7ae6e763a002c1a5a618c08 IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.0013811595 29.85
0x42665346378fcfd38ec7b59c7ba85634bd1fe0179df2f7985523822a39757fbaSet Approval For...269825332023-03-03 21:27:4724 days 14 hrs ago0x7ca8b5250f2d6ebeeff5e1cefff6ad55368502f2 IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.001242930933 26.862566094
0x770d50f08beab69511a57839e1484bbeb93db0d0c2830b8da2fb62802f665c26Set Approval For...267639602023-02-26 15:43:3029 days 20 hrs ago0xf123e47f0c4644ad7e7827672d1f5c7c75a1b109 IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.00126461511 27.2816825
0x87c795ec9a361ded86eeecf729cf832f1c85706b777f2cb5fe644851f0027ae6Set Approval For...267316962023-02-25 21:18:1330 days 14 hrs ago0x033b3e311bb6e50b3f324942a0de54674f7b4d44 IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.001228381 26.5
0x2df1fce1020a4890e80e94d43bb1b4393615462302403c4da921d3cc186ed9b3Set Approval For...266465522023-02-23 21:00:1932 days 15 hrs ago0x6ec6875f2e9958f64df8f05d123dcfa3abdf3bb8 IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.001228381 26.5
0xed34005f24852a1fd8a3e993d5e0b5ccd03db2c5f05658823ff5b0d9678f21d3Set Approval For...265987542023-02-22 18:22:0433 days 17 hrs ago0x7d1f4e46f68457c9b66eeed60385625e3002e17d IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.001228381 26.5
0x77d885f02133c6e70e6e36b4ec0f8be5ab06a25d88e491b7bf0cc96969b6618fSet Approval For...265604152023-02-21 21:04:4534 days 15 hrs ago0xcf927dc7f088cf7450820a3be80b408b62385cbc IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.001246949376 26.900577647
0x820fcbf53230dd0616ed53fd2d976a37039930e4470fe32dcdbdebeb05dd69d6Set Approval For...265441242023-02-21 12:01:5635 days 15 mins ago0xaa02da7b6c081b60a02aeae1de9ba7f5be843150 IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.001228381 26.5
0x4dcb98ce670a04cead1040eeb4d10f4d00d574004acdf7b8d6fbf47bfef4d850Set Approval For...265099662023-02-20 16:50:0335 days 19 hrs ago0xd0db1f4bd228f09a5e0dbf72e90967ab25cf651b IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.001275257617 27.51127449
0x75dfd91f08056e62b4dc861c4685f47ae7e1f899011fb4d95f3401a8d4f0124bSet Approval For...265089512023-02-20 16:16:1335 days 20 hrs ago0x1f8151ec69111b260d91d571ff6f073c1ccf02ba IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.001242013041 26.794085555
0xfa6d6e64853e28e2d14c87501bcdb760d685d243036ee0169dc798b9b01cc9a7Set Approval For...264769212023-02-19 22:22:2936 days 13 hrs ago0x53c6ba161fd991a3323c9f221f6d9b06f35d360e IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.001254443525 27.062249763
0xc282806d2e2e78d51561b28c8197ecf9e8e1d0dbfd1e8d56c25156efa9a894c4Set Approval For...264673862023-02-19 17:01:3336 days 19 hrs ago0x725c04ea03a124120aedcc0c65f12ad6e4c77a8e IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.001228381 26.5
0x50f32c4dff4a7285d86b51ec381ea1c7cfec204574e62e2dd9a38068f7bf928cSet Approval For...264518652023-02-19 8:16:1137 days 4 hrs ago0xb59305698fc314c8843c19d09d6e7b4d8d7916ac IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.000701031 26.5
0x1968f06a5b3125d356b6cab10205ee65643dc0e87624b4300c14809c41c2fcf1Set Approval For...264518002023-02-19 8:13:5337 days 4 hrs ago0xb59305698fc314c8843c19d09d6e7b4d8d7916ac IN  0x60c49da50b8063573e087d3d323c995cc24bf84c0 AVAX0.000716385909 27.080438104
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x3d5ac42b62893e9b545a814f232cae094233e1b1a7b9e6af9e12271abd7a998e260348312023-02-09 12:02:2747 days 15 mins ago 0x60c49da50b8063573e087d3d323c995cc24bf84c0x58e8fdc0c259a26b3802b3517728fa5f922ff63b423.6 AVAX
0x7021703e710c9b76c1bf6e1abd69e2f6291650e2c1a9fd3b7fa35f001765a366258420442023-02-04 23:31:0151 days 12 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c2.4 AVAX
0xb1f31ddb33c544fd420e02927b17ae38d44f7e0d9ab89d193ade00b4f8f49658258420082023-02-04 23:29:4851 days 12 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c2.4 AVAX
0xba985f218d7f7cbb25bc42dc72ef2eee0795e3e0b3174d337882ccc26fc36fef258419112023-02-04 23:26:2951 days 12 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c1.2 AVAX
0xb7d5eafe120dfe4cd8375c1007e96fc0c98bea2eb55918b33cfd2190d4bebb67258416162023-02-04 23:16:2451 days 13 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c1.2 AVAX
0x38f737822ba852ab3f5d6b936c8bfad13c1982900fe549702dc4a14608dc34a4258411082023-02-04 22:59:0351 days 13 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c1.2 AVAX
0xa6aa45ac5a3dca19606a420a65f449320f34d19760b68dc6befd729aa101fb1f258397772023-02-04 22:14:0851 days 14 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c1.2 AVAX
0x53204be1c24275a3d297f9bfbee0c657690500c321b011703286dd9047ce2596258394092023-02-04 22:01:4351 days 14 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c4.8 AVAX
0x5f1b5a357aec25f989d87b7dcf2368cc01a17af0fcc0e84509b7004fe6e015ac258393542023-02-04 21:59:5351 days 14 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c4.8 AVAX
0xbb90c4ade509878a916017b735b9adbd538ef891d5136c895278dbffbc998460258377862023-02-04 21:06:3851 days 15 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c1.2 AVAX
0x3b880fb40168d75220eaf9d79b523534a8375610bb3c45b19e328fcf6a977bb1258375962023-02-04 21:00:1551 days 15 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c3.6 AVAX
0x5155c0a6485035053828959f97bdae516d9403fa9c5dea5d4aff93fcfb76ab5b258373022023-02-04 20:50:1651 days 15 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c1.2 AVAX
0x079dd842809c975bd3be9f4fd7ca4263797183594c6d4168a4e33c77228966e1258371532023-02-04 20:45:1651 days 15 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c2.4 AVAX
0x54e86888a0376e9a5678acf1b879fafa1a5c8cd2b813597af7fc0a5d521eb410258357312023-02-04 19:57:0751 days 16 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c1.2 AVAX
0xd97ab814f31d75ec198826e8a2c2a14230cc594b6c13fdbd9a3fda2a7d2de345258355032023-02-04 19:49:2551 days 16 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c1.2 AVAX
0x3d5c2e589e6d8844f4c4987c3c9a8d1ac6572a934483dbc49a3bf67b73eabd4e258353912023-02-04 19:45:3751 days 16 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c2.4 AVAX
0xed417bc1eaee7d09bead7648774fde470a255d443693c0f5d0f4130d6b11f7b4258351732023-02-04 19:38:1751 days 16 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c2.4 AVAX
0x2a1c0ce928b5e7e1c53b939d0ce13ac812d946fa8b401b353c4323d72b8b2497258349812023-02-04 19:31:5051 days 16 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c1.2 AVAX
0x6cc92c5191b4f2abdc7ec7df727b86b39a0b910c91ba30113fe1d228c5b9a5ef258344462023-02-04 19:13:4151 days 17 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c2.4 AVAX
0x44ea457986f4491b4f7354d5ff6ded67a1afd24c78956d0bf52405db51cebe1c258333692023-02-04 18:37:3251 days 17 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c1.2 AVAX
0x45c0bee7c4dbbed27fd5dbd4bf7b87189770d43bfb3a0b883b2d5aabee1cf150258331472023-02-04 18:30:0851 days 17 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c1.2 AVAX
0x2471d9dd69529510c9c27f41389d53bfe0a099bbd6a3266322e6cd2fabbf86e3258331262023-02-04 18:29:2651 days 17 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c1.2 AVAX
0x80e282e4fd8fdfd9b9c6f6f8823e559306f2c1e99d980bf93374ef928b9c5aa1258330922023-02-04 18:28:1851 days 17 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c2.4 AVAX
0x1f5f74a302cb8af8b65cdbadd275923dd0f151adb87a11734337960d6ac02d3d258324622023-02-04 18:07:0951 days 18 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c1.2 AVAX
0x4c6ade64308a1f81278dcf3c5abe7cb1255322bcc6848f34d798692f4abb5183258297482023-02-04 16:36:1051 days 19 hrs ago 0x60c49da50b8063573e087d3d323c995cc24bf84c 0x60c49da50b8063573e087d3d323c995cc24bf84c2.4 AVAX
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CraftersCity

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 18 : CraftersCity.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.1;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "./lib/ERC2981PerTokenRoyalties.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./RandomRequest.sol";

contract CraftersCity is ERC721Enumerable, Ownable, ERC2981PerTokenRoyalties, RandomRequest {
    using Strings for uint256;

    uint256 public constant MAX_MINTABLE = 614; //  614 total for this contract
    uint256 public constant MAX_PER_CLAIM = 10;
    uint256 public constant ROYALTY_VALUE = 500; // 100 = 1%, 200 = 2% etc...
    uint256 public constant MAX_EARLY_CLAIM = 5;
    uint256 public constant NFT_EARLY_PRICE = 1 ether; //
    uint256 public constant NFT_PRICE = 1.2 ether; //

    address public constant KALAO = 0xeff2357C9e40103Ac4d268B32de478E4fBBFc4f0;
    //mainnet 0xeff2357C9e40103Ac4d268B32de478E4fBBFc4f0
    //testnet 0xc7B0a494eaE1aFf383f5D27DCBC67559392e5671

    uint public startAt;
    uint public WLstartAt;    

    bytes32 public merkleRoot;
    mapping(address => uint256) earlyMintAddresses;
    mapping(address => uint) public publicMintedAmount;
    mapping(address => bool) admins;

    string baseUri = "";
    uint256 public mintIndexStart = 1;
    bool public MintIsOpen = true;
    uint256 gross = 0;
    address royaltyRecipient;

    event Claim(uint256 indexed _id);

    constructor(
        string memory nftName,
        string memory nftSymbol,
        string memory baseTokenURI,
        address _royaltyRecipient,
        bytes32 _merkleRoot,
        uint _startAt,
        uint _WLstartAt
    ) ERC721(nftName, nftSymbol) Ownable() RandomRequest(MAX_MINTABLE){
        royaltyRecipient = _royaltyRecipient;
        baseUri = baseTokenURI;
        merkleRoot = _merkleRoot;
        startAt = _startAt;
        WLstartAt = _WLstartAt;
    }

/////////////////////////////////////////////////////////
//
//
//                      EARLY MINT 
//
//
//
    function earlyClaim(uint256 n, bytes32[] calldata _proof) public payable{
        require(MintIsOpen, "It's not possible to claim just yet.");
        require(block.timestamp >= WLstartAt, "Not started yet");
        require(block.timestamp < startAt, "Public mint is open, the whitelist mint is over");
        require(n + totalSupply() <= MAX_MINTABLE, "Not enough left to mint.");
        require(n <= MAX_PER_CLAIM, "you can't claim that much at ounce");
        require(earlyMintAddresses[msg.sender] <= MAX_EARLY_CLAIM, "You can't early claim anymore");
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(
            MerkleProof.verify(_proof, merkleRoot, leaf),
            "Invalid Merkle Proof."
        );
        require(n > 0, "Number need to be higher than 0");
        require(n + earlyMintAddresses[msg.sender] <= MAX_EARLY_CLAIM, "you can't early claim that much");
        require(
            msg.value >= (NFT_EARLY_PRICE * n),
            "Ether value sent is below the price"
        );

        earlyMintAddresses[msg.sender] += n;

        uint256 total_cost = (NFT_EARLY_PRICE * n);
        gross += total_cost;

        uint256 excess = msg.value - total_cost;
        payable(address(this)).transfer(total_cost);

        for (uint256 i = 0; i < n; i++) {
            uint256 randomID = _randomize() + mintIndexStart;
            _safeMint(_msgSender(), randomID);
            _setTokenRoyalty(randomID, royaltyRecipient, ROYALTY_VALUE);

            emit Claim(randomID);
        }
        if (excess > 0) {
            payable(_msgSender()).transfer(excess);
        }

        setApprovalForAll(KALAO, true);

    }

/////////////////////////////////////////////////////////
//
//
//                      PUBLIC MINT 
//
//
//
    function claim(uint256 n) public payable {
        require(MintIsOpen, "It's not possible to claim just yet.");
        require(block.timestamp >= startAt, "Not started yet");
        require(n + totalSupply() <= MAX_MINTABLE, "Not enough left to mint.");
        require(n > 0, "Number need to be higher than 0");
        require(n <= MAX_PER_CLAIM, "you can't claim that much at ounce");
        require(
            msg.value >= (NFT_PRICE * n),
            "Ether value sent is below the price"
        );

        uint256 total_cost = (NFT_PRICE * n);
        gross += total_cost;

        uint256 excess = msg.value - total_cost;
        payable(address(this)).transfer(total_cost);

        for (uint256 i = 0; i < n; i++) {
            uint256 randomID = _randomize() + mintIndexStart;
            _safeMint(_msgSender(), randomID);
            _setTokenRoyalty(randomID, royaltyRecipient, ROYALTY_VALUE);

            emit Claim(randomID);
        }

        if (excess > 0) {
            payable(_msgSender()).transfer(excess);
        }
        setApprovalForAll(KALAO, true);
    }



/////////////////////////////////////////////////////////
//
//
//                      Transfers
//
//
//

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721: transfer caller is not owner nor approved"
        );

        _transfer(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {

        safeTransferFrom(from, to, tokenId, "");
    }

    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);
    }

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



/////////////////////////////////////////////////////////
//
//
//                      ADMIN MINT 
//
//
//

    function premintNoRandom(uint256 n, address adr) public onlyOwner {
        require(n > 0, "Number need to be higher than 0");
        require(n <= MAX_PER_CLAIM, "you can't claim that much at ounce");

        for (uint256 i = 0; i < n; i++) {
            uint256 ID = preMintInOrder() + mintIndexStart;
            _safeMint(adr, ID);
            _setTokenRoyalty(ID, royaltyRecipient, ROYALTY_VALUE);
            emit Claim(ID);
        }

    }

    function premintRandom(uint256 n, address adr) public onlyOwner {
        require(n > 0, "Number need to be higher than 0");
        require(n <= MAX_PER_CLAIM, "you can't claim that much at ounce");

        for (uint256 i = 0; i < n; i++) {
            uint256 randomID = _randomize() + mintIndexStart;
            _safeMint(adr, randomID);
            _setTokenRoyalty(randomID, royaltyRecipient, ROYALTY_VALUE);
            emit Claim(randomID);
        }
    }

    

/////////////////////////////////////////////////////////
//
//
//                       ERC 
//
//
//
    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(),".json"))
                : "";
    }

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

    /// @inheritdoc	ERC165
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC2981Base, ERC721Enumerable)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }


/////////////////////////////////////////////////////////
//
//
//                      SETTERS 
//
//
//

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

    function setStartAt(uint _startAt) external onlyOwner {
            startAt = _startAt;
    }

    function setWLstartAt(uint _WLstartAt) external onlyOwner {
            WLstartAt = _WLstartAt;
    }

    function setRoyaltyAddress(address _royaltyRecipient) external onlyOwner {
        royaltyRecipient = _royaltyRecipient;
    }

    function setBaseUri(string memory uri) external onlyOwner {
        baseUri = uri;
    }

    function toggleMint() external onlyOwner {
        MintIsOpen = !MintIsOpen;
    }

    function setEarlyMinters(
        address[] calldata addresses,
        uint256 allowedToMint
    ) external onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            earlyMintAddresses[addresses[i]] = allowedToMint;
        }
    }

    function removeEarlyUser(address _addressToWhitelist) external onlyOwner {
        earlyMintAddresses[_addressToWhitelist] = 0;
    }

    function setAdmins(address[] calldata _addr) external onlyOwner{
        for (uint i=0; i<_addr.length ; i++){
            admins[_addr[i]] = true;
        }
    }

/////////////////////////////////////////////////////////
//
//
//                      GETTERS 
//
//
//

    function isEarlyMinter(address _whitelistedAddress, bytes32[] calldata _proof )public view returns (bool){
        bytes32 leaf = keccak256(abi.encodePacked(_whitelistedAddress));
        return MerkleProof.verify(_proof, merkleRoot, leaf);
    }

     function EarlyMinterMinted(address _whitelistedAddress)
        public
        view
        returns (uint256)
    {
        uint256 userMinted = earlyMintAddresses[_whitelistedAddress];
        return userMinted;
    }

/////////////////////////////////////////////////////////
//
//
//                      UTILITIES 
//
//
//


    function withdraw() external {
        require(admins[_msgSender()]==true, "Your are not the owner");
        require(address(this).balance > 0, "Nothing to withdraw");
        payable(_msgSender()).transfer(address(this).balance);
    }

    receive() external payable {}

    fallback() external payable {}
}

File 2 of 18 : IERC2981Royalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/// @title IERC2981Royalties
/// @dev Interface for the ERC2981 - Token Royalty standard
interface IERC2981Royalties {
    /// @notice Called with the sale price to determine how much royalty
    //          is owed and to whom.
    /// @param _tokenId - the NFT asset queried for royalty information
    /// @param _value - the sale price of the NFT asset specified by _tokenId
    /// @return _receiver - address of who should be sent the royalty payment
    /// @return _royaltyAmount - the royalty payment amount for value sale price
    function royaltyInfo(uint256 _tokenId, uint256 _value)
        external
        view
        returns (address _receiver, uint256 _royaltyAmount);
}

File 3 of 18 : ERC2981PerTokenRoyalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

import './ERC2981Base.sol';

/// @dev This is a contract used to add ERC2981 support to ERC721 and 1155
abstract contract ERC2981PerTokenRoyalties is ERC2981Base {
    mapping(uint256 => RoyaltyInfo) internal _royalties;

    /// @dev Sets token royalties
    /// @param tokenId the token id fir which we register the royalties
    /// @param recipient recipient of the royalties
    /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0)
    function _setTokenRoyalty(
        uint256 tokenId,
        address recipient,
        uint256 value
    ) internal {
        require(value <= 10000, 'ERC2981Royalties: Too high');
        _royalties[tokenId] = RoyaltyInfo(recipient, uint24(value));
    }

    /// @inheritdoc	IERC2981Royalties
    function royaltyInfo(uint256 tokenId, uint256 value)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        RoyaltyInfo memory royalties = _royalties[tokenId];
        receiver = royalties.recipient;
        royaltyAmount = (value * royalties.amount) / 10000;
    }
}

File 4 of 18 : ERC2981Base.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

import './IERC2981Royalties.sol';

/// @dev This is a contract used to add ERC2981 support to ERC721 and 1155
abstract contract ERC2981Base is ERC165, IERC2981Royalties {
    struct RoyaltyInfo {
        address recipient;
        uint24 amount;
    }

    /// @inheritdoc	ERC165
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        return
            interfaceId == type(IERC2981Royalties).interfaceId ||
            super.supportsInterface(interfaceId);
    }
}

File 5 of 18 : RandomRequest.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.1;

contract RandomRequest {
    uint256 private _scopeIndex = 0; // cache for random TokenID generation in the anti-sniping algo
    uint256 private immutable _scopeCap; //Size of initial randomized number pool & max generated value (zero indexed)
    mapping(uint256 => uint256) _swappedIDs; //TokenID cache for random TokenID generation in the anti-sniping algo

    constructor(uint256 scopeCap) {
        _scopeCap = scopeCap;
    }

    function _randomize() internal virtual returns (uint256) {
        uint256 scope = _scopeCap - _scopeIndex;
        uint256 swap;
        uint256 result;

        uint256 i = randomNumber() % scope;

        //Setup the value to swap in for the selected number
        if (_swappedIDs[scope - 1] == 0) {
            swap = scope - 1;
        } else {
            swap = _swappedIDs[scope - 1];
        }

        //Select a random number, swap it out with an unselected one then shorten the selection range by 1
        if (_swappedIDs[i] == 0) {
            result = i;
            _swappedIDs[i] = swap;
        } else {
            result = _swappedIDs[i];
            _swappedIDs[i] = swap;
        }
        _scopeIndex++;
        return result;
    }

        function preMintInOrder() internal virtual returns (uint256) {
        uint256 scope = _scopeCap - _scopeIndex;
        uint256 swap;
        uint256 result;

        uint256 i = _scopeIndex;

        //Setup the value to swap in for the selected number
        if (_swappedIDs[scope - 1] == 0) {
            swap = scope - 1;
        } else {
            swap = _swappedIDs[scope - 1];
        }

        //Select a random number, swap it out with an unselected one then shorten the selection range by 1
        if (_swappedIDs[i] == 0) {
            result = i;
            _swappedIDs[i] = swap;
        } else {
            result = _swappedIDs[i];
            _swappedIDs[i] = swap;
        }
        _scopeIndex++;
        return result;
    }

    function randomNumber() internal view returns (uint256) {
        return uint256(keccak256(abi.encodePacked(block.difficulty, block.timestamp)));
    }
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 18 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 13 of 18 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 14 of 18 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract ABI

[{"inputs":[{"internalType":"string","name":"nftName","type":"string"},{"internalType":"string","name":"nftSymbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"address","name":"_royaltyRecipient","type":"address"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"_startAt","type":"uint256"},{"internalType":"uint256","name":"_WLstartAt","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"Claim","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"_whitelistedAddress","type":"address"}],"name":"EarlyMinterMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"KALAO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_EARLY_CLAIM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTABLE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_CLAIM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MintIsOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_EARLY_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY_VALUE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WLstartAt","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":"n","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"earlyClaim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_whitelistedAddress","type":"address"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"isEarlyMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintIndexStart","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":"uint256","name":"n","type":"uint256"},{"internalType":"address","name":"adr","type":"address"}],"name":"premintNoRandom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"},{"internalType":"address","name":"adr","type":"address"}],"name":"premintRandom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addressToWhitelist","type":"address"}],"name":"removeEarlyUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"_addr","type":"address[]"}],"name":"setAdmins","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256","name":"allowedToMint","type":"uint256"}],"name":"setEarlyMinters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyRecipient","type":"address"}],"name":"setRoyaltyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startAt","type":"uint256"}],"name":"setStartAt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_WLstartAt","type":"uint256"}],"name":"setWLstartAt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","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":[],"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"}]

6000600c81905560c0604081905260a08290526200002191601491906200015c565b50600160158190556016805460ff1916909117905560006017553480156200004857600080fd5b5060405162003a8638038062003a868339810160408190526200006b91620002b5565b61026687878160009080519060200190620000889291906200015c565b5080516200009e9060019060208401906200015c565b505050620000bb620000b56200010660201b60201c565b6200010a565b608052601880546001600160a01b0319166001600160a01b0386161790558451620000ee9060149060208801906200015c565b50601092909255600e55600f5550620003d592505050565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016a9062000382565b90600052602060002090601f0160209004810192826200018e5760008555620001d9565b82601f10620001a957805160ff1916838001178555620001d9565b82800160010185558215620001d9579182015b82811115620001d9578251825591602001919060010190620001bc565b50620001e7929150620001eb565b5090565b5b80821115620001e75760008155600101620001ec565b600082601f83011262000213578081fd5b81516001600160401b0380821115620002305762000230620003bf565b604051601f8301601f19908116603f011681019082821181831017156200025b576200025b620003bf565b8160405283815260209250868385880101111562000277578485fd5b8491505b838210156200029a57858201830151818301840152908201906200027b565b83821115620002ab57848385830101525b9695505050505050565b600080600080600080600060e0888a031215620002d0578283fd5b87516001600160401b0380821115620002e7578485fd5b620002f58b838c0162000202565b985060208a01519150808211156200030b578485fd5b620003198b838c0162000202565b975060408a01519150808211156200032f578485fd5b506200033e8a828b0162000202565b60608a015190965090506001600160a01b03811681146200035d578384fd5b809450506080880151925060a0880151915060c0880151905092959891949750929550565b6002810460018216806200039757607f821691505b60208210811415620003b957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805161368e620003f860003960008181611b320152611e7b015261368e6000f3fe6080604052600436106102b25760003560e01c80636d68b20b11610175578063a60118e8116100dc578063e985e9c511610095578063f2fde38b1161006f578063f2fde38b146107c6578063f3a133a9146107e6578063fc68e62d14610806578063fc7d57c314610826576102b9565b8063e985e9c514610771578063ead29d4e14610791578063f2c64ad2146107b1576102b9565b8063a60118e8146106c7578063accc1d5e146106e7578063b88d4fde14610707578063c744656514610727578063c87b56dd1461073c578063d3dd5fe01461075c576102b9565b80638da5cb5b1161012e5780638da5cb5b1461063357806393791b031461064857806395d89b411461065d578063a0bcfc7f14610672578063a22cb46514610692578063a28cf772146106b2576102b9565b80636d68b20b14610596578063705a13e2146105b657806370a08231146105cb578063715018a6146105eb5780637cb647591461060057806386063f7114610620576102b9565b80632f745c59116102195780634f6ccce7116101d25780634f6ccce7146104f75780635446a6c7146105175780635471f49f146105375780636352211e1461054c578063676dd5631461056c5780636b907eba14610581576102b9565b80632f745c591461045a578063379607f51461047a5780633ccfd60b1461048d5780633f879faf146104a257806340b89806146104b757806342842e0e146104d7576102b9565b806318160ddd1161026b57806318160ddd146103a25780631b4f7f35146103b75780631cda1851146103d757806323b872dd146103f75780632a55205a146104175780632eb4a7ab14610445576102b9565b806301ffc9a7146102bb57806306d254da146102f157806306fdde0314610311578063081812fc14610333578063095ea7b31461036057806312148a5614610380576102b9565b366102b957005b005b3480156102c757600080fd5b506102db6102d6366004612af6565b61083b565b6040516102e89190612ce8565b60405180910390f35b3480156102fd57600080fd5b506102b961030c3660046128a0565b61084e565b34801561031d57600080fd5b506103266108b8565b6040516102e89190612cfc565b34801561033f57600080fd5b5061035361034e366004612ade565b61094a565b6040516102e89190612c7e565b34801561036c57600080fd5b506102b961037b366004612a2b565b61098d565b34801561038c57600080fd5b50610395610a25565b6040516102e89190612cf3565b3480156103ae57600080fd5b50610395610a31565b3480156103c357600080fd5b506102db6103d23660046129a0565b610a37565b3480156103e357600080fd5b506102b96103f2366004612b74565b610aad565b34801561040357600080fd5b506102b96104123660046128ec565b610ba1565b34801561042357600080fd5b50610437610432366004612bc7565b610bd9565b6040516102e8929190612ccf565b34801561045157600080fd5b50610395610c37565b34801561046657600080fd5b50610395610475366004612a2b565b610c3d565b6102b9610488366004612ade565b610c8f565b34801561049957600080fd5b506102b9610ec6565b3480156104ae57600080fd5b50610395610f73565b3480156104c357600080fd5b506102b96104d23660046128a0565b610f79565b3480156104e357600080fd5b506102b96104f23660046128ec565b610fd2565b34801561050357600080fd5b50610395610512366004612ade565b610fed565b34801561052357600080fd5b506102b9610532366004612b74565b611048565b34801561054357600080fd5b5061039561113c565b34801561055857600080fd5b50610353610567366004612ade565b611141565b34801561057857600080fd5b50610395611176565b34801561058d57600080fd5b506102db611182565b3480156105a257600080fd5b506102b96105b1366004612ade565b61118b565b3480156105c257600080fd5b506103536111cf565b3480156105d757600080fd5b506103956105e63660046128a0565b6111e7565b3480156105f757600080fd5b506102b961122b565b34801561060c57600080fd5b506102b961061b366004612ade565b611276565b6102b961062e366004612b96565b6112ba565b34801561063f57600080fd5b5061035361162c565b34801561065457600080fd5b5061039561163b565b34801561066957600080fd5b50610326611641565b34801561067e57600080fd5b506102b961068d366004612b2e565b611650565b34801561069e57600080fd5b506102b96106ad3660046129f1565b6116a6565b3480156106be57600080fd5b506103956116b8565b3480156106d357600080fd5b506103956106e23660046128a0565b6116be565b3480156106f357600080fd5b506102b9610702366004612a54565b6116d9565b34801561071357600080fd5b506102b9610722366004612927565b611798565b34801561073357600080fd5b506103956117d7565b34801561074857600080fd5b50610326610757366004612ade565b6117dd565b34801561076857600080fd5b506102b9611860565b34801561077d57600080fd5b506102db61078c3660046128ba565b6118b3565b34801561079d57600080fd5b506103956107ac3660046128a0565b6118e1565b3480156107bd57600080fd5b506103956118f3565b3480156107d257600080fd5b506102b96107e13660046128a0565b6118f8565b3480156107f257600080fd5b506102b9610801366004612ade565b611966565b34801561081257600080fd5b506102b9610821366004612a94565b6119aa565b34801561083257600080fd5b50610395611a5a565b600061084682611a60565b90505b919050565b610856611a85565b6001600160a01b031661086761162c565b6001600160a01b0316146108965760405162461bcd60e51b815260040161088d906132d7565b60405180910390fd5b601880546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080546108c790613576565b80601f01602080910402602001604051908101604052809291908181526020018280546108f390613576565b80156109405780601f1061091557610100808354040283529160200191610940565b820191906000526020600020905b81548152906001019060200180831161092357829003601f168201915b5050505050905090565b600061095582611a89565b6109715760405162461bcd60e51b815260040161088d9061328b565b506000908152600460205260409020546001600160a01b031690565b600061099882611141565b9050806001600160a01b0316836001600160a01b031614156109cc5760405162461bcd60e51b815260040161088d906133e1565b806001600160a01b03166109de611a85565b6001600160a01b031614806109fa57506109fa8161078c611a85565b610a165760405162461bcd60e51b815260040161088d906130e1565b610a208383611aa6565b505050565b670de0b6b3a764000081565b60085490565b60008084604051602001610a4b9190612c14565b604051602081830303815290604052805190602001209050610aa4848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010549150849050611b14565b95945050505050565b610ab5611a85565b6001600160a01b0316610ac661162c565b6001600160a01b031614610aec5760405162461bcd60e51b815260040161088d906132d7565b60008211610b0c5760405162461bcd60e51b815260040161088d9061307a565b600a821115610b2d5760405162461bcd60e51b815260040161088d906131d1565b60005b82811015610a20576000601554610b45611b2a565b610b4f91906134e8565b9050610b5b8382611c1f565b601854610b759082906001600160a01b03166101f4611c39565b604051819060008051602061363983398151915290600090a25080610b99816135b1565b915050610b30565b610bb2610bac611a85565b82611cbb565b610bce5760405162461bcd60e51b815260040161088d90613422565b610a20838383611d40565b6000828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b90910462ffffff16928201839052929161271090610c239086613514565b610c2d9190613500565b9150509250929050565b60105481565b6000610c48836111e7565b8210610c665760405162461bcd60e51b815260040161088d90612dee565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60165460ff16610cb15760405162461bcd60e51b815260040161088d90612d7d565b600e54421015610cd35760405162461bcd60e51b815260040161088d906134bf565b610266610cde610a31565b610ce890836134e8565b1115610d065760405162461bcd60e51b815260040161088d90612d0f565b60008111610d265760405162461bcd60e51b815260040161088d9061307a565b600a811115610d475760405162461bcd60e51b815260040161088d906131d1565b610d59816710a741a462780000613514565b341015610d785760405162461bcd60e51b815260040161088d90613213565b6000610d8c826710a741a462780000613514565b90508060176000828254610da091906134e8565b9091555060009050610db28234613533565b604051909150309083156108fc029084906000818181858888f19350505050158015610de2573d6000803e3d6000fd5b5060005b83811015610e5e576000601554610dfb611e73565b610e0591906134e8565b9050610e18610e12611a85565b82611c1f565b601854610e329082906001600160a01b03166101f4611c39565b604051819060008051602061363983398151915290600090a25080610e56816135b1565b915050610de6565b508015610ea757610e6d611a85565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015610ea5573d6000803e3d6000fd5b505b610a2073eff2357c9e40103ac4d268b32de478e4fbbfc4f060016116a6565b60136000610ed2611a85565b6001600160a01b0316815260208101919091526040016000205460ff161515600114610f105760405162461bcd60e51b815260040161088d906130b1565b60004711610f305760405162461bcd60e51b815260040161088d90612dc1565b610f38611a85565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015610f70573d6000803e3d6000fd5b50565b61026681565b610f81611a85565b6001600160a01b0316610f9261162c565b6001600160a01b031614610fb85760405162461bcd60e51b815260040161088d906132d7565b6001600160a01b0316600090815260116020526040812055565b610a2083838360405180602001604052806000815250611798565b6000610ff7610a31565b82106110155760405162461bcd60e51b815260040161088d90613473565b6008828154811061103657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b611050611a85565b6001600160a01b031661106161162c565b6001600160a01b0316146110875760405162461bcd60e51b815260040161088d906132d7565b600082116110a75760405162461bcd60e51b815260040161088d9061307a565b600a8211156110c85760405162461bcd60e51b815260040161088d906131d1565b60005b82811015610a205760006015546110e0611e73565b6110ea91906134e8565b90506110f68382611c1f565b6018546111109082906001600160a01b03166101f4611c39565b604051819060008051602061363983398151915290600090a25080611134816135b1565b9150506110cb565b600a81565b6000818152600260205260408120546001600160a01b0316806108465760405162461bcd60e51b815260040161088d90613188565b6710a741a46278000081565b60165460ff1681565b611193611a85565b6001600160a01b03166111a461162c565b6001600160a01b0316146111ca5760405162461bcd60e51b815260040161088d906132d7565b600f55565b73eff2357c9e40103ac4d268b32de478e4fbbfc4f081565b60006001600160a01b03821661120f5760405162461bcd60e51b815260040161088d9061313e565b506001600160a01b031660009081526003602052604090205490565b611233611a85565b6001600160a01b031661124461162c565b6001600160a01b03161461126a5760405162461bcd60e51b815260040161088d906132d7565b6112746000611ecf565b565b61127e611a85565b6001600160a01b031661128f61162c565b6001600160a01b0316146112b55760405162461bcd60e51b815260040161088d906132d7565b601055565b60165460ff166112dc5760405162461bcd60e51b815260040161088d90612d7d565b600f544210156112fe5760405162461bcd60e51b815260040161088d906134bf565b600e54421061131f5760405162461bcd60e51b815260040161088d90613343565b61026661132a610a31565b61133490856134e8565b11156113525760405162461bcd60e51b815260040161088d90612d0f565b600a8311156113735760405162461bcd60e51b815260040161088d906131d1565b33600090815260116020526040902054600510156113a35760405162461bcd60e51b815260040161088d90612f4d565b6000336040516020016113b69190612c14565b60405160208183030381529060405280519060200120905061140f838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010549150849050611b14565b61142b5760405162461bcd60e51b815260040161088d90612fff565b6000841161144b5760405162461bcd60e51b815260040161088d9061307a565b3360009081526011602052604090205460059061146890866134e8565b11156114865760405162461bcd60e51b815260040161088d9061330c565b61149884670de0b6b3a7640000613514565b3410156114b75760405162461bcd60e51b815260040161088d90613213565b33600090815260116020526040812080548692906114d69084906134e8565b90915550600090506114f085670de0b6b3a7640000613514565b9050806017600082825461150491906134e8565b90915550600090506115168234613533565b604051909150309083156108fc029084906000818181858888f19350505050158015611546573d6000803e3d6000fd5b5060005b868110156115bc57600060155461155f611e73565b61156991906134e8565b9050611576610e12611a85565b6018546115909082906001600160a01b03166101f4611c39565b604051819060008051602061363983398151915290600090a250806115b4816135b1565b91505061154a565b508015611605576115cb611a85565b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015611603573d6000803e3d6000fd5b505b61162473eff2357c9e40103ac4d268b32de478e4fbbfc4f060016116a6565b505050505050565b600a546001600160a01b031690565b6101f481565b6060600180546108c790613576565b611658611a85565b6001600160a01b031661166961162c565b6001600160a01b03161461168f5760405162461bcd60e51b815260040161088d906132d7565b80516116a2906014906020840190612731565b5050565b6116a26116b1611a85565b8383611f21565b600f5481565b6001600160a01b031660009081526011602052604090205490565b6116e1611a85565b6001600160a01b03166116f261162c565b6001600160a01b0316146117185760405162461bcd60e51b815260040161088d906132d7565b60005b81811015610a205760016013600085858581811061174957634e487b7160e01b600052603260045260246000fd5b905060200201602081019061175e91906128a0565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611790816135b1565b91505061171b565b6117a96117a3611a85565b83611cbb565b6117c55760405162461bcd60e51b815260040161088d90613422565b6117d184848484611fc4565b50505050565b600e5481565b60606117e882611a89565b6118045760405162461bcd60e51b815260040161088d90613392565b600061180e611ff7565b9050600081511161182e5760405180602001604052806000815250611859565b8061183884612006565b604051602001611849929190612c31565b6040516020818303038152906040525b9392505050565b611868611a85565b6001600160a01b031661187961162c565b6001600160a01b03161461189f5760405162461bcd60e51b815260040161088d906132d7565b6016805460ff19811660ff90911615179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60126020526000908152604090205481565b600581565b611900611a85565b6001600160a01b031661191161162c565b6001600160a01b0316146119375760405162461bcd60e51b815260040161088d906132d7565b6001600160a01b03811661195d5760405162461bcd60e51b815260040161088d90612e8b565b610f7081611ecf565b61196e611a85565b6001600160a01b031661197f61162c565b6001600160a01b0316146119a55760405162461bcd60e51b815260040161088d906132d7565b600e55565b6119b2611a85565b6001600160a01b03166119c361162c565b6001600160a01b0316146119e95760405162461bcd60e51b815260040161088d906132d7565b60005b828110156117d1578160116000868685818110611a1957634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611a2e91906128a0565b6001600160a01b0316815260208101919091526040016000205580611a52816135b1565b9150506119ec565b60155481565b60006001600160e01b0319821663152a902d60e11b1480610846575061084682612121565b3390565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611adb82611141565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600082611b218584612146565b14949350505050565b600080600c547f0000000000000000000000000000000000000000000000000000000000000000611b5b9190613533565b600c549091506000908190600d82611b74600187613533565b81526020019081526020016000205460001415611b9d57611b96600185613533565b9250611bbe565b600d6000611bac600187613533565b81526020019081526020016000205492505b6000818152600d6020526040902054611bea576000818152600d60205260409020839055905080611c01565b6000818152600d6020526040902080549084905591505b600c8054906000611c11836135b1565b909155509194505050505090565b6116a28282604051806020016040528060008152506121c0565b612710811115611c5b5760405162461bcd60e51b815260040161088d90612d46565b6040805180820182526001600160a01b03938416815262ffffff92831660208083019182526000968752600b905291909420935184549151909216600160a01b0262ffffff60a01b19929093166001600160a01b03199091161716179055565b6000611cc682611a89565b611ce25760405162461bcd60e51b815260040161088d9061302e565b6000611ced83611141565b9050806001600160a01b0316846001600160a01b03161480611d145750611d1481856118b3565b80611d385750836001600160a01b0316611d2d8461094a565b6001600160a01b0316145b949350505050565b826001600160a01b0316611d5382611141565b6001600160a01b031614611d795760405162461bcd60e51b815260040161088d90612ed1565b6001600160a01b038216611d9f5760405162461bcd60e51b815260040161088d90612f84565b611daa8383836121f3565b611db5600082611aa6565b6001600160a01b0383166000908152600360205260408120805460019290611dde908490613533565b90915550506001600160a01b0382166000908152600360205260408120805460019290611e0c9084906134e8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4610a20838383610a20565b600080600c547f0000000000000000000000000000000000000000000000000000000000000000611ea49190613533565b9050600080600083611eb46121fe565b611ebe91906135cc565b9050600d6000611b74600187613533565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611f535760405162461bcd60e51b815260040161088d90612fc8565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190611fb7908590612ce8565b60405180910390a3505050565b611fcf848484611d40565b611fdb84848484612231565b6117d15760405162461bcd60e51b815260040161088d90612e39565b6060601480546108c790613576565b60608161202b57506040805180820190915260018152600360fc1b6020820152610849565b8160005b8115612055578061203f816135b1565b915061204e9050600a83613500565b915061202f565b60008167ffffffffffffffff81111561207e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120a8576020820181803683370190505b5090505b8415611d38576120bd600183613533565b91506120ca600a866135cc565b6120d59060306134e8565b60f81b8183815181106120f857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061211a600a86613500565b94506120ac565b60006001600160e01b0319821663780e9d6360e01b148061084657506108468261234c565b600081815b84518110156121b857600085828151811061217657634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831161219857612191838261238c565b92506121a5565b6121a2818461238c565b92505b50806121b0816135b1565b91505061214b565b509392505050565b6121ca838361239b565b6121d76000848484612231565b610a205760405162461bcd60e51b815260040161088d90612e39565b610a20838383612482565b60004442604051602001612213929190612c70565b6040516020818303038152906040528051906020012060001c905090565b6000612245846001600160a01b031661250b565b1561234157836001600160a01b031663150b7a02612261611a85565b8786866040518563ffffffff1660e01b81526004016122839493929190612c92565b602060405180830381600087803b15801561229d57600080fd5b505af19250505080156122cd575060408051601f3d908101601f191682019092526122ca91810190612b12565b60015b612327573d8080156122fb576040519150601f19603f3d011682016040523d82523d6000602084013e612300565b606091505b50805161231f5760405162461bcd60e51b815260040161088d90612e39565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d38565b506001949350505050565b60006001600160e01b031982166380ac58cd60e01b148061237d57506001600160e01b03198216635b5e139f60e01b145b8061084657506108468261251a565b60009182526020526040902090565b6001600160a01b0382166123c15760405162461bcd60e51b815260040161088d90613256565b6123ca81611a89565b156123e75760405162461bcd60e51b815260040161088d90612f16565b6123f3600083836121f3565b6001600160a01b038216600090815260036020526040812080546001929061241c9084906134e8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46116a260008383610a20565b61248d838383610a20565b6001600160a01b0383166124a9576124a481612533565b6124cc565b816001600160a01b0316836001600160a01b0316146124cc576124cc8382612577565b6001600160a01b0382166124e8576124e381612614565b610a20565b826001600160a01b0316826001600160a01b031614610a2057610a2082826126ed565b6001600160a01b03163b151590565b6001600160e01b031981166301ffc9a760e01b14919050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001612584846111e7565b61258e9190613533565b6000838152600760205260409020549091508082146125e1576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061262690600190613533565b6000838152600960205260408120546008805493945090928490811061265c57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061268b57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806126d157634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006126f8836111e7565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461273d90613576565b90600052602060002090601f01602090048101928261275f57600085556127a5565b82601f1061277857805160ff19168380011785556127a5565b828001600101855582156127a5579182015b828111156127a557825182559160200191906001019061278a565b506127b19291506127b5565b5090565b5b808211156127b157600081556001016127b6565b600067ffffffffffffffff808411156127e5576127e561360c565b604051601f8501601f19908116603f0116810190828211818310171561280d5761280d61360c565b8160405280935085815286868601111561282657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461084957600080fd5b60008083601f840112612868578081fd5b50813567ffffffffffffffff81111561287f578182fd5b602083019150836020808302850101111561289957600080fd5b9250929050565b6000602082840312156128b1578081fd5b61185982612840565b600080604083850312156128cc578081fd5b6128d583612840565b91506128e360208401612840565b90509250929050565b600080600060608486031215612900578081fd5b61290984612840565b925061291760208501612840565b9150604084013590509250925092565b6000806000806080858703121561293c578081fd5b61294585612840565b935061295360208601612840565b925060408501359150606085013567ffffffffffffffff811115612975578182fd5b8501601f81018713612985578182fd5b612994878235602084016127ca565b91505092959194509250565b6000806000604084860312156129b4578283fd5b6129bd84612840565b9250602084013567ffffffffffffffff8111156129d8578283fd5b6129e486828701612857565b9497909650939450505050565b60008060408385031215612a03578182fd5b612a0c83612840565b915060208301358015158114612a20578182fd5b809150509250929050565b60008060408385031215612a3d578182fd5b612a4683612840565b946020939093013593505050565b60008060208385031215612a66578182fd5b823567ffffffffffffffff811115612a7c578283fd5b612a8885828601612857565b90969095509350505050565b600080600060408486031215612aa8578283fd5b833567ffffffffffffffff811115612abe578384fd5b612aca86828701612857565b909790965060209590950135949350505050565b600060208284031215612aef578081fd5b5035919050565b600060208284031215612b07578081fd5b813561185981613622565b600060208284031215612b23578081fd5b815161185981613622565b600060208284031215612b3f578081fd5b813567ffffffffffffffff811115612b55578182fd5b8201601f81018413612b65578182fd5b611d38848235602084016127ca565b60008060408385031215612b86578182fd5b823591506128e360208401612840565b600080600060408486031215612baa578081fd5b83359250602084013567ffffffffffffffff8111156129d8578182fd5b60008060408385031215612bd9578182fd5b50508035926020909101359150565b60008151808452612c0081602086016020860161354a565b601f01601f19169290920160200192915050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b60008351612c4381846020880161354a565b835190830190612c5781836020880161354a565b64173539b7b760d91b9101908152600501949350505050565b918252602082015260400190565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612cc590830184612be8565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b6000602082526118596020830184612be8565b60208082526018908201527f4e6f7420656e6f756768206c65667420746f206d696e742e0000000000000000604082015260600190565b6020808252601a908201527f45524332393831526f79616c746965733a20546f6f2068696768000000000000604082015260600190565b60208082526024908201527f49742773206e6f7420706f737369626c6520746f20636c61696d206a757374206040820152633cb2ba1760e11b606082015260800190565b6020808252601390820152724e6f7468696e6720746f20776974686472617760681b604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252601d908201527f596f752063616e2774206561726c7920636c61696d20616e796d6f7265000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526015908201527424b73b30b634b21026b2b935b63290283937b7b31760591b604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601f908201527f4e756d626572206e65656420746f20626520686967686572207468616e203000604082015260600190565b6020808252601690820152752cb7bab91030b932903737ba103a34329037bbb732b960511b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b60208082526022908201527f796f752063616e277420636c61696d2074686174206d756368206174206f756e604082015261636560f01b606082015260800190565b60208082526023908201527f45746865722076616c75652073656e742069732062656c6f772074686520707260408201526269636560e81b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f796f752063616e2774206561726c7920636c61696d2074686174206d75636800604082015260600190565b6020808252602f908201527f5075626c6963206d696e74206973206f70656e2c207468652077686974656c6960408201526e39ba1036b4b73a1034b99037bb32b960891b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252600f908201526e139bdd081cdd185c9d1959081e595d608a1b604082015260600190565b600082198211156134fb576134fb6135e0565b500190565b60008261350f5761350f6135f6565b500490565b600081600019048311821515161561352e5761352e6135e0565b500290565b600082821015613545576135456135e0565b500390565b60005b8381101561356557818101518382015260200161354d565b838111156117d15750506000910152565b60028104600182168061358a57607f821691505b602082108114156135ab57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156135c5576135c56135e0565b5060010190565b6000826135db576135db6135f6565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f7057600080fdfe7bb2b3c10797baccb6f8c4791f1edd6ca2f0d028ee0eda64b01a9a57e3a653f7a264697066735822122043bd81d07c80f95dafe7793d087e5fb6ded7e2a38b88e99c160a4513eb4fade364736f6c6343000801003300000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000007bd2186cdd36735808e32606618ea34999f42193dfea2c502bce0bda9994c9a7fdae0278b0540f713db4b57ea1137aa00dcca3030000000000000000000000000000000000000000000000000000000063d175280000000000000000000000000000000000000000000000000000000063d16e20000000000000000000000000000000000000000000000000000000000000000d4372616674657273204369747900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000543434954590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d635069744b7751584d7548527a6469657947656558686e55705a4a4c6471634e313271776b615777615a65782f00000000000000000000

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

00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000007bd2186cdd36735808e32606618ea34999f42193dfea2c502bce0bda9994c9a7fdae0278b0540f713db4b57ea1137aa00dcca3030000000000000000000000000000000000000000000000000000000063d175280000000000000000000000000000000000000000000000000000000063d16e20000000000000000000000000000000000000000000000000000000000000000d4372616674657273204369747900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000543434954590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d635069744b7751584d7548527a6469657947656558686e55705a4a4c6471634e313271776b615777615a65782f00000000000000000000

-----Decoded View---------------
Arg [0] : nftName (string): Crafters City
Arg [1] : nftSymbol (string): CCITY
Arg [2] : baseTokenURI (string): ipfs://QmcPitKwQXMuHRzdieyGeeXhnUpZJLdqcN12qwkaWwaZex/
Arg [3] : _royaltyRecipient (address): 0x7bd2186cdd36735808e32606618ea34999f42193
Arg [4] : _merkleRoot (bytes32): 0xdfea2c502bce0bda9994c9a7fdae0278b0540f713db4b57ea1137aa00dcca303
Arg [5] : _startAt (uint256): 1674671400
Arg [6] : _WLstartAt (uint256): 1674669600

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 0000000000000000000000007bd2186cdd36735808e32606618ea34999f42193
Arg [4] : dfea2c502bce0bda9994c9a7fdae0278b0540f713db4b57ea1137aa00dcca303
Arg [5] : 0000000000000000000000000000000000000000000000000000000063d17528
Arg [6] : 0000000000000000000000000000000000000000000000000000000063d16e20
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [8] : 4372616674657273204369747900000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [10] : 4343495459000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [12] : 697066733a2f2f516d635069744b7751584d7548527a6469657947656558686e
Arg [13] : 55705a4a4c6471634e313271776b615777615a65782f00000000000000000000


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.