ETH Price: $3,466.14 (+0.48%)
Gas: 6 Gwei

Token

Metaverse Nights Issue #01 (MNI1)
 

Overview

Max Total Supply

395 MNI1

Holders

188

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
klinkov.eth
Balance
1 MNI1
0x8918bd1a740bf60850c6c872b6c71f4303e84fbe
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Metaverse Nights Issue by MultiNFT.io is an AI-designed, educational comic book that takes readers on a journey through the world of web3 and the Metaverse.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
METAVERSE_NIGHTS_FIRST_ISSUE

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-03-16
*/

// Sources flattened with hardhat v2.13.0 https://hardhat.org

// File contracts/IERC721A.sol

// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores 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 via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @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() external view returns (uint256);

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 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`,
     * 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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

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

    /**
     * @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](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}


// File contracts/ERC721A.sol

// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `1`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // 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 `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 internal _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 => TokenApprovalRef) private _tokenApprovals;

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual 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 virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - 1` times.
        unchecked {
            return _currentIndex - _burnCounter - 1;
        }
    }

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

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

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) _revert(BalanceQueryForZeroAddress.selector);
        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 virtual {
        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;
    }

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    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: [ERC165](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.
    }

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

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view virtual override returns (string memory) {
        if (!_exists(tokenId)) _revert(URIQueryForNonexistentToken.selector);

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

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

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

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

    /**
     * @dev Returns whether the ownership slot at `index` is initialized.
     * An uninitialized slot does not necessarily mean that the slot has no owner.
     */
    function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) {
        return _packedOwnerships[index] != 0;
    }

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

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) {
        if (1 <= tokenId) {
            packed = _packedOwnerships[tokenId];
            // If the data at the starting slot does not exist, start the scan.
            if (packed == 0) {
                if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector);
                // Invariant:
                // There will always be an initialized ownership slot
                // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                // before an unintialized ownership slot
                // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                // Hence, `tokenId` will not underflow.
                //
                // We can directly compare the packed value.
                // If the address is zero, packed will be zero.
                for (;;) {
                    unchecked {
                        packed = _packedOwnerships[--tokenId];
                    }
                    if (packed == 0) continue;
                    if (packed & _BITMASK_BURNED == 0) return packed;
                    // Otherwise, the token is burned, and we must revert.
                    // This handles the case of batch burned tokens, where only the burned bit
                    // of the starting slot is set, and remaining slots are left uninitialized.
                    _revert(OwnerQueryForNonexistentToken.selector);
                }
            }
            // Otherwise, the data exists and we can skip the scan.
            // This is possible because we have already achieved the target condition.
            // This saves 2143 gas on transfers of initialized tokens.
            // If the token is not burned, return `packed`. Otherwise, revert.
            if (packed & _BITMASK_BURNED == 0) return packed;
        }
        _revert(OwnerQueryForNonexistentToken.selector);
    }

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

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

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        _approve(to, tokenId, true);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) _revert(ApprovalQueryForNonexistentToken.selector);

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[msg.sender][operator] = approved;
        emit ApprovalForAll(msg.sender, operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool result) {
        if (1 <= tokenId) {
            if (tokenId < _currentIndex) {
                uint256 packed;
                while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId;
                result = packed & _BITMASK_BURNED == 0;
            }
        }
    }

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
        from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS));

        if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector);

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

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, msg.sender))
            if (!isApprovedForAll(from, msg.sender)) _revert(TransferCallerNotOwnerNorApproved.selector);

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

        // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
        uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;
        assembly {
            // Emit the `Transfer` event.
            log4(
                0, // Start of data (0, since no data).
                0, // End of data (0, since no data).
                _TRANSFER_EVENT_SIGNATURE, // Signature.
                from, // `from`.
                toMasked, // `to`.
                tokenId // `tokenId`.
            )
        }
        if (toMasked == 0) _revert(TransferToZeroAddress.selector);

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                _revert(TransferToNonERC721ReceiverImplementer.selector);
            }
    }

    /**
     * @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns 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(msg.sender, from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                _revert(TransferToNonERC721ReceiverImplementer.selector);
            }
            assembly {
                revert(add(32, reason), mload(reason))
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @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 virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) _revert(MintZeroQuantity.selector);

        _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:
            // - `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)
            );

            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
            uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;

            if (toMasked == 0) _revert(MintToZeroAddress.selector);

            uint256 end = startTokenId + quantity;
            uint256 tokenId = startTokenId;

            do {
                assembly {
                    // Emit the `Transfer` event.
                    log4(
                        0, // Start of data (0, since no data).
                        0, // End of data (0, since no data).
                        _TRANSFER_EVENT_SIGNATURE, // Signature.
                        0, // `address(0)`.
                        toMasked, // `to`.
                        tokenId // `tokenId`.
                    )
                }
                // The `!=` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
            } 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 virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) _revert(MintToZeroAddress.selector);
        if (quantity == 0) _revert(MintZeroQuantity.selector);
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector);

        _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 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 virtual {
        _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.selector);
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) _revert(bytes4(0));
            }
        }
    }

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

    // =============================================================
    //                       APPROVAL OPERATIONS
    // =============================================================

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

    /**
     * @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:
     *
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        address owner = ownerOf(tokenId);

        if (approvalCheck && msg.sender != owner)
            if (!isApprovedForAll(owner, msg.sender)) {
                _revert(ApprovalCallerNotOwnerNorApproved.selector);
            }

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

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @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) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, msg.sender))
                if (!isApprovedForAll(from, msg.sender)) _revert(TransferCallerNotOwnerNorApproved.selector);
        }

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

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) _revert(OwnershipNotInitializedForExtraData.selector);
        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 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 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;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

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

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

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

    /**
     * @dev For more efficient reverts.
     */
    function _revert(bytes4 errorSelector) internal pure {
        assembly {
            mstore(0x00, errorSelector)
            revert(0x00, 0x04)
        }
    }
}


// File contracts/MetaverseNightsFirstIssue.sol

// Updated to start tokenId from 1

pragma solidity ^0.8.11;

contract METAVERSE_NIGHTS_FIRST_ISSUE is ERC721A {
    
    // =============================================================
    //                           ERRORS
    // =============================================================

    error NoUndergoinSpecialSale();

    error MintDisabled();

    error NotEnoughEtherForMinting();

    error MintLimitByUserReached();

    error MintQuantityExceedsMaxSupply();

    // =============================================================
    //                           EVENTS
    // =============================================================

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    event SpecialSaleClaim(address from, uint8 quantity, uint8 saleId);

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of `price` in packed collection metadata.
    uint256 internal constant _BITMASK_PRICE_ENTRY = (1 << 128) - 1;

    // Mask of all 256 bits in packed address data except the 128 bits for `price`.
    uint256 internal constant _BITMASK_PRICE_COMPLEMENT = ~uint256(0) ^ _BITMASK_PRICE_ENTRY;

    // Mask of `maxSupply` in packed collection metadata.
    uint256 internal constant _BITMASK_MAX_SUPPLY_ENTRY = (1 << 60) - 1;

    // The bit position of `maxSupply` in packed address data.
    uint256 internal constant _BITPOS_MAX_SUPPLY = 128;

    // Mask of all 256 bits in packed address data except the 60 bits for `maxSupply`.
    uint256 internal constant _BITMASK_MAX_SUPPLY_COMPLEMENT = ~uint256(0) ^ (_BITMASK_MAX_SUPPLY_ENTRY << _BITPOS_MAX_SUPPLY);
    
    // Mask of `userMintLimit` in packed collection metadata.
    uint256 internal constant _BITMASK_USER_MINT_LIMIT_ENTRY = (1 << 60) - 1;

    // The bit position of `userMintLimit` in packed address data.
    uint256 internal constant _BITPOS_USER_MINT_LIMIT = 188;

    // Mask of all 256 bits in packed address data except the 60 bits for `userMintLimit`.
    uint256 internal constant _BITMASK_USER_MINT_LIMIT_COMPLEMENT = ~uint256(0) ^ (_BITMASK_USER_MINT_LIMIT_ENTRY << _BITPOS_USER_MINT_LIMIT);

    // Mask of `state` in packed collection metadata.
    uint256 internal constant _BITMASK_STATE_ENTRY = (1 << 8) - 1;

    // The bit position of `state` in packed address data.
    uint256 internal constant _BITPOS_STATE = 248;

    // Mask of all 256 bits in a packed ownership except the 8 bits for `state`.
    uint256 private constant _BITMASK_STATE_COMPLEMENT = (1 << _BITPOS_STATE) - 1;

    // =============================================================
    //                           STORAGE
    // =============================================================    

    address private _contractOwner;
    string  private _URIPrefix = "";

    // Bits Layout:
    // - [0..127]       `price`
    // - [128..187]     `maxSupply`
    // - [188..247]     `userMintLimit`
    // - [248..255]     `state` // 0: paused, 1: standard mint, >= 2: special sales
    uint256 private _packedCollectionData = (0.05 ether)
                                            + (1000 << _BITPOS_MAX_SUPPLY)
                                            + (10 << _BITPOS_USER_MINT_LIMIT);

    constructor()
        ERC721A("Metaverse Nights Issue #01", "MNI1")
    {
        _contractOwner = msg.sender;
        // _mintERC2309(msg.sender, 209);
    }

    modifier onlyOwner() {
        require(msg.sender == _contractOwner, "Must be contract owner");
        _;
    }

    /** 
    @notice Handle specials sales behavior (_state >= 2)
    @param quantity Quantity to mint.
     */
    function specialSale(uint256 quantity) external payable {
        uint256 packedData = _packedCollectionData;
        if (((packedData >> _BITPOS_STATE) & _BITMASK_STATE_ENTRY) < 2) _revert(NoUndergoinSpecialSale.selector);
        if (msg.value < (quantity * (packedData & _BITMASK_PRICE_ENTRY))) _revert(NotEnoughEtherForMinting.selector);
        if (balanceOf(msg.sender) + quantity > ((packedData >> _BITPOS_USER_MINT_LIMIT) & _BITMASK_USER_MINT_LIMIT_ENTRY)) _revert(MintLimitByUserReached.selector);
        if ((_currentIndex - 1 + quantity) > ((packedData >> _BITPOS_MAX_SUPPLY) & _BITMASK_MAX_SUPPLY_ENTRY)) _revert(MintQuantityExceedsMaxSupply.selector);
        emit SpecialSaleClaim(msg.sender, uint8(quantity), uint8((packedData >> _BITPOS_STATE) & _BITMASK_STATE_ENTRY));
    }

    /** 
    @notice Mint {quantity} for recipient account
    @param recipient Recipient account's address.
    @param quantity Quantity to mint.
     */
    function mintForAddress(address recipient, uint256 quantity) external payable onlyOwner {
        uint256 packedData = _packedCollectionData;
        if ((_currentIndex - 1 + quantity) > ((packedData >> _BITPOS_MAX_SUPPLY) & _BITMASK_MAX_SUPPLY_ENTRY)) _revert(MintQuantityExceedsMaxSupply.selector);
        _mint(recipient, quantity);
    }

    /** 
    @notice Mint {quantity}
    @param quantity Quantity to mint.
     */
    function mint(uint256 quantity) external payable {
        uint256 packedData = _packedCollectionData;
        if ((packedData >> _BITPOS_STATE) != 1) _revert(MintDisabled.selector);
        if ((_currentIndex - 1 + quantity) > ((packedData >> _BITPOS_MAX_SUPPLY) & _BITMASK_MAX_SUPPLY_ENTRY)) _revert(MintQuantityExceedsMaxSupply.selector);
        if (balanceOf(msg.sender) + quantity > ((packedData >> _BITPOS_USER_MINT_LIMIT) & _BITMASK_USER_MINT_LIMIT_ENTRY)) _revert(MintLimitByUserReached.selector);
        if (msg.value < (quantity * (packedData & _BITMASK_PRICE_ENTRY))) _revert(NotEnoughEtherForMinting.selector);
        if (!isContract(msg.sender)) {
            _mint(msg.sender, quantity);
        }
        else {
            _safeMint(msg.sender, quantity, '');
        }
    }

    function setURIPrefix(string calldata newURIPrefix) external payable onlyOwner {
        _URIPrefix = newURIPrefix;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 _tokenId) 
        external
        view
        override
        returns (string memory)
    {
        require(
            _exists(_tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        string memory currentBaseURI = _URIPrefix;
        return
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        _toString(_tokenId),
                        '.json'
                    )
                )
                : "";
    }

    function setState(uint256 newState) external payable onlyOwner {
        _packedCollectionData = (_packedCollectionData & _BITMASK_STATE_COMPLEMENT) | ((newState & _BITMASK_STATE_ENTRY) << _BITPOS_STATE);
    }

    function state() external view returns (uint256) {
        return (_packedCollectionData >> _BITPOS_STATE) & _BITMASK_STATE_ENTRY;
    }

    function setPrice(uint256 newPrice) external payable onlyOwner {
        _packedCollectionData = (_packedCollectionData & _BITMASK_PRICE_COMPLEMENT) | (newPrice & _BITMASK_PRICE_ENTRY);
    }

    function price() external view returns (uint256) {
        return _packedCollectionData & _BITMASK_PRICE_ENTRY;
    }

    function setMaxSupply(uint256 newMaxSupply) external payable onlyOwner {
        _packedCollectionData = (_packedCollectionData & _BITMASK_MAX_SUPPLY_COMPLEMENT) | ((newMaxSupply & _BITMASK_MAX_SUPPLY_ENTRY) << _BITPOS_MAX_SUPPLY);
    }

    function maxSupply() external view returns (uint256) {
        return (_packedCollectionData >> _BITPOS_MAX_SUPPLY) & _BITMASK_MAX_SUPPLY_ENTRY;
    }

    function setUserMintLimit(uint256 newUserMintLimit) external payable onlyOwner {
        _packedCollectionData = (_packedCollectionData & _BITMASK_USER_MINT_LIMIT_COMPLEMENT) | ((newUserMintLimit & _BITMASK_USER_MINT_LIMIT_ENTRY) << _BITPOS_USER_MINT_LIMIT);
    }

    function userMintLimit() external view returns (uint256) {
        return (_packedCollectionData >> _BITPOS_USER_MINT_LIMIT) & _BITMASK_USER_MINT_LIMIT_ENTRY;
    }

    function owner() external view returns (address) {
        return _contractOwner;
    }

    function withdraw() external payable onlyOwner {
        (bool os, ) = payable(_contractOwner).call{value: address(this).balance}("");
        require(os);
    }

    function transferOwnership(address newOwner) external payable onlyOwner {
        require(newOwner != address(0), "New owner is the zero address");
        address oldOwner = _contractOwner;
        _contractOwner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }

    function isContract(address _contract) internal view returns (bool) {
        uint256 contractSize;
        assembly {
            contractSize := extcodesize(_contract)
        }
        return contractSize > 0;
    }

    receive() external payable {}

    fallback (bytes calldata _input) external payable returns (bytes memory _output) {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintDisabled","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintLimitByUserReached","type":"error"},{"inputs":[],"name":"MintQuantityExceedsMaxSupply","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NoUndergoinSpecialSale","type":"error"},{"inputs":[],"name":"NotEnoughEtherForMinting","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":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint8","name":"quantity","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"saleId","type":"uint8"}],"name":"SpecialSaleClaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintForAddress","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","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":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newState","type":"uint256"}],"name":"setState","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"newURIPrefix","type":"string"}],"name":"setURIPrefix","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newUserMintLimit","type":"uint256"}],"name":"setUserMintLimit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"specialSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"state","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"userMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a0604052600060809081526009906200001a90826200018c565b50600560bd1b62000037607d60831b66b1a2bc2ec5000062000258565b62000043919062000258565b600a553480156200005357600080fd5b506040518060400160405280601a81526020017f4d6574617665727365204e696768747320497373756520233031000000000000815250604051806040016040528060048152602001634d4e493160e01b8152508160029081620000b891906200018c565b506003620000c782826200018c565b5050600160005550600880546001600160a01b0319163317905562000280565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200011257607f821691505b6020821081036200013357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200018757600081815260208120601f850160051c81016020861015620001625750805b601f850160051c820191505b8181101562000183578281556001016200016e565b5050505b505050565b81516001600160401b03811115620001a857620001a8620000e7565b620001c081620001b98454620000fd565b8462000139565b602080601f831160018114620001f85760008415620001df5750858301515b600019600386901b1c1916600185901b17855562000183565b600085815260208120601f198616915b82811015620002295788860151825594840194600190910190840162000208565b5085821015620002485787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200027a57634e487b7160e01b600052601160045260246000fd5b92915050565b6123c680620002906000396000f3fe6080604052600436106101c65760003560e01c8063849ba39a116100f7578063a9e966b711610095578063d5abeb0111610064578063d5abeb01146104b2578063e985e9c5146104d5578063f254933d1461052b578063f2fde38b1461053e576101cd565b8063a9e966b714610454578063b88d4fde14610467578063c19d93fb1461047a578063c87b56dd14610492576101cd565b806395d89b41116100d157806395d89b41146103e5578063a035b1fe146103fa578063a0712d6814610421578063a22cb46514610434576101cd565b8063849ba39a146103945780638da5cb5b146103a757806391b7f5ed146103d2576101cd565b806342842e0e116101645780636bc1ef231161013e5780636bc1ef231461032b5780636bff2c241461034e5780636f8b44b01461036157806370a0823114610374576101cd565b806342842e0e146102e55780636352211e146102f857806369a31fc614610318576101cd565b8063095ea7b3116101a0578063095ea7b31461027057806318160ddd1461028557806323b872dd146102ca5780633ccfd60b146102dd576101cd565b806301ffc9a7146101d457806306fdde0314610209578063081812fc1461022b576101cd565b366101cd57005b6060516080f35b3480156101e057600080fd5b506101f46101ef366004611d11565b610551565b60405190151581526020015b60405180910390f35b34801561021557600080fd5b5061021e610636565b6040516102009190611d9c565b34801561023757600080fd5b5061024b610246366004611daf565b6106c8565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610200565b61028361027e366004611dec565b610729565b005b34801561029157600080fd5b50600154600054037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff015b604051908152602001610200565b6102836102d8366004611e16565b610739565b610283610998565b6102836102f3366004611e16565b610a8e565b34801561030457600080fd5b5061024b610313366004611daf565b610aae565b610283610326366004611daf565b610ab9565b34801561033757600080fd5b506102bc600a5460bc1c670fffffffffffffff1690565b61028361035c366004611e52565b610b91565b61028361036f366004611daf565b610c1f565b34801561038057600080fd5b506102bc61038f366004611ec4565b610cf0565b6102836103a2366004611daf565b610d69565b3480156103b357600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff1661024b565b6102836103e0366004611daf565b610ee1565b3480156103f157600080fd5b5061021e610fa5565b34801561040657600080fd5b50600a546fffffffffffffffffffffffffffffffff166102bc565b61028361042f366004611daf565b610fb4565b34801561044057600080fd5b5061028361044f366004611edf565b61110c565b610283610462366004611daf565b6111a3565b610283610475366004611f4a565b611284565b34801561048657600080fd5b50600a5460f81c6102bc565b34801561049e57600080fd5b5061021e6104ad366004611daf565b6112eb565b3480156104be57600080fd5b506102bc600a5460801c670fffffffffffffff1690565b3480156104e157600080fd5b506101f46104f0366004612044565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260076020908152604080832093909416825291909152205460ff1690565b610283610539366004611dec565b611461565b61028361054c366004611ec4565b611549565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806105e457507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b8061063057507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606002805461064590612077565b80601f016020809104026020016040519081016040528092919081815260200182805461067190612077565b80156106be5780601f10610693576101008083540402835291602001916106be565b820191906000526020600020905b8154815290600101906020018083116106a157829003601f168201915b5050505050905090565b60006106d3826116be565b610700576107007fcf4700e400000000000000000000000000000000000000000000000000000000611725565b5060009081526006602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6107358282600161172f565b5050565b600061074482611847565b73ffffffffffffffffffffffffffffffffffffffff9485169490915081168414610791576107917fa114810000000000000000000000000000000000000000000000000000000000611725565b6000828152600660205260409020805473ffffffffffffffffffffffffffffffffffffffff861633908114908214176108255773ffffffffffffffffffffffffffffffffffffffff8616600090815260076020908152604080832033845290915290205460ff16610825576108257f59c896be00000000000000000000000000000000000000000000000000000000611725565b801561083057600082555b73ffffffffffffffffffffffffffffffffffffffff86811660009081526005602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600460205260408120919091557c02000000000000000000000000000000000000000000000000000000008416900361091f5760018401600081815260046020526040812054900361091d57600054811461091d5760008181526004602052604090208490555b505b73ffffffffffffffffffffffffffffffffffffffff85168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48060000361098f5761098f7fea553b3400000000000000000000000000000000000000000000000000000000611725565b50505050505050565b60085473ffffffffffffffffffffffffffffffffffffffff163314610a1e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e65720000000000000000000060448201526064015b60405180910390fd5b60085460405160009173ffffffffffffffffffffffffffffffffffffffff169047908381818185875af1925050503d8060008114610a78576040519150601f19603f3d011682016040523d82523d6000602084013e610a7d565b606091505b5050905080610a8b57600080fd5b50565b610aa983838360405180602001604052806000815250611284565b505050565b600061063082611847565b60085473ffffffffffffffffffffffffffffffffffffffff163314610b3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610a15565b600a805460bc9290921b7efffffffffffffff00000000000000000000000000000000000000000000000167fff000000000000000fffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b60085473ffffffffffffffffffffffffffffffffffffffff163314610c12576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610a15565b6009610aa9828483612118565b60085473ffffffffffffffffffffffffffffffffffffffff163314610ca0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610a15565b600a805460809290921b770fffffffffffffff00000000000000000000000000000000167ffffffffffffffffff000000000000000ffffffffffffffffffffffffffffffff909216919091179055565b600073ffffffffffffffffffffffffffffffffffffffff8216610d3657610d367f8f4eb60400000000000000000000000000000000000000000000000000000000611725565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526005602052604090205467ffffffffffffffff1690565b600a54600260f882901c1015610da257610da27f26aea63b00000000000000000000000000000000000000000000000000000000611725565b610dbe6fffffffffffffffffffffffffffffffff821683612261565b341015610dee57610dee7f9f4c2ed100000000000000000000000000000000000000000000000000000000611725565b670fffffffffffffff60bc82901c1682610e0733610cf0565b610e119190612278565b1115610e4057610e407f020fc3a400000000000000000000000000000000000000000000000000000000611725565b670fffffffffffffff608082901c16826001600054610e5f919061228b565b610e699190612278565b1115610e9857610e987f4ef4aa6600000000000000000000000000000000000000000000000000000000611725565b6040805133815260ff8416602082015260f883901c8183015290517ff950e357581519ba25df5cfd1286df69f2ba941261e5e3a63b4c8650fbe00bb69181900360600190a15050565b60085473ffffffffffffffffffffffffffffffffffffffff163314610f62576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610a15565b600a80547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b60606003805461064590612077565b600a54600160f882901c14610fec57610fec7f17efbd6b00000000000000000000000000000000000000000000000000000000611725565b670fffffffffffffff608082901c1682600160005461100b919061228b565b6110159190612278565b1115611044576110447f4ef4aa6600000000000000000000000000000000000000000000000000000000611725565b670fffffffffffffff60bc82901c168261105d33610cf0565b6110679190612278565b1115611096576110967f020fc3a400000000000000000000000000000000000000000000000000000000611725565b6110b26fffffffffffffffffffffffffffffffff821683612261565b3410156110e2576110e27f9f4c2ed100000000000000000000000000000000000000000000000000000000611725565b333b6110f2576107353383611983565b610735338360405180602001604052806000815250611a82565b33600081815260076020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60085473ffffffffffffffffffffffffffffffffffffffff163314611224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610a15565b7fff0000000000000000000000000000000000000000000000000000000000000060f882901b1661127660017f010000000000000000000000000000000000000000000000000000000000000061228b565b600a541617600a8190555050565b61128f848484610739565b73ffffffffffffffffffffffffffffffffffffffff83163b156112e5576112b884848484611b11565b6112e5576112e57fd1a57ed600000000000000000000000000000000000000000000000000000000611725565b50505050565b60606112f6826116be565b611382576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610a15565b60006009805461139190612077565b80601f01602080910402602001604051908101604052809291908181526020018280546113bd90612077565b801561140a5780601f106113df5761010080835404028352916020019161140a565b820191906000526020600020905b8154815290600101906020018083116113ed57829003601f168201915b50505050509050600081511161142f576040518060200160405280600081525061145a565b8061143984611c81565b60405160200161144a92919061229e565b6040516020818303038152906040525b9392505050565b60085473ffffffffffffffffffffffffffffffffffffffff1633146114e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610a15565b600a54600054608082901c670fffffffffffffff169083906115069060019061228b565b6115109190612278565b111561153f5761153f7f4ef4aa6600000000000000000000000000000000000000000000000000000000611725565b610aa98383611983565b60085473ffffffffffffffffffffffffffffffffffffffff1633146115ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610a15565b73ffffffffffffffffffffffffffffffffffffffff8116611647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4e6577206f776e657220697320746865207a65726f20616464726573730000006044820152606401610a15565b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600081600111611720576000548210156117205760005b50600082815260046020526040812054908190036116fd576116f6836122f5565b92506116d5565b7c0100000000000000000000000000000000000000000000000000000000161590505b919050565b8060005260046000fd5b600061173a83610aae565b905081801561175f57503373ffffffffffffffffffffffffffffffffffffffff821614155b156117c55773ffffffffffffffffffffffffffffffffffffffff8116600090815260076020908152604080832033845290915290205460ff166117c5576117c57fcfb3b94200000000000000000000000000000000000000000000000000000000611725565b60008381526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff88811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b60008160011161195a57506000818152600460205260408120549081900361192e57600054821061189b5761189b7fdf2d9b4200000000000000000000000000000000000000000000000000000000611725565b5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01600081815260046020526040902054801561189c577c0100000000000000000000000000000000000000000000000000000000811660000361190057919050565b6119297fdf2d9b4200000000000000000000000000000000000000000000000000000000611725565b61189c565b7c0100000000000000000000000000000000000000000000000000000000811660000361195a57919050565b6117207fdf2d9b4200000000000000000000000000000000000000000000000000000000611725565b60008054908290036119b8576119b87fb562e8dd00000000000000000000000000000000000000000000000000000000611725565b600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87164260a01b6001881460e11b17811790915580845260059092528220805468010000000000000001860201905590819003611a3d57611a3d7f2e07630000000000000000000000000000000000000000000000000000000000611725565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508103611a42575060005550505050565b611a8c8383611983565b73ffffffffffffffffffffffffffffffffffffffff83163b15610aa9576000548281035b611ac36000868380600101945086611b11565b611af057611af07fd1a57ed600000000000000000000000000000000000000000000000000000000611725565b818110611ab0578160005414611b0a57611b0a6000611725565b5050505050565b6040517f150b7a0200000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290611b6c90339089908890889060040161232a565b6020604051808303816000875af1925050508015611bc5575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611bc291810190612373565b60015b611c33573d808015611bf3576040519150601f19603f3d011682016040523d82523d6000602084013e611bf8565b606091505b508051600003611c2b57611c2b7fd1a57ed600000000000000000000000000000000000000000000000000000000611725565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611c9b57508190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909101908152919050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610a8b57600080fd5b600060208284031215611d2357600080fd5b813561145a81611ce3565b60005b83811015611d49578181015183820152602001611d31565b50506000910152565b60008151808452611d6a816020860160208601611d2e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061145a6020830184611d52565b600060208284031215611dc157600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461172057600080fd5b60008060408385031215611dff57600080fd5b611e0883611dc8565b946020939093013593505050565b600080600060608486031215611e2b57600080fd5b611e3484611dc8565b9250611e4260208501611dc8565b9150604084013590509250925092565b60008060208385031215611e6557600080fd5b823567ffffffffffffffff80821115611e7d57600080fd5b818501915085601f830112611e9157600080fd5b813581811115611ea057600080fd5b866020828501011115611eb257600080fd5b60209290920196919550909350505050565b600060208284031215611ed657600080fd5b61145a82611dc8565b60008060408385031215611ef257600080fd5b611efb83611dc8565b915060208301358015158114611f1057600080fd5b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060008060808587031215611f6057600080fd5b611f6985611dc8565b9350611f7760208601611dc8565b925060408501359150606085013567ffffffffffffffff80821115611f9b57600080fd5b818701915087601f830112611faf57600080fd5b813581811115611fc157611fc1611f1b565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561200757612007611f1b565b816040528281528a602084870101111561202057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561205757600080fd5b61206083611dc8565b915061206e60208401611dc8565b90509250929050565b600181811c9082168061208b57607f821691505b6020821081036120c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f821115610aa957600081815260208120601f850160051c810160208610156120f15750805b601f850160051c820191505b81811015612110578281556001016120fd565b505050505050565b67ffffffffffffffff83111561213057612130611f1b565b6121448361213e8354612077565b836120ca565b6000601f84116001811461219657600085156121605750838201355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b1c1916600186901b178355611b0a565b6000838152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0861690835b828110156121e557868501358255602094850194600190920191016121c5565b5086821015612220577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88860031b161c19848701351681555b505060018560011b0183555050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808202811582820484141761063057610630612232565b8082018082111561063057610630612232565b8181038181111561063057610630612232565b600083516122b0818460208801611d2e565b8351908301906122c4818360208801611d2e565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b60008161230457612304612232565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526123696080830184611d52565b9695505050505050565b60006020828403121561238557600080fd5b815161145a81611ce356fea26469706673582212203e841a259648a025b96f9dd8294fb56f37eda8e0db846a365df52d34bb1057f664736f6c63430008130033

Deployed Bytecode

0x6080604052600436106101c65760003560e01c8063849ba39a116100f7578063a9e966b711610095578063d5abeb0111610064578063d5abeb01146104b2578063e985e9c5146104d5578063f254933d1461052b578063f2fde38b1461053e576101cd565b8063a9e966b714610454578063b88d4fde14610467578063c19d93fb1461047a578063c87b56dd14610492576101cd565b806395d89b41116100d157806395d89b41146103e5578063a035b1fe146103fa578063a0712d6814610421578063a22cb46514610434576101cd565b8063849ba39a146103945780638da5cb5b146103a757806391b7f5ed146103d2576101cd565b806342842e0e116101645780636bc1ef231161013e5780636bc1ef231461032b5780636bff2c241461034e5780636f8b44b01461036157806370a0823114610374576101cd565b806342842e0e146102e55780636352211e146102f857806369a31fc614610318576101cd565b8063095ea7b3116101a0578063095ea7b31461027057806318160ddd1461028557806323b872dd146102ca5780633ccfd60b146102dd576101cd565b806301ffc9a7146101d457806306fdde0314610209578063081812fc1461022b576101cd565b366101cd57005b6060516080f35b3480156101e057600080fd5b506101f46101ef366004611d11565b610551565b60405190151581526020015b60405180910390f35b34801561021557600080fd5b5061021e610636565b6040516102009190611d9c565b34801561023757600080fd5b5061024b610246366004611daf565b6106c8565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610200565b61028361027e366004611dec565b610729565b005b34801561029157600080fd5b50600154600054037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff015b604051908152602001610200565b6102836102d8366004611e16565b610739565b610283610998565b6102836102f3366004611e16565b610a8e565b34801561030457600080fd5b5061024b610313366004611daf565b610aae565b610283610326366004611daf565b610ab9565b34801561033757600080fd5b506102bc600a5460bc1c670fffffffffffffff1690565b61028361035c366004611e52565b610b91565b61028361036f366004611daf565b610c1f565b34801561038057600080fd5b506102bc61038f366004611ec4565b610cf0565b6102836103a2366004611daf565b610d69565b3480156103b357600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff1661024b565b6102836103e0366004611daf565b610ee1565b3480156103f157600080fd5b5061021e610fa5565b34801561040657600080fd5b50600a546fffffffffffffffffffffffffffffffff166102bc565b61028361042f366004611daf565b610fb4565b34801561044057600080fd5b5061028361044f366004611edf565b61110c565b610283610462366004611daf565b6111a3565b610283610475366004611f4a565b611284565b34801561048657600080fd5b50600a5460f81c6102bc565b34801561049e57600080fd5b5061021e6104ad366004611daf565b6112eb565b3480156104be57600080fd5b506102bc600a5460801c670fffffffffffffff1690565b3480156104e157600080fd5b506101f46104f0366004612044565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260076020908152604080832093909416825291909152205460ff1690565b610283610539366004611dec565b611461565b61028361054c366004611ec4565b611549565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806105e457507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b8061063057507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606002805461064590612077565b80601f016020809104026020016040519081016040528092919081815260200182805461067190612077565b80156106be5780601f10610693576101008083540402835291602001916106be565b820191906000526020600020905b8154815290600101906020018083116106a157829003601f168201915b5050505050905090565b60006106d3826116be565b610700576107007fcf4700e400000000000000000000000000000000000000000000000000000000611725565b5060009081526006602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6107358282600161172f565b5050565b600061074482611847565b73ffffffffffffffffffffffffffffffffffffffff9485169490915081168414610791576107917fa114810000000000000000000000000000000000000000000000000000000000611725565b6000828152600660205260409020805473ffffffffffffffffffffffffffffffffffffffff861633908114908214176108255773ffffffffffffffffffffffffffffffffffffffff8616600090815260076020908152604080832033845290915290205460ff16610825576108257f59c896be00000000000000000000000000000000000000000000000000000000611725565b801561083057600082555b73ffffffffffffffffffffffffffffffffffffffff86811660009081526005602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600460205260408120919091557c02000000000000000000000000000000000000000000000000000000008416900361091f5760018401600081815260046020526040812054900361091d57600054811461091d5760008181526004602052604090208490555b505b73ffffffffffffffffffffffffffffffffffffffff85168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48060000361098f5761098f7fea553b3400000000000000000000000000000000000000000000000000000000611725565b50505050505050565b60085473ffffffffffffffffffffffffffffffffffffffff163314610a1e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e65720000000000000000000060448201526064015b60405180910390fd5b60085460405160009173ffffffffffffffffffffffffffffffffffffffff169047908381818185875af1925050503d8060008114610a78576040519150601f19603f3d011682016040523d82523d6000602084013e610a7d565b606091505b5050905080610a8b57600080fd5b50565b610aa983838360405180602001604052806000815250611284565b505050565b600061063082611847565b60085473ffffffffffffffffffffffffffffffffffffffff163314610b3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610a15565b600a805460bc9290921b7efffffffffffffff00000000000000000000000000000000000000000000000167fff000000000000000fffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b60085473ffffffffffffffffffffffffffffffffffffffff163314610c12576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610a15565b6009610aa9828483612118565b60085473ffffffffffffffffffffffffffffffffffffffff163314610ca0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610a15565b600a805460809290921b770fffffffffffffff00000000000000000000000000000000167ffffffffffffffffff000000000000000ffffffffffffffffffffffffffffffff909216919091179055565b600073ffffffffffffffffffffffffffffffffffffffff8216610d3657610d367f8f4eb60400000000000000000000000000000000000000000000000000000000611725565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526005602052604090205467ffffffffffffffff1690565b600a54600260f882901c1015610da257610da27f26aea63b00000000000000000000000000000000000000000000000000000000611725565b610dbe6fffffffffffffffffffffffffffffffff821683612261565b341015610dee57610dee7f9f4c2ed100000000000000000000000000000000000000000000000000000000611725565b670fffffffffffffff60bc82901c1682610e0733610cf0565b610e119190612278565b1115610e4057610e407f020fc3a400000000000000000000000000000000000000000000000000000000611725565b670fffffffffffffff608082901c16826001600054610e5f919061228b565b610e699190612278565b1115610e9857610e987f4ef4aa6600000000000000000000000000000000000000000000000000000000611725565b6040805133815260ff8416602082015260f883901c8183015290517ff950e357581519ba25df5cfd1286df69f2ba941261e5e3a63b4c8650fbe00bb69181900360600190a15050565b60085473ffffffffffffffffffffffffffffffffffffffff163314610f62576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610a15565b600a80547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055565b60606003805461064590612077565b600a54600160f882901c14610fec57610fec7f17efbd6b00000000000000000000000000000000000000000000000000000000611725565b670fffffffffffffff608082901c1682600160005461100b919061228b565b6110159190612278565b1115611044576110447f4ef4aa6600000000000000000000000000000000000000000000000000000000611725565b670fffffffffffffff60bc82901c168261105d33610cf0565b6110679190612278565b1115611096576110967f020fc3a400000000000000000000000000000000000000000000000000000000611725565b6110b26fffffffffffffffffffffffffffffffff821683612261565b3410156110e2576110e27f9f4c2ed100000000000000000000000000000000000000000000000000000000611725565b333b6110f2576107353383611983565b610735338360405180602001604052806000815250611a82565b33600081815260076020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60085473ffffffffffffffffffffffffffffffffffffffff163314611224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610a15565b7fff0000000000000000000000000000000000000000000000000000000000000060f882901b1661127660017f010000000000000000000000000000000000000000000000000000000000000061228b565b600a541617600a8190555050565b61128f848484610739565b73ffffffffffffffffffffffffffffffffffffffff83163b156112e5576112b884848484611b11565b6112e5576112e57fd1a57ed600000000000000000000000000000000000000000000000000000000611725565b50505050565b60606112f6826116be565b611382576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610a15565b60006009805461139190612077565b80601f01602080910402602001604051908101604052809291908181526020018280546113bd90612077565b801561140a5780601f106113df5761010080835404028352916020019161140a565b820191906000526020600020905b8154815290600101906020018083116113ed57829003601f168201915b50505050509050600081511161142f576040518060200160405280600081525061145a565b8061143984611c81565b60405160200161144a92919061229e565b6040516020818303038152906040525b9392505050565b60085473ffffffffffffffffffffffffffffffffffffffff1633146114e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610a15565b600a54600054608082901c670fffffffffffffff169083906115069060019061228b565b6115109190612278565b111561153f5761153f7f4ef4aa6600000000000000000000000000000000000000000000000000000000611725565b610aa98383611983565b60085473ffffffffffffffffffffffffffffffffffffffff1633146115ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520636f6e7472616374206f776e6572000000000000000000006044820152606401610a15565b73ffffffffffffffffffffffffffffffffffffffff8116611647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4e6577206f776e657220697320746865207a65726f20616464726573730000006044820152606401610a15565b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600081600111611720576000548210156117205760005b50600082815260046020526040812054908190036116fd576116f6836122f5565b92506116d5565b7c0100000000000000000000000000000000000000000000000000000000161590505b919050565b8060005260046000fd5b600061173a83610aae565b905081801561175f57503373ffffffffffffffffffffffffffffffffffffffff821614155b156117c55773ffffffffffffffffffffffffffffffffffffffff8116600090815260076020908152604080832033845290915290205460ff166117c5576117c57fcfb3b94200000000000000000000000000000000000000000000000000000000611725565b60008381526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff88811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b60008160011161195a57506000818152600460205260408120549081900361192e57600054821061189b5761189b7fdf2d9b4200000000000000000000000000000000000000000000000000000000611725565b5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01600081815260046020526040902054801561189c577c0100000000000000000000000000000000000000000000000000000000811660000361190057919050565b6119297fdf2d9b4200000000000000000000000000000000000000000000000000000000611725565b61189c565b7c0100000000000000000000000000000000000000000000000000000000811660000361195a57919050565b6117207fdf2d9b4200000000000000000000000000000000000000000000000000000000611725565b60008054908290036119b8576119b87fb562e8dd00000000000000000000000000000000000000000000000000000000611725565b600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87164260a01b6001881460e11b17811790915580845260059092528220805468010000000000000001860201905590819003611a3d57611a3d7f2e07630000000000000000000000000000000000000000000000000000000000611725565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508103611a42575060005550505050565b611a8c8383611983565b73ffffffffffffffffffffffffffffffffffffffff83163b15610aa9576000548281035b611ac36000868380600101945086611b11565b611af057611af07fd1a57ed600000000000000000000000000000000000000000000000000000000611725565b818110611ab0578160005414611b0a57611b0a6000611725565b5050505050565b6040517f150b7a0200000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290611b6c90339089908890889060040161232a565b6020604051808303816000875af1925050508015611bc5575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611bc291810190612373565b60015b611c33573d808015611bf3576040519150601f19603f3d011682016040523d82523d6000602084013e611bf8565b606091505b508051600003611c2b57611c2b7fd1a57ed600000000000000000000000000000000000000000000000000000000611725565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611c9b57508190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909101908152919050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610a8b57600080fd5b600060208284031215611d2357600080fd5b813561145a81611ce3565b60005b83811015611d49578181015183820152602001611d31565b50506000910152565b60008151808452611d6a816020860160208601611d2e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061145a6020830184611d52565b600060208284031215611dc157600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461172057600080fd5b60008060408385031215611dff57600080fd5b611e0883611dc8565b946020939093013593505050565b600080600060608486031215611e2b57600080fd5b611e3484611dc8565b9250611e4260208501611dc8565b9150604084013590509250925092565b60008060208385031215611e6557600080fd5b823567ffffffffffffffff80821115611e7d57600080fd5b818501915085601f830112611e9157600080fd5b813581811115611ea057600080fd5b866020828501011115611eb257600080fd5b60209290920196919550909350505050565b600060208284031215611ed657600080fd5b61145a82611dc8565b60008060408385031215611ef257600080fd5b611efb83611dc8565b915060208301358015158114611f1057600080fd5b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060008060808587031215611f6057600080fd5b611f6985611dc8565b9350611f7760208601611dc8565b925060408501359150606085013567ffffffffffffffff80821115611f9b57600080fd5b818701915087601f830112611faf57600080fd5b813581811115611fc157611fc1611f1b565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561200757612007611f1b565b816040528281528a602084870101111561202057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561205757600080fd5b61206083611dc8565b915061206e60208401611dc8565b90509250929050565b600181811c9082168061208b57607f821691505b6020821081036120c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f821115610aa957600081815260208120601f850160051c810160208610156120f15750805b601f850160051c820191505b81811015612110578281556001016120fd565b505050505050565b67ffffffffffffffff83111561213057612130611f1b565b6121448361213e8354612077565b836120ca565b6000601f84116001811461219657600085156121605750838201355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b1c1916600186901b178355611b0a565b6000838152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0861690835b828110156121e557868501358255602094850194600190920191016121c5565b5086821015612220577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88860031b161c19848701351681555b505060018560011b0183555050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808202811582820484141761063057610630612232565b8082018082111561063057610630612232565b8181038181111561063057610630612232565b600083516122b0818460208801611d2e565b8351908301906122c4818360208801611d2e565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b60008161230457612304612232565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526123696080830184611d52565b9695505050505050565b60006020828403121561238557600080fd5b815161145a81611ce356fea26469706673582212203e841a259648a025b96f9dd8294fb56f37eda8e0db846a365df52d34bb1057f664736f6c63430008130033

Deployed Bytecode Sourcemap

53154:9310:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62437:20;53154:9310;;;18172:639;;;;;;;;;;-1:-1:-1;18172:639:0;;;;;:::i;:::-;;:::i;:::-;;;611:14:1;;604:22;586:41;;574:2;559:18;18172:639:0;;;;;;;;19074:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26096:227::-;;;;;;;;;;-1:-1:-1;26096:227:0;;;;;:::i;:::-;;:::i;:::-;;;1814:42:1;1802:55;;;1784:74;;1772:2;1757:18;26096:227:0;1638:226:1;25813:124:0;;;;;;:::i;:::-;;:::i;:::-;;14872:295;;;;;;;;;;-1:-1:-1;15147:1:0;15132:12;14933:7;15116:13;:28;:32;;14872:295;;;2475:25:1;;;2463:2;2448:18;14872:295:0;2329:177:1;29798:3505:0;;;;;;:::i;:::-;;:::i;61638:164::-;;;:::i;33399:193::-;;;;;;:::i;:::-;;:::i;20478:152::-;;;;;;;;;;-1:-1:-1;20478:152:0;;;;;:::i;:::-;;:::i;61093:266::-;;;;;;:::i;:::-;;:::i;61367:166::-;;;;;;;;;;;;61443:21;;55180:3;61443:48;55038:13;61442:83;;61367:166;59167:123;;;;;;:::i;:::-;;:::i;60686:239::-;;;;;;:::i;:::-;;:::i;16000:242::-;;;;;;;;;;-1:-1:-1;16000:242:0;;;;;:::i;:::-;;:::i;56945:799::-;;;;;;:::i;:::-;;:::i;61541:89::-;;;;;;;;;;-1:-1:-1;61608:14:0;;;;61541:89;;60358:193;;;;;;:::i;:::-;;:::i;19250:104::-;;;;;;;;;;;;;:::i;60559:119::-;;;;;;;;;;-1:-1:-1;60626:21:0;;54230:14;60626:44;60559:119;;58353:806;;;;;;:::i;:::-;;:::i;26663:216::-;;;;;;;;;;-1:-1:-1;26663:216:0;;;;;:::i;:::-;;:::i;59992:212::-;;;;;;:::i;:::-;;:::i;34190:416::-;;;;;;:::i;:::-;;:::i;60212:138::-;;;;;;;;;;-1:-1:-1;60280:21:0;;55657:3;60280:38;60212:138;;59361:623;;;;;;;;;;-1:-1:-1;59361:623:0;;;;;:::i;:::-;;:::i;60933:152::-;;;;;;;;;;;;61005:21;;54681:3;61005:43;54548:13;61004:73;;60933:152;27036:164;;;;;;;;;;-1:-1:-1;27036:164:0;;;;;:::i;:::-;27157:25;;;;27133:4;27157:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27036:164;57912:346;;;;;;:::i;:::-;;:::i;61810:291::-;;;;;;:::i;:::-;;:::i;18172:639::-;18257:4;18581:25;;;;;;:102;;-1:-1:-1;18658:25:0;;;;;18581:102;:179;;;-1:-1:-1;18735:25:0;;;;;18581:179;18561:199;18172:639;-1:-1:-1;;18172:639:0:o;19074:100::-;19128:13;19161:5;19154:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19074:100;:::o;26096:227::-;26172:7;26197:16;26205:7;26197;:16::i;:::-;26192:73;;26215:50;26223:41;26215:7;:50::i;:::-;-1:-1:-1;26285:24:0;;;;:15;:24;;;;;:30;;;;26096:227::o;25813:124::-;25902:27;25911:2;25915:7;25924:4;25902:8;:27::i;:::-;25813:124;;:::o;29798:3505::-;29940:27;29970;29989:7;29970:18;:27::i;:::-;11920:14;30125:22;;;;29940:57;;-1:-1:-1;30185:45:0;;;;30181:95;;30232:44;30240:35;30232:7;:44::i;:::-;30290:27;28906:24;;;:15;:24;;;;;29134:26;;28235:16;28224:28;;30529:10;28509:20;;;28531:30;;;28506:56;30476:171;;27157:25;;;27133:4;27157:25;;;:18;:25;;;;;;;;30583:10;27157:35;;;;;;;;;;30555:92;;30596:51;30604:42;30596:7;:51::i;:::-;30796:15;30793:160;;;30936:1;30915:19;30908:30;30793:160;31333:24;;;;;;;;:18;:24;;;;;;31331:26;;;;;;31402:22;;;;;;;;;31400:24;;-1:-1:-1;31400:24:0;;;24915:11;24890:23;24886:41;24873:63;11518:8;24873:63;31695:26;;;;:17;:26;;;;;:175;;;;11518:8;31990:47;;:52;;31986:627;;32095:1;32085:11;;32063:19;32218:30;;;:17;:30;;;;;;:35;;32214:384;;32356:13;;32341:11;:28;32337:242;;32503:30;;;;:17;:30;;;;;:52;;;32337:242;32044:569;31986:627;11920:14;32745:20;;33125:7;32745:20;33055:4;32997:25;32726:16;;32862:299;33186:8;33198:1;33186:13;33182:58;;33201:39;33209:30;33201:7;:39::i;:::-;29929:3374;;;;29798:3505;;;:::o;61638:164::-;56760:14;;;;56746:10;:28;56738:63;;;;;;;6284:2:1;56738:63:0;;;6266:21:1;6323:2;6303:18;;;6296:30;6362:24;6342:18;;;6335:52;6404:18;;56738:63:0;;;;;;;;;61718:14:::1;::::0;61710:62:::1;::::0;61697:7:::1;::::0;61718:14:::1;;::::0;61746:21:::1;::::0;61697:7;61710:62;61697:7;61710:62;61746:21;61718:14;61710:62:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61696:76;;;61791:2;61783:11;;;::::0;::::1;;61685:117;61638:164::o:0;33399:193::-;33545:39;33562:4;33568:2;33572:7;33545:39;;;;;;;;;;;;:16;:39::i;:::-;33399:193;;;:::o;20478:152::-;20550:7;20593:27;20612:7;20593:18;:27::i;61093:266::-;56760:14;;;;56746:10;:28;56738:63;;;;;;;6284:2:1;56738:63:0;;;6266:21:1;6323:2;6303:18;;;6296:30;6362:24;6342:18;;;6335:52;6404:18;;56738:63:0;6082:346:1;56738:63:0;61208:21:::1;::::0;;55180:3:::1;61272:78:::0;;;;;;55348:73;61208:59;;::::1;61207:144:::0;;;::::1;61183:168:::0;;61093:266::o;59167:123::-;56760:14;;;;56746:10;:28;56738:63;;;;;;;6284:2:1;56738:63:0;;;6266:21:1;6323:2;6303:18;;;6296:30;6362:24;6342:18;;;6335:52;6404:18;;56738:63:0;6082:346:1;56738:63:0;59257:10:::1;:25;59270:12:::0;;59257:10;:25:::1;:::i;60686:239::-:0;56760:14;;;;56746:10;:28;56738:63;;;;;;;6284:2:1;56738:63:0;;;6266:21:1;6323:2;6303:18;;;6296:30;6362:24;6342:18;;;6335:52;6404:18;;56738:63:0;6082:346:1;56738:63:0;60793:21:::1;::::0;;54681:3:::1;60852:64:::0;;;;;;54840:63;60793:54;;::::1;60792:125:::0;;;::::1;60768:149:::0;;60686:239::o;16000:242::-;16072:7;16096:19;;;16092:69;;16117:44;16125:35;16117:7;:44::i;:::-;-1:-1:-1;16179:25:0;;;;;;:18;:25;;;;;;10462:13;16179:55;;16000:242::o;56945:799::-;57033:21;;57126:1;55657:3;57071:27;;;57069:58;57065:104;;;57129:40;57137:31;57129:7;:40::i;:::-;57197:46;54230:14;57209:33;;57197:8;:46;:::i;:::-;57184:9;:60;57180:108;;;57246:42;57254:33;57246:7;:42::i;:::-;55038:13;55180:3;57340:10;:37;;57339:72;57327:8;57303:21;57313:10;57303:9;:21::i;:::-;:32;;;;:::i;:::-;:109;57299:155;;;57414:40;57422:31;57414:7;:40::i;:::-;54548:13;54681:3;57504:10;:32;;57503:62;57490:8;57486:1;57470:13;;:17;;;;:::i;:::-;:28;;;;:::i;:::-;57469:97;57465:149;;;57568:46;57576:37;57568:7;:46::i;:::-;57630:106;;;57647:10;9699:74:1;;9821:4;9809:17;;9804:2;9789:18;;9782:45;55657:3:0;57683:27;;;9843:18:1;;;9836:45;57630:106:0;;;;;;;9687:2:1;57630:106:0;;;57001:743;56945:799;:::o;60358:193::-;56760:14;;;;56746:10;:28;56738:63;;;;;;;6284:2:1;56738:63:0;;;6266:21:1;6323:2;6303:18;;;6296:30;6362:24;6342:18;;;6335:52;6404:18;;56738:63:0;6082:346:1;56738:63:0;60457:21:::1;::::0;;54392:34;60457:49:::1;54230:14;60511:31:::0;;;::::1;60456:87:::0;;;::::1;60432:111:::0;;60358:193::o;19250:104::-;19306:13;19339:7;19332:14;;;;;:::i;58353:806::-;58434:21;;58503:1;55657:3;58471:27;;;58470:34;58466:70;;58506:30;58514:21;58506:7;:30::i;:::-;54548:13;54681:3;58586:10;:32;;58585:62;58572:8;58568:1;58552:13;;:17;;;;:::i;:::-;:28;;;;:::i;:::-;58551:97;58547:149;;;58650:46;58658:37;58650:7;:46::i;:::-;55038:13;55180:3;58748:10;:37;;58747:72;58735:8;58711:21;58721:10;58711:9;:21::i;:::-;:32;;;;:::i;:::-;:109;58707:155;;;58822:40;58830:31;58822:7;:40::i;:::-;58890:46;54230:14;58902:33;;58890:8;:46;:::i;:::-;58877:9;:60;58873:108;;;58939:42;58947:33;58939:7;:42::i;:::-;59008:10;62259:22;58992:160;;59036:27;59042:10;59054:8;59036:5;:27::i;58992:160::-;59105:35;59115:10;59127:8;59105:35;;;;;;;;;;;;:9;:35::i;26663:216::-;26777:10;26758:30;;;;:18;:30;;;;;;;;;:40;;;;;;;;;;;;:51;;;;;;;;;;;;;26825:46;;586:41:1;;;26758:40:0;;26777:10;26825:46;;559:18:1;26825:46:0;;;;;;;26663:216;;:::o;59992:212::-;56760:14;;;;56746:10;:28;56738:63;;;;;;;6284:2:1;56738:63:0;;;6266:21:1;6323:2;6303:18;;;6296:30;6362:24;6342:18;;;6335:52;6404:18;;56738:63:0;6082:346:1;56738:63:0;60145:50;55657:3:::1;60145:50:::0;;;;55804:24:::1;55827:1;55805:18:::0;55804:24:::1;:::i;:::-;60091:21;;:49;60090:106;60066:21;:130;;;;59992:212:::0;:::o;34190:416::-;34365:31;34378:4;34384:2;34388:7;34365:12;:31::i;:::-;34411:14;;;;:19;34407:192;;34450:56;34481:4;34487:2;34491:7;34500:5;34450:30;:56::i;:::-;34445:154;;34527:56;34535:47;34527:7;:56::i;:::-;34190:416;;;;:::o;59361:623::-;59466:13;59519:17;59527:8;59519:7;:17::i;:::-;59497:114;;;;;;;10094:2:1;59497:114:0;;;10076:21:1;10133:2;10113:18;;;10106:30;10172:34;10152:18;;;10145:62;10243:17;10223:18;;;10216:45;10278:19;;59497:114:0;9892:411:1;59497:114:0;59622:28;59653:10;59622:41;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59725:1;59700:14;59694:28;:32;:282;;;;;;;;;;;;;;;;;59818:14;59859:19;59869:8;59859:9;:19::i;:::-;59775:160;;;;;;;;;:::i;:::-;;;;;;;;;;;;;59694:282;59674:302;59361:623;-1:-1:-1;;;59361:623:0:o;57912:346::-;56760:14;;;;56746:10;:28;56738:63;;;;;;;6284:2:1;56738:63:0;;;6266:21:1;6323:2;6303:18;;;6296:30;6362:24;6342:18;;;6335:52;6404:18;;56738:63:0;6082:346:1;56738:63:0;58032:21:::1;::::0;58011:18:::1;58069:13:::0;54681:3:::1;58103:32:::0;;::::1;54548:13;58102:62;::::0;58089:8;;58069:17:::1;::::0;58085:1:::1;::::0;58069:17:::1;:::i;:::-;:28;;;;:::i;:::-;58068:97;58064:149;;;58167:46;58175:37:::0;58167:7:::1;:46::i;:::-;58224:26;58230:9;58241:8;58224:5;:26::i;61810:291::-:0;56760:14;;;;56746:10;:28;56738:63;;;;;;;6284:2:1;56738:63:0;;;6266:21:1;6323:2;6303:18;;;6296:30;6362:24;6342:18;;;6335:52;6404:18;;56738:63:0;6082:346:1;56738:63:0;61901:22:::1;::::0;::::1;61893:64;;;::::0;::::1;::::0;;11178:2:1;61893:64:0::1;::::0;::::1;11160:21:1::0;11217:2;11197:18;;;11190:30;11256:31;11236:18;;;11229:59;11305:18;;61893:64:0::1;10976:353:1::0;61893:64:0::1;61987:14;::::0;;::::1;62012:25:::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;62053:40:::1;::::0;61987:14;::::1;::::0;62012:25;61987:14;;62053:40:::1;::::0;61968:16:::1;::::0;62053:40:::1;61882:219;61810:291:::0;:::o;27458:354::-;27523:11;27556:7;27551:1;:12;27547:258;;27594:13;;27584:7;:23;27580:214;;;27628:14;27661:60;-1:-1:-1;27678:26:0;;;;:17;:26;;;;;;;27668:42;;;27661:60;;27712:9;;;:::i;:::-;;;27661:60;;;11238:8;27749:24;:29;;-1:-1:-1;27580:214:0;27458:354;;;:::o;52863:165::-;52964:13;52958:4;52951:27;53005:4;52999;52992:18;44628:456;44757:13;44773:16;44781:7;44773;:16::i;:::-;44757:32;;44806:13;:36;;;;-1:-1:-1;44823:10:0;:19;;;;;44806:36;44802:183;;;27157:25;;;27133:4;27157:25;;;:18;:25;;;;;;;;44886:10;27157:35;;;;;;;;;;44857:128;;44918:51;44926:42;44918:7;:51::i;:::-;44997:24;;;;:15;:24;;;;;;:35;;;;;;;;;;;;;;45048:28;;44997:24;;45048:28;;;;;;;44746:338;44628:456;;;:::o;21958:1998::-;22025:14;22061:7;22056:1;:12;22052:1839;;-1:-1:-1;22094:26:0;;;;:17;:26;;;;;;;22220:11;;;22216:1292;;22267:13;;22256:7;:24;22252:77;;22282:47;22290:38;22282:7;:47::i;:::-;22886:607;-1:-1:-1;22982:9:0;;22964:28;;;;:17;:28;;;;;;23038:25;;22886:607;23038:25;11238:8;23090:6;:24;23118:1;23090:29;23086:48;;21958:1998;;;:::o;23086:48::-;23426:47;23434:38;23426:7;:47::i;:::-;22886:607;;22216:1292;11238:8;23835:6;:24;23863:1;23835:29;23831:48;;21958:1998;;;:::o;23831:48::-;23901:47;23909:38;23901:7;:47::i;37834:2305::-;37907:20;37930:13;;;37958;;;37954:53;;37973:34;37981:25;37973:7;:34::i;:::-;38520:31;;;;:17;:31;;;;;;;;24752:16;24741:28;;24915:11;24890:23;24886:41;25359:1;25346:15;;25320:24;25316:46;24883:52;24873:63;;38520:173;;;38911:22;;;:18;:22;;;;;:71;;38949:32;38937:45;;38911:71;;;24741:28;39172:13;;;39168:54;;39187:35;39195:26;39187:7;:35::i;:::-;39253:23;;;:12;39338:676;39757:7;39713:8;39668:1;39602:25;39539:1;39474;39443:358;40009:3;39996:9;;;;;;:16;39338:676;;-1:-1:-1;40030:13:0;:19;-1:-1:-1;33399:193:0;;;:::o;42918:708::-;43049:19;43055:2;43059:8;43049:5;:19::i;:::-;43110:14;;;;:19;43106:502;;43150:11;43164:13;43212:14;;;43245:242;43276:62;43315:1;43319:2;43323:7;;;;;;43332:5;43276:30;:62::i;:::-;43271:176;;43367:56;43375:47;43367:7;:56::i;:::-;43482:3;43474:5;:11;43245:242;;43569:3;43552:13;;:20;43548:44;;43574:18;43589:1;43574:7;:18::i;:::-;43131:477;;42918:708;;;:::o;36690:682::-;36874:79;;;;;36853:4;;36874:45;;;;;;:79;;36920:10;;36932:4;;36938:7;;36947:5;;36874:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36874:79:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;36870:495;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37148:6;:13;37165:1;37148:18;37144:115;;37187:56;37195:47;37187:7;:56::i;:::-;37331:6;37325:13;37316:6;37312:2;37308:15;37301:38;36870:495;37024:64;;37034:54;37024:64;;-1:-1:-1;36690:682:0;;;;;;:::o;51051:1745::-;51116:17;51550:4;51543;51537:11;51533:22;51642:1;51636:4;51629:15;51717:4;51714:1;51710:12;51703:19;;;51799:1;51794:3;51787:14;51903:3;52142:5;52124:428;52190:1;52185:3;52181:11;52174:18;;52361:2;52355:4;52351:13;52347:2;52343:22;52338:3;52330:36;52455:2;52445:13;;52512:25;52124:428;52512:25;-1:-1:-1;52582:13:0;;;52697:14;;;;52759:19;;;52697:14;51051:1745;-1:-1:-1;51051:1745:0:o;14:177:1:-;99:66;92:5;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:250::-;723:1;733:113;747:6;744:1;741:13;733:113;;;823:11;;;817:18;804:11;;;797:39;769:2;762:10;733:113;;;-1:-1:-1;;880:1:1;862:16;;855:27;638:250::o;893:330::-;935:3;973:5;967:12;1000:6;995:3;988:19;1016:76;1085:6;1078:4;1073:3;1069:14;1062:4;1055:5;1051:16;1016:76;:::i;:::-;1137:2;1125:15;1142:66;1121:88;1112:98;;;;1212:4;1108:109;;893:330;-1:-1:-1;;893:330:1:o;1228:220::-;1377:2;1366:9;1359:21;1340:4;1397:45;1438:2;1427:9;1423:18;1415:6;1397:45;:::i;1453:180::-;1512:6;1565:2;1553:9;1544:7;1540:23;1536:32;1533:52;;;1581:1;1578;1571:12;1533:52;-1:-1:-1;1604:23:1;;1453:180;-1:-1:-1;1453:180:1:o;1869:196::-;1937:20;;1997:42;1986:54;;1976:65;;1966:93;;2055:1;2052;2045:12;2070:254;2138:6;2146;2199:2;2187:9;2178:7;2174:23;2170:32;2167:52;;;2215:1;2212;2205:12;2167:52;2238:29;2257:9;2238:29;:::i;:::-;2228:39;2314:2;2299:18;;;;2286:32;;-1:-1:-1;;;2070:254:1:o;2511:328::-;2588:6;2596;2604;2657:2;2645:9;2636:7;2632:23;2628:32;2625:52;;;2673:1;2670;2663:12;2625:52;2696:29;2715:9;2696:29;:::i;:::-;2686:39;;2744:38;2778:2;2767:9;2763:18;2744:38;:::i;:::-;2734:48;;2829:2;2818:9;2814:18;2801:32;2791:42;;2511:328;;;;;:::o;2844:592::-;2915:6;2923;2976:2;2964:9;2955:7;2951:23;2947:32;2944:52;;;2992:1;2989;2982:12;2944:52;3032:9;3019:23;3061:18;3102:2;3094:6;3091:14;3088:34;;;3118:1;3115;3108:12;3088:34;3156:6;3145:9;3141:22;3131:32;;3201:7;3194:4;3190:2;3186:13;3182:27;3172:55;;3223:1;3220;3213:12;3172:55;3263:2;3250:16;3289:2;3281:6;3278:14;3275:34;;;3305:1;3302;3295:12;3275:34;3350:7;3345:2;3336:6;3332:2;3328:15;3324:24;3321:37;3318:57;;;3371:1;3368;3361:12;3318:57;3402:2;3394:11;;;;;3424:6;;-1:-1:-1;2844:592:1;;-1:-1:-1;;;;2844:592:1:o;3441:186::-;3500:6;3553:2;3541:9;3532:7;3528:23;3524:32;3521:52;;;3569:1;3566;3559:12;3521:52;3592:29;3611:9;3592:29;:::i;3632:347::-;3697:6;3705;3758:2;3746:9;3737:7;3733:23;3729:32;3726:52;;;3774:1;3771;3764:12;3726:52;3797:29;3816:9;3797:29;:::i;:::-;3787:39;;3876:2;3865:9;3861:18;3848:32;3923:5;3916:13;3909:21;3902:5;3899:32;3889:60;;3945:1;3942;3935:12;3889:60;3968:5;3958:15;;;3632:347;;;;;:::o;3984:184::-;4036:77;4033:1;4026:88;4133:4;4130:1;4123:15;4157:4;4154:1;4147:15;4173:1197;4268:6;4276;4284;4292;4345:3;4333:9;4324:7;4320:23;4316:33;4313:53;;;4362:1;4359;4352:12;4313:53;4385:29;4404:9;4385:29;:::i;:::-;4375:39;;4433:38;4467:2;4456:9;4452:18;4433:38;:::i;:::-;4423:48;;4518:2;4507:9;4503:18;4490:32;4480:42;;4573:2;4562:9;4558:18;4545:32;4596:18;4637:2;4629:6;4626:14;4623:34;;;4653:1;4650;4643:12;4623:34;4691:6;4680:9;4676:22;4666:32;;4736:7;4729:4;4725:2;4721:13;4717:27;4707:55;;4758:1;4755;4748:12;4707:55;4794:2;4781:16;4816:2;4812;4809:10;4806:36;;;4822:18;;:::i;:::-;4956:2;4950:9;5018:4;5010:13;;4861:66;5006:22;;;5030:2;5002:31;4998:40;4986:53;;;5054:18;;;5074:22;;;5051:46;5048:72;;;5100:18;;:::i;:::-;5140:10;5136:2;5129:22;5175:2;5167:6;5160:18;5215:7;5210:2;5205;5201;5197:11;5193:20;5190:33;5187:53;;;5236:1;5233;5226:12;5187:53;5292:2;5287;5283;5279:11;5274:2;5266:6;5262:15;5249:46;5337:1;5332:2;5327;5319:6;5315:15;5311:24;5304:35;5358:6;5348:16;;;;;;;4173:1197;;;;;;;:::o;5375:260::-;5443:6;5451;5504:2;5492:9;5483:7;5479:23;5475:32;5472:52;;;5520:1;5517;5510:12;5472:52;5543:29;5562:9;5543:29;:::i;:::-;5533:39;;5591:38;5625:2;5614:9;5610:18;5591:38;:::i;:::-;5581:48;;5375:260;;;;;:::o;5640:437::-;5719:1;5715:12;;;;5762;;;5783:61;;5837:4;5829:6;5825:17;5815:27;;5783:61;5890:2;5882:6;5879:14;5859:18;5856:38;5853:218;;5927:77;5924:1;5917:88;6028:4;6025:1;6018:15;6056:4;6053:1;6046:15;5853:218;;5640:437;;;:::o;6769:545::-;6871:2;6866:3;6863:11;6860:448;;;6907:1;6932:5;6928:2;6921:17;6977:4;6973:2;6963:19;7047:2;7035:10;7031:19;7028:1;7024:27;7018:4;7014:38;7083:4;7071:10;7068:20;7065:47;;;-1:-1:-1;7106:4:1;7065:47;7161:2;7156:3;7152:12;7149:1;7145:20;7139:4;7135:31;7125:41;;7216:82;7234:2;7227:5;7224:13;7216:82;;;7279:17;;;7260:1;7249:13;7216:82;;;7220:3;;;6769:545;;;:::o;7550:1325::-;7674:18;7669:3;7666:27;7663:53;;;7696:18;;:::i;:::-;7725:94;7815:3;7775:38;7807:4;7801:11;7775:38;:::i;:::-;7769:4;7725:94;:::i;:::-;7845:1;7870:2;7865:3;7862:11;7887:1;7882:735;;;;8661:1;8678:3;8675:93;;;-1:-1:-1;8734:19:1;;;8721:33;8675:93;7456:66;7447:1;7443:11;;;7439:84;7435:89;7425:100;7531:1;7527:11;;;7422:117;8781:78;;7855:1014;;7882:735;6716:1;6709:14;;;6753:4;6740:18;;7927:66;7918:76;;;8078:9;8100:229;8114:7;8111:1;8108:14;8100:229;;;8203:19;;;8190:33;8175:49;;8310:4;8295:20;;;;8263:1;8251:14;;;;8130:12;8100:229;;;8104:3;8357;8348:7;8345:16;8342:219;;;8477:66;8471:3;8465;8462:1;8458:11;8454:21;8450:94;8446:99;8433:9;8428:3;8424:19;8411:33;8407:139;8399:6;8392:155;8342:219;;;8604:1;8598:3;8595:1;8591:11;8587:19;8581:4;8574:33;7855:1014;;7550:1325;;;:::o;8880:184::-;8932:77;8929:1;8922:88;9029:4;9026:1;9019:15;9053:4;9050:1;9043:15;9069:168;9142:9;;;9173;;9190:15;;;9184:22;;9170:37;9160:71;;9211:18;;:::i;9242:125::-;9307:9;;;9328:10;;;9325:36;;;9341:18;;:::i;9372:128::-;9439:9;;;9460:11;;;9457:37;;;9474:18;;:::i;10308:663::-;10588:3;10626:6;10620:13;10642:66;10701:6;10696:3;10689:4;10681:6;10677:17;10642:66;:::i;:::-;10771:13;;10730:16;;;;10793:70;10771:13;10730:16;10840:4;10828:17;;10793:70;:::i;:::-;10928:7;10885:20;;10914:22;;;10963:1;10952:13;;10308:663;-1:-1:-1;;;;10308:663:1:o;11334:196::-;11373:3;11401:5;11391:39;;11410:18;;:::i;:::-;-1:-1:-1;11457:66:1;11446:78;;11334:196::o;11535:512::-;11729:4;11758:42;11839:2;11831:6;11827:15;11816:9;11809:34;11891:2;11883:6;11879:15;11874:2;11863:9;11859:18;11852:43;;11931:6;11926:2;11915:9;11911:18;11904:34;11974:3;11969:2;11958:9;11954:18;11947:31;11995:46;12036:3;12025:9;12021:19;12013:6;11995:46;:::i;:::-;11987:54;11535:512;-1:-1:-1;;;;;;11535:512:1:o;12052:249::-;12121:6;12174:2;12162:9;12153:7;12149:23;12145:32;12142:52;;;12190:1;12187;12180:12;12142:52;12222:9;12216:16;12241:30;12265:5;12241:30;:::i

Swarm Source

ipfs://3e841a259648a025b96f9dd8294fb56f37eda8e0db846a365df52d34bb1057f6
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.