ETH Price: $3,326.36 (-3.99%)

Token

MinideathX (DEADLY)
 

Overview

Max Total Supply

350 DEADLY

Holders

131

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
sishan.eth
Balance
1 DEADLY
0xde54227dc7cb1de999979f21548096d92b64827f
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Minideath721A_X

Compiler Version
v0.8.8+commit.dddeac2f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : Minideath721A_X.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./ERC721A.sol";
import "@openzeppelin/contracts/utils/Strings.sol";


contract Minideath721A_X is Ownable, ERC721A, ReentrancyGuard {
    uint256 public immutable maxPerAddressDuringMint;
    uint256 public currentCollectionSize;

    uint256 public collectionSize;
    uint256 public batchSize;

    struct SaleConfig {
        uint32 allowListStartTime;
        uint64 allowListPriceWei;
        uint32 publicSaleStartTime;
        uint64 publicPriceWei;
        uint32 allowList2StartTime;
        uint64 allowList2PriceWei;
        uint32 allowList2EndTime;
    }

    SaleConfig public saleConfig;

    mapping(uint256 => mapping(address => uint256)) public allowlist;

    struct BatchAddressData {
        uint128 allowListMinted;
        uint128 publicSaleMinted;
        uint128 allowList2Minted;
    }
    mapping(uint256 => mapping(address => BatchAddressData)) private _mintedInCurrentBatch;

    constructor(uint256 maxPerAddressDuringMint_, uint256 collectionSize_, uint256 batchSize_)
        ERC721A("MinideathX", "DEADLY")
    {
        currentCollectionSize = 0;
        maxPerAddressDuringMint = maxPerAddressDuringMint_;

        require(
            collectionSize_ > 0,
            "ERC721A: collection must have a nonzero supply"
        );
        require(
            batchSize_ > 0 && batchSize_ < collectionSize_ && collectionSize_ % batchSize_ == 0,
            "batch size needs to be more than 0 and less than collectionSize"
        );
        collectionSize = collectionSize_;
        batchSize = batchSize_;
    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    function refundIfOver(uint256 price) private {
        require(msg.value >= price, "Need to send more ETH.");
        if (msg.value > price) {
            payable(msg.sender).transfer(msg.value - price);
        }
    }

    function devMint(uint256 quantity) external onlyOwner {
        require(totalSupply() + quantity <= currentCollectionSize, "reached max supply");
        _safeMint(msg.sender, quantity);
    }

    function isSaleOn(
        uint256 startTime,
        uint256 endTime
    ) public view returns (bool) {
        return
            block.timestamp >= startTime &&
            block.timestamp <= endTime;
    }

    function isEligibleForAllowList() public view returns (bool) {
        uint256 currentBatchId = getCurrentBatchId();
        return allowlist[currentBatchId][msg.sender] > 0;
    }

    function allowlistMint() external payable callerIsUser {
        uint256 price = uint256(saleConfig.allowListPriceWei);
        uint256 allowListStartTime = uint256(saleConfig.allowListStartTime);
        uint256 publicSaleStartTime = uint256(saleConfig.publicSaleStartTime);
        uint256 currentBatchId = getCurrentBatchId();
        require(isSaleOn(allowListStartTime, publicSaleStartTime), "allowlist sale has not begun yet");
        require(allowlist[currentBatchId][msg.sender] > 0, "not eligible for allowlist mint");
        require(totalSupply() + 1 <= currentCollectionSize, "reached max supply");
        require(
            _mintedInCurrentBatch[currentBatchId][msg.sender].allowListMinted + 1 <= 1,
            "can not mint this many"
        );
        allowlist[currentBatchId][msg.sender]--;
        _safeMint(msg.sender, 1);
        _mintedInCurrentBatch[currentBatchId][msg.sender].allowListMinted += 1;
        refundIfOver(price);
    }

    function allowlist2Mint() external payable callerIsUser {
        uint256 price = uint256(saleConfig.allowListPriceWei);
        uint256 allowListStartTime = uint256(saleConfig.allowList2StartTime);
        uint256 allowList2StartTime = uint256(saleConfig.allowList2StartTime);
        uint256 currentBatchId = getCurrentBatchId();
        require(isSaleOn(allowListStartTime, allowList2StartTime), "allowlist sale has not begun yet");
        require(allowlist[currentBatchId][msg.sender] > 0, "not eligible for allowlist mint");
        require(totalSupply() + 1 <= currentCollectionSize, "reached max supply");
        require(
            _mintedInCurrentBatch[currentBatchId][msg.sender].allowList2Minted + 1 <= 1,
            "can not mint this many"
        );
        allowlist[currentBatchId][msg.sender]--;
        _safeMint(msg.sender, 1);
        _mintedInCurrentBatch[currentBatchId][msg.sender].allowList2Minted += 1;
        refundIfOver(price);
    }

    /* =================== PUBLIC SALE MINT ============================= */

    function publicSaleMint(uint256 quantity)
        external
        payable
        callerIsUser
    {
        SaleConfig memory config = saleConfig;
        uint256 publicPrice = uint256(config.publicPriceWei);
        uint256 publicSaleStartTime = uint256(config.publicSaleStartTime);
        uint256 allowList2StartTime = uint256(config.allowList2StartTime);
        uint256 currentBatchId = getCurrentBatchId();

        require(
            isSaleOn(publicSaleStartTime, allowList2StartTime),
            "public sale has not begun yet"
        );
        require(
            totalSupply() + quantity <= currentCollectionSize,
            "reached max supply"
        );

        require(
            _mintedInCurrentBatch[currentBatchId][msg.sender].publicSaleMinted + quantity <= maxPerAddressDuringMint,
            "can not mint this many"
        );

        _safeMint(msg.sender, quantity);
        _mintedInCurrentBatch[currentBatchId][msg.sender].publicSaleMinted += uint128(quantity);
        refundIfOver(publicPrice * quantity);
    }

    /* ======================= END OF PUBLIC SALE ============================= */

    function seedAllowlist(
        uint128 batchId,
        address[] memory addresses,
        uint256[] memory numSlots
    ) external onlyOwner {
        require(
            addresses.length == numSlots.length,
            "addresses does not match numSlots length"
        );
        for (uint256 i = 0; i < addresses.length; i++) {
            allowlist[batchId][addresses[i]] = numSlots[i];
        }
    }

    // // metadata URI
    // string private _baseTokenURI;
    // Allow to have different token uris accross batches of tokens
    mapping(uint256 => string) private _baseTokenURIs;

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURIs[0];
    }

    function _baseURI(uint batch) internal view virtual returns (string memory) {
        return _baseTokenURIs[batch];
    }

    function setBaseURI(string calldata baseURI, uint256 batch) external onlyOwner {
        _baseTokenURIs[batch] = baseURI;
    }

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

        uint batch = tokenId / batchSize;
        string memory baseURI = _baseURI(batch);
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, Strings.toString(tokenId))) : '';
    }

    function withdrawMoney() external onlyOwner nonReentrant {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

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

    function getOwnershipData(uint256 tokenId)
        external
        view
        returns (TokenOwnership memory)
    {
        return ownershipOf(tokenId);
    }

    /** 
     * Update collection configuration
     * Update collection size after new batch dropped
     * Update amount for auction to accomodate new drop
     * Update ipfs folder hash
     */
    function drop(
        string calldata baseURI,
        uint32 allowListStartTime_,
        uint64 allowListPriceWei_,
        uint32 publicSaleStartTime_,
        uint64 publicPriceWei_,
        uint32 allowList2StartTime_,
        uint32 allowList2EndTime_,
        uint64 allowList2PriceWei_
    ) external onlyOwner {
        uint currentBatchId = currentCollectionSize / batchSize;
        _baseTokenURIs[currentBatchId] = baseURI;
        currentCollectionSize = currentCollectionSize + batchSize;

        saleConfig.allowListStartTime = allowListStartTime_;
        saleConfig.allowListPriceWei = allowListPriceWei_;
        saleConfig.publicSaleStartTime = publicSaleStartTime_;
        saleConfig.publicPriceWei = publicPriceWei_;
        saleConfig.allowList2StartTime = allowList2StartTime_;
        saleConfig.allowList2EndTime = allowList2EndTime_;
        saleConfig.allowList2PriceWei = allowList2PriceWei_;
    }

    function getCurrentBatchId() public view returns (uint256) {
        uint currentBatchId = currentCollectionSize / batchSize;
        require(currentBatchId > 0, "No batches yet");
        return currentBatchId - 1;
    }

    function reveal(
        string calldata baseURI
    ) external onlyOwner {
        uint currentBatchId = currentCollectionSize / batchSize;
        _baseTokenURIs[currentBatchId] = baseURI;
    }

    function setCurrentCollectionSize(uint256 currentCollectionSize_) external onlyOwner {
        currentCollectionSize = currentCollectionSize_;
    }

    function getCollectionSize() public view returns (uint256) {
        return currentCollectionSize;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 3 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.0;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 *
 * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal currentIndex = 0;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < totalSupply(), 'ERC721A: global index out of bounds');
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx = 0;
        address currOwnershipAddr = address(0);
        for (uint256 i = 0; i < numMintedSoFar; i++) {
            TokenOwnership memory ownership = _ownerships[i];
            if (ownership.addr != address(0)) {
                currOwnershipAddr = ownership.addr;
            }
            if (currOwnershipAddr == owner) {
                if (tokenIdsIdx == index) {
                    return i;
                }
                tokenIdsIdx++;
            }
        }
        revert('ERC721A: unable to get token of owner by index');
    }

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

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(owner != address(0), 'ERC721A: number minted query for the zero address');
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * 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) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

        for (uint256 curr = tokenId; ; curr--) {
            TokenOwnership memory ownership = _ownerships[curr];
            if (ownership.addr != address(0)) {
                return ownership;
            }
        }

        revert('ERC721A: unable to determine the owner of token');
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), 'ERC721A: approve to caller');

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            'ERC721A: transfer to non ERC721Receiver implementer'
        );
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

    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 {
        _mint(to, quantity, _data, true);
    }

    /**
     * @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,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), 'ERC721A: mint to the zero address');
        // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
        require(!_exists(startTokenId), 'ERC721A: token already minted');
        require(quantity > 0, 'ERC721A: quantity must be greater than 0');

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

        _addressData[to].balance += uint128(quantity);
        _addressData[to].numberMinted += uint128(quantity);

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

        uint256 updatedIndex = startTokenId;

        for (uint256 i = 0; i < quantity; i++) {
            emit Transfer(address(0), to, updatedIndex);
            if (safe) {
                require(
                    _checkOnERC721Received(address(0), to, updatedIndex, _data),
                    'ERC721A: transfer to non ERC721Receiver implementer'
                );
            }
            updatedIndex++;
        }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved');

        require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner');
        require(to != address(0), 'ERC721A: transfer to the zero address');

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;
        }

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

        // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
        // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
        uint256 nextTokenId = tokenId + 1;
        if (_ownerships[nextTokenId].addr == address(0)) {
            if (_exists(nextTokenId)) {
                _ownerships[nextTokenId].addr = prevOwnership.addr;
                _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
            }
        }

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

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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * 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`.
     */
    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.
     *
     * 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` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 4 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

File 8 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"maxPerAddressDuringMint_","type":"uint256"},{"internalType":"uint256","name":"collectionSize_","type":"uint256"},{"internalType":"uint256","name":"batchSize_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"allowlist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlist2Mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"allowlistMint","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":[],"name":"batchSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentCollectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"uint32","name":"allowListStartTime_","type":"uint32"},{"internalType":"uint64","name":"allowListPriceWei_","type":"uint64"},{"internalType":"uint32","name":"publicSaleStartTime_","type":"uint32"},{"internalType":"uint64","name":"publicPriceWei_","type":"uint64"},{"internalType":"uint32","name":"allowList2StartTime_","type":"uint32"},{"internalType":"uint32","name":"allowList2EndTime_","type":"uint32"},{"internalType":"uint64","name":"allowList2PriceWei_","type":"uint64"}],"name":"drop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCollectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentBatchId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"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":"isEligibleForAllowList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"isSaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerAddressDuringMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":[],"name":"saleConfig","outputs":[{"internalType":"uint32","name":"allowListStartTime","type":"uint32"},{"internalType":"uint64","name":"allowListPriceWei","type":"uint64"},{"internalType":"uint32","name":"publicSaleStartTime","type":"uint32"},{"internalType":"uint64","name":"publicPriceWei","type":"uint64"},{"internalType":"uint32","name":"allowList2StartTime","type":"uint32"},{"internalType":"uint64","name":"allowList2PriceWei","type":"uint64"},{"internalType":"uint32","name":"allowList2EndTime","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"batchId","type":"uint128"},{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"numSlots","type":"uint256[]"}],"name":"seedAllowlist","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":"baseURI","type":"string"},{"internalType":"uint256","name":"batch","type":"uint256"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"currentCollectionSize_","type":"uint256"}],"name":"setCurrentCollectionSize","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405260006001553480156200001657600080fd5b506040516200346e3803806200346e8339810160408190526200003991620002e0565b6040518060400160405280600a81526020016909ad2dcd2c8cac2e8d0b60b31b81525060405180604001604052806006815260200165444541444c5960d01b815250620000956200008f620001e660201b60201c565b620001ea565b8151620000aa9060029060208501906200023a565b508051620000c09060039060208401906200023a565b505060016008555060006009556080839052816200013c5760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b6000811180156200014c57508181105b80156200016257506200016081836200030f565b155b620001d65760405162461bcd60e51b815260206004820152603f60248201527f62617463682073697a65206e6565647320746f206265206d6f7265207468616e60448201527f203020616e64206c657373207468616e20636f6c6c656374696f6e53697a6500606482015260840162000133565b600a91909155600b55506200036f565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620002489062000332565b90600052602060002090601f0160209004810192826200026c5760008555620002b7565b82601f106200028757805160ff1916838001178555620002b7565b82800160010185558215620002b7579182015b82811115620002b75782518255916020019190600101906200029a565b50620002c5929150620002c9565b5090565b5b80821115620002c55760008155600101620002ca565b600080600060608486031215620002f657600080fd5b8351925060208401519150604084015190509250925092565b6000826200032d57634e487b7160e01b600052601260045260246000fd5b500690565b600181811c908216806200034757607f821691505b602082108114156200036957634e487b7160e01b600052602260045260246000fd5b50919050565b6080516130dc620003926000396000818161052201526115bf01526130dc6000f3fe6080604052600436106102455760003560e01c8063862d0f7e11610139578063ae6e2830116100b6578063cc9e03bb1161007a578063cc9e03bb14610735578063dc33e68114610755578063e720ac8e14610775578063e985e9c51461078a578063f2fde38b146107d3578063f4daaba1146107f357600080fd5b8063ae6e2830146106c5578063b3ab66b0146106da578063b88d4fde146106ed578063c87b56dd1461070d578063c9122a581461072d57600080fd5b80639231ab2a116100fd5780639231ab2a1461060e57806395d89b411461065b5780639899f6f314610670578063a22cb46514610690578063ac446002146106b057600080fd5b8063862d0f7e146104c257806387910cef146104d85780638bc35c2f146105105780638da5cb5b1461054457806390aa0b0f1461056257600080fd5b806342842e0e116101c75780636352211e1161018b5780636352211e146104385780636b12304e1461045857806370a0823114610478578063715018a6146104985780637155c1ea146104ad57600080fd5b806342842e0e146103a257806345c0f533146103c257806348225c13146103d85780634c261247146103f85780634f6ccce71461041857600080fd5b806318160ddd1161020e57806318160ddd1461031b57806323b872dd1461033a5780632f745c591461035a578063375a069a1461037a57806341fbddbd1461039a57600080fd5b80629f25ff1461024a57806301ffc9a71461026c57806306fdde03146102a1578063081812fc146102c3578063095ea7b3146102fb575b600080fd5b34801561025657600080fd5b5061026a6102653660046127d3565b610809565b005b34801561027857600080fd5b5061028c610287366004612834565b61085b565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b66108c8565b60405161029891906128a9565b3480156102cf57600080fd5b506102e36102de3660046128bc565b61095a565b6040516001600160a01b039091168152602001610298565b34801561030757600080fd5b5061026a6103163660046128f1565b6109e5565b34801561032757600080fd5b506001545b604051908152602001610298565b34801561034657600080fd5b5061026a61035536600461291b565b610afd565b34801561036657600080fd5b5061032c6103753660046128f1565b610b08565b34801561038657600080fd5b5061026a6103953660046128bc565b610c80565b61026a610cec565b3480156103ae57600080fd5b5061026a6103bd36600461291b565b610f14565b3480156103ce57600080fd5b5061032c600a5481565b3480156103e457600080fd5b5061026a6103f33660046128bc565b610f2f565b34801561040457600080fd5b5061026a610413366004612957565b610f5e565b34801561042457600080fd5b5061032c6104333660046128bc565b610fb6565b34801561044457600080fd5b506102e36104533660046128bc565b61101f565b34801561046457600080fd5b5061028c610473366004612998565b611031565b34801561048457600080fd5b5061032c6104933660046129ba565b61104a565b3480156104a457600080fd5b5061026a6110db565b3480156104b957600080fd5b5060095461032c565b3480156104ce57600080fd5b5061032c60095481565b3480156104e457600080fd5b5061032c6104f33660046129d5565b600e60209081526000928352604080842090915290825290205481565b34801561051c57600080fd5b5061032c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561055057600080fd5b506000546001600160a01b03166102e3565b34801561056e57600080fd5b50600c54600d546105c29163ffffffff808216926001600160401b036401000000008404811693600160601b8104841693600160801b8204831693600160c01b909204811692821691600160401b90041687565b6040805163ffffffff98891681526001600160401b039788166020820152958816908601529285166060850152908516608084015290921660a0820152911660c082015260e001610298565b34801561061a57600080fd5b5061062e6106293660046128bc565b611111565b6040805182516001600160a01b031681526020928301516001600160401b03169281019290925201610298565b34801561066757600080fd5b506102b661112e565b34801561067c57600080fd5b5061026a61068b366004612a2c565b61113d565b34801561069c57600080fd5b5061026a6106ab366004612ae3565b611269565b3480156106bc57600080fd5b5061026a61132e565b3480156106d157600080fd5b5061028c611443565b61026a6106e83660046128bc565b611470565b3480156106f957600080fd5b5061026a610708366004612b65565b61169e565b34801561071957600080fd5b506102b66107283660046128bc565b6116d1565b61026a6117b2565b34801561074157600080fd5b5061026a610750366004612cb2565b6119b1565b34801561076157600080fd5b5061032c6107703660046129ba565b611ad2565b34801561078157600080fd5b5061032c611add565b34801561079657600080fd5b5061028c6107a5366004612d91565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107df57600080fd5b5061026a6107ee3660046129ba565b611b44565b3480156107ff57600080fd5b5061032c600b5481565b6000546001600160a01b0316331461083c5760405162461bcd60e51b815260040161083390612dbb565b60405180910390fd5b60008181526010602052604090206108559084846126fb565b50505050565b60006001600160e01b031982166380ac58cd60e01b148061088c57506001600160e01b03198216635b5e139f60e01b145b806108a757506001600160e01b0319821663780e9d6360e01b145b806108c257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546108d790612df0565b80601f016020809104026020016040519081016040528092919081815260200182805461090390612df0565b80156109505780601f1061092557610100808354040283529160200191610950565b820191906000526020600020905b81548152906001019060200180831161093357829003601f168201915b5050505050905090565b6000610967826001541190565b6109c95760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b6064820152608401610833565b506000908152600660205260409020546001600160a01b031690565b60006109f08261101f565b9050806001600160a01b0316836001600160a01b03161415610a5f5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610833565b336001600160a01b0382161480610a7b5750610a7b81336107a5565b610aed5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610833565b610af8838383611bdc565b505050565b610af8838383611c38565b6000610b138361104a565b8210610b6c5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610833565b6000610b7760015490565b905060008060005b83811015610c20576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610bd157805192505b876001600160a01b0316836001600160a01b03161415610c0d5786841415610bff575093506108c292505050565b83610c0981612e41565b9450505b5080610c1881612e41565b915050610b7f565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610833565b6000546001600160a01b03163314610caa5760405162461bcd60e51b815260040161083390612dbb565b60095481610cb760015490565b610cc19190612e5c565b1115610cdf5760405162461bcd60e51b815260040161083390612e74565b610ce93382611f3a565b50565b323314610d0b5760405162461bcd60e51b815260040161083390612ea0565b600c546001600160401b036401000000008204169063ffffffff80821691600160601b9004166000610d3b611add565b9050610d478383611031565b610d935760405162461bcd60e51b815260206004820181905260248201527f616c6c6f776c6973742073616c6520686173206e6f7420626567756e207965746044820152606401610833565b6000818152600e60209081526040808320338452909152902054610df95760405162461bcd60e51b815260206004820152601f60248201527f6e6f7420656c696769626c6520666f7220616c6c6f776c697374206d696e74006044820152606401610833565b600954600154610e0a906001612e5c565b1115610e285760405162461bcd60e51b815260040161083390612e74565b6000818152600f60209081526040808320338452909152902054600190610e58906001600160801b031682612ed7565b6001600160801b03161115610e7f5760405162461bcd60e51b815260040161083390612f02565b6000818152600e602090815260408083203384529091528120805491610ea483612f32565b9190505550610eb4336001611f3a565b6000818152600f602090815260408083203384529091528120805460019290610ee79084906001600160801b0316612ed7565b92506101000a8154816001600160801b0302191690836001600160801b0316021790555061085584611f58565b610af88383836040518060200160405280600081525061169e565b6000546001600160a01b03163314610f595760405162461bcd60e51b815260040161083390612dbb565b600955565b6000546001600160a01b03163314610f885760405162461bcd60e51b815260040161083390612dbb565b6000600b54600954610f9a9190612f5f565b60008181526010602052604090209091506108559084846126fb565b6000610fc160015490565b821061101b5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610833565b5090565b600061102a82611fdf565b5192915050565b60008242101580156110435750814211155b9392505050565b60006001600160a01b0382166110b65760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610833565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b6000546001600160a01b031633146111055760405162461bcd60e51b815260040161083390612dbb565b61110f60006120be565b565b60408051808201909152600080825260208201526108c282611fdf565b6060600380546108d790612df0565b6000546001600160a01b031633146111675760405162461bcd60e51b815260040161083390612dbb565b6000600b546009546111799190612f5f565b6000818152601060205260409020909150611195908b8b6126fb565b50600b546009546111a69190612e5c565b60095550600c805463ffffffff9889166bffffffffffffffffffffffff19918216176401000000006001600160401b03998a1602176bffffffffffffffffffffffff60601b1916600160601b978a169790970267ffffffffffffffff60801b191696909617600160801b958816959095029490941763ffffffff60c01b1916600160c01b9388169390930292909217909255600d8054909316600160401b929095169190910267ffffffffffffffff191693909317929091169190911790555050565b6001600160a01b0382163314156112c25760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610833565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b031633146113585760405162461bcd60e51b815260040161083390612dbb565b600260085414156113ab5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610833565b6002600855604051600090339047908381818185875af1925050503d80600081146113f2576040519150601f19603f3d011682016040523d82523d6000602084013e6113f7565b606091505b505090508061143b5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610833565b506001600855565b60008061144e611add565b6000908152600e60209081526040808320338452909152902054151592915050565b32331461148f5760405162461bcd60e51b815260040161083390612ea0565b6040805160e081018252600c5463ffffffff80821683526001600160401b03640100000000830481166020850152600160601b83048216948401859052600160801b8304811660608501819052600160c01b909304821660808501819052600d5491821660a0860152600160401b90910490911660c0840152919290916000611516611add565b90506115228383611031565b61156e5760405162461bcd60e51b815260206004820152601d60248201527f7075626c69632073616c6520686173206e6f7420626567756e207965740000006044820152606401610833565b6009548661157b60015490565b6115859190612e5c565b11156115a35760405162461bcd60e51b815260040161083390612e74565b6000818152600f602090815260408083203384529091529020547f0000000000000000000000000000000000000000000000000000000000000000906115fa908890600160801b90046001600160801b0316612e5c565b11156116185760405162461bcd60e51b815260040161083390612f02565b6116223387611f3a565b6000818152600f602090815260408083203384529091529020805487919060109061165e908490600160801b90046001600160801b0316612ed7565b92506101000a8154816001600160801b0302191690836001600160801b0316021790555061169686856116919190612f73565b611f58565b505050505050565b6116a9848484611c38565b6116b58484848461210e565b6108555760405162461bcd60e51b815260040161083390612f92565b60606116de826001541190565b6117425760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610833565b6000600b54836117529190612f5f565b9050600061175f8261221b565b9050600081511161177f57604051806020016040528060008152506117aa565b80611789856122bd565b60405160200161179a929190612fe5565b6040516020818303038152906040525b949350505050565b3233146117d15760405162461bcd60e51b815260040161083390612ea0565b600c5464010000000081046001600160401b031690600160c01b900463ffffffff168060006117fe611add565b905061180a8383611031565b6118565760405162461bcd60e51b815260206004820181905260248201527f616c6c6f776c6973742073616c6520686173206e6f7420626567756e207965746044820152606401610833565b6000818152600e602090815260408083203384529091529020546118bc5760405162461bcd60e51b815260206004820152601f60248201527f6e6f7420656c696769626c6520666f7220616c6c6f776c697374206d696e74006044820152606401610833565b6009546001546118cd906001612e5c565b11156118eb5760405162461bcd60e51b815260040161083390612e74565b6000818152600f60209081526040808320338452909152902060019081015461191d906001600160801b031682612ed7565b6001600160801b031611156119445760405162461bcd60e51b815260040161083390612f02565b6000818152600e60209081526040808320338452909152812080549161196983612f32565b9190505550611979336001611f3a565b6000818152600f6020908152604080832033845290915281206001908101805491929091610ee79084906001600160801b0316612ed7565b6000546001600160a01b031633146119db5760405162461bcd60e51b815260040161083390612dbb565b8051825114611a3d5760405162461bcd60e51b815260206004820152602860248201527f61646472657373657320646f6573206e6f74206d61746368206e756d536c6f746044820152670e640d8cadccee8d60c31b6064820152608401610833565b60005b825181101561085557818181518110611a5b57611a5b61300b565b6020026020010151600e6000866001600160801b031681526020019081526020016000206000858481518110611a9357611a9361300b565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080611aca90612e41565b915050611a40565b60006108c2826123ba565b600080600b54600954611af09190612f5f565b905060008111611b335760405162461bcd60e51b815260206004820152600e60248201526d139bc818985d18da195cc81e595d60921b6044820152606401610833565b611b3e600182613021565b91505090565b6000546001600160a01b03163314611b6e5760405162461bcd60e51b815260040161083390612dbb565b6001600160a01b038116611bd35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610833565b610ce9816120be565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611c4382611fdf565b80519091506000906001600160a01b0316336001600160a01b03161480611c7a575033611c6f8461095a565b6001600160a01b0316145b80611c8c57508151611c8c90336107a5565b905080611cf65760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610833565b846001600160a01b031682600001516001600160a01b031614611d6a5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610833565b6001600160a01b038416611dce5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610833565b611dde6000848460000151611bdc565b6001600160a01b03858116600090815260056020908152604080832080546fffffffffffffffffffffffffffffffff198082166001600160801b039283166000190183161790925594891680855282852080549283169287166001908101909716929092179091558784526004909252822080546001600160e01b031916909117600160a01b426001600160401b03160217905590611e7e908590612e5c565b6000818152600460205260409020549091506001600160a01b0316611ef457611ea8816001541190565b15611ef457825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611696565b611f54828260405180602001604052806000815250612458565b5050565b80341015611fa15760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b6044820152606401610833565b80341115610ce957336108fc611fb78334613021565b6040518115909202916000818181858888f19350505050158015611f54573d6000803e3d6000fd5b6040805180820190915260008082526020820152611ffe826001541190565b61205d5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610833565b815b6000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156120ab579392505050565b50806120b681612f32565b91505061205f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b1561221057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612152903390899088908890600401613038565b602060405180830381600087803b15801561216c57600080fd5b505af192505050801561219c575060408051601f3d908101601f1916820190925261219991810190613075565b60015b6121f6573d8080156121ca576040519150601f19603f3d011682016040523d82523d6000602084013e6121cf565b606091505b5080516121ee5760405162461bcd60e51b815260040161083390612f92565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117aa565b506001949350505050565b600081815260106020526040902080546060919061223890612df0565b80601f016020809104026020016040519081016040528092919081815260200182805461226490612df0565b80156122b15780601f10612286576101008083540402835291602001916122b1565b820191906000526020600020905b81548152906001019060200180831161229457829003601f168201915b50505050509050919050565b6060816122e15750506040805180820190915260018152600360fc1b602082015290565b8160005b811561230b57806122f581612e41565b91506123049050600a83612f5f565b91506122e5565b6000816001600160401b0381111561232557612325612b1f565b6040519080825280601f01601f19166020018201604052801561234f576020820181803683370190505b5090505b84156117aa57612364600183613021565b9150612371600a86613092565b61237c906030612e5c565b60f81b8183815181106123915761239161300b565b60200101906001600160f81b031916908160001a9053506123b3600a86612f5f565b9450612353565b60006001600160a01b03821661242c5760405162461bcd60e51b815260206004820152603160248201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260448201527020746865207a65726f206164647265737360781b6064820152608401610833565b506001600160a01b0316600090815260056020526040902054600160801b90046001600160801b031690565b610af8838383600180546001600160a01b0385166124c25760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610833565b6124cd816001541190565b1561251a5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610833565b6000841161257b5760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b6064820152608401610833565b6001600160a01b038516600090815260056020526040812080548692906125ac9084906001600160801b0316612ed7565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038716600090815260056020526040902080548793509091601091612601918591600160801b900416612ed7565b82546001600160801b039182166101009390930a928302919092021990911617905550600081815260046020526040812080546001600160401b034216600160a01b026001600160e01b03199091166001600160a01b0389161717905581905b858110156126f05760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483156126d0576126b4600088848861210e565b6126d05760405162461bcd60e51b815260040161083390612f92565b816126da81612e41565b92505080806126e890612e41565b915050612661565b506001819055611696565b82805461270790612df0565b90600052602060002090601f016020900481019282612729576000855561276f565b82601f106127425782800160ff1982351617855561276f565b8280016001018555821561276f579182015b8281111561276f578235825591602001919060010190612754565b5061101b9291505b8082111561101b5760008155600101612777565b60008083601f84011261279d57600080fd5b5081356001600160401b038111156127b457600080fd5b6020830191508360208285010111156127cc57600080fd5b9250929050565b6000806000604084860312156127e857600080fd5b83356001600160401b038111156127fe57600080fd5b61280a8682870161278b565b909790965060209590950135949350505050565b6001600160e01b031981168114610ce957600080fd5b60006020828403121561284657600080fd5b81356110438161281e565b60005b8381101561286c578181015183820152602001612854565b838111156108555750506000910152565b60008151808452612895816020860160208601612851565b601f01601f19169290920160200192915050565b602081526000611043602083018461287d565b6000602082840312156128ce57600080fd5b5035919050565b80356001600160a01b03811681146128ec57600080fd5b919050565b6000806040838503121561290457600080fd5b61290d836128d5565b946020939093013593505050565b60008060006060848603121561293057600080fd5b612939846128d5565b9250612947602085016128d5565b9150604084013590509250925092565b6000806020838503121561296a57600080fd5b82356001600160401b0381111561298057600080fd5b61298c8582860161278b565b90969095509350505050565b600080604083850312156129ab57600080fd5b50508035926020909101359150565b6000602082840312156129cc57600080fd5b611043826128d5565b600080604083850312156129e857600080fd5b823591506129f8602084016128d5565b90509250929050565b803563ffffffff811681146128ec57600080fd5b80356001600160401b03811681146128ec57600080fd5b60008060008060008060008060006101008a8c031215612a4b57600080fd5b89356001600160401b03811115612a6157600080fd5b612a6d8c828d0161278b565b909a509850612a80905060208b01612a01565b9650612a8e60408b01612a15565b9550612a9c60608b01612a01565b9450612aaa60808b01612a15565b9350612ab860a08b01612a01565b9250612ac660c08b01612a01565b9150612ad460e08b01612a15565b90509295985092959850929598565b60008060408385031215612af657600080fd5b612aff836128d5565b915060208301358015158114612b1457600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612b5d57612b5d612b1f565b604052919050565b60008060008060808587031215612b7b57600080fd5b612b84856128d5565b93506020612b938187016128d5565b93506040860135925060608601356001600160401b0380821115612bb657600080fd5b818801915088601f830112612bca57600080fd5b813581811115612bdc57612bdc612b1f565b612bee601f8201601f19168501612b35565b91508082528984828501011115612c0457600080fd5b808484018584013760008482840101525080935050505092959194509250565b60006001600160401b03821115612c3d57612c3d612b1f565b5060051b60200190565b600082601f830112612c5857600080fd5b81356020612c6d612c6883612c24565b612b35565b82815260059290921b84018101918181019086841115612c8c57600080fd5b8286015b84811015612ca75780358352918301918301612c90565b509695505050505050565b600080600060608486031215612cc757600080fd5b83356001600160801b0381168114612cde57600080fd5b92506020848101356001600160401b0380821115612cfb57600080fd5b818701915087601f830112612d0f57600080fd5b8135612d1d612c6882612c24565b81815260059190911b8301840190848101908a831115612d3c57600080fd5b938501935b82851015612d6157612d52856128d5565b82529385019390850190612d41565b965050506040870135925080831115612d7957600080fd5b5050612d8786828701612c47565b9150509250925092565b60008060408385031215612da457600080fd5b612dad836128d5565b91506129f8602084016128d5565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612e0457607f821691505b60208210811415612e2557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000600019821415612e5557612e55612e2b565b5060010190565b60008219821115612e6f57612e6f612e2b565b500190565b60208082526012908201527172656163686564206d617820737570706c7960701b604082015260600190565b6020808252601e908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604082015260600190565b60006001600160801b03808316818516808303821115612ef957612ef9612e2b565b01949350505050565b60208082526016908201527563616e206e6f74206d696e742074686973206d616e7960501b604082015260600190565b600081612f4157612f41612e2b565b506000190190565b634e487b7160e01b600052601260045260246000fd5b600082612f6e57612f6e612f49565b500490565b6000816000190483118215151615612f8d57612f8d612e2b565b500290565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60008351612ff7818460208801612851565b835190830190612ef9818360208801612851565b634e487b7160e01b600052603260045260246000fd5b60008282101561303357613033612e2b565b500390565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061306b9083018461287d565b9695505050505050565b60006020828403121561308757600080fd5b81516110438161281e565b6000826130a1576130a1612f49565b50069056fea26469706673582212207773b5cd110373674acfed14527fed2d77b7cfea1a2b0eb7d69da4c49176050a64736f6c63430008080033000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000000032

Deployed Bytecode

0x6080604052600436106102455760003560e01c8063862d0f7e11610139578063ae6e2830116100b6578063cc9e03bb1161007a578063cc9e03bb14610735578063dc33e68114610755578063e720ac8e14610775578063e985e9c51461078a578063f2fde38b146107d3578063f4daaba1146107f357600080fd5b8063ae6e2830146106c5578063b3ab66b0146106da578063b88d4fde146106ed578063c87b56dd1461070d578063c9122a581461072d57600080fd5b80639231ab2a116100fd5780639231ab2a1461060e57806395d89b411461065b5780639899f6f314610670578063a22cb46514610690578063ac446002146106b057600080fd5b8063862d0f7e146104c257806387910cef146104d85780638bc35c2f146105105780638da5cb5b1461054457806390aa0b0f1461056257600080fd5b806342842e0e116101c75780636352211e1161018b5780636352211e146104385780636b12304e1461045857806370a0823114610478578063715018a6146104985780637155c1ea146104ad57600080fd5b806342842e0e146103a257806345c0f533146103c257806348225c13146103d85780634c261247146103f85780634f6ccce71461041857600080fd5b806318160ddd1161020e57806318160ddd1461031b57806323b872dd1461033a5780632f745c591461035a578063375a069a1461037a57806341fbddbd1461039a57600080fd5b80629f25ff1461024a57806301ffc9a71461026c57806306fdde03146102a1578063081812fc146102c3578063095ea7b3146102fb575b600080fd5b34801561025657600080fd5b5061026a6102653660046127d3565b610809565b005b34801561027857600080fd5b5061028c610287366004612834565b61085b565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b66108c8565b60405161029891906128a9565b3480156102cf57600080fd5b506102e36102de3660046128bc565b61095a565b6040516001600160a01b039091168152602001610298565b34801561030757600080fd5b5061026a6103163660046128f1565b6109e5565b34801561032757600080fd5b506001545b604051908152602001610298565b34801561034657600080fd5b5061026a61035536600461291b565b610afd565b34801561036657600080fd5b5061032c6103753660046128f1565b610b08565b34801561038657600080fd5b5061026a6103953660046128bc565b610c80565b61026a610cec565b3480156103ae57600080fd5b5061026a6103bd36600461291b565b610f14565b3480156103ce57600080fd5b5061032c600a5481565b3480156103e457600080fd5b5061026a6103f33660046128bc565b610f2f565b34801561040457600080fd5b5061026a610413366004612957565b610f5e565b34801561042457600080fd5b5061032c6104333660046128bc565b610fb6565b34801561044457600080fd5b506102e36104533660046128bc565b61101f565b34801561046457600080fd5b5061028c610473366004612998565b611031565b34801561048457600080fd5b5061032c6104933660046129ba565b61104a565b3480156104a457600080fd5b5061026a6110db565b3480156104b957600080fd5b5060095461032c565b3480156104ce57600080fd5b5061032c60095481565b3480156104e457600080fd5b5061032c6104f33660046129d5565b600e60209081526000928352604080842090915290825290205481565b34801561051c57600080fd5b5061032c7f000000000000000000000000000000000000000000000000000000000000000581565b34801561055057600080fd5b506000546001600160a01b03166102e3565b34801561056e57600080fd5b50600c54600d546105c29163ffffffff808216926001600160401b036401000000008404811693600160601b8104841693600160801b8204831693600160c01b909204811692821691600160401b90041687565b6040805163ffffffff98891681526001600160401b039788166020820152958816908601529285166060850152908516608084015290921660a0820152911660c082015260e001610298565b34801561061a57600080fd5b5061062e6106293660046128bc565b611111565b6040805182516001600160a01b031681526020928301516001600160401b03169281019290925201610298565b34801561066757600080fd5b506102b661112e565b34801561067c57600080fd5b5061026a61068b366004612a2c565b61113d565b34801561069c57600080fd5b5061026a6106ab366004612ae3565b611269565b3480156106bc57600080fd5b5061026a61132e565b3480156106d157600080fd5b5061028c611443565b61026a6106e83660046128bc565b611470565b3480156106f957600080fd5b5061026a610708366004612b65565b61169e565b34801561071957600080fd5b506102b66107283660046128bc565b6116d1565b61026a6117b2565b34801561074157600080fd5b5061026a610750366004612cb2565b6119b1565b34801561076157600080fd5b5061032c6107703660046129ba565b611ad2565b34801561078157600080fd5b5061032c611add565b34801561079657600080fd5b5061028c6107a5366004612d91565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107df57600080fd5b5061026a6107ee3660046129ba565b611b44565b3480156107ff57600080fd5b5061032c600b5481565b6000546001600160a01b0316331461083c5760405162461bcd60e51b815260040161083390612dbb565b60405180910390fd5b60008181526010602052604090206108559084846126fb565b50505050565b60006001600160e01b031982166380ac58cd60e01b148061088c57506001600160e01b03198216635b5e139f60e01b145b806108a757506001600160e01b0319821663780e9d6360e01b145b806108c257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546108d790612df0565b80601f016020809104026020016040519081016040528092919081815260200182805461090390612df0565b80156109505780601f1061092557610100808354040283529160200191610950565b820191906000526020600020905b81548152906001019060200180831161093357829003601f168201915b5050505050905090565b6000610967826001541190565b6109c95760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b6064820152608401610833565b506000908152600660205260409020546001600160a01b031690565b60006109f08261101f565b9050806001600160a01b0316836001600160a01b03161415610a5f5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610833565b336001600160a01b0382161480610a7b5750610a7b81336107a5565b610aed5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610833565b610af8838383611bdc565b505050565b610af8838383611c38565b6000610b138361104a565b8210610b6c5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610833565b6000610b7760015490565b905060008060005b83811015610c20576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610bd157805192505b876001600160a01b0316836001600160a01b03161415610c0d5786841415610bff575093506108c292505050565b83610c0981612e41565b9450505b5080610c1881612e41565b915050610b7f565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610833565b6000546001600160a01b03163314610caa5760405162461bcd60e51b815260040161083390612dbb565b60095481610cb760015490565b610cc19190612e5c565b1115610cdf5760405162461bcd60e51b815260040161083390612e74565b610ce93382611f3a565b50565b323314610d0b5760405162461bcd60e51b815260040161083390612ea0565b600c546001600160401b036401000000008204169063ffffffff80821691600160601b9004166000610d3b611add565b9050610d478383611031565b610d935760405162461bcd60e51b815260206004820181905260248201527f616c6c6f776c6973742073616c6520686173206e6f7420626567756e207965746044820152606401610833565b6000818152600e60209081526040808320338452909152902054610df95760405162461bcd60e51b815260206004820152601f60248201527f6e6f7420656c696769626c6520666f7220616c6c6f776c697374206d696e74006044820152606401610833565b600954600154610e0a906001612e5c565b1115610e285760405162461bcd60e51b815260040161083390612e74565b6000818152600f60209081526040808320338452909152902054600190610e58906001600160801b031682612ed7565b6001600160801b03161115610e7f5760405162461bcd60e51b815260040161083390612f02565b6000818152600e602090815260408083203384529091528120805491610ea483612f32565b9190505550610eb4336001611f3a565b6000818152600f602090815260408083203384529091528120805460019290610ee79084906001600160801b0316612ed7565b92506101000a8154816001600160801b0302191690836001600160801b0316021790555061085584611f58565b610af88383836040518060200160405280600081525061169e565b6000546001600160a01b03163314610f595760405162461bcd60e51b815260040161083390612dbb565b600955565b6000546001600160a01b03163314610f885760405162461bcd60e51b815260040161083390612dbb565b6000600b54600954610f9a9190612f5f565b60008181526010602052604090209091506108559084846126fb565b6000610fc160015490565b821061101b5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610833565b5090565b600061102a82611fdf565b5192915050565b60008242101580156110435750814211155b9392505050565b60006001600160a01b0382166110b65760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610833565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b6000546001600160a01b031633146111055760405162461bcd60e51b815260040161083390612dbb565b61110f60006120be565b565b60408051808201909152600080825260208201526108c282611fdf565b6060600380546108d790612df0565b6000546001600160a01b031633146111675760405162461bcd60e51b815260040161083390612dbb565b6000600b546009546111799190612f5f565b6000818152601060205260409020909150611195908b8b6126fb565b50600b546009546111a69190612e5c565b60095550600c805463ffffffff9889166bffffffffffffffffffffffff19918216176401000000006001600160401b03998a1602176bffffffffffffffffffffffff60601b1916600160601b978a169790970267ffffffffffffffff60801b191696909617600160801b958816959095029490941763ffffffff60c01b1916600160c01b9388169390930292909217909255600d8054909316600160401b929095169190910267ffffffffffffffff191693909317929091169190911790555050565b6001600160a01b0382163314156112c25760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610833565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b031633146113585760405162461bcd60e51b815260040161083390612dbb565b600260085414156113ab5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610833565b6002600855604051600090339047908381818185875af1925050503d80600081146113f2576040519150601f19603f3d011682016040523d82523d6000602084013e6113f7565b606091505b505090508061143b5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610833565b506001600855565b60008061144e611add565b6000908152600e60209081526040808320338452909152902054151592915050565b32331461148f5760405162461bcd60e51b815260040161083390612ea0565b6040805160e081018252600c5463ffffffff80821683526001600160401b03640100000000830481166020850152600160601b83048216948401859052600160801b8304811660608501819052600160c01b909304821660808501819052600d5491821660a0860152600160401b90910490911660c0840152919290916000611516611add565b90506115228383611031565b61156e5760405162461bcd60e51b815260206004820152601d60248201527f7075626c69632073616c6520686173206e6f7420626567756e207965740000006044820152606401610833565b6009548661157b60015490565b6115859190612e5c565b11156115a35760405162461bcd60e51b815260040161083390612e74565b6000818152600f602090815260408083203384529091529020547f0000000000000000000000000000000000000000000000000000000000000005906115fa908890600160801b90046001600160801b0316612e5c565b11156116185760405162461bcd60e51b815260040161083390612f02565b6116223387611f3a565b6000818152600f602090815260408083203384529091529020805487919060109061165e908490600160801b90046001600160801b0316612ed7565b92506101000a8154816001600160801b0302191690836001600160801b0316021790555061169686856116919190612f73565b611f58565b505050505050565b6116a9848484611c38565b6116b58484848461210e565b6108555760405162461bcd60e51b815260040161083390612f92565b60606116de826001541190565b6117425760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610833565b6000600b54836117529190612f5f565b9050600061175f8261221b565b9050600081511161177f57604051806020016040528060008152506117aa565b80611789856122bd565b60405160200161179a929190612fe5565b6040516020818303038152906040525b949350505050565b3233146117d15760405162461bcd60e51b815260040161083390612ea0565b600c5464010000000081046001600160401b031690600160c01b900463ffffffff168060006117fe611add565b905061180a8383611031565b6118565760405162461bcd60e51b815260206004820181905260248201527f616c6c6f776c6973742073616c6520686173206e6f7420626567756e207965746044820152606401610833565b6000818152600e602090815260408083203384529091529020546118bc5760405162461bcd60e51b815260206004820152601f60248201527f6e6f7420656c696769626c6520666f7220616c6c6f776c697374206d696e74006044820152606401610833565b6009546001546118cd906001612e5c565b11156118eb5760405162461bcd60e51b815260040161083390612e74565b6000818152600f60209081526040808320338452909152902060019081015461191d906001600160801b031682612ed7565b6001600160801b031611156119445760405162461bcd60e51b815260040161083390612f02565b6000818152600e60209081526040808320338452909152812080549161196983612f32565b9190505550611979336001611f3a565b6000818152600f6020908152604080832033845290915281206001908101805491929091610ee79084906001600160801b0316612ed7565b6000546001600160a01b031633146119db5760405162461bcd60e51b815260040161083390612dbb565b8051825114611a3d5760405162461bcd60e51b815260206004820152602860248201527f61646472657373657320646f6573206e6f74206d61746368206e756d536c6f746044820152670e640d8cadccee8d60c31b6064820152608401610833565b60005b825181101561085557818181518110611a5b57611a5b61300b565b6020026020010151600e6000866001600160801b031681526020019081526020016000206000858481518110611a9357611a9361300b565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080611aca90612e41565b915050611a40565b60006108c2826123ba565b600080600b54600954611af09190612f5f565b905060008111611b335760405162461bcd60e51b815260206004820152600e60248201526d139bc818985d18da195cc81e595d60921b6044820152606401610833565b611b3e600182613021565b91505090565b6000546001600160a01b03163314611b6e5760405162461bcd60e51b815260040161083390612dbb565b6001600160a01b038116611bd35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610833565b610ce9816120be565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611c4382611fdf565b80519091506000906001600160a01b0316336001600160a01b03161480611c7a575033611c6f8461095a565b6001600160a01b0316145b80611c8c57508151611c8c90336107a5565b905080611cf65760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610833565b846001600160a01b031682600001516001600160a01b031614611d6a5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610833565b6001600160a01b038416611dce5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610833565b611dde6000848460000151611bdc565b6001600160a01b03858116600090815260056020908152604080832080546fffffffffffffffffffffffffffffffff198082166001600160801b039283166000190183161790925594891680855282852080549283169287166001908101909716929092179091558784526004909252822080546001600160e01b031916909117600160a01b426001600160401b03160217905590611e7e908590612e5c565b6000818152600460205260409020549091506001600160a01b0316611ef457611ea8816001541190565b15611ef457825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611696565b611f54828260405180602001604052806000815250612458565b5050565b80341015611fa15760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b6044820152606401610833565b80341115610ce957336108fc611fb78334613021565b6040518115909202916000818181858888f19350505050158015611f54573d6000803e3d6000fd5b6040805180820190915260008082526020820152611ffe826001541190565b61205d5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610833565b815b6000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156120ab579392505050565b50806120b681612f32565b91505061205f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b1561221057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612152903390899088908890600401613038565b602060405180830381600087803b15801561216c57600080fd5b505af192505050801561219c575060408051601f3d908101601f1916820190925261219991810190613075565b60015b6121f6573d8080156121ca576040519150601f19603f3d011682016040523d82523d6000602084013e6121cf565b606091505b5080516121ee5760405162461bcd60e51b815260040161083390612f92565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117aa565b506001949350505050565b600081815260106020526040902080546060919061223890612df0565b80601f016020809104026020016040519081016040528092919081815260200182805461226490612df0565b80156122b15780601f10612286576101008083540402835291602001916122b1565b820191906000526020600020905b81548152906001019060200180831161229457829003601f168201915b50505050509050919050565b6060816122e15750506040805180820190915260018152600360fc1b602082015290565b8160005b811561230b57806122f581612e41565b91506123049050600a83612f5f565b91506122e5565b6000816001600160401b0381111561232557612325612b1f565b6040519080825280601f01601f19166020018201604052801561234f576020820181803683370190505b5090505b84156117aa57612364600183613021565b9150612371600a86613092565b61237c906030612e5c565b60f81b8183815181106123915761239161300b565b60200101906001600160f81b031916908160001a9053506123b3600a86612f5f565b9450612353565b60006001600160a01b03821661242c5760405162461bcd60e51b815260206004820152603160248201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260448201527020746865207a65726f206164647265737360781b6064820152608401610833565b506001600160a01b0316600090815260056020526040902054600160801b90046001600160801b031690565b610af8838383600180546001600160a01b0385166124c25760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610833565b6124cd816001541190565b1561251a5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610833565b6000841161257b5760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b6064820152608401610833565b6001600160a01b038516600090815260056020526040812080548692906125ac9084906001600160801b0316612ed7565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038716600090815260056020526040902080548793509091601091612601918591600160801b900416612ed7565b82546001600160801b039182166101009390930a928302919092021990911617905550600081815260046020526040812080546001600160401b034216600160a01b026001600160e01b03199091166001600160a01b0389161717905581905b858110156126f05760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483156126d0576126b4600088848861210e565b6126d05760405162461bcd60e51b815260040161083390612f92565b816126da81612e41565b92505080806126e890612e41565b915050612661565b506001819055611696565b82805461270790612df0565b90600052602060002090601f016020900481019282612729576000855561276f565b82601f106127425782800160ff1982351617855561276f565b8280016001018555821561276f579182015b8281111561276f578235825591602001919060010190612754565b5061101b9291505b8082111561101b5760008155600101612777565b60008083601f84011261279d57600080fd5b5081356001600160401b038111156127b457600080fd5b6020830191508360208285010111156127cc57600080fd5b9250929050565b6000806000604084860312156127e857600080fd5b83356001600160401b038111156127fe57600080fd5b61280a8682870161278b565b909790965060209590950135949350505050565b6001600160e01b031981168114610ce957600080fd5b60006020828403121561284657600080fd5b81356110438161281e565b60005b8381101561286c578181015183820152602001612854565b838111156108555750506000910152565b60008151808452612895816020860160208601612851565b601f01601f19169290920160200192915050565b602081526000611043602083018461287d565b6000602082840312156128ce57600080fd5b5035919050565b80356001600160a01b03811681146128ec57600080fd5b919050565b6000806040838503121561290457600080fd5b61290d836128d5565b946020939093013593505050565b60008060006060848603121561293057600080fd5b612939846128d5565b9250612947602085016128d5565b9150604084013590509250925092565b6000806020838503121561296a57600080fd5b82356001600160401b0381111561298057600080fd5b61298c8582860161278b565b90969095509350505050565b600080604083850312156129ab57600080fd5b50508035926020909101359150565b6000602082840312156129cc57600080fd5b611043826128d5565b600080604083850312156129e857600080fd5b823591506129f8602084016128d5565b90509250929050565b803563ffffffff811681146128ec57600080fd5b80356001600160401b03811681146128ec57600080fd5b60008060008060008060008060006101008a8c031215612a4b57600080fd5b89356001600160401b03811115612a6157600080fd5b612a6d8c828d0161278b565b909a509850612a80905060208b01612a01565b9650612a8e60408b01612a15565b9550612a9c60608b01612a01565b9450612aaa60808b01612a15565b9350612ab860a08b01612a01565b9250612ac660c08b01612a01565b9150612ad460e08b01612a15565b90509295985092959850929598565b60008060408385031215612af657600080fd5b612aff836128d5565b915060208301358015158114612b1457600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612b5d57612b5d612b1f565b604052919050565b60008060008060808587031215612b7b57600080fd5b612b84856128d5565b93506020612b938187016128d5565b93506040860135925060608601356001600160401b0380821115612bb657600080fd5b818801915088601f830112612bca57600080fd5b813581811115612bdc57612bdc612b1f565b612bee601f8201601f19168501612b35565b91508082528984828501011115612c0457600080fd5b808484018584013760008482840101525080935050505092959194509250565b60006001600160401b03821115612c3d57612c3d612b1f565b5060051b60200190565b600082601f830112612c5857600080fd5b81356020612c6d612c6883612c24565b612b35565b82815260059290921b84018101918181019086841115612c8c57600080fd5b8286015b84811015612ca75780358352918301918301612c90565b509695505050505050565b600080600060608486031215612cc757600080fd5b83356001600160801b0381168114612cde57600080fd5b92506020848101356001600160401b0380821115612cfb57600080fd5b818701915087601f830112612d0f57600080fd5b8135612d1d612c6882612c24565b81815260059190911b8301840190848101908a831115612d3c57600080fd5b938501935b82851015612d6157612d52856128d5565b82529385019390850190612d41565b965050506040870135925080831115612d7957600080fd5b5050612d8786828701612c47565b9150509250925092565b60008060408385031215612da457600080fd5b612dad836128d5565b91506129f8602084016128d5565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612e0457607f821691505b60208210811415612e2557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000600019821415612e5557612e55612e2b565b5060010190565b60008219821115612e6f57612e6f612e2b565b500190565b60208082526012908201527172656163686564206d617820737570706c7960701b604082015260600190565b6020808252601e908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604082015260600190565b60006001600160801b03808316818516808303821115612ef957612ef9612e2b565b01949350505050565b60208082526016908201527563616e206e6f74206d696e742074686973206d616e7960501b604082015260600190565b600081612f4157612f41612e2b565b506000190190565b634e487b7160e01b600052601260045260246000fd5b600082612f6e57612f6e612f49565b500490565b6000816000190483118215151615612f8d57612f8d612e2b565b500290565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60008351612ff7818460208801612851565b835190830190612ef9818360208801612851565b634e487b7160e01b600052603260045260246000fd5b60008282101561303357613033612e2b565b500390565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061306b9083018461287d565b9695505050505050565b60006020828403121561308757600080fd5b81516110438161281e565b6000826130a1576130a1612f49565b50069056fea26469706673582212207773b5cd110373674acfed14527fed2d77b7cfea1a2b0eb7d69da4c49176050a64736f6c63430008080033

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

000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000000032

-----Decoded View---------------
Arg [0] : maxPerAddressDuringMint_ (uint256): 5
Arg [1] : collectionSize_ (uint256): 10000
Arg [2] : batchSize_ (uint256): 50

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [1] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000032


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.