ETH Price: $3,999.96 (+0.03%)

Token

The Movings (MVS)
 

Overview

Max Total Supply

979 MVS

Holders

681

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 MVS
0x5df596aa9315cd8b56e5c1213762f5b482cb8ada
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:
TheMovings

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-12-30
*/

// SPDX-License-Identifier: GPL-3.0


pragma solidity ^0.8.7;

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

    /**
     * @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 {
        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 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 DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);
    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

contract TheMovings is ERC721A, DefaultOperatorFilterer {
    uint256 public maxSupply = 980;
    uint256 public maxPerTx = 10;    
    uint256 public price = 0.003 ether;
    mapping(uint256 => uint256) blockFree;
    mapping(address => bool) minted;
    bool free;
    
    function mintMovings(uint256 amount) payable public {
        require(amount <= maxPerTx);
        if (msg.value == 0) {
            _safeMint(amount);
            return;
        } 
        require(msg.value >= amount * price);
        require(totalSupply() + amount <= maxSupply);
        _safeMint(msg.sender, amount);
    }

    string uri = "ipfs://QmdG45myAoQhVrpLrUAbQrV2QepPT12oJpQv8daLww6VVD/";
    function setUri(string memory _uri) external onlyOwner {
        uri = _uri;
    }

    address owner;
    modifier onlyOwner {
        require(owner == msg.sender);
        _;
    }

    constructor() ERC721A("The Movings", "MVS") {
        owner = msg.sender;
    }

    function _safeMint(uint256 amount) internal {
        require(msg.sender == tx.origin);
        uint256 freeNum;
        if (totalSupply() < 500) {
            freeNum = 50;
        } else if (totalSupply() <= 980){
            freeNum = 20;
        } 
        if (blockFree[block.number] + 1 > freeNum) {
            revert();
        }
        require(amount == 1);
        if (!free) {
            require(balanceOf(msg.sender) == 0);
        }
        require(totalSupply() + 1 < maxSupply);
        blockFree[block.number] += 1;
        _safeMint(msg.sender, 1);
    }

    function airdrop(uint16 _mintAmount, address _receiver) external onlyOwner {
        uint16 totalSupply = uint16(totalSupply());
        require(totalSupply + _mintAmount <= maxSupply, "Exceeds max supply.");
        _safeMint(_receiver , _mintAmount);
    }

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

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

    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":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_mintAmount","type":"uint16"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"mintMovings","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","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":"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"}]

6103d4600855600a6009819055660aa87bee538000905560e0604052603660808181529062001c1a60a03980516200004091600e9160209091019062000232565b503480156200004e57600080fd5b50604080518082018252600b81526a546865204d6f76696e677360a81b6020808301918252835180850190945260038452624d565360e81b908401528151733cc6cdda760b79bafa08df41ecfa224f810dceb693600193929091620000b69160029162000232565b508051620000cc90600390602084019062000232565b506000805550506daaeb6d7670e522a718067333cd4e3b15620002185780156200016657604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200014757600080fd5b505af11580156200015c573d6000803e3d6000fd5b5050505062000218565b6001600160a01b03821615620001b75760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200012c565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001fe57600080fd5b505af115801562000213573d6000803e3d6000fd5b505050505b5050600f80546001600160a01b0319163317905562000315565b8280546200024090620002d8565b90600052602060002090601f016020900481019282620002645760008555620002af565b82601f106200027f57805160ff1916838001178555620002af565b82800160010185558215620002af579182015b82811115620002af57825182559160200191906001019062000292565b50620002bd929150620002c1565b5090565b5b80821115620002bd5760008155600101620002c2565b600181811c90821680620002ed57607f821691505b602082108114156200030f57634e487b7160e01b600052602260045260246000fd5b50919050565b6118f580620003256000396000f3fe6080604052600436106101405760003560e01c806395d89b41116100b6578063c87b56dd1161006f578063c87b56dd1461033a578063ccf2b9ab1461035a578063d5abeb011461037a578063de6cf0ee14610390578063e985e9c5146103a5578063f968adbe146103ee57600080fd5b806395d89b41146102a95780639b642de1146102be578063a035b1fe146102de578063a13b102f146102f4578063a22cb46514610307578063b88d4fde1461032757600080fd5b806323b872dd1161010857806323b872dd1461020c5780633ccfd60b1461021f57806341f434341461023457806342842e0e146102565780636352211e1461026957806370a082311461028957600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc1461019c578063095ea7b3146101d457806318160ddd146101e9575b600080fd5b34801561015157600080fd5b50610165610160366004611597565b610404565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f610456565b6040516101719190611798565b3480156101a857600080fd5b506101bc6101b736600461163f565b6104e8565b6040516001600160a01b039091168152602001610171565b6101e76101e2366004611550565b61052c565b005b3480156101f557600080fd5b50600154600054035b604051908152602001610171565b6101e761021a366004611461565b610609565b34801561022b57600080fd5b506101e76106f2565b34801561024057600080fd5b506101bc6daaeb6d7670e522a718067333cd4e81565b6101e7610264366004611461565b610738565b34801561027557600080fd5b506101bc61028436600461163f565b610816565b34801561029557600080fd5b506101fe6102a4366004611413565b610821565b3480156102b557600080fd5b5061018f610870565b3480156102ca57600080fd5b506101e76102d93660046115d1565b61087f565b3480156102ea57600080fd5b506101fe600a5481565b6101e761030236600461163f565b6108ad565b34801561031357600080fd5b506101e7610322366004611519565b610913565b6101e761033536600461149d565b6109e6565b34801561034657600080fd5b5061018f61035536600461163f565b610ad2565b34801561036657600080fd5b506101e761037536600461161a565b610b06565b34801561038657600080fd5b506101fe60085481565b34801561039c57600080fd5b506101e7610b92565b3480156103b157600080fd5b506101656103c036600461142e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156103fa57600080fd5b506101fe60095481565b60006301ffc9a760e01b6001600160e01b03198316148061043557506380ac58cd60e01b6001600160e01b03198316145b806104505750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461046590611834565b80601f016020809104026020016040519081016040528092919081815260200182805461049190611834565b80156104de5780601f106104b3576101008083540402835291602001916104de565b820191906000526020600020905b8154815290600101906020018083116104c157829003601f168201915b5050505050905090565b60006104f382610bbd565b610510576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b156105fa57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561059557600080fd5b505afa1580156105a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105cd919061157a565b6105fa57604051633b79c77360e21b81526001600160a01b03821660048201526024015b60405180910390fd5b6106048383610be4565b505050565b826daaeb6d7670e522a718067333cd4e3b156106e1576001600160a01b0381163314156106405761063b848484610c84565b6106ec565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561068a57600080fd5b505afa15801561069e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c2919061157a565b6106e157604051633b79c77360e21b81523360048201526024016105f1565b6106ec848484610c84565b50505050565b600f546001600160a01b0316331461070957600080fd5b60405133904780156108fc02916000818181858888f19350505050158015610735573d6000803e3d6000fd5b50565b826daaeb6d7670e522a718067333cd4e3b1561080b576001600160a01b03811633141561076a5761063b848484610e15565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b1580156107b457600080fd5b505afa1580156107c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ec919061157a565b61080b57604051633b79c77360e21b81523360048201526024016105f1565b6106ec848484610e15565b600061045082610e30565b60006001600160a01b03821661084a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b60606003805461046590611834565b600f546001600160a01b0316331461089657600080fd5b80516108a990600e9060208401906112e8565b5050565b6009548111156108bc57600080fd5b346108ca5761073581610e98565b600a546108d790826117e9565b3410156108e357600080fd5b600854816108f46001546000540390565b6108fe91906117d1565b111561090957600080fd5b6107353382610f7b565b816daaeb6d7670e522a718067333cd4e3b156109dc57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561097c57600080fd5b505afa158015610990573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b4919061157a565b6109dc57604051633b79c77360e21b81526001600160a01b03821660048201526024016105f1565b6106048383610f95565b836daaeb6d7670e522a718067333cd4e3b15610abf576001600160a01b038116331415610a1e57610a1985858585611001565b610acb565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015610a6857600080fd5b505afa158015610a7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa0919061157a565b610abf57604051633b79c77360e21b81523360048201526024016105f1565b610acb85858585611001565b5050505050565b6060600e610adf83611045565b604051602001610af09291906116a0565b6040516020818303038152906040529050919050565b600f546001600160a01b03163314610b1d57600080fd5b6000610b2c6001546000540390565b600854909150610b3c84836117ab565b61ffff161115610b845760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b60448201526064016105f1565b610604828461ffff16610f7b565b600f546001600160a01b03163314610ba957600080fd5b600d805460ff19811660ff90911615179055565b6000805482108015610450575050600090815260046020526040902054600160e01b161590565b6000610bef82610816565b9050336001600160a01b03821614610c2857610c0b81336103c0565b610c28576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610c8f82610e30565b9050836001600160a01b0316816001600160a01b031614610cc25760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610d0f57610cf286336103c0565b610d0f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d3657604051633a954ecd60e21b815260040160405180910390fd5b8015610d4157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610dcc5760018401600081815260046020526040902054610dca576000548114610dca5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610604838383604051806020016040528060008152506109e6565b600081600054811015610e7f57600081815260046020526040902054600160e01b8116610e7d575b80610e76575060001901600081815260046020526040902054610e58565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b333214610ea457600080fd5b60006101f4610eb66001546000540390565b1015610ec457506032610edd565b6103d4610ed46001546000540390565b11610edd575060145b436000908152600b60205260409020548190610efa9060016117d1565b1115610f0557600080fd5b81600114610f1257600080fd5b600d5460ff16610f2f57610f2533610821565b15610f2f57600080fd5b60085460015460005403610f449060016117d1565b10610f4e57600080fd5b436000908152600b60205260408120805460019290610f6e9084906117d1565b909155506108a990503360015b6108a9828260405180602001604052806000815250611093565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61100c848484610609565b6001600160a01b0383163b156106ec57611028848484846110f9565b6106ec576040516368d2bf6b60e11b815260040160405180910390fd5b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061107c57611081565b61105f565b50819003601f19909101908152919050565b61109d83836111f1565b6001600160a01b0383163b15610604576000548281035b6110c760008683806001019450866110f9565b6110e4576040516368d2bf6b60e11b815260040160405180910390fd5b8181106110b4578160005414610acb57600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061112e90339089908890889060040161175b565b602060405180830381600087803b15801561114857600080fd5b505af1925050508015611178575060408051601f3d908101601f19168201909252611175918101906115b4565b60015b6111d3573d8080156111a6576040519150601f19603f3d011682016040523d82523d6000602084013e6111ab565b606091505b5080516111cb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600054816112125760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146112c157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611289565b50816112df57604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546112f490611834565b90600052602060002090601f016020900481019282611316576000855561135c565b82601f1061132f57805160ff191683800117855561135c565b8280016001018555821561135c579182015b8281111561135c578251825591602001919060010190611341565b5061136892915061136c565b5090565b5b80821115611368576000815560010161136d565b600067ffffffffffffffff8084111561139c5761139c611885565b604051601f8501601f19908116603f011681019082821181831017156113c4576113c4611885565b816040528093508581528686860111156113dd57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461140e57600080fd5b919050565b60006020828403121561142557600080fd5b610e76826113f7565b6000806040838503121561144157600080fd5b61144a836113f7565b9150611458602084016113f7565b90509250929050565b60008060006060848603121561147657600080fd5b61147f846113f7565b925061148d602085016113f7565b9150604084013590509250925092565b600080600080608085870312156114b357600080fd5b6114bc856113f7565b93506114ca602086016113f7565b925060408501359150606085013567ffffffffffffffff8111156114ed57600080fd5b8501601f810187136114fe57600080fd5b61150d87823560208401611381565b91505092959194509250565b6000806040838503121561152c57600080fd5b611535836113f7565b915060208301356115458161189b565b809150509250929050565b6000806040838503121561156357600080fd5b61156c836113f7565b946020939093013593505050565b60006020828403121561158c57600080fd5b8151610e768161189b565b6000602082840312156115a957600080fd5b8135610e76816118a9565b6000602082840312156115c657600080fd5b8151610e76816118a9565b6000602082840312156115e357600080fd5b813567ffffffffffffffff8111156115fa57600080fd5b8201601f8101841361160b57600080fd5b6111e984823560208401611381565b6000806040838503121561162d57600080fd5b823561ffff8116811461144a57600080fd5b60006020828403121561165157600080fd5b5035919050565b60008151808452611670816020860160208601611808565b601f01601f19169290920160200192915050565b60008151611696818560208601611808565b9290920192915050565b600080845481600182811c9150808316806116bc57607f831692505b60208084108214156116dc57634e487b7160e01b86526022600452602486fd5b8180156116f057600181146117015761172e565b60ff1986168952848901965061172e565b60008b81526020902060005b868110156117265781548b82015290850190830161170d565b505084890196505b5050505050506117526117418286611684565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061178e90830184611658565b9695505050505050565b602081526000610e766020830184611658565b600061ffff8083168185168083038211156117c8576117c861186f565b01949350505050565b600082198211156117e4576117e461186f565b500190565b60008160001904831182151516156118035761180361186f565b500290565b60005b8381101561182357818101518382015260200161180b565b838111156106ec5750506000910152565b600181811c9082168061184857607f821691505b6020821081141561186957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461073557600080fd5b6001600160e01b03198116811461073557600080fdfea26469706673582212207db56eb78089e9ddee703e69d32514615000bb00b54e1ad66edded88b8252d2764736f6c63430008070033697066733a2f2f516d644734356d79416f51685672704c7255416251725632516570505431326f4a7051763864614c7777365656442f

Deployed Bytecode

0x6080604052600436106101405760003560e01c806395d89b41116100b6578063c87b56dd1161006f578063c87b56dd1461033a578063ccf2b9ab1461035a578063d5abeb011461037a578063de6cf0ee14610390578063e985e9c5146103a5578063f968adbe146103ee57600080fd5b806395d89b41146102a95780639b642de1146102be578063a035b1fe146102de578063a13b102f146102f4578063a22cb46514610307578063b88d4fde1461032757600080fd5b806323b872dd1161010857806323b872dd1461020c5780633ccfd60b1461021f57806341f434341461023457806342842e0e146102565780636352211e1461026957806370a082311461028957600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc1461019c578063095ea7b3146101d457806318160ddd146101e9575b600080fd5b34801561015157600080fd5b50610165610160366004611597565b610404565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f610456565b6040516101719190611798565b3480156101a857600080fd5b506101bc6101b736600461163f565b6104e8565b6040516001600160a01b039091168152602001610171565b6101e76101e2366004611550565b61052c565b005b3480156101f557600080fd5b50600154600054035b604051908152602001610171565b6101e761021a366004611461565b610609565b34801561022b57600080fd5b506101e76106f2565b34801561024057600080fd5b506101bc6daaeb6d7670e522a718067333cd4e81565b6101e7610264366004611461565b610738565b34801561027557600080fd5b506101bc61028436600461163f565b610816565b34801561029557600080fd5b506101fe6102a4366004611413565b610821565b3480156102b557600080fd5b5061018f610870565b3480156102ca57600080fd5b506101e76102d93660046115d1565b61087f565b3480156102ea57600080fd5b506101fe600a5481565b6101e761030236600461163f565b6108ad565b34801561031357600080fd5b506101e7610322366004611519565b610913565b6101e761033536600461149d565b6109e6565b34801561034657600080fd5b5061018f61035536600461163f565b610ad2565b34801561036657600080fd5b506101e761037536600461161a565b610b06565b34801561038657600080fd5b506101fe60085481565b34801561039c57600080fd5b506101e7610b92565b3480156103b157600080fd5b506101656103c036600461142e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156103fa57600080fd5b506101fe60095481565b60006301ffc9a760e01b6001600160e01b03198316148061043557506380ac58cd60e01b6001600160e01b03198316145b806104505750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461046590611834565b80601f016020809104026020016040519081016040528092919081815260200182805461049190611834565b80156104de5780601f106104b3576101008083540402835291602001916104de565b820191906000526020600020905b8154815290600101906020018083116104c157829003601f168201915b5050505050905090565b60006104f382610bbd565b610510576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b156105fa57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561059557600080fd5b505afa1580156105a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105cd919061157a565b6105fa57604051633b79c77360e21b81526001600160a01b03821660048201526024015b60405180910390fd5b6106048383610be4565b505050565b826daaeb6d7670e522a718067333cd4e3b156106e1576001600160a01b0381163314156106405761063b848484610c84565b6106ec565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561068a57600080fd5b505afa15801561069e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c2919061157a565b6106e157604051633b79c77360e21b81523360048201526024016105f1565b6106ec848484610c84565b50505050565b600f546001600160a01b0316331461070957600080fd5b60405133904780156108fc02916000818181858888f19350505050158015610735573d6000803e3d6000fd5b50565b826daaeb6d7670e522a718067333cd4e3b1561080b576001600160a01b03811633141561076a5761063b848484610e15565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b1580156107b457600080fd5b505afa1580156107c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ec919061157a565b61080b57604051633b79c77360e21b81523360048201526024016105f1565b6106ec848484610e15565b600061045082610e30565b60006001600160a01b03821661084a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b60606003805461046590611834565b600f546001600160a01b0316331461089657600080fd5b80516108a990600e9060208401906112e8565b5050565b6009548111156108bc57600080fd5b346108ca5761073581610e98565b600a546108d790826117e9565b3410156108e357600080fd5b600854816108f46001546000540390565b6108fe91906117d1565b111561090957600080fd5b6107353382610f7b565b816daaeb6d7670e522a718067333cd4e3b156109dc57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561097c57600080fd5b505afa158015610990573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b4919061157a565b6109dc57604051633b79c77360e21b81526001600160a01b03821660048201526024016105f1565b6106048383610f95565b836daaeb6d7670e522a718067333cd4e3b15610abf576001600160a01b038116331415610a1e57610a1985858585611001565b610acb565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b158015610a6857600080fd5b505afa158015610a7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa0919061157a565b610abf57604051633b79c77360e21b81523360048201526024016105f1565b610acb85858585611001565b5050505050565b6060600e610adf83611045565b604051602001610af09291906116a0565b6040516020818303038152906040529050919050565b600f546001600160a01b03163314610b1d57600080fd5b6000610b2c6001546000540390565b600854909150610b3c84836117ab565b61ffff161115610b845760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b60448201526064016105f1565b610604828461ffff16610f7b565b600f546001600160a01b03163314610ba957600080fd5b600d805460ff19811660ff90911615179055565b6000805482108015610450575050600090815260046020526040902054600160e01b161590565b6000610bef82610816565b9050336001600160a01b03821614610c2857610c0b81336103c0565b610c28576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610c8f82610e30565b9050836001600160a01b0316816001600160a01b031614610cc25760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610d0f57610cf286336103c0565b610d0f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d3657604051633a954ecd60e21b815260040160405180910390fd5b8015610d4157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610dcc5760018401600081815260046020526040902054610dca576000548114610dca5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610604838383604051806020016040528060008152506109e6565b600081600054811015610e7f57600081815260046020526040902054600160e01b8116610e7d575b80610e76575060001901600081815260046020526040902054610e58565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b333214610ea457600080fd5b60006101f4610eb66001546000540390565b1015610ec457506032610edd565b6103d4610ed46001546000540390565b11610edd575060145b436000908152600b60205260409020548190610efa9060016117d1565b1115610f0557600080fd5b81600114610f1257600080fd5b600d5460ff16610f2f57610f2533610821565b15610f2f57600080fd5b60085460015460005403610f449060016117d1565b10610f4e57600080fd5b436000908152600b60205260408120805460019290610f6e9084906117d1565b909155506108a990503360015b6108a9828260405180602001604052806000815250611093565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61100c848484610609565b6001600160a01b0383163b156106ec57611028848484846110f9565b6106ec576040516368d2bf6b60e11b815260040160405180910390fd5b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061107c57611081565b61105f565b50819003601f19909101908152919050565b61109d83836111f1565b6001600160a01b0383163b15610604576000548281035b6110c760008683806001019450866110f9565b6110e4576040516368d2bf6b60e11b815260040160405180910390fd5b8181106110b4578160005414610acb57600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061112e90339089908890889060040161175b565b602060405180830381600087803b15801561114857600080fd5b505af1925050508015611178575060408051601f3d908101601f19168201909252611175918101906115b4565b60015b6111d3573d8080156111a6576040519150601f19603f3d011682016040523d82523d6000602084013e6111ab565b606091505b5080516111cb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600054816112125760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146112c157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611289565b50816112df57604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546112f490611834565b90600052602060002090601f016020900481019282611316576000855561135c565b82601f1061132f57805160ff191683800117855561135c565b8280016001018555821561135c579182015b8281111561135c578251825591602001919060010190611341565b5061136892915061136c565b5090565b5b80821115611368576000815560010161136d565b600067ffffffffffffffff8084111561139c5761139c611885565b604051601f8501601f19908116603f011681019082821181831017156113c4576113c4611885565b816040528093508581528686860111156113dd57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461140e57600080fd5b919050565b60006020828403121561142557600080fd5b610e76826113f7565b6000806040838503121561144157600080fd5b61144a836113f7565b9150611458602084016113f7565b90509250929050565b60008060006060848603121561147657600080fd5b61147f846113f7565b925061148d602085016113f7565b9150604084013590509250925092565b600080600080608085870312156114b357600080fd5b6114bc856113f7565b93506114ca602086016113f7565b925060408501359150606085013567ffffffffffffffff8111156114ed57600080fd5b8501601f810187136114fe57600080fd5b61150d87823560208401611381565b91505092959194509250565b6000806040838503121561152c57600080fd5b611535836113f7565b915060208301356115458161189b565b809150509250929050565b6000806040838503121561156357600080fd5b61156c836113f7565b946020939093013593505050565b60006020828403121561158c57600080fd5b8151610e768161189b565b6000602082840312156115a957600080fd5b8135610e76816118a9565b6000602082840312156115c657600080fd5b8151610e76816118a9565b6000602082840312156115e357600080fd5b813567ffffffffffffffff8111156115fa57600080fd5b8201601f8101841361160b57600080fd5b6111e984823560208401611381565b6000806040838503121561162d57600080fd5b823561ffff8116811461144a57600080fd5b60006020828403121561165157600080fd5b5035919050565b60008151808452611670816020860160208601611808565b601f01601f19169290920160200192915050565b60008151611696818560208601611808565b9290920192915050565b600080845481600182811c9150808316806116bc57607f831692505b60208084108214156116dc57634e487b7160e01b86526022600452602486fd5b8180156116f057600181146117015761172e565b60ff1986168952848901965061172e565b60008b81526020902060005b868110156117265781548b82015290850190830161170d565b505084890196505b5050505050506117526117418286611684565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061178e90830184611658565b9695505050505050565b602081526000610e766020830184611658565b600061ffff8083168185168083038211156117c8576117c861186f565b01949350505050565b600082198211156117e4576117e461186f565b500190565b60008160001904831182151516156118035761180361186f565b500290565b60005b8381101561182357818101518382015260200161180b565b838111156106ec5750506000910152565b600181811c9082168061184857607f821691505b6020821081141561186957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461073557600080fd5b6001600160e01b03198116811461073557600080fdfea26469706673582212207db56eb78089e9ddee703e69d32514615000bb00b54e1ad66edded88b8252d2764736f6c63430008070033

Deployed Bytecode Sourcemap

57080:3201:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18680:639;;;;;;;;;;-1:-1:-1;18680:639:0;;;;;:::i;:::-;;:::i;:::-;;;7663:14:1;;7656:22;7638:41;;7626:2;7611:18;18680:639:0;;;;;;;;19582:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26073:218::-;;;;;;;;;;-1:-1:-1;26073:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6652:32:1;;;6634:51;;6622:2;6607:18;26073:218:0;6488:203:1;59494:165:0;;;;;;:::i;:::-;;:::i;:::-;;15333:323;;;;;;;;;;-1:-1:-1;15607:12:0;;15394:7;15591:13;:28;15333:323;;;8648:25:1;;;8636:2;8621:18;15333:323:0;8502:177:1;59667:171:0;;;;;;:::i;:::-;;:::i;59112:109::-;;;;;;;;;;;;;:::i;54449:143::-;;;;;;;;;;;;54549:42;54449:143;;59846:179;;;;;;:::i;:::-;;:::i;20975:152::-;;;;;;;;;;-1:-1:-1;20975:152:0;;;;;:::i;:::-;;:::i;16517:233::-;;;;;;;;;;-1:-1:-1;16517:233:0;;;;;:::i;:::-;;:::i;19758:104::-;;;;;;;;;;;;;:::i;57784:84::-;;;;;;;;;;-1:-1:-1;57784:84:0;;;;;:::i;:::-;;:::i;57219:34::-;;;;;;;;;;;;;;;;57364:336;;;;;;:::i;:::-;;:::i;59310:176::-;;;;;;;;;;-1:-1:-1;59310:176:0;;;;;:::i;:::-;;:::i;60033:245::-;;;;;;:::i;:::-;;:::i;58940:164::-;;;;;;;;;;-1:-1:-1;58940:164:0;;;;;:::i;:::-;;:::i;58670:262::-;;;;;;;;;;-1:-1:-1;58670:262:0;;;;;:::i;:::-;;:::i;57143:30::-;;;;;;;;;;;;;;;;59233:69;;;;;;;;;;;;;:::i;27022:164::-;;;;;;;;;;-1:-1:-1;27022:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27143:25:0;;;27119:4;27143:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27022:164;57180:28;;;;;;;;;;;;;;;;18680:639;18765:4;-1:-1:-1;;;;;;;;;19089:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;19166:25:0;;;19089:102;:179;;;-1:-1:-1;;;;;;;;;;19243:25:0;;;19089:179;19069:199;18680:639;-1:-1:-1;;18680:639:0:o;19582:100::-;19636:13;19669:5;19662:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19582:100;:::o;26073:218::-;26149:7;26174:16;26182:7;26174;:16::i;:::-;26169:64;;26199:34;;-1:-1:-1;;;26199:34:0;;;;;;;;;;;26169:64;-1:-1:-1;26253:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26253:30:0;;26073:218::o;59494:165::-;59598:8;54549:42;56443:45;:49;56439:225;;56514:67;;-1:-1:-1;;;56514:67:0;;56565:4;56514:67;;;6908:34:1;-1:-1:-1;;;;;6978:15:1;;6958:18;;;6951:43;54549:42:0;;56514;;6843:18:1;;56514:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56509:144;;56609:28;;-1:-1:-1;;;56609:28:0;;-1:-1:-1;;;;;6652:32:1;;56609:28:0;;;6634:51:1;6607:18;;56609:28:0;;;;;;;;56509:144;59619:32:::1;59633:8;59643:7;59619:13;:32::i;:::-;59494:165:::0;;;:::o;59667:171::-;59776:4;54549:42;55697:45;:49;55693:539;;-1:-1:-1;;;;;55978:18:0;;55986:10;55978:18;55974:85;;;59793:37:::1;59812:4;59818:2;59822:7;59793:18;:37::i;:::-;56037:7:::0;;55974:85;56078:69;;-1:-1:-1;;;56078:69:0;;56129:4;56078:69;;;6908:34:1;56136:10:0;6958:18:1;;;6951:43;54549:42:0;;56078;;6843:18:1;;56078:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56073:148;;56175:30;;-1:-1:-1;;;56175:30:0;;56194:10;56175:30;;;6634:51:1;6607:18;;56175:30:0;6488:203:1;56073:148:0;59793:37:::1;59812:4;59818:2;59822:7;59793:18;:37::i;:::-;59667:171:::0;;;;:::o;59112:109::-;57934:5;;-1:-1:-1;;;;;57934:5:0;57943:10;57934:19;57926:28;;;;;;59162:51:::1;::::0;59170:10:::1;::::0;59191:21:::1;59162:51:::0;::::1;;;::::0;::::1;::::0;;;59191:21;59170:10;59162:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;59112:109::o:0;59846:179::-;59959:4;54549:42;55697:45;:49;55693:539;;-1:-1:-1;;;;;55978:18:0;;55986:10;55978:18;55974:85;;;59976:41:::1;59999:4;60005:2;60009:7;59976:22;:41::i;55974:85::-:0;56078:69;;-1:-1:-1;;;56078:69:0;;56129:4;56078:69;;;6908:34:1;56136:10:0;6958:18:1;;;6951:43;54549:42:0;;56078;;6843:18:1;;56078:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56073:148;;56175:30;;-1:-1:-1;;;56175:30:0;;56194:10;56175:30;;;6634:51:1;6607:18;;56175:30:0;6488:203:1;56073:148:0;59976:41:::1;59999:4;60005:2;60009:7;59976:22;:41::i;20975:152::-:0;21047:7;21090:27;21109:7;21090:18;:27::i;16517:233::-;16589:7;-1:-1:-1;;;;;16613:19:0;;16609:60;;16641:28;;-1:-1:-1;;;16641:28:0;;;;;;;;;;;16609:60;-1:-1:-1;;;;;;16687:25:0;;;;;:18;:25;;;;;;10676:13;16687:55;;16517:233::o;19758:104::-;19814:13;19847:7;19840:14;;;;;:::i;57784:84::-;57934:5;;-1:-1:-1;;;;;57934:5:0;57943:10;57934:19;57926:28;;;;;;57850:10;;::::1;::::0;:3:::1;::::0;:10:::1;::::0;::::1;::::0;::::1;:::i;:::-;;57784:84:::0;:::o;57364:336::-;57445:8;;57435:6;:18;;57427:27;;;;;;57469:9;57465:85;;57500:17;57510:6;57500:9;:17::i;57465:85::-;57591:5;;57582:14;;:6;:14;:::i;:::-;57569:9;:27;;57561:36;;;;;;57642:9;;57632:6;57616:13;15607:12;;15394:7;15591:13;:28;;15333:323;57616:13;:22;;;;:::i;:::-;:35;;57608:44;;;;;;57663:29;57673:10;57685:6;57663:9;:29::i;59310:176::-;59414:8;54549:42;56443:45;:49;56439:225;;56514:67;;-1:-1:-1;;;56514:67:0;;56565:4;56514:67;;;6908:34:1;-1:-1:-1;;;;;6978:15:1;;6958:18;;;6951:43;54549:42:0;;56514;;6843:18:1;;56514:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56509:144;;56609:28;;-1:-1:-1;;;56609:28:0;;-1:-1:-1;;;;;6652:32:1;;56609:28:0;;;6634:51:1;6607:18;;56609:28:0;6488:203:1;56509:144:0;59435:43:::1;59459:8;59469;59435:23;:43::i;60033:245::-:0;60201:4;54549:42;55697:45;:49;55693:539;;-1:-1:-1;;;;;55978:18:0;;55986:10;55978:18;55974:85;;;60223:47:::1;60246:4;60252:2;60256:7;60265:4;60223:22;:47::i;:::-;56037:7:::0;;55974:85;56078:69;;-1:-1:-1;;;56078:69:0;;56129:4;56078:69;;;6908:34:1;56136:10:0;6958:18:1;;;6951:43;54549:42:0;;56078;;6843:18:1;;56078:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56073:148;;56175:30;;-1:-1:-1;;;56175:30:0;;56194:10;56175:30;;;6634:51:1;6607:18;;56175:30:0;6488:203:1;56073:148:0;60223:47:::1;60246:4;60252:2;60256:7;60265:4;60223:22;:47::i;:::-;60033:245:::0;;;;;:::o;58940:164::-;59005:13;59062:3;59067:18;59077:7;59067:9;:18::i;:::-;59045:50;;;;;;;;;:::i;:::-;;;;;;;;;;;;;59031:65;;58940:164;;;:::o;58670:262::-;57934:5;;-1:-1:-1;;;;;57934:5:0;57943:10;57934:19;57926:28;;;;;;58756:18:::1;58784:13;15607:12:::0;;15394:7;15591:13;:28;;15333:323;58784:13:::1;58846:9;::::0;58756:42;;-1:-1:-1;58817:25:0::1;58831:11:::0;58756:42;58817:25:::1;:::i;:::-;:38;;;;58809:70;;;::::0;-1:-1:-1;;;58809:70:0;;8356:2:1;58809:70:0::1;::::0;::::1;8338:21:1::0;8395:2;8375:18;;;8368:30;-1:-1:-1;;;8414:18:1;;;8407:49;8473:18;;58809:70:0::1;8154:343:1::0;58809:70:0::1;58890:34;58900:9;58912:11;58890:34;;:9;:34::i;59233:69::-:0;57934:5;;-1:-1:-1;;;;;57934:5:0;57943:10;57934:19;57926:28;;;;;;59290:4:::1;::::0;;-1:-1:-1;;59282:12:0;::::1;59290:4;::::0;;::::1;59289:5;59282:12;::::0;;59233:69::o;27444:282::-;27509:4;27599:13;;27589:7;:23;27546:153;;;;-1:-1:-1;;27650:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27650:44:0;:49;;27444:282::o;25506:408::-;25595:13;25611:16;25619:7;25611;:16::i;:::-;25595:32;-1:-1:-1;49839:10:0;-1:-1:-1;;;;;25644:28:0;;;25640:175;;25692:44;25709:5;49839:10;27022:164;:::i;25692:44::-;25687:128;;25764:35;;-1:-1:-1;;;25764:35:0;;;;;;;;;;;25687:128;25827:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25827:35:0;-1:-1:-1;;;;;25827:35:0;;;;;;;;;25878:28;;25827:24;;25878:28;;;;;;;25584:330;25506:408;;:::o;29712:2825::-;29854:27;29884;29903:7;29884:18;:27::i;:::-;29854:57;;29969:4;-1:-1:-1;;;;;29928:45:0;29944:19;-1:-1:-1;;;;;29928:45:0;;29924:86;;29982:28;;-1:-1:-1;;;29982:28:0;;;;;;;;;;;29924:86;30024:27;28820:24;;;:15;:24;;;;;29048:26;;49839:10;28445:30;;;-1:-1:-1;;;;;28138:28:0;;28423:20;;;28420:56;30210:180;;30303:43;30320:4;49839:10;27022:164;:::i;30303:43::-;30298:92;;30355:35;;-1:-1:-1;;;30355:35:0;;;;;;;;;;;30298:92;-1:-1:-1;;;;;30407:16:0;;30403:52;;30432:23;;-1:-1:-1;;;30432:23:0;;;;;;;;;;;30403:52;30604:15;30601:160;;;30744:1;30723:19;30716:30;30601:160;-1:-1:-1;;;;;31141:24:0;;;;;;;:18;:24;;;;;;31139:26;;-1:-1:-1;;31139:26:0;;;31210:22;;;;;;;;;31208:24;;-1:-1:-1;31208:24:0;;;24364:11;24339:23;24335:41;24322:63;-1:-1:-1;;;24322:63:0;31503:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;31798:47:0;;31794:627;;31903:1;31893:11;;31871:19;32026:30;;;:17;:30;;;;;;32022:384;;32164:13;;32149:11;:28;32145:242;;32311:30;;;;:17;:30;;;;;:52;;;32145:242;31852:569;31794:627;32468:7;32464:2;-1:-1:-1;;;;;32449:27:0;32458:4;-1:-1:-1;;;;;32449:27:0;;;;;;;;;;;29843:2694;;;29712:2825;;;:::o;32633:193::-;32779:39;32796:4;32802:2;32806:7;32779:39;;;;;;;;;;;;:16;:39::i;22130:1275::-;22197:7;22232;22334:13;;22327:4;:20;22323:1015;;;22372:14;22389:23;;;:17;:23;;;;;;-1:-1:-1;;;22478:24:0;;22474:845;;23143:113;23150:11;23143:113;;-1:-1:-1;;;23221:6:0;23203:25;;;;:17;:25;;;;;;23143:113;;;23289:6;22130:1275;-1:-1:-1;;;22130:1275:0:o;22474:845::-;22349:989;22323:1015;23366:31;;-1:-1:-1;;;23366:31:0;;;;;;;;;;;58071:591;58134:10;58148:9;58134:23;58126:32;;;;;;58169:15;58215:3;58199:13;15607:12;;15394:7;15591:13;:28;;15333:323;58199:13;:19;58195:134;;;-1:-1:-1;58245:2:0;58195:134;;;58286:3;58269:13;15607:12;;15394:7;15591:13;:28;;15333:323;58269:13;:20;58265:64;;-1:-1:-1;58315:2:0;58265:64;58354:12;58344:23;;;;:9;:23;;;;;;58374:7;;58344:27;;58370:1;58344:27;:::i;:::-;:37;58340:78;;;58398:8;;;58340:78;58436:6;58446:1;58436:11;58428:20;;;;;;58464:4;;;;58459:73;;58493:21;58503:10;58493:9;:21::i;:::-;:26;58485:35;;;;;;58570:9;;15607:12;;15394:7;15591:13;:28;58550:17;;58566:1;58550:17;:::i;:::-;:29;58542:38;;;;;;58601:12;58591:23;;;;:9;:23;;;;;:28;;58618:1;;58591:23;:28;;58618:1;;58591:28;:::i;:::-;;;;-1:-1:-1;58630:24:0;;-1:-1:-1;58640:10:0;58652:1;43584:112;43661:27;43671:2;43675:8;43661:27;;;;;;;;;;;;:9;:27::i;26631:234::-;49839:10;26726:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26726:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26726:60:0;;;;;;;;;;26802:55;;7638:41:1;;;26726:49:0;;49839:10;26802:55;;7611:18:1;26802:55:0;;;;;;;26631:234;;:::o;33424:407::-;33599:31;33612:4;33618:2;33622:7;33599:12;:31::i;:::-;-1:-1:-1;;;;;33645:14:0;;;:19;33641:183;;33684:56;33715:4;33721:2;33725:7;33734:5;33684:30;:56::i;:::-;33679:145;;33768:40;;-1:-1:-1;;;33768:40:0;;;;;;;;;;;49959:1745;50024:17;50458:4;50451;50445:11;50441:22;50550:1;50544:4;50537:15;50625:4;50622:1;50618:12;50611:19;;;50707:1;50702:3;50695:14;50811:3;51050:5;51032:428;51098:1;51093:3;51089:11;51082:18;;51269:2;51263:4;51259:13;51255:2;51251:22;51246:3;51238:36;51363:2;51353:13;;;51420:25;;51438:5;;51420:25;51032:428;;;-1:-1:-1;51490:13:0;;;-1:-1:-1;;51605:14:0;;;51667:19;;;51605:14;49959:1745;-1:-1:-1;49959:1745:0:o;42811:689::-;42942:19;42948:2;42952:8;42942:5;:19::i;:::-;-1:-1:-1;;;;;43003:14:0;;;:19;42999:483;;43043:11;43057:13;43105:14;;;43138:233;43169:62;43208:1;43212:2;43216:7;;;;;;43225:5;43169:30;:62::i;:::-;43164:167;;43267:40;;-1:-1:-1;;;43267:40:0;;;;;;;;;;;43164:167;43366:3;43358:5;:11;43138:233;;43453:3;43436:13;;:20;43432:34;;43458:8;;;35915:716;36099:88;;-1:-1:-1;;;36099:88:0;;36078:4;;-1:-1:-1;;;;;36099:45:0;;;;;:88;;49839:10;;36166:4;;36172:7;;36181:5;;36099:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36099:88:0;;;;;;;;-1:-1:-1;;36099:88:0;;;;;;;;;;;;:::i;:::-;;;36095:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36382:13:0;;36378:235;;36428:40;;-1:-1:-1;;;36428:40:0;;;;;;;;;;;36378:235;36571:6;36565:13;36556:6;36552:2;36548:15;36541:38;36095:529;-1:-1:-1;;;;;;36258:64:0;-1:-1:-1;;;36258:64:0;;-1:-1:-1;36095:529:0;35915:716;;;;;;:::o;37093:2966::-;37166:20;37189:13;37217;37213:44;;37239:18;;-1:-1:-1;;;37239:18:0;;;;;;;;;;;37213:44;-1:-1:-1;;;;;37745:22:0;;;;;;:18;:22;;;;10814:2;37745:22;;;:71;;37783:32;37771:45;;37745:71;;;38059:31;;;:17;:31;;;;;-1:-1:-1;24795:15:0;;24769:24;24765:46;24364:11;24339:23;24335:41;24332:52;24322:63;;38059:173;;38294:23;;;;38059:31;;37745:22;;39059:25;37745:22;;38912:335;39573:1;39559:12;39555:20;39513:346;39614:3;39605:7;39602:16;39513:346;;39832:7;39822:8;39819:1;39792:25;39789:1;39786;39781:59;39667:1;39654:15;39513:346;;;-1:-1:-1;39892:13:0;39888:45;;39914:19;;-1:-1:-1;;;39914:19:0;;;;;;;;;;;39888:45;39950:13;:19;-1:-1:-1;59494: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:346::-;4143:6;4151;4204:2;4192:9;4183:7;4179:23;4175:32;4172:52;;;4220:1;4217;4210:12;4172:52;4259:9;4246:23;4309:6;4302:5;4298:18;4291:5;4288:29;4278:57;;4331:1;4328;4321:12;4427:180;4486:6;4539:2;4527:9;4518:7;4514:23;4510:32;4507:52;;;4555:1;4552;4545:12;4507:52;-1:-1:-1;4578:23:1;;4427:180;-1:-1:-1;4427:180:1:o;4612:257::-;4653:3;4691:5;4685:12;4718:6;4713:3;4706:19;4734:63;4790:6;4783:4;4778:3;4774:14;4767:4;4760:5;4756:16;4734:63;:::i;:::-;4851:2;4830:15;-1:-1:-1;;4826:29:1;4817:39;;;;4858:4;4813:50;;4612:257;-1:-1:-1;;4612:257:1:o;4874:185::-;4916:3;4954:5;4948:12;4969:52;5014:6;5009:3;5002:4;4995:5;4991:16;4969:52;:::i;:::-;5037:16;;;;;4874:185;-1:-1:-1;;4874:185:1:o;5182:1301::-;5459:3;5488:1;5521:6;5515:13;5551:3;5573:1;5601:9;5597:2;5593:18;5583:28;;5661:2;5650:9;5646:18;5683;5673:61;;5727:4;5719:6;5715:17;5705:27;;5673:61;5753:2;5801;5793:6;5790:14;5770:18;5767:38;5764:165;;;-1:-1:-1;;;5828:33:1;;5884:4;5881:1;5874:15;5914:4;5835:3;5902:17;5764:165;5945:18;5972:104;;;;6090:1;6085:320;;;;5938:467;;5972:104;-1:-1:-1;;6005:24:1;;5993:37;;6050:16;;;;-1:-1:-1;5972:104:1;;6085:320;8757:1;8750:14;;;8794:4;8781:18;;6180:1;6194:165;6208:6;6205:1;6202:13;6194:165;;;6286:14;;6273:11;;;6266:35;6329:16;;;;6223:10;;6194:165;;;6198:3;;6388:6;6383:3;6379:16;6372:23;;5938:467;;;;;;;6421:56;6446:30;6472:3;6464:6;6446:30;:::i;:::-;-1:-1:-1;;;5124:20:1;;5169:1;5160:11;;5064:113;6421:56;6414:63;5182:1301;-1:-1:-1;;;;;5182:1301:1:o;7005:488::-;-1:-1:-1;;;;;7274:15:1;;;7256:34;;7326:15;;7321:2;7306:18;;7299:43;7373:2;7358:18;;7351:34;;;7421:3;7416:2;7401:18;;7394:31;;;7199:4;;7442:45;;7467:19;;7459:6;7442:45;:::i;:::-;7434:53;7005:488;-1:-1:-1;;;;;;7005:488:1:o;7930:219::-;8079:2;8068:9;8061:21;8042:4;8099:44;8139:2;8128:9;8124:18;8116:6;8099:44;:::i;8810:224::-;8849:3;8877:6;8910:2;8907:1;8903:10;8940:2;8937:1;8933:10;8971:3;8967:2;8963:12;8958:3;8955:21;8952:47;;;8979:18;;:::i;:::-;9015:13;;8810:224;-1:-1:-1;;;;8810:224:1:o;9039:128::-;9079:3;9110:1;9106:6;9103:1;9100:13;9097:39;;;9116:18;;:::i;:::-;-1:-1:-1;9152:9:1;;9039:128::o;9172:168::-;9212:7;9278:1;9274;9270:6;9266:14;9263:1;9260:21;9255:1;9248:9;9241:17;9237:45;9234:71;;;9285:18;;:::i;:::-;-1:-1:-1;9325:9:1;;9172:168::o;9345:258::-;9417:1;9427:113;9441:6;9438:1;9435:13;9427:113;;;9517:11;;;9511:18;9498:11;;;9491:39;9463:2;9456:10;9427:113;;;9558:6;9555:1;9552:13;9549:48;;;-1:-1:-1;;9593:1:1;9575:16;;9568:27;9345:258::o;9608:380::-;9687:1;9683:12;;;;9730;;;9751:61;;9805:4;9797:6;9793:17;9783:27;;9751:61;9858:2;9850:6;9847:14;9827:18;9824:38;9821:161;;;9904:10;9899:3;9895:20;9892:1;9885:31;9939:4;9936:1;9929:15;9967:4;9964:1;9957:15;9821:161;;9608:380;;;:::o;9993:127::-;10054:10;10049:3;10045:20;10042:1;10035:31;10085:4;10082:1;10075:15;10109:4;10106:1;10099:15;10125:127;10186:10;10181:3;10177:20;10174:1;10167:31;10217:4;10214:1;10207:15;10241:4;10238:1;10231:15;10257:118;10343:5;10336:13;10329:21;10322:5;10319:32;10309:60;;10365:1;10362;10355:12;10380:131;-1:-1:-1;;;;;;10454:32:1;;10444:43;;10434:71;;10501:1;10498;10491:12

Swarm Source

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