Contract 0xD3771E1Aad236a9fF04B4EceF91AB88f45EaBCC4 1

Token Contract 
 
 
Txn Hash
Method
Block
From
To
Value
0x0ed1682c8a9fde137e4cbad617e74754aced5e462cf0ea9c2af34f03b089f89aSafe Transfer Fr...161306932022-12-07 5:09:2315 hrs 45 mins agoENS Name havcaaren.eth IN  Yagiverse: YAGIVERSE Token0 Ether0.00097874 16.44347342
0x64f55431e719b359fe4719edf5e7a24dda9effcfd6f9b6a3c052bf6617e43b82Set Approval For...161305202022-12-07 4:33:1116 hrs 21 mins ago0xf972c2caaccfea0cb69510432c35154936f6de41 IN  Yagiverse: YAGIVERSE Token0 Ether0.00070502 15.27559053
0xd593d12bb5ec596643c9b9f0985bed06501690c7c265fa01239b1f40823f5868Set Approval For...161300302022-12-07 2:50:4718 hrs 3 mins ago0x1cd75b16d57c0417d81c6f96930f68e91ccaab20 IN  Yagiverse: YAGIVERSE Token0 Ether0.00068826 14.91234809
0x3c2738d69a59820c2bd35de8bd90fa171a189a9cd31bd564342fecd5902d0d2aSet Approval For...161300062022-12-07 2:45:5918 hrs 8 mins ago0x1cd75b16d57c0417d81c6f96930f68e91ccaab20 IN  Yagiverse: YAGIVERSE Token0 Ether0.00063324 13.71322609
0xd9a7d7e73b9b3f0f9cc646f57059950300b735e78c07ae9625e1e11b5ae71629Set Approval For...161299232022-12-07 2:28:4718 hrs 25 mins ago0xafa08d5332334874935865ed4264eef972023486 IN  Yagiverse: YAGIVERSE Token0 Ether0.0007905 17.12757077
0x2b6060d5c77763df91db917c6f2042bd80b547a77df396a2cd5810a09791c36cSet Approval For...161296052022-12-07 1:22:3519 hrs 31 mins agoENS Name *💎handed📜hands.eth IN  Yagiverse: YAGIVERSE Token0 Ether0.000306 12.62276333
0x1af2669d75a0058e62b869b484fae1f450a675f47a50289be3a00e2923cd5b56Set Approval For...161285082022-12-06 21:42:1123 hrs 12 mins ago0xe980e46e82614f9e37a161325aff3edd0d6da7e1 IN  Yagiverse: YAGIVERSE Token0 Ether0.00077738 16.84322891
0x2f3daa7c3e1010d9e166ead061e5ad1c34a3800958350cbd00a231065ecd690bSet Approval For...161269442022-12-06 16:27:351 day 4 hrs ago0x558f73a829aef377a0dac840c80b04b095c94037 IN  Yagiverse: YAGIVERSE Token0 Ether0.00089242 19.30070322
0x1f162724d62f4d3f56926ef3583ff2410ce3fabbaacd1cb527fd64b1b9e2b248Set Approval For...161266812022-12-06 15:34:471 day 5 hrs agoENS Name fuckingchampion.eth IN  Yagiverse: YAGIVERSE Token0 Ether0.00081442 17.64580275
0xa14cc3d0f46dcafc4f1cbb9647cfd496a4f79ef667e4b991fcf4a7ab561a6d33Set Approval For...161236672022-12-06 5:29:231 day 15 hrs ago0x602ed68eed6e18dd81997e249537243b635bbdfc IN  Yagiverse: YAGIVERSE Token0 Ether0.00064149 13.89892081
0xf3c70accc0930d27fb143ad201e64a6ea5bf96301e7dbc1107a965f5f1e7f21bSet Approval For...161234732022-12-06 4:50:231 day 16 hrs ago0x443641084cd6252a46bc58007f9dcc52ad5405bf IN  Yagiverse: YAGIVERSE Token0 Ether0.0005374 11.62261748
0xd7e7ba71b06e9d85679cf324a97561ca30108f90d12f788f8f472a4730d8d1dfSet Approval For...161228712022-12-06 2:49:471 day 18 hrs ago0xaaf25eca8abbcc3893ead4bb8d3d3387fd095b5e IN  Yagiverse: YAGIVERSE Token0 Ether0.00062798 13.58150584
0xa8a6d14e79fbcfdbcc604ff427e2a435fef7645dc41a4f4070358d52b0cb542bSet Approval For...161221182022-12-06 0:18:471 day 20 hrs ago0x602ed68eed6e18dd81997e249537243b635bbdfc IN  Yagiverse: YAGIVERSE Token0 Ether0.00056181 12.15045459
0x9bdbd566893a63fcc0bfde45757b7f53b1f465215676540ce2390f812f42caa5Set Approval For...161221142022-12-06 0:17:591 day 20 hrs ago0x602ed68eed6e18dd81997e249537243b635bbdfc IN  Yagiverse: YAGIVERSE Token0 Ether0.00029388 12.08114182
0xcf9be06444a8d62f8c3866494e66b0512ff436e61299be764f8d337460f4d3faSet Approval For...161221142022-12-06 0:17:591 day 20 hrs agoENS Name sonny37.eth IN  Yagiverse: YAGIVERSE Token0 Ether0.00058172 12.58114182
0xb6b4cf5ab7ba0989ca540f9a9039466c701fd72dfb1cb68ddf6915ca4e3dd967Set Approval For...161220322022-12-06 0:01:351 day 20 hrs ago0xa6db9d5977de9bad6d8a8edd0309ea883ded14a7 IN  Yagiverse: YAGIVERSE Token0 Ether0.00058946 12.74842988
0x39c6ee67a2e589c2b5ed2bca313b8581df0d552dc7f9f252fdca00d503b5a4efSet Approval For...161215872022-12-05 22:31:591 day 22 hrs ago0x4075439132bd5888a5720fc12a2a4febead3c778 IN  Yagiverse: YAGIVERSE Token0 Ether0.0003137 12.89597994
0x3b29890ff50587c9fc8fd9da221bf49c00b4bf5a1d76e7b42781a90414ddf68aSet Approval For...161213002022-12-05 21:34:231 day 23 hrs agoENS Name alexanderra.eth IN  Yagiverse: YAGIVERSE Token0 Ether0.00062206 13.45350336
0x44b454a7a0be6258de5beb2bbb3bf65e5389b5e41454596b5b99e8d205a6dfbbTransfer From161212552022-12-05 21:25:231 day 23 hrs ago0xc58e30e014fe92f05f54364d8ebc01b0c3e26e35 IN  Yagiverse: YAGIVERSE Token0 Ether0.00057553 12.94477738
0x1de50286261711d0efa0158d5c7a4b6b0584bb93f6c14ec8478f414ff4a21b12Safe Transfer Fr...161209582022-12-05 20:25:472 days 28 mins ago0x296f32b38b8f477ab71d36f19c59472691e5e0b0 IN  Yagiverse: YAGIVERSE Token0 Ether0.00062222 13.17661641
0xdcaeadd58587813cb00c59f0ab318991674a82c7789956049bdddb9cd24a4c15Safe Transfer Fr...161209302022-12-05 20:20:112 days 34 mins ago0xa2be0061d994cfcf9b05ff28c9d76b42f9b5e876 IN  Yagiverse: YAGIVERSE Token0 Ether0.0006078 14.33173624
0x05c7cbd3e76d0360d3e7b0d0d2f04076904e2057322c3d4d8795ce399b15c0feTransfer From161209212022-12-05 20:18:232 days 36 mins ago0xc58e30e014fe92f05f54364d8ebc01b0c3e26e35 IN  Yagiverse: YAGIVERSE Token0 Ether0.00065812 14.80236458
0x4a715ea0158d8305f980072d30fc2ec53c392af6410964871b7485b6eea3cb76Set Approval For...161206042022-12-05 19:14:472 days 1 hr ago0x6ac6d28480c532608892c94d3208ada7b67cd3b3 IN  Yagiverse: YAGIVERSE Token0 Ether0.00120183 25.99236252
0x3064b5a0b4f0470fcb96bfb42399da5fbcbbf150be3952e366cc0e4ce3066cf1Set Approval For...161205912022-12-05 19:11:592 days 1 hr ago0xf4861ab341ca4986361e9113ca990fe5848bc97a IN  Yagiverse: YAGIVERSE Token0 Ether0.00091659 19.82344876
0x82e095621220f68a68b49080aa3a1250c87043c821cf602e8fb2fc3a30e03634Set Approval For...161181742022-12-05 11:01:472 days 9 hrs ago0x3bc2f1c8867cad3c0b30ac1bd988aca1a2b4b22e IN  Yagiverse: YAGIVERSE Token0 Ether0.00061991 13.4313738
[ Download CSV Export 

OVERVIEW

3333 Yagiverse Genesis Collection. Giving users access to $NANOB, Staking, Marketplace, Tools, Alpha & More.

Latest 2 internal transactions
Parent Txn Hash Block From To Value
0xdf792378c13b7949621623ad1c601f4a48c2c2a7f6b3cbad9ad146d108bd19e3152386372022-07-29 17:13:59131 days 3 hrs ago Yagiverse: YAGIVERSE Token0x36cd46fe3c2fca98496be8a0cfa945a19c069d5a129.86176 Ether
0xdf792378c13b7949621623ad1c601f4a48c2c2a7f6b3cbad9ad146d108bd19e3152386372022-07-29 17:13:59131 days 3 hrs ago Yagiverse: YAGIVERSE Token0x49f8bbf2f2576f76f2bdd1a58dc26a425849218828.50624 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Yagiverse

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : Yagiverse.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./ERC721AV4.sol";

contract Yagiverse is ERC721A, Ownable, ReentrancyGuard {
    uint256 public MAX_SUPPLY = 3333;
    uint256 public TEAM_SUPPLY = 86;
    uint256 public RL_SUPPLY = 15;

    uint256 public PUBLIC_MINT_LIMIT = 10;
    uint256 public WL_MINT_LIMIT = 2;
    uint256 public WAIT_MINT_LIMIT = 5;

    uint256 public WL_PRICE = 0.049 ether;
    uint256 public WAIT_PRICE = 0.049 ether;
    uint256 public PUBLIC_PRICE = 0.049 ether;

    bool public isPublicSaleActive = false;
    bool public isWlSaleActive = false;
    bool public isWaitlistActive = false;

    bool _revealed = false;

    string private baseURI = "";

    bytes32 wlRoot;
    bytes32 waitRoot;
    address signer;

    mapping(address => uint256) addressBlockBought;
    mapping(address => bool) public mintedPublic;

    address public constant RL_ADDRESS = 0x49f8Bbf2f2576F76f2BDd1A58dc26a4258492188; 
    address public constant PROJECT_ADDRESS = 0x36Cd46fe3C2Fca98496Be8A0CFa945A19c069D5A; 
    
    mapping(bytes32 => bool) public usedDigests;

    constructor(
        bytes32 _wlRoot,
        address _signer,
        bytes32 _waitRoot) ERC721A("Yagiverse", "YAGIVERSE") {
            wlRoot = _wlRoot;
            signer = _signer;
            waitRoot = _waitRoot;
        }

    modifier isSecured(uint8 mintType) {
        require(addressBlockBought[msg.sender] < block.timestamp, "CANNOT_MINT_ON_THE_SAME_BLOCK");
        require(tx.origin == msg.sender,"CONTRACTS_NOT_ALLOWED_TO_MINT");

        if(mintType == 1) {
            require(isWlSaleActive, "WL_MINT_IS_NOT_YET_ACTIVE");
        }

        if(mintType == 2) {
            require(isWaitlistActive, "WAITLIST_MINT_IS_NOT_YET_ACTIVE");
        }

        if(mintType == 3) {
            require(isPublicSaleActive, "PUBLIC_MINT_IS_NOT_YET_ACTIVE");
        }
        _;
    }

    function mintForTeam(uint256 numberOfTokens) external onlyOwner {
        require(TEAM_SUPPLY > 0,"EXCEED_MINT_LIMIT");
        require(numberOfTokens <= TEAM_SUPPLY,"EXCEED_MINT_LIMIT");
        TEAM_SUPPLY -= numberOfTokens;
        _safeMint(PROJECT_ADDRESS, numberOfTokens);
    }

    function mintForRL(uint256 numberOfTokens) external onlyOwner {
        require(RL_SUPPLY > 0,"EXCEED_MINT_LIMIT");
        require(numberOfTokens <= RL_SUPPLY,"EXCEED_MINT_LIMIT");
        RL_SUPPLY -= numberOfTokens;
        _safeMint(RL_ADDRESS, numberOfTokens);
    }

    function allowMint(uint256 numberOfTokens, bytes32[] memory proof) external isSecured(1) payable{
        require(MerkleProof.verify(proof, wlRoot, keccak256(abi.encodePacked(msg.sender))),"PROOF_INVALID");
        require(numberOfTokens + totalSupply() <= MAX_SUPPLY,"NOT_ENOUGH_SUPPLY");
        require(numberMinted(msg.sender) + numberOfTokens <= WL_MINT_LIMIT,"EXCEED_PRAFFLE_MINT_LIMIT");
        require(msg.value == WL_PRICE * numberOfTokens, "WRONG_ETH_VALUE");

        addressBlockBought[msg.sender] = block.timestamp;
        _safeMint(msg.sender, numberOfTokens);
    }

    function waitMint(uint256 numberOfTokens, bytes32[] memory proof) external isSecured(2) payable{
        require(MerkleProof.verify(proof, waitRoot, keccak256(abi.encodePacked(msg.sender))),"PROOF_INVALID");
        require(numberOfTokens + totalSupply() <= MAX_SUPPLY,"NOT_ENOUGH_SUPPLY");
        require(numberMinted(msg.sender) + numberOfTokens <= WAIT_MINT_LIMIT,"EXCEED_PRAFFLE_MINT_LIMIT");
        require(msg.value == WAIT_PRICE * numberOfTokens, "WRONG_ETH_VALUE");

        addressBlockBought[msg.sender] = block.timestamp;
        _safeMint(msg.sender, numberOfTokens);
    }

    //Essential
    function publicMint(uint64 expireTime, bytes memory sig, uint256 numberOfTokens) external isSecured(3) payable {
        bytes32 digest = keccak256(abi.encodePacked(msg.sender,expireTime));
        require(isAuthorized(sig,digest),"CONTRACT_MINT_NOT_ALLOWED");
        require(block.timestamp <= expireTime, "EXPIRED_SIGNATURE");
        require(!usedDigests[digest], "SIGNATURE_LOOPING_NOT_ALLOWED");
        require(numberMinted(msg.sender) + numberOfTokens <= PUBLIC_MINT_LIMIT,"ONLY_10_IS_ALLOWED");
        require(numberOfTokens + totalSupply() <= MAX_SUPPLY,"NOT_ENOUGH_SUPPLY");
        require(msg.value == PUBLIC_PRICE * numberOfTokens, "WRONG_ETH_VALUE");

        usedDigests[digest] = true;
        addressBlockBought[msg.sender] = block.timestamp;
        _safeMint(msg.sender, numberOfTokens);
    }

    // URI
    function setBaseURI(string calldata URI) external onlyOwner {
        baseURI = URI;
    }

    function reveal(bool revealed, string calldata _baseURI) public onlyOwner {
        _revealed = revealed;
        baseURI = _baseURI;
    }

    // LIVE TOGGLES
    function togglePublicMintStatus() external onlyOwner {
        isPublicSaleActive = !isPublicSaleActive;
    }

    function toggleWlMintStatus() external onlyOwner {
        isWlSaleActive = !isWlSaleActive;
    }

    function toggleWaitMintStatus() external onlyOwner {
        isWaitlistActive = !isWaitlistActive;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (_revealed) {
            return string(abi.encodePacked(baseURI, Strings.toString(tokenId)));
        } else {
            return string(abi.encodePacked(baseURI));
        }
    }

    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    // ROOT SETTERS

    function setWLSaleRoot(bytes32 _wlRoot) external onlyOwner {
        wlRoot = _wlRoot;
    }

    function setWaitRoot(bytes32 _waitRoot) external onlyOwner {
        waitRoot = _waitRoot;
    }

    // LIMIT SETTERS
    function setPublicMintLimit(uint256 _mintLimit) external onlyOwner {
        PUBLIC_MINT_LIMIT = _mintLimit;
    }

    function setWLMintLimit(uint256 _mintLimit) external onlyOwner {
        WL_MINT_LIMIT = _mintLimit;
    }

    function setWaitMintLimit(uint256 _mintLimit) external onlyOwner {
        WAIT_MINT_LIMIT = _mintLimit;
    }

    // PRICE SETTERS
    function setPublicPrice(uint256 _price) external onlyOwner {
        PUBLIC_PRICE = _price;
    }

    function setWlPrice(uint256 _price) external onlyOwner {
        WL_PRICE = _price;
    }

    function setWaitPrice(uint256 _price) external onlyOwner {
        WAIT_PRICE = _price;
    }

    function setSigner(address _signer) external onlyOwner{
        signer = _signer;
    }

    function isAuthorized(bytes memory sig, bytes32 digest) private view returns (bool) {
        return ECDSA.recover(digest, sig) == signer;
    }

    // withdraw
    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, "No balance to withdraw");
        payable(RL_ADDRESS).transfer((balance * 1800) / 10000);
        payable(PROJECT_ADDRESS).transfer(address(this).balance);
    }
}

File 2 of 9 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A {
    /**
     * 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();

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

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

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

    // ==============================
    //            IERC721
    // ==============================

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

    // ==============================
    //        IERC721Metadata
    // ==============================

    /**
     * @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 3 of 9 : ERC721AV4.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @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 IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;
    
    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

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

    // The number of tokens burned.
    uint256 private _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 `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count. 
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    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();
        }
    }

    /**
     * @dev 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 Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (_addressToUint256(owner) == 0) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

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

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_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 {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly { // Cast aux without masking.
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // 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.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * 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) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

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

    /**
     * @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, _toString(tokenId))) : '';
    }

    /**
     * @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 Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

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

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                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 == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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.code.length != 0)
            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 && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not 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 (_addressToUint256(to) == 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 {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

            if (to.code.length != 0) {
                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 (_addressToUint256(to) == 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 {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            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 {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        address approvedAddress = _tokenApprovals[tokenId];

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            approvedAddress == _msgSenderERC721A());

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

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            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 {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        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 {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));
        address approvedAddress = _tokenApprovals[tokenId];

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                approvedAddress == _msgSenderERC721A());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            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 {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED | 
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        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 ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__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 {}

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), 
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length, 
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for { 
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp { 
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } { // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }
            
            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

File 4 of 9 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 5 of 9 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return recover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return recover(hash, r, vs);
        } else {
            revert("ECDSA: invalid signature length");
        }
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`, `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(
            uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0,
            "ECDSA: invalid signature 's' value"
        );
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 6 of 9 : Strings.sol
// SPDX-License-Identifier: MIT

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 9 : Context.sol
// SPDX-License-Identifier: MIT

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 9 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 9 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_wlRoot","type":"bytes32"},{"internalType":"address","name":"_signer","type":"address"},{"internalType":"bytes32","name":"_waitRoot","type":"bytes32"}],"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":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROJECT_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RL_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WAIT_MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WAIT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"allowMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWaitlistActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWlSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintForRL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintForTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedPublic","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"expireTime","type":"uint64"},{"internalType":"bytes","name":"sig","type":"bytes"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"revealed","type":"bool"},{"internalType":"string","name":"_baseURI","type":"string"}],"name":"reveal","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":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintLimit","type":"uint256"}],"name":"setPublicMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintLimit","type":"uint256"}],"name":"setWLMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_wlRoot","type":"bytes32"}],"name":"setWLSaleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintLimit","type":"uint256"}],"name":"setWaitMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setWaitPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_waitRoot","type":"bytes32"}],"name":"setWaitRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setWlPrice","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":"togglePublicMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWaitMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWlMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"usedDigests","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"waitMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610d05600a9081556056600b55600f600c819055600d919091556002600e556005905566ae153d89fe8000601081905560118190556012556013805463ffffffff1916905560a0604052600060809081526014906200005f908262000231565b503480156200006d57600080fd5b50604051620031cc380380620031cc8339810160408190526200009091620002fd565b6040518060400160405280600981526020016859616769766572736560b81b8152506040518060400160405280600981526020016859414749564552534560b81b8152508160029081620000e5919062000231565b506003620000f4828262000231565b5050600080555062000106336200013a565b6001600955601592909255601780546001600160a01b0319166001600160a01b039290921691909117905560165562000345565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001b757607f821691505b602082108103620001d857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200022c57600081815260208120601f850160051c81016020861015620002075750805b601f850160051c820191505b81811015620002285782815560010162000213565b5050505b505050565b81516001600160401b038111156200024d576200024d6200018c565b62000265816200025e8454620001a2565b84620001de565b602080601f8311600181146200029d5760008415620002845750858301515b600019600386901b1c1916600185901b17855562000228565b600085815260208120601f198616915b82811015620002ce57888601518255948401946001909101908401620002ad565b5085821015620002ed5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000806000606084860312156200031357600080fd5b835160208501519093506001600160a01b03811681146200033357600080fd5b80925050604084015190509250925092565b612e7780620003556000396000f3fe6080604052600436106103355760003560e01c806370a08231116101ab578063b9c3a818116100f7578063e5cb8c6b11610095578063ef3e067c1161006f578063ef3e067c14610920578063f234675b14610940578063f2fde38b1461095f578063fe4641471461097f57600080fd5b8063e5cb8c6b146108cb578063e985e9c5146108e0578063ec9070f81461090057600080fd5b8063c87b56dd116100d1578063c87b56dd14610845578063d39c4de714610865578063dc33e68114610895578063e5548b8b146108b557600080fd5b8063b9c3a818146107f9578063bceae77b1461080f578063c62752551461082557600080fd5b80639533929a116101645780639829409c1161013e5780639829409c14610783578063a101ff6d14610799578063a22cb465146107b9578063b88d4fde146107d957600080fd5b80639533929a1461073957806395d89b411461075957806397f5ec671461076e57600080fd5b806370a0823114610690578063715018a6146106b05780637b27f3ee146106c55780638538a608146106db5780638da5cb5b146106fb5780638dd07d0f1461071957600080fd5b80633ccfd60b1161028557806355f804b3116102235780635a4d448a116101fd5780635a4d448a1461061a578063611f3f101461063a5780636352211e146106505780636c19e7831461067057600080fd5b806355f804b3146105c757806358e758bc146105e757806359cb5119146105fa57600080fd5b806342842e0e1161025f57806342842e0e1461054957806347c36b31146105695780634bf940701461057f57806355cda461146105a757600080fd5b80633ccfd60b146104ec5780633f2a0cde146105015780633ffb24d31461052157600080fd5b80631f846157116102f257806331a69fa1116102cc57806331a69fa11461049857806331c3c7a0146104ab57806332cb6b0c146104c15780633a236f7a146104d757600080fd5b80631f8461571461042857806323b872dd146104585780632d6c2a691461047857600080fd5b806301ffc9a71461033a57806306fdde031461036f578063081812fc14610391578063095ea7b3146103c957806318160ddd146103eb5780631e84c4131461040e575b600080fd5b34801561034657600080fd5b5061035a6103553660046124f0565b610992565b60405190151581526020015b60405180910390f35b34801561037b57600080fd5b506103846109e4565b6040516103669190612565565b34801561039d57600080fd5b506103b16103ac366004612578565b610a76565b6040516001600160a01b039091168152602001610366565b3480156103d557600080fd5b506103e96103e43660046125a8565b610aba565b005b3480156103f757600080fd5b50600154600054035b604051908152602001610366565b34801561041a57600080fd5b5060135461035a9060ff1681565b34801561043457600080fd5b5061035a6104433660046125d2565b60196020526000908152604090205460ff1681565b34801561046457600080fd5b506103e96104733660046125ed565b610b8c565b34801561048457600080fd5b506103e9610493366004612578565b610b9c565b6103e96104a63660046126de565b610bd4565b3480156104b757600080fd5b5061040060105481565b3480156104cd57600080fd5b50610400600a5481565b3480156104e357600080fd5b506103e9610f16565b3480156104f857600080fd5b506103e9610f5f565b34801561050d57600080fd5b5060135461035a9062010000900460ff1681565b34801561052d57600080fd5b506103b17349f8bbf2f2576f76f2bdd1a58dc26a425849218881565b34801561055557600080fd5b506103e96105643660046125ed565b61106e565b34801561057557600080fd5b5061040060115481565b34801561058b57600080fd5b506103b17336cd46fe3c2fca98496be8a0cfa945a19c069d5a81565b3480156105b357600080fd5b506103e96105c2366004612578565b611089565b3480156105d357600080fd5b506103e96105e2366004612787565b611130565b6103e96105f53660046127c8565b611167565b34801561060657600080fd5b506103e9610615366004612578565b6113c0565b34801561062657600080fd5b506103e9610635366004612578565b6113ef565b34801561064657600080fd5b5061040060125481565b34801561065c57600080fd5b506103b161066b366004612578565b611493565b34801561067c57600080fd5b506103e961068b3660046125d2565b61149e565b34801561069c57600080fd5b506104006106ab3660046125d2565b6114ea565b3480156106bc57600080fd5b506103e9611532565b3480156106d157600080fd5b50610400600f5481565b3480156106e757600080fd5b506103e96106f6366004612578565b611568565b34801561070757600080fd5b506008546001600160a01b03166103b1565b34801561072557600080fd5b506103e9610734366004612578565b611597565b34801561074557600080fd5b506103e9610754366004612578565b6115c6565b34801561076557600080fd5b506103846115f5565b34801561077a57600080fd5b506103e9611604565b34801561078f57600080fd5b50610400600c5481565b3480156107a557600080fd5b506103e96107b4366004612889565b611642565b3480156107c557600080fd5b506103e96107d43660046128db565b611696565b3480156107e557600080fd5b506103e96107f436600461290e565b61172b565b34801561080557600080fd5b50610400600b5481565b34801561081b57600080fd5b50610400600d5481565b34801561083157600080fd5b506103e9610840366004612578565b61176f565b34801561085157600080fd5b50610384610860366004612578565b61179e565b34801561087157600080fd5b5061035a610880366004612578565b601a6020526000908152604090205460ff1681565b3480156108a157600080fd5b506104006108b03660046125d2565b6117fc565b3480156108c157600080fd5b50610400600e5481565b3480156108d757600080fd5b506103e9611826565b3480156108ec57600080fd5b5061035a6108fb366004612975565b61186d565b34801561090c57600080fd5b506103e961091b366004612578565b61189b565b34801561092c57600080fd5b506103e961093b366004612578565b6118ca565b34801561094c57600080fd5b5060135461035a90610100900460ff1681565b34801561096b57600080fd5b506103e961097a3660046125d2565b6118f9565b6103e961098d3660046127c8565b611991565b60006301ffc9a760e01b6001600160e01b0319831614806109c357506380ac58cd60e01b6001600160e01b03198316145b806109de5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546109f39061299f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1f9061299f565b8015610a6c5780601f10610a4157610100808354040283529160200191610a6c565b820191906000526020600020905b815481529060010190602001808311610a4f57829003601f168201915b5050505050905090565b6000610a8182611b77565b610a9e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610ac582611b9e565b9050806001600160a01b0316836001600160a01b031603610af95760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610b3057610b13813361186d565b610b30576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610b97838383611c0c565b505050565b6008546001600160a01b03163314610bcf5760405162461bcd60e51b8152600401610bc6906129d9565b60405180910390fd5b601655565b336000908152601860205260409020546003904211610c055760405162461bcd60e51b8152600401610bc690612a0e565b323314610c245760405162461bcd60e51b8152600401610bc690612a45565b8060ff16600103610c5657601354610100900460ff16610c565760405162461bcd60e51b8152600401610bc690612a7c565b8060ff16600203610c895760135462010000900460ff16610c895760405162461bcd60e51b8152600401610bc690612ab3565b8060ff16600303610cb65760135460ff16610cb65760405162461bcd60e51b8152600401610bc690612aea565b6040516001600160601b03193360601b1660208201526001600160c01b031960c086901b166034820152600090603c01604051602081830303815290604052805190602001209050610d088482611dc6565b610d545760405162461bcd60e51b815260206004820152601960248201527f434f4e54524143545f4d494e545f4e4f545f414c4c4f574544000000000000006044820152606401610bc6565b846001600160401b0316421115610da15760405162461bcd60e51b8152602060048201526011602482015270455850495245445f5349474e415455524560781b6044820152606401610bc6565b6000818152601a602052604090205460ff1615610e005760405162461bcd60e51b815260206004820152601d60248201527f5349474e41545552455f4c4f4f50494e475f4e4f545f414c4c4f5745440000006044820152606401610bc6565b600d5483610e0d336117fc565b610e179190612b37565b1115610e5a5760405162461bcd60e51b815260206004820152601260248201527113d3931657cc4c17d254d7d0531313d5d15160721b6044820152606401610bc6565b600a5460015460005403610e6e9085612b37565b1115610e8c5760405162461bcd60e51b8152600401610bc690612b4f565b82601254610e9a9190612b7a565b3414610eda5760405162461bcd60e51b815260206004820152600f60248201526e57524f4e475f4554485f56414c554560881b6044820152606401610bc6565b6000818152601a60209081526040808320805460ff19166001179055338084526018909252909120429055610f0f9084611df0565b5050505050565b6008546001600160a01b03163314610f405760405162461bcd60e51b8152600401610bc6906129d9565b6013805462ff0000198116620100009182900460ff1615909102179055565b6008546001600160a01b03163314610f895760405162461bcd60e51b8152600401610bc6906129d9565b4780610fd05760405162461bcd60e51b81526020600482015260166024820152754e6f2062616c616e636520746f20776974686472617760501b6044820152606401610bc6565b7349f8bbf2f2576f76f2bdd1a58dc26a42584921886108fc612710610ff784610708612b7a565b6110019190612baf565b6040518115909202916000818181858888f19350505050158015611029573d6000803e3d6000fd5b506040517336cd46fe3c2fca98496be8a0cfa945a19c069d5a904780156108fc02916000818181858888f1935050505015801561106a573d6000803e3d6000fd5b5050565b610b978383836040518060200160405280600081525061172b565b6008546001600160a01b031633146110b35760405162461bcd60e51b8152600401610bc6906129d9565b6000600c54116110d55760405162461bcd60e51b8152600401610bc690612bc3565b600c548111156110f75760405162461bcd60e51b8152600401610bc690612bc3565b80600c60008282546111099190612bee565b9091555061112d90507349f8bbf2f2576f76f2bdd1a58dc26a425849218882611df0565b50565b6008546001600160a01b0316331461115a5760405162461bcd60e51b8152600401610bc6906129d9565b6014610b97828483612c4b565b3360009081526018602052604090205460019042116111985760405162461bcd60e51b8152600401610bc690612a0e565b3233146111b75760405162461bcd60e51b8152600401610bc690612a45565b8060ff166001036111e957601354610100900460ff166111e95760405162461bcd60e51b8152600401610bc690612a7c565b8060ff1660020361121c5760135462010000900460ff1661121c5760405162461bcd60e51b8152600401610bc690612ab3565b8060ff166003036112495760135460ff166112495760405162461bcd60e51b8152600401610bc690612aea565b6015546040516001600160601b03193360601b1660208201526112879184916034015b60405160208183030381529060405280519060200120611e0a565b6112c35760405162461bcd60e51b815260206004820152600d60248201526c141493d3d197d2539590531251609a1b6044820152606401610bc6565b600a54600154600054036112d79085612b37565b11156112f55760405162461bcd60e51b8152600401610bc690612b4f565b600e5483611302336117fc565b61130c9190612b37565b11156113565760405162461bcd60e51b8152602060048201526019602482015278115610d1515117d414905191931157d352539517d312535255603a1b6044820152606401610bc6565b826010546113649190612b7a565b34146113a45760405162461bcd60e51b815260206004820152600f60248201526e57524f4e475f4554485f56414c554560881b6044820152606401610bc6565b336000818152601860205260409020429055610b979084611df0565b6008546001600160a01b031633146113ea5760405162461bcd60e51b8152600401610bc6906129d9565b600f55565b6008546001600160a01b031633146114195760405162461bcd60e51b8152600401610bc6906129d9565b6000600b541161143b5760405162461bcd60e51b8152600401610bc690612bc3565b600b5481111561145d5760405162461bcd60e51b8152600401610bc690612bc3565b80600b600082825461146f9190612bee565b9091555061112d90507336cd46fe3c2fca98496be8a0cfa945a19c069d5a82611df0565b60006109de82611b9e565b6008546001600160a01b031633146114c85760405162461bcd60e51b8152600401610bc6906129d9565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b60008160000361150d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b0316331461155c5760405162461bcd60e51b8152600401610bc6906129d9565b6115666000611eb9565b565b6008546001600160a01b031633146115925760405162461bcd60e51b8152600401610bc6906129d9565b601155565b6008546001600160a01b031633146115c15760405162461bcd60e51b8152600401610bc6906129d9565b601055565b6008546001600160a01b031633146115f05760405162461bcd60e51b8152600401610bc6906129d9565b601555565b6060600380546109f39061299f565b6008546001600160a01b0316331461162e5760405162461bcd60e51b8152600401610bc6906129d9565b6013805460ff19811660ff90911615179055565b6008546001600160a01b0316331461166c5760405162461bcd60e51b8152600401610bc6906129d9565b6013805463ff00000019166301000000851515021790556014611690828483612c4b565b50505050565b336001600160a01b038316036116bf5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611736848484611c0c565b6001600160a01b0383163b156116905761175284848484611f0b565b611690576040516368d2bf6b60e11b815260040160405180910390fd5b6008546001600160a01b031633146117995760405162461bcd60e51b8152600401610bc6906129d9565b601255565b6013546060906301000000900460ff16156117e55760146117be83611ff7565b6040516020016117cf929190612d7d565b6040516020818303038152906040529050919050565b60146040516020016117cf9190612da2565b919050565b6001600160a01b038116600090815260056020526040808220546001600160401b03911c166109de565b6008546001600160a01b031633146118505760405162461bcd60e51b8152600401610bc6906129d9565b6013805461ff001981166101009182900460ff1615909102179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b031633146118c55760405162461bcd60e51b8152600401610bc6906129d9565b600e55565b6008546001600160a01b031633146118f45760405162461bcd60e51b8152600401610bc6906129d9565b600d55565b6008546001600160a01b031633146119235760405162461bcd60e51b8152600401610bc6906129d9565b6001600160a01b0381166119885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bc6565b61112d81611eb9565b3360009081526018602052604090205460029042116119c25760405162461bcd60e51b8152600401610bc690612a0e565b3233146119e15760405162461bcd60e51b8152600401610bc690612a45565b8060ff16600103611a1357601354610100900460ff16611a135760405162461bcd60e51b8152600401610bc690612a7c565b8060ff16600203611a465760135462010000900460ff16611a465760405162461bcd60e51b8152600401610bc690612ab3565b8060ff16600303611a735760135460ff16611a735760405162461bcd60e51b8152600401610bc690612aea565b6016546040516001600160601b03193360601b166020820152611a9a91849160340161126c565b611ad65760405162461bcd60e51b815260206004820152600d60248201526c141493d3d197d2539590531251609a1b6044820152606401610bc6565b600a5460015460005403611aea9085612b37565b1115611b085760405162461bcd60e51b8152600401610bc690612b4f565b600f5483611b15336117fc565b611b1f9190612b37565b1115611b695760405162461bcd60e51b8152602060048201526019602482015278115610d1515117d414905191931157d352539517d312535255603a1b6044820152606401610bc6565b826011546113649190612b7a565b60008054821080156109de575050600090815260046020526040902054600160e01b161590565b600081600054811015611bf35760008181526004602052604081205490600160e01b82169003611bf1575b80600003611bea575060001901600081815260046020526040902054611bc9565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000611c1782611b9e565b9050836001600160a01b0316816001600160a01b031614611c4a5760405162a1148160e81b815260040160405180910390fd5b6000828152600660205260408120546001600160a01b0390811691908616331480611c7a5750611c7a863361186d565b80611c8d57506001600160a01b03821633145b905080611cad57604051632ce44b5f60e11b815260040160405180910390fd5b84600003611cce57604051633a954ecd60e21b815260040160405180910390fd5b8115611cf157600084815260066020526040902080546001600160a01b03191690555b6001600160a01b038681166000908152600560209081526040808320805460001901905592881682528282208054600101905586825260049052908120600160e11b4260a01b8817811790915584169003611d7c57600184016000818152600460205260408120549003611d7a576000548114611d7a5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6017546000906001600160a01b0316611ddf83856120f7565b6001600160a01b0316149392505050565b61106a828260405180602001604052806000815250612199565b600081815b8551811015611eae576000868281518110611e2c57611e2c612dae565b60200260200101519050808311611e6e576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611e9b565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611ea681612dc4565b915050611e0f565b509092149392505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611f40903390899088908890600401612ddd565b6020604051808303816000875af1925050508015611f7b575060408051601f3d908101601f19168201909252611f7891810190612e10565b60015b611fd9573d808015611fa9576040519150601f19603f3d011682016040523d82523d6000602084013e611fae565b606091505b508051600003611fd1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608160000361201e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612048578061203281612dc4565b91506120419050600a83612baf565b9150612022565b6000816001600160401b0381111561206257612062612629565b6040519080825280601f01601f19166020018201604052801561208c576020820181803683370190505b5090505b8415611fef576120a1600183612bee565b91506120ae600a86612e2d565b6120b9906030612b37565b60f81b8183815181106120ce576120ce612dae565b60200101906001600160f81b031916908160001a9053506120f0600a86612baf565b9450612090565b6000815160410361212a5760208201516040830151606084015160001a61212086828585612307565b93505050506109de565b815160400361215157602082015160408301516121488583836124b0565b925050506109de565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bc6565b600054836000036121bc57604051622e076360e81b815260040160405180910390fd5b826000036121dd5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b156122b2575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461227b6000878480600101955087611f0b565b612298576040516368d2bf6b60e11b815260040160405180910390fd5b8082106122305782600054146122ad57600080fd5b6122f7565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106122b3575b5060009081556116909085838684565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156123845760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bc6565b8360ff16601b148061239957508360ff16601c145b6123f05760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bc6565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015612444573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166124a75760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bc6565b95945050505050565b60006001600160ff1b03821660ff83901c601b016124d086828785612307565b9695505050505050565b6001600160e01b03198116811461112d57600080fd5b60006020828403121561250257600080fd5b8135611bea816124da565b60005b83811015612528578181015183820152602001612510565b838111156116905750506000910152565b6000815180845261255181602086016020860161250d565b601f01601f19169290920160200192915050565b602081526000611bea6020830184612539565b60006020828403121561258a57600080fd5b5035919050565b80356001600160a01b03811681146117f757600080fd5b600080604083850312156125bb57600080fd5b6125c483612591565b946020939093013593505050565b6000602082840312156125e457600080fd5b611bea82612591565b60008060006060848603121561260257600080fd5b61260b84612591565b925061261960208501612591565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561266757612667612629565b604052919050565b600082601f83011261268057600080fd5b81356001600160401b0381111561269957612699612629565b6126ac601f8201601f191660200161263f565b8181528460208386010111156126c157600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156126f357600080fd5b83356001600160401b03808216821461270b57600080fd5b9093506020850135908082111561272157600080fd5b5061272e8682870161266f565b925050604084013590509250925092565b60008083601f84011261275157600080fd5b5081356001600160401b0381111561276857600080fd5b60208301915083602082850101111561278057600080fd5b9250929050565b6000806020838503121561279a57600080fd5b82356001600160401b038111156127b057600080fd5b6127bc8582860161273f565b90969095509350505050565b600080604083850312156127db57600080fd5b823591506020808401356001600160401b03808211156127fa57600080fd5b818601915086601f83011261280e57600080fd5b81358181111561282057612820612629565b8060051b915061283184830161263f565b818152918301840191848101908984111561284b57600080fd5b938501935b8385101561286957843582529385019390850190612850565b8096505050505050509250929050565b803580151581146117f757600080fd5b60008060006040848603121561289e57600080fd5b6128a784612879565b925060208401356001600160401b038111156128c257600080fd5b6128ce8682870161273f565b9497909650939450505050565b600080604083850312156128ee57600080fd5b6128f783612591565b915061290560208401612879565b90509250929050565b6000806000806080858703121561292457600080fd5b61292d85612591565b935061293b60208601612591565b92506040850135915060608501356001600160401b0381111561295d57600080fd5b6129698782880161266f565b91505092959194509250565b6000806040838503121561298857600080fd5b61299183612591565b915061290560208401612591565b600181811c908216806129b357607f821691505b6020821081036129d357634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f43414e4e4f545f4d494e545f4f4e5f5448455f53414d455f424c4f434b000000604082015260600190565b6020808252601d908201527f434f4e5452414354535f4e4f545f414c4c4f5745445f544f5f4d494e54000000604082015260600190565b60208082526019908201527f574c5f4d494e545f49535f4e4f545f5945545f41435449564500000000000000604082015260600190565b6020808252601f908201527f574149544c4953545f4d494e545f49535f4e4f545f5945545f41435449564500604082015260600190565b6020808252601d908201527f5055424c49435f4d494e545f49535f4e4f545f5945545f414354495645000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612b4a57612b4a612b21565b500190565b6020808252601190820152704e4f545f454e4f5547485f535550504c5960781b604082015260600190565b6000816000190483118215151615612b9457612b94612b21565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612bbe57612bbe612b99565b500490565b602080825260119082015270115610d1515117d352539517d312535255607a1b604082015260600190565b600082821015612c0057612c00612b21565b500390565b601f821115610b9757600081815260208120601f850160051c81016020861015612c2c5750805b601f850160051c820191505b81811015611dbe57828155600101612c38565b6001600160401b03831115612c6257612c62612629565b612c7683612c70835461299f565b83612c05565b6000601f841160018114612caa5760008515612c925750838201355b600019600387901b1c1916600186901b178355610f0f565b600083815260209020601f19861690835b82811015612cdb5786850135825560209485019460019092019101612cbb565b5086821015612cf85760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60008154612d178161299f565b60018281168015612d2f5760018114612d4457612d73565b60ff1984168752821515830287019450612d73565b8560005260208060002060005b85811015612d6a5781548a820152908401908201612d51565b50505082870194505b5050505092915050565b6000612d898285612d0a565b8351612d9981836020880161250d565b01949350505050565b6000611bea8284612d0a565b634e487b7160e01b600052603260045260246000fd5b600060018201612dd657612dd6612b21565b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124d090830184612539565b600060208284031215612e2257600080fd5b8151611bea816124da565b600082612e3c57612e3c612b99565b50069056fea264697066735822122041f411818d2dc046f6174f63ff54d513c4a8af7b3b7e5ba3574f5727911d067164736f6c634300080f0033904cc38fcab621135ac5388524468e8b5d73d0575df95efc1095cf662471e03c000000000000000000000000428119b77275cdbcf6ed3d1d76b51d37019caaeecfe5064e3e7c8407d4404ddd4a809bc124234392da86239935f60887ae89a559

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

904cc38fcab621135ac5388524468e8b5d73d0575df95efc1095cf662471e03c000000000000000000000000428119b77275cdbcf6ed3d1d76b51d37019caaeecfe5064e3e7c8407d4404ddd4a809bc124234392da86239935f60887ae89a559

-----Decoded View---------------
Arg [0] : _wlRoot (bytes32): 0x904cc38fcab621135ac5388524468e8b5d73d0575df95efc1095cf662471e03c
Arg [1] : _signer (address): 0x428119b77275CDBCF6Ed3D1D76b51D37019cAaee
Arg [2] : _waitRoot (bytes32): 0xcfe5064e3e7c8407d4404ddd4a809bc124234392da86239935f60887ae89a559

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 904cc38fcab621135ac5388524468e8b5d73d0575df95efc1095cf662471e03c
Arg [1] : 000000000000000000000000428119b77275cdbcf6ed3d1d76b51d37019caaee
Arg [2] : cfe5064e3e7c8407d4404ddd4a809bc124234392da86239935f60887ae89a559


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.