ETH Price: $3,413.96 (+3.00%)

Token

Mini Robots (Mini Robots)
 

Overview

Max Total Supply

3,333 Mini Robots

Holders

2,557

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 Mini Robots
0xbBB33c63511070670bd480e04CB8295887ec5bC3
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:
NFT

Compiler Version
v0.8.14+commit.80d49f37

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-24
*/

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

// File operator-filter-registry/src/[email protected]


pragma solidity ^0.8.13;

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


// File operator-filter-registry/src/[email protected]


pragma solidity ^0.8.13;

/**
 * @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 {
        // 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) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view 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);
            }
        }
    }
}


// File operator-filter-registry/src/[email protected]


pragma solidity ^0.8.13;

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


// File erc721a/contracts/[email protected]


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File erc721a/contracts/[email protected]


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

pragma solidity ^0.8.4;

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

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


// File @openzeppelin/contracts/utils/[email protected]


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

pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/access/[email protected]


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]


// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}


// File contracts/NFT.sol


pragma solidity ^0.8.13;




contract NFT is ERC721A, DefaultOperatorFilterer, Ownable {
    using Address for address;

    string private _baseTokenURI;
    uint256 public maxSupply;
    uint256 public maxMint;
    uint256 public price;
    bool public mintable;

    mapping(address => uint256) public minted;

    constructor(
        string memory url,
        string memory name,
        string memory symbol,
        address _owner,
        uint256 _price
    ) ERC721A(name, symbol) {
        _baseTokenURI = url;
        maxSupply = 3333;
        maxMint = 10;
        price = _price;
        mintable = true;
        _transferOwnership(_owner);
    }

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

    function tokenURI(
        uint256 tokenId
    ) public view override returns (string memory) {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        string memory baseURI = _baseURI();
        return string(abi.encodePacked(baseURI, _toString(tokenId), ".json"));
    }

    function changeBaseURI(string memory baseURI) public onlyOwner {
        _baseTokenURI = baseURI;
    }

    function changeMintable(bool _mintable) public onlyOwner {
        mintable = _mintable;
    }

    function changePrice(uint256 _price) public onlyOwner {
        price = _price;
    }

    function changeMaxMint(uint256 _maxMint) public onlyOwner {
        maxMint = _maxMint;
    }

    function mint(uint256 num) public payable {
        uint256 amount = num * price;
        if (minted[msg.sender] == 0) {
            amount -= price;
        }
        require(mintable, "status err");
        require(msg.value == amount, "eth err");
        require(minted[msg.sender] + num <= maxMint, "num err");
        minted[msg.sender] += num;
        require(totalSupply() + num <= maxSupply, "num err");
        _safeMint(msg.sender, num);
    }

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

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

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

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

    function airdrop(
        address[] memory users,
        uint256[] memory nums
    ) public onlyOwner {
        require(users.length == nums.length);
        for (uint i = 0; i < users.length; i++) {
            uint256 num = nums[i];
            address user = users[i];
            require(totalSupply() + num <= maxSupply, "num err");
            _safeMint(user, num);
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"url","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_price","type":"uint256"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"uint256[]","name":"nums","type":"uint256[]"}],"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":"string","name":"baseURI","type":"string"}],"name":"changeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMint","type":"uint256"}],"name":"changeMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_mintable","type":"bool"}],"name":"changeMintable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"changePrice","outputs":[],"stateMutability":"nonpayable","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":"maxMint","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":"num","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162001f5d38038062001f5d8339810160408190526200003491620003e4565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001858581600290805190602001906200006592919062000271565b5080516200007b90600390602084019062000271565b50600160005550506daaeb6d7670e522a718067333cd4e3b15620001c85780156200011657604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620000f757600080fd5b505af11580156200010c573d6000803e3d6000fd5b50505050620001c8565b6001600160a01b03821615620001675760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000dc565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001ae57600080fd5b505af1158015620001c3573d6000803e3d6000fd5b505050505b50620001d69050336200021f565b8451620001eb90600990602088019062000271565b50610d05600a908155600b55600c819055600d805460ff1916600117905562000214826200021f565b5050505050620004df565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200027f90620004a3565b90600052602060002090601f016020900481019282620002a35760008555620002ee565b82601f10620002be57805160ff1916838001178555620002ee565b82800160010185558215620002ee579182015b82811115620002ee578251825591602001919060010190620002d1565b50620002fc92915062000300565b5090565b5b80821115620002fc576000815560010162000301565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200033f57600080fd5b81516001600160401b03808211156200035c576200035c62000317565b604051601f8301601f19908116603f0116810190828211818310171562000387576200038762000317565b81604052838152602092508683858801011115620003a457600080fd5b600091505b83821015620003c85785820183015181830184015290820190620003a9565b83821115620003da5760008385830101525b9695505050505050565b600080600080600060a08688031215620003fd57600080fd5b85516001600160401b03808211156200041557600080fd5b6200042389838a016200032d565b965060208801519150808211156200043a57600080fd5b6200044889838a016200032d565b955060408801519150808211156200045f57600080fd5b506200046e888289016200032d565b606088015190945090506001600160a01b03811681146200048e57600080fd5b80925050608086015190509295509295909350565b600181811c90821680620004b857607f821691505b602082108103620004d957634e487b7160e01b600052602260045260246000fd5b50919050565b611a6e80620004ef6000396000f3fe6080604052600436106101cd5760003560e01c806367243482116100f7578063a0712d6811610095578063c87b56dd11610064578063c87b56dd146104db578063d5abeb01146104fb578063e985e9c514610511578063f2fde38b1461055a57600080fd5b8063a0712d6814610475578063a22cb46514610488578063a2b40d19146104a8578063b88d4fde146104c857600080fd5b80637501f741116100d15780637501f741146104165780638da5cb5b1461042c57806395d89b411461044a578063a035b1fe1461045f57600080fd5b806367243482146103c157806370a08231146103e1578063715018a61461040157600080fd5b806323b872dd1161016f57806342842e0e1161013e57806342842e0e146103545780634779b82e146103675780634bf365df146103875780636352211e146103a157600080fd5b806323b872dd146102ea57806339a0c6f9146102fd5780633ccfd60b1461031d57806341f434341461033257600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd146102765780631e7269c51461029d57806320c63e3b146102ca57600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed36600461140e565b61057a565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105cc565b6040516101fe9190611483565b34801561023557600080fd5b50610249610244366004611496565b61065e565b6040516001600160a01b0390911681526020016101fe565b61027461026f3660046114cb565b6106a2565b005b34801561028257600080fd5b5060015460005403600019015b6040519081526020016101fe565b3480156102a957600080fd5b5061028f6102b83660046114f5565b600e6020526000908152604090205481565b3480156102d657600080fd5b506102746102e5366004611496565b6106bb565b6102746102f8366004611510565b6106c8565b34801561030957600080fd5b506102746103183660046115eb565b6106f3565b34801561032957600080fd5b50610274610712565b34801561033e57600080fd5b506102496daaeb6d7670e522a718067333cd4e81565b610274610362366004611510565b610749565b34801561037357600080fd5b50610274610382366004611642565b61076e565b34801561039357600080fd5b50600d546101f29060ff1681565b3480156103ad57600080fd5b506102496103bc366004611496565b610789565b3480156103cd57600080fd5b506102746103dc3660046116ee565b610794565b3480156103ed57600080fd5b5061028f6103fc3660046114f5565b610859565b34801561040d57600080fd5b506102746108a8565b34801561042257600080fd5b5061028f600b5481565b34801561043857600080fd5b506008546001600160a01b0316610249565b34801561045657600080fd5b5061021c6108bc565b34801561046b57600080fd5b5061028f600c5481565b610274610483366004611496565b6108cb565b34801561049457600080fd5b506102746104a33660046117ae565b610a1e565b3480156104b457600080fd5b506102746104c3366004611496565b610a32565b6102746104d63660046117e5565b610a3f565b3480156104e757600080fd5b5061021c6104f6366004611496565b610a6c565b34801561050757600080fd5b5061028f600a5481565b34801561051d57600080fd5b506101f261052c366004611861565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561056657600080fd5b506102746105753660046114f5565b610b19565b60006301ffc9a760e01b6001600160e01b0319831614806105ab57506380ac58cd60e01b6001600160e01b03198316145b806105c65750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105db90611894565b80601f016020809104026020016040519081016040528092919081815260200182805461060790611894565b80156106545780601f1061062957610100808354040283529160200191610654565b820191906000526020600020905b81548152906001019060200180831161063757829003601f168201915b5050505050905090565b600061066982610b8f565b610686576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816106ac81610bc4565b6106b68383610c7d565b505050565b6106c3610d1d565b600b55565b826001600160a01b03811633146106e2576106e233610bc4565b6106ed848484610d77565b50505050565b6106fb610d1d565b805161070e90600990602084019061135f565b5050565b61071a610d1d565b60405133904780156108fc02916000818181858888f19350505050158015610746573d6000803e3d6000fd5b50565b826001600160a01b03811633146107635761076333610bc4565b6106ed848484610f0f565b610776610d1d565b600d805460ff1916911515919091179055565b60006105c682610f2a565b61079c610d1d565b80518251146107aa57600080fd5b60005b82518110156106b65760008282815181106107ca576107ca6118ce565b6020026020010151905060008483815181106107e8576107e86118ce565b60200260200101519050600a54826108096001546000546000199190030190565b61081391906118fa565b111561083a5760405162461bcd60e51b815260040161083190611912565b60405180910390fd5b6108448183610fa0565b5050808061085190611933565b9150506107ad565b60006001600160a01b038216610882576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6108b0610d1d565b6108ba6000610fba565b565b6060600380546105db90611894565b6000600c54826108db919061194c565b336000908152600e60205260408120549192500361090357600c54610900908261196b565b90505b600d5460ff166109425760405162461bcd60e51b815260206004820152600a60248201526939ba30ba3ab99032b93960b11b6044820152606401610831565b80341461097b5760405162461bcd60e51b815260206004820152600760248201526632ba341032b93960c91b6044820152606401610831565b600b54336000908152600e60205260409020546109999084906118fa565b11156109b75760405162461bcd60e51b815260040161083190611912565b336000908152600e6020526040812080548492906109d69084906118fa565b9091555050600a5460015460005484919003600019016109f691906118fa565b1115610a145760405162461bcd60e51b815260040161083190611912565b61070e3383610fa0565b81610a2881610bc4565b6106b6838361100c565b610a3a610d1d565b600c55565b836001600160a01b0381163314610a5957610a5933610bc4565b610a6585858585611078565b5050505050565b6060610a7782610b8f565b610adb5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610831565b6000610ae56110bc565b905080610af1846110cb565b604051602001610b02929190611982565b604051602081830303815290604052915050919050565b610b21610d1d565b6001600160a01b038116610b865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610831565b61074681610fba565b600081600111158015610ba3575060005482105b80156105c6575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b1561074657604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610c31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5591906119c1565b61074657604051633b79c77360e21b81526001600160a01b0382166004820152602401610831565b6000610c8882610789565b9050336001600160a01b03821614610cc157610ca4813361052c565b610cc1576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146108ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610831565b6000610d8282610f2a565b9050836001600160a01b0316816001600160a01b031614610db55760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610e0257610de5863361052c565b610e0257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610e2957604051633a954ecd60e21b815260040160405180910390fd5b8015610e3457600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610ec657600184016000818152600460205260408120549003610ec4576000548114610ec45760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6106b683838360405180602001604052806000815250610a3f565b60008180600111610f8757600054811015610f875760008181526004602052604081205490600160e01b82169003610f85575b80600003610f7e575060001901600081815260046020526040902054610f5d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b61070e82826040518060200160405280600081525061110f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110838484846106c8565b6001600160a01b0383163b156106ed5761109f84848484611175565b6106ed576040516368d2bf6b60e11b815260040160405180910390fd5b6060600980546105db90611894565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806110e55750819003601f19909101908152919050565b6111198383611261565b6001600160a01b0383163b156106b6576000548281035b6111436000868380600101945086611175565b611160576040516368d2bf6b60e11b815260040160405180910390fd5b818110611130578160005414610a6557600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111aa9033908990889088906004016119de565b6020604051808303816000875af19250505080156111e5575060408051601f3d908101601f191682019092526111e291810190611a1b565b60015b611243573d808015611213576040519150601f19603f3d011682016040523d82523d6000602084013e611218565b606091505b50805160000361123b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008054908290036112865760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461133557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016112fd565b508160000361135657604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461136b90611894565b90600052602060002090601f01602090048101928261138d57600085556113d3565b82601f106113a657805160ff19168380011785556113d3565b828001600101855582156113d3579182015b828111156113d35782518255916020019190600101906113b8565b506113df9291506113e3565b5090565b5b808211156113df57600081556001016113e4565b6001600160e01b03198116811461074657600080fd5b60006020828403121561142057600080fd5b8135610f7e816113f8565b60005b8381101561144657818101518382015260200161142e565b838111156106ed5750506000910152565b6000815180845261146f81602086016020860161142b565b601f01601f19169290920160200192915050565b602081526000610f7e6020830184611457565b6000602082840312156114a857600080fd5b5035919050565b80356001600160a01b03811681146114c657600080fd5b919050565b600080604083850312156114de57600080fd5b6114e7836114af565b946020939093013593505050565b60006020828403121561150757600080fd5b610f7e826114af565b60008060006060848603121561152557600080fd5b61152e846114af565b925061153c602085016114af565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561158b5761158b61154c565b604052919050565b600067ffffffffffffffff8311156115ad576115ad61154c565b6115c0601f8401601f1916602001611562565b90508281528383830111156115d457600080fd5b828260208301376000602084830101529392505050565b6000602082840312156115fd57600080fd5b813567ffffffffffffffff81111561161457600080fd5b8201601f8101841361162557600080fd5b61125984823560208401611593565b801515811461074657600080fd5b60006020828403121561165457600080fd5b8135610f7e81611634565b600067ffffffffffffffff8211156116795761167961154c565b5060051b60200190565b600082601f83011261169457600080fd5b813560206116a96116a48361165f565b611562565b82815260059290921b840181019181810190868411156116c857600080fd5b8286015b848110156116e357803583529183019183016116cc565b509695505050505050565b6000806040838503121561170157600080fd5b823567ffffffffffffffff8082111561171957600080fd5b818501915085601f83011261172d57600080fd5b8135602061173d6116a48361165f565b82815260059290921b8401810191818101908984111561175c57600080fd5b948201945b8386101561178157611772866114af565b82529482019490820190611761565b9650508601359250508082111561179757600080fd5b506117a485828601611683565b9150509250929050565b600080604083850312156117c157600080fd5b6117ca836114af565b915060208301356117da81611634565b809150509250929050565b600080600080608085870312156117fb57600080fd5b611804856114af565b9350611812602086016114af565b925060408501359150606085013567ffffffffffffffff81111561183557600080fd5b8501601f8101871361184657600080fd5b61185587823560208401611593565b91505092959194509250565b6000806040838503121561187457600080fd5b61187d836114af565b915061188b602084016114af565b90509250929050565b600181811c908216806118a857607f821691505b6020821081036118c857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561190d5761190d6118e4565b500190565b602080825260079082015266373ab69032b93960c91b604082015260600190565b600060018201611945576119456118e4565b5060010190565b6000816000190483118215151615611966576119666118e4565b500290565b60008282101561197d5761197d6118e4565b500390565b6000835161199481846020880161142b565b8351908301906119a881836020880161142b565b64173539b7b760d91b9101908152600501949350505050565b6000602082840312156119d357600080fd5b8151610f7e81611634565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a1190830184611457565b9695505050505050565b600060208284031215611a2d57600080fd5b8151610f7e816113f856fea2646970667358221220a9d1995d16599302c259ca3879bd301c8ae93885cf049dce67df255ec43bca9c64736f6c634300080e003300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000008bc2823ed5af9f97778b7729775db0f4a47ab30f00000000000000000000000000000000000000000000000000071afd498d00000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696234367933353676736266346266737879746c786768726a7273696a793434793377646e6d64736135356d716b726a7a337a706d2f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4d696e6920526f626f7473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4d696e6920526f626f7473000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c806367243482116100f7578063a0712d6811610095578063c87b56dd11610064578063c87b56dd146104db578063d5abeb01146104fb578063e985e9c514610511578063f2fde38b1461055a57600080fd5b8063a0712d6814610475578063a22cb46514610488578063a2b40d19146104a8578063b88d4fde146104c857600080fd5b80637501f741116100d15780637501f741146104165780638da5cb5b1461042c57806395d89b411461044a578063a035b1fe1461045f57600080fd5b806367243482146103c157806370a08231146103e1578063715018a61461040157600080fd5b806323b872dd1161016f57806342842e0e1161013e57806342842e0e146103545780634779b82e146103675780634bf365df146103875780636352211e146103a157600080fd5b806323b872dd146102ea57806339a0c6f9146102fd5780633ccfd60b1461031d57806341f434341461033257600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd146102765780631e7269c51461029d57806320c63e3b146102ca57600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed36600461140e565b61057a565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105cc565b6040516101fe9190611483565b34801561023557600080fd5b50610249610244366004611496565b61065e565b6040516001600160a01b0390911681526020016101fe565b61027461026f3660046114cb565b6106a2565b005b34801561028257600080fd5b5060015460005403600019015b6040519081526020016101fe565b3480156102a957600080fd5b5061028f6102b83660046114f5565b600e6020526000908152604090205481565b3480156102d657600080fd5b506102746102e5366004611496565b6106bb565b6102746102f8366004611510565b6106c8565b34801561030957600080fd5b506102746103183660046115eb565b6106f3565b34801561032957600080fd5b50610274610712565b34801561033e57600080fd5b506102496daaeb6d7670e522a718067333cd4e81565b610274610362366004611510565b610749565b34801561037357600080fd5b50610274610382366004611642565b61076e565b34801561039357600080fd5b50600d546101f29060ff1681565b3480156103ad57600080fd5b506102496103bc366004611496565b610789565b3480156103cd57600080fd5b506102746103dc3660046116ee565b610794565b3480156103ed57600080fd5b5061028f6103fc3660046114f5565b610859565b34801561040d57600080fd5b506102746108a8565b34801561042257600080fd5b5061028f600b5481565b34801561043857600080fd5b506008546001600160a01b0316610249565b34801561045657600080fd5b5061021c6108bc565b34801561046b57600080fd5b5061028f600c5481565b610274610483366004611496565b6108cb565b34801561049457600080fd5b506102746104a33660046117ae565b610a1e565b3480156104b457600080fd5b506102746104c3366004611496565b610a32565b6102746104d63660046117e5565b610a3f565b3480156104e757600080fd5b5061021c6104f6366004611496565b610a6c565b34801561050757600080fd5b5061028f600a5481565b34801561051d57600080fd5b506101f261052c366004611861565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561056657600080fd5b506102746105753660046114f5565b610b19565b60006301ffc9a760e01b6001600160e01b0319831614806105ab57506380ac58cd60e01b6001600160e01b03198316145b806105c65750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105db90611894565b80601f016020809104026020016040519081016040528092919081815260200182805461060790611894565b80156106545780601f1061062957610100808354040283529160200191610654565b820191906000526020600020905b81548152906001019060200180831161063757829003601f168201915b5050505050905090565b600061066982610b8f565b610686576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816106ac81610bc4565b6106b68383610c7d565b505050565b6106c3610d1d565b600b55565b826001600160a01b03811633146106e2576106e233610bc4565b6106ed848484610d77565b50505050565b6106fb610d1d565b805161070e90600990602084019061135f565b5050565b61071a610d1d565b60405133904780156108fc02916000818181858888f19350505050158015610746573d6000803e3d6000fd5b50565b826001600160a01b03811633146107635761076333610bc4565b6106ed848484610f0f565b610776610d1d565b600d805460ff1916911515919091179055565b60006105c682610f2a565b61079c610d1d565b80518251146107aa57600080fd5b60005b82518110156106b65760008282815181106107ca576107ca6118ce565b6020026020010151905060008483815181106107e8576107e86118ce565b60200260200101519050600a54826108096001546000546000199190030190565b61081391906118fa565b111561083a5760405162461bcd60e51b815260040161083190611912565b60405180910390fd5b6108448183610fa0565b5050808061085190611933565b9150506107ad565b60006001600160a01b038216610882576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6108b0610d1d565b6108ba6000610fba565b565b6060600380546105db90611894565b6000600c54826108db919061194c565b336000908152600e60205260408120549192500361090357600c54610900908261196b565b90505b600d5460ff166109425760405162461bcd60e51b815260206004820152600a60248201526939ba30ba3ab99032b93960b11b6044820152606401610831565b80341461097b5760405162461bcd60e51b815260206004820152600760248201526632ba341032b93960c91b6044820152606401610831565b600b54336000908152600e60205260409020546109999084906118fa565b11156109b75760405162461bcd60e51b815260040161083190611912565b336000908152600e6020526040812080548492906109d69084906118fa565b9091555050600a5460015460005484919003600019016109f691906118fa565b1115610a145760405162461bcd60e51b815260040161083190611912565b61070e3383610fa0565b81610a2881610bc4565b6106b6838361100c565b610a3a610d1d565b600c55565b836001600160a01b0381163314610a5957610a5933610bc4565b610a6585858585611078565b5050505050565b6060610a7782610b8f565b610adb5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610831565b6000610ae56110bc565b905080610af1846110cb565b604051602001610b02929190611982565b604051602081830303815290604052915050919050565b610b21610d1d565b6001600160a01b038116610b865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610831565b61074681610fba565b600081600111158015610ba3575060005482105b80156105c6575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b1561074657604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610c31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5591906119c1565b61074657604051633b79c77360e21b81526001600160a01b0382166004820152602401610831565b6000610c8882610789565b9050336001600160a01b03821614610cc157610ca4813361052c565b610cc1576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146108ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610831565b6000610d8282610f2a565b9050836001600160a01b0316816001600160a01b031614610db55760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610e0257610de5863361052c565b610e0257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610e2957604051633a954ecd60e21b815260040160405180910390fd5b8015610e3457600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610ec657600184016000818152600460205260408120549003610ec4576000548114610ec45760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6106b683838360405180602001604052806000815250610a3f565b60008180600111610f8757600054811015610f875760008181526004602052604081205490600160e01b82169003610f85575b80600003610f7e575060001901600081815260046020526040902054610f5d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b61070e82826040518060200160405280600081525061110f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110838484846106c8565b6001600160a01b0383163b156106ed5761109f84848484611175565b6106ed576040516368d2bf6b60e11b815260040160405180910390fd5b6060600980546105db90611894565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806110e55750819003601f19909101908152919050565b6111198383611261565b6001600160a01b0383163b156106b6576000548281035b6111436000868380600101945086611175565b611160576040516368d2bf6b60e11b815260040160405180910390fd5b818110611130578160005414610a6557600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111aa9033908990889088906004016119de565b6020604051808303816000875af19250505080156111e5575060408051601f3d908101601f191682019092526111e291810190611a1b565b60015b611243573d808015611213576040519150601f19603f3d011682016040523d82523d6000602084013e611218565b606091505b50805160000361123b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008054908290036112865760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461133557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016112fd565b508160000361135657604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461136b90611894565b90600052602060002090601f01602090048101928261138d57600085556113d3565b82601f106113a657805160ff19168380011785556113d3565b828001600101855582156113d3579182015b828111156113d35782518255916020019190600101906113b8565b506113df9291506113e3565b5090565b5b808211156113df57600081556001016113e4565b6001600160e01b03198116811461074657600080fd5b60006020828403121561142057600080fd5b8135610f7e816113f8565b60005b8381101561144657818101518382015260200161142e565b838111156106ed5750506000910152565b6000815180845261146f81602086016020860161142b565b601f01601f19169290920160200192915050565b602081526000610f7e6020830184611457565b6000602082840312156114a857600080fd5b5035919050565b80356001600160a01b03811681146114c657600080fd5b919050565b600080604083850312156114de57600080fd5b6114e7836114af565b946020939093013593505050565b60006020828403121561150757600080fd5b610f7e826114af565b60008060006060848603121561152557600080fd5b61152e846114af565b925061153c602085016114af565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561158b5761158b61154c565b604052919050565b600067ffffffffffffffff8311156115ad576115ad61154c565b6115c0601f8401601f1916602001611562565b90508281528383830111156115d457600080fd5b828260208301376000602084830101529392505050565b6000602082840312156115fd57600080fd5b813567ffffffffffffffff81111561161457600080fd5b8201601f8101841361162557600080fd5b61125984823560208401611593565b801515811461074657600080fd5b60006020828403121561165457600080fd5b8135610f7e81611634565b600067ffffffffffffffff8211156116795761167961154c565b5060051b60200190565b600082601f83011261169457600080fd5b813560206116a96116a48361165f565b611562565b82815260059290921b840181019181810190868411156116c857600080fd5b8286015b848110156116e357803583529183019183016116cc565b509695505050505050565b6000806040838503121561170157600080fd5b823567ffffffffffffffff8082111561171957600080fd5b818501915085601f83011261172d57600080fd5b8135602061173d6116a48361165f565b82815260059290921b8401810191818101908984111561175c57600080fd5b948201945b8386101561178157611772866114af565b82529482019490820190611761565b9650508601359250508082111561179757600080fd5b506117a485828601611683565b9150509250929050565b600080604083850312156117c157600080fd5b6117ca836114af565b915060208301356117da81611634565b809150509250929050565b600080600080608085870312156117fb57600080fd5b611804856114af565b9350611812602086016114af565b925060408501359150606085013567ffffffffffffffff81111561183557600080fd5b8501601f8101871361184657600080fd5b61185587823560208401611593565b91505092959194509250565b6000806040838503121561187457600080fd5b61187d836114af565b915061188b602084016114af565b90509250929050565b600181811c908216806118a857607f821691505b6020821081036118c857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561190d5761190d6118e4565b500190565b602080825260079082015266373ab69032b93960c91b604082015260600190565b600060018201611945576119456118e4565b5060010190565b6000816000190483118215151615611966576119666118e4565b500290565b60008282101561197d5761197d6118e4565b500390565b6000835161199481846020880161142b565b8351908301906119a881836020880161142b565b64173539b7b760d91b9101908152600501949350505050565b6000602082840312156119d357600080fd5b8151610f7e81611634565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a1190830184611457565b9695505050505050565b600060208284031215611a2d57600080fd5b8151610f7e816113f856fea2646970667358221220a9d1995d16599302c259ca3879bd301c8ae93885cf049dce67df255ec43bca9c64736f6c634300080e0033

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

00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000008bc2823ed5af9f97778b7729775db0f4a47ab30f00000000000000000000000000000000000000000000000000071afd498d00000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696234367933353676736266346266737879746c786768726a7273696a793434793377646e6d64736135356d716b726a7a337a706d2f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4d696e6920526f626f7473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4d696e6920526f626f7473000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : url (string): ipfs://bafybeib46y356vsbf4bfsxytlxghrjrsijy44y3wdnmdsa55mqkrjz3zpm/
Arg [1] : name (string): Mini Robots
Arg [2] : symbol (string): Mini Robots
Arg [3] : _owner (address): 0x8bC2823Ed5Af9F97778B7729775db0f4a47AB30F
Arg [4] : _price (uint256): 2000000000000000

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 0000000000000000000000008bc2823ed5af9f97778b7729775db0f4a47ab30f
Arg [4] : 00000000000000000000000000000000000000000000000000071afd498d0000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [6] : 697066733a2f2f62616679626569623436793335367673626634626673787974
Arg [7] : 6c786768726a7273696a793434793377646e6d64736135356d716b726a7a337a
Arg [8] : 706d2f0000000000000000000000000000000000000000000000000000000000
Arg [9] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [10] : 4d696e6920526f626f7473000000000000000000000000000000000000000000
Arg [11] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [12] : 4d696e6920526f626f7473000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

70067:3742:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23926:639;;;;;;;;;;-1:-1:-1;23926:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;23926:639:0;;;;;;;;24828:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31319:218::-;;;;;;;;;;-1:-1:-1;31319:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;31319:218:0;1528:203:1;72403:190:0;;;;;;:::i;:::-;;:::i;:::-;;20579:323;;;;;;;;;;-1:-1:-1;72386:1:0;20853:12;20640:7;20837:13;:28;-1:-1:-1;;20837:46:0;20579:323;;;2319:25:1;;;2307:2;2292:18;20579:323:0;2173:177:1;70317:41:0;;;;;;;;;;-1:-1:-1;70317:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;71517:95;;;;;;;;;;-1:-1:-1;71517:95:0;;;;;:::i;:::-;;:::i;72601:205::-;;;;;;:::i;:::-;;:::i;71205:105::-;;;;;;;;;;-1:-1:-1;71205:105:0;;;;;:::i;:::-;;:::i;73290:109::-;;;;;;;;;;;;;:::i;3004:143::-;;;;;;;;;;;;3104:42;3004:143;;72814:213;;;;;;:::i;:::-;;:::i;71318:96::-;;;;;;;;;;-1:-1:-1;71318:96:0;;;;;:::i;:::-;;:::i;70288:20::-;;;;;;;;;;-1:-1:-1;70288:20:0;;;;;;;;26221:152;;;;;;;;;;-1:-1:-1;26221:152:0;;;;;:::i;:::-;;:::i;73407:399::-;;;;;;;;;;-1:-1:-1;73407:399:0;;;;;:::i;:::-;;:::i;21763:233::-;;;;;;;;;;-1:-1:-1;21763:233:0;;;;;:::i;:::-;;:::i;59747:103::-;;;;;;;;;;;;;:::i;70232:22::-;;;;;;;;;;;;;;;;59099:87;;;;;;;;;;-1:-1:-1;59172:6:0;;-1:-1:-1;;;;;59172:6:0;59099:87;;25004:104;;;;;;;;;;;;;:::i;70261:20::-;;;;;;;;;;;;;;;;71620:464;;;;;;:::i;:::-;;:::i;72092:201::-;;;;;;;;;;-1:-1:-1;72092:201:0;;;;;:::i;:::-;;:::i;71422:87::-;;;;;;;;;;-1:-1:-1;71422:87:0;;;;;:::i;:::-;;:::i;73035:247::-;;;;;;:::i;:::-;;:::i;70844:353::-;;;;;;;;;;-1:-1:-1;70844:353:0;;;;;:::i;:::-;;:::i;70201:24::-;;;;;;;;;;;;;;;;32268:164;;;;;;;;;;-1:-1:-1;32268:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;32389:25:0;;;32365:4;32389:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32268:164;60005:201;;;;;;;;;;-1:-1:-1;60005:201:0;;;;;:::i;:::-;;:::i;23926:639::-;24011:4;-1:-1:-1;;;;;;;;;24335:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;24412:25:0;;;24335:102;:179;;;-1:-1:-1;;;;;;;;;;24489:25:0;;;24335:179;24315:199;23926:639;-1:-1:-1;;23926:639:0:o;24828:100::-;24882:13;24915:5;24908:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24828:100;:::o;31319:218::-;31395:7;31420:16;31428:7;31420;:16::i;:::-;31415:64;;31445:34;;-1:-1:-1;;;31445:34:0;;;;;;;;;;;31415:64;-1:-1:-1;31499:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;31499:30:0;;31319:218::o;72403:190::-;72532:8;4525:30;4546:8;4525:20;:30::i;:::-;72553:32:::1;72567:8;72577:7;72553:13;:32::i;:::-;72403:190:::0;;;:::o;71517:95::-;58985:13;:11;:13::i;:::-;71586:7:::1;:18:::0;71517:95::o;72601:205::-;72744:4;-1:-1:-1;;;;;4345:18:0;;4353:10;4345:18;4341:83;;4380:32;4401:10;4380:20;:32::i;:::-;72761:37:::1;72780:4;72786:2;72790:7;72761:18;:37::i;:::-;72601:205:::0;;;;:::o;71205:105::-;58985:13;:11;:13::i;:::-;71279:23;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;:::-;;71205:105:::0;:::o;73290:109::-;58985:13;:11;:13::i;:::-;73340:51:::1;::::0;73348:10:::1;::::0;73369:21:::1;73340:51:::0;::::1;;;::::0;::::1;::::0;;;73369:21;73348:10;73340:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;73290:109::o:0;72814:213::-;72961:4;-1:-1:-1;;;;;4345:18:0;;4353:10;4345:18;4341:83;;4380:32;4401:10;4380:20;:32::i;:::-;72978:41:::1;73001:4;73007:2;73011:7;72978:22;:41::i;71318:96::-:0;58985:13;:11;:13::i;:::-;71386:8:::1;:20:::0;;-1:-1:-1;;71386:20:0::1;::::0;::::1;;::::0;;;::::1;::::0;;71318:96::o;26221:152::-;26293:7;26336:27;26355:7;26336:18;:27::i;73407:399::-;58985:13;:11;:13::i;:::-;73548:4:::1;:11;73532:5;:12;:27;73524:36;;;::::0;::::1;;73576:6;73571:228;73592:5;:12;73588:1;:16;73571:228;;;73626:11;73640:4;73645:1;73640:7;;;;;;;;:::i;:::-;;;;;;;73626:21;;73662:12;73677:5;73683:1;73677:8;;;;;;;;:::i;:::-;;;;;;;73662:23;;73731:9;;73724:3;73708:13;72386:1:::0;20853:12;20640:7;20837:13;-1:-1:-1;;20837:28:0;;;:46;;20579:323;73708:13:::1;:19;;;;:::i;:::-;:32;;73700:52;;;;-1:-1:-1::0;;;73700:52:0::1;;;;;;;:::i;:::-;;;;;;;;;73767:20;73777:4;73783:3;73767:9;:20::i;:::-;73611:188;;73606:3;;;;;:::i;:::-;;;;73571:228;;21763:233:::0;21835:7;-1:-1:-1;;;;;21859:19:0;;21855:60;;21887:28;;-1:-1:-1;;;21887:28:0;;;;;;;;;;;21855:60;-1:-1:-1;;;;;;21933:25:0;;;;;:18;:25;;;;;;15922:13;21933:55;;21763:233::o;59747:103::-;58985:13;:11;:13::i;:::-;59812:30:::1;59839:1;59812:18;:30::i;:::-;59747:103::o:0;25004:104::-;25060:13;25093:7;25086:14;;;;;:::i;71620:464::-;71673:14;71696:5;;71690:3;:11;;;;:::i;:::-;71723:10;71716:18;;;;:6;:18;;;;;;71673:28;;-1:-1:-1;71716:23:0;71712:71;;71766:5;;71756:15;;;;:::i;:::-;;;71712:71;71801:8;;;;71793:31;;;;-1:-1:-1;;;71793:31:0;;9792:2:1;71793:31:0;;;9774:21:1;9831:2;9811:18;;;9804:30;-1:-1:-1;;;9850:18:1;;;9843:40;9900:18;;71793:31:0;9590:334:1;71793:31:0;71856:6;71843:9;:19;71835:39;;;;-1:-1:-1;;;71835:39:0;;10131:2:1;71835:39:0;;;10113:21:1;10170:1;10150:18;;;10143:29;-1:-1:-1;;;10188:18:1;;;10181:37;10235:18;;71835:39:0;9929:330:1;71835:39:0;71921:7;;71900:10;71893:18;;;;:6;:18;;;;;;:24;;71914:3;;71893:24;:::i;:::-;:35;;71885:55;;;;-1:-1:-1;;;71885:55:0;;;;;;;:::i;:::-;71958:10;71951:18;;;;:6;:18;;;;;:25;;71973:3;;71951:18;:25;;71973:3;;71951:25;:::i;:::-;;;;-1:-1:-1;;72018:9:0;;72386:1;20853:12;20640:7;20837:13;72011:3;;20837:28;;-1:-1:-1;;20837:46:0;71995:19;;;;:::i;:::-;:32;;71987:52;;;;-1:-1:-1;;;71987:52:0;;;;;;;:::i;:::-;72050:26;72060:10;72072:3;72050:9;:26::i;72092:201::-;72221:8;4525:30;4546:8;4525:20;:30::i;:::-;72242:43:::1;72266:8;72276;72242:23;:43::i;71422:87::-:0;58985:13;:11;:13::i;:::-;71487:5:::1;:14:::0;71422:87::o;73035:247::-;73210:4;-1:-1:-1;;;;;4345:18:0;;4353:10;4345:18;4341:83;;4380:32;4401:10;4380:20;:32::i;:::-;73227:47:::1;73250:4;73256:2;73260:7;73269:4;73227:22;:47::i;:::-;73035:247:::0;;;;;:::o;70844:353::-;70925:13;70973:16;70981:7;70973;:16::i;:::-;70951:113;;;;-1:-1:-1;;;70951:113:0;;10466:2:1;70951:113:0;;;10448:21:1;10505:2;10485:18;;;10478:30;10544:34;10524:18;;;10517:62;-1:-1:-1;;;10595:18:1;;;10588:45;10650:19;;70951:113:0;10264:411:1;70951:113:0;71075:21;71099:10;:8;:10::i;:::-;71075:34;;71151:7;71160:18;71170:7;71160:9;:18::i;:::-;71134:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;71120:69;;;70844:353;;;:::o;60005:201::-;58985:13;:11;:13::i;:::-;-1:-1:-1;;;;;60094:22:0;::::1;60086:73;;;::::0;-1:-1:-1;;;60086:73:0;;11524:2:1;60086:73:0::1;::::0;::::1;11506:21:1::0;11563:2;11543:18;;;11536:30;11602:34;11582:18;;;11575:62;-1:-1:-1;;;11653:18:1;;;11646:36;11699:19;;60086:73:0::1;11322:402:1::0;60086:73:0::1;60170:28;60189:8;60170:18;:28::i;32690:282::-:0;32755:4;32811:7;72386:1;32792:26;;:66;;;;;32845:13;;32835:7;:23;32792:66;:153;;;;-1:-1:-1;;32896:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;32896:44:0;:49;;32690:282::o;4583:419::-;3104:42;4774:45;:49;4770:225;;4845:67;;-1:-1:-1;;;4845:67:0;;4896:4;4845:67;;;11941:34:1;-1:-1:-1;;;;;12011:15:1;;11991:18;;;11984:43;3104:42:0;;4845;;11876:18:1;;4845:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4840:144;;4940:28;;-1:-1:-1;;;4940:28:0;;-1:-1:-1;;;;;1692:32:1;;4940:28:0;;;1674:51:1;1647:18;;4940:28:0;1528:203:1;30752:408:0;30841:13;30857:16;30865:7;30857;:16::i;:::-;30841:32;-1:-1:-1;55085:10:0;-1:-1:-1;;;;;30890:28:0;;;30886:175;;30938:44;30955:5;55085:10;32268:164;:::i;30938:44::-;30933:128;;31010:35;;-1:-1:-1;;;31010:35:0;;;;;;;;;;;30933:128;31073:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;31073:35:0;-1:-1:-1;;;;;31073:35:0;;;;;;;;;31124:28;;31073:24;;31124:28;;;;;;;30830:330;30752:408;;:::o;59264:132::-;59172:6;;-1:-1:-1;;;;;59172:6:0;55085:10;59328:23;59320:68;;;;-1:-1:-1;;;59320:68:0;;12490:2:1;59320:68:0;;;12472:21:1;;;12509:18;;;12502:30;12568:34;12548:18;;;12541:62;12620:18;;59320:68:0;12288:356:1;34958:2825:0;35100:27;35130;35149:7;35130:18;:27::i;:::-;35100:57;;35215:4;-1:-1:-1;;;;;35174:45:0;35190:19;-1:-1:-1;;;;;35174:45:0;;35170:86;;35228:28;;-1:-1:-1;;;35228:28:0;;;;;;;;;;;35170:86;35270:27;34066:24;;;:15;:24;;;;;34294:26;;55085:10;33691:30;;;-1:-1:-1;;;;;33384:28:0;;33669:20;;;33666:56;35456:180;;35549:43;35566:4;55085:10;32268:164;:::i;35549:43::-;35544:92;;35601:35;;-1:-1:-1;;;35601:35:0;;;;;;;;;;;35544:92;-1:-1:-1;;;;;35653:16:0;;35649:52;;35678:23;;-1:-1:-1;;;35678:23:0;;;;;;;;;;;35649:52;35850:15;35847:160;;;35990:1;35969:19;35962:30;35847:160;-1:-1:-1;;;;;36387:24:0;;;;;;;:18;:24;;;;;;36385:26;;-1:-1:-1;;36385:26:0;;;36456:22;;;;;;;;;36454:24;;-1:-1:-1;36454:24:0;;;29610:11;29585:23;29581:41;29568:63;-1:-1:-1;;;29568:63:0;36749:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;37044:47:0;;:52;;37040:627;;37149:1;37139:11;;37117:19;37272:30;;;:17;:30;;;;;;:35;;37268:384;;37410:13;;37395:11;:28;37391:242;;37557:30;;;;:17;:30;;;;;:52;;;37391:242;37098:569;37040:627;37714:7;37710:2;-1:-1:-1;;;;;37695:27:0;37704:4;-1:-1:-1;;;;;37695:27:0;;;;;;;;;;;35089:2694;;;34958:2825;;;:::o;37879:193::-;38025:39;38042:4;38048:2;38052:7;38025:39;;;;;;;;;;;;:16;:39::i;27376:1275::-;27443:7;27478;;72386:1;27527:23;27523:1061;;27580:13;;27573:4;:20;27569:1015;;;27618:14;27635:23;;;:17;:23;;;;;;;-1:-1:-1;;;27724:24:0;;:29;;27720:845;;28389:113;28396:6;28406:1;28396:11;28389:113;;-1:-1:-1;;;28467:6:0;28449:25;;;;:17;:25;;;;;;28389:113;;;28535:6;27376:1275;-1:-1:-1;;;27376:1275:0:o;27720:845::-;27595:989;27569:1015;28612:31;;-1:-1:-1;;;28612:31:0;;;;;;;;;;;48830:112;48907:27;48917:2;48921:8;48907:27;;;;;;;;;;;;:9;:27::i;60366:191::-;60459:6;;;-1:-1:-1;;;;;60476:17:0;;;-1:-1:-1;;;;;;60476:17:0;;;;;;;60509:40;;60459:6;;;60476:17;60459:6;;60509:40;;60440:16;;60509:40;60429:128;60366:191;:::o;31877:234::-;55085:10;31972:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;31972:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;31972:60:0;;;;;;;;;;32048:55;;540:41:1;;;31972:49:0;;55085:10;32048:55;;513:18:1;32048:55:0;;;;;;;31877:234;;:::o;38670:407::-;38845:31;38858:4;38864:2;38868:7;38845:12;:31::i;:::-;-1:-1:-1;;;;;38891:14:0;;;:19;38887:183;;38930:56;38961:4;38967:2;38971:7;38980:5;38930:30;:56::i;:::-;38925:145;;39014:40;;-1:-1:-1;;;39014:40:0;;;;;;;;;;;70730:106;70782:13;70815;70808:20;;;;;:::i;55205:1745::-;55270:17;55704:4;55697;55691:11;55687:22;55796:1;55790:4;55783:15;55871:4;55868:1;55864:12;55857:19;;;55953:1;55948:3;55941:14;56057:3;56296:5;56278:428;56344:1;56339:3;56335:11;56328:18;;56515:2;56509:4;56505:13;56501:2;56497:22;56492:3;56484:36;56609:2;56599:13;;56666:25;56278:428;56666:25;-1:-1:-1;56736:13:0;;;-1:-1:-1;;56851:14:0;;;56913:19;;;56851:14;55205:1745;-1:-1:-1;55205:1745:0:o;48057:689::-;48188:19;48194:2;48198:8;48188:5;:19::i;:::-;-1:-1:-1;;;;;48249:14:0;;;:19;48245:483;;48289:11;48303:13;48351:14;;;48384:233;48415:62;48454:1;48458:2;48462:7;;;;;;48471:5;48415:30;:62::i;:::-;48410:167;;48513:40;;-1:-1:-1;;;48513:40:0;;;;;;;;;;;48410:167;48612:3;48604:5;:11;48384:233;;48699:3;48682:13;;:20;48678:34;;48704:8;;;41161:716;41345:88;;-1:-1:-1;;;41345:88:0;;41324:4;;-1:-1:-1;;;;;41345:45:0;;;;;:88;;55085:10;;41412:4;;41418:7;;41427:5;;41345:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41345:88:0;;;;;;;;-1:-1:-1;;41345:88:0;;;;;;;;;;;;:::i;:::-;;;41341:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41628:6;:13;41645:1;41628:18;41624:235;;41674:40;;-1:-1:-1;;;41674:40:0;;;;;;;;;;;41624:235;41817:6;41811:13;41802:6;41798:2;41794:15;41787:38;41341:529;-1:-1:-1;;;;;;41504:64:0;-1:-1:-1;;;41504:64:0;;-1:-1:-1;41341:529:0;41161:716;;;;;;:::o;42339:2966::-;42412:20;42435:13;;;42463;;;42459:44;;42485:18;;-1:-1:-1;;;42485:18:0;;;;;;;;;;;42459:44;-1:-1:-1;;;;;42991:22:0;;;;;;:18;:22;;;;16060:2;42991:22;;;:71;;43029:32;43017:45;;42991:71;;;43305:31;;;:17;:31;;;;;-1:-1:-1;30041:15:0;;30015:24;30011:46;29610:11;29585:23;29581:41;29578:52;29568:63;;43305:173;;43540:23;;;;43305:31;;42991:22;;44305:25;42991:22;;44158:335;44819:1;44805:12;44801:20;44759:346;44860:3;44851:7;44848:16;44759:346;;45078:7;45068:8;45065:1;45038:25;45035:1;45032;45027:59;44913:1;44900:15;44759:346;;;44763:77;45138:8;45150:1;45138:13;45134:45;;45160:19;;-1:-1:-1;;;45160:19:0;;;;;;;;;;;45134:45;45196:13;:19;-1:-1:-1;72403:190:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:186::-;2414:6;2467:2;2455:9;2446:7;2442:23;2438:32;2435:52;;;2483:1;2480;2473:12;2435:52;2506:29;2525:9;2506:29;:::i;2546:328::-;2623:6;2631;2639;2692:2;2680:9;2671:7;2667:23;2663:32;2660:52;;;2708:1;2705;2698:12;2660:52;2731:29;2750:9;2731:29;:::i;:::-;2721:39;;2779:38;2813:2;2802:9;2798:18;2779:38;:::i;:::-;2769:48;;2864:2;2853:9;2849:18;2836:32;2826:42;;2546:328;;;;;:::o;2879:127::-;2940:10;2935:3;2931:20;2928:1;2921:31;2971:4;2968:1;2961:15;2995:4;2992:1;2985:15;3011:275;3082:2;3076:9;3147:2;3128:13;;-1:-1:-1;;3124:27:1;3112:40;;3182:18;3167:34;;3203:22;;;3164:62;3161:88;;;3229:18;;:::i;:::-;3265:2;3258:22;3011:275;;-1:-1:-1;3011:275:1:o;3291:407::-;3356:5;3390:18;3382:6;3379:30;3376:56;;;3412:18;;:::i;:::-;3450:57;3495:2;3474:15;;-1:-1:-1;;3470:29:1;3501:4;3466:40;3450:57;:::i;:::-;3441:66;;3530:6;3523:5;3516:21;3570:3;3561:6;3556:3;3552:16;3549:25;3546:45;;;3587:1;3584;3577:12;3546:45;3636:6;3631:3;3624:4;3617:5;3613:16;3600:43;3690:1;3683:4;3674:6;3667:5;3663:18;3659:29;3652:40;3291:407;;;;;:::o;3703:451::-;3772:6;3825:2;3813:9;3804:7;3800:23;3796:32;3793:52;;;3841:1;3838;3831:12;3793:52;3881:9;3868:23;3914:18;3906:6;3903:30;3900:50;;;3946:1;3943;3936:12;3900:50;3969:22;;4022:4;4014:13;;4010:27;-1:-1:-1;4000:55:1;;4051:1;4048;4041:12;4000:55;4074:74;4140:7;4135:2;4122:16;4117:2;4113;4109:11;4074:74;:::i;4398:118::-;4484:5;4477:13;4470:21;4463:5;4460:32;4450:60;;4506:1;4503;4496:12;4521:241;4577:6;4630:2;4618:9;4609:7;4605:23;4601:32;4598:52;;;4646:1;4643;4636:12;4598:52;4685:9;4672:23;4704:28;4726:5;4704:28;:::i;4767:183::-;4827:4;4860:18;4852:6;4849:30;4846:56;;;4882:18;;:::i;:::-;-1:-1:-1;4927:1:1;4923:14;4939:4;4919:25;;4767:183::o;4955:662::-;5009:5;5062:3;5055:4;5047:6;5043:17;5039:27;5029:55;;5080:1;5077;5070:12;5029:55;5116:6;5103:20;5142:4;5166:60;5182:43;5222:2;5182:43;:::i;:::-;5166:60;:::i;:::-;5260:15;;;5346:1;5342:10;;;;5330:23;;5326:32;;;5291:12;;;;5370:15;;;5367:35;;;5398:1;5395;5388:12;5367:35;5434:2;5426:6;5422:15;5446:142;5462:6;5457:3;5454:15;5446:142;;;5528:17;;5516:30;;5566:12;;;;5479;;5446:142;;;-1:-1:-1;5606:5:1;4955:662;-1:-1:-1;;;;;;4955:662:1:o;5622:1146::-;5740:6;5748;5801:2;5789:9;5780:7;5776:23;5772:32;5769:52;;;5817:1;5814;5807:12;5769:52;5857:9;5844:23;5886:18;5927:2;5919:6;5916:14;5913:34;;;5943:1;5940;5933:12;5913:34;5981:6;5970:9;5966:22;5956:32;;6026:7;6019:4;6015:2;6011:13;6007:27;5997:55;;6048:1;6045;6038:12;5997:55;6084:2;6071:16;6106:4;6130:60;6146:43;6186:2;6146:43;:::i;6130:60::-;6224:15;;;6306:1;6302:10;;;;6294:19;;6290:28;;;6255:12;;;;6330:19;;;6327:39;;;6362:1;6359;6352:12;6327:39;6386:11;;;;6406:148;6422:6;6417:3;6414:15;6406:148;;;6488:23;6507:3;6488:23;:::i;:::-;6476:36;;6439:12;;;;6532;;;;6406:148;;;6573:5;-1:-1:-1;;6616:18:1;;6603:32;;-1:-1:-1;;6647:16:1;;;6644:36;;;6676:1;6673;6666:12;6644:36;;6699:63;6754:7;6743:8;6732:9;6728:24;6699:63;:::i;:::-;6689:73;;;5622:1146;;;;;:::o;6773:315::-;6838:6;6846;6899:2;6887:9;6878:7;6874:23;6870:32;6867:52;;;6915:1;6912;6905:12;6867:52;6938:29;6957:9;6938:29;:::i;:::-;6928:39;;7017:2;7006:9;7002:18;6989:32;7030:28;7052:5;7030:28;:::i;:::-;7077:5;7067:15;;;6773:315;;;;;:::o;7093:667::-;7188:6;7196;7204;7212;7265:3;7253:9;7244:7;7240:23;7236:33;7233:53;;;7282:1;7279;7272:12;7233:53;7305:29;7324:9;7305:29;:::i;:::-;7295:39;;7353:38;7387:2;7376:9;7372:18;7353:38;:::i;:::-;7343:48;;7438:2;7427:9;7423:18;7410:32;7400:42;;7493:2;7482:9;7478:18;7465:32;7520:18;7512:6;7509:30;7506:50;;;7552:1;7549;7542:12;7506:50;7575:22;;7628:4;7620:13;;7616:27;-1:-1:-1;7606:55:1;;7657:1;7654;7647:12;7606:55;7680:74;7746:7;7741:2;7728:16;7723:2;7719;7715:11;7680:74;:::i;:::-;7670:84;;;7093:667;;;;;;;:::o;7765:260::-;7833:6;7841;7894:2;7882:9;7873:7;7869:23;7865:32;7862:52;;;7910:1;7907;7900:12;7862:52;7933:29;7952:9;7933:29;:::i;:::-;7923:39;;7981:38;8015:2;8004:9;8000:18;7981:38;:::i;:::-;7971:48;;7765:260;;;;;:::o;8030:380::-;8109:1;8105:12;;;;8152;;;8173:61;;8227:4;8219:6;8215:17;8205:27;;8173:61;8280:2;8272:6;8269:14;8249:18;8246:38;8243:161;;8326:10;8321:3;8317:20;8314:1;8307:31;8361:4;8358:1;8351:15;8389:4;8386:1;8379:15;8243:161;;8030:380;;;:::o;8415:127::-;8476:10;8471:3;8467:20;8464:1;8457:31;8507:4;8504:1;8497:15;8531:4;8528:1;8521:15;8547:127;8608:10;8603:3;8599:20;8596:1;8589:31;8639:4;8636:1;8629:15;8663:4;8660:1;8653:15;8679:128;8719:3;8750:1;8746:6;8743:1;8740:13;8737:39;;;8756:18;;:::i;:::-;-1:-1:-1;8792:9:1;;8679:128::o;8812:330::-;9014:2;8996:21;;;9053:1;9033:18;;;9026:29;-1:-1:-1;;;9086:2:1;9071:18;;9064:37;9133:2;9118:18;;8812:330::o;9147:135::-;9186:3;9207:17;;;9204:43;;9227:18;;:::i;:::-;-1:-1:-1;9274:1:1;9263:13;;9147:135::o;9287:168::-;9327:7;9393:1;9389;9385:6;9381:14;9378:1;9375:21;9370:1;9363:9;9356:17;9352:45;9349:71;;;9400:18;;:::i;:::-;-1:-1:-1;9440:9:1;;9287:168::o;9460:125::-;9500:4;9528:1;9525;9522:8;9519:34;;;9533:18;;:::i;:::-;-1:-1:-1;9570:9:1;;9460:125::o;10680:637::-;10960:3;10998:6;10992:13;11014:53;11060:6;11055:3;11048:4;11040:6;11036:17;11014:53;:::i;:::-;11130:13;;11089:16;;;;11152:57;11130:13;11089:16;11186:4;11174:17;;11152:57;:::i;:::-;-1:-1:-1;;;11231:20:1;;11260:22;;;11309:1;11298:13;;10680:637;-1:-1:-1;;;;10680:637:1:o;12038:245::-;12105:6;12158:2;12146:9;12137:7;12133:23;12129:32;12126:52;;;12174:1;12171;12164:12;12126:52;12206:9;12200:16;12225:28;12247:5;12225:28;:::i;12649:489::-;-1:-1:-1;;;;;12918:15:1;;;12900:34;;12970:15;;12965:2;12950:18;;12943:43;13017:2;13002:18;;12995:34;;;13065:3;13060:2;13045:18;;13038:31;;;12843:4;;13086:46;;13112:19;;13104:6;13086:46;:::i;:::-;13078:54;12649:489;-1:-1:-1;;;;;;12649:489:1:o;13143:249::-;13212:6;13265:2;13253:9;13244:7;13240:23;13236:32;13233:52;;;13281:1;13278;13271:12;13233:52;13313:9;13307:16;13332:30;13356:5;13332:30;:::i

Swarm Source

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