ETH Price: $3,164.00 (+2.33%)

Token

DumpiesNFT (DUMPIESNFT)
 

Overview

Max Total Supply

4,568 DUMPIESNFT

Holders

1,356

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 DUMPIESNFT
0x0063e887827b5c5f531d0c9559478842c57ef7ab
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:
DumpiesNFT

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : Dumpies.sol
pragma solidity ^0.8.4;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./DefaultOperatorFilterer.sol";

contract DumpiesNFT is  DefaultOperatorFilterer, ERC721A, Ownable {

    using ECDSA for bytes32;

    mapping(address => bool) hasClaimed;
    mapping(address => uint256) numMinted;

    uint256 public MAX_MINT = 2;
    uint256 public COST = 29000000000000000;
    uint256 public COLLECTION_SIZE = 6000;
    uint256 public ADMIN_MINTS = 800;

    bool public openForPublic;

    address private signer;
    address payable private DUMPIESWALLET;

    uint256 public adminMints;

    string internal baseURI;

    struct URI {
        string path;//the path
        uint256 upto;//represents tokens from the top of the last URI upto this value
    }

    URI[] private URIs;


    constructor() ERC721A("DumpiesNFT", "DUMPIESNFT"){
        baseURI = ""; //Placeholder Token
        signer = 0x12372095C552F88056FCf63AC4E5c8776418Cf6b; 
        DUMPIESWALLET = payable(0xf8a5964f25D0b1a21e14EFFB70620796D742758E);
    }

    function mint(uint256 quantity, uint8 mintType, bytes memory signature) external payable {
        require(mintType == 0);
        require(quantity > 0, "Zero mint dissallowed");
        require(quantity + numMinted[msg.sender] <= MAX_MINT, "Exceeds max mint per transaction");
        require(_totalMinted() + quantity <= COLLECTION_SIZE - 800, "Mint would exceed collection size");

        if(!openForPublic){
            require(verify(msg.sender, mintType, signature), "ACCESS DENIED");
            require(!hasClaimed[msg.sender], "ALREADY CLAIMED");
            require(quantity == 1);

            hasClaimed[msg.sender] = true;
        }else{
            require(quantity <= 2);
            require(msg.value >= COST * quantity, "insufficient funds");
        }

        _mint(msg.sender, quantity);
        numMinted[msg.sender] += quantity; 
 
    }

    function verify(address user, uint8 mintType, bytes memory signature) private view returns (bool){
        return keccak256(abi.encode(user, mintType)).toEthSignedMessageHash().recover(signature) == signer;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        bool locatedURI;
        uint256 index;
        for(uint256 i = 0; i < URIs.length; i++){
            if(tokenId <= URIs[i].upto){
                locatedURI = true;
                index = i;
                break;
            }
        }

        return locatedURI ? string(abi.encodePacked(URIs[index].path, _toString(tokenId + 1), ".json")) : baseURI;
    }

    function revealBatch(string memory newURI, uint256 upto) public onlyOwner{
        if(URIs.length > 0) require(URIs[URIs.length - 1].upto < upto, "Batch must not include existing batches");
        require(upto <= _totalMinted(), "Batch includes unminted tokens");

        URI memory uri = URI(newURI, upto);
        URIs.push(uri);
    }


    function adminMint(uint256 quantity, address target) public onlyOwner{
        require(_totalMinted() + quantity <= COLLECTION_SIZE, "Would exceed collection size");

        adminMints += quantity;
        _mint(target, quantity);
    }

    function withdraw() public onlyOwner{
        DUMPIESWALLET.transfer(address(this).balance);
    }

    function setOpenForPublic() public onlyOwner{
        openForPublic = !openForPublic;
    }

    function setSigner(address newSigner) public onlyOwner{
        signer = newSigner;
    }

    function setPlaceholder(string memory newURI) public onlyOwner{
        baseURI = newURI;
    }

    function setPrice(uint256 newPrice) public onlyOwner{
        COST = newPrice;
    }

    //OVERRIDES FOR OPENSEA'S OPERATOR FILTERER
    function setApprovalForAll(address operator, bool approved) public virtual override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(address operator, uint256 tokenId) public virtual override onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

    function transferFrom(address from, address to, uint256 tokenId) public virtual override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
        public
        virtual
        override
        onlyAllowedOperator(from)
    {
        super.safeTransferFrom(from, to, tokenId, data);
    }

}

File 2 of 11 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

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

    // The bit position of `extraData` in packed ownership.
    uint256 private constant BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with `_mintERC2309`.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309`
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

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

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

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

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

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

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

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

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

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

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

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

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

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, BITMASK_ADDRESS)
            // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`.
            result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

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

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

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @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 for each mint.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    /**
     * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`.
     */
    function _isOwnerOrApproved(
        address approvedAddress,
        address from,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
            from := and(from, BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, BITMASK_ADDRESS)
            // `msgSender == from || msgSender == approvedAddress`.
            result := or(eq(msgSender, from), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @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 transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

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

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

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

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

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

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

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

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

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

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

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

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

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

            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

File 3 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 4 of 11 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV // Deprecated in v4.8
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

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

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

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

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

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

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

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

File 5 of 11 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 6 of 11 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
        uint24 extraData;
    }

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

    // ==============================
    //            IERC165
    // ==============================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

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

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // ==============================
    //            IERC2309
    // ==============================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 7 of 11 : 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 11 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 9 of 11 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 10 of 11 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // Allow spending tokens from addresses with balance
            // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
            // from an EOA.
            if (from == msg.sender) {
                _;
                return;
            }
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
        _;
    }
}

File 11 of 11 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ADMIN_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COLLECTION_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"target","type":"address"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"adminMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint8","name":"mintType","type":"uint8"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openForPublic","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"},{"internalType":"uint256","name":"upto","type":"uint256"}],"name":"revealBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setOpenForPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setPlaceholder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setSigner","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526002600b5566670758aa7c8000600c55611770600d55610320600e553480156200002d57600080fd5b506040518060400160405280600a81526020017f44756d706965734e4654000000000000000000000000000000000000000000008152506040518060400160405280600a81526020017f44554d504945534e465400000000000000000000000000000000000000000000815250733cc6cdda760b79bafa08df41ecfa224f810dceb6600160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620002a65780156200016c576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b815260040162000132929190620005b2565b600060405180830381600087803b1580156200014d57600080fd5b505af115801562000162573d6000803e3d6000fd5b50505050620002a5565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000226576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620001ec929190620005b2565b600060405180830381600087803b1580156200020757600080fd5b505af11580156200021c573d6000803e3d6000fd5b50505050620002a4565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200026f9190620005df565b600060405180830381600087803b1580156200028a57600080fd5b505af11580156200029f573d6000803e3d6000fd5b505050505b5b5b50508160029080519060200190620002c0929190620004bd565b508060039080519060200190620002d9929190620004bd565b50620002ea620003ea60201b60201c565b60008190555050506200031262000306620003ef60201b60201c565b620003f760201b60201c565b604051806020016040528060008152506012908051906020019062000339929190620004bd565b507312372095c552f88056fcf63ac4e5c8776418cf6b600f60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073f8a5964f25d0b1a21e14effb70620796d742758e601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000660565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620004cb906200062b565b90600052602060002090601f016020900481019282620004ef57600085556200053b565b82601f106200050a57805160ff19168380011785556200053b565b828001600101855582156200053b579182015b828111156200053a5782518255916020019190600101906200051d565b5b5090506200054a91906200054e565b5090565b5b80821115620005695760008160009055506001016200054f565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200059a826200056d565b9050919050565b620005ac816200058d565b82525050565b6000604082019050620005c96000830185620005a1565b620005d86020830184620005a1565b9392505050565b6000602082019050620005f66000830184620005a1565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200064457607f821691505b6020821081036200065a5762000659620005fc565b5b50919050565b61408180620006706000396000f3fe6080604052600436106101e35760003560e01c8063817abd9d11610102578063cc1afc5411610095578063eff3c4e711610064578063eff3c4e7146106ab578063f0292a03146106d6578063f2fde38b14610701578063f4e8b4501461072a576101e3565b8063cc1afc54146105fc578063d0c801d514610627578063d8258d9514610643578063e985e9c51461066e576101e3565b8063a22cb465116100d1578063a22cb46514610542578063b88d4fde1461056b578063bf8fbbd214610594578063c87b56dd146105bf576101e3565b8063817abd9d146104ac5780638da5cb5b146104c357806391b7f5ed146104ee57806395d89b4114610517576101e3565b80633ccfd60b1161017a57806363f7e0951161014957806363f7e095146104065780636c19e7831461042f57806370a0823114610458578063715018a614610495576101e3565b80633ccfd60b1461035e57806341f434341461037557806342842e0e146103a05780636352211e146103c9576101e3565b8063095ea7b3116101b6578063095ea7b3146102b85780630dc28efe146102e157806318160ddd1461030a57806323b872dd14610335576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc146102505780630902a7e01461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612bf1565b610753565b60405161021c9190612c39565b60405180910390f35b34801561023157600080fd5b5061023a6107e5565b6040516102479190612ced565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612d45565b610877565b6040516102849190612db3565b60405180910390f35b34801561029957600080fd5b506102a26108f3565b6040516102af9190612ddd565b60405180910390f35b3480156102c457600080fd5b506102df60048036038101906102da9190612e24565b6108f9565b005b3480156102ed57600080fd5b5061030860048036038101906103039190612e64565b610a03565b005b34801561031657600080fd5b5061031f610a89565b60405161032c9190612ddd565b60405180910390f35b34801561034157600080fd5b5061035c60048036038101906103579190612ea4565b610aa0565b005b34801561036a57600080fd5b50610373610bf0565b005b34801561038157600080fd5b5061038a610c63565b6040516103979190612f56565b60405180910390f35b3480156103ac57600080fd5b506103c760048036038101906103c29190612ea4565b610c75565b005b3480156103d557600080fd5b506103f060048036038101906103eb9190612d45565b610dc5565b6040516103fd9190612db3565b60405180910390f35b34801561041257600080fd5b5061042d600480360381019061042891906130a6565b610dd7565b005b34801561043b57600080fd5b5061045660048036038101906104519190613102565b610f23565b005b34801561046457600080fd5b5061047f600480360381019061047a9190613102565b610f6f565b60405161048c9190612ddd565b60405180910390f35b3480156104a157600080fd5b506104aa611027565b005b3480156104b857600080fd5b506104c161103b565b005b3480156104cf57600080fd5b506104d861106f565b6040516104e59190612db3565b60405180910390f35b3480156104fa57600080fd5b5061051560048036038101906105109190612d45565b611099565b005b34801561052357600080fd5b5061052c6110ab565b6040516105399190612ced565b60405180910390f35b34801561054e57600080fd5b506105696004803603810190610564919061315b565b61113d565b005b34801561057757600080fd5b50610592600480360381019061058d919061323c565b611247565b005b3480156105a057600080fd5b506105a961139a565b6040516105b69190612ddd565b60405180910390f35b3480156105cb57600080fd5b506105e660048036038101906105e19190612d45565b6113a0565b6040516105f39190612ced565b60405180910390f35b34801561060857600080fd5b50610611611539565b60405161061e9190612ddd565b60405180910390f35b610641600480360381019061063c91906132f8565b61153f565b005b34801561064f57600080fd5b5061065861189e565b6040516106659190612ddd565b60405180910390f35b34801561067a57600080fd5b5061069560048036038101906106909190613367565b6118a4565b6040516106a29190612c39565b60405180910390f35b3480156106b757600080fd5b506106c0611938565b6040516106cd9190612c39565b60405180910390f35b3480156106e257600080fd5b506106eb61194b565b6040516106f89190612ddd565b60405180910390f35b34801561070d57600080fd5b5061072860048036038101906107239190613102565b611951565b005b34801561073657600080fd5b50610751600480360381019061074c91906133a7565b6119d4565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107ae57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107de5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546107f49061341f565b80601f01602080910402602001604051908101604052809291908181526020018280546108209061341f565b801561086d5780601f106108425761010080835404028352916020019161086d565b820191906000526020600020905b81548152906001019060200180831161085057829003601f168201915b5050505050905090565b6000610882826119f6565b6108b8576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600e5481565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156109f4576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610971929190613450565b602060405180830381865afa15801561098e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b2919061348e565b6109f357806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016109ea9190612db3565b60405180910390fd5b5b6109fe8383611a55565b505050565b610a0b611b96565b600d5482610a17611c14565b610a2191906134ea565b1115610a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a599061358c565b60405180910390fd5b8160116000828254610a7491906134ea565b92505081905550610a858183611c27565b5050565b6000610a93611df9565b6001546000540303905090565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610bde573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b1257610b0d848484611dfe565b610bea565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610b5b929190613450565b602060405180830381865afa158015610b78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9c919061348e565b610bdd57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610bd49190612db3565b60405180910390fd5b5b610be9848484611dfe565b5b50505050565b610bf8611b96565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610c60573d6000803e3d6000fd5b50565b6daaeb6d7670e522a718067333cd4e81565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610db3573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ce757610ce2848484612120565b610dbf565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610d30929190613450565b602060405180830381865afa158015610d4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d71919061348e565b610db257336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610da99190612db3565b60405180910390fd5b5b610dbe848484612120565b5b50505050565b6000610dd082612140565b9050919050565b610ddf611b96565b60006013805490501115610e66578060136001601380549050610e0291906135ac565b81548110610e1357610e126135e0565b5b90600052602060002090600202016001015410610e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5c90613681565b60405180910390fd5b5b610e6e611c14565b811115610eb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea7906136ed565b60405180910390fd5b6000604051806040016040528084815260200183815250905060138190806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000019080519060200190610f11929190612ae2565b50602082015181600101555050505050565b610f2b611b96565b80600f60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fd6576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61102f611b96565b611039600061220c565b565b611043611b96565b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6110a1611b96565b80600c8190555050565b6060600380546110ba9061341f565b80601f01602080910402602001604051908101604052809291908181526020018280546110e69061341f565b80156111335780601f1061110857610100808354040283529160200191611133565b820191906000526020600020905b81548152906001019060200180831161111657829003601f168201915b5050505050905090565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611238576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016111b5929190613450565b602060405180830381865afa1580156111d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f6919061348e565b61123757806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161122e9190612db3565b60405180910390fd5b5b61124283836122d2565b505050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611386573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112ba576112b585858585612449565b611393565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611303929190613450565b602060405180830381865afa158015611320573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611344919061348e565b61138557336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161137c9190612db3565b60405180910390fd5b5b61139285858585612449565b5b5050505050565b600c5481565b60606113ab826119f6565b6113e1576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060005b60138054905081101561143f5760138181548110611408576114076135e0565b5b906000526020600020906002020160010154851161142c576001925080915061143f565b80806114379061370d565b9150506113e7565b50816114d557601280546114529061341f565b80601f016020809104026020016040519081016040528092919081815260200182805461147e9061341f565b80156114cb5780601f106114a0576101008083540402835291602001916114cb565b820191906000526020600020905b8154815290600101906020018083116114ae57829003601f168201915b5050505050611530565b601381815481106114e9576114e86135e0565b5b906000526020600020906002020160000161150f60018661150a91906134ea565b6124bc565b604051602001611520929190613871565b6040516020818303038152906040525b92505050919050565b60115481565b60008260ff161461154f57600080fd5b60008311611592576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611589906138ec565b60405180910390fd5b600b54600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054846115e091906134ea565b1115611621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161890613958565b60405180910390fd5b610320600d5461163191906135ac565b8361163a611c14565b61164491906134ea565b1115611685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167c906139ea565b60405180910390fd5b600f60009054906101000a900460ff166117da576116a4338383612516565b6116e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116da90613a56565b60405180910390fd5b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176790613ac2565b60405180910390fd5b6001831461177d57600080fd5b6001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611839565b60028311156117e857600080fd5b82600c546117f69190613ae2565b341015611838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182f90613b88565b60405180910390fd5b5b6118433384611c27565b82600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461189291906134ea565b92505081905550505050565b600d5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60009054906101000a900460ff1681565b600b5481565b611959611b96565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bf90613c1a565b60405180910390fd5b6119d18161220c565b50565b6119dc611b96565b80601290805190602001906119f2929190612ae2565b5050565b600081611a01611df9565b11158015611a10575060005482105b8015611a4e575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000611a6082610dc5565b90508073ffffffffffffffffffffffffffffffffffffffff16611a816125b4565b73ffffffffffffffffffffffffffffffffffffffff1614611ae457611aad81611aa86125b4565b6118a4565b611ae3576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b611b9e6125bc565b73ffffffffffffffffffffffffffffffffffffffff16611bbc61106f565b73ffffffffffffffffffffffffffffffffffffffff1614611c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0990613c86565b60405180910390fd5b565b6000611c1e611df9565b60005403905090565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c93576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203611ccd576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611cda60008483856125c4565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611d5183611d4260008660006125ca565b611d4b856125f2565b17612602565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210611d7557806000819055505050611df4600084838561262d565b505050565b600090565b6000611e0982612140565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611e70576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611e7c84612633565b91509150611e928187611e8d6125b4565b612655565b611ede57611ea786611ea26125b4565b6118a4565b611edd576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611f44576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f5186868660016125c4565b8015611f5c57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061202a856120068888876125ca565b7c020000000000000000000000000000000000000000000000000000000017612602565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036120b057600060018501905060006004600083815260200190815260200160002054036120ae5760005481146120ad578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612118868686600161262d565b505050505050565b61213b83838360405180602001604052806000815250611247565b505050565b6000808290508061214f611df9565b116121d5576000548110156121d45760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036121d2575b600081036121c857600460008360019003935083815260200190815260200160002054905061219e565b8092505050612207565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6122da6125b4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361233e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061234b6125b4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166123f86125b4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161243d9190612c39565b60405180910390a35050565b612454848484610aa0565b60008373ffffffffffffffffffffffffffffffffffffffff163b146124b65761247f84848484612699565b6124b5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561250257600183039250600a81066030018353600a810490506124e2565b508181036020830392508083525050919050565b6000600f60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661259483612586878760405160200161256b929190613cb5565b604051602081830303815290604052805190602001206127e9565b61281990919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff161490509392505050565b600033905090565b600033905090565b50505050565b60008060e883901c905060e86125e1868684612840565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126bf6125b4565b8786866040518563ffffffff1660e01b81526004016126e19493929190613d33565b6020604051808303816000875af192505050801561271d57506040513d601f19601f8201168201806040525081019061271a9190613d94565b60015b612796573d806000811461274d576040519150601f19603f3d011682016040523d82523d6000602084013e612752565b606091505b50600081510361278e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000816040516020016127fc9190613e38565b604051602081830303815290604052805190602001209050919050565b60008060006128288585612849565b915091506128358161289a565b819250505092915050565b60009392505050565b600080604183510361288a5760008060006020860151925060408601519150606086015160001a905061287e87828585612a00565b94509450505050612893565b60006002915091505b9250929050565b600060048111156128ae576128ad613e5e565b5b8160048111156128c1576128c0613e5e565b5b03156129fd57600160048111156128db576128da613e5e565b5b8160048111156128ee576128ed613e5e565b5b0361292e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292590613ed9565b60405180910390fd5b6002600481111561294257612941613e5e565b5b81600481111561295557612954613e5e565b5b03612995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298c90613f45565b60405180910390fd5b600360048111156129a9576129a8613e5e565b5b8160048111156129bc576129bb613e5e565b5b036129fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f390613fd7565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612a3b576000600391509150612ad9565b600060018787878760405160008152602001604052604051612a609493929190614006565b6020604051602081039080840390855afa158015612a82573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612ad057600060019250925050612ad9565b80600092509250505b94509492505050565b828054612aee9061341f565b90600052602060002090601f016020900481019282612b105760008555612b57565b82601f10612b2957805160ff1916838001178555612b57565b82800160010185558215612b57579182015b82811115612b56578251825591602001919060010190612b3b565b5b509050612b649190612b68565b5090565b5b80821115612b81576000816000905550600101612b69565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612bce81612b99565b8114612bd957600080fd5b50565b600081359050612beb81612bc5565b92915050565b600060208284031215612c0757612c06612b8f565b5b6000612c1584828501612bdc565b91505092915050565b60008115159050919050565b612c3381612c1e565b82525050565b6000602082019050612c4e6000830184612c2a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612c8e578082015181840152602081019050612c73565b83811115612c9d576000848401525b50505050565b6000601f19601f8301169050919050565b6000612cbf82612c54565b612cc98185612c5f565b9350612cd9818560208601612c70565b612ce281612ca3565b840191505092915050565b60006020820190508181036000830152612d078184612cb4565b905092915050565b6000819050919050565b612d2281612d0f565b8114612d2d57600080fd5b50565b600081359050612d3f81612d19565b92915050565b600060208284031215612d5b57612d5a612b8f565b5b6000612d6984828501612d30565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612d9d82612d72565b9050919050565b612dad81612d92565b82525050565b6000602082019050612dc86000830184612da4565b92915050565b612dd781612d0f565b82525050565b6000602082019050612df26000830184612dce565b92915050565b612e0181612d92565b8114612e0c57600080fd5b50565b600081359050612e1e81612df8565b92915050565b60008060408385031215612e3b57612e3a612b8f565b5b6000612e4985828601612e0f565b9250506020612e5a85828601612d30565b9150509250929050565b60008060408385031215612e7b57612e7a612b8f565b5b6000612e8985828601612d30565b9250506020612e9a85828601612e0f565b9150509250929050565b600080600060608486031215612ebd57612ebc612b8f565b5b6000612ecb86828701612e0f565b9350506020612edc86828701612e0f565b9250506040612eed86828701612d30565b9150509250925092565b6000819050919050565b6000612f1c612f17612f1284612d72565b612ef7565b612d72565b9050919050565b6000612f2e82612f01565b9050919050565b6000612f4082612f23565b9050919050565b612f5081612f35565b82525050565b6000602082019050612f6b6000830184612f47565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612fb382612ca3565b810181811067ffffffffffffffff82111715612fd257612fd1612f7b565b5b80604052505050565b6000612fe5612b85565b9050612ff18282612faa565b919050565b600067ffffffffffffffff82111561301157613010612f7b565b5b61301a82612ca3565b9050602081019050919050565b82818337600083830152505050565b600061304961304484612ff6565b612fdb565b90508281526020810184848401111561306557613064612f76565b5b613070848285613027565b509392505050565b600082601f83011261308d5761308c612f71565b5b813561309d848260208601613036565b91505092915050565b600080604083850312156130bd576130bc612b8f565b5b600083013567ffffffffffffffff8111156130db576130da612b94565b5b6130e785828601613078565b92505060206130f885828601612d30565b9150509250929050565b60006020828403121561311857613117612b8f565b5b600061312684828501612e0f565b91505092915050565b61313881612c1e565b811461314357600080fd5b50565b6000813590506131558161312f565b92915050565b6000806040838503121561317257613171612b8f565b5b600061318085828601612e0f565b925050602061319185828601613146565b9150509250929050565b600067ffffffffffffffff8211156131b6576131b5612f7b565b5b6131bf82612ca3565b9050602081019050919050565b60006131df6131da8461319b565b612fdb565b9050828152602081018484840111156131fb576131fa612f76565b5b613206848285613027565b509392505050565b600082601f83011261322357613222612f71565b5b81356132338482602086016131cc565b91505092915050565b6000806000806080858703121561325657613255612b8f565b5b600061326487828801612e0f565b945050602061327587828801612e0f565b935050604061328687828801612d30565b925050606085013567ffffffffffffffff8111156132a7576132a6612b94565b5b6132b38782880161320e565b91505092959194509250565b600060ff82169050919050565b6132d5816132bf565b81146132e057600080fd5b50565b6000813590506132f2816132cc565b92915050565b60008060006060848603121561331157613310612b8f565b5b600061331f86828701612d30565b9350506020613330868287016132e3565b925050604084013567ffffffffffffffff81111561335157613350612b94565b5b61335d8682870161320e565b9150509250925092565b6000806040838503121561337e5761337d612b8f565b5b600061338c85828601612e0f565b925050602061339d85828601612e0f565b9150509250929050565b6000602082840312156133bd576133bc612b8f565b5b600082013567ffffffffffffffff8111156133db576133da612b94565b5b6133e784828501613078565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061343757607f821691505b60208210810361344a576134496133f0565b5b50919050565b60006040820190506134656000830185612da4565b6134726020830184612da4565b9392505050565b6000815190506134888161312f565b92915050565b6000602082840312156134a4576134a3612b8f565b5b60006134b284828501613479565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006134f582612d0f565b915061350083612d0f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613535576135346134bb565b5b828201905092915050565b7f576f756c642065786365656420636f6c6c656374696f6e2073697a6500000000600082015250565b6000613576601c83612c5f565b915061358182613540565b602082019050919050565b600060208201905081810360008301526135a581613569565b9050919050565b60006135b782612d0f565b91506135c283612d0f565b9250828210156135d5576135d46134bb565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4261746368206d757374206e6f7420696e636c756465206578697374696e672060008201527f6261746368657300000000000000000000000000000000000000000000000000602082015250565b600061366b602783612c5f565b91506136768261360f565b604082019050919050565b6000602082019050818103600083015261369a8161365e565b9050919050565b7f426174636820696e636c7564657320756e6d696e74656420746f6b656e730000600082015250565b60006136d7601e83612c5f565b91506136e2826136a1565b602082019050919050565b60006020820190508181036000830152613706816136ca565b9050919050565b600061371882612d0f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361374a576137496134bb565b5b600182019050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546137828161341f565b61378c8186613755565b945060018216600081146137a757600181146137b8576137eb565b60ff198316865281860193506137eb565b6137c185613760565b60005b838110156137e3578154818901526001820191506020810190506137c4565b838801955050505b50505092915050565b60006137ff82612c54565b6138098185613755565b9350613819818560208601612c70565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061385b600583613755565b915061386682613825565b600582019050919050565b600061387d8285613775565b915061388982846137f4565b91506138948261384e565b91508190509392505050565b7f5a65726f206d696e742064697373616c6c6f7765640000000000000000000000600082015250565b60006138d6601583612c5f565b91506138e1826138a0565b602082019050919050565b60006020820190508181036000830152613905816138c9565b9050919050565b7f45786365656473206d6178206d696e7420706572207472616e73616374696f6e600082015250565b6000613942602083612c5f565b915061394d8261390c565b602082019050919050565b6000602082019050818103600083015261397181613935565b9050919050565b7f4d696e7420776f756c642065786365656420636f6c6c656374696f6e2073697a60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b60006139d4602183612c5f565b91506139df82613978565b604082019050919050565b60006020820190508181036000830152613a03816139c7565b9050919050565b7f4143434553532044454e49454400000000000000000000000000000000000000600082015250565b6000613a40600d83612c5f565b9150613a4b82613a0a565b602082019050919050565b60006020820190508181036000830152613a6f81613a33565b9050919050565b7f414c524541445920434c41494d45440000000000000000000000000000000000600082015250565b6000613aac600f83612c5f565b9150613ab782613a76565b602082019050919050565b60006020820190508181036000830152613adb81613a9f565b9050919050565b6000613aed82612d0f565b9150613af883612d0f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b3157613b306134bb565b5b828202905092915050565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b6000613b72601283612c5f565b9150613b7d82613b3c565b602082019050919050565b60006020820190508181036000830152613ba181613b65565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613c04602683612c5f565b9150613c0f82613ba8565b604082019050919050565b60006020820190508181036000830152613c3381613bf7565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613c70602083612c5f565b9150613c7b82613c3a565b602082019050919050565b60006020820190508181036000830152613c9f81613c63565b9050919050565b613caf816132bf565b82525050565b6000604082019050613cca6000830185612da4565b613cd76020830184613ca6565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000613d0582613cde565b613d0f8185613ce9565b9350613d1f818560208601612c70565b613d2881612ca3565b840191505092915050565b6000608082019050613d486000830187612da4565b613d556020830186612da4565b613d626040830185612dce565b8181036060830152613d748184613cfa565b905095945050505050565b600081519050613d8e81612bc5565b92915050565b600060208284031215613daa57613da9612b8f565b5b6000613db884828501613d7f565b91505092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000613df7601c83613755565b9150613e0282613dc1565b601c82019050919050565b6000819050919050565b6000819050919050565b613e32613e2d82613e0d565b613e17565b82525050565b6000613e4382613dea565b9150613e4f8284613e21565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000613ec3601883612c5f565b9150613ece82613e8d565b602082019050919050565b60006020820190508181036000830152613ef281613eb6565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000613f2f601f83612c5f565b9150613f3a82613ef9565b602082019050919050565b60006020820190508181036000830152613f5e81613f22565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000613fc1602283612c5f565b9150613fcc82613f65565b604082019050919050565b60006020820190508181036000830152613ff081613fb4565b9050919050565b61400081613e0d565b82525050565b600060808201905061401b6000830187613ff7565b6140286020830186613ca6565b6140356040830185613ff7565b6140426060830184613ff7565b9594505050505056fea2646970667358221220faa79a48ebdaf2dff3d60e4ce76711f3dc5fac8a71aefb1fe54bb89bb765a27364736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106101e35760003560e01c8063817abd9d11610102578063cc1afc5411610095578063eff3c4e711610064578063eff3c4e7146106ab578063f0292a03146106d6578063f2fde38b14610701578063f4e8b4501461072a576101e3565b8063cc1afc54146105fc578063d0c801d514610627578063d8258d9514610643578063e985e9c51461066e576101e3565b8063a22cb465116100d1578063a22cb46514610542578063b88d4fde1461056b578063bf8fbbd214610594578063c87b56dd146105bf576101e3565b8063817abd9d146104ac5780638da5cb5b146104c357806391b7f5ed146104ee57806395d89b4114610517576101e3565b80633ccfd60b1161017a57806363f7e0951161014957806363f7e095146104065780636c19e7831461042f57806370a0823114610458578063715018a614610495576101e3565b80633ccfd60b1461035e57806341f434341461037557806342842e0e146103a05780636352211e146103c9576101e3565b8063095ea7b3116101b6578063095ea7b3146102b85780630dc28efe146102e157806318160ddd1461030a57806323b872dd14610335576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc146102505780630902a7e01461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612bf1565b610753565b60405161021c9190612c39565b60405180910390f35b34801561023157600080fd5b5061023a6107e5565b6040516102479190612ced565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612d45565b610877565b6040516102849190612db3565b60405180910390f35b34801561029957600080fd5b506102a26108f3565b6040516102af9190612ddd565b60405180910390f35b3480156102c457600080fd5b506102df60048036038101906102da9190612e24565b6108f9565b005b3480156102ed57600080fd5b5061030860048036038101906103039190612e64565b610a03565b005b34801561031657600080fd5b5061031f610a89565b60405161032c9190612ddd565b60405180910390f35b34801561034157600080fd5b5061035c60048036038101906103579190612ea4565b610aa0565b005b34801561036a57600080fd5b50610373610bf0565b005b34801561038157600080fd5b5061038a610c63565b6040516103979190612f56565b60405180910390f35b3480156103ac57600080fd5b506103c760048036038101906103c29190612ea4565b610c75565b005b3480156103d557600080fd5b506103f060048036038101906103eb9190612d45565b610dc5565b6040516103fd9190612db3565b60405180910390f35b34801561041257600080fd5b5061042d600480360381019061042891906130a6565b610dd7565b005b34801561043b57600080fd5b5061045660048036038101906104519190613102565b610f23565b005b34801561046457600080fd5b5061047f600480360381019061047a9190613102565b610f6f565b60405161048c9190612ddd565b60405180910390f35b3480156104a157600080fd5b506104aa611027565b005b3480156104b857600080fd5b506104c161103b565b005b3480156104cf57600080fd5b506104d861106f565b6040516104e59190612db3565b60405180910390f35b3480156104fa57600080fd5b5061051560048036038101906105109190612d45565b611099565b005b34801561052357600080fd5b5061052c6110ab565b6040516105399190612ced565b60405180910390f35b34801561054e57600080fd5b506105696004803603810190610564919061315b565b61113d565b005b34801561057757600080fd5b50610592600480360381019061058d919061323c565b611247565b005b3480156105a057600080fd5b506105a961139a565b6040516105b69190612ddd565b60405180910390f35b3480156105cb57600080fd5b506105e660048036038101906105e19190612d45565b6113a0565b6040516105f39190612ced565b60405180910390f35b34801561060857600080fd5b50610611611539565b60405161061e9190612ddd565b60405180910390f35b610641600480360381019061063c91906132f8565b61153f565b005b34801561064f57600080fd5b5061065861189e565b6040516106659190612ddd565b60405180910390f35b34801561067a57600080fd5b5061069560048036038101906106909190613367565b6118a4565b6040516106a29190612c39565b60405180910390f35b3480156106b757600080fd5b506106c0611938565b6040516106cd9190612c39565b60405180910390f35b3480156106e257600080fd5b506106eb61194b565b6040516106f89190612ddd565b60405180910390f35b34801561070d57600080fd5b5061072860048036038101906107239190613102565b611951565b005b34801561073657600080fd5b50610751600480360381019061074c91906133a7565b6119d4565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107ae57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107de5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546107f49061341f565b80601f01602080910402602001604051908101604052809291908181526020018280546108209061341f565b801561086d5780601f106108425761010080835404028352916020019161086d565b820191906000526020600020905b81548152906001019060200180831161085057829003601f168201915b5050505050905090565b6000610882826119f6565b6108b8576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600e5481565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156109f4576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610971929190613450565b602060405180830381865afa15801561098e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b2919061348e565b6109f357806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016109ea9190612db3565b60405180910390fd5b5b6109fe8383611a55565b505050565b610a0b611b96565b600d5482610a17611c14565b610a2191906134ea565b1115610a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a599061358c565b60405180910390fd5b8160116000828254610a7491906134ea565b92505081905550610a858183611c27565b5050565b6000610a93611df9565b6001546000540303905090565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610bde573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b1257610b0d848484611dfe565b610bea565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610b5b929190613450565b602060405180830381865afa158015610b78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9c919061348e565b610bdd57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610bd49190612db3565b60405180910390fd5b5b610be9848484611dfe565b5b50505050565b610bf8611b96565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610c60573d6000803e3d6000fd5b50565b6daaeb6d7670e522a718067333cd4e81565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610db3573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ce757610ce2848484612120565b610dbf565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610d30929190613450565b602060405180830381865afa158015610d4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d71919061348e565b610db257336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610da99190612db3565b60405180910390fd5b5b610dbe848484612120565b5b50505050565b6000610dd082612140565b9050919050565b610ddf611b96565b60006013805490501115610e66578060136001601380549050610e0291906135ac565b81548110610e1357610e126135e0565b5b90600052602060002090600202016001015410610e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5c90613681565b60405180910390fd5b5b610e6e611c14565b811115610eb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea7906136ed565b60405180910390fd5b6000604051806040016040528084815260200183815250905060138190806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000019080519060200190610f11929190612ae2565b50602082015181600101555050505050565b610f2b611b96565b80600f60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fd6576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61102f611b96565b611039600061220c565b565b611043611b96565b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6110a1611b96565b80600c8190555050565b6060600380546110ba9061341f565b80601f01602080910402602001604051908101604052809291908181526020018280546110e69061341f565b80156111335780601f1061110857610100808354040283529160200191611133565b820191906000526020600020905b81548152906001019060200180831161111657829003601f168201915b5050505050905090565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611238576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016111b5929190613450565b602060405180830381865afa1580156111d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f6919061348e565b61123757806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161122e9190612db3565b60405180910390fd5b5b61124283836122d2565b505050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611386573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112ba576112b585858585612449565b611393565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611303929190613450565b602060405180830381865afa158015611320573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611344919061348e565b61138557336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161137c9190612db3565b60405180910390fd5b5b61139285858585612449565b5b5050505050565b600c5481565b60606113ab826119f6565b6113e1576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060005b60138054905081101561143f5760138181548110611408576114076135e0565b5b906000526020600020906002020160010154851161142c576001925080915061143f565b80806114379061370d565b9150506113e7565b50816114d557601280546114529061341f565b80601f016020809104026020016040519081016040528092919081815260200182805461147e9061341f565b80156114cb5780601f106114a0576101008083540402835291602001916114cb565b820191906000526020600020905b8154815290600101906020018083116114ae57829003601f168201915b5050505050611530565b601381815481106114e9576114e86135e0565b5b906000526020600020906002020160000161150f60018661150a91906134ea565b6124bc565b604051602001611520929190613871565b6040516020818303038152906040525b92505050919050565b60115481565b60008260ff161461154f57600080fd5b60008311611592576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611589906138ec565b60405180910390fd5b600b54600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054846115e091906134ea565b1115611621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161890613958565b60405180910390fd5b610320600d5461163191906135ac565b8361163a611c14565b61164491906134ea565b1115611685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167c906139ea565b60405180910390fd5b600f60009054906101000a900460ff166117da576116a4338383612516565b6116e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116da90613a56565b60405180910390fd5b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176790613ac2565b60405180910390fd5b6001831461177d57600080fd5b6001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611839565b60028311156117e857600080fd5b82600c546117f69190613ae2565b341015611838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182f90613b88565b60405180910390fd5b5b6118433384611c27565b82600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461189291906134ea565b92505081905550505050565b600d5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60009054906101000a900460ff1681565b600b5481565b611959611b96565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bf90613c1a565b60405180910390fd5b6119d18161220c565b50565b6119dc611b96565b80601290805190602001906119f2929190612ae2565b5050565b600081611a01611df9565b11158015611a10575060005482105b8015611a4e575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000611a6082610dc5565b90508073ffffffffffffffffffffffffffffffffffffffff16611a816125b4565b73ffffffffffffffffffffffffffffffffffffffff1614611ae457611aad81611aa86125b4565b6118a4565b611ae3576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b611b9e6125bc565b73ffffffffffffffffffffffffffffffffffffffff16611bbc61106f565b73ffffffffffffffffffffffffffffffffffffffff1614611c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0990613c86565b60405180910390fd5b565b6000611c1e611df9565b60005403905090565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c93576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203611ccd576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611cda60008483856125c4565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611d5183611d4260008660006125ca565b611d4b856125f2565b17612602565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210611d7557806000819055505050611df4600084838561262d565b505050565b600090565b6000611e0982612140565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611e70576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611e7c84612633565b91509150611e928187611e8d6125b4565b612655565b611ede57611ea786611ea26125b4565b6118a4565b611edd576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611f44576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f5186868660016125c4565b8015611f5c57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061202a856120068888876125ca565b7c020000000000000000000000000000000000000000000000000000000017612602565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036120b057600060018501905060006004600083815260200190815260200160002054036120ae5760005481146120ad578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612118868686600161262d565b505050505050565b61213b83838360405180602001604052806000815250611247565b505050565b6000808290508061214f611df9565b116121d5576000548110156121d45760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036121d2575b600081036121c857600460008360019003935083815260200190815260200160002054905061219e565b8092505050612207565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6122da6125b4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361233e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061234b6125b4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166123f86125b4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161243d9190612c39565b60405180910390a35050565b612454848484610aa0565b60008373ffffffffffffffffffffffffffffffffffffffff163b146124b65761247f84848484612699565b6124b5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561250257600183039250600a81066030018353600a810490506124e2565b508181036020830392508083525050919050565b6000600f60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661259483612586878760405160200161256b929190613cb5565b604051602081830303815290604052805190602001206127e9565b61281990919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff161490509392505050565b600033905090565b600033905090565b50505050565b60008060e883901c905060e86125e1868684612840565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126bf6125b4565b8786866040518563ffffffff1660e01b81526004016126e19493929190613d33565b6020604051808303816000875af192505050801561271d57506040513d601f19601f8201168201806040525081019061271a9190613d94565b60015b612796573d806000811461274d576040519150601f19603f3d011682016040523d82523d6000602084013e612752565b606091505b50600081510361278e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000816040516020016127fc9190613e38565b604051602081830303815290604052805190602001209050919050565b60008060006128288585612849565b915091506128358161289a565b819250505092915050565b60009392505050565b600080604183510361288a5760008060006020860151925060408601519150606086015160001a905061287e87828585612a00565b94509450505050612893565b60006002915091505b9250929050565b600060048111156128ae576128ad613e5e565b5b8160048111156128c1576128c0613e5e565b5b03156129fd57600160048111156128db576128da613e5e565b5b8160048111156128ee576128ed613e5e565b5b0361292e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292590613ed9565b60405180910390fd5b6002600481111561294257612941613e5e565b5b81600481111561295557612954613e5e565b5b03612995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298c90613f45565b60405180910390fd5b600360048111156129a9576129a8613e5e565b5b8160048111156129bc576129bb613e5e565b5b036129fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f390613fd7565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612a3b576000600391509150612ad9565b600060018787878760405160008152602001604052604051612a609493929190614006565b6020604051602081039080840390855afa158015612a82573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612ad057600060019250925050612ad9565b80600092509250505b94509492505050565b828054612aee9061341f565b90600052602060002090601f016020900481019282612b105760008555612b57565b82601f10612b2957805160ff1916838001178555612b57565b82800160010185558215612b57579182015b82811115612b56578251825591602001919060010190612b3b565b5b509050612b649190612b68565b5090565b5b80821115612b81576000816000905550600101612b69565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612bce81612b99565b8114612bd957600080fd5b50565b600081359050612beb81612bc5565b92915050565b600060208284031215612c0757612c06612b8f565b5b6000612c1584828501612bdc565b91505092915050565b60008115159050919050565b612c3381612c1e565b82525050565b6000602082019050612c4e6000830184612c2a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612c8e578082015181840152602081019050612c73565b83811115612c9d576000848401525b50505050565b6000601f19601f8301169050919050565b6000612cbf82612c54565b612cc98185612c5f565b9350612cd9818560208601612c70565b612ce281612ca3565b840191505092915050565b60006020820190508181036000830152612d078184612cb4565b905092915050565b6000819050919050565b612d2281612d0f565b8114612d2d57600080fd5b50565b600081359050612d3f81612d19565b92915050565b600060208284031215612d5b57612d5a612b8f565b5b6000612d6984828501612d30565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612d9d82612d72565b9050919050565b612dad81612d92565b82525050565b6000602082019050612dc86000830184612da4565b92915050565b612dd781612d0f565b82525050565b6000602082019050612df26000830184612dce565b92915050565b612e0181612d92565b8114612e0c57600080fd5b50565b600081359050612e1e81612df8565b92915050565b60008060408385031215612e3b57612e3a612b8f565b5b6000612e4985828601612e0f565b9250506020612e5a85828601612d30565b9150509250929050565b60008060408385031215612e7b57612e7a612b8f565b5b6000612e8985828601612d30565b9250506020612e9a85828601612e0f565b9150509250929050565b600080600060608486031215612ebd57612ebc612b8f565b5b6000612ecb86828701612e0f565b9350506020612edc86828701612e0f565b9250506040612eed86828701612d30565b9150509250925092565b6000819050919050565b6000612f1c612f17612f1284612d72565b612ef7565b612d72565b9050919050565b6000612f2e82612f01565b9050919050565b6000612f4082612f23565b9050919050565b612f5081612f35565b82525050565b6000602082019050612f6b6000830184612f47565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612fb382612ca3565b810181811067ffffffffffffffff82111715612fd257612fd1612f7b565b5b80604052505050565b6000612fe5612b85565b9050612ff18282612faa565b919050565b600067ffffffffffffffff82111561301157613010612f7b565b5b61301a82612ca3565b9050602081019050919050565b82818337600083830152505050565b600061304961304484612ff6565b612fdb565b90508281526020810184848401111561306557613064612f76565b5b613070848285613027565b509392505050565b600082601f83011261308d5761308c612f71565b5b813561309d848260208601613036565b91505092915050565b600080604083850312156130bd576130bc612b8f565b5b600083013567ffffffffffffffff8111156130db576130da612b94565b5b6130e785828601613078565b92505060206130f885828601612d30565b9150509250929050565b60006020828403121561311857613117612b8f565b5b600061312684828501612e0f565b91505092915050565b61313881612c1e565b811461314357600080fd5b50565b6000813590506131558161312f565b92915050565b6000806040838503121561317257613171612b8f565b5b600061318085828601612e0f565b925050602061319185828601613146565b9150509250929050565b600067ffffffffffffffff8211156131b6576131b5612f7b565b5b6131bf82612ca3565b9050602081019050919050565b60006131df6131da8461319b565b612fdb565b9050828152602081018484840111156131fb576131fa612f76565b5b613206848285613027565b509392505050565b600082601f83011261322357613222612f71565b5b81356132338482602086016131cc565b91505092915050565b6000806000806080858703121561325657613255612b8f565b5b600061326487828801612e0f565b945050602061327587828801612e0f565b935050604061328687828801612d30565b925050606085013567ffffffffffffffff8111156132a7576132a6612b94565b5b6132b38782880161320e565b91505092959194509250565b600060ff82169050919050565b6132d5816132bf565b81146132e057600080fd5b50565b6000813590506132f2816132cc565b92915050565b60008060006060848603121561331157613310612b8f565b5b600061331f86828701612d30565b9350506020613330868287016132e3565b925050604084013567ffffffffffffffff81111561335157613350612b94565b5b61335d8682870161320e565b9150509250925092565b6000806040838503121561337e5761337d612b8f565b5b600061338c85828601612e0f565b925050602061339d85828601612e0f565b9150509250929050565b6000602082840312156133bd576133bc612b8f565b5b600082013567ffffffffffffffff8111156133db576133da612b94565b5b6133e784828501613078565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061343757607f821691505b60208210810361344a576134496133f0565b5b50919050565b60006040820190506134656000830185612da4565b6134726020830184612da4565b9392505050565b6000815190506134888161312f565b92915050565b6000602082840312156134a4576134a3612b8f565b5b60006134b284828501613479565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006134f582612d0f565b915061350083612d0f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613535576135346134bb565b5b828201905092915050565b7f576f756c642065786365656420636f6c6c656374696f6e2073697a6500000000600082015250565b6000613576601c83612c5f565b915061358182613540565b602082019050919050565b600060208201905081810360008301526135a581613569565b9050919050565b60006135b782612d0f565b91506135c283612d0f565b9250828210156135d5576135d46134bb565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4261746368206d757374206e6f7420696e636c756465206578697374696e672060008201527f6261746368657300000000000000000000000000000000000000000000000000602082015250565b600061366b602783612c5f565b91506136768261360f565b604082019050919050565b6000602082019050818103600083015261369a8161365e565b9050919050565b7f426174636820696e636c7564657320756e6d696e74656420746f6b656e730000600082015250565b60006136d7601e83612c5f565b91506136e2826136a1565b602082019050919050565b60006020820190508181036000830152613706816136ca565b9050919050565b600061371882612d0f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361374a576137496134bb565b5b600182019050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546137828161341f565b61378c8186613755565b945060018216600081146137a757600181146137b8576137eb565b60ff198316865281860193506137eb565b6137c185613760565b60005b838110156137e3578154818901526001820191506020810190506137c4565b838801955050505b50505092915050565b60006137ff82612c54565b6138098185613755565b9350613819818560208601612c70565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061385b600583613755565b915061386682613825565b600582019050919050565b600061387d8285613775565b915061388982846137f4565b91506138948261384e565b91508190509392505050565b7f5a65726f206d696e742064697373616c6c6f7765640000000000000000000000600082015250565b60006138d6601583612c5f565b91506138e1826138a0565b602082019050919050565b60006020820190508181036000830152613905816138c9565b9050919050565b7f45786365656473206d6178206d696e7420706572207472616e73616374696f6e600082015250565b6000613942602083612c5f565b915061394d8261390c565b602082019050919050565b6000602082019050818103600083015261397181613935565b9050919050565b7f4d696e7420776f756c642065786365656420636f6c6c656374696f6e2073697a60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b60006139d4602183612c5f565b91506139df82613978565b604082019050919050565b60006020820190508181036000830152613a03816139c7565b9050919050565b7f4143434553532044454e49454400000000000000000000000000000000000000600082015250565b6000613a40600d83612c5f565b9150613a4b82613a0a565b602082019050919050565b60006020820190508181036000830152613a6f81613a33565b9050919050565b7f414c524541445920434c41494d45440000000000000000000000000000000000600082015250565b6000613aac600f83612c5f565b9150613ab782613a76565b602082019050919050565b60006020820190508181036000830152613adb81613a9f565b9050919050565b6000613aed82612d0f565b9150613af883612d0f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b3157613b306134bb565b5b828202905092915050565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b6000613b72601283612c5f565b9150613b7d82613b3c565b602082019050919050565b60006020820190508181036000830152613ba181613b65565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613c04602683612c5f565b9150613c0f82613ba8565b604082019050919050565b60006020820190508181036000830152613c3381613bf7565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613c70602083612c5f565b9150613c7b82613c3a565b602082019050919050565b60006020820190508181036000830152613c9f81613c63565b9050919050565b613caf816132bf565b82525050565b6000604082019050613cca6000830185612da4565b613cd76020830184613ca6565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000613d0582613cde565b613d0f8185613ce9565b9350613d1f818560208601612c70565b613d2881612ca3565b840191505092915050565b6000608082019050613d486000830187612da4565b613d556020830186612da4565b613d626040830185612dce565b8181036060830152613d748184613cfa565b905095945050505050565b600081519050613d8e81612bc5565b92915050565b600060208284031215613daa57613da9612b8f565b5b6000613db884828501613d7f565b91505092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000613df7601c83613755565b9150613e0282613dc1565b601c82019050919050565b6000819050919050565b6000819050919050565b613e32613e2d82613e0d565b613e17565b82525050565b6000613e4382613dea565b9150613e4f8284613e21565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000613ec3601883612c5f565b9150613ece82613e8d565b602082019050919050565b60006020820190508181036000830152613ef281613eb6565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000613f2f601f83612c5f565b9150613f3a82613ef9565b602082019050919050565b60006020820190508181036000830152613f5e81613f22565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000613fc1602283612c5f565b9150613fcc82613f65565b604082019050919050565b60006020820190508181036000830152613ff081613fb4565b9050919050565b61400081613e0d565b82525050565b600060808201905061401b6000830187613ff7565b6140286020830186613ca6565b6140356040830185613ff7565b6140426060830184613ff7565b9594505050505056fea2646970667358221220faa79a48ebdaf2dff3d60e4ce76711f3dc5fac8a71aefb1fe54bb89bb765a27364736f6c634300080d0033

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.