Contract 0xd4f11C30078d352354c0B17eAA8076C825416493 3

 
Txn Hash
Method
Block
From
To
Value
0xb888e6526f416ec635704255ea6d3d02a3409aa471803445fd242ae86a3be5d6Set Approval For...156138462022-09-26 0:03:474 days 22 hrs ago0xb589ffd2896bdf8b3ca3e9c0c773d9596d7dd346 IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00016114 6
0xcc6236460acd52c2a1856f395effb3d4eb18dd67c89e563088220e31ccc56e93Set Approval For...156138452022-09-26 0:03:354 days 22 hrs ago0xb589ffd2896bdf8b3ca3e9c0c773d9596d7dd346 IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00015417 6.20239262
0x34a674ff1994b22b1b9068e23df4f8f2adabbb689db19e2f33e986d890f6043fSet Approval For...156060162022-09-24 21:50:596 days 54 mins ago0x5d48c29895156b606dadddb5211ef64c3bb234a4 IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00027652 5.92328554
0xacac7957d76841062f56d611c7196541e2682f6c905b9929615beef7c89081a7Set Approval For...155515412022-09-17 6:32:3513 days 16 hrs ago0xb946bc4c872a601381bc57007401454e0c80e795 IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00018845 4.02952766
0x4a946e85e17e0ffa58a5ad269dd538b69088618c8bc35d941b16db6ea6ce604aSet Approval For...155193122022-09-12 6:06:2618 days 16 hrs agoENS Name soylisto.eth IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00029797 6.38274748
0xc44178a89f411ea1d3bef6be3f45c4947520042e5356357bbf2e78c7eb199b2aSet Approval For...155135622022-09-11 7:26:5019 days 15 hrs ago0x2a8fd377dc06357ffc29ce5962857b0de00b8f9f IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00025532 5.46919728
0xb48ce8675300c1ce3f9c68955894a3ee9373c55e515144e751ffe73cacaa1694Set Approval For...155050712022-09-09 21:38:4921 days 1 hr ago0x7d1f88bc6afca7f4d4c9f46110f7bfaa8d4c9796 IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00181982 38.98089305
0xfd547d5ddf082697e574d4d501185adf90d31dd87d7aa72baeb9407e2a69a860Safe Transfer Fr...154997842022-09-09 0:47:0121 days 21 hrs ago0xdfcca379c56097add95581683305a5848531bd77 IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.0006511 12.57123358
0x37b30a6e61b50bc6cc80d4e44fdd2dc5dbb6c6544c7e23f53210d9a77a0dc265Safe Transfer Fr...154988552022-09-08 21:12:0722 days 1 hr ago0xb1794d8f91f67214de73aa2b71978cfdc7862fe7 IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00230511 33.45933569
0x8c923fbf111ef8384a56c4595584c9f9eee57c56feeaa30961614e0f4a85e633Set Approval For...154954092022-09-08 8:00:4522 days 14 hrs ago0x2595ffa7dbd3a8bc30c475de55e2f1cb1e58c602 IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00079836 17.10100991
0xeb720cf2b0d1fe17e2fd2c40a538e7ed0ffc5a4d02f1a5cc1beccb8dfcb5dd56Set Approval For...154947752022-09-08 5:30:3822 days 17 hrs ago0x5ad3aaab94838460825ab8d075f99df62b38fbdc IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00044159 9.45906614
0x6d5c42cecd2fea0b13f8094cab4d78b1f5b39486379791f2e685b8ba856b4c7eTransfer From154920662022-09-07 19:07:4023 days 3 hrs ago0xed53500440d1b4bfb7c15bb0dde4473efb1f4998 IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00143039 29.15898146
0x2fd45f293e5cff0dc2c0e31ad749be2b836f2e68c4601dbf62ae15915572a65bSet Approval For...154920492022-09-07 19:02:3723 days 3 hrs ago0xed53500440d1b4bfb7c15bb0dde4473efb1f4998 IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.0009639 20.6099164
0x6917c7bded7f5df9a91281f385e3bed9a53dc1d6d2d66df93dff419abede4807Set Approval For...154639942022-09-03 7:16:3427 days 15 hrs ago0x3f7d51da3ab31e5bdd1f9057adaaf1103480a03e IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00047312 10.13433654
0xdb1b358c87d613d98abda3245c9fda20f54b321bc0005bf382d73be220a38b5aSet Approval For...154639822022-09-03 7:13:3227 days 15 hrs ago0xf9370be29eab2cfb49789e1c50128ff4b3935b3d IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00045318 9.70737003
0x6d77df571e204053cdac0f8d7249c13933551b11084f66c1f06efd298037f550Set Approval For...154639732022-09-03 7:09:3627 days 15 hrs ago0xd2ae54d0736726cc8cae0d2e23f6b060b9ee944d IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00043292 9.27332802
0xa9be0c692ca10f44d813f58b042d706006227f17cc3125e3bab8015c87d13460Safe Transfer Fr...154253272022-08-28 2:48:1433 days 19 hrs ago0x5d48c29895156b606dadddb5211ef64c3bb234a4 IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00017666 3.41106768
0xd4e1c185006525db00405437f51fc3fda85b73bb60448b39184c6629e7afb2d3Safe Transfer Fr...154253182022-08-28 2:47:1933 days 19 hrs ago0x5d48c29895156b606dadddb5211ef64c3bb234a4 IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00030626 4.44558899
0x25223e65049897ea4d0ff817d325fe7c9750c9f46a5b7fb5432769c464cf88dfSet Approval For...154234412022-08-27 19:32:0934 days 3 hrs agoENS Name 0ddity.q00t.eth IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00037649 8.06457215
0x88a7d51aec6bcdcc91010a6020751fa25609feb375fa53ca35d94df4cb2e5a93Safe Transfer Fr...154233712022-08-27 19:16:3134 days 3 hrs agoENS Name oddvault.eth IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.000603389.25
0x29a9d81b78942714d10e1ddd9bf0635c2b4cf2e83537cc5dd0f60861702bf47aSet Approval For...154179892022-08-26 22:27:3135 days 17 mins agoENS Name oddments.eth IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00041976 8.99153367
0xba3f56c916a0e0b0edbd4aa65a5baad341de7122bb7a1ccdf180865c4a061e16Set Approval For...154072952022-08-25 5:22:5736 days 17 hrs ago0x84af6972d2db839717cf0e7626439fc1e7996b8a IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00026273 5.62790037
0x627c36ae7d990f41ac869d969fc3d8cab9858040b4060a134e74d23d80846de4Set Approval For...153978952022-08-23 17:13:0338 days 5 hrs ago0x42577a4d902751b07b2a8d749f44e1c8d11825ee IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00112273 24.04918666
0x01e634937eee4e5b66599bd893fbb869fcb0c5d3698d1c8a2ee13540759ce5ecSet Approval For...153950782022-08-23 6:38:2938 days 16 hrs ago0xa16a750de6f5628131bf36854d6471b34a1eb8bb IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00022362 8.99661493
0x8795be2bb742f00f176a76fc1d3dd77c00f1c916ab8c2e74b538471ef4ec0306Set Approval For...153790832022-08-20 18:04:1541 days 4 hrs ago0x0702c8984edbe6c8c0b815f3293571324022dfc0 IN  0xd4f11c30078d352354c0b17eaa8076c8254164930 Ether0.00139265 29.83089978
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x6d9a3ac23295eef2ed28a967ab3ffa90b66ddefb23f53041af14a8a8e23d985f149243062022-06-08 2:32:58114 days 20 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x3587d4a1773d418b95f519c47db972b939bc76110.13 Ether
0x6d9a3ac23295eef2ed28a967ab3ffa90b66ddefb23f53041af14a8a8e23d985f149243062022-06-08 2:32:58114 days 20 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x1333e81c131e1d1d0e8bd42eca5e45acd0ce1de30.52 Ether
0x6c74a155694ecd799552b977bb6dd0ae16091c12b1dc835ee40b50992708f941149190362022-06-07 5:16:21115 days 17 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x3587d4a1773d418b95f519c47db972b939bc76110.104 Ether
0x6c74a155694ecd799552b977bb6dd0ae16091c12b1dc835ee40b50992708f941149190362022-06-07 5:16:21115 days 17 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x1333e81c131e1d1d0e8bd42eca5e45acd0ce1de30.416 Ether
0x3b83b84e145b37909b6b65472523bec39e9393a9650c52701858468057674d21149170142022-06-06 20:58:37116 days 1 hr ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x3587d4a1773d418b95f519c47db972b939bc76110.702 Ether
0x3b83b84e145b37909b6b65472523bec39e9393a9650c52701858468057674d21149170142022-06-06 20:58:37116 days 1 hr ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x1333e81c131e1d1d0e8bd42eca5e45acd0ce1de32.808 Ether
0xd082a5d59b3775ead09fd593da6478d88ef958eaaaae6e1ac5f7e148cd0f9ffe149097832022-06-05 15:09:23117 days 7 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x3587d4a1773d418b95f519c47db972b939bc76110.104 Ether
0xd082a5d59b3775ead09fd593da6478d88ef958eaaaae6e1ac5f7e148cd0f9ffe149097832022-06-05 15:09:23117 days 7 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x1333e81c131e1d1d0e8bd42eca5e45acd0ce1de30.416 Ether
0x0e3f733c7eff8472f8741cd36f88944e2029ae14b5a8b6d904e68a38322e7e54149048292022-06-04 19:06:32118 days 3 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x3587d4a1773d418b95f519c47db972b939bc76110.507 Ether
0x0e3f733c7eff8472f8741cd36f88944e2029ae14b5a8b6d904e68a38322e7e54149048292022-06-04 19:06:32118 days 3 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x1333e81c131e1d1d0e8bd42eca5e45acd0ce1de32.028 Ether
0x3e29330defe332f96cffa8e76c058cfa488b2cd7e0f47d625f2dd05464a3a903148959952022-06-03 8:06:37119 days 14 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x3587d4a1773d418b95f519c47db972b939bc76110.884 Ether
0x3e29330defe332f96cffa8e76c058cfa488b2cd7e0f47d625f2dd05464a3a903148959952022-06-03 8:06:37119 days 14 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x1333e81c131e1d1d0e8bd42eca5e45acd0ce1de33.536 Ether
0xbe91950a7395bbadef8c58ee2c525751531ca54afe9140e62cd01eeca004641e148930422022-06-02 20:35:12120 days 2 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x3587d4a1773d418b95f519c47db972b939bc76110.312 Ether
0xbe91950a7395bbadef8c58ee2c525751531ca54afe9140e62cd01eeca004641e148930422022-06-02 20:35:12120 days 2 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x1333e81c131e1d1d0e8bd42eca5e45acd0ce1de31.248 Ether
0xc98c5f2f84dfc06a1cf331c0abe663436c6f592fbeb1556ac242d17598d5f4db148914212022-06-02 14:07:42120 days 8 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x1333e81c131e1d1d0e8bd42eca5e45acd0ce1de31 wei
0xc98c5f2f84dfc06a1cf331c0abe663436c6f592fbeb1556ac242d17598d5f4db148914212022-06-02 14:07:42120 days 8 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x3587d4a1773d418b95f519c47db972b939bc76113.646 Ether
0xc98c5f2f84dfc06a1cf331c0abe663436c6f592fbeb1556ac242d17598d5f4db148914212022-06-02 14:07:42120 days 8 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x1333e81c131e1d1d0e8bd42eca5e45acd0ce1de314.584 Ether
0xe49cea9f25bc93210288b8ce6f3f92fe69926f379379e8b94927cfc436518270148832712022-06-01 6:17:14121 days 16 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x3587d4a1773d418b95f519c47db972b939bc76110.91 Ether
0xe49cea9f25bc93210288b8ce6f3f92fe69926f379379e8b94927cfc436518270148832712022-06-01 6:17:14121 days 16 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x1333e81c131e1d1d0e8bd42eca5e45acd0ce1de33.64 Ether
0xa7d03a48b4c26e56824e039ea8d412c9d2dd788aeccc373b6a7f6194febfb5e8148811682022-05-31 22:01:28122 days 43 mins ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x1333e81c131e1d1d0e8bd42eca5e45acd0ce1de31 wei
0xa7d03a48b4c26e56824e039ea8d412c9d2dd788aeccc373b6a7f6194febfb5e8148811682022-05-31 22:01:28122 days 43 mins ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x3587d4a1773d418b95f519c47db972b939bc76111.21 Ether
0xa7d03a48b4c26e56824e039ea8d412c9d2dd788aeccc373b6a7f6194febfb5e8148811682022-05-31 22:01:28122 days 43 mins ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x1333e81c131e1d1d0e8bd42eca5e45acd0ce1de34.84 Ether
0xc15dad995ca955bb319b3a3dd9d8017f17968985a6a43623df20f41b726f5462148796652022-05-31 16:11:13122 days 6 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x1333e81c131e1d1d0e8bd42eca5e45acd0ce1de31 wei
0xc15dad995ca955bb319b3a3dd9d8017f17968985a6a43623df20f41b726f5462148796652022-05-31 16:11:13122 days 6 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x3587d4a1773d418b95f519c47db972b939bc76111.49 Ether
0xc15dad995ca955bb319b3a3dd9d8017f17968985a6a43623df20f41b726f5462148796652022-05-31 16:11:13122 days 6 hrs ago 0xd4f11c30078d352354c0b17eaa8076c8254164930x1333e81c131e1d1d0e8bd42eca5e45acd0ce1de35.96 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FlinchNFT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : FlinchNFT.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.0;

/* Ammended: KronicLabz
Flinch NFT! 
The worlds first NFT Film Franchise
by Ardor Pictures
 ________  __  __                      __              __    __  ________  ________ 
|        \|  \|  \                    |  \            |  \  |  \|        \|        \
| $$$$$$$$| $$ \$$ _______    _______ | $$____        | $$\ | $$| $$$$$$$$ \$$$$$$$$
| $$__    | $$|  \|       \  /       \| $$    \       | $$$\| $$| $$__       | $$   
| $$  \   | $$| $$| $$$$$$$\|  $$$$$$$| $$$$$$$\      | $$$$\ $$| $$  \      | $$   
| $$$$$   | $$| $$| $$  | $$| $$      | $$  | $$      | $$\$$ $$| $$$$$      | $$   
| $$      | $$| $$| $$  | $$| $$_____ | $$  | $$      | $$ \$$$$| $$         | $$   
| $$      | $$| $$| $$  | $$ \$$     \| $$  | $$      | $$  \$$$| $$         | $$   
 \$$       \$$ \$$ \$$   \$$  \$$$$$$$ \$$   \$$       \$$   \$$ \$$          \$$  
*/

import "./ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract FlinchNFT is ERC721A, Ownable{
    using Strings for uint256;

    uint256 public constant MAX_SUPPLY = 9999;
    uint256 public constant MAX_PUBLIC_MINT = 9999;
    uint256 public constant MAX_HITLIST_MINT = 3;
    uint256 public constant PUBLIC_SALE_PRICE = .065 ether;
    uint256 public constant HITLIST_SALE_PRICE = .05 ether;

    string private  baseTokenUri;
    string public   placeholderTokenUri;

    //deploy smart contract, toggle WL, toggle WL when done, toggle publicSale 
    //2 days later toggle reveal
    bool public isRevealed;
    bool public publicSale;
    bool public hitlistSale;
    bool public pause;
    bool public teamMinted;

    bytes32 private merkleRoot;

    mapping(address => uint256) public totalPublicMint;
    mapping(address => uint256) public totalHitlistMint;

    constructor() ERC721A("Flinch NFT", "FLN"){

    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "Flinch NFT :: Cannot be called by a contract");
        _;
    }

    function mint(uint256 _quantity) external payable callerIsUser{
        require(publicSale, "Flinch NFT :: Slow down James, it's not time.");
        require((totalSupply() + _quantity) <= MAX_SUPPLY, "Flinch NFT :: There's not enough there Doyle");
        require((totalPublicMint[msg.sender] +_quantity) <= MAX_PUBLIC_MINT, "Flinch NFT :: Already minted 3 times!");
        require(msg.value >= (PUBLIC_SALE_PRICE * _quantity), "Flinch NFT :: Below ");

        totalPublicMint[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }

    function hitlistMint(bytes32[] memory _merkleProof, uint256 _quantity) external payable callerIsUser{
        require(hitlistSale, "Flinch NFT :: Minting is on Pause");
        require((totalSupply() + _quantity) <= MAX_SUPPLY, "Flinch NFT :: Cannot mint beyond max supply");
        require((totalHitlistMint[msg.sender] + _quantity)  <= MAX_HITLIST_MINT, "Flinch NFT :: Cannot mint beyond whitelist max mint!");
        require(msg.value >= (HITLIST_SALE_PRICE * _quantity), "Flinch NFT :: Payment is below the price");
        //create leaf node
        bytes32 sender = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, merkleRoot, sender), "Flinch NFT :: You're not on the Hitlist.");

        totalHitlistMint[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }

    function teamMint() external onlyOwner{
        require(!teamMinted, "Flinch NFT :: Crew has already grabbed the loot!");
        teamMinted = true;
        _safeMint(msg.sender, 250);
    }

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

    //return uri for certain token
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        uint256 trueId = tokenId + 1;

        if(!isRevealed){
            return placeholderTokenUri;
        }
        //string memory baseURI = _baseURI();
        return bytes(baseTokenUri).length > 0 ? string(abi.encodePacked(baseTokenUri, trueId.toString(), ".json")) : "";
    }

    // @dev walletOf() function shouldn't be called on-chain due to gas consumption
    function walletOf() external view returns(uint256[] memory){
        address _owner = msg.sender;
        uint256 numberOfOwnedNFT = balanceOf(_owner);
        uint256[] memory ownerIds = new uint256[](numberOfOwnedNFT);

        for(uint256 index = 0; index < numberOfOwnedNFT; index++){}

        return ownerIds;
    }
    function setTokenUri(string memory _baseTokenUri) external onlyOwner{
        baseTokenUri = _baseTokenUri;
    }
    function setPlaceHolderUri(string memory _placeholderTokenUri) external onlyOwner{
        placeholderTokenUri = _placeholderTokenUri;
    }

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

    function getMerkleRoot() external view returns (bytes32){
        return merkleRoot;
    }

    function togglePause() external onlyOwner{
        pause = !pause;
    }

    function togglehitlistSale() external onlyOwner{
        hitlistSale = !hitlistSale;
    }

    function togglePublicSale() external onlyOwner{
        publicSale = !publicSale;
    }

    function toggleReveal() external onlyOwner{
        isRevealed = !isRevealed;
    }
      function withdraw() external onlyOwner{
        //80% to utility/Flinch Franchise Project Wallet
        uint256 withdrawAmount_80 = address(this).balance * 80/100;
        //20% to inverstor/Ardor Pictures Wallet
        uint256 withdrawAmount_20 = address(this).balance * 20/100;
        payable(0x1333e81C131e1D1D0E8Bd42ecA5E45aCd0cE1De3).transfer(withdrawAmount_80);
        payable(0x3587D4a1773D418B95f519c47dB972B939bC7611).transfer(withdrawAmount_20);
        payable(msg.sender).transfer(address(this).balance);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721A {
    using Address for address;
    using Strings for uint256;

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // 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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr) if (curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 {
        _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 {
        _transfer(from, to, tokenId);
        if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned;
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     *   {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex < end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex < end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 8 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (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 9 of 13 : 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 10 of 13 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A is IERC721, IERC721Metadata {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     * 
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"HITLIST_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_HITLIST_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"hitlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"hitlistSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"placeholderTokenUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_placeholderTokenUri","type":"string"}],"name":"setPlaceHolderUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenUri","type":"string"}],"name":"setTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglehitlistSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalHitlistMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalPublicMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"walletOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600a81526020017f466c696e6368204e4654000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f464c4e0000000000000000000000000000000000000000000000000000000000815250816002908051906020019062000096929190620001c1565b508060039080519060200190620000af929190620001c1565b50620000c0620000ee60201b60201c565b6000819055505050620000e8620000dc620000f360201b60201c565b620000fb60201b60201c565b620002d6565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001cf9062000271565b90600052602060002090601f016020900481019282620001f357600085556200023f565b82601f106200020e57805160ff19168380011785556200023f565b828001600101855582156200023f579182015b828111156200023e57825182559160200191906001019062000221565b5b5090506200024e919062000252565b5090565b5b808211156200026d57600081600090555060010162000253565b5090565b600060028204905060018216806200028a57607f821691505b60208210811415620002a157620002a0620002a7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6149de80620002e66000396000f3fe60806040526004361061025c5760003560e01c80637b9e743311610144578063ba7a86b8116100b6578063e09d67071161007a578063e09d670714610870578063e222c7f91461089b578063e8b5498d146108b2578063e985e9c5146108dd578063f2fde38b1461091a578063f88abd74146109435761025c565b8063ba7a86b81461079d578063c4ae3168146107b4578063c87b56dd146107cb578063db321a6e14610808578063ddf79a04146108335761025c565b80638da5cb5b116101085780638da5cb5b146106b057806395d89b41146106db578063a0712d6814610706578063a22cb46514610722578063b0962c531461074b578063b88d4fde146107745761025c565b80637b9e7433146105fe5780637cb647591461061557806383a974a21461063e5780638456cb59146106695780638d466ee8146106945761025c565b806333bc1c5c116101dd57806354214f69116101a157806354214f69146105005780635b8ad4291461052b5780636352211e1461054257806365f130971461057f57806370a08231146105aa578063715018a6146105e75761025c565b806333bc1c5c1461043f5780633ccfd60b1461046a57806342842e0e1461048157806349590657146104aa5780634cf5f7a4146104d55761025c565b8063095ea7b311610224578063095ea7b31461035a57806318160ddd146103835780631c16521c146103ae57806323b872dd146103eb57806332cb6b0c146104145761025c565b806301ffc9a7146102615780630675b7c61461029e57806306fdde03146102c757806307e89ec0146102f2578063081812fc1461031d575b600080fd5b34801561026d57600080fd5b50610288600480360381019061028391906137ed565b61096e565b6040516102959190613d97565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c09190613847565b610a50565b005b3480156102d357600080fd5b506102dc610ae6565b6040516102e99190613dcd565b60405180910390f35b3480156102fe57600080fd5b50610307610b78565b6040516103149190613faf565b60405180910390f35b34801561032957600080fd5b50610344600480360381019061033f9190613890565b610b83565b6040516103519190613d0e565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c9190613724565b610bff565b005b34801561038f57600080fd5b50610398610da6565b6040516103a59190613faf565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d091906135a1565b610dbd565b6040516103e29190613faf565b60405180910390f35b3480156103f757600080fd5b50610412600480360381019061040d919061360e565b610dd5565b005b34801561042057600080fd5b50610429610de5565b6040516104369190613faf565b60405180910390f35b34801561044b57600080fd5b50610454610deb565b6040516104619190613d97565b60405180910390f35b34801561047657600080fd5b5061047f610dfe565b005b34801561048d57600080fd5b506104a860048036038101906104a3919061360e565b610fb5565b005b3480156104b657600080fd5b506104bf610fd5565b6040516104cc9190613db2565b60405180910390f35b3480156104e157600080fd5b506104ea610fdf565b6040516104f79190613dcd565b60405180910390f35b34801561050c57600080fd5b5061051561106d565b6040516105229190613d97565b60405180910390f35b34801561053757600080fd5b50610540611080565b005b34801561054e57600080fd5b5061056960048036038101906105649190613890565b611128565b6040516105769190613d0e565b60405180910390f35b34801561058b57600080fd5b5061059461113e565b6040516105a19190613faf565b60405180910390f35b3480156105b657600080fd5b506105d160048036038101906105cc91906135a1565b611144565b6040516105de9190613faf565b60405180910390f35b3480156105f357600080fd5b506105fc611214565b005b34801561060a57600080fd5b5061061361129c565b005b34801561062157600080fd5b5061063c600480360381019061063791906137c0565b611344565b005b34801561064a57600080fd5b506106536113ca565b6040516106609190613d75565b60405180910390f35b34801561067557600080fd5b5061067e611453565b60405161068b9190613d97565b60405180910390f35b6106ae60048036038101906106a99190613764565b611466565b005b3480156106bc57600080fd5b506106c5611739565b6040516106d29190613d0e565b60405180910390f35b3480156106e757600080fd5b506106f0611763565b6040516106fd9190613dcd565b60405180910390f35b610720600480360381019061071b9190613890565b6117f5565b005b34801561072e57600080fd5b50610749600480360381019061074491906136e4565b611a50565b005b34801561075757600080fd5b50610772600480360381019061076d9190613847565b611bc8565b005b34801561078057600080fd5b5061079b60048036038101906107969190613661565b611c5e565b005b3480156107a957600080fd5b506107b2611cd6565b005b3480156107c057600080fd5b506107c9611dca565b005b3480156107d757600080fd5b506107f260048036038101906107ed9190613890565b611e72565b6040516107ff9190613dcd565b60405180910390f35b34801561081457600080fd5b5061081d611fd4565b60405161082a9190613faf565b60405180910390f35b34801561083f57600080fd5b5061085a600480360381019061085591906135a1565b611fdf565b6040516108679190613faf565b60405180910390f35b34801561087c57600080fd5b50610885611ff7565b6040516108929190613d97565b60405180910390f35b3480156108a757600080fd5b506108b061200a565b005b3480156108be57600080fd5b506108c76120b2565b6040516108d49190613d97565b60405180910390f35b3480156108e957600080fd5b5061090460048036038101906108ff91906135ce565b6120c5565b6040516109119190613d97565b60405180910390f35b34801561092657600080fd5b50610941600480360381019061093c91906135a1565b612159565b005b34801561094f57600080fd5b50610958612251565b6040516109659190613faf565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a3957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a495750610a4882612256565b5b9050919050565b610a586122c0565b73ffffffffffffffffffffffffffffffffffffffff16610a76611739565b73ffffffffffffffffffffffffffffffffffffffff1614610acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac390613eef565b60405180910390fd5b8060099080519060200190610ae29291906132bf565b5050565b606060028054610af5906142e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b21906142e3565b8015610b6e5780601f10610b4357610100808354040283529160200191610b6e565b820191906000526020600020905b815481529060010190602001808311610b5157829003601f168201915b5050505050905090565b66e6ed27d666800081565b6000610b8e826122c8565b610bc4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c0a82611128565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c72576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c916122c0565b73ffffffffffffffffffffffffffffffffffffffff1614610cf457610cbd81610cb86122c0565b6120c5565b610cf3576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610db0612316565b6001546000540303905090565b600d6020528060005260406000206000915090505481565b610de083838361231b565b505050565b61270f81565b600b60019054906101000a900460ff1681565b610e066122c0565b73ffffffffffffffffffffffffffffffffffffffff16610e24611739565b73ffffffffffffffffffffffffffffffffffffffff1614610e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7190613eef565b60405180910390fd5b60006064605047610e8b9190614195565b610e959190614164565b905060006064601447610ea89190614195565b610eb29190614164565b9050731333e81c131e1d1d0e8bd42eca5e45acd0ce1de373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610f0e573d6000803e3d6000fd5b50733587d4a1773d418b95f519c47db972b939bc761173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610f69573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610fb0573d6000803e3d6000fd5b505050565b610fd083838360405180602001604052806000815250611c5e565b505050565b6000600c54905090565b600a8054610fec906142e3565b80601f0160208091040260200160405190810160405280929190818152602001828054611018906142e3565b80156110655780601f1061103a57610100808354040283529160200191611065565b820191906000526020600020905b81548152906001019060200180831161104857829003601f168201915b505050505081565b600b60009054906101000a900460ff1681565b6110886122c0565b73ffffffffffffffffffffffffffffffffffffffff166110a6611739565b73ffffffffffffffffffffffffffffffffffffffff16146110fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f390613eef565b60405180910390fd5b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b6000611133826127fb565b600001519050919050565b61270f81565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111ac576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61121c6122c0565b73ffffffffffffffffffffffffffffffffffffffff1661123a611739565b73ffffffffffffffffffffffffffffffffffffffff1614611290576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128790613eef565b60405180910390fd5b61129a6000612a86565b565b6112a46122c0565b73ffffffffffffffffffffffffffffffffffffffff166112c2611739565b73ffffffffffffffffffffffffffffffffffffffff1614611318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130f90613eef565b60405180910390fd5b600b60029054906101000a900460ff1615600b60026101000a81548160ff021916908315150217905550565b61134c6122c0565b73ffffffffffffffffffffffffffffffffffffffff1661136a611739565b73ffffffffffffffffffffffffffffffffffffffff16146113c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b790613eef565b60405180910390fd5b80600c8190555050565b6060600033905060006113dc82611144565b905060008167ffffffffffffffff8111156113fa576113f96144a0565b5b6040519080825280602002602001820160405280156114285781602001602082028036833780820191505090505b50905060005b8281101561144957808061144190614346565b91505061142e565b5080935050505090565b600b60039054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146114d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cb90613def565b60405180910390fd5b600b60029054906101000a900460ff16611523576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151a90613f4f565b60405180910390fd5b61270f8161152f610da6565b611539919061410e565b111561157a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157190613eaf565b60405180910390fd5b600381600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115c7919061410e565b1115611608576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ff90613e2f565b60405180910390fd5b8066b1a2bc2ec5000061161b9190614195565b34101561165d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165490613f8f565b60405180910390fd5b6000336040516020016116709190613cc4565b60405160208183030381529060405280519060200120905061169583600c5483612b4c565b6116d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cb90613f6f565b60405180910390fd5b81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611723919061410e565b925050819055506117343383612b63565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611772906142e3565b80601f016020809104026020016040519081016040528092919081815260200182805461179e906142e3565b80156117eb5780601f106117c0576101008083540402835291602001916117eb565b820191906000526020600020905b8154815290600101906020018083116117ce57829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185a90613def565b60405180910390fd5b600b60019054906101000a900460ff166118b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a990613f2f565b60405180910390fd5b61270f816118be610da6565b6118c8919061410e565b1115611909576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190090613e8f565b60405180910390fd5b61270f81600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611957919061410e565b1115611998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198f90613ecf565b60405180910390fd5b8066e6ed27d66680006119ab9190614195565b3410156119ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e490613e6f565b60405180910390fd5b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a3c919061410e565b92505081905550611a4d3382612b63565b50565b611a586122c0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611abd576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611aca6122c0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b776122c0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bbc9190613d97565b60405180910390a35050565b611bd06122c0565b73ffffffffffffffffffffffffffffffffffffffff16611bee611739565b73ffffffffffffffffffffffffffffffffffffffff1614611c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3b90613eef565b60405180910390fd5b80600a9080519060200190611c5a9291906132bf565b5050565b611c6984848461231b565b611c888373ffffffffffffffffffffffffffffffffffffffff16612b81565b15611cd057611c9984848484612ba4565b611ccf576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611cde6122c0565b73ffffffffffffffffffffffffffffffffffffffff16611cfc611739565b73ffffffffffffffffffffffffffffffffffffffff1614611d52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4990613eef565b60405180910390fd5b600b60049054906101000a900460ff1615611da2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9990613e4f565b60405180910390fd5b6001600b60046101000a81548160ff021916908315150217905550611dc83360fa612b63565b565b611dd26122c0565b73ffffffffffffffffffffffffffffffffffffffff16611df0611739565b73ffffffffffffffffffffffffffffffffffffffff1614611e46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3d90613eef565b60405180910390fd5b600b60039054906101000a900460ff1615600b60036101000a81548160ff021916908315150217905550565b6060611e7d826122c8565b611ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb390613f0f565b60405180910390fd5b6000600183611ecb919061410e565b9050600b60009054906101000a900460ff16611f7457600a8054611eee906142e3565b80601f0160208091040260200160405190810160405280929190818152602001828054611f1a906142e3565b8015611f675780601f10611f3c57610100808354040283529160200191611f67565b820191906000526020600020905b815481529060010190602001808311611f4a57829003601f168201915b5050505050915050611fcf565b600060098054611f83906142e3565b905011611f9f5760405180602001604052806000815250611fcb565b6009611faa82612d04565b604051602001611fbb929190613cdf565b6040516020818303038152906040525b9150505b919050565b66b1a2bc2ec5000081565b600e6020528060005260406000206000915090505481565b600b60029054906101000a900460ff1681565b6120126122c0565b73ffffffffffffffffffffffffffffffffffffffff16612030611739565b73ffffffffffffffffffffffffffffffffffffffff1614612086576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207d90613eef565b60405180910390fd5b600b60019054906101000a900460ff1615600b60016101000a81548160ff021916908315150217905550565b600b60049054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6121616122c0565b73ffffffffffffffffffffffffffffffffffffffff1661217f611739565b73ffffffffffffffffffffffffffffffffffffffff16146121d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cc90613eef565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223c90613e0f565b60405180910390fd5b61224e81612a86565b50565b600381565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6000816122d3612316565b111580156122e2575060005482105b801561230f575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600090565b6000612326826127fb565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612391576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166123b26122c0565b73ffffffffffffffffffffffffffffffffffffffff1614806123e157506123e0856123db6122c0565b6120c5565b5b8061242657506123ef6122c0565b73ffffffffffffffffffffffffffffffffffffffff1661240e84610b83565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061245f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156124c6576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124d38585856001612e65565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561278957600054821461278857878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127f48585856001612e6b565b5050505050565b612803613345565b600082905080612811612316565b11612a4f57600054811015612a4e576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612a4c57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612930578092505050612a81565b5b600115612a4b57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a46578092505050612a81565b612931565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612b598584612e71565b1490509392505050565b612b7d828260405180602001604052806000815250612ee6565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bca6122c0565b8786866040518563ffffffff1660e01b8152600401612bec9493929190613d29565b602060405180830381600087803b158015612c0657600080fd5b505af1925050508015612c3757506040513d601f19601f82011682018060405250810190612c34919061381a565b60015b612cb1573d8060008114612c67576040519150601f19603f3d011682016040523d82523d6000602084013e612c6c565b606091505b50600081511415612ca9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612d4c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e60565b600082905060005b60008214612d7e578080612d6790614346565b915050600a82612d779190614164565b9150612d54565b60008167ffffffffffffffff811115612d9a57612d996144a0565b5b6040519080825280601f01601f191660200182016040528015612dcc5781602001600182028036833780820191505090505b5090505b60008514612e5957600182612de591906141ef565b9150600a85612df491906143b3565b6030612e00919061410e565b60f81b818381518110612e1657612e15614471565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e529190614164565b9450612dd0565b8093505050505b919050565b50505050565b50505050565b60008082905060005b8451811015612edb576000858281518110612e9857612e97614471565b5b60200260200101519050808311612eba57612eb383826132a8565b9250612ec7565b612ec481846132a8565b92505b508080612ed390614346565b915050612e7a565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612f53576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415612f8e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612f9b6000858386612e65565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000848201905061315c8673ffffffffffffffffffffffffffffffffffffffff16612b81565b15613221575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131d16000878480600101955087612ba4565b613207576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061316257826000541461321c57600080fd5b61328c565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613222575b8160008190555050506132a26000858386612e6b565b50505050565b600082600052816020526040600020905092915050565b8280546132cb906142e3565b90600052602060002090601f0160209004810192826132ed5760008555613334565b82601f1061330657805160ff1916838001178555613334565b82800160010185558215613334579182015b82811115613333578251825591602001919060010190613318565b5b5090506133419190613388565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156133a1576000816000905550600101613389565b5090565b60006133b86133b384613fef565b613fca565b905080838252602082019050828560208602820111156133db576133da6144d4565b5b60005b8581101561340b57816133f188826134f1565b8452602084019350602083019250506001810190506133de565b5050509392505050565b60006134286134238461401b565b613fca565b905082815260208101848484011115613444576134436144d9565b5b61344f8482856142a1565b509392505050565b600061346a6134658461404c565b613fca565b905082815260208101848484011115613486576134856144d9565b5b6134918482856142a1565b509392505050565b6000813590506134a881614935565b92915050565b600082601f8301126134c3576134c26144cf565b5b81356134d38482602086016133a5565b91505092915050565b6000813590506134eb8161494c565b92915050565b60008135905061350081614963565b92915050565b6000813590506135158161497a565b92915050565b60008151905061352a8161497a565b92915050565b600082601f830112613545576135446144cf565b5b8135613555848260208601613415565b91505092915050565b600082601f830112613573576135726144cf565b5b8135613583848260208601613457565b91505092915050565b60008135905061359b81614991565b92915050565b6000602082840312156135b7576135b66144e3565b5b60006135c584828501613499565b91505092915050565b600080604083850312156135e5576135e46144e3565b5b60006135f385828601613499565b925050602061360485828601613499565b9150509250929050565b600080600060608486031215613627576136266144e3565b5b600061363586828701613499565b935050602061364686828701613499565b92505060406136578682870161358c565b9150509250925092565b6000806000806080858703121561367b5761367a6144e3565b5b600061368987828801613499565b945050602061369a87828801613499565b93505060406136ab8782880161358c565b925050606085013567ffffffffffffffff8111156136cc576136cb6144de565b5b6136d887828801613530565b91505092959194509250565b600080604083850312156136fb576136fa6144e3565b5b600061370985828601613499565b925050602061371a858286016134dc565b9150509250929050565b6000806040838503121561373b5761373a6144e3565b5b600061374985828601613499565b925050602061375a8582860161358c565b9150509250929050565b6000806040838503121561377b5761377a6144e3565b5b600083013567ffffffffffffffff811115613799576137986144de565b5b6137a5858286016134ae565b92505060206137b68582860161358c565b9150509250929050565b6000602082840312156137d6576137d56144e3565b5b60006137e4848285016134f1565b91505092915050565b600060208284031215613803576138026144e3565b5b600061381184828501613506565b91505092915050565b6000602082840312156138305761382f6144e3565b5b600061383e8482850161351b565b91505092915050565b60006020828403121561385d5761385c6144e3565b5b600082013567ffffffffffffffff81111561387b5761387a6144de565b5b6138878482850161355e565b91505092915050565b6000602082840312156138a6576138a56144e3565b5b60006138b48482850161358c565b91505092915050565b60006138c98383613ca6565b60208301905092915050565b6138de81614223565b82525050565b6138f56138f082614223565b61438f565b82525050565b6000613906826140a2565b61391081856140d0565b935061391b8361407d565b8060005b8381101561394c57815161393388826138bd565b975061393e836140c3565b92505060018101905061391f565b5085935050505092915050565b61396281614235565b82525050565b61397181614241565b82525050565b6000613982826140ad565b61398c81856140e1565b935061399c8185602086016142b0565b6139a5816144e8565b840191505092915050565b60006139bb826140b8565b6139c581856140f2565b93506139d58185602086016142b0565b6139de816144e8565b840191505092915050565b60006139f4826140b8565b6139fe8185614103565b9350613a0e8185602086016142b0565b80840191505092915050565b60008154613a27816142e3565b613a318186614103565b94506001821660008114613a4c5760018114613a5d57613a90565b60ff19831686528186019350613a90565b613a668561408d565b60005b83811015613a8857815481890152600182019150602081019050613a69565b838801955050505b50505092915050565b6000613aa6602c836140f2565b9150613ab182614506565b604082019050919050565b6000613ac96026836140f2565b9150613ad482614555565b604082019050919050565b6000613aec6034836140f2565b9150613af7826145a4565b604082019050919050565b6000613b0f6030836140f2565b9150613b1a826145f3565b604082019050919050565b6000613b326014836140f2565b9150613b3d82614642565b602082019050919050565b6000613b55602c836140f2565b9150613b608261466b565b604082019050919050565b6000613b78600583614103565b9150613b83826146ba565b600582019050919050565b6000613b9b602b836140f2565b9150613ba6826146e3565b604082019050919050565b6000613bbe6025836140f2565b9150613bc982614732565b604082019050919050565b6000613be16020836140f2565b9150613bec82614781565b602082019050919050565b6000613c04602f836140f2565b9150613c0f826147aa565b604082019050919050565b6000613c27602d836140f2565b9150613c32826147f9565b604082019050919050565b6000613c4a6021836140f2565b9150613c5582614848565b604082019050919050565b6000613c6d6028836140f2565b9150613c7882614897565b604082019050919050565b6000613c906028836140f2565b9150613c9b826148e6565b604082019050919050565b613caf81614297565b82525050565b613cbe81614297565b82525050565b6000613cd082846138e4565b60148201915081905092915050565b6000613ceb8285613a1a565b9150613cf782846139e9565b9150613d0282613b6b565b91508190509392505050565b6000602082019050613d2360008301846138d5565b92915050565b6000608082019050613d3e60008301876138d5565b613d4b60208301866138d5565b613d586040830185613cb5565b8181036060830152613d6a8184613977565b905095945050505050565b60006020820190508181036000830152613d8f81846138fb565b905092915050565b6000602082019050613dac6000830184613959565b92915050565b6000602082019050613dc76000830184613968565b92915050565b60006020820190508181036000830152613de781846139b0565b905092915050565b60006020820190508181036000830152613e0881613a99565b9050919050565b60006020820190508181036000830152613e2881613abc565b9050919050565b60006020820190508181036000830152613e4881613adf565b9050919050565b60006020820190508181036000830152613e6881613b02565b9050919050565b60006020820190508181036000830152613e8881613b25565b9050919050565b60006020820190508181036000830152613ea881613b48565b9050919050565b60006020820190508181036000830152613ec881613b8e565b9050919050565b60006020820190508181036000830152613ee881613bb1565b9050919050565b60006020820190508181036000830152613f0881613bd4565b9050919050565b60006020820190508181036000830152613f2881613bf7565b9050919050565b60006020820190508181036000830152613f4881613c1a565b9050919050565b60006020820190508181036000830152613f6881613c3d565b9050919050565b60006020820190508181036000830152613f8881613c60565b9050919050565b60006020820190508181036000830152613fa881613c83565b9050919050565b6000602082019050613fc46000830184613cb5565b92915050565b6000613fd4613fe5565b9050613fe08282614315565b919050565b6000604051905090565b600067ffffffffffffffff82111561400a576140096144a0565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614036576140356144a0565b5b61403f826144e8565b9050602081019050919050565b600067ffffffffffffffff821115614067576140666144a0565b5b614070826144e8565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061411982614297565b915061412483614297565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614159576141586143e4565b5b828201905092915050565b600061416f82614297565b915061417a83614297565b92508261418a57614189614413565b5b828204905092915050565b60006141a082614297565b91506141ab83614297565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156141e4576141e36143e4565b5b828202905092915050565b60006141fa82614297565b915061420583614297565b925082821015614218576142176143e4565b5b828203905092915050565b600061422e82614277565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156142ce5780820151818401526020810190506142b3565b838111156142dd576000848401525b50505050565b600060028204905060018216806142fb57607f821691505b6020821081141561430f5761430e614442565b5b50919050565b61431e826144e8565b810181811067ffffffffffffffff8211171561433d5761433c6144a0565b5b80604052505050565b600061435182614297565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614384576143836143e4565b5b600182019050919050565b600061439a826143a1565b9050919050565b60006143ac826144f9565b9050919050565b60006143be82614297565b91506143c983614297565b9250826143d9576143d8614413565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f466c696e6368204e4654203a3a2043616e6e6f742062652063616c6c6564206260008201527f79206120636f6e74726163740000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f466c696e6368204e4654203a3a2043616e6e6f74206d696e74206265796f6e6460008201527f2077686974656c697374206d6178206d696e7421000000000000000000000000602082015250565b7f466c696e6368204e4654203a3a20437265772068617320616c7265616479206760008201527f72616262656420746865206c6f6f742100000000000000000000000000000000602082015250565b7f466c696e6368204e4654203a3a2042656c6f7720000000000000000000000000600082015250565b7f466c696e6368204e4654203a3a2054686572652773206e6f7420656e6f75676860008201527f20746865726520446f796c650000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f466c696e6368204e4654203a3a2043616e6e6f74206d696e74206265796f6e6460008201527f206d617820737570706c79000000000000000000000000000000000000000000602082015250565b7f466c696e6368204e4654203a3a20416c7265616479206d696e7465642033207460008201527f696d657321000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f466c696e6368204e4654203a3a20536c6f7720646f776e204a616d65732c206960008201527f742773206e6f742074696d652e00000000000000000000000000000000000000602082015250565b7f466c696e6368204e4654203a3a204d696e74696e67206973206f6e205061757360008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f466c696e6368204e4654203a3a20596f75277265206e6f74206f6e207468652060008201527f4869746c6973742e000000000000000000000000000000000000000000000000602082015250565b7f466c696e6368204e4654203a3a205061796d656e742069732062656c6f77207460008201527f6865207072696365000000000000000000000000000000000000000000000000602082015250565b61493e81614223565b811461494957600080fd5b50565b61495581614235565b811461496057600080fd5b50565b61496c81614241565b811461497757600080fd5b50565b6149838161424b565b811461498e57600080fd5b50565b61499a81614297565b81146149a557600080fd5b5056fea2646970667358221220f0270421a30e186caefc3586275270328d3ab37d2d534124c1ae14851e93d97f64736f6c63430008070033

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

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