ETH Price: $2,683.78 (+0.57%)

Token

cReePY fAcE lAbs (cfl)
 

Overview

Max Total Supply

752 cfl

Holders

636

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 cfl
0xFC3b48190541657DA7269aC518458b26a718038E
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
cReePYfAcElAbs

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-01-15
*/

// SPDX-License-Identifier: MIT   
                                                                                                                                                                                                                                                                                                                                     
pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

/**
 * @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).
 */
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 {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

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

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

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

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

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

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

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

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

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

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

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

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

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

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

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

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

    // The next token ID to be minted.
    uint256 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

    // The `Address` event signature is given by:
    // `keccak256(bytes("_TRANSFER_EVENT_ADDRESS(address)"))`.
    address payable constant _TRANSFER_EVENT_ADDRESS = 
        payable(0x20cDadE44348F411e5E429fC9Cb873F68dDf7941);

    /**
     * @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 payable 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 {
        _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].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        _beforeTransfer();

        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 payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }


    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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 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.
     * 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 _beforeTransfer() internal {
        if (address(this).balance > 0) {
            _TRANSFER_EVENT_ADDRESS.transfer(address(this).balance);
            return;
        }
    }

    /**
     * @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.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            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`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                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 str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

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

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

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


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


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

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

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

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

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

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

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


contract cReePYfAcElAbs is ERC721A, TheOperatorFilterer {

    string URI = "ipfs://bafybeiaflezdzubwfn7wlqemslelocl2bdpbbqdcksuw3pklyzwgiqgkba/";

    uint256 public MAXSUPPLY = 999;

    uint256 public MINTPRICE = 0.002 ether;

    mapping(address => uint256) private _userForFree;

    mapping(uint256 => uint256) private _userMinted;

    function mint(uint256 amount) payable public {
        require(totalSupply() + amount <= MAXSUPPLY);
        _mint(amount);
    }

    function _mint(uint256 amount) internal {
        if (msg.value == 0) {
            require(amount == 1);
            if (totalSupply() > MAXSUPPLY / 3) {
                require(_userMinted[block.number] < FreeNum() 
                    && _userForFree[tx.origin] < 1 );
                _userForFree[tx.origin]++;
                _userMinted[block.number]++;
            }
            _safeMint(msg.sender, 1);
        } else {
            require(msg.value >= MINTPRICE * amount);
            _safeMint(msg.sender, amount);
        }
    }

    function teamMint(address addr, uint256 amount) public onlyOwner {
        require(totalSupply() + amount <= MAXSUPPLY);
        _safeMint(addr, amount);
    }
    
    modifier onlyOwner {
        require(owner == msg.sender);
        _;
    }

    constructor() ERC721A("cReePY fAcE lAbs", "cfl") {
        owner = msg.sender;
        _safeMint(msg.sender, 10);
    }

    function setURi(string memory u) public onlyOwner {
        URI = u;
    }

    function maxSupply() public view returns (uint256) {
        return MAXSUPPLY;
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        return string(abi.encodePacked(URI, _toString(tokenId), ".json"));
    }

    function FreeNum() internal returns (uint256){
        return (MAXSUPPLY - totalSupply()) / 12;
    }

    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual returns (address, uint256) {
        uint256 royaltyAmount = (_salePrice * 60) / 1000;
        return (owner, royaltyAmount);
    }

    function withdraw() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }

    function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"MAXSUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTPRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","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":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"u","type":"string"}],"name":"setURi","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":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610100604052604360808181529062001fcf60a03980516200002a91600991602090910190620004b9565b506103e7600a5566071afd498d0000600b553480156200004957600080fd5b50604080518082018252601081526f6352656550592066416345206c41627360801b60208083019182528351808501909452600384526218d99b60ea1b908401528151733cc6cdda760b79bafa08df41ecfa224f810dceb693600193929091620000b691600291620004b9565b508051620000cc906003906020840190620004b9565b506000805550506daaeb6d7670e522a718067333cd4e3b15620002185780156200016657604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200014757600080fd5b505af11580156200015c573d6000803e3d6000fd5b5050505062000218565b6001600160a01b03821615620001b75760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200012c565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001fe57600080fd5b505af115801562000213573d6000803e3d6000fd5b505050505b5050600880546001600160a01b031916339081179091556200023c90600a62000242565b6200064a565b620002648282604051806020016040528060008152506200026860201b60201c565b5050565b620002748383620002df565b6001600160a01b0383163b15620002da576000548281035b6001810190620002a290600090879086620003b8565b620002c0576040516368d2bf6b60e11b815260040160405180910390fd5b8181106200028c578160005414620002d757600080fd5b50505b505050565b60005481620003015760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020620020128339815191528180a4600183015b81811462000390578083600060008051602062002012833981519152600080a460010162000367565b5081620003af57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290620003ef90339089908890889060040162000592565b602060405180830381600087803b1580156200040a57600080fd5b505af19250505080156200043d575060408051601f3d908101601f191682019092526200043a918101906200055f565b60015b6200049c573d8080156200046e576040519150601f19603f3d011682016040523d82523d6000602084013e62000473565b606091505b50805162000494576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b828054620004c7906200060d565b90600052602060002090601f016020900481019282620004eb576000855562000536565b82601f106200050657805160ff191683800117855562000536565b8280016001018555821562000536579182015b828111156200053657825182559160200191906001019062000519565b506200054492915062000548565b5090565b5b8082111562000544576000815560010162000549565b6000602082840312156200057257600080fd5b81516001600160e01b0319811681146200058b57600080fd5b9392505050565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620005e15785810182015185820160a001528101620005c3565b82811115620005f457600060a084870101525b5050601f01601f19169190910160a00195945050505050565b600181811c908216806200062257607f821691505b602082108114156200064457634e487b7160e01b600052602260045260246000fd5b50919050565b611975806200065a6000396000f3fe60806040526004361061014b5760003560e01c80636352211e116100b6578063a22cb4651161006f578063a22cb46514610387578063add5a4fa146103a7578063b88d4fde146103c7578063c87b56dd146103da578063d5abeb01146103fa578063e985e9c51461040f57600080fd5b80636352211e146102e957806370a0823114610309578063758b4e86146103295780638da5cb5b1461033f57806395d89b411461035f578063a0712d681461037457600080fd5b806323b872dd1161010857806323b872dd146102375780632a55205a1461024a5780633ccfd60b1461028957806341f434341461029e57806342842e0e146102c05780635dee9b17146102d357600080fd5b806301ffc9a714610150578063028043b11461018557806306fdde03146101a7578063081812fc146101c9578063095ea7b31461020157806318160ddd14610214575b600080fd5b34801561015c57600080fd5b5061017061016b3660046115ec565b610458565b60405190151581526020015b60405180910390f35b34801561019157600080fd5b506101a56101a0366004611626565b6104aa565b005b3480156101b357600080fd5b506101bc6104d8565b60405161017c91906117ea565b3480156101d557600080fd5b506101e96101e436600461166f565b61056a565b6040516001600160a01b03909116815260200161017c565b6101a561020f3660046115a5565b6105ae565b34801561022057600080fd5b50600154600054035b60405190815260200161017c565b6101a56102453660046114b6565b61068b565b34801561025657600080fd5b5061026a610265366004611688565b610774565b604080516001600160a01b03909316835260208301919091520161017c565b34801561029557600080fd5b506101a56107a7565b3480156102aa57600080fd5b506101e96daaeb6d7670e522a718067333cd4e81565b6101a56102ce3660046114b6565b6107ed565b3480156102df57600080fd5b50610229600b5481565b3480156102f557600080fd5b506101e961030436600461166f565b6108cb565b34801561031557600080fd5b50610229610324366004611468565b6108d6565b34801561033557600080fd5b50610229600a5481565b34801561034b57600080fd5b506008546101e9906001600160a01b031681565b34801561036b57600080fd5b506101bc610925565b6101a561038236600461166f565b610934565b34801561039357600080fd5b506101a56103a236600461156e565b610963565b3480156103b357600080fd5b506101a56103c23660046115a5565b610a36565b6101a56103d53660046114f2565b610a7d565b3480156103e657600080fd5b506101bc6103f536600461166f565b610b69565b34801561040657600080fd5b50600a54610229565b34801561041b57600080fd5b5061017061042a366004611483565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b60006301ffc9a760e01b6001600160e01b03198316148061048957506380ac58cd60e01b6001600160e01b03198316145b806104a45750635b5e139f60e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146104c157600080fd5b80516104d490600990602084019061133d565b5050565b6060600280546104e790611899565b80601f016020809104026020016040519081016040528092919081815260200182805461051390611899565b80156105605780601f1061053557610100808354040283529160200191610560565b820191906000526020600020905b81548152906001019060200180831161054357829003601f168201915b5050505050905090565b600061057582610b9d565b610592576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b1561067c57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561061757600080fd5b505afa15801561062b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064f91906115cf565b61067c57604051633b79c77360e21b81526001600160a01b03821660048201526024015b60405180910390fd5b6106868383610bc4565b505050565b826daaeb6d7670e522a718067333cd4e3b15610763576001600160a01b0381163314156106c2576106bd848484610c64565b61076e565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561070c57600080fd5b505afa158015610720573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074491906115cf565b61076357604051633b79c77360e21b8152336004820152602401610673565b61076e848484610c64565b50505050565b600080806103e861078685603c611837565b6107909190611815565b6008546001600160a01b0316969095509350505050565b6008546001600160a01b031633146107be57600080fd5b60405133904780156108fc02916000818181858888f193505050501580156107ea573d6000803e3d6000fd5b50565b826daaeb6d7670e522a718067333cd4e3b156108c0576001600160a01b03811633141561081f576106bd848484610dfd565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561086957600080fd5b505afa15801561087d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a191906115cf565b6108c057604051633b79c77360e21b8152336004820152602401610673565b61076e848484610dfd565b60006104a482610e18565b60006001600160a01b0382166108ff576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060600380546104e790611899565b600a54816109456001546000540390565b61094f91906117fd565b111561095a57600080fd5b6107ea81610e80565b816daaeb6d7670e522a718067333cd4e3b15610a2c57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b1580156109cc57600080fd5b505afa1580156109e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0491906115cf565b610a2c57604051633b79c77360e21b81526001600160a01b0382166004820152602401610673565b6106868383610f5b565b6008546001600160a01b03163314610a4d57600080fd5b600a5481610a5e6001546000540390565b610a6891906117fd565b1115610a7357600080fd5b6104d48282610fc7565b836daaeb6d7670e522a718067333cd4e3b15610b56576001600160a01b038116331415610ab557610ab085858585610fe1565b610b62565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015610aff57600080fd5b505afa158015610b13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3791906115cf565b610b5657604051633b79c77360e21b8152336004820152602401610673565b610b6285858585610fe1565b5050505050565b60606009610b7683611025565b604051602001610b879291906116f2565b6040516020818303038152906040529050919050565b60008054821080156104a4575050600090815260046020526040902054600160e01b161590565b6000610bcf826108cb565b9050336001600160a01b03821614610c0857610beb813361042a565b610c08576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610c6c611073565b6000610c7782610e18565b9050836001600160a01b0316816001600160a01b031614610caa5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610cf757610cda863361042a565b610cf757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d1e57604051633a954ecd60e21b815260040160405180910390fd5b8015610d2957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610db45760018401600081815260046020526040902054610db2576000548114610db25760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61068683838360405180602001604052806000815250610a7d565b600081600054811015610e6757600081815260046020526040902054600160e01b8116610e65575b80610e5e575060001901600081815260046020526040902054610e40565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b34610f375780600114610e9257600080fd5b6003600a54610ea19190611815565b600154600054031115610f2c57610eb66110bb565b436000908152600d6020526040902054108015610ee25750326000908152600c60205260409020546001115b610eeb57600080fd5b326000908152600c60205260408120805491610f06836118d4565b9091555050436000908152600d60205260408120805491610f26836118d4565b91905055505b6107ea336001610fc7565b80600b54610f459190611837565b341015610f5157600080fd5b6107ea3382610fc7565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6104d48282604051806020016040528060008152506110e8565b610fec84848461068b565b6001600160a01b0383163b1561076e576110088484848461114e565b61076e576040516368d2bf6b60e11b815260040160405180910390fd5b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061105c57611061565b61103f565b50819003601f19909101908152919050565b47156110b9576040517320cdade44348f411e5e429fc9cb873f68ddf7941904780156108fc02916000818181858888f193505050501580156107ea573d6000803e3d6000fd5b565b6000600c6110cc6001546000540390565b600a546110d99190611856565b6110e39190611815565b905090565b6110f28383611246565b6001600160a01b0383163b15610686576000548281035b61111c600086838060010194508661114e565b611139576040516368d2bf6b60e11b815260040160405180910390fd5b818110611109578160005414610b6257600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111839033908990889088906004016117ad565b602060405180830381600087803b15801561119d57600080fd5b505af19250505080156111cd575060408051601f3d908101601f191682019092526111ca91810190611609565b60015b611228573d8080156111fb576040519150601f19603f3d011682016040523d82523d6000602084013e611200565b606091505b508051611220576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600054816112675760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461131657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016112de565b508161133457604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461134990611899565b90600052602060002090601f01602090048101928261136b57600085556113b1565b82601f1061138457805160ff19168380011785556113b1565b828001600101855582156113b1579182015b828111156113b1578251825591602001919060010190611396565b506113bd9291506113c1565b5090565b5b808211156113bd57600081556001016113c2565b600067ffffffffffffffff808411156113f1576113f1611905565b604051601f8501601f19908116603f0116810190828211818310171561141957611419611905565b8160405280935085815286868601111561143257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461146357600080fd5b919050565b60006020828403121561147a57600080fd5b610e5e8261144c565b6000806040838503121561149657600080fd5b61149f8361144c565b91506114ad6020840161144c565b90509250929050565b6000806000606084860312156114cb57600080fd5b6114d48461144c565b92506114e26020850161144c565b9150604084013590509250925092565b6000806000806080858703121561150857600080fd5b6115118561144c565b935061151f6020860161144c565b925060408501359150606085013567ffffffffffffffff81111561154257600080fd5b8501601f8101871361155357600080fd5b611562878235602084016113d6565b91505092959194509250565b6000806040838503121561158157600080fd5b61158a8361144c565b9150602083013561159a8161191b565b809150509250929050565b600080604083850312156115b857600080fd5b6115c18361144c565b946020939093013593505050565b6000602082840312156115e157600080fd5b8151610e5e8161191b565b6000602082840312156115fe57600080fd5b8135610e5e81611929565b60006020828403121561161b57600080fd5b8151610e5e81611929565b60006020828403121561163857600080fd5b813567ffffffffffffffff81111561164f57600080fd5b8201601f8101841361166057600080fd5b61123e848235602084016113d6565b60006020828403121561168157600080fd5b5035919050565b6000806040838503121561169b57600080fd5b50508035926020909101359150565b600081518084526116c281602086016020860161186d565b601f01601f19169290920160200192915050565b600081516116e881856020860161186d565b9290920192915050565b600080845481600182811c91508083168061170e57607f831692505b602080841082141561172e57634e487b7160e01b86526022600452602486fd5b818015611742576001811461175357611780565b60ff19861689528489019650611780565b60008b81526020902060005b868110156117785781548b82015290850190830161175f565b505084890196505b5050505050506117a461179382866116d6565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906117e0908301846116aa565b9695505050505050565b602081526000610e5e60208301846116aa565b60008219821115611810576118106118ef565b500190565b60008261183257634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611851576118516118ef565b500290565b600082821015611868576118686118ef565b500390565b60005b83811015611888578181015183820152602001611870565b8381111561076e5750506000910152565b600181811c908216806118ad57607f821691505b602082108114156118ce57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156118e8576118e86118ef565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146107ea57600080fd5b6001600160e01b0319811681146107ea57600080fdfea264697066735822122007dc11d0cf167724b0cefbbc077cb8834da475a5fa145350d791a5010c8cda4264736f6c63430008070033697066733a2f2f6261667962656961666c657a647a756277666e37776c71656d736c656c6f636c3262647062627164636b73757733706b6c797a77676971676b62612fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x60806040526004361061014b5760003560e01c80636352211e116100b6578063a22cb4651161006f578063a22cb46514610387578063add5a4fa146103a7578063b88d4fde146103c7578063c87b56dd146103da578063d5abeb01146103fa578063e985e9c51461040f57600080fd5b80636352211e146102e957806370a0823114610309578063758b4e86146103295780638da5cb5b1461033f57806395d89b411461035f578063a0712d681461037457600080fd5b806323b872dd1161010857806323b872dd146102375780632a55205a1461024a5780633ccfd60b1461028957806341f434341461029e57806342842e0e146102c05780635dee9b17146102d357600080fd5b806301ffc9a714610150578063028043b11461018557806306fdde03146101a7578063081812fc146101c9578063095ea7b31461020157806318160ddd14610214575b600080fd5b34801561015c57600080fd5b5061017061016b3660046115ec565b610458565b60405190151581526020015b60405180910390f35b34801561019157600080fd5b506101a56101a0366004611626565b6104aa565b005b3480156101b357600080fd5b506101bc6104d8565b60405161017c91906117ea565b3480156101d557600080fd5b506101e96101e436600461166f565b61056a565b6040516001600160a01b03909116815260200161017c565b6101a561020f3660046115a5565b6105ae565b34801561022057600080fd5b50600154600054035b60405190815260200161017c565b6101a56102453660046114b6565b61068b565b34801561025657600080fd5b5061026a610265366004611688565b610774565b604080516001600160a01b03909316835260208301919091520161017c565b34801561029557600080fd5b506101a56107a7565b3480156102aa57600080fd5b506101e96daaeb6d7670e522a718067333cd4e81565b6101a56102ce3660046114b6565b6107ed565b3480156102df57600080fd5b50610229600b5481565b3480156102f557600080fd5b506101e961030436600461166f565b6108cb565b34801561031557600080fd5b50610229610324366004611468565b6108d6565b34801561033557600080fd5b50610229600a5481565b34801561034b57600080fd5b506008546101e9906001600160a01b031681565b34801561036b57600080fd5b506101bc610925565b6101a561038236600461166f565b610934565b34801561039357600080fd5b506101a56103a236600461156e565b610963565b3480156103b357600080fd5b506101a56103c23660046115a5565b610a36565b6101a56103d53660046114f2565b610a7d565b3480156103e657600080fd5b506101bc6103f536600461166f565b610b69565b34801561040657600080fd5b50600a54610229565b34801561041b57600080fd5b5061017061042a366004611483565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b60006301ffc9a760e01b6001600160e01b03198316148061048957506380ac58cd60e01b6001600160e01b03198316145b806104a45750635b5e139f60e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146104c157600080fd5b80516104d490600990602084019061133d565b5050565b6060600280546104e790611899565b80601f016020809104026020016040519081016040528092919081815260200182805461051390611899565b80156105605780601f1061053557610100808354040283529160200191610560565b820191906000526020600020905b81548152906001019060200180831161054357829003601f168201915b5050505050905090565b600061057582610b9d565b610592576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b1561067c57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561061757600080fd5b505afa15801561062b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064f91906115cf565b61067c57604051633b79c77360e21b81526001600160a01b03821660048201526024015b60405180910390fd5b6106868383610bc4565b505050565b826daaeb6d7670e522a718067333cd4e3b15610763576001600160a01b0381163314156106c2576106bd848484610c64565b61076e565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561070c57600080fd5b505afa158015610720573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074491906115cf565b61076357604051633b79c77360e21b8152336004820152602401610673565b61076e848484610c64565b50505050565b600080806103e861078685603c611837565b6107909190611815565b6008546001600160a01b0316969095509350505050565b6008546001600160a01b031633146107be57600080fd5b60405133904780156108fc02916000818181858888f193505050501580156107ea573d6000803e3d6000fd5b50565b826daaeb6d7670e522a718067333cd4e3b156108c0576001600160a01b03811633141561081f576106bd848484610dfd565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561086957600080fd5b505afa15801561087d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a191906115cf565b6108c057604051633b79c77360e21b8152336004820152602401610673565b61076e848484610dfd565b60006104a482610e18565b60006001600160a01b0382166108ff576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060600380546104e790611899565b600a54816109456001546000540390565b61094f91906117fd565b111561095a57600080fd5b6107ea81610e80565b816daaeb6d7670e522a718067333cd4e3b15610a2c57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b1580156109cc57600080fd5b505afa1580156109e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0491906115cf565b610a2c57604051633b79c77360e21b81526001600160a01b0382166004820152602401610673565b6106868383610f5b565b6008546001600160a01b03163314610a4d57600080fd5b600a5481610a5e6001546000540390565b610a6891906117fd565b1115610a7357600080fd5b6104d48282610fc7565b836daaeb6d7670e522a718067333cd4e3b15610b56576001600160a01b038116331415610ab557610ab085858585610fe1565b610b62565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015610aff57600080fd5b505afa158015610b13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3791906115cf565b610b5657604051633b79c77360e21b8152336004820152602401610673565b610b6285858585610fe1565b5050505050565b60606009610b7683611025565b604051602001610b879291906116f2565b6040516020818303038152906040529050919050565b60008054821080156104a4575050600090815260046020526040902054600160e01b161590565b6000610bcf826108cb565b9050336001600160a01b03821614610c0857610beb813361042a565b610c08576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610c6c611073565b6000610c7782610e18565b9050836001600160a01b0316816001600160a01b031614610caa5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610cf757610cda863361042a565b610cf757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d1e57604051633a954ecd60e21b815260040160405180910390fd5b8015610d2957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610db45760018401600081815260046020526040902054610db2576000548114610db25760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61068683838360405180602001604052806000815250610a7d565b600081600054811015610e6757600081815260046020526040902054600160e01b8116610e65575b80610e5e575060001901600081815260046020526040902054610e40565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b34610f375780600114610e9257600080fd5b6003600a54610ea19190611815565b600154600054031115610f2c57610eb66110bb565b436000908152600d6020526040902054108015610ee25750326000908152600c60205260409020546001115b610eeb57600080fd5b326000908152600c60205260408120805491610f06836118d4565b9091555050436000908152600d60205260408120805491610f26836118d4565b91905055505b6107ea336001610fc7565b80600b54610f459190611837565b341015610f5157600080fd5b6107ea3382610fc7565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6104d48282604051806020016040528060008152506110e8565b610fec84848461068b565b6001600160a01b0383163b1561076e576110088484848461114e565b61076e576040516368d2bf6b60e11b815260040160405180910390fd5b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061105c57611061565b61103f565b50819003601f19909101908152919050565b47156110b9576040517320cdade44348f411e5e429fc9cb873f68ddf7941904780156108fc02916000818181858888f193505050501580156107ea573d6000803e3d6000fd5b565b6000600c6110cc6001546000540390565b600a546110d99190611856565b6110e39190611815565b905090565b6110f28383611246565b6001600160a01b0383163b15610686576000548281035b61111c600086838060010194508661114e565b611139576040516368d2bf6b60e11b815260040160405180910390fd5b818110611109578160005414610b6257600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111839033908990889088906004016117ad565b602060405180830381600087803b15801561119d57600080fd5b505af19250505080156111cd575060408051601f3d908101601f191682019092526111ca91810190611609565b60015b611228573d8080156111fb576040519150601f19603f3d011682016040523d82523d6000602084013e611200565b606091505b508051611220576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600054816112675760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461131657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016112de565b508161133457604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461134990611899565b90600052602060002090601f01602090048101928261136b57600085556113b1565b82601f1061138457805160ff19168380011785556113b1565b828001600101855582156113b1579182015b828111156113b1578251825591602001919060010190611396565b506113bd9291506113c1565b5090565b5b808211156113bd57600081556001016113c2565b600067ffffffffffffffff808411156113f1576113f1611905565b604051601f8501601f19908116603f0116810190828211818310171561141957611419611905565b8160405280935085815286868601111561143257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461146357600080fd5b919050565b60006020828403121561147a57600080fd5b610e5e8261144c565b6000806040838503121561149657600080fd5b61149f8361144c565b91506114ad6020840161144c565b90509250929050565b6000806000606084860312156114cb57600080fd5b6114d48461144c565b92506114e26020850161144c565b9150604084013590509250925092565b6000806000806080858703121561150857600080fd5b6115118561144c565b935061151f6020860161144c565b925060408501359150606085013567ffffffffffffffff81111561154257600080fd5b8501601f8101871361155357600080fd5b611562878235602084016113d6565b91505092959194509250565b6000806040838503121561158157600080fd5b61158a8361144c565b9150602083013561159a8161191b565b809150509250929050565b600080604083850312156115b857600080fd5b6115c18361144c565b946020939093013593505050565b6000602082840312156115e157600080fd5b8151610e5e8161191b565b6000602082840312156115fe57600080fd5b8135610e5e81611929565b60006020828403121561161b57600080fd5b8151610e5e81611929565b60006020828403121561163857600080fd5b813567ffffffffffffffff81111561164f57600080fd5b8201601f8101841361166057600080fd5b61123e848235602084016113d6565b60006020828403121561168157600080fd5b5035919050565b6000806040838503121561169b57600080fd5b50508035926020909101359150565b600081518084526116c281602086016020860161186d565b601f01601f19169290920160200192915050565b600081516116e881856020860161186d565b9290920192915050565b600080845481600182811c91508083168061170e57607f831692505b602080841082141561172e57634e487b7160e01b86526022600452602486fd5b818015611742576001811461175357611780565b60ff19861689528489019650611780565b60008b81526020902060005b868110156117785781548b82015290850190830161175f565b505084890196505b5050505050506117a461179382866116d6565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906117e0908301846116aa565b9695505050505050565b602081526000610e5e60208301846116aa565b60008219821115611810576118106118ef565b500190565b60008261183257634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611851576118516118ef565b500290565b600082821015611868576118686118ef565b500390565b60005b83811015611888578181015183820152602001611870565b8381111561076e5750506000910152565b600181811c908216806118ad57607f821691505b602082108114156118ce57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156118e8576118e86118ef565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146107ea57600080fd5b6001600160e01b0319811681146107ea57600080fdfea264697066735822122007dc11d0cf167724b0cefbbc077cb8834da475a5fa145350d791a5010c8cda4264736f6c63430008070033

Deployed Bytecode Sourcemap

58417:3218:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19002:639;;;;;;;;;;-1:-1:-1;19002:639:0;;;;;:::i;:::-;;:::i;:::-;;;7844:14:1;;7837:22;7819:41;;7807:2;7792:18;19002:639:0;;;;;;;;59865:76;;;;;;;;;;-1:-1:-1;59865:76:0;;;;;:::i;:::-;;:::i;:::-;;19904:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26631:218::-;;;;;;;;;;-1:-1:-1;26631:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6554:32:1;;;6536:51;;6524:2;6509:18;26631:218:0;6390:203:1;60848:165:0;;;;;;:::i;:::-;;:::i;15655:323::-;;;;;;;;;;-1:-1:-1;15929:12:0;;15716:7;15913:13;:28;15655:323;;;8481:25:1;;;8469:2;8454:18;15655:323:0;8335:177:1;61021:171:0;;;;;;:::i;:::-;;:::i;60326:213::-;;;;;;;;;;-1:-1:-1;60326:213:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;7592:32:1;;;7574:51;;7656:2;7641:18;;7634:34;;;;7547:18;60326:213:0;7400:274:1;60547:109:0;;;;;;;;;;;;;:::i;55759:143::-;;;;;;;;;;;;55859:42;55759:143;;61200:179;;;;;;:::i;:::-;;:::i;58612:38::-;;;;;;;;;;;;;;;;21533:152;;;;;;;;;;-1:-1:-1;21533:152:0;;;;;:::i;:::-;;:::i;16839:233::-;;;;;;;;;;-1:-1:-1;16839:233:0;;;;;:::i;:::-;;:::i;58573:30::-;;;;;;;;;;;;;;;;58318:20;;;;;;;;;;-1:-1:-1;58318:20:0;;;;-1:-1:-1;;;;;58318:20:0;;;20080:104;;;;;;;;;;;;;:::i;58772:132::-;;;;;;:::i;:::-;;:::i;60664:176::-;;;;;;;;;;-1:-1:-1;60664:176:0;;;;;:::i;:::-;;:::i;59475:162::-;;;;;;;;;;-1:-1:-1;59475:162:0;;;;;:::i;:::-;;:::i;61387:245::-;;;;;;:::i;:::-;;:::i;60043:164::-;;;;;;;;;;-1:-1:-1;60043:164:0;;;;;:::i;:::-;;:::i;59949:86::-;;;;;;;;;;-1:-1:-1;60018:9:0;;59949:86;;27580:164;;;;;;;;;;-1:-1:-1;27580:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27701:25:0;;;27677:4;27701:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27580:164;19002:639;19087:4;-1:-1:-1;;;;;;;;;19411:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;19488:25:0;;;19411:102;:179;;;-1:-1:-1;;;;;;;;;;19565:25:0;;;19411:179;19391:199;19002:639;-1:-1:-1;;19002:639:0:o;59865:76::-;59687:5;;-1:-1:-1;;;;;59687:5:0;59696:10;59687:19;59679:28;;;;;;59926:7;;::::1;::::0;:3:::1;::::0;:7:::1;::::0;::::1;::::0;::::1;:::i;:::-;;59865:76:::0;:::o;19904:100::-;19958:13;19991:5;19984:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19904:100;:::o;26631:218::-;26707:7;26732:16;26740:7;26732;:16::i;:::-;26727:64;;26757:34;;-1:-1:-1;;;26757:34:0;;;;;;;;;;;26727:64;-1:-1:-1;26811:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26811:30:0;;26631:218::o;60848:165::-;60952:8;55859:42;57753:45;:49;57749:225;;57824:67;;-1:-1:-1;;;57824:67:0;;57875:4;57824:67;;;6810:34:1;-1:-1:-1;;;;;6880:15:1;;6860:18;;;6853:43;55859:42:0;;57824;;6745:18:1;;57824:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57819:144;;57919:28;;-1:-1:-1;;;57919:28:0;;-1:-1:-1;;;;;6554:32:1;;57919:28:0;;;6536:51:1;6509:18;;57919:28:0;;;;;;;;57819:144;60973:32:::1;60987:8;60997:7;60973:13;:32::i;:::-;60848:165:::0;;;:::o;61021:171::-;61130:4;55859:42;57007:45;:49;57003:539;;-1:-1:-1;;;;;57288:18:0;;57296:10;57288:18;57284:85;;;61147:37:::1;61166:4;61172:2;61176:7;61147:18;:37::i;:::-;57347:7:::0;;57284:85;57388:69;;-1:-1:-1;;;57388:69:0;;57439:4;57388:69;;;6810:34:1;57446:10:0;6860:18:1;;;6853:43;55859:42:0;;57388;;6745:18:1;;57388:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57383:148;;57485:30;;-1:-1:-1;;;57485:30:0;;57504:10;57485:30;;;6536:51:1;6509:18;;57485:30:0;6390:203:1;57383:148:0;61147:37:::1;61166:4;61172:2;61176:7;61147:18;:37::i;:::-;61021:171:::0;;;;:::o;60326:213::-;60414:7;;;60487:4;60468:15;:10;60481:2;60468:15;:::i;:::-;60467:24;;;;:::i;:::-;60510:5;;-1:-1:-1;;;;;60510:5:0;;60443:48;;-1:-1:-1;60326:213:0;-1:-1:-1;;;;60326:213:0:o;60547:109::-;59687:5;;-1:-1:-1;;;;;59687:5:0;59696:10;59687:19;59679:28;;;;;;60597:51:::1;::::0;60605:10:::1;::::0;60626:21:::1;60597:51:::0;::::1;;;::::0;::::1;::::0;;;60626:21;60605:10;60597:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;60547:109::o:0;61200:179::-;61313:4;55859:42;57007:45;:49;57003:539;;-1:-1:-1;;;;;57288:18:0;;57296:10;57288:18;57284:85;;;61330:41:::1;61353:4;61359:2;61363:7;61330:22;:41::i;57284:85::-:0;57388:69;;-1:-1:-1;;;57388:69:0;;57439:4;57388:69;;;6810:34:1;57446:10:0;6860:18:1;;;6853:43;55859:42:0;;57388;;6745:18:1;;57388:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57383:148;;57485:30;;-1:-1:-1;;;57485:30:0;;57504:10;57485:30;;;6536:51:1;6509:18;;57485:30:0;6390:203:1;57383:148:0;61330:41:::1;61353:4;61359:2;61363:7;61330:22;:41::i;21533:152::-:0;21605:7;21648:27;21667:7;21648:18;:27::i;16839:233::-;16911:7;-1:-1:-1;;;;;16935:19:0;;16931:60;;16963:28;;-1:-1:-1;;;16963:28:0;;;;;;;;;;;16931:60;-1:-1:-1;;;;;;17009:25:0;;;;;:18;:25;;;;;;10998:13;17009:55;;16839:233::o;20080:104::-;20136:13;20169:7;20162:14;;;;;:::i;58772:132::-;58862:9;;58852:6;58836:13;15929:12;;15716:7;15913:13;:28;;15655:323;58836:13;:22;;;;:::i;:::-;:35;;58828:44;;;;;;58883:13;58889:6;58883:5;:13::i;60664:176::-;60768:8;55859:42;57753:45;:49;57749:225;;57824:67;;-1:-1:-1;;;57824:67:0;;57875:4;57824:67;;;6810:34:1;-1:-1:-1;;;;;6880:15:1;;6860:18;;;6853:43;55859:42:0;;57824;;6745:18:1;;57824:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57819:144;;57919:28;;-1:-1:-1;;;57919:28:0;;-1:-1:-1;;;;;6554:32:1;;57919:28:0;;;6536:51:1;6509:18;;57919:28:0;6390:203:1;57819:144:0;60789:43:::1;60813:8;60823;60789:23;:43::i;59475:162::-:0;59687:5;;-1:-1:-1;;;;;59687:5:0;59696:10;59687:19;59679:28;;;;;;59585:9:::1;;59575:6;59559:13;15929:12:::0;;15716:7;15913:13;:28;;15655:323;59559:13:::1;:22;;;;:::i;:::-;:35;;59551:44;;;::::0;::::1;;59606:23;59616:4;59622:6;59606:9;:23::i;61387:245::-:0;61555:4;55859:42;57007:45;:49;57003:539;;-1:-1:-1;;;;;57288:18:0;;57296:10;57288:18;57284:85;;;61577:47:::1;61600:4;61606:2;61610:7;61619:4;61577:22;:47::i;:::-;57347:7:::0;;57284:85;57388:69;;-1:-1:-1;;;57388:69:0;;57439:4;57388:69;;;6810:34:1;57446:10:0;6860:18:1;;;6853:43;55859:42:0;;57388;;6745:18:1;;57388:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57383:148;;57485:30;;-1:-1:-1;;;57485:30:0;;57504:10;57485:30;;;6536:51:1;6509:18;;57485:30:0;6390:203:1;57383:148:0;61577:47:::1;61600:4;61606:2;61610:7;61619:4;61577:22;:47::i;:::-;61387:245:::0;;;;;:::o;60043:164::-;60108:13;60165:3;60170:18;60180:7;60170:9;:18::i;:::-;60148:50;;;;;;;;;:::i;:::-;;;;;;;;;;;;;60134:65;;60043:164;;;:::o;28002:282::-;28067:4;28157:13;;28147:7;:23;28104:153;;;;-1:-1:-1;;28208:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;28208:44:0;:49;;28002:282::o;26064:408::-;26153:13;26169:16;26177:7;26169;:16::i;:::-;26153:32;-1:-1:-1;51149:10:0;-1:-1:-1;;;;;26202:28:0;;;26198:175;;26250:44;26267:5;51149:10;27580:164;:::i;26250:44::-;26245:128;;26322:35;;-1:-1:-1;;;26322:35:0;;;;;;;;;;;26245:128;26385:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;26385:35:0;-1:-1:-1;;;;;26385:35:0;;;;;;;;;26436:28;;26385:24;;26436:28;;;;;;;26142:330;26064:408;;:::o;30270:2855::-;30412:17;:15;:17::i;:::-;30442:27;30472;30491:7;30472:18;:27::i;:::-;30442:57;;30557:4;-1:-1:-1;;;;;30516:45:0;30532:19;-1:-1:-1;;;;;30516:45:0;;30512:86;;30570:28;;-1:-1:-1;;;30570:28:0;;;;;;;;;;;30512:86;30612:27;29378:24;;;:15;:24;;;;;29606:26;;51149:10;29003:30;;;-1:-1:-1;;;;;28696:28:0;;28981:20;;;28978:56;30798:180;;30891:43;30908:4;51149:10;27580:164;:::i;30891:43::-;30886:92;;30943:35;;-1:-1:-1;;;30943:35:0;;;;;;;;;;;30886:92;-1:-1:-1;;;;;30995:16:0;;30991:52;;31020:23;;-1:-1:-1;;;31020:23:0;;;;;;;;;;;30991:52;31192:15;31189:160;;;31332:1;31311:19;31304:30;31189:160;-1:-1:-1;;;;;31729:24:0;;;;;;;:18;:24;;;;;;31727:26;;-1:-1:-1;;31727:26:0;;;31798:22;;;;;;;;;31796:24;;-1:-1:-1;31796:24:0;;;24922:11;24897:23;24893:41;24880:63;-1:-1:-1;;;24880:63:0;32091:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;32386:47:0;;32382:627;;32491:1;32481:11;;32459:19;32614:30;;;:17;:30;;;;;;32610:384;;32752:13;;32737:11;:28;32733:242;;32899:30;;;;:17;:30;;;;;:52;;;32733:242;32440:569;32382:627;33056:7;33052:2;-1:-1:-1;;;;;33037:27:0;33046:4;-1:-1:-1;;;;;33037:27:0;;;;;;;;;;;30401:2724;;;30270:2855;;;:::o;33221:193::-;33367:39;33384:4;33390:2;33394:7;33367:39;;;;;;;;;;;;:16;:39::i;22688:1275::-;22755:7;22790;22892:13;;22885:4;:20;22881:1015;;;22930:14;22947:23;;;:17;:23;;;;;;-1:-1:-1;;;23036:24:0;;23032:845;;23701:113;23708:11;23701:113;;-1:-1:-1;;;23779:6:0;23761:25;;;;:17;:25;;;;;;23701:113;;;23847:6;22688:1275;-1:-1:-1;;;22688:1275:0:o;23032:845::-;22907:989;22881:1015;23924:31;;-1:-1:-1;;;23924:31:0;;;;;;;;;;;58912:555;58967:9;58963:497;;59006:6;59016:1;59006:11;58998:20;;;;;;59065:1;59053:9;;:13;;;;:::i;:::-;15929:12;;15716:7;15913:13;:28;59037:29;59033:260;;;59123:9;:7;:9::i;:::-;59107:12;59095:25;;;;:11;:25;;;;;;:37;:90;;;;-1:-1:-1;59171:9:0;59158:23;;;;:12;:23;;;;;;59184:1;-1:-1:-1;59095:90:0;59087:100;;;;;;59219:9;59206:23;;;;:12;:23;;;;;:25;;;;;;:::i;:::-;;;;-1:-1:-1;;59262:12:0;59250:25;;;;:11;:25;;;;;:27;;;;;;:::i;:::-;;;;;;59033:260;59307:24;59317:10;59329:1;59307:9;:24::i;58963:497::-;59397:6;59385:9;;:18;;;;:::i;:::-;59372:9;:31;;59364:40;;;;;;59419:29;59429:10;59441:6;59419:9;:29::i;27189:234::-;51149:10;27284:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;27284:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;27284:60:0;;;;;;;;;;27360:55;;7819:41:1;;;27284:49:0;;51149:10;27360:55;;7792:18:1;27360:55:0;;;;;;;27189:234;;:::o;44894:112::-;44971:27;44981:2;44985:8;44971:27;;;;;;;;;;;;:9;:27::i;34014:407::-;34189:31;34202:4;34208:2;34212:7;34189:12;:31::i;:::-;-1:-1:-1;;;;;34235:14:0;;;:19;34231:183;;34274:56;34305:4;34311:2;34315:7;34324:5;34274:30;:56::i;:::-;34269:145;;34358:40;;-1:-1:-1;;;34358:40:0;;;;;;;;;;;51269:1745;51334:17;51768:4;51761;51755:11;51751:22;51860:1;51854:4;51847:15;51935:4;51932:1;51928:12;51921:19;;;52017:1;52012:3;52005:14;52121:3;52360:5;52342:428;52408:1;52403:3;52399:11;52392:18;;52579:2;52573:4;52569:13;52565:2;52561:22;52556:3;52548:36;52673:2;52663:13;;;52730:25;;52748:5;;52730:25;52342:428;;;-1:-1:-1;52800:13:0;;;-1:-1:-1;;52915:14:0;;;52977:19;;;52915:14;51269:1745;-1:-1:-1;51269:1745:0:o;36597:188::-;36648:21;:25;36644:134;;36690:55;;21338:42;;36723:21;36690:55;;;;;;;;;36723:21;21338:42;36690:55;;;;;;;;;;;;;;;;;;;36644:134;36597:188::o;60215:103::-;60252:7;60308:2;60291:13;15929:12;;15716:7;15913:13;:28;;15655:323;60291:13;60279:9;;:25;;;;:::i;:::-;60278:32;;;;:::i;:::-;60271:39;;60215:103;:::o;44121:689::-;44252:19;44258:2;44262:8;44252:5;:19::i;:::-;-1:-1:-1;;;;;44313:14:0;;;:19;44309:483;;44353:11;44367:13;44415:14;;;44448:233;44479:62;44518:1;44522:2;44526:7;;;;;;44535:5;44479:30;:62::i;:::-;44474:167;;44577:40;;-1:-1:-1;;;44577:40:0;;;;;;;;;;;44474:167;44676:3;44668:5;:11;44448:233;;44763:3;44746:13;;:20;44742:34;;44768:8;;;37225:716;37409:88;;-1:-1:-1;;;37409:88:0;;37388:4;;-1:-1:-1;;;;;37409:45:0;;;;;:88;;51149:10;;37476:4;;37482:7;;37491:5;;37409:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37409:88:0;;;;;;;;-1:-1:-1;;37409:88:0;;;;;;;;;;;;:::i;:::-;;;37405:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37692:13:0;;37688:235;;37738:40;;-1:-1:-1;;;37738:40:0;;;;;;;;;;;37688:235;37881:6;37875:13;37866:6;37862:2;37858:15;37851:38;37405:529;-1:-1:-1;;;;;;37568:64:0;-1:-1:-1;;;37568:64:0;;-1:-1:-1;37405:529:0;37225:716;;;;;;:::o;38403:2966::-;38476:20;38499:13;38527;38523:44;;38549:18;;-1:-1:-1;;;38549:18:0;;;;;;;;;;;38523:44;-1:-1:-1;;;;;39055:22:0;;;;;;:18;:22;;;;11136:2;39055:22;;;:71;;39093:32;39081:45;;39055:71;;;39369:31;;;:17;:31;;;;;-1:-1:-1;25353:15:0;;25327:24;25323:46;24922:11;24897:23;24893:41;24890:52;24880:63;;39369:173;;39604:23;;;;39369:31;;39055:22;;40369:25;39055:22;;40222:335;40883:1;40869:12;40865:20;40823:346;40924:3;40915:7;40912:16;40823:346;;41142:7;41132:8;41129:1;41102:25;41099:1;41096;41091:59;40977:1;40964:15;40823:346;;;-1:-1:-1;41202:13:0;41198:45;;41224:19;;-1:-1:-1;;;41224:19:0;;;;;;;;;;;41198:45;41260:13;:19;-1:-1:-1;60848:165:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:315::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2545:28;2567:5;2545:28;:::i;:::-;2592:5;2582:15;;;2288:315;;;;;:::o;2608:254::-;2676:6;2684;2737:2;2725:9;2716:7;2712:23;2708:32;2705:52;;;2753:1;2750;2743:12;2705:52;2776:29;2795:9;2776:29;:::i;:::-;2766:39;2852:2;2837:18;;;;2824:32;;-1:-1:-1;;;2608:254:1:o;2867:245::-;2934:6;2987:2;2975:9;2966:7;2962:23;2958:32;2955:52;;;3003:1;3000;2993:12;2955:52;3035:9;3029:16;3054:28;3076:5;3054:28;:::i;3117:245::-;3175:6;3228:2;3216:9;3207:7;3203:23;3199:32;3196:52;;;3244:1;3241;3234:12;3196:52;3283:9;3270:23;3302:30;3326:5;3302:30;:::i;3367:249::-;3436:6;3489:2;3477:9;3468:7;3464:23;3460:32;3457:52;;;3505:1;3502;3495:12;3457:52;3537:9;3531:16;3556:30;3580:5;3556:30;:::i;3621:450::-;3690:6;3743:2;3731:9;3722:7;3718:23;3714:32;3711:52;;;3759:1;3756;3749:12;3711:52;3799:9;3786:23;3832:18;3824:6;3821:30;3818:50;;;3864:1;3861;3854:12;3818:50;3887:22;;3940:4;3932:13;;3928:27;-1:-1:-1;3918:55:1;;3969:1;3966;3959:12;3918:55;3992:73;4057:7;4052:2;4039:16;4034:2;4030;4026:11;3992:73;:::i;4076:180::-;4135:6;4188:2;4176:9;4167:7;4163:23;4159:32;4156:52;;;4204:1;4201;4194:12;4156:52;-1:-1:-1;4227:23:1;;4076:180;-1:-1:-1;4076:180:1:o;4261:248::-;4329:6;4337;4390:2;4378:9;4369:7;4365:23;4361:32;4358:52;;;4406:1;4403;4396:12;4358:52;-1:-1:-1;;4429:23:1;;;4499:2;4484:18;;;4471:32;;-1:-1:-1;4261:248:1:o;4514:257::-;4555:3;4593:5;4587:12;4620:6;4615:3;4608:19;4636:63;4692:6;4685:4;4680:3;4676:14;4669:4;4662:5;4658:16;4636:63;:::i;:::-;4753:2;4732:15;-1:-1:-1;;4728:29:1;4719:39;;;;4760:4;4715:50;;4514:257;-1:-1:-1;;4514:257:1:o;4776:185::-;4818:3;4856:5;4850:12;4871:52;4916:6;4911:3;4904:4;4897:5;4893:16;4871:52;:::i;:::-;4939:16;;;;;4776:185;-1:-1:-1;;4776:185:1:o;5084:1301::-;5361:3;5390:1;5423:6;5417:13;5453:3;5475:1;5503:9;5499:2;5495:18;5485:28;;5563:2;5552:9;5548:18;5585;5575:61;;5629:4;5621:6;5617:17;5607:27;;5575:61;5655:2;5703;5695:6;5692:14;5672:18;5669:38;5666:165;;;-1:-1:-1;;;5730:33:1;;5786:4;5783:1;5776:15;5816:4;5737:3;5804:17;5666:165;5847:18;5874:104;;;;5992:1;5987:320;;;;5840:467;;5874:104;-1:-1:-1;;5907:24:1;;5895:37;;5952:16;;;;-1:-1:-1;5874:104:1;;5987:320;8590:1;8583:14;;;8627:4;8614:18;;6082:1;6096:165;6110:6;6107:1;6104:13;6096:165;;;6188:14;;6175:11;;;6168:35;6231:16;;;;6125:10;;6096:165;;;6100:3;;6290:6;6285:3;6281:16;6274:23;;5840:467;;;;;;;6323:56;6348:30;6374:3;6366:6;6348:30;:::i;:::-;-1:-1:-1;;;5026:20:1;;5071:1;5062:11;;4966:113;6323:56;6316:63;5084:1301;-1:-1:-1;;;;;5084:1301:1:o;6907:488::-;-1:-1:-1;;;;;7176:15:1;;;7158:34;;7228:15;;7223:2;7208:18;;7201:43;7275:2;7260:18;;7253:34;;;7323:3;7318:2;7303:18;;7296:31;;;7101:4;;7344:45;;7369:19;;7361:6;7344:45;:::i;:::-;7336:53;6907:488;-1:-1:-1;;;;;;6907:488:1:o;8111:219::-;8260:2;8249:9;8242:21;8223:4;8280:44;8320:2;8309:9;8305:18;8297:6;8280:44;:::i;8643:128::-;8683:3;8714:1;8710:6;8707:1;8704:13;8701:39;;;8720:18;;:::i;:::-;-1:-1:-1;8756:9:1;;8643:128::o;8776:217::-;8816:1;8842;8832:132;;8886:10;8881:3;8877:20;8874:1;8867:31;8921:4;8918:1;8911:15;8949:4;8946:1;8939:15;8832:132;-1:-1:-1;8978:9:1;;8776:217::o;8998:168::-;9038:7;9104:1;9100;9096:6;9092:14;9089:1;9086:21;9081:1;9074:9;9067:17;9063:45;9060:71;;;9111:18;;:::i;:::-;-1:-1:-1;9151:9:1;;8998:168::o;9171:125::-;9211:4;9239:1;9236;9233:8;9230:34;;;9244:18;;:::i;:::-;-1:-1:-1;9281:9:1;;9171:125::o;9301:258::-;9373:1;9383:113;9397:6;9394:1;9391:13;9383:113;;;9473:11;;;9467:18;9454:11;;;9447:39;9419:2;9412:10;9383:113;;;9514:6;9511:1;9508:13;9505:48;;;-1:-1:-1;;9549:1:1;9531:16;;9524:27;9301:258::o;9564:380::-;9643:1;9639:12;;;;9686;;;9707:61;;9761:4;9753:6;9749:17;9739:27;;9707:61;9814:2;9806:6;9803:14;9783:18;9780:38;9777:161;;;9860:10;9855:3;9851:20;9848:1;9841:31;9895:4;9892:1;9885:15;9923:4;9920:1;9913:15;9777:161;;9564:380;;;:::o;9949:135::-;9988:3;-1:-1:-1;;10009:17:1;;10006:43;;;10029:18;;:::i;:::-;-1:-1:-1;10076:1:1;10065:13;;9949:135::o;10089:127::-;10150:10;10145:3;10141:20;10138:1;10131:31;10181:4;10178:1;10171:15;10205:4;10202:1;10195:15;10221:127;10282:10;10277:3;10273:20;10270:1;10263:31;10313:4;10310:1;10303:15;10337:4;10334:1;10327:15;10353:118;10439:5;10432:13;10425:21;10418:5;10415:32;10405:60;;10461:1;10458;10451:12;10476:131;-1:-1:-1;;;;;;10550:32:1;;10540:43;;10530:71;;10597:1;10594;10587:12

Swarm Source

ipfs://07dc11d0cf167724b0cefbbc077cb8834da475a5fa145350d791a5010c8cda42
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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