ETH Price: $3,267.59 (+3.05%)
Gas: 2 Gwei

Token

Baby Lazy Bunnies (BBLZB)
 

Overview

Max Total Supply

973 BBLZB

Holders

321

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 BBLZB
0x00aa0901456090851c617b7c65d7351f64ebf8e2
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:
BabyLazyBunnies

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-10-09
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Context.sol


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/Romail.sol



pragma solidity ^0.8.4;



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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Reference type for token approval.
    struct TokenApprovalRef {
        address value;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

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

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

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

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _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 virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

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

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // 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`.
                )

                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 0x80 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

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

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

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

interface IERC721 is IERC165 {
    /**
     * @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`.
     *
     * 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 calldata data
    ) external;

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

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

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

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

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

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

    function walletOfOwner(address _owner) external view returns (uint256[] memory);
  
}

pragma solidity 0.8.15;


contract BabyLazyBunnies is ERC721A, Ownable {

    IERC721 ERC721Interface;
    uint256 MAX_SUPPLY;
    string public baseURI = "ipfs://QmRBwswnJdR35SjDebmKW5sb1Ve2roPJezTc1XTxKj5WDR/";
    string public uriSuffix = ".json";
    mapping(address => uint8) claimed;
    mapping(uint => bool) public nftSold;
    

    constructor(address _NFTAddress, uint256 _supply) ERC721A("Baby Lazy Bunnies", "BBLZB") {
        ERC721Interface = IERC721(_NFTAddress);
        MAX_SUPPLY = _supply;
    }

    function mint(uint256 quantity) internal {
        _safeMint(msg.sender, quantity);
    }

    function claimAirdrop() external {
        uint NftOwned = ERC721Interface.walletOfOwner(msg.sender).length;
        require(NftOwned > 0, "Not owner of NFT collection");
        uint nftToMint = 0;
        
        for(uint i = 0; i<NftOwned; i++){
            if(!nftSold[ERC721Interface.walletOfOwner(msg.sender)[i]]){
                nftSold[ERC721Interface.walletOfOwner(msg.sender)[i]] = true;
                nftToMint++;
            }           
        }
        require(nftToMint > 0, "No NFTs to claim");
        mint(nftToMint);
    }


    function tokenURI(uint256 tokenId) public view override returns (string memory) {
    require(_exists(tokenId), "Err: ERC721AMetadata - URI query for nonexistent token");

    return bytes(baseURI).length > 0
        ? string(abi.encodePacked(baseURI, _toString(tokenId), uriSuffix))
        : "";
    }

    function withdraw() public payable onlyOwner {
 
    // =============================================================================
    (bool os, ) = payable(owner()).call{value: address(this).balance}("");
    require(os);
    // =============================================================================
  }

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

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
    baseURI = _newBaseURI;
  }

  function claimQuantity() public view returns (uint) {
    uint NftOwned = ERC721Interface.walletOfOwner(msg.sender).length;
    return NftOwned;
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_NFTAddress","type":"address"},{"internalType":"uint256","name":"_supply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nftSold","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60e0604052603660808181529062001c6460a039600b906200002290826200021b565b50604080518082019091526005815264173539b7b760d91b6020820152600c906200004e90826200021b565b503480156200005c57600080fd5b5060405162001c9a38038062001c9a8339810160408190526200007f91620002e7565b6040518060400160405280601181526020017042616279204c617a792042756e6e69657360781b815250604051806040016040528060058152602001642121262d2160d91b8152508160029081620000d891906200021b565b506003620000e782826200021b565b5050600160005550620000fa3362000124565b600980546001600160a01b0319166001600160a01b039390931692909217909155600a5562000323565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001a157607f821691505b602082108103620001c257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021657600081815260208120601f850160051c81016020861015620001f15750805b601f850160051c820191505b818110156200021257828155600101620001fd565b5050505b505050565b81516001600160401b0381111562000237576200023762000176565b6200024f816200024884546200018c565b84620001c8565b602080601f8311600181146200028757600084156200026e5750858301515b600019600386901b1c1916600185901b17855562000212565b600085815260208120601f198616915b82811015620002b85788860151825594840194600190910190840162000297565b5085821015620002d75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008060408385031215620002fb57600080fd5b82516001600160a01b03811681146200031357600080fd5b6020939093015192949293505050565b61193180620003336000396000f3fe60806040526004361061014b5760003560e01c80636352211e116100b657806395d89b411161006f57806395d89b4114610387578063a22cb4651461039c578063b88d4fde146103bc578063c87b56dd146103dc578063e985e9c5146103fc578063f2fde38b1461044557600080fd5b80636352211e146102ea5780636c0360eb1461030a57806370a082311461031f578063715018a61461033f5780637dd32880146103545780638da5cb5b1461036957600080fd5b806323b872dd1161010857806323b872dd146102585780633ccfd60b1461027857806342842e0e146102805780635503a0e8146102a057806355f804b3146102b55780635b88349d146102d557600080fd5b806301ffc9a71461015057806306fdde0314610185578063081812fc146101a7578063095ea7b3146101df57806316875c111461020157806318160ddd14610231575b600080fd5b34801561015c57600080fd5b5061017061016b3660046112c7565b610465565b60405190151581526020015b60405180910390f35b34801561019157600080fd5b5061019a6104b7565b60405161017c919061133c565b3480156101b357600080fd5b506101c76101c236600461134f565b610549565b6040516001600160a01b03909116815260200161017c565b3480156101eb57600080fd5b506101ff6101fa366004611384565b61058d565b005b34801561020d57600080fd5b5061017061021c36600461134f565b600e6020526000908152604090205460ff1681565b34801561023d57600080fd5b5060015460005403600019015b60405190815260200161017c565b34801561026457600080fd5b506101ff6102733660046113ae565b61062d565b6101ff6107c6565b34801561028c57600080fd5b506101ff61029b3660046113ae565b610842565b3480156102ac57600080fd5b5061019a610862565b3480156102c157600080fd5b506101ff6102d0366004611489565b6108f0565b3480156102e157600080fd5b506101ff610908565b3480156102f657600080fd5b506101c761030536600461134f565b610ba6565b34801561031657600080fd5b5061019a610bb1565b34801561032b57600080fd5b5061024a61033a3660046114d2565b610bbe565b34801561034b57600080fd5b506101ff610c0d565b34801561036057600080fd5b5061024a610c21565b34801561037557600080fd5b506008546001600160a01b03166101c7565b34801561039357600080fd5b5061019a610c9c565b3480156103a857600080fd5b506101ff6103b73660046114ed565b610cab565b3480156103c857600080fd5b506101ff6103d7366004611529565b610d17565b3480156103e857600080fd5b5061019a6103f736600461134f565b610d61565b34801561040857600080fd5b506101706104173660046115a5565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561045157600080fd5b506101ff6104603660046114d2565b610e36565b60006301ffc9a760e01b6001600160e01b03198316148061049657506380ac58cd60e01b6001600160e01b03198316145b806104b15750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546104c6906115d8565b80601f01602080910402602001604051908101604052809291908181526020018280546104f2906115d8565b801561053f5780601f106105145761010080835404028352916020019161053f565b820191906000526020600020905b81548152906001019060200180831161052257829003601f168201915b5050505050905090565b600061055482610eac565b610571576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061059882610ba6565b9050336001600160a01b038216146105d1576105b48133610417565b6105d1576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061063882610ee1565b9050836001600160a01b0316816001600160a01b03161461066b5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176106b85761069b8633610417565b6106b857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166106df57604051633a954ecd60e21b815260040160405180910390fd5b80156106ea57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b8416900361077c5760018401600081815260046020526040812054900361077a57600054811461077a5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6107ce610f57565b60006107e26008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d806000811461082c576040519150601f19603f3d011682016040523d82523d6000602084013e610831565b606091505b505090508061083f57600080fd5b50565b61085d83838360405180602001604052806000815250610d17565b505050565b600c805461086f906115d8565b80601f016020809104026020016040519081016040528092919081815260200182805461089b906115d8565b80156108e85780601f106108bd576101008083540402835291602001916108e8565b820191906000526020600020905b8154815290600101906020018083116108cb57829003601f168201915b505050505081565b6108f8610f57565b600b6109048282611658565b5050565b60095460405162438b6360e81b81523360048201526000916001600160a01b03169063438b630090602401600060405180830381865afa158015610950573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109789190810190611718565b519050600081116109d05760405162461bcd60e51b815260206004820152601b60248201527f4e6f74206f776e6572206f66204e465420636f6c6c656374696f6e000000000060448201526064015b60405180910390fd5b6000805b82811015610b595760095460405162438b6360e81b8152336004820152600e916000916001600160a01b039091169063438b630090602401600060405180830381865afa158015610a29573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a519190810190611718565b8381518110610a6257610a626117be565b60209081029190910181015182528101919091526040016000205460ff16610b475760095460405162438b6360e81b8152336004820152600191600e916000916001600160a01b03169063438b630090602401600060405180830381865afa158015610ad2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610afa9190810190611718565b8481518110610b0b57610b0b6117be565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055508180610b43906117d4565b9250505b80610b51816117d4565b9150506109d4565b5060008111610b9d5760405162461bcd60e51b815260206004820152601060248201526f4e6f204e46547320746f20636c61696d60801b60448201526064016109c7565b61090481610fb1565b60006104b182610ee1565b600b805461086f906115d8565b60006001600160a01b038216610be7576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c15610f57565b610c1f6000610fbb565b565b60095460405162438b6360e81b815233600482015260009182916001600160a01b039091169063438b630090602401600060405180830381865afa158015610c6d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c959190810190611718565b5192915050565b6060600380546104c6906115d8565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d2284848461062d565b6001600160a01b0383163b15610d5b57610d3e8484848461100d565b610d5b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610d6c82610eac565b610dd75760405162461bcd60e51b815260206004820152603660248201527f4572723a20455243373231414d65746164617461202d20555249207175657279604482015275103337b9103737b732bc34b9ba32b73a103a37b5b2b760511b60648201526084016109c7565b6000600b8054610de6906115d8565b905011610e0257604051806020016040528060008152506104b1565b600b610e0d836110f9565b600c604051602001610e219392919061186e565b60405160208183030381529060405292915050565b610e3e610f57565b6001600160a01b038116610ea35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c7565b61083f81610fbb565b600081600111158015610ec0575060005482105b80156104b1575050600090815260046020526040902054600160e01b161590565b60008180600111610f3e57600054811015610f3e5760008181526004602052604081205490600160e01b82169003610f3c575b80600003610f35575060001901600081815260046020526040902054610f14565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610c1f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109c7565b61083f3382611131565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906110429033908990889088906004016118a1565b6020604051808303816000875af192505050801561107d575060408051601f3d908101601f1916820190925261107a918101906118de565b60015b6110db573d8080156110ab576040519150601f19603f3d011682016040523d82523d6000602084013e6110b0565b606091505b5080516000036110d3576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080019081905280825b600183039250600a81066030018353600a9004806111075750819003601f19909101908152919050565b61090482826040518060200160405280600081525061115083836111b3565b6001600160a01b0383163b1561085d576000548281035b61117a600086838060010194508661100d565b611197576040516368d2bf6b60e11b815260040160405180910390fd5b8181106111675781600054146111ac57600080fd5b5050505050565b60008054908290036111d85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461128757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161124f565b50816000036112a857604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b03198116811461083f57600080fd5b6000602082840312156112d957600080fd5b8135610f35816112b1565b60005b838110156112ff5781810151838201526020016112e7565b83811115610d5b5750506000910152565b600081518084526113288160208601602086016112e4565b601f01601f19169290920160200192915050565b602081526000610f356020830184611310565b60006020828403121561136157600080fd5b5035919050565b80356001600160a01b038116811461137f57600080fd5b919050565b6000806040838503121561139757600080fd5b6113a083611368565b946020939093013593505050565b6000806000606084860312156113c357600080fd5b6113cc84611368565b92506113da60208501611368565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611429576114296113ea565b604052919050565b600067ffffffffffffffff83111561144b5761144b6113ea565b61145e601f8401601f1916602001611400565b905082815283838301111561147257600080fd5b828260208301376000602084830101529392505050565b60006020828403121561149b57600080fd5b813567ffffffffffffffff8111156114b257600080fd5b8201601f810184136114c357600080fd5b6110f184823560208401611431565b6000602082840312156114e457600080fd5b610f3582611368565b6000806040838503121561150057600080fd5b61150983611368565b91506020830135801515811461151e57600080fd5b809150509250929050565b6000806000806080858703121561153f57600080fd5b61154885611368565b935061155660208601611368565b925060408501359150606085013567ffffffffffffffff81111561157957600080fd5b8501601f8101871361158a57600080fd5b61159987823560208401611431565b91505092959194509250565b600080604083850312156115b857600080fd5b6115c183611368565b91506115cf60208401611368565b90509250929050565b600181811c908216806115ec57607f821691505b60208210810361160c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561085d57600081815260208120601f850160051c810160208610156116395750805b601f850160051c820191505b818110156107be57828155600101611645565b815167ffffffffffffffff811115611672576116726113ea565b6116868161168084546115d8565b84611612565b602080601f8311600181146116bb57600084156116a35750858301515b600019600386901b1c1916600185901b1785556107be565b600085815260208120601f198616915b828110156116ea578886015182559484019460019091019084016116cb565b50858210156117085787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602080838503121561172b57600080fd5b825167ffffffffffffffff8082111561174357600080fd5b818501915085601f83011261175757600080fd5b815181811115611769576117696113ea565b8060051b915061177a848301611400565b818152918301840191848101908884111561179457600080fd5b938501935b838510156117b257845182529385019390850190611799565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016117f457634e487b7160e01b600052601160045260246000fd5b5060010190565b60008154611808816115d8565b60018281168015611820576001811461183557611864565b60ff1984168752821515830287019450611864565b8560005260208060002060005b8581101561185b5781548a820152908401908201611842565b50505082870194505b5050505092915050565b600061187a82866117fb565b845161188a8183602089016112e4565b611896818301866117fb565b979650505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118d490830184611310565b9695505050505050565b6000602082840312156118f057600080fd5b8151610f35816112b156fea26469706673582212201083dfd9f65a7e7daffd18ea9fb8061e0576d3ae992fac6b3c3af2df51e21fa064736f6c634300080f0033697066733a2f2f516d52427773776e4a64523335536a4465626d4b5735736231566532726f504a657a5463315854784b6a355744522f0000000000000000000000008dd92dd186f05e3e9f1844cd9047617adad8a66d00000000000000000000000000000000000000000000000000000000000015b3

Deployed Bytecode

0x60806040526004361061014b5760003560e01c80636352211e116100b657806395d89b411161006f57806395d89b4114610387578063a22cb4651461039c578063b88d4fde146103bc578063c87b56dd146103dc578063e985e9c5146103fc578063f2fde38b1461044557600080fd5b80636352211e146102ea5780636c0360eb1461030a57806370a082311461031f578063715018a61461033f5780637dd32880146103545780638da5cb5b1461036957600080fd5b806323b872dd1161010857806323b872dd146102585780633ccfd60b1461027857806342842e0e146102805780635503a0e8146102a057806355f804b3146102b55780635b88349d146102d557600080fd5b806301ffc9a71461015057806306fdde0314610185578063081812fc146101a7578063095ea7b3146101df57806316875c111461020157806318160ddd14610231575b600080fd5b34801561015c57600080fd5b5061017061016b3660046112c7565b610465565b60405190151581526020015b60405180910390f35b34801561019157600080fd5b5061019a6104b7565b60405161017c919061133c565b3480156101b357600080fd5b506101c76101c236600461134f565b610549565b6040516001600160a01b03909116815260200161017c565b3480156101eb57600080fd5b506101ff6101fa366004611384565b61058d565b005b34801561020d57600080fd5b5061017061021c36600461134f565b600e6020526000908152604090205460ff1681565b34801561023d57600080fd5b5060015460005403600019015b60405190815260200161017c565b34801561026457600080fd5b506101ff6102733660046113ae565b61062d565b6101ff6107c6565b34801561028c57600080fd5b506101ff61029b3660046113ae565b610842565b3480156102ac57600080fd5b5061019a610862565b3480156102c157600080fd5b506101ff6102d0366004611489565b6108f0565b3480156102e157600080fd5b506101ff610908565b3480156102f657600080fd5b506101c761030536600461134f565b610ba6565b34801561031657600080fd5b5061019a610bb1565b34801561032b57600080fd5b5061024a61033a3660046114d2565b610bbe565b34801561034b57600080fd5b506101ff610c0d565b34801561036057600080fd5b5061024a610c21565b34801561037557600080fd5b506008546001600160a01b03166101c7565b34801561039357600080fd5b5061019a610c9c565b3480156103a857600080fd5b506101ff6103b73660046114ed565b610cab565b3480156103c857600080fd5b506101ff6103d7366004611529565b610d17565b3480156103e857600080fd5b5061019a6103f736600461134f565b610d61565b34801561040857600080fd5b506101706104173660046115a5565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561045157600080fd5b506101ff6104603660046114d2565b610e36565b60006301ffc9a760e01b6001600160e01b03198316148061049657506380ac58cd60e01b6001600160e01b03198316145b806104b15750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546104c6906115d8565b80601f01602080910402602001604051908101604052809291908181526020018280546104f2906115d8565b801561053f5780601f106105145761010080835404028352916020019161053f565b820191906000526020600020905b81548152906001019060200180831161052257829003601f168201915b5050505050905090565b600061055482610eac565b610571576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061059882610ba6565b9050336001600160a01b038216146105d1576105b48133610417565b6105d1576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061063882610ee1565b9050836001600160a01b0316816001600160a01b03161461066b5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176106b85761069b8633610417565b6106b857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166106df57604051633a954ecd60e21b815260040160405180910390fd5b80156106ea57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b8416900361077c5760018401600081815260046020526040812054900361077a57600054811461077a5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6107ce610f57565b60006107e26008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d806000811461082c576040519150601f19603f3d011682016040523d82523d6000602084013e610831565b606091505b505090508061083f57600080fd5b50565b61085d83838360405180602001604052806000815250610d17565b505050565b600c805461086f906115d8565b80601f016020809104026020016040519081016040528092919081815260200182805461089b906115d8565b80156108e85780601f106108bd576101008083540402835291602001916108e8565b820191906000526020600020905b8154815290600101906020018083116108cb57829003601f168201915b505050505081565b6108f8610f57565b600b6109048282611658565b5050565b60095460405162438b6360e81b81523360048201526000916001600160a01b03169063438b630090602401600060405180830381865afa158015610950573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109789190810190611718565b519050600081116109d05760405162461bcd60e51b815260206004820152601b60248201527f4e6f74206f776e6572206f66204e465420636f6c6c656374696f6e000000000060448201526064015b60405180910390fd5b6000805b82811015610b595760095460405162438b6360e81b8152336004820152600e916000916001600160a01b039091169063438b630090602401600060405180830381865afa158015610a29573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a519190810190611718565b8381518110610a6257610a626117be565b60209081029190910181015182528101919091526040016000205460ff16610b475760095460405162438b6360e81b8152336004820152600191600e916000916001600160a01b03169063438b630090602401600060405180830381865afa158015610ad2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610afa9190810190611718565b8481518110610b0b57610b0b6117be565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055508180610b43906117d4565b9250505b80610b51816117d4565b9150506109d4565b5060008111610b9d5760405162461bcd60e51b815260206004820152601060248201526f4e6f204e46547320746f20636c61696d60801b60448201526064016109c7565b61090481610fb1565b60006104b182610ee1565b600b805461086f906115d8565b60006001600160a01b038216610be7576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c15610f57565b610c1f6000610fbb565b565b60095460405162438b6360e81b815233600482015260009182916001600160a01b039091169063438b630090602401600060405180830381865afa158015610c6d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c959190810190611718565b5192915050565b6060600380546104c6906115d8565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d2284848461062d565b6001600160a01b0383163b15610d5b57610d3e8484848461100d565b610d5b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610d6c82610eac565b610dd75760405162461bcd60e51b815260206004820152603660248201527f4572723a20455243373231414d65746164617461202d20555249207175657279604482015275103337b9103737b732bc34b9ba32b73a103a37b5b2b760511b60648201526084016109c7565b6000600b8054610de6906115d8565b905011610e0257604051806020016040528060008152506104b1565b600b610e0d836110f9565b600c604051602001610e219392919061186e565b60405160208183030381529060405292915050565b610e3e610f57565b6001600160a01b038116610ea35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c7565b61083f81610fbb565b600081600111158015610ec0575060005482105b80156104b1575050600090815260046020526040902054600160e01b161590565b60008180600111610f3e57600054811015610f3e5760008181526004602052604081205490600160e01b82169003610f3c575b80600003610f35575060001901600081815260046020526040902054610f14565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610c1f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109c7565b61083f3382611131565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906110429033908990889088906004016118a1565b6020604051808303816000875af192505050801561107d575060408051601f3d908101601f1916820190925261107a918101906118de565b60015b6110db573d8080156110ab576040519150601f19603f3d011682016040523d82523d6000602084013e6110b0565b606091505b5080516000036110d3576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080019081905280825b600183039250600a81066030018353600a9004806111075750819003601f19909101908152919050565b61090482826040518060200160405280600081525061115083836111b3565b6001600160a01b0383163b1561085d576000548281035b61117a600086838060010194508661100d565b611197576040516368d2bf6b60e11b815260040160405180910390fd5b8181106111675781600054146111ac57600080fd5b5050505050565b60008054908290036111d85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461128757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161124f565b50816000036112a857604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b03198116811461083f57600080fd5b6000602082840312156112d957600080fd5b8135610f35816112b1565b60005b838110156112ff5781810151838201526020016112e7565b83811115610d5b5750506000910152565b600081518084526113288160208601602086016112e4565b601f01601f19169290920160200192915050565b602081526000610f356020830184611310565b60006020828403121561136157600080fd5b5035919050565b80356001600160a01b038116811461137f57600080fd5b919050565b6000806040838503121561139757600080fd5b6113a083611368565b946020939093013593505050565b6000806000606084860312156113c357600080fd5b6113cc84611368565b92506113da60208501611368565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611429576114296113ea565b604052919050565b600067ffffffffffffffff83111561144b5761144b6113ea565b61145e601f8401601f1916602001611400565b905082815283838301111561147257600080fd5b828260208301376000602084830101529392505050565b60006020828403121561149b57600080fd5b813567ffffffffffffffff8111156114b257600080fd5b8201601f810184136114c357600080fd5b6110f184823560208401611431565b6000602082840312156114e457600080fd5b610f3582611368565b6000806040838503121561150057600080fd5b61150983611368565b91506020830135801515811461151e57600080fd5b809150509250929050565b6000806000806080858703121561153f57600080fd5b61154885611368565b935061155660208601611368565b925060408501359150606085013567ffffffffffffffff81111561157957600080fd5b8501601f8101871361158a57600080fd5b61159987823560208401611431565b91505092959194509250565b600080604083850312156115b857600080fd5b6115c183611368565b91506115cf60208401611368565b90509250929050565b600181811c908216806115ec57607f821691505b60208210810361160c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561085d57600081815260208120601f850160051c810160208610156116395750805b601f850160051c820191505b818110156107be57828155600101611645565b815167ffffffffffffffff811115611672576116726113ea565b6116868161168084546115d8565b84611612565b602080601f8311600181146116bb57600084156116a35750858301515b600019600386901b1c1916600185901b1785556107be565b600085815260208120601f198616915b828110156116ea578886015182559484019460019091019084016116cb565b50858210156117085787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602080838503121561172b57600080fd5b825167ffffffffffffffff8082111561174357600080fd5b818501915085601f83011261175757600080fd5b815181811115611769576117696113ea565b8060051b915061177a848301611400565b818152918301840191848101908884111561179457600080fd5b938501935b838510156117b257845182529385019390850190611799565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016117f457634e487b7160e01b600052601160045260246000fd5b5060010190565b60008154611808816115d8565b60018281168015611820576001811461183557611864565b60ff1984168752821515830287019450611864565b8560005260208060002060005b8581101561185b5781548a820152908401908201611842565b50505082870194505b5050505092915050565b600061187a82866117fb565b845161188a8183602089016112e4565b611896818301866117fb565b979650505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118d490830184611310565b9695505050505050565b6000602082840312156118f057600080fd5b8151610f35816112b156fea26469706673582212201083dfd9f65a7e7daffd18ea9fb8061e0576d3ae992fac6b3c3af2df51e21fa064736f6c634300080f0033

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

0000000000000000000000008dd92dd186f05e3e9f1844cd9047617adad8a66d00000000000000000000000000000000000000000000000000000000000015b3

-----Decoded View---------------
Arg [0] : _NFTAddress (address): 0x8DD92dd186f05E3e9F1844cD9047617ADaD8A66D
Arg [1] : _supply (uint256): 5555

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000008dd92dd186f05e3e9f1844cd9047617adad8a66d
Arg [1] : 00000000000000000000000000000000000000000000000000000000000015b3


Deployed Bytecode Sourcemap

61437:2190:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24093:639;;;;;;;;;;-1:-1:-1;24093:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;24093:639:0;;;;;;;;24995:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31478:218::-;;;;;;;;;;-1:-1:-1;31478:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;31478:218:0;1528:203:1;30919:400:0;;;;;;;;;;-1:-1:-1;30919:400:0;;;;;:::i;:::-;;:::i;:::-;;61713:36;;;;;;;;;;-1:-1:-1;61713:36:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;20746:323;;;;;;;;;;-1:-1:-1;20345:1:0;21020:12;20807:7;21004:13;:28;-1:-1:-1;;21004:46:0;20746:323;;;2319:25:1;;;2307:2;2292:18;20746:323:0;2173:177:1;35117:2817:0;;;;;;;;;;-1:-1:-1;35117:2817:0;;;;;:::i;:::-;;:::i;62933:320::-;;;:::i;38030:185::-;;;;;;;;;;-1:-1:-1;38030:185:0;;;;;:::i;:::-;;:::i;61633:33::-;;;;;;;;;;;;;:::i;63369:98::-;;;;;;;;;;-1:-1:-1;63369:98:0;;;;;:::i;:::-;;:::i;62047:559::-;;;;;;;;;;;;;:::i;26388:152::-;;;;;;;;;;-1:-1:-1;26388:152:0;;;;;:::i;:::-;;:::i;61546:80::-;;;;;;;;;;;;;:::i;21930:233::-;;;;;;;;;;-1:-1:-1;21930:233:0;;;;;:::i;:::-;;:::i;2809:103::-;;;;;;;;;;;;;:::i;63473:151::-;;;;;;;;;;;;;:::i;2161:87::-;;;;;;;;;;-1:-1:-1;2234:6:0;;-1:-1:-1;;;;;2234:6:0;2161:87;;25171:104;;;;;;;;;;;;;:::i;32036:234::-;;;;;;;;;;-1:-1:-1;32036:234:0;;;;;:::i;:::-;;:::i;38813:399::-;;;;;;;;;;-1:-1:-1;38813:399:0;;;;;:::i;:::-;;:::i;62616:309::-;;;;;;;;;;-1:-1:-1;62616:309:0;;;;;:::i;:::-;;:::i;32427:164::-;;;;;;;;;;-1:-1:-1;32427:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;32548:25:0;;;32524:4;32548:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32427:164;3067:201;;;;;;;;;;-1:-1:-1;3067:201:0;;;;;:::i;:::-;;:::i;24093:639::-;24178:4;-1:-1:-1;;;;;;;;;24502:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;24579:25:0;;;24502:102;:179;;;-1:-1:-1;;;;;;;;;;24656:25:0;;;24502:179;24482:199;24093:639;-1:-1:-1;;24093:639:0:o;24995:100::-;25049:13;25082:5;25075:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24995:100;:::o;31478:218::-;31554:7;31579:16;31587:7;31579;:16::i;:::-;31574:64;;31604:34;;-1:-1:-1;;;31604:34:0;;;;;;;;;;;31574:64;-1:-1:-1;31658:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;31658:30:0;;31478:218::o;30919:400::-;31000:13;31016:16;31024:7;31016;:16::i;:::-;31000:32;-1:-1:-1;54974:10:0;-1:-1:-1;;;;;31049:28:0;;;31045:175;;31097:44;31114:5;54974:10;32427:164;:::i;31097:44::-;31092:128;;31169:35;;-1:-1:-1;;;31169:35:0;;;;;;;;;;;31092:128;31232:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;31232:35:0;-1:-1:-1;;;;;31232:35:0;;;;;;;;;31283:28;;31232:24;;31283:28;;;;;;;30989:330;30919:400;;:::o;35117:2817::-;35251:27;35281;35300:7;35281:18;:27::i;:::-;35251:57;;35366:4;-1:-1:-1;;;;;35325:45:0;35341:19;-1:-1:-1;;;;;35325:45:0;;35321:86;;35379:28;;-1:-1:-1;;;35379:28:0;;;;;;;;;;;35321:86;35421:27;34225:24;;;:15;:24;;;;;34453:26;;54974:10;33850:30;;;-1:-1:-1;;;;;33543:28:0;;33828:20;;;33825:56;35607:180;;35700:43;35717:4;54974:10;32427:164;:::i;35700:43::-;35695:92;;35752:35;;-1:-1:-1;;;35752:35:0;;;;;;;;;;;35695:92;-1:-1:-1;;;;;35804:16:0;;35800:52;;35829:23;;-1:-1:-1;;;35829:23:0;;;;;;;;;;;35800:52;36001:15;35998:160;;;36141:1;36120:19;36113:30;35998:160;-1:-1:-1;;;;;36538:24:0;;;;;;;:18;:24;;;;;;36536:26;;-1:-1:-1;;36536:26:0;;;36607:22;;;;;;;;;36605:24;;-1:-1:-1;36605:24:0;;;29777:11;29752:23;29748:41;29735:63;-1:-1:-1;;;29735:63:0;36900:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;37195:47:0;;:52;;37191:627;;37300:1;37290:11;;37268:19;37423:30;;;:17;:30;;;;;;:35;;37419:384;;37561:13;;37546:11;:28;37542:242;;37708:30;;;;:17;:30;;;;;:52;;;37542:242;37249:569;37191:627;37865:7;37861:2;-1:-1:-1;;;;;37846:27:0;37855:4;-1:-1:-1;;;;;37846:27:0;;;;;;;;;;;37884:42;35240:2694;;;35117:2817;;;:::o;62933:320::-;2047:13;:11;:13::i;:::-;63075:7:::1;63096;2234:6:::0;;-1:-1:-1;;;;;2234:6:0;;2161:87;63096:7:::1;-1:-1:-1::0;;;;;63088:21:0::1;63117;63088:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63074:69;;;63158:2;63150:11;;;::::0;::::1;;62978:275;62933:320::o:0;38030:185::-;38168:39;38185:4;38191:2;38195:7;38168:39;;;;;;;;;;;;:16;:39::i;:::-;38030:185;;;:::o;61633:33::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;63369:98::-;2047:13;:11;:13::i;:::-;63440:7:::1;:21;63450:11:::0;63440:7;:21:::1;:::i;:::-;;63369:98:::0;:::o;62047:559::-;62107:15;;:41;;-1:-1:-1;;;62107:41:0;;62137:10;62107:41;;;1674:51:1;62091:13:0;;-1:-1:-1;;;;;62107:15:0;;:29;;1647:18:1;;62107:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62107:41:0;;;;;;;;;;;;:::i;:::-;:48;62091:64;;62185:1;62174:8;:12;62166:52;;;;-1:-1:-1;;;62166:52:0;;9390:2:1;62166:52:0;;;9372:21:1;9429:2;9409:18;;;9402:30;9468:29;9448:18;;;9441:57;9515:18;;62166:52:0;;;;;;;;;62229:14;62272:6;62268:252;62286:8;62284:1;:10;62268:252;;;62327:15;;:41;;-1:-1:-1;;;62327:41:0;;62357:10;62327:41;;;1674:51:1;62319:7:0;;:53;;-1:-1:-1;;;;;62327:15:0;;;;:29;;1647:18:1;;62327:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62327:41:0;;;;;;;;;;;;:::i;:::-;62369:1;62327:44;;;;;;;;:::i;:::-;;;;;;;;;;;;62319:53;;;;;;;;;;-1:-1:-1;62319:53:0;;;;62315:183;;62400:15;;:41;;-1:-1:-1;;;62400:41:0;;62430:10;62400:41;;;1674:51:1;62448:4:0;;62392:7;;:53;;-1:-1:-1;;;;;62400:15:0;;:29;;1647:18:1;;62400:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62400:41:0;;;;;;;;;;;;:::i;:::-;62442:1;62400:44;;;;;;;;:::i;:::-;;;;;;;62392:53;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;62471:11;;;;;:::i;:::-;;;;62315:183;62296:3;;;;:::i;:::-;;;;62268:252;;;;62550:1;62538:9;:13;62530:42;;;;-1:-1:-1;;;62530:42:0;;10115:2:1;62530:42:0;;;10097:21:1;10154:2;10134:18;;;10127:30;-1:-1:-1;;;10173:18:1;;;10166:46;10229:18;;62530:42:0;9913:340:1;62530:42:0;62583:15;62588:9;62583:4;:15::i;26388:152::-;26460:7;26503:27;26522:7;26503:18;:27::i;61546:80::-;;;;;;;:::i;21930:233::-;22002:7;-1:-1:-1;;;;;22026:19:0;;22022:60;;22054:28;;-1:-1:-1;;;22054:28:0;;;;;;;;;;;22022:60;-1:-1:-1;;;;;;22100:25:0;;;;;:18;:25;;;;;;16089:13;22100:55;;21930:233::o;2809:103::-;2047:13;:11;:13::i;:::-;2874:30:::1;2901:1;2874:18;:30::i;:::-;2809:103::o:0;63473:151::-;63548:15;;:41;;-1:-1:-1;;;63548:41:0;;63578:10;63548:41;;;1674:51:1;63519:4:0;;;;-1:-1:-1;;;;;63548:15:0;;;;:29;;1647:18:1;;63548:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;63548:41:0;;;;;;;;;;;;:::i;:::-;:48;;63473:151;-1:-1:-1;;63473:151:0:o;25171:104::-;25227:13;25260:7;25253:14;;;;;:::i;32036:234::-;54974:10;32131:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;32131:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;32131:60:0;;;;;;;;;;32207:55;;540:41:1;;;32131:49:0;;54974:10;32207:55;;513:18:1;32207:55:0;;;;;;;32036:234;;:::o;38813:399::-;38980:31;38993:4;38999:2;39003:7;38980:12;:31::i;:::-;-1:-1:-1;;;;;39026:14:0;;;:19;39022:183;;39065:56;39096:4;39102:2;39106:7;39115:5;39065:30;:56::i;:::-;39060:145;;39149:40;;-1:-1:-1;;;39149:40:0;;;;;;;;;;;39060:145;38813:399;;;;:::o;62616:309::-;62681:13;62711:16;62719:7;62711;:16::i;:::-;62703:83;;;;-1:-1:-1;;;62703:83:0;;10460:2:1;62703:83:0;;;10442:21:1;10499:2;10479:18;;;10472:30;10538:34;10518:18;;;10511:62;-1:-1:-1;;;10589:18:1;;;10582:52;10651:19;;62703:83:0;10258:418:1;62703:83:0;62826:1;62808:7;62802:21;;;;;:::i;:::-;;;:25;:115;;;;;;;;;;;;;;;;;62863:7;62872:18;62882:7;62872:9;:18::i;:::-;62892:9;62846:56;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;62795:122;62616:309;-1:-1:-1;;62616:309:0:o;3067:201::-;2047:13;:11;:13::i;:::-;-1:-1:-1;;;;;3156:22:0;::::1;3148:73;;;::::0;-1:-1:-1;;;3148:73:0;;12071:2:1;3148:73:0::1;::::0;::::1;12053:21:1::0;12110:2;12090:18;;;12083:30;12149:34;12129:18;;;12122:62;-1:-1:-1;;;12200:18:1;;;12193:36;12246:19;;3148:73:0::1;11869:402:1::0;3148:73:0::1;3232:28;3251:8;3232:18;:28::i;32849:282::-:0;32914:4;32970:7;20345:1;32951:26;;:66;;;;;33004:13;;32994:7;:23;32951:66;:153;;;;-1:-1:-1;;33055:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;33055:44:0;:49;;32849:282::o;27543:1275::-;27610:7;27645;;20345:1;27694:23;27690:1061;;27747:13;;27740:4;:20;27736:1015;;;27785:14;27802:23;;;:17;:23;;;;;;;-1:-1:-1;;;27891:24:0;;:29;;27887:845;;28556:113;28563:6;28573:1;28563:11;28556:113;;-1:-1:-1;;;28634:6:0;28616:25;;;;:17;:25;;;;;;28556:113;;;28702:6;27543:1275;-1:-1:-1;;;27543:1275:0:o;27887:845::-;27762:989;27736:1015;28779:31;;-1:-1:-1;;;28779:31:0;;;;;;;;;;;2326:132;2234:6;;-1:-1:-1;;;;;2234:6:0;54974:10;2390:23;2382:68;;;;-1:-1:-1;;;2382:68:0;;12478:2:1;2382:68:0;;;12460:21:1;;;12497:18;;;12490:30;12556:34;12536:18;;;12529:62;12608:18;;2382:68:0;12276:356:1;61948:91:0;62000:31;62010:10;62022:8;62000:9;:31::i;3428:191::-;3521:6;;;-1:-1:-1;;;;;3538:17:0;;;-1:-1:-1;;;;;;3538:17:0;;;;;;;3571:40;;3521:6;;;3538:17;3521:6;;3571:40;;3502:16;;3571:40;3491:128;3428:191;:::o;41296:716::-;41480:88;;-1:-1:-1;;;41480:88:0;;41459:4;;-1:-1:-1;;;;;41480:45:0;;;;;:88;;54974:10;;41547:4;;41553:7;;41562:5;;41480:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41480:88:0;;;;;;;;-1:-1:-1;;41480:88:0;;;;;;;;;;;;:::i;:::-;;;41476:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41763:6;:13;41780:1;41763:18;41759:235;;41809:40;;-1:-1:-1;;;41809:40:0;;;;;;;;;;;41759:235;41952:6;41946:13;41937:6;41933:2;41929:15;41922:38;41476:529;-1:-1:-1;;;;;;41639:64:0;-1:-1:-1;;;41639:64:0;;-1:-1:-1;41476:529:0;41296:716;;;;;;:::o;55094:1582::-;55578:4;55572:11;;55585:4;55568:22;55664:17;;;;55568:22;56022:5;56004:428;56070:1;56065:3;56061:11;56054:18;;56241:2;56235:4;56231:13;56227:2;56223:22;56218:3;56210:36;56335:2;56325:13;;56392:25;56004:428;56392:25;-1:-1:-1;56462:13:0;;;-1:-1:-1;;56577:14:0;;;56639:19;;;56577:14;55094:1582;-1:-1:-1;55094:1582:0:o;48719:112::-;48796:27;48806:2;48810:8;48796:27;;;;;;;;;;;;48077:19;48083:2;48087:8;48077:5;:19::i;:::-;-1:-1:-1;;;;;48138:14:0;;;:19;48134:483;;48178:11;48192:13;48240:14;;;48273:233;48304:62;48343:1;48347:2;48351:7;;;;;;48360:5;48304:30;:62::i;:::-;48299:167;;48402:40;;-1:-1:-1;;;48402:40:0;;;;;;;;;;;48299:167;48501:3;48493:5;:11;48273:233;;48588:3;48571:13;;:20;48567:34;;48593:8;;;48567:34;48159:458;;47946:689;;;:::o;42474:2720::-;42547:20;42570:13;;;42598;;;42594:44;;42620:18;;-1:-1:-1;;;42620:18:0;;;;;;;;;;;42594:44;-1:-1:-1;;;;;43126:22:0;;;;;;:18;:22;;;;16227:2;43126:22;;;:71;;43164:32;43152:45;;43126:71;;;43440:31;;;:17;:31;;;;;-1:-1:-1;30208:15:0;;30182:24;30178:46;29777:11;29752:23;29748:41;29745:52;29735:63;;43440:173;;43675:23;;;;43440:31;;43126:22;;44440:25;43126:22;;44293:335;44708:1;44694:12;44690:20;44648:346;44749:3;44740:7;44737:16;44648:346;;44967:7;44957:8;44954:1;44927:25;44924:1;44921;44916:59;44802:1;44789:15;44648:346;;;44652:77;45027:8;45039:1;45027:13;45023:45;;45049:19;;-1:-1:-1;;;45049:19:0;;;;;;;;;;;45023:45;45085:13;:19;-1:-1:-1;38030:185:0;;;:::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:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:127::-;2749:10;2744:3;2740:20;2737:1;2730:31;2780:4;2777:1;2770:15;2804:4;2801:1;2794:15;2820:275;2891:2;2885:9;2956:2;2937:13;;-1:-1:-1;;2933:27:1;2921:40;;2991:18;2976:34;;3012:22;;;2973:62;2970:88;;;3038:18;;:::i;:::-;3074:2;3067:22;2820:275;;-1:-1:-1;2820:275:1:o;3100:407::-;3165:5;3199:18;3191:6;3188:30;3185:56;;;3221:18;;:::i;:::-;3259:57;3304:2;3283:15;;-1:-1:-1;;3279:29:1;3310:4;3275:40;3259:57;:::i;:::-;3250:66;;3339:6;3332:5;3325:21;3379:3;3370:6;3365:3;3361:16;3358:25;3355:45;;;3396:1;3393;3386:12;3355:45;3445:6;3440:3;3433:4;3426:5;3422:16;3409:43;3499:1;3492:4;3483:6;3476:5;3472:18;3468:29;3461:40;3100:407;;;;;:::o;3512:451::-;3581:6;3634:2;3622:9;3613:7;3609:23;3605:32;3602:52;;;3650:1;3647;3640:12;3602:52;3690:9;3677:23;3723:18;3715:6;3712:30;3709:50;;;3755:1;3752;3745:12;3709:50;3778:22;;3831:4;3823:13;;3819:27;-1:-1:-1;3809:55:1;;3860:1;3857;3850:12;3809:55;3883:74;3949:7;3944:2;3931:16;3926:2;3922;3918:11;3883:74;:::i;3968:186::-;4027:6;4080:2;4068:9;4059:7;4055:23;4051:32;4048:52;;;4096:1;4093;4086:12;4048:52;4119:29;4138:9;4119:29;:::i;4159:347::-;4224:6;4232;4285:2;4273:9;4264:7;4260:23;4256:32;4253:52;;;4301:1;4298;4291:12;4253:52;4324:29;4343:9;4324:29;:::i;:::-;4314:39;;4403:2;4392:9;4388:18;4375:32;4450:5;4443:13;4436:21;4429:5;4426:32;4416:60;;4472:1;4469;4462:12;4416:60;4495:5;4485:15;;;4159:347;;;;;:::o;4511:667::-;4606:6;4614;4622;4630;4683:3;4671:9;4662:7;4658:23;4654:33;4651:53;;;4700:1;4697;4690:12;4651:53;4723:29;4742:9;4723:29;:::i;:::-;4713:39;;4771:38;4805:2;4794:9;4790:18;4771:38;:::i;:::-;4761:48;;4856:2;4845:9;4841:18;4828:32;4818:42;;4911:2;4900:9;4896:18;4883:32;4938:18;4930:6;4927:30;4924:50;;;4970:1;4967;4960:12;4924:50;4993:22;;5046:4;5038:13;;5034:27;-1:-1:-1;5024:55:1;;5075:1;5072;5065:12;5024:55;5098:74;5164:7;5159:2;5146:16;5141:2;5137;5133:11;5098:74;:::i;:::-;5088:84;;;4511:667;;;;;;;:::o;5183:260::-;5251:6;5259;5312:2;5300:9;5291:7;5287:23;5283:32;5280:52;;;5328:1;5325;5318:12;5280:52;5351:29;5370:9;5351:29;:::i;:::-;5341:39;;5399:38;5433:2;5422:9;5418:18;5399:38;:::i;:::-;5389:48;;5183:260;;;;;:::o;5448:380::-;5527:1;5523:12;;;;5570;;;5591:61;;5645:4;5637:6;5633:17;5623:27;;5591:61;5698:2;5690:6;5687:14;5667:18;5664:38;5661:161;;5744:10;5739:3;5735:20;5732:1;5725:31;5779:4;5776:1;5769:15;5807:4;5804:1;5797:15;5661:161;;5448:380;;;:::o;6169:545::-;6271:2;6266:3;6263:11;6260:448;;;6307:1;6332:5;6328:2;6321:17;6377:4;6373:2;6363:19;6447:2;6435:10;6431:19;6428:1;6424:27;6418:4;6414:38;6483:4;6471:10;6468:20;6465:47;;;-1:-1:-1;6506:4:1;6465:47;6561:2;6556:3;6552:12;6549:1;6545:20;6539:4;6535:31;6525:41;;6616:82;6634:2;6627:5;6624:13;6616:82;;;6679:17;;;6660:1;6649:13;6616:82;;6890:1352;7016:3;7010:10;7043:18;7035:6;7032:30;7029:56;;;7065:18;;:::i;:::-;7094:97;7184:6;7144:38;7176:4;7170:11;7144:38;:::i;:::-;7138:4;7094:97;:::i;:::-;7246:4;;7310:2;7299:14;;7327:1;7322:663;;;;8029:1;8046:6;8043:89;;;-1:-1:-1;8098:19:1;;;8092:26;8043:89;-1:-1:-1;;6847:1:1;6843:11;;;6839:24;6835:29;6825:40;6871:1;6867:11;;;6822:57;8145:81;;7292:944;;7322:663;6116:1;6109:14;;;6153:4;6140:18;;-1:-1:-1;;7358:20:1;;;7476:236;7490:7;7487:1;7484:14;7476:236;;;7579:19;;;7573:26;7558:42;;7671:27;;;;7639:1;7627:14;;;;7506:19;;7476:236;;;7480:3;7740:6;7731:7;7728:19;7725:201;;;7801:19;;;7795:26;-1:-1:-1;;7884:1:1;7880:14;;;7896:3;7876:24;7872:37;7868:42;7853:58;7838:74;;7725:201;-1:-1:-1;;;;;7972:1:1;7956:14;;;7952:22;7939:36;;-1:-1:-1;6890:1352:1:o;8247:936::-;8342:6;8373:2;8416;8404:9;8395:7;8391:23;8387:32;8384:52;;;8432:1;8429;8422:12;8384:52;8465:9;8459:16;8494:18;8535:2;8527:6;8524:14;8521:34;;;8551:1;8548;8541:12;8521:34;8589:6;8578:9;8574:22;8564:32;;8634:7;8627:4;8623:2;8619:13;8615:27;8605:55;;8656:1;8653;8646:12;8605:55;8685:2;8679:9;8707:2;8703;8700:10;8697:36;;;8713:18;;:::i;:::-;8759:2;8756:1;8752:10;8742:20;;8782:28;8806:2;8802;8798:11;8782:28;:::i;:::-;8844:15;;;8914:11;;;8910:20;;;8875:12;;;;8942:19;;;8939:39;;;8974:1;8971;8964:12;8939:39;8998:11;;;;9018:135;9034:6;9029:3;9026:15;9018:135;;;9100:10;;9088:23;;9051:12;;;;9131;;;;9018:135;;;9172:5;8247:936;-1:-1:-1;;;;;;;;8247:936:1:o;9544:127::-;9605:10;9600:3;9596:20;9593:1;9586:31;9636:4;9633:1;9626:15;9660:4;9657:1;9650:15;9676:232;9715:3;9736:17;;;9733:140;;9795:10;9790:3;9786:20;9783:1;9776:31;9830:4;9827:1;9820:15;9858:4;9855:1;9848:15;9733:140;-1:-1:-1;9900:1:1;9889:13;;9676:232::o;10681:722::-;10731:3;10772:5;10766:12;10801:36;10827:9;10801:36;:::i;:::-;10856:1;10873:18;;;10900:133;;;;11047:1;11042:355;;;;10866:531;;10900:133;-1:-1:-1;;10933:24:1;;10921:37;;11006:14;;10999:22;10987:35;;10978:45;;;-1:-1:-1;10900:133:1;;11042:355;11073:5;11070:1;11063:16;11102:4;11147:2;11144:1;11134:16;11172:1;11186:165;11200:6;11197:1;11194:13;11186:165;;;11278:14;;11265:11;;;11258:35;11321:16;;;;11215:10;;11186:165;;;11190:3;;;11380:6;11375:3;11371:16;11364:23;;10866:531;;;;;10681:722;;;;:::o;11408:456::-;11629:3;11657:38;11691:3;11683:6;11657:38;:::i;:::-;11724:6;11718:13;11740:52;11785:6;11781:2;11774:4;11766:6;11762:17;11740:52;:::i;:::-;11808:50;11850:6;11846:2;11842:15;11834:6;11808:50;:::i;:::-;11801:57;11408:456;-1:-1:-1;;;;;;;11408:456:1:o;12637:489::-;-1:-1:-1;;;;;12906:15:1;;;12888:34;;12958:15;;12953:2;12938:18;;12931:43;13005:2;12990:18;;12983:34;;;13053:3;13048:2;13033:18;;13026:31;;;12831:4;;13074:46;;13100:19;;13092:6;13074:46;:::i;:::-;13066:54;12637:489;-1:-1:-1;;;;;;12637:489:1:o;13131:249::-;13200:6;13253:2;13241:9;13232:7;13228:23;13224:32;13221:52;;;13269:1;13266;13259:12;13221:52;13301:9;13295:16;13320:30;13344:5;13320:30;:::i

Swarm Source

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