ETH Price: $3,343.29 (+0.66%)

LILVERSE (LILS)
 

Overview

TokenID

9340

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Internet needs a new hero. This is why decided to create these little, funny, memeable and cute characters called "lils".

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
lilverse

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 800 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-02
*/

// File: erc721a/contracts/IERC721A.sol


// ERC721A Contracts v4.2.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();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](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: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * 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 {
    // Reference type for token approval.
    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;

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

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

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

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

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

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

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

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

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

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

        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 Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

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

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

    /**
     * @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.
     * 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) public virtual override {
        address owner = ownerOf(tokenId);

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

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

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

        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 {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _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) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not 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]`.
        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 virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public 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 virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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();
            } else {
                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();

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // 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`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _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();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

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

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

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

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

    /**
     * @dev 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();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        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 ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

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

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

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree 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.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

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

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

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

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

// File: lilverse.sol


pragma solidity ^0.8.0;




contract lilverse is ERC721A, Ownable {
    uint256 public constant MINT_PRICE = 0 ether;
    uint256 public constant MAX_SUPPLY = 10000;
    uint256 public constant MAX_PER_WALLET = 50;
    uint256 public constant MAX_PURCHASE = 20;

    constructor() ERC721A("LILVERSE", "LILS") {}

    modifier hasCorrectAmount(uint256 _wei, uint256 _quantity) {
        require(_wei >= MINT_PRICE * _quantity, "Insufficent funds");
        _;
    }

    modifier withinMaximumSupply(uint256 _quantity) {
        require(totalSupply() + _quantity <= MAX_SUPPLY, "Surpasses supply");
        _;
    }

    /**
     * Public sale and whitelist sale mechansim
     */
    bool public publicSale = false;
    bool public whitelistSale = false;

    modifier publicSaleActive() {
        require(publicSale, "Public sale not started");
        _;
    }

    function setPublicSale(bool toggle) external onlyOwner {
        publicSale = toggle;
    }

    modifier whitelistSaleActive() {
        require(whitelistSale, "Whitelist sale not started");
        _;
    }

    function setWhitelistSale(bool toggle) external onlyOwner {
        whitelistSale = toggle;
    }

    /**
     * Public minting
     */
    mapping(address => uint256) public publicAddressMintCount;

    function mintPublic(uint256 _quantity)
        public
        payable
        publicSaleActive
        hasCorrectAmount(msg.value, _quantity)
        withinMaximumSupply(_quantity)
    {
        require(
            _quantity > 0 && _quantity <= MAX_PURCHASE &&
                publicAddressMintCount[msg.sender] + _quantity <=
                MAX_PER_WALLET,
            "Minting above public limit"
        );
        publicAddressMintCount[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }

    /**
     * Tiered whitelisting system
     */
    bytes32[5] public tieredWhitelistMerkleRoot;
    uint256[4] public tieredWhitelistMaximums = [1, 2, 4, 10];
    mapping(address => uint256) public whitelistAddressMintCount;
    mapping(address => uint256) public whitelistAddressGiftCount;
    mapping(address => uint256) public whitelistAddressCustomLimit;

    modifier hasValidTier(uint256 tier) {
        require(tier >= 0 && tier <= 4, "Invalid Tier");
        _;
    }

    modifier hasValidMerkleProof(bytes32[] calldata merkleProof, bytes32 root) {
        require(
            MerkleProof.verify(
                merkleProof,
                root,
                keccak256(abi.encodePacked(msg.sender))
            ),
            "Address not whitelisted"
        );
        _;
    }

    function setWhitelistMerkleRoot(uint256 tier, bytes32 merkleRoot)
        external
        onlyOwner
        hasValidTier(tier)
    {
        tieredWhitelistMerkleRoot[tier] = merkleRoot;
    }

    function setWhitelistAddressCustomLimit(address _address, uint256 _amount)
        external
        onlyOwner
    {
        whitelistAddressCustomLimit[_address] = _amount;
    }

    function mintWhitelist(
        uint256 _tier,
        uint256 _quantity,
        bytes32[] calldata merkleProof
    )
        public
        payable
        whitelistSaleActive
        hasValidTier(_tier)
        hasValidMerkleProof(merkleProof, tieredWhitelistMerkleRoot[_tier])
        hasCorrectAmount(msg.value, _quantity)
        withinMaximumSupply(_quantity)
    {
        // Mint according to the whitelisted tier limit, otherwise assume custom limit
        if (_tier <= 3) {
            require(
                _quantity > 0 &&
                    whitelistAddressMintCount[msg.sender] + _quantity <=
                    tieredWhitelistMaximums[_tier],
                "Minting above allocation"
            );
        } else {
            require(
                _quantity > 0 &&
                    whitelistAddressMintCount[msg.sender] + _quantity <=
                    whitelistAddressCustomLimit[msg.sender],
                "Minting above allocation"
            );
        }
        whitelistAddressMintCount[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }

    /**
     * Admin minting
     */
    function mintAdmin(address _recipient, uint256 _quantity)
        public
        onlyOwner
        withinMaximumSupply(_quantity)
    {
        _safeMint(_recipient, _quantity);
    }

    /**
     * Base URI
     */
    string private baseURI;

    function setBaseURI(string memory baseURI_) external onlyOwner {
        baseURI = baseURI_;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tier","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicAddressMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"toggle","type":"bool"}],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setWhitelistAddressCustomLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tier","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"toggle","type":"bool"}],"name":"setWhitelistSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tieredWhitelistMaximums","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tieredWhitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistAddressCustomLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistAddressGiftCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistAddressMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

6008805461ffff60a01b1916905561010060405260016080908152600260a052600460c0819052600a60e0526200003991600f9162000114565b503480156200004757600080fd5b5060408051808201825260088152674c494c564552534560c01b6020808301918252835180850190945260048452634c494c5360e01b90840152815191929162000094916002916200015c565b508051620000aa9060039060208401906200015c565b50506000805550620000bc33620000c2565b6200022d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82600481019282156200014a579160200282015b828111156200014a578251829060ff1690559160200191906001019062000128565b5062000158929150620001d9565b5090565b8280546200016a90620001f0565b90600052602060002090601f0160209004810192826200018e57600085556200014a565b82601f10620001a957805160ff19168380011785556200014a565b828001600101855582156200014a579182015b828111156200014a578251825591602001919060010190620001bc565b5b80821115620001585760008155600101620001da565b600181811c908216806200020557607f821691505b602082108114156200022757634e487b7160e01b600052602260045260246000fd5b50919050565b611ebe806200023d6000396000f3fe60806040526004361061026a5760003560e01c80635aca1bb611610153578063b88d4fde116100cb578063ca7ce3ec1161007f578063ee49382411610064578063ee49382414610703578063efd0cbf914610716578063f2fde38b1461072957600080fd5b8063ca7ce3ec1461069a578063e985e9c5146106ba57600080fd5b8063c15b38d6116100b0578063c15b38d61461063a578063c3a719991461065a578063c87b56dd1461067a57600080fd5b8063b88d4fde14610605578063c002d23d1461062557600080fd5b8063715018a6116101225780638da5cb5b116101075780638da5cb5b146105b257806395d89b41146105d0578063a22cb465146105e557600080fd5b8063715018a61461057d57806374f586b11461059257600080fd5b80635aca1bb6146105085780636352211e1461052857806370a08231146105485780637146bd081461056857600080fd5b806323b872dd116101e657806333bc1c5c116101b557806343f35cbe1161019a57806343f35cbe1461049b5780634cb73b5c146104c857806355f804b3146104e857600080fd5b806333bc1c5c1461045a57806342842e0e1461047b57600080fd5b806323b872dd146103e357806331ffd6f11461040357806332cb6b0c1461042457806332f611cc1461043a57600080fd5b8063095ea7b31161023d5780630f36d53d116102225780630f36d53d1461037057806318160ddd1461039d5780631ac8ee01146103b657600080fd5b8063095ea7b3146103395780630f2cdd6c1461035b57600080fd5b806301ffc9a71461026f57806306fdde03146102a457806307e4d480146102c6578063081812fc14610301575b600080fd5b34801561027b57600080fd5b5061028f61028a36600461198b565b610749565b60405190151581526020015b60405180910390f35b3480156102b057600080fd5b506102b961079b565b60405161029b9190611a00565b3480156102d257600080fd5b506102f36102e1366004611a2f565b60096020526000908152604090205481565b60405190815260200161029b565b34801561030d57600080fd5b5061032161031c366004611a4a565b61082d565b6040516001600160a01b03909116815260200161029b565b34801561034557600080fd5b50610359610354366004611a63565b610871565b005b34801561036757600080fd5b506102f3603281565b34801561037c57600080fd5b506102f361038b366004611a2f565b60156020526000908152604090205481565b3480156103a957600080fd5b50600154600054036102f3565b3480156103c257600080fd5b506102f36103d1366004611a2f565b60146020526000908152604090205481565b3480156103ef57600080fd5b506103596103fe366004611a8d565b61091e565b34801561040f57600080fd5b5060085461028f90600160a81b900460ff1681565b34801561043057600080fd5b506102f361271081565b34801561044657600080fd5b50610359610455366004611a63565b610aaf565b34801561046657600080fd5b5060085461028f90600160a01b900460ff1681565b34801561048757600080fd5b50610359610496366004611a8d565b610ad3565b3480156104a757600080fd5b506102f36104b6366004611a2f565b60136020526000908152604090205481565b3480156104d457600080fd5b506102f36104e3366004611a4a565b610af3565b3480156104f457600080fd5b50610359610503366004611b55565b610b0a565b34801561051457600080fd5b50610359610523366004611bae565b610b29565b34801561053457600080fd5b50610321610543366004611a4a565b610b6a565b34801561055457600080fd5b506102f3610563366004611a2f565b610b75565b34801561057457600080fd5b506102f3601481565b34801561058957600080fd5b50610359610bc4565b34801561059e57600080fd5b506102f36105ad366004611a4a565b610bd8565b3480156105be57600080fd5b506008546001600160a01b0316610321565b3480156105dc57600080fd5b506102b9610be8565b3480156105f157600080fd5b50610359610600366004611bc9565b610bf7565b34801561061157600080fd5b50610359610620366004611bfc565b610c8d565b34801561063157600080fd5b506102f3600081565b34801561064657600080fd5b50610359610655366004611c78565b610cd7565b34801561066657600080fd5b50610359610675366004611a63565b610d40565b34801561068657600080fd5b506102b9610695366004611a4a565b610daf565b3480156106a657600080fd5b506103596106b5366004611bae565b610e34565b3480156106c657600080fd5b5061028f6106d5366004611c9a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610359610711366004611cc4565b610e75565b610359610724366004611a4a565b6111f1565b34801561073557600080fd5b50610359610744366004611a2f565b6113b7565b60006301ffc9a760e01b6001600160e01b03198316148061077a57506380ac58cd60e01b6001600160e01b03198316145b806107955750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107aa90611d47565b80601f01602080910402602001604051908101604052809291908181526020018280546107d690611d47565b80156108235780601f106107f857610100808354040283529160200191610823565b820191906000526020600020905b81548152906001019060200180831161080657829003601f168201915b5050505050905090565b600061083882611447565b610855576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061087c82610b6a565b9050336001600160a01b038216146108b55761089881336106d5565b6108b5576040516367d9dca160e11b815260040160405180910390fd5b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006109298261146e565b9050836001600160a01b0316816001600160a01b03161461095c5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109a95761098c86336106d5565b6109a957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109d057604051633a954ecd60e21b815260040160405180910390fd5b80156109db57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610a665760018401600081815260046020526040902054610a64576000548114610a645760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610ab76114cf565b6001600160a01b03909116600090815260156020526040902055565b610aee83838360405180602001604052806000815250610c8d565b505050565b600f8160048110610b0357600080fd5b0154905081565b610b126114cf565b8051610b259060169060208401906118dc565b5050565b610b316114cf565b60088054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60006107958261146e565b60006001600160a01b038216610b9e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bcc6114cf565b610bd66000611529565b565b600a8160058110610b0357600080fd5b6060600380546107aa90611d47565b6001600160a01b038216331415610c215760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c9884848461091e565b6001600160a01b0383163b15610cd157610cb484848484611588565b610cd1576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610cdf6114cf565b816004811115610d255760405162461bcd60e51b815260206004820152600c60248201526b24b73b30b634b2102a34b2b960a11b60448201526064015b60405180910390fd5b81600a8460058110610d3957610d39611d82565b0155505050565b610d486114cf565b8061271081610d5a6001546000540390565b610d649190611dae565b1115610da55760405162461bcd60e51b815260206004820152601060248201526f53757270617373657320737570706c7960801b6044820152606401610d1c565b610aee8383611671565b6060610dba82611447565b610dd757604051630a14c4b560e41b815260040160405180910390fd5b6000610de161168b565b9050805160001415610e025760405180602001604052806000815250610e2d565b80610e0c8461169a565b604051602001610e1d929190611dc6565b6040516020818303038152906040525b9392505050565b610e3c6114cf565b60088054911515600160a81b027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff909216919091179055565b600854600160a81b900460ff16610ece5760405162461bcd60e51b815260206004820152601a60248201527f57686974656c6973742073616c65206e6f7420737461727465640000000000006044820152606401610d1c565b836004811115610f0f5760405162461bcd60e51b815260206004820152600c60248201526b24b73b30b634b2102a34b2b960a11b6044820152606401610d1c565b8282600a8760058110610f2457610f24611d82565b0154610f98838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b1660208201528592506034019050604051602081830303815290604052805190602001206116e9565b610fe45760405162461bcd60e51b815260206004820152601760248201527f41646472657373206e6f742077686974656c69737465640000000000000000006044820152606401610d1c565b3487610ff1816000611df5565b8210156110405760405162461bcd60e51b815260206004820152601160248201527f496e737566666963656e742066756e64730000000000000000000000000000006044820152606401610d1c565b88612710816110526001546000540390565b61105c9190611dae565b111561109d5760405162461bcd60e51b815260206004820152601060248201526f53757270617373657320737570706c7960801b6044820152606401610d1c565b60038b116111345760008a1180156110e35750600f8b600481106110c3576110c3611d82565b0154336000908152601360205260409020546110e0908c90611dae565b11155b61112f5760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e672061626f766520616c6c6f636174696f6e00000000000000006044820152606401610d1c565b6111b5565b60008a118015611169575033600090815260156020908152604080832054601390925290912054611166908c90611dae565b11155b6111b55760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e672061626f766520616c6c6f636174696f6e00000000000000006044820152606401610d1c565b33600090815260136020526040812080548c92906111d4908490611dae565b909155506111e49050338b611671565b5050505050505050505050565b600854600160a01b900460ff1661124a5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206e6f7420737461727465640000000000000000006044820152606401610d1c565b3481611257816000611df5565b8210156112a65760405162461bcd60e51b815260206004820152601160248201527f496e737566666963656e742066756e64730000000000000000000000000000006044820152606401610d1c565b82612710816112b86001546000540390565b6112c29190611dae565b11156113035760405162461bcd60e51b815260206004820152601060248201526f53757270617373657320737570706c7960801b6044820152606401610d1c565b600084118015611314575060148411155b801561133c575033600090815260096020526040902054603290611339908690611dae565b11155b6113885760405162461bcd60e51b815260206004820152601a60248201527f4d696e74696e672061626f7665207075626c6963206c696d69740000000000006044820152606401610d1c565b33600090815260096020526040812080548692906113a7908490611dae565b90915550610cd190503385611671565b6113bf6114cf565b6001600160a01b03811661143b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610d1c565b61144481611529565b50565b6000805482108015610795575050600090815260046020526040902054600160e01b161590565b6000816000548110156114b657600081815260046020526040902054600160e01b81166114b4575b80610e2d575060001901600081815260046020526040902054611496565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610bd65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d1c565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906115bd903390899088908890600401611e14565b6020604051808303816000875af19250505080156115f8575060408051601f3d908101601f191682019092526115f591810190611e50565b60015b611653573d808015611626576040519150601f19603f3d011682016040523d82523d6000602084013e61162b565b606091505b50805161164b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b610b258282604051806020016040528060008152506116ff565b6060601680546107aa90611d47565b604080516080810191829052607f0190826030600a8206018353600a90045b80156116d757600183039250600a81066030018353600a90046116b9565b50819003601f19909101908152919050565b6000826116f6858461176c565b14949350505050565b61170983836117b9565b6001600160a01b0383163b15610aee576000548281035b6117336000868380600101945086611588565b611750576040516368d2bf6b60e11b815260040160405180910390fd5b81811061172057816000541461176557600080fd5b5050505050565b600081815b84518110156117b15761179d8286838151811061179057611790611d82565b60200260200101516118b0565b9150806117a981611e6d565b915050611771565b509392505050565b600054816117da5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461188957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611851565b50816118a757604051622e076360e81b815260040160405180910390fd5b60005550505050565b60008183106118cc576000828152602084905260409020610e2d565b5060009182526020526040902090565b8280546118e890611d47565b90600052602060002090601f01602090048101928261190a5760008555611950565b82601f1061192357805160ff1916838001178555611950565b82800160010185558215611950579182015b82811115611950578251825591602001919060010190611935565b5061195c929150611960565b5090565b5b8082111561195c5760008155600101611961565b6001600160e01b03198116811461144457600080fd5b60006020828403121561199d57600080fd5b8135610e2d81611975565b60005b838110156119c35781810151838201526020016119ab565b83811115610cd15750506000910152565b600081518084526119ec8160208601602086016119a8565b601f01601f19169290920160200192915050565b602081526000610e2d60208301846119d4565b80356001600160a01b0381168114611a2a57600080fd5b919050565b600060208284031215611a4157600080fd5b610e2d82611a13565b600060208284031215611a5c57600080fd5b5035919050565b60008060408385031215611a7657600080fd5b611a7f83611a13565b946020939093013593505050565b600080600060608486031215611aa257600080fd5b611aab84611a13565b9250611ab960208501611a13565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611afa57611afa611ac9565b604051601f8501601f19908116603f01168101908282118183101715611b2257611b22611ac9565b81604052809350858152868686011115611b3b57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b6757600080fd5b813567ffffffffffffffff811115611b7e57600080fd5b8201601f81018413611b8f57600080fd5b61166984823560208401611adf565b80358015158114611a2a57600080fd5b600060208284031215611bc057600080fd5b610e2d82611b9e565b60008060408385031215611bdc57600080fd5b611be583611a13565b9150611bf360208401611b9e565b90509250929050565b60008060008060808587031215611c1257600080fd5b611c1b85611a13565b9350611c2960208601611a13565b925060408501359150606085013567ffffffffffffffff811115611c4c57600080fd5b8501601f81018713611c5d57600080fd5b611c6c87823560208401611adf565b91505092959194509250565b60008060408385031215611c8b57600080fd5b50508035926020909101359150565b60008060408385031215611cad57600080fd5b611cb683611a13565b9150611bf360208401611a13565b60008060008060608587031215611cda57600080fd5b8435935060208501359250604085013567ffffffffffffffff80821115611d0057600080fd5b818701915087601f830112611d1457600080fd5b813581811115611d2357600080fd5b8860208260051b8501011115611d3857600080fd5b95989497505060200194505050565b600181811c90821680611d5b57607f821691505b60208210811415611d7c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115611dc157611dc1611d98565b500190565b60008351611dd88184602088016119a8565b835190830190611dec8183602088016119a8565b01949350505050565b6000816000190483118215151615611e0f57611e0f611d98565b500290565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611e4660808301846119d4565b9695505050505050565b600060208284031215611e6257600080fd5b8151610e2d81611975565b6000600019821415611e8157611e81611d98565b506001019056fea26469706673582212200372a9684dd6e3f8a8911c2430c582ad55e141304ed54d69a14af417103313ee64736f6c634300080b0033

Deployed Bytecode

0x60806040526004361061026a5760003560e01c80635aca1bb611610153578063b88d4fde116100cb578063ca7ce3ec1161007f578063ee49382411610064578063ee49382414610703578063efd0cbf914610716578063f2fde38b1461072957600080fd5b8063ca7ce3ec1461069a578063e985e9c5146106ba57600080fd5b8063c15b38d6116100b0578063c15b38d61461063a578063c3a719991461065a578063c87b56dd1461067a57600080fd5b8063b88d4fde14610605578063c002d23d1461062557600080fd5b8063715018a6116101225780638da5cb5b116101075780638da5cb5b146105b257806395d89b41146105d0578063a22cb465146105e557600080fd5b8063715018a61461057d57806374f586b11461059257600080fd5b80635aca1bb6146105085780636352211e1461052857806370a08231146105485780637146bd081461056857600080fd5b806323b872dd116101e657806333bc1c5c116101b557806343f35cbe1161019a57806343f35cbe1461049b5780634cb73b5c146104c857806355f804b3146104e857600080fd5b806333bc1c5c1461045a57806342842e0e1461047b57600080fd5b806323b872dd146103e357806331ffd6f11461040357806332cb6b0c1461042457806332f611cc1461043a57600080fd5b8063095ea7b31161023d5780630f36d53d116102225780630f36d53d1461037057806318160ddd1461039d5780631ac8ee01146103b657600080fd5b8063095ea7b3146103395780630f2cdd6c1461035b57600080fd5b806301ffc9a71461026f57806306fdde03146102a457806307e4d480146102c6578063081812fc14610301575b600080fd5b34801561027b57600080fd5b5061028f61028a36600461198b565b610749565b60405190151581526020015b60405180910390f35b3480156102b057600080fd5b506102b961079b565b60405161029b9190611a00565b3480156102d257600080fd5b506102f36102e1366004611a2f565b60096020526000908152604090205481565b60405190815260200161029b565b34801561030d57600080fd5b5061032161031c366004611a4a565b61082d565b6040516001600160a01b03909116815260200161029b565b34801561034557600080fd5b50610359610354366004611a63565b610871565b005b34801561036757600080fd5b506102f3603281565b34801561037c57600080fd5b506102f361038b366004611a2f565b60156020526000908152604090205481565b3480156103a957600080fd5b50600154600054036102f3565b3480156103c257600080fd5b506102f36103d1366004611a2f565b60146020526000908152604090205481565b3480156103ef57600080fd5b506103596103fe366004611a8d565b61091e565b34801561040f57600080fd5b5060085461028f90600160a81b900460ff1681565b34801561043057600080fd5b506102f361271081565b34801561044657600080fd5b50610359610455366004611a63565b610aaf565b34801561046657600080fd5b5060085461028f90600160a01b900460ff1681565b34801561048757600080fd5b50610359610496366004611a8d565b610ad3565b3480156104a757600080fd5b506102f36104b6366004611a2f565b60136020526000908152604090205481565b3480156104d457600080fd5b506102f36104e3366004611a4a565b610af3565b3480156104f457600080fd5b50610359610503366004611b55565b610b0a565b34801561051457600080fd5b50610359610523366004611bae565b610b29565b34801561053457600080fd5b50610321610543366004611a4a565b610b6a565b34801561055457600080fd5b506102f3610563366004611a2f565b610b75565b34801561057457600080fd5b506102f3601481565b34801561058957600080fd5b50610359610bc4565b34801561059e57600080fd5b506102f36105ad366004611a4a565b610bd8565b3480156105be57600080fd5b506008546001600160a01b0316610321565b3480156105dc57600080fd5b506102b9610be8565b3480156105f157600080fd5b50610359610600366004611bc9565b610bf7565b34801561061157600080fd5b50610359610620366004611bfc565b610c8d565b34801561063157600080fd5b506102f3600081565b34801561064657600080fd5b50610359610655366004611c78565b610cd7565b34801561066657600080fd5b50610359610675366004611a63565b610d40565b34801561068657600080fd5b506102b9610695366004611a4a565b610daf565b3480156106a657600080fd5b506103596106b5366004611bae565b610e34565b3480156106c657600080fd5b5061028f6106d5366004611c9a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610359610711366004611cc4565b610e75565b610359610724366004611a4a565b6111f1565b34801561073557600080fd5b50610359610744366004611a2f565b6113b7565b60006301ffc9a760e01b6001600160e01b03198316148061077a57506380ac58cd60e01b6001600160e01b03198316145b806107955750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107aa90611d47565b80601f01602080910402602001604051908101604052809291908181526020018280546107d690611d47565b80156108235780601f106107f857610100808354040283529160200191610823565b820191906000526020600020905b81548152906001019060200180831161080657829003601f168201915b5050505050905090565b600061083882611447565b610855576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061087c82610b6a565b9050336001600160a01b038216146108b55761089881336106d5565b6108b5576040516367d9dca160e11b815260040160405180910390fd5b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006109298261146e565b9050836001600160a01b0316816001600160a01b03161461095c5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109a95761098c86336106d5565b6109a957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109d057604051633a954ecd60e21b815260040160405180910390fd5b80156109db57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610a665760018401600081815260046020526040902054610a64576000548114610a645760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610ab76114cf565b6001600160a01b03909116600090815260156020526040902055565b610aee83838360405180602001604052806000815250610c8d565b505050565b600f8160048110610b0357600080fd5b0154905081565b610b126114cf565b8051610b259060169060208401906118dc565b5050565b610b316114cf565b60088054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60006107958261146e565b60006001600160a01b038216610b9e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bcc6114cf565b610bd66000611529565b565b600a8160058110610b0357600080fd5b6060600380546107aa90611d47565b6001600160a01b038216331415610c215760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c9884848461091e565b6001600160a01b0383163b15610cd157610cb484848484611588565b610cd1576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610cdf6114cf565b816004811115610d255760405162461bcd60e51b815260206004820152600c60248201526b24b73b30b634b2102a34b2b960a11b60448201526064015b60405180910390fd5b81600a8460058110610d3957610d39611d82565b0155505050565b610d486114cf565b8061271081610d5a6001546000540390565b610d649190611dae565b1115610da55760405162461bcd60e51b815260206004820152601060248201526f53757270617373657320737570706c7960801b6044820152606401610d1c565b610aee8383611671565b6060610dba82611447565b610dd757604051630a14c4b560e41b815260040160405180910390fd5b6000610de161168b565b9050805160001415610e025760405180602001604052806000815250610e2d565b80610e0c8461169a565b604051602001610e1d929190611dc6565b6040516020818303038152906040525b9392505050565b610e3c6114cf565b60088054911515600160a81b027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff909216919091179055565b600854600160a81b900460ff16610ece5760405162461bcd60e51b815260206004820152601a60248201527f57686974656c6973742073616c65206e6f7420737461727465640000000000006044820152606401610d1c565b836004811115610f0f5760405162461bcd60e51b815260206004820152600c60248201526b24b73b30b634b2102a34b2b960a11b6044820152606401610d1c565b8282600a8760058110610f2457610f24611d82565b0154610f98838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b1660208201528592506034019050604051602081830303815290604052805190602001206116e9565b610fe45760405162461bcd60e51b815260206004820152601760248201527f41646472657373206e6f742077686974656c69737465640000000000000000006044820152606401610d1c565b3487610ff1816000611df5565b8210156110405760405162461bcd60e51b815260206004820152601160248201527f496e737566666963656e742066756e64730000000000000000000000000000006044820152606401610d1c565b88612710816110526001546000540390565b61105c9190611dae565b111561109d5760405162461bcd60e51b815260206004820152601060248201526f53757270617373657320737570706c7960801b6044820152606401610d1c565b60038b116111345760008a1180156110e35750600f8b600481106110c3576110c3611d82565b0154336000908152601360205260409020546110e0908c90611dae565b11155b61112f5760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e672061626f766520616c6c6f636174696f6e00000000000000006044820152606401610d1c565b6111b5565b60008a118015611169575033600090815260156020908152604080832054601390925290912054611166908c90611dae565b11155b6111b55760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e672061626f766520616c6c6f636174696f6e00000000000000006044820152606401610d1c565b33600090815260136020526040812080548c92906111d4908490611dae565b909155506111e49050338b611671565b5050505050505050505050565b600854600160a01b900460ff1661124a5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206e6f7420737461727465640000000000000000006044820152606401610d1c565b3481611257816000611df5565b8210156112a65760405162461bcd60e51b815260206004820152601160248201527f496e737566666963656e742066756e64730000000000000000000000000000006044820152606401610d1c565b82612710816112b86001546000540390565b6112c29190611dae565b11156113035760405162461bcd60e51b815260206004820152601060248201526f53757270617373657320737570706c7960801b6044820152606401610d1c565b600084118015611314575060148411155b801561133c575033600090815260096020526040902054603290611339908690611dae565b11155b6113885760405162461bcd60e51b815260206004820152601a60248201527f4d696e74696e672061626f7665207075626c6963206c696d69740000000000006044820152606401610d1c565b33600090815260096020526040812080548692906113a7908490611dae565b90915550610cd190503385611671565b6113bf6114cf565b6001600160a01b03811661143b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610d1c565b61144481611529565b50565b6000805482108015610795575050600090815260046020526040902054600160e01b161590565b6000816000548110156114b657600081815260046020526040902054600160e01b81166114b4575b80610e2d575060001901600081815260046020526040902054611496565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610bd65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d1c565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906115bd903390899088908890600401611e14565b6020604051808303816000875af19250505080156115f8575060408051601f3d908101601f191682019092526115f591810190611e50565b60015b611653573d808015611626576040519150601f19603f3d011682016040523d82523d6000602084013e61162b565b606091505b50805161164b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b610b258282604051806020016040528060008152506116ff565b6060601680546107aa90611d47565b604080516080810191829052607f0190826030600a8206018353600a90045b80156116d757600183039250600a81066030018353600a90046116b9565b50819003601f19909101908152919050565b6000826116f6858461176c565b14949350505050565b61170983836117b9565b6001600160a01b0383163b15610aee576000548281035b6117336000868380600101945086611588565b611750576040516368d2bf6b60e11b815260040160405180910390fd5b81811061172057816000541461176557600080fd5b5050505050565b600081815b84518110156117b15761179d8286838151811061179057611790611d82565b60200260200101516118b0565b9150806117a981611e6d565b915050611771565b509392505050565b600054816117da5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461188957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611851565b50816118a757604051622e076360e81b815260040160405180910390fd5b60005550505050565b60008183106118cc576000828152602084905260409020610e2d565b5060009182526020526040902090565b8280546118e890611d47565b90600052602060002090601f01602090048101928261190a5760008555611950565b82601f1061192357805160ff1916838001178555611950565b82800160010185558215611950579182015b82811115611950578251825591602001919060010190611935565b5061195c929150611960565b5090565b5b8082111561195c5760008155600101611961565b6001600160e01b03198116811461144457600080fd5b60006020828403121561199d57600080fd5b8135610e2d81611975565b60005b838110156119c35781810151838201526020016119ab565b83811115610cd15750506000910152565b600081518084526119ec8160208601602086016119a8565b601f01601f19169290920160200192915050565b602081526000610e2d60208301846119d4565b80356001600160a01b0381168114611a2a57600080fd5b919050565b600060208284031215611a4157600080fd5b610e2d82611a13565b600060208284031215611a5c57600080fd5b5035919050565b60008060408385031215611a7657600080fd5b611a7f83611a13565b946020939093013593505050565b600080600060608486031215611aa257600080fd5b611aab84611a13565b9250611ab960208501611a13565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611afa57611afa611ac9565b604051601f8501601f19908116603f01168101908282118183101715611b2257611b22611ac9565b81604052809350858152868686011115611b3b57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b6757600080fd5b813567ffffffffffffffff811115611b7e57600080fd5b8201601f81018413611b8f57600080fd5b61166984823560208401611adf565b80358015158114611a2a57600080fd5b600060208284031215611bc057600080fd5b610e2d82611b9e565b60008060408385031215611bdc57600080fd5b611be583611a13565b9150611bf360208401611b9e565b90509250929050565b60008060008060808587031215611c1257600080fd5b611c1b85611a13565b9350611c2960208601611a13565b925060408501359150606085013567ffffffffffffffff811115611c4c57600080fd5b8501601f81018713611c5d57600080fd5b611c6c87823560208401611adf565b91505092959194509250565b60008060408385031215611c8b57600080fd5b50508035926020909101359150565b60008060408385031215611cad57600080fd5b611cb683611a13565b9150611bf360208401611a13565b60008060008060608587031215611cda57600080fd5b8435935060208501359250604085013567ffffffffffffffff80821115611d0057600080fd5b818701915087601f830112611d1457600080fd5b813581811115611d2357600080fd5b8860208260051b8501011115611d3857600080fd5b95989497505060200194505050565b600181811c90821680611d5b57607f821691505b60208210811415611d7c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115611dc157611dc1611d98565b500190565b60008351611dd88184602088016119a8565b835190830190611dec8183602088016119a8565b01949350505050565b6000816000190483118215151615611e0f57611e0f611d98565b500290565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611e4660808301846119d4565b9695505050505050565b600060208284031215611e6257600080fd5b8151610e2d81611975565b6000600019821415611e8157611e81611d98565b506001019056fea26469706673582212200372a9684dd6e3f8a8911c2430c582ad55e141304ed54d69a14af417103313ee64736f6c634300080b0033

Deployed Bytecode Sourcemap

63625:4734:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18435:639;;;;;;;;;;-1:-1:-1;18435:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;18435:639:0;;;;;;;;19337:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;64865:57::-;;;;;;;;;;-1:-1:-1;64865:57:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;1881:25:1;;;1869:2;1854:18;64865:57:0;1735:177:1;25820:218:0;;;;;;;;;;-1:-1:-1;25820:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2266:55:1;;;2248:74;;2236:2;2221:18;25820:218:0;2102:226:1;25261:400:0;;;;;;;;;;-1:-1:-1;25261:400:0;;;;;:::i;:::-;;:::i;:::-;;63770:43;;;;;;;;;;;;63811:2;63770:43;;65771:62;;;;;;;;;;-1:-1:-1;65771:62:0;;;;;:::i;:::-;;;;;;;;;;;;;;15088:323;;;;;;;;;;-1:-1:-1;15362:12:0;;15149:7;15346:13;:28;15088:323;;65704:60;;;;;;;;;;-1:-1:-1;65704:60:0;;;;;:::i;:::-;;;;;;;;;;;;;;29527:2817;;;;;;;;;;-1:-1:-1;29527:2817:0;;;;;:::i;:::-;;:::i;64339:33::-;;;;;;;;;;-1:-1:-1;64339:33:0;;;;-1:-1:-1;;;64339:33:0;;;;;;63721:42;;;;;;;;;;;;63758:5;63721:42;;66502:183;;;;;;;;;;-1:-1:-1;66502:183:0;;;;;:::i;:::-;;:::i;64302:30::-;;;;;;;;;;-1:-1:-1;64302:30:0;;;;-1:-1:-1;;;64302:30:0;;;;;;32440:185;;;;;;;;;;-1:-1:-1;32440:185:0;;;;;:::i;:::-;;:::i;65637:60::-;;;;;;;;;;-1:-1:-1;65637:60:0;;;;;:::i;:::-;;;;;;;;;;;;;;65573:57;;;;;;;;;;-1:-1:-1;65573:57:0;;;;;:::i;:::-;;:::i;68138:100::-;;;;;;;;;;-1:-1:-1;68138:100:0;;;;;:::i;:::-;;:::i;64494:93::-;;;;;;;;;;-1:-1:-1;64494:93:0;;;;;:::i;:::-;;:::i;20730:152::-;;;;;;;;;;-1:-1:-1;20730:152:0;;;;;:::i;:::-;;:::i;16272:233::-;;;;;;;;;;-1:-1:-1;16272:233:0;;;;;:::i;:::-;;:::i;63820:41::-;;;;;;;;;;;;63859:2;63820:41;;62748:103;;;;;;;;;;;;;:::i;65523:43::-;;;;;;;;;;-1:-1:-1;65523:43:0;;;;;:::i;:::-;;:::i;62100:87::-;;;;;;;;;;-1:-1:-1;62173:6:0;;-1:-1:-1;;;;;62173:6:0;62100:87;;19513:104;;;;;;;;;;;;;:::i;26378:308::-;;;;;;;;;;-1:-1:-1;26378:308:0;;;;;:::i;:::-;;:::i;33223:399::-;;;;;;;;;;-1:-1:-1;33223:399:0;;;;;:::i;:::-;;:::i;63670:44::-;;;;;;;;;;;;63707:7;63670:44;;66295:199;;;;;;;;;;-1:-1:-1;66295:199:0;;;;;:::i;:::-;;:::i;67875:189::-;;;;;;;;;;-1:-1:-1;67875:189:0;;;;;:::i;:::-;;:::i;19723:318::-;;;;;;;;;;-1:-1:-1;19723:318:0;;;;;:::i;:::-;;:::i;64717:99::-;;;;;;;;;;-1:-1:-1;64717:99:0;;;;;:::i;:::-;;:::i;26843:164::-;;;;;;;;;;-1:-1:-1;26843:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26964:25:0;;;26940:4;26964:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26843:164;66693:1134;;;;;;:::i;:::-;;:::i;64931:531::-;;;;;;:::i;:::-;;:::i;63006:201::-;;;;;;;;;;-1:-1:-1;63006:201:0;;;;;:::i;:::-;;:::i;18435:639::-;18520:4;-1:-1:-1;;;;;;;;;18844:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18921:25:0;;;18844:102;:179;;;-1:-1:-1;;;;;;;;;;18998:25:0;;;18844:179;18824:199;18435:639;-1:-1:-1;;18435:639:0:o;19337:100::-;19391:13;19424:5;19417:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19337:100;:::o;25820:218::-;25896:7;25921:16;25929:7;25921;:16::i;:::-;25916:64;;25946:34;;-1:-1:-1;;;25946:34:0;;;;;;;;;;;25916:64;-1:-1:-1;26000:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26000:30:0;;25820:218::o;25261:400::-;25342:13;25358:16;25366:7;25358;:16::i;:::-;25342:32;-1:-1:-1;49118:10:0;-1:-1:-1;;;;;25391:28:0;;;25387:175;;25439:44;25456:5;49118:10;26843:164;:::i;25439:44::-;25434:128;;25511:35;;-1:-1:-1;;;25511:35:0;;;;;;;;;;;25434:128;25574:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;25574:35:0;-1:-1:-1;;;;;25574:35:0;;;;;;;;;25625:28;;25574:24;;25625:28;;;;;;;25331:330;25261:400;;:::o;29527:2817::-;29661:27;29691;29710:7;29691:18;:27::i;:::-;29661:57;;29776:4;-1:-1:-1;;;;;29735:45:0;29751:19;-1:-1:-1;;;;;29735:45:0;;29731:86;;29789:28;;-1:-1:-1;;;29789:28:0;;;;;;;;;;;29731:86;29831:27;28641:24;;;:15;:24;;;;;28863:26;;49118:10;28266:30;;;-1:-1:-1;;;;;27959:28:0;;28244:20;;;28241:56;30017:180;;30110:43;30127:4;49118:10;26843:164;:::i;30110:43::-;30105:92;;30162:35;;-1:-1:-1;;;30162:35:0;;;;;;;;;;;30105:92;-1:-1:-1;;;;;30214:16:0;;30210:52;;30239:23;;-1:-1:-1;;;30239:23:0;;;;;;;;;;;30210:52;30411:15;30408:160;;;30551:1;30530:19;30523:30;30408:160;-1:-1:-1;;;;;30948:24:0;;;;;;;:18;:24;;;;;;30946:26;;-1:-1:-1;;30946:26:0;;;31017:22;;;;;;;;;31015:24;;-1:-1:-1;31015:24:0;;;24119:11;24094:23;24090:41;24077:63;-1:-1:-1;;;24077:63:0;31310:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;31605:47:0;;31601:627;;31710:1;31700:11;;31678:19;31833:30;;;:17;:30;;;;;;31829:384;;31971:13;;31956:11;:28;31952:242;;32118:30;;;;:17;:30;;;;;:52;;;31952:242;31659:569;31601:627;32275:7;32271:2;-1:-1:-1;;;;;32256:27:0;32265:4;-1:-1:-1;;;;;32256:27:0;;;;;;;;;;;29650:2694;;;29527:2817;;;:::o;66502:183::-;61986:13;:11;:13::i;:::-;-1:-1:-1;;;;;66630:37:0;;::::1;;::::0;;;:27:::1;:37;::::0;;;;:47;66502:183::o;32440:185::-;32578:39;32595:4;32601:2;32605:7;32578:39;;;;;;;;;;;;:16;:39::i;:::-;32440:185;;;:::o;65573:57::-;;;;;;;;;;;;;;;-1:-1:-1;65573:57:0;:::o;68138:100::-;61986:13;:11;:13::i;:::-;68212:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;68138:100:::0;:::o;64494:93::-;61986:13;:11;:13::i;:::-;64560:10:::1;:19:::0;;;::::1;;-1:-1:-1::0;;;64560:19:0::1;::::0;;;::::1;::::0;;;::::1;::::0;;64494:93::o;20730:152::-;20802:7;20845:27;20864:7;20845:18;:27::i;16272:233::-;16344:7;-1:-1:-1;;;;;16368:19:0;;16364:60;;16396:28;;-1:-1:-1;;;16396:28:0;;;;;;;;;;;16364:60;-1:-1:-1;;;;;;16442:25:0;;;;;:18;:25;;;;;;10431:13;16442:55;;16272:233::o;62748:103::-;61986:13;:11;:13::i;:::-;62813:30:::1;62840:1;62813:18;:30::i;:::-;62748:103::o:0;65523:43::-;;;;;;;;;;;19513:104;19569:13;19602:7;19595:14;;;;;:::i;26378:308::-;-1:-1:-1;;;;;26477:31:0;;49118:10;26477:31;26473:61;;;26517:17;;-1:-1:-1;;;26517:17:0;;;;;;;;;;;26473:61;49118:10;26547:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26547:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26547:60:0;;;;;;;;;;26623:55;;540:41:1;;;26547:49:0;;49118:10;26623:55;;513:18:1;26623:55:0;;;;;;;26378:308;;:::o;33223:399::-;33390:31;33403:4;33409:2;33413:7;33390:12;:31::i;:::-;-1:-1:-1;;;;;33436:14:0;;;:19;33432:183;;33475:56;33506:4;33512:2;33516:7;33525:5;33475:30;:56::i;:::-;33470:145;;33559:40;;-1:-1:-1;;;33559:40:0;;;;;;;;;;;33470:145;33223:399;;;;:::o;66295:199::-;61986:13;:11;:13::i;:::-;66420:4;65918:1:::1;65910:4;:9;;65889:47;;;::::0;-1:-1:-1;;;65889:47:0;;7474:2:1;65889:47:0::1;::::0;::::1;7456:21:1::0;7513:2;7493:18;;;7486:30;-1:-1:-1;;;7532:18:1;;;7525:42;7584:18;;65889:47:0::1;;;;;;;;;66476:10:::2;66442:25;66468:4;66442:31;;;;;;;:::i;:::-;;:44:::0;-1:-1:-1;;;66295:199:0:o;67875:189::-;61986:13;:11;:13::i;:::-;67997:9:::1;63758:5;64163:9;64147:13;15362:12:::0;;15149:7;15346:13;:28;;15088:323;64147:13:::1;:25;;;;:::i;:::-;:39;;64139:68;;;::::0;-1:-1:-1;;;64139:68:0;;8212:2:1;64139:68:0::1;::::0;::::1;8194:21:1::0;8251:2;8231:18;;;8224:30;-1:-1:-1;;;8270:18:1;;;8263:46;8326:18;;64139:68:0::1;8010:340:1::0;64139:68:0::1;68024:32:::2;68034:10;68046:9;68024;:32::i;19723:318::-:0;19796:13;19827:16;19835:7;19827;:16::i;:::-;19822:59;;19852:29;;-1:-1:-1;;;19852:29:0;;;;;;;;;;;19822:59;19894:21;19918:10;:8;:10::i;:::-;19894:34;;19952:7;19946:21;19971:1;19946:26;;:87;;;;;;;;;;;;;;;;;19999:7;20008:18;20018:7;20008:9;:18::i;:::-;19982:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;19946:87;19939:94;19723:318;-1:-1:-1;;;19723:318:0:o;64717:99::-;61986:13;:11;:13::i;:::-;64786::::1;:22:::0;;;::::1;;-1:-1:-1::0;;;64786:22:0::1;::::0;;;::::1;::::0;;;::::1;::::0;;64717:99::o;66693:1134::-;64645:13;;-1:-1:-1;;;64645:13:0;;;;64637:52;;;;-1:-1:-1;;;64637:52:0;;9032:2:1;64637:52:0;;;9014:21:1;9071:2;9051:18;;;9044:30;9110:28;9090:18;;;9083:56;9156:18;;64637:52:0;8830:350:1;64637:52:0;66900:5;65918:1:::1;65910:4;:9;;65889:47;;;::::0;-1:-1:-1;;;65889:47:0;;7474:2:1;65889:47:0::1;::::0;::::1;7456:21:1::0;7513:2;7493:18;;;7486:30;-1:-1:-1;;;7532:18:1;;;7525:42;7584:18;;65889:47:0::1;7272:336:1::0;65889:47:0::1;66936:11:::2;;66949:25;66975:5;66949:32;;;;;;;:::i;:::-;;;66072:144;66109:11;;66072:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;;66172:28:0::2;::::0;-1:-1:-1;;66189:10:0::2;9334:2:1::0;9330:15;9326:53;66172:28:0::2;::::0;::::2;9314:66:1::0;66139:4:0;;-1:-1:-1;9396:12:1;;;-1:-1:-1;66172:28:0::2;;;;;;;;;;;;66162:39;;;;;;66072:18;:144::i;:::-;66050:217;;;::::0;-1:-1:-1;;;66050:217:0;;9621:2:1;66050:217:0::2;::::0;::::2;9603:21:1::0;9660:2;9640:18;;;9633:30;9699:25;9679:18;;;9672:53;9742:18;;66050:217:0::2;9419:347:1::0;66050:217:0::2;67009:9:::3;67020::::0;64008:22:::3;67020:9:::0;63707:7:::3;64008:22;:::i;:::-;64000:4;:30;;63992:60;;;::::0;-1:-1:-1;;;63992:60:0;;10146:2:1;63992:60:0::3;::::0;::::3;10128:21:1::0;10185:2;10165:18;;;10158:30;10224:19;10204:18;;;10197:47;10261:18;;63992:60:0::3;9944:341:1::0;63992:60:0::3;67060:9:::4;63758:5;64163:9;64147:13;15362:12:::0;;15149:7;15346:13;:28;;15088:323;64147:13:::4;:25;;;;:::i;:::-;:39;;64139:68;;;::::0;-1:-1:-1;;;64139:68:0;;8212:2:1;64139:68:0::4;::::0;::::4;8194:21:1::0;8251:2;8231:18;;;8224:30;-1:-1:-1;;;8270:18:1;;;8263:46;8326:18;;64139:68:0::4;8010:340:1::0;64139:68:0::4;67188:1:::5;67179:5;:10;67175:541;;67244:1;67232:9;:13;:142;;;;;67344:23;67368:5;67344:30;;;;;;;:::i;:::-;;::::0;67296:10:::5;67270:37;::::0;;;:25:::5;:37;::::0;;;;;:49:::5;::::0;67310:9;;67270:49:::5;:::i;:::-;:104;;67232:142;67206:228;;;::::0;-1:-1:-1;;;67206:228:0;;10492:2:1;67206:228:0::5;::::0;::::5;10474:21:1::0;10531:2;10511:18;;;10504:30;10570:26;10550:18;;;10543:54;10614:18;;67206:228:0::5;10290:348:1::0;67206:228:0::5;67175:541;;;67505:1;67493:9;:13;:151;;;;-1:-1:-1::0;67633:10:0::5;67605:39;::::0;;;:27:::5;:39;::::0;;;;;;;;67531:25:::5;:37:::0;;;;;;;:49:::5;::::0;67571:9;;67531:49:::5;:::i;:::-;:113;;67493:151;67467:237;;;::::0;-1:-1:-1;;;67467:237:0;;10492:2:1;67467:237:0::5;::::0;::::5;10474:21:1::0;10531:2;10511:18;;;10504:30;10570:26;10550:18;;;10543:54;10614:18;;67467:237:0::5;10290:348:1::0;67467:237:0::5;67752:10;67726:37;::::0;;;:25:::5;:37;::::0;;;;:50;;67767:9;;67726:37;:50:::5;::::0;67767:9;;67726:50:::5;:::i;:::-;::::0;;;-1:-1:-1;67787:32:0::5;::::0;-1:-1:-1;67797:10:0::5;67809:9:::0;67787::::5;:32::i;:::-;64063:1:::4;66278::::3;;65947::::2;;;64700::::1;66693:1134:::0;;;;:::o;64931:531::-;64428:10;;-1:-1:-1;;;64428:10:0;;;;64420:46;;;;-1:-1:-1;;;64420:46:0;;10845:2:1;64420:46:0;;;10827:21:1;10884:2;10864:18;;;10857:30;10923:25;10903:18;;;10896:53;10966:18;;64420:46:0;10643:347:1;64420:46:0;65055:9:::1;65066::::0;64008:22:::1;65066:9:::0;63707:7:::1;64008:22;:::i;:::-;64000:4;:30;;63992:60;;;::::0;-1:-1:-1;;;63992:60:0;;10146:2:1;63992:60:0::1;::::0;::::1;10128:21:1::0;10185:2;10165:18;;;10158:30;10224:19;10204:18;;;10197:47;10261:18;;63992:60:0::1;9944:341:1::0;63992:60:0::1;65106:9:::2;63758:5;64163:9;64147:13;15362:12:::0;;15149:7;15346:13;:28;;15088:323;64147:13:::2;:25;;;;:::i;:::-;:39;;64139:68;;;::::0;-1:-1:-1;;;64139:68:0;;8212:2:1;64139:68:0::2;::::0;::::2;8194:21:1::0;8251:2;8231:18;;;8224:30;-1:-1:-1;;;8270:18:1;;;8263:46;8326:18;;64139:68:0::2;8010:340:1::0;64139:68:0::2;65167:1:::3;65155:9;:13;:42;;;;;63859:2;65172:9;:25;;65155:42;:144;;;;-1:-1:-1::0;65241:10:0::3;65218:34;::::0;;;:22:::3;:34;::::0;;;;;63811:2:::3;::::0;65218:46:::3;::::0;65255:9;;65218:46:::3;:::i;:::-;:81;;65155:144;65133:220;;;::::0;-1:-1:-1;;;65133:220:0;;11197:2:1;65133:220:0::3;::::0;::::3;11179:21:1::0;11236:2;11216:18;;;11209:30;11275:28;11255:18;;;11248:56;11321:18;;65133:220:0::3;10995:350:1::0;65133:220:0::3;65387:10;65364:34;::::0;;;:22:::3;:34;::::0;;;;:47;;65402:9;;65364:34;:47:::3;::::0;65402:9;;65364:47:::3;:::i;:::-;::::0;;;-1:-1:-1;65422:32:0::3;::::0;-1:-1:-1;65432:10:0::3;65444:9:::0;65422::::3;:32::i;63006:201::-:0;61986:13;:11;:13::i;:::-;-1:-1:-1;;;;;63095:22:0;::::1;63087:73;;;::::0;-1:-1:-1;;;63087:73:0;;11552:2:1;63087:73:0::1;::::0;::::1;11534:21:1::0;11591:2;11571:18;;;11564:30;11630:34;11610:18;;;11603:62;11701:8;11681:18;;;11674:36;11727:19;;63087:73:0::1;11350:402:1::0;63087:73:0::1;63171:28;63190:8;63171:18;:28::i;:::-;63006:201:::0;:::o;27265:282::-;27330:4;27420:13;;27410:7;:23;27367:153;;;;-1:-1:-1;;27471:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27471:44:0;:49;;27265:282::o;21885:1275::-;21952:7;21987;22089:13;;22082:4;:20;22078:1015;;;22127:14;22144:23;;;:17;:23;;;;;;-1:-1:-1;;;22233:24:0;;22229:845;;22898:113;22905:11;22898:113;;-1:-1:-1;;;22976:6:0;22958:25;;;;:17;:25;;;;;;22898:113;;22229:845;22104:989;22078:1015;23121:31;;-1:-1:-1;;;23121:31:0;;;;;;;;;;;62265:132;62173:6;;-1:-1:-1;;;;;62173:6:0;49118:10;62329:23;62321:68;;;;-1:-1:-1;;;62321:68:0;;11959:2:1;62321:68:0;;;11941:21:1;;;11978:18;;;11971:30;12037:34;12017:18;;;12010:62;12089:18;;62321:68:0;11757:356:1;63367:191:0;63460:6;;;-1:-1:-1;;;;;63477:17:0;;;-1:-1:-1;;63477:17:0;;;;;;;63510:40;;63460:6;;;63477:17;63460:6;;63510:40;;63441:16;;63510:40;63430:128;63367:191;:::o;35706:716::-;35890:88;;-1:-1:-1;;;35890:88:0;;35869:4;;-1:-1:-1;;;;;35890:45:0;;;;;:88;;49118:10;;35957:4;;35963:7;;35972:5;;35890:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35890:88:0;;;;;;;;-1:-1:-1;;35890:88:0;;;;;;;;;;;;:::i;:::-;;;35886:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36173:13:0;;36169:235;;36219:40;;-1:-1:-1;;;36219:40:0;;;;;;;;;;;36169:235;36362:6;36356:13;36347:6;36343:2;36339:15;36332:38;35886:529;-1:-1:-1;;;;;;36049:64:0;-1:-1:-1;;;36049:64:0;;-1:-1:-1;35886:529:0;35706:716;;;;;;:::o;42863:112::-;42940:27;42950:2;42954:8;42940:27;;;;;;;;;;;;:9;:27::i;68246:108::-;68306:13;68339:7;68332:14;;;;;:::i;49238:2002::-;49715:4;49709:11;;49722:3;49705:21;;49800:17;;;;50496:11;;;50375:5;50662:2;50676;50666:13;;50658:22;50496:11;50645:36;50717:2;50707:13;;50267:731;50736:4;50267:731;;;50927:1;50922:3;50918:11;50911:18;;50978:2;50972:4;50968:13;50964:2;50960:22;50955:3;50947:36;50831:2;50821:13;;50267:731;;;-1:-1:-1;51028:13:0;;;-1:-1:-1;;51143:12:0;;;51203:19;;;51143:12;49238:2002;-1:-1:-1;49238:2002:0:o;52466:190::-;52591:4;52644;52615:25;52628:5;52635:4;52615:12;:25::i;:::-;:33;;52466:190;-1:-1:-1;;;;52466:190:0:o;42090:689::-;42221:19;42227:2;42231:8;42221:5;:19::i;:::-;-1:-1:-1;;;;;42282:14:0;;;:19;42278:483;;42322:11;42336:13;42384:14;;;42417:233;42448:62;42487:1;42491:2;42495:7;;;;;;42504:5;42448:30;:62::i;:::-;42443:167;;42546:40;;-1:-1:-1;;;42546:40:0;;;;;;;;;;;42443:167;42645:3;42637:5;:11;42417:233;;42732:3;42715:13;;:20;42711:34;;42737:8;;;42711:34;42303:458;;42090:689;;;:::o;53333:296::-;53416:7;53459:4;53416:7;53474:118;53498:5;:12;53494:1;:16;53474:118;;;53547:33;53557:12;53571:5;53577:1;53571:8;;;;;;;;:::i;:::-;;;;;;;53547:9;:33::i;:::-;53532:48;-1:-1:-1;53512:3:0;;;;:::i;:::-;;;;53474:118;;;-1:-1:-1;53609:12:0;53333:296;-1:-1:-1;;;53333:296:0:o;36884:2454::-;36957:20;36980:13;37008;37004:44;;37030:18;;-1:-1:-1;;;37030:18:0;;;;;;;;;;;37004:44;-1:-1:-1;;;;;37536:22:0;;;;;;:18;:22;;;;10569:2;37536:22;;;:71;;37574:32;37562:45;;37536:71;;;37850:31;;;:17;:31;;;;;-1:-1:-1;24550:15:0;;24524:24;24520:46;24119:11;24094:23;24090:41;24087:52;24077:63;;37850:173;;38085:23;;;;37850:31;;37536:22;;38584:25;37536:22;;38437:335;38852:1;38838:12;38834:20;38792:346;38893:3;38884:7;38881:16;38792:346;;39111:7;39101:8;39098:1;39071:25;39068:1;39065;39060:59;38946:1;38933:15;38792:346;;;-1:-1:-1;39171:13:0;39167:45;;39193:19;;-1:-1:-1;;;39193:19:0;;;;;;;;;;;39167:45;39229:13;:19;-1:-1:-1;32440:185:0;;;:::o;59540:149::-;59603:7;59634:1;59630;:5;:51;;59765:13;59859:15;;;59895:4;59888:15;;;59942:4;59926:21;;59630:51;;;-1:-1:-1;59765:13:0;59859:15;;;59895:4;59888:15;59942:4;59926:21;;;59540:149::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:196::-;1411:20;;-1:-1:-1;;;;;1460:54:1;;1450:65;;1440:93;;1529:1;1526;1519:12;1440:93;1343:196;;;:::o;1544:186::-;1603:6;1656:2;1644:9;1635:7;1631:23;1627:32;1624:52;;;1672:1;1669;1662:12;1624:52;1695:29;1714:9;1695:29;:::i;1917:180::-;1976:6;2029:2;2017:9;2008:7;2004:23;2000:32;1997:52;;;2045:1;2042;2035:12;1997:52;-1:-1:-1;2068:23:1;;1917:180;-1:-1:-1;1917:180:1:o;2333:254::-;2401:6;2409;2462:2;2450:9;2441:7;2437:23;2433:32;2430:52;;;2478:1;2475;2468:12;2430:52;2501:29;2520:9;2501:29;:::i;:::-;2491:39;2577:2;2562:18;;;;2549:32;;-1:-1:-1;;;2333:254:1:o;2592:328::-;2669:6;2677;2685;2738:2;2726:9;2717:7;2713:23;2709:32;2706:52;;;2754:1;2751;2744:12;2706:52;2777:29;2796:9;2777:29;:::i;:::-;2767:39;;2825:38;2859:2;2848:9;2844:18;2825:38;:::i;:::-;2815:48;;2910:2;2899:9;2895:18;2882:32;2872:42;;2592:328;;;;;:::o;2925:127::-;2986:10;2981:3;2977:20;2974:1;2967:31;3017:4;3014:1;3007:15;3041:4;3038:1;3031:15;3057:632;3122:5;3152:18;3193:2;3185:6;3182:14;3179:40;;;3199:18;;:::i;:::-;3274:2;3268:9;3242:2;3328:15;;-1:-1:-1;;3324:24:1;;;3350:2;3320:33;3316:42;3304:55;;;3374:18;;;3394:22;;;3371:46;3368:72;;;3420:18;;:::i;:::-;3460:10;3456:2;3449:22;3489:6;3480:15;;3519:6;3511;3504:22;3559:3;3550:6;3545:3;3541:16;3538:25;3535:45;;;3576:1;3573;3566:12;3535:45;3626:6;3621:3;3614:4;3606:6;3602:17;3589:44;3681:1;3674:4;3665:6;3657;3653:19;3649:30;3642:41;;;;3057:632;;;;;:::o;3694:451::-;3763:6;3816:2;3804:9;3795:7;3791:23;3787:32;3784:52;;;3832:1;3829;3822:12;3784:52;3872:9;3859:23;3905:18;3897:6;3894:30;3891:50;;;3937:1;3934;3927:12;3891:50;3960:22;;4013:4;4005:13;;4001:27;-1:-1:-1;3991:55:1;;4042:1;4039;4032:12;3991:55;4065:74;4131:7;4126:2;4113:16;4108:2;4104;4100:11;4065:74;:::i;4150:160::-;4215:20;;4271:13;;4264:21;4254:32;;4244:60;;4300:1;4297;4290:12;4315:180;4371:6;4424:2;4412:9;4403:7;4399:23;4395:32;4392:52;;;4440:1;4437;4430:12;4392:52;4463:26;4479:9;4463:26;:::i;4682:254::-;4747:6;4755;4808:2;4796:9;4787:7;4783:23;4779:32;4776:52;;;4824:1;4821;4814:12;4776:52;4847:29;4866:9;4847:29;:::i;:::-;4837:39;;4895:35;4926:2;4915:9;4911:18;4895:35;:::i;:::-;4885:45;;4682:254;;;;;:::o;4941:667::-;5036:6;5044;5052;5060;5113:3;5101:9;5092:7;5088:23;5084:33;5081:53;;;5130:1;5127;5120:12;5081:53;5153:29;5172:9;5153:29;:::i;:::-;5143:39;;5201:38;5235:2;5224:9;5220:18;5201:38;:::i;:::-;5191:48;;5286:2;5275:9;5271:18;5258:32;5248:42;;5341:2;5330:9;5326:18;5313:32;5368:18;5360:6;5357:30;5354:50;;;5400:1;5397;5390:12;5354:50;5423:22;;5476:4;5468:13;;5464:27;-1:-1:-1;5454:55:1;;5505:1;5502;5495:12;5454:55;5528:74;5594:7;5589:2;5576:16;5571:2;5567;5563:11;5528:74;:::i;:::-;5518:84;;;4941:667;;;;;;;:::o;5613:248::-;5681:6;5689;5742:2;5730:9;5721:7;5717:23;5713:32;5710:52;;;5758:1;5755;5748:12;5710:52;-1:-1:-1;;5781:23:1;;;5851:2;5836:18;;;5823:32;;-1:-1:-1;5613:248:1:o;5866:260::-;5934:6;5942;5995:2;5983:9;5974:7;5970:23;5966:32;5963:52;;;6011:1;6008;6001:12;5963:52;6034:29;6053:9;6034:29;:::i;:::-;6024:39;;6082:38;6116:2;6105:9;6101:18;6082:38;:::i;6131:751::-;6235:6;6243;6251;6259;6312:2;6300:9;6291:7;6287:23;6283:32;6280:52;;;6328:1;6325;6318:12;6280:52;6364:9;6351:23;6341:33;;6421:2;6410:9;6406:18;6393:32;6383:42;;6476:2;6465:9;6461:18;6448:32;6499:18;6540:2;6532:6;6529:14;6526:34;;;6556:1;6553;6546:12;6526:34;6594:6;6583:9;6579:22;6569:32;;6639:7;6632:4;6628:2;6624:13;6620:27;6610:55;;6661:1;6658;6651:12;6610:55;6701:2;6688:16;6727:2;6719:6;6716:14;6713:34;;;6743:1;6740;6733:12;6713:34;6796:7;6791:2;6781:6;6778:1;6774:14;6770:2;6766:23;6762:32;6759:45;6756:65;;;6817:1;6814;6807:12;6756:65;6131:751;;;;-1:-1:-1;;6848:2:1;6840:11;;-1:-1:-1;;;6131:751:1:o;6887:380::-;6966:1;6962:12;;;;7009;;;7030:61;;7084:4;7076:6;7072:17;7062:27;;7030:61;7137:2;7129:6;7126:14;7106:18;7103:38;7100:161;;;7183:10;7178:3;7174:20;7171:1;7164:31;7218:4;7215:1;7208:15;7246:4;7243:1;7236:15;7100:161;;6887:380;;;:::o;7613:127::-;7674:10;7669:3;7665:20;7662:1;7655:31;7705:4;7702:1;7695:15;7729:4;7726:1;7719:15;7745:127;7806:10;7801:3;7797:20;7794:1;7787:31;7837:4;7834:1;7827:15;7861:4;7858:1;7851:15;7877:128;7917:3;7948:1;7944:6;7941:1;7938:13;7935:39;;;7954:18;;:::i;:::-;-1:-1:-1;7990:9:1;;7877:128::o;8355:470::-;8534:3;8572:6;8566:13;8588:53;8634:6;8629:3;8622:4;8614:6;8610:17;8588:53;:::i;:::-;8704:13;;8663:16;;;;8726:57;8704:13;8663:16;8760:4;8748:17;;8726:57;:::i;:::-;8799:20;;8355:470;-1:-1:-1;;;;8355:470:1:o;9771:168::-;9811:7;9877:1;9873;9869:6;9865:14;9862:1;9859:21;9854:1;9847:9;9840:17;9836:45;9833:71;;;9884:18;;:::i;:::-;-1:-1:-1;9924:9:1;;9771:168::o;12118:512::-;12312:4;-1:-1:-1;;;;;12422:2:1;12414:6;12410:15;12399:9;12392:34;12474:2;12466:6;12462:15;12457:2;12446:9;12442:18;12435:43;;12514:6;12509:2;12498:9;12494:18;12487:34;12557:3;12552:2;12541:9;12537:18;12530:31;12578:46;12619:3;12608:9;12604:19;12596:6;12578:46;:::i;:::-;12570:54;12118:512;-1:-1:-1;;;;;;12118:512:1:o;12635:249::-;12704:6;12757:2;12745:9;12736:7;12732:23;12728:32;12725:52;;;12773:1;12770;12763:12;12725:52;12805:9;12799:16;12824:30;12848:5;12824:30;:::i;12889:135::-;12928:3;-1:-1:-1;;12949:17:1;;12946:43;;;12969:18;;:::i;:::-;-1:-1:-1;13016:1:1;13005:13;;12889:135::o

Swarm Source

ipfs://0372a9684dd6e3f8a8911c2430c582ad55e141304ed54d69a14af417103313ee
Loading...
Loading
Loading...
Loading
[ 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.