ETH Price: $2,972.04 (-8.32%)
 

Overview

Max Total Supply

8,564 MNLTHXREVEALED

Holders

878

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 MNLTHXREVEALED
0x0e15fd5dbb8b365e876f6b20ff3cdb8f35454092
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
MNLTHXRevealed

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : MNLTHXRevealed.sol
// SPDX-License-Identifier: MIT
//
//          .@@@                                                                  
//               ,@@@@@@@&,                  #@@%                                  
//                    @@@@@@@@@@@@@@.          @@@@@@@@@                           
//                        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                      
//                            @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                   
//                                @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.                 
//                                    @@@@@@@    &@@@@@@@@@@@@@@@@@                
//                                        @@@/        &@@@@@@@@@@@@@,              
//                                            @            @@@@@@@@@@@             
//                                                             /@@@@@@@#           
//                                                                  @@@@@          
//                                                                      *@&   
//         RTFKT Studios (https://twitter.com/RTFKT)
//         MNLTH X Reveal made w/ love by Maximonee

/**
    RTFKT Legal Overview [https://rtfkt.com/legaloverview]
    1. RTFKT Platform Terms of Services [Document #1, https://rtfkt.com/tos]
    2. End Use License Terms
    A. Digital Collectible Terms (RTFKT-Owned Content) [Document #2-A, https://rtfkt.com/legal-2A]
    B. Digital Collectible Terms (Third Party Content) [Document #2-B, https://rtfkt.com/legal-2B]
    C. Digital Collectible Limited Commercial Use License Terms (RTFKT-Owned Content) [Document #2-C, https://rtfkt.com/legal-2C]
    D. Digital Collectible Terms [Document #2-D, https://rtfkt.com/legal-2D]
    
    3. Policies or other documentation
    A. RTFKT Privacy Policy [Document #3-A, https://rtfkt.com/privacy]
    B. NFT Issuance and Marketing Policy [Document #3-B, https://rtfkt.com/legal-3B]
    C. Transfer Fees [Document #3C, https://rtfkt.com/legal-3C]
    C. 1. Commercialization Registration [https://rtfkt.typeform.com/to/u671kiRl]
    
    4. General notices
    A. Murakami Short Verbiage – User Experience Notice [Document #X-1, https://rtfkt.com/legal-X1]
**/

pragma solidity ^0.8.17;

import "@openzeppelin/[email protected]/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/[email protected]/access/Ownable.sol";
import "erc721a/contracts/ERC721A.sol";

abstract contract VRF {
    function getVrfSeed() external virtual returns (uint256);
}

interface MNLTHXContract {
    function burn(address owner, uint256 tokenId, uint256 amount) external;
}

contract MNLTHXRevealed is ERC721A, Ownable {
    uint256 constant MNLTHX_TOKEN_ID = 1;
    
    string ipfsHash;

    mapping (address => bool) public walletMinted;

    mapping (uint256 => uint256) public mintedByTokenType;
    mapping (uint256 => uint256) public tokenIdToType;

    event newForge(uint256 tokenType, address owner);

    bool public mintIsOpen;

    uint256 vrfSeed;
    uint256 vrfRequestId;
    address public vrfAddress;
    address public mnlthxAddress;

    VRF vrfContract;
    MNLTHXContract mnlthx;

    constructor (address mnlthxAddress_, address vrfAddress_) ERC721A("MNLTHXREVEALED", "MNLTHXREVEALED") {
        vrfAddress = vrfAddress_;
        mnlthxAddress = mnlthxAddress_;

        vrfContract = VRF(vrfAddress);
        mnlthx = MNLTHXContract(mnlthxAddress);
    }

    function mintTransfer(address owner) public returns (uint256) {
        require(vrfSeed != 0, "VRF not initialized");
        require(mintIsOpen, "Mint is not active");
        require(msg.sender == mnlthxAddress, "Unauthorized");

        uint256 tokenId = _nextTokenId();
        uint256 tokenType = _getTokenType();

        tokenIdToType[tokenId] = 1; // CD
        tokenIdToType[tokenId+1] = 2; // CS
        tokenIdToType[tokenId+2] = 3; // DB
        tokenIdToType[tokenId+3] = tokenType; // RAND
        mintedByTokenType[tokenType] += 1;

        _mint(owner, 4);

        emit newForge(tokenType, owner);

        return tokenType;
    }

    /////////////////////////////
    // GETTER FUNCTIONS       //
    /////////////////////////////

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
        uint256 tokenType = tokenIdToType[tokenId];

        return string(abi.encodePacked(ipfsHash, _toString(tokenType)));
    }

    function _getTokenType() internal returns (uint256) {
        bytes32 seed = keccak256(
            abi.encode(
                block.timestamp,
                block.coinbase,
                vrfSeed
            )
        );

        // Update global seed after recalculation
        vrfSeed = uint256(seed);
        return _roll(vrfSeed);
    }

    function _roll(uint256 seed) private view returns (uint256) {
        uint256 rand = seed % 33333;
        
        uint256 tokenType;

        // Do not force any rarity limits.
        // Let RNJesus take the wheel for 33% odds
        if (rand < 11111) {
            tokenType = 4;
        } else if (rand < 22222) {
            tokenType = 5;
        } else {
            tokenType = 6;
        }

        return tokenType;
    }

    /////////////////////////////
    // CONTRACT MANAGEMENT 
    /////////////////////////////

    function toggleMint() public onlyOwner {
        mintIsOpen = !mintIsOpen;
    }

    function withdrawFunds() public onlyOwner {
		payable(msg.sender).transfer(address(this).balance);
	}

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function setIpfsHash(string calldata newUri) public onlyOwner {
        ipfsHash = newUri;
    }

    function setVrfAddress(address vrfAddress_) public onlyOwner {
        vrfAddress = vrfAddress_;
        vrfContract = VRF(vrfAddress_);
    }

    function setMnlthxAddress(address mnlthxAddress_) public onlyOwner {
        mnlthxAddress = mnlthxAddress_;
        mnlthx = MNLTHXContract(mnlthxAddress_);
    }

    function getVrfSeed() public onlyOwner {
        vrfRequestId = vrfContract.getVrfSeed();
    }

    function setVrfSeed(uint256 seed) public {
        require(msg.sender == vrfAddress, "Unauthorized");
        vrfSeed = seed;
    }
}

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

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @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 `_startTokenId()`.
 *
 * The `_sequentialUpTo()` function can be overriden to enable spot mints
 * (i.e. non-consecutive mints) for `tokenId`s greater than `_sequentialUpTo()`.
 *
 * 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 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

    // The amount of tokens minted above `_sequentialUpTo()`.
    // We call these spot mints (i.e. non-sequential mints).
    uint256 private _spotMinted;

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

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

        if (_sequentialUpTo() < _startTokenId()) _revert(SequentialUpToTooSmall.selector);
    }

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

    /**
     * @dev Returns the starting token ID for sequential mints.
     *
     * Override this function to change the starting token ID for sequential mints.
     *
     * Note: The value returned must never change after any tokens have been minted.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the maximum token ID (inclusive) for sequential mints.
     *
     * Override this function to return a value less than 2**256 - 1,
     * but greater than `_startTokenId()`, to enable spot (non-sequential) mints.
     *
     * Note: The value returned must never change after any tokens have been minted.
     */
    function _sequentialUpTo() internal view virtual returns (uint256) {
        return type(uint256).max;
    }

    /**
     * @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 result) {
        // Counter underflow is impossible as `_burnCounter` cannot be incremented
        // more than `_currentIndex + _spotMinted - _startTokenId()` times.
        unchecked {
            // With spot minting, the intermediate `result` can be temporarily negative,
            // and the computation must be unchecked.
            result = _currentIndex - _burnCounter - _startTokenId();
            if (_sequentialUpTo() != type(uint256).max) result += _spotMinted;
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256 result) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            result = _currentIndex - _startTokenId();
            if (_sequentialUpTo() != type(uint256).max) result += _spotMinted;
        }
    }

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

    /**
     * @dev Returns the total number of tokens that are spot-minted.
     */
    function _totalSpotMinted() internal view virtual returns (uint256) {
        return _spotMinted;
    }

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

    /**
     * @dev Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) {
        if (_startTokenId() <= tokenId) {
            packed = _packedOwnerships[tokenId];

            if (tokenId > _sequentialUpTo()) {
                if (_packedOwnershipExists(packed)) return packed;
                _revert(OwnerQueryForNonexistentToken.selector);
            }

            // 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[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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 (_startTokenId() <= tokenId) {
            if (tokenId > _sequentialUpTo()) return _packedOwnershipExists(_packedOwnerships[tokenId]);

            if (tokenId < _currentIndex) {
                uint256 packed;
                while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId;
                result = packed & _BITMASK_BURNED == 0;
            }
        }
    }

    /**
     * @dev Returns whether `packed` represents a token that exists.
     */
    function _packedOwnershipExists(uint256 packed) private pure returns (bool result) {
        assembly {
            // The following is equivalent to `owner != address(0) && burned == false`.
            // Symbolically tested.
            result := gt(and(packed, _BITMASK_ADDRESS), and(packed, _BITMASK_BURNED))
        }
    }

    /**
     * @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, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) _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(_msgSenderERC721A(), 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;

            if (end - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector);

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

            if (startTokenId + quantity - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector);

            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);
                // This prevents reentrancy to `_safeMint`.
                // It does not prevent reentrancy to `_safeMintSpot`.
                if (_currentIndex != end) revert();
            }
        }
    }

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

    /**
     * @dev Mints a single token at `tokenId`.
     *
     * Note: A spot-minted `tokenId` that has been burned can be re-minted again.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` must be greater than `_sequentialUpTo()`.
     * - `tokenId` must not exist.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mintSpot(address to, uint256 tokenId) internal virtual {
        if (tokenId <= _sequentialUpTo()) _revert(SpotMintTokenIdTooSmall.selector);
        uint256 prevOwnershipPacked = _packedOwnerships[tokenId];
        if (_packedOwnershipExists(prevOwnershipPacked)) _revert(TokenAlreadyExists.selector);

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

        // Overflows are incredibly unrealistic.
        // The `numberMinted` for `to` is incremented by 1, and has a max limit of 2**64 - 1.
        // `_spotMinted` is incremented by 1, and has a max limit of 2**256 - 1.
        unchecked {
            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `true` (as `quantity == 1`).
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(1) | _nextExtraData(address(0), to, prevOwnershipPacked)
            );

            // Updates:
            // - `balance += 1`.
            // - `numberMinted += 1`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += (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);

            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`.
                )
            }

            ++_spotMinted;
        }

        _afterTokenTransfers(address(0), to, tokenId, 1);
    }

    /**
     * @dev Safely mints a single token at `tokenId`.
     *
     * Note: A spot-minted `tokenId` that has been burned can be re-minted again.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}.
     * - `tokenId` must be greater than `_sequentialUpTo()`.
     * - `tokenId` must not exist.
     *
     * See {_mintSpot}.
     *
     * Emits a {Transfer} event.
     */
    function _safeMintSpot(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mintSpot(to, tokenId);

        unchecked {
            if (to.code.length != 0) {
                uint256 currentSpotMinted = _spotMinted;
                if (!_checkContractOnERC721Received(address(0), to, tokenId, _data)) {
                    _revert(TransferToNonERC721ReceiverImplementer.selector);
                }
                // This prevents reentrancy to `_safeMintSpot`.
                // It does not prevent reentrancy to `_safeMint`.
                if (_spotMinted != currentSpotMinted) revert();
            }
        }
    }

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

    // =============================================================
    //                       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 && _msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                _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, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) _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 + _spotMinted` 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 Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure 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 3 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 6 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 5 of 6 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.3.0
// 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();

    /**
     * `_sequentialUpTo()` must be greater than `_startTokenId()`.
     */
    error SequentialUpToTooSmall();

    /**
     * The `tokenId` of a sequential mint exceeds `_sequentialUpTo()`.
     */
    error SequentialMintExceedsLimit();

    /**
     * Spot minting requires a `tokenId` greater than `_sequentialUpTo()`.
     */
    error SpotMintTokenIdTooSmall();

    /**
     * Cannot mint over a token that already exists.
     */
    error TokenAlreadyExists();

    /**
     * The feature is not compatible with spot mints.
     */
    error NotCompatibleWithSpotMints();

    // =============================================================
    //                            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 6 of 6 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"mnlthxAddress_","type":"address"},{"internalType":"address","name":"vrfAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotCompatibleWithSpotMints","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SequentialMintExceedsLimit","type":"error"},{"inputs":[],"name":"SequentialUpToTooSmall","type":"error"},{"inputs":[],"name":"SpotMintTokenIdTooSmall","type":"error"},{"inputs":[],"name":"TokenAlreadyExists","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenType","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"newForge","type":"event"},{"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":[],"name":"getVrfSeed","outputs":[],"stateMutability":"nonpayable","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":"mintIsOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"mintTransfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintedByTokenType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mnlthxAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"string","name":"newUri","type":"string"}],"name":"setIpfsHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"mnlthxAddress_","type":"address"}],"name":"setMnlthxAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"vrfAddress_","type":"address"}],"name":"setVrfAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"setVrfSeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","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":"nonpayable","type":"function"},{"inputs":[],"name":"vrfAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620039b1380380620039b1833981810160405281019062000037919062000402565b6040518060400160405280600e81526020017f4d4e4c54485852455645414c45440000000000000000000000000000000000008152506040518060400160405280600e81526020017f4d4e4c54485852455645414c45440000000000000000000000000000000000008152508160029081620000b49190620006c3565b508060039081620000c69190620006c3565b50620000d76200028f60201b60201c565b600081905550620000ed6200028f60201b60201c565b620000fd6200029860201b60201c565b10156200011d576200011c63fed8210f60e01b620002c060201b60201c565b5b50506200013f62000133620002ca60201b60201c565b620002d260201b60201c565b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620007aa565b60006001905090565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b8060005260046000fd5b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003ca826200039d565b9050919050565b620003dc81620003bd565b8114620003e857600080fd5b50565b600081519050620003fc81620003d1565b92915050565b600080604083850312156200041c576200041b62000398565b5b60006200042c85828601620003eb565b92505060206200043f85828601620003eb565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004cb57607f821691505b602082108103620004e157620004e062000483565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200054b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200050c565b6200055786836200050c565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005a46200059e62000598846200056f565b62000579565b6200056f565b9050919050565b6000819050919050565b620005c08362000583565b620005d8620005cf82620005ab565b84845462000519565b825550505050565b600090565b620005ef620005e0565b620005fc818484620005b5565b505050565b5b81811015620006245762000618600082620005e5565b60018101905062000602565b5050565b601f82111562000673576200063d81620004e7565b6200064884620004fc565b8101602085101562000658578190505b620006706200066785620004fc565b83018262000601565b50505b505050565b600082821c905092915050565b6000620006986000198460080262000678565b1980831691505092915050565b6000620006b3838362000685565b9150826002028217905092915050565b620006ce8262000449565b67ffffffffffffffff811115620006ea57620006e962000454565b5b620006f68254620004b2565b6200070382828562000628565b600060209050601f8311600181146200073b576000841562000726578287015190505b620007328582620006a5565b865550620007a2565b601f1984166200074b86620004e7565b60005b8281101562000775578489015182556001820191506020850194506020810190506200074e565b8683101562000795578489015162000791601f89168262000685565b8355505b6001600288020188555050505b505050505050565b6131f780620007ba6000396000f3fe6080604052600436106101d85760003560e01c806383b767c811610102578063b88d4fde11610095578063d3dd5fe011610064578063d3dd5fe014610686578063d59ccc311461069d578063e985e9c5146106c8578063f2fde38b14610705576101d8565b8063b88d4fde146105c7578063c87b56dd146105e3578063d33df93f14610620578063d3738fc814610649576101d8565b806395d89b41116100d157806395d89b4114610531578063a1866ff31461055c578063a22cb46514610573578063aa1152ab1461059c576101d8565b806383b767c8146104635780638d1743cd1461048c5780638da5cb5b146104c9578063937f2608146104f4576101d8565b806324600fc31161017a5780634e3b62ec116101495780634e3b62ec146103a95780636352211e146103d257806370a082311461040f578063715018a61461044c576101d8565b806324600fc314610310578063356ee3351461032757806335f41a901461036457806342842e0e1461038d576101d8565b8063095ea7b3116101b6578063095ea7b31461028257806318160ddd1461029e5780631c8c3a07146102c957806323b872dd146102f4576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612328565b61072e565b6040516102119190612370565b60405180910390f35b34801561022657600080fd5b5061022f6107c0565b60405161023c919061241b565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190612473565b610852565b60405161027991906124e1565b60405180910390f35b61029c60048036038101906102979190612528565b6108b0565b005b3480156102aa57600080fd5b506102b36108c0565b6040516102c09190612577565b60405180910390f35b3480156102d557600080fd5b506102de61090d565b6040516102eb91906124e1565b60405180910390f35b61030e60048036038101906103099190612592565b610933565b005b34801561031c57600080fd5b50610325610bf4565b005b34801561033357600080fd5b5061034e60048036038101906103499190612473565b610cb9565b60405161035b9190612577565b60405180910390f35b34801561037057600080fd5b5061038b600480360381019061038691906125e5565b610cd1565b005b6103a760048036038101906103a29190612592565b610dd2565b005b3480156103b557600080fd5b506103d060048036038101906103cb9190612677565b610df2565b005b3480156103de57600080fd5b506103f960048036038101906103f49190612473565b610e84565b60405161040691906124e1565b60405180910390f35b34801561041b57600080fd5b50610436600480360381019061043191906125e5565b610e96565b6040516104439190612577565b60405180910390f35b34801561045857600080fd5b50610461610f2d565b005b34801561046f57600080fd5b5061048a60048036038101906104859190612473565b610fb5565b005b34801561049857600080fd5b506104b360048036038101906104ae9190612473565b61104f565b6040516104c09190612577565b60405180910390f35b3480156104d557600080fd5b506104de611067565b6040516104eb91906124e1565b60405180910390f35b34801561050057600080fd5b5061051b600480360381019061051691906125e5565b611091565b6040516105289190612577565b60405180910390f35b34801561053d57600080fd5b506105466112ce565b604051610553919061241b565b60405180910390f35b34801561056857600080fd5b50610571611360565b005b34801561057f57600080fd5b5061059a600480360381019061059591906126f0565b611477565b005b3480156105a857600080fd5b506105b1611582565b6040516105be9190612370565b60405180910390f35b6105e160048036038101906105dc9190612860565b611595565b005b3480156105ef57600080fd5b5061060a60048036038101906106059190612473565b6115e7565b604051610617919061241b565b60405180910390f35b34801561062c57600080fd5b50610647600480360381019061064291906125e5565b611673565b005b34801561065557600080fd5b50610670600480360381019061066b91906125e5565b611774565b60405161067d9190612370565b60405180910390f35b34801561069257600080fd5b5061069b611794565b005b3480156106a957600080fd5b506106b261183c565b6040516106bf91906124e1565b60405180910390f35b3480156106d457600080fd5b506106ef60048036038101906106ea91906128e3565b611862565b6040516106fc9190612370565b60405180910390f35b34801561071157600080fd5b5061072c600480360381019061072791906125e5565b6118f6565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061078957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107b95750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546107cf90612952565b80601f01602080910402602001604051908101604052809291908181526020018280546107fb90612952565b80156108485780601f1061081d57610100808354040283529160200191610848565b820191906000526020600020905b81548152906001019060200180831161082b57829003601f168201915b5050505050905090565b600061085d826119ed565b6108725761087163cf4700e460e01b611a99565b5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6108bc82826001611aa3565b5050565b60006108ca611bd2565b600154600054030390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6108fd611bdb565b1461090a57600854810190505b90565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061093e82611c03565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109b3576109b263a114810060e01b611a99565b5b6000806109bf84611d1c565b915091506109d581876109d0611d43565b611d4b565b610a00576109ea866109e5611d43565b611862565b6109ff576109fe6359c896be60e01b611a99565b5b5b610a0d8686866001611d8f565b8015610a1857600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610ae685610ac2888887611d95565b7c020000000000000000000000000000000000000000000000000000000017611dbd565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610b6c5760006001850190506000600460008381526020019081526020016000205403610b6a576000548114610b69578360046000838152602001908152602001600020819055505b5b505b600073ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460008103610bde57610bdd63ea553b3460e01b611a99565b5b610beb8787876001611de8565b50505050505050565b610bfc611dee565b73ffffffffffffffffffffffffffffffffffffffff16610c1a611067565b73ffffffffffffffffffffffffffffffffffffffff1614610c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c67906129cf565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610cb6573d6000803e3d6000fd5b50565b600d6020528060005260406000206000915090505481565b610cd9611dee565b73ffffffffffffffffffffffffffffffffffffffff16610cf7611067565b73ffffffffffffffffffffffffffffffffffffffff1614610d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d44906129cf565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610ded83838360405180602001604052806000815250611595565b505050565b610dfa611dee565b73ffffffffffffffffffffffffffffffffffffffff16610e18611067565b73ffffffffffffffffffffffffffffffffffffffff1614610e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e65906129cf565b60405180910390fd5b8181600a9182610e7f929190612ba6565b505050565b6000610e8f82611c03565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610edc57610edb638f4eb60460e01b611a99565b5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610f35611dee565b73ffffffffffffffffffffffffffffffffffffffff16610f53611067565b73ffffffffffffffffffffffffffffffffffffffff1614610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa0906129cf565b60405180910390fd5b610fb36000611df6565b565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611045576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103c90612cc2565b60405180910390fd5b80600f8190555050565b600c6020528060005260406000206000915090505481565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600f54036110d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ce90612d2e565b60405180910390fd5b600e60009054906101000a900460ff16611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90612d9a565b60405180910390fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ad90612cc2565b60405180910390fd5b60006111c0611ebc565b905060006111cc611ec5565b90506001600d6000848152602001908152602001600020819055506002600d60006001856111fa9190612de9565b8152602001908152602001600020819055506003600d600060028561121f9190612de9565b81526020019081526020016000208190555080600d60006003856112439190612de9565b8152602001908152602001600020819055506001600c600083815260200190815260200160002060008282546112799190612de9565b9250508190555061128b846004611f12565b7f14cdc2590a13839dbee0191c7f93742971950a975d3f6bff9035a42070030e6481856040516112bc929190612e1d565b60405180910390a18092505050919050565b6060600380546112dd90612952565b80601f016020809104026020016040519081016040528092919081815260200182805461130990612952565b80156113565780601f1061132b57610100808354040283529160200191611356565b820191906000526020600020905b81548152906001019060200180831161133957829003601f168201915b5050505050905090565b611368611dee565b73ffffffffffffffffffffffffffffffffffffffff16611386611067565b73ffffffffffffffffffffffffffffffffffffffff16146113dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d3906129cf565b60405180910390fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a1866ff36040518163ffffffff1660e01b81526004016020604051808303816000875af115801561144b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146f9190612e5b565b601081905550565b8060076000611484611d43565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611531611d43565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115769190612370565b60405180910390a35050565b600e60009054906101000a900460ff1681565b6115a0848484610933565b60008373ffffffffffffffffffffffffffffffffffffffff163b146115e1576115cb84848484612098565b6115e0576115df63d1a57ed660e01b611a99565b5b5b50505050565b60606115f2826119ed565b611628576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600d6000848152602001908152602001600020549050600a61164b826121c7565b60405160200161165c929190612f47565b604051602081830303815290604052915050919050565b61167b611dee565b73ffffffffffffffffffffffffffffffffffffffff16611699611067565b73ffffffffffffffffffffffffffffffffffffffff16146116ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e6906129cf565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b6020528060005260406000206000915054906101000a900460ff1681565b61179c611dee565b73ffffffffffffffffffffffffffffffffffffffff166117ba611067565b73ffffffffffffffffffffffffffffffffffffffff1614611810576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611807906129cf565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118fe611dee565b73ffffffffffffffffffffffffffffffffffffffff1661191c611067565b73ffffffffffffffffffffffffffffffffffffffff1614611972576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611969906129cf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d890612fdd565b60405180910390fd5b6119ea81611df6565b50565b6000816119f8611bd2565b11611a9357611a05611bdb565b821115611a2f57611a286004600084815260200190815260200160002054612217565b9050611a94565b600054821015611a925760005b6000600460008581526020019081526020016000205491508103611a6b5782611a6490612ffd565b9250611a3c565b60007c01000000000000000000000000000000000000000000000000000000008216149150505b5b5b919050565b8060005260046000fd5b6000611aae83610e84565b9050818015611af057508073ffffffffffffffffffffffffffffffffffffffff16611ad7611d43565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611b1c57611b0681611b01611d43565b611862565b611b1b57611b1a63cfb3b94260e01b611a99565b5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b60006001905090565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b600081611c0e611bd2565b11611d065760046000838152602001908152602001600020549050611c31611bdb565b821115611c5657611c4181612217565b611d1757611c5563df2d9b4260e01b611a99565b5b60008103611cdd576000548210611c7857611c7763df2d9b4260e01b611a99565b5b5b60046000836001900393508381526020019081526020016000205490506000810315611cd85760007c010000000000000000000000000000000000000000000000000000000082160315611d1757611cd763df2d9b4260e01b611a99565b5b611c79565b60007c010000000000000000000000000000000000000000000000000000000082160315611d17575b611d1663df2d9b4260e01b611a99565b5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611dac868684612258565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008054905090565b6000804241600f54604051602001611edf93929190613047565b6040516020818303038152906040528051906020012090508060001c600f81905550611f0c600f54612261565b91505090565b60008054905060008203611f3157611f3063b562e8dd60e01b611a99565b5b611f3e6000848385611d8f565b611f5e83611f4f6000866000611d95565b611f58856122ac565b17611dbd565b6004600083815260200190815260200160002081905550600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690506000810361201657612015632e07630060e01b611a99565b5b60008383019050600083905061202a611bdb565b600183031115612045576120446381647e3a60e01b611a99565b5b5b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a481816001019150810361204657816000819055505050506120936000848385611de8565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026120be611d43565b8786866040518563ffffffff1660e01b81526004016120e094939291906130d3565b6020604051808303816000875af192505050801561211c57506040513d601f19601f820116820180604052508101906121199190613134565b60015b612174573d806000811461214c576040519150601f19603f3d011682016040523d82523d6000602084013e612151565b606091505b50600081510361216c5761216b63d1a57ed660e01b611a99565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391506000825281835b60011561220257600184039350600a81066030018453600a81049050806121e0575b50828103602084039350808452505050919050565b60007c0100000000000000000000000000000000000000000000000000000000821673ffffffffffffffffffffffffffffffffffffffff8316119050919050565b60009392505050565b600080618235836122729190613190565b90506000612b6782101561228957600490506122a2565b6156ce82101561229c57600590506122a1565b600690505b5b8092505050919050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612305816122d0565b811461231057600080fd5b50565b600081359050612322816122fc565b92915050565b60006020828403121561233e5761233d6122c6565b5b600061234c84828501612313565b91505092915050565b60008115159050919050565b61236a81612355565b82525050565b60006020820190506123856000830184612361565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156123c55780820151818401526020810190506123aa565b60008484015250505050565b6000601f19601f8301169050919050565b60006123ed8261238b565b6123f78185612396565b93506124078185602086016123a7565b612410816123d1565b840191505092915050565b6000602082019050818103600083015261243581846123e2565b905092915050565b6000819050919050565b6124508161243d565b811461245b57600080fd5b50565b60008135905061246d81612447565b92915050565b600060208284031215612489576124886122c6565b5b60006124978482850161245e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006124cb826124a0565b9050919050565b6124db816124c0565b82525050565b60006020820190506124f660008301846124d2565b92915050565b612505816124c0565b811461251057600080fd5b50565b600081359050612522816124fc565b92915050565b6000806040838503121561253f5761253e6122c6565b5b600061254d85828601612513565b925050602061255e8582860161245e565b9150509250929050565b6125718161243d565b82525050565b600060208201905061258c6000830184612568565b92915050565b6000806000606084860312156125ab576125aa6122c6565b5b60006125b986828701612513565b93505060206125ca86828701612513565b92505060406125db8682870161245e565b9150509250925092565b6000602082840312156125fb576125fa6122c6565b5b600061260984828501612513565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261263757612636612612565b5b8235905067ffffffffffffffff81111561265457612653612617565b5b6020830191508360018202830111156126705761266f61261c565b5b9250929050565b6000806020838503121561268e5761268d6122c6565b5b600083013567ffffffffffffffff8111156126ac576126ab6122cb565b5b6126b885828601612621565b92509250509250929050565b6126cd81612355565b81146126d857600080fd5b50565b6000813590506126ea816126c4565b92915050565b60008060408385031215612707576127066122c6565b5b600061271585828601612513565b9250506020612726858286016126db565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61276d826123d1565b810181811067ffffffffffffffff8211171561278c5761278b612735565b5b80604052505050565b600061279f6122bc565b90506127ab8282612764565b919050565b600067ffffffffffffffff8211156127cb576127ca612735565b5b6127d4826123d1565b9050602081019050919050565b82818337600083830152505050565b60006128036127fe846127b0565b612795565b90508281526020810184848401111561281f5761281e612730565b5b61282a8482856127e1565b509392505050565b600082601f83011261284757612846612612565b5b81356128578482602086016127f0565b91505092915050565b6000806000806080858703121561287a576128796122c6565b5b600061288887828801612513565b945050602061289987828801612513565b93505060406128aa8782880161245e565b925050606085013567ffffffffffffffff8111156128cb576128ca6122cb565b5b6128d787828801612832565b91505092959194509250565b600080604083850312156128fa576128f96122c6565b5b600061290885828601612513565b925050602061291985828601612513565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061296a57607f821691505b60208210810361297d5761297c612923565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006129b9602083612396565b91506129c482612983565b602082019050919050565b600060208201905081810360008301526129e8816129ac565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612a5c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612a1f565b612a668683612a1f565b95508019841693508086168417925050509392505050565b6000819050919050565b6000612aa3612a9e612a998461243d565b612a7e565b61243d565b9050919050565b6000819050919050565b612abd83612a88565b612ad1612ac982612aaa565b848454612a2c565b825550505050565b600090565b612ae6612ad9565b612af1818484612ab4565b505050565b5b81811015612b1557612b0a600082612ade565b600181019050612af7565b5050565b601f821115612b5a57612b2b816129fa565b612b3484612a0f565b81016020851015612b43578190505b612b57612b4f85612a0f565b830182612af6565b50505b505050565b600082821c905092915050565b6000612b7d60001984600802612b5f565b1980831691505092915050565b6000612b968383612b6c565b9150826002028217905092915050565b612bb083836129ef565b67ffffffffffffffff811115612bc957612bc8612735565b5b612bd38254612952565b612bde828285612b19565b6000601f831160018114612c0d5760008415612bfb578287013590505b612c058582612b8a565b865550612c6d565b601f198416612c1b866129fa565b60005b82811015612c4357848901358255600182019150602085019450602081019050612c1e565b86831015612c605784890135612c5c601f891682612b6c565b8355505b6001600288020188555050505b50505050505050565b7f556e617574686f72697a65640000000000000000000000000000000000000000600082015250565b6000612cac600c83612396565b9150612cb782612c76565b602082019050919050565b60006020820190508181036000830152612cdb81612c9f565b9050919050565b7f565246206e6f7420696e697469616c697a656400000000000000000000000000600082015250565b6000612d18601383612396565b9150612d2382612ce2565b602082019050919050565b60006020820190508181036000830152612d4781612d0b565b9050919050565b7f4d696e74206973206e6f74206163746976650000000000000000000000000000600082015250565b6000612d84601283612396565b9150612d8f82612d4e565b602082019050919050565b60006020820190508181036000830152612db381612d77565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612df48261243d565b9150612dff8361243d565b9250828201905080821115612e1757612e16612dba565b5b92915050565b6000604082019050612e326000830185612568565b612e3f60208301846124d2565b9392505050565b600081519050612e5581612447565b92915050565b600060208284031215612e7157612e706122c6565b5b6000612e7f84828501612e46565b91505092915050565b600081905092915050565b60008154612ea081612952565b612eaa8186612e88565b94506001821660008114612ec55760018114612eda57612f0d565b60ff1983168652811515820286019350612f0d565b612ee3856129fa565b60005b83811015612f0557815481890152600182019150602081019050612ee6565b838801955050505b50505092915050565b6000612f218261238b565b612f2b8185612e88565b9350612f3b8185602086016123a7565b80840191505092915050565b6000612f538285612e93565b9150612f5f8284612f16565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612fc7602683612396565b9150612fd282612f6b565b604082019050919050565b60006020820190508181036000830152612ff681612fba565b9050919050565b60006130088261243d565b91506000820361301b5761301a612dba565b5b600182039050919050565b6000613031826124a0565b9050919050565b61304181613026565b82525050565b600060608201905061305c6000830186612568565b6130696020830185613038565b6130766040830184612568565b949350505050565b600081519050919050565b600082825260208201905092915050565b60006130a58261307e565b6130af8185613089565b93506130bf8185602086016123a7565b6130c8816123d1565b840191505092915050565b60006080820190506130e860008301876124d2565b6130f560208301866124d2565b6131026040830185612568565b8181036060830152613114818461309a565b905095945050505050565b60008151905061312e816122fc565b92915050565b60006020828403121561314a576131496122c6565b5b60006131588482850161311f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061319b8261243d565b91506131a68361243d565b9250826131b6576131b5613161565b5b82820690509291505056fea26469706673582212205eacbcab550ce119b2d59f7008464a44f84101dec4dfcf6ed8cb0b9a165b69e764736f6c6343000811003300000000000000000000000056a67d475ded20f1120d6377988ae12992888ac400000000000000000000000054ea27f712109be60d12fb0407d2cb7b678fb095

Deployed Bytecode

0x6080604052600436106101d85760003560e01c806383b767c811610102578063b88d4fde11610095578063d3dd5fe011610064578063d3dd5fe014610686578063d59ccc311461069d578063e985e9c5146106c8578063f2fde38b14610705576101d8565b8063b88d4fde146105c7578063c87b56dd146105e3578063d33df93f14610620578063d3738fc814610649576101d8565b806395d89b41116100d157806395d89b4114610531578063a1866ff31461055c578063a22cb46514610573578063aa1152ab1461059c576101d8565b806383b767c8146104635780638d1743cd1461048c5780638da5cb5b146104c9578063937f2608146104f4576101d8565b806324600fc31161017a5780634e3b62ec116101495780634e3b62ec146103a95780636352211e146103d257806370a082311461040f578063715018a61461044c576101d8565b806324600fc314610310578063356ee3351461032757806335f41a901461036457806342842e0e1461038d576101d8565b8063095ea7b3116101b6578063095ea7b31461028257806318160ddd1461029e5780631c8c3a07146102c957806323b872dd146102f4576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612328565b61072e565b6040516102119190612370565b60405180910390f35b34801561022657600080fd5b5061022f6107c0565b60405161023c919061241b565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190612473565b610852565b60405161027991906124e1565b60405180910390f35b61029c60048036038101906102979190612528565b6108b0565b005b3480156102aa57600080fd5b506102b36108c0565b6040516102c09190612577565b60405180910390f35b3480156102d557600080fd5b506102de61090d565b6040516102eb91906124e1565b60405180910390f35b61030e60048036038101906103099190612592565b610933565b005b34801561031c57600080fd5b50610325610bf4565b005b34801561033357600080fd5b5061034e60048036038101906103499190612473565b610cb9565b60405161035b9190612577565b60405180910390f35b34801561037057600080fd5b5061038b600480360381019061038691906125e5565b610cd1565b005b6103a760048036038101906103a29190612592565b610dd2565b005b3480156103b557600080fd5b506103d060048036038101906103cb9190612677565b610df2565b005b3480156103de57600080fd5b506103f960048036038101906103f49190612473565b610e84565b60405161040691906124e1565b60405180910390f35b34801561041b57600080fd5b50610436600480360381019061043191906125e5565b610e96565b6040516104439190612577565b60405180910390f35b34801561045857600080fd5b50610461610f2d565b005b34801561046f57600080fd5b5061048a60048036038101906104859190612473565b610fb5565b005b34801561049857600080fd5b506104b360048036038101906104ae9190612473565b61104f565b6040516104c09190612577565b60405180910390f35b3480156104d557600080fd5b506104de611067565b6040516104eb91906124e1565b60405180910390f35b34801561050057600080fd5b5061051b600480360381019061051691906125e5565b611091565b6040516105289190612577565b60405180910390f35b34801561053d57600080fd5b506105466112ce565b604051610553919061241b565b60405180910390f35b34801561056857600080fd5b50610571611360565b005b34801561057f57600080fd5b5061059a600480360381019061059591906126f0565b611477565b005b3480156105a857600080fd5b506105b1611582565b6040516105be9190612370565b60405180910390f35b6105e160048036038101906105dc9190612860565b611595565b005b3480156105ef57600080fd5b5061060a60048036038101906106059190612473565b6115e7565b604051610617919061241b565b60405180910390f35b34801561062c57600080fd5b50610647600480360381019061064291906125e5565b611673565b005b34801561065557600080fd5b50610670600480360381019061066b91906125e5565b611774565b60405161067d9190612370565b60405180910390f35b34801561069257600080fd5b5061069b611794565b005b3480156106a957600080fd5b506106b261183c565b6040516106bf91906124e1565b60405180910390f35b3480156106d457600080fd5b506106ef60048036038101906106ea91906128e3565b611862565b6040516106fc9190612370565b60405180910390f35b34801561071157600080fd5b5061072c600480360381019061072791906125e5565b6118f6565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061078957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107b95750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546107cf90612952565b80601f01602080910402602001604051908101604052809291908181526020018280546107fb90612952565b80156108485780601f1061081d57610100808354040283529160200191610848565b820191906000526020600020905b81548152906001019060200180831161082b57829003601f168201915b5050505050905090565b600061085d826119ed565b6108725761087163cf4700e460e01b611a99565b5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6108bc82826001611aa3565b5050565b60006108ca611bd2565b600154600054030390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6108fd611bdb565b1461090a57600854810190505b90565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061093e82611c03565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109b3576109b263a114810060e01b611a99565b5b6000806109bf84611d1c565b915091506109d581876109d0611d43565b611d4b565b610a00576109ea866109e5611d43565b611862565b6109ff576109fe6359c896be60e01b611a99565b5b5b610a0d8686866001611d8f565b8015610a1857600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610ae685610ac2888887611d95565b7c020000000000000000000000000000000000000000000000000000000017611dbd565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610b6c5760006001850190506000600460008381526020019081526020016000205403610b6a576000548114610b69578360046000838152602001908152602001600020819055505b5b505b600073ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460008103610bde57610bdd63ea553b3460e01b611a99565b5b610beb8787876001611de8565b50505050505050565b610bfc611dee565b73ffffffffffffffffffffffffffffffffffffffff16610c1a611067565b73ffffffffffffffffffffffffffffffffffffffff1614610c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c67906129cf565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610cb6573d6000803e3d6000fd5b50565b600d6020528060005260406000206000915090505481565b610cd9611dee565b73ffffffffffffffffffffffffffffffffffffffff16610cf7611067565b73ffffffffffffffffffffffffffffffffffffffff1614610d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d44906129cf565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610ded83838360405180602001604052806000815250611595565b505050565b610dfa611dee565b73ffffffffffffffffffffffffffffffffffffffff16610e18611067565b73ffffffffffffffffffffffffffffffffffffffff1614610e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e65906129cf565b60405180910390fd5b8181600a9182610e7f929190612ba6565b505050565b6000610e8f82611c03565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610edc57610edb638f4eb60460e01b611a99565b5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610f35611dee565b73ffffffffffffffffffffffffffffffffffffffff16610f53611067565b73ffffffffffffffffffffffffffffffffffffffff1614610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa0906129cf565b60405180910390fd5b610fb36000611df6565b565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611045576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103c90612cc2565b60405180910390fd5b80600f8190555050565b600c6020528060005260406000206000915090505481565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600f54036110d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ce90612d2e565b60405180910390fd5b600e60009054906101000a900460ff16611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90612d9a565b60405180910390fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ad90612cc2565b60405180910390fd5b60006111c0611ebc565b905060006111cc611ec5565b90506001600d6000848152602001908152602001600020819055506002600d60006001856111fa9190612de9565b8152602001908152602001600020819055506003600d600060028561121f9190612de9565b81526020019081526020016000208190555080600d60006003856112439190612de9565b8152602001908152602001600020819055506001600c600083815260200190815260200160002060008282546112799190612de9565b9250508190555061128b846004611f12565b7f14cdc2590a13839dbee0191c7f93742971950a975d3f6bff9035a42070030e6481856040516112bc929190612e1d565b60405180910390a18092505050919050565b6060600380546112dd90612952565b80601f016020809104026020016040519081016040528092919081815260200182805461130990612952565b80156113565780601f1061132b57610100808354040283529160200191611356565b820191906000526020600020905b81548152906001019060200180831161133957829003601f168201915b5050505050905090565b611368611dee565b73ffffffffffffffffffffffffffffffffffffffff16611386611067565b73ffffffffffffffffffffffffffffffffffffffff16146113dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d3906129cf565b60405180910390fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a1866ff36040518163ffffffff1660e01b81526004016020604051808303816000875af115801561144b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146f9190612e5b565b601081905550565b8060076000611484611d43565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611531611d43565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115769190612370565b60405180910390a35050565b600e60009054906101000a900460ff1681565b6115a0848484610933565b60008373ffffffffffffffffffffffffffffffffffffffff163b146115e1576115cb84848484612098565b6115e0576115df63d1a57ed660e01b611a99565b5b5b50505050565b60606115f2826119ed565b611628576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600d6000848152602001908152602001600020549050600a61164b826121c7565b60405160200161165c929190612f47565b604051602081830303815290604052915050919050565b61167b611dee565b73ffffffffffffffffffffffffffffffffffffffff16611699611067565b73ffffffffffffffffffffffffffffffffffffffff16146116ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e6906129cf565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b6020528060005260406000206000915054906101000a900460ff1681565b61179c611dee565b73ffffffffffffffffffffffffffffffffffffffff166117ba611067565b73ffffffffffffffffffffffffffffffffffffffff1614611810576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611807906129cf565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118fe611dee565b73ffffffffffffffffffffffffffffffffffffffff1661191c611067565b73ffffffffffffffffffffffffffffffffffffffff1614611972576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611969906129cf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d890612fdd565b60405180910390fd5b6119ea81611df6565b50565b6000816119f8611bd2565b11611a9357611a05611bdb565b821115611a2f57611a286004600084815260200190815260200160002054612217565b9050611a94565b600054821015611a925760005b6000600460008581526020019081526020016000205491508103611a6b5782611a6490612ffd565b9250611a3c565b60007c01000000000000000000000000000000000000000000000000000000008216149150505b5b5b919050565b8060005260046000fd5b6000611aae83610e84565b9050818015611af057508073ffffffffffffffffffffffffffffffffffffffff16611ad7611d43565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611b1c57611b0681611b01611d43565b611862565b611b1b57611b1a63cfb3b94260e01b611a99565b5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b60006001905090565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b600081611c0e611bd2565b11611d065760046000838152602001908152602001600020549050611c31611bdb565b821115611c5657611c4181612217565b611d1757611c5563df2d9b4260e01b611a99565b5b60008103611cdd576000548210611c7857611c7763df2d9b4260e01b611a99565b5b5b60046000836001900393508381526020019081526020016000205490506000810315611cd85760007c010000000000000000000000000000000000000000000000000000000082160315611d1757611cd763df2d9b4260e01b611a99565b5b611c79565b60007c010000000000000000000000000000000000000000000000000000000082160315611d17575b611d1663df2d9b4260e01b611a99565b5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611dac868684612258565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008054905090565b6000804241600f54604051602001611edf93929190613047565b6040516020818303038152906040528051906020012090508060001c600f81905550611f0c600f54612261565b91505090565b60008054905060008203611f3157611f3063b562e8dd60e01b611a99565b5b611f3e6000848385611d8f565b611f5e83611f4f6000866000611d95565b611f58856122ac565b17611dbd565b6004600083815260200190815260200160002081905550600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690506000810361201657612015632e07630060e01b611a99565b5b60008383019050600083905061202a611bdb565b600183031115612045576120446381647e3a60e01b611a99565b5b5b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a481816001019150810361204657816000819055505050506120936000848385611de8565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026120be611d43565b8786866040518563ffffffff1660e01b81526004016120e094939291906130d3565b6020604051808303816000875af192505050801561211c57506040513d601f19601f820116820180604052508101906121199190613134565b60015b612174573d806000811461214c576040519150601f19603f3d011682016040523d82523d6000602084013e612151565b606091505b50600081510361216c5761216b63d1a57ed660e01b611a99565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391506000825281835b60011561220257600184039350600a81066030018453600a81049050806121e0575b50828103602084039350808452505050919050565b60007c0100000000000000000000000000000000000000000000000000000000821673ffffffffffffffffffffffffffffffffffffffff8316119050919050565b60009392505050565b600080618235836122729190613190565b90506000612b6782101561228957600490506122a2565b6156ce82101561229c57600590506122a1565b600690505b5b8092505050919050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612305816122d0565b811461231057600080fd5b50565b600081359050612322816122fc565b92915050565b60006020828403121561233e5761233d6122c6565b5b600061234c84828501612313565b91505092915050565b60008115159050919050565b61236a81612355565b82525050565b60006020820190506123856000830184612361565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156123c55780820151818401526020810190506123aa565b60008484015250505050565b6000601f19601f8301169050919050565b60006123ed8261238b565b6123f78185612396565b93506124078185602086016123a7565b612410816123d1565b840191505092915050565b6000602082019050818103600083015261243581846123e2565b905092915050565b6000819050919050565b6124508161243d565b811461245b57600080fd5b50565b60008135905061246d81612447565b92915050565b600060208284031215612489576124886122c6565b5b60006124978482850161245e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006124cb826124a0565b9050919050565b6124db816124c0565b82525050565b60006020820190506124f660008301846124d2565b92915050565b612505816124c0565b811461251057600080fd5b50565b600081359050612522816124fc565b92915050565b6000806040838503121561253f5761253e6122c6565b5b600061254d85828601612513565b925050602061255e8582860161245e565b9150509250929050565b6125718161243d565b82525050565b600060208201905061258c6000830184612568565b92915050565b6000806000606084860312156125ab576125aa6122c6565b5b60006125b986828701612513565b93505060206125ca86828701612513565b92505060406125db8682870161245e565b9150509250925092565b6000602082840312156125fb576125fa6122c6565b5b600061260984828501612513565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261263757612636612612565b5b8235905067ffffffffffffffff81111561265457612653612617565b5b6020830191508360018202830111156126705761266f61261c565b5b9250929050565b6000806020838503121561268e5761268d6122c6565b5b600083013567ffffffffffffffff8111156126ac576126ab6122cb565b5b6126b885828601612621565b92509250509250929050565b6126cd81612355565b81146126d857600080fd5b50565b6000813590506126ea816126c4565b92915050565b60008060408385031215612707576127066122c6565b5b600061271585828601612513565b9250506020612726858286016126db565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61276d826123d1565b810181811067ffffffffffffffff8211171561278c5761278b612735565b5b80604052505050565b600061279f6122bc565b90506127ab8282612764565b919050565b600067ffffffffffffffff8211156127cb576127ca612735565b5b6127d4826123d1565b9050602081019050919050565b82818337600083830152505050565b60006128036127fe846127b0565b612795565b90508281526020810184848401111561281f5761281e612730565b5b61282a8482856127e1565b509392505050565b600082601f83011261284757612846612612565b5b81356128578482602086016127f0565b91505092915050565b6000806000806080858703121561287a576128796122c6565b5b600061288887828801612513565b945050602061289987828801612513565b93505060406128aa8782880161245e565b925050606085013567ffffffffffffffff8111156128cb576128ca6122cb565b5b6128d787828801612832565b91505092959194509250565b600080604083850312156128fa576128f96122c6565b5b600061290885828601612513565b925050602061291985828601612513565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061296a57607f821691505b60208210810361297d5761297c612923565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006129b9602083612396565b91506129c482612983565b602082019050919050565b600060208201905081810360008301526129e8816129ac565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612a5c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612a1f565b612a668683612a1f565b95508019841693508086168417925050509392505050565b6000819050919050565b6000612aa3612a9e612a998461243d565b612a7e565b61243d565b9050919050565b6000819050919050565b612abd83612a88565b612ad1612ac982612aaa565b848454612a2c565b825550505050565b600090565b612ae6612ad9565b612af1818484612ab4565b505050565b5b81811015612b1557612b0a600082612ade565b600181019050612af7565b5050565b601f821115612b5a57612b2b816129fa565b612b3484612a0f565b81016020851015612b43578190505b612b57612b4f85612a0f565b830182612af6565b50505b505050565b600082821c905092915050565b6000612b7d60001984600802612b5f565b1980831691505092915050565b6000612b968383612b6c565b9150826002028217905092915050565b612bb083836129ef565b67ffffffffffffffff811115612bc957612bc8612735565b5b612bd38254612952565b612bde828285612b19565b6000601f831160018114612c0d5760008415612bfb578287013590505b612c058582612b8a565b865550612c6d565b601f198416612c1b866129fa565b60005b82811015612c4357848901358255600182019150602085019450602081019050612c1e565b86831015612c605784890135612c5c601f891682612b6c565b8355505b6001600288020188555050505b50505050505050565b7f556e617574686f72697a65640000000000000000000000000000000000000000600082015250565b6000612cac600c83612396565b9150612cb782612c76565b602082019050919050565b60006020820190508181036000830152612cdb81612c9f565b9050919050565b7f565246206e6f7420696e697469616c697a656400000000000000000000000000600082015250565b6000612d18601383612396565b9150612d2382612ce2565b602082019050919050565b60006020820190508181036000830152612d4781612d0b565b9050919050565b7f4d696e74206973206e6f74206163746976650000000000000000000000000000600082015250565b6000612d84601283612396565b9150612d8f82612d4e565b602082019050919050565b60006020820190508181036000830152612db381612d77565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612df48261243d565b9150612dff8361243d565b9250828201905080821115612e1757612e16612dba565b5b92915050565b6000604082019050612e326000830185612568565b612e3f60208301846124d2565b9392505050565b600081519050612e5581612447565b92915050565b600060208284031215612e7157612e706122c6565b5b6000612e7f84828501612e46565b91505092915050565b600081905092915050565b60008154612ea081612952565b612eaa8186612e88565b94506001821660008114612ec55760018114612eda57612f0d565b60ff1983168652811515820286019350612f0d565b612ee3856129fa565b60005b83811015612f0557815481890152600182019150602081019050612ee6565b838801955050505b50505092915050565b6000612f218261238b565b612f2b8185612e88565b9350612f3b8185602086016123a7565b80840191505092915050565b6000612f538285612e93565b9150612f5f8284612f16565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612fc7602683612396565b9150612fd282612f6b565b604082019050919050565b60006020820190508181036000830152612ff681612fba565b9050919050565b60006130088261243d565b91506000820361301b5761301a612dba565b5b600182039050919050565b6000613031826124a0565b9050919050565b61304181613026565b82525050565b600060608201905061305c6000830186612568565b6130696020830185613038565b6130766040830184612568565b949350505050565b600081519050919050565b600082825260208201905092915050565b60006130a58261307e565b6130af8185613089565b93506130bf8185602086016123a7565b6130c8816123d1565b840191505092915050565b60006080820190506130e860008301876124d2565b6130f560208301866124d2565b6131026040830185612568565b8181036060830152613114818461309a565b905095945050505050565b60008151905061312e816122fc565b92915050565b60006020828403121561314a576131496122c6565b5b60006131588482850161311f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061319b8261243d565b91506131a68361243d565b9250826131b6576131b5613161565b5b82820690509291505056fea26469706673582212205eacbcab550ce119b2d59f7008464a44f84101dec4dfcf6ed8cb0b9a165b69e764736f6c63430008110033

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

00000000000000000000000056a67d475ded20f1120d6377988ae12992888ac400000000000000000000000054ea27f712109be60d12fb0407d2cb7b678fb095

-----Decoded View---------------
Arg [0] : mnlthxAddress_ (address): 0x56A67D475DeD20f1120d6377988Ae12992888aC4
Arg [1] : vrfAddress_ (address): 0x54eA27f712109bE60d12Fb0407D2cB7B678FB095

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000056a67d475ded20f1120d6377988ae12992888ac4
Arg [1] : 00000000000000000000000054ea27f712109be60d12fb0407d2cb7b678fb095


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.