ETH Price: $2,461.87 (-8.32%)

Token

CustomCamels (CustomCamels)
 

Overview

Max Total Supply

21 CustomCamels

Holders

15

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 CustomCamels
0x7ce26acca0512280cf5a8dd4b79f7bbc19bb1145
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:
CustomCamels

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-03-12
*/

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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


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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.13;

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


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

pragma solidity ^0.8.13;

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

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

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

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

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

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


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

pragma solidity ^0.8.13;

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

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


// File erc721a/contracts/[email protected]

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File erc721a/contracts/[email protected]

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

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

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

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

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

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

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

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

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

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

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


// File contracts/CustomCamels.sol

pragma solidity ^0.8.13;
contract CustomCamels is ERC721A, Ownable, DefaultOperatorFilterer {

    string private _customBaseURI;

    uint public price;

    mapping(address => uint256) public mintAllowance;

    constructor(string memory initialBaseURI) ERC721A("CustomCamels", "CustomCamels") {
        setBaseTokenURI(initialBaseURI);
    }

    function ownerMint(uint256 _quantity, address _target) external onlyOwner {
        _mint(_target, _quantity);
    }

    function allowanceMint(uint256 _quantity) external payable {
        require(mintAllowance[msg.sender] >= _quantity, "Insufficient allowance");
        require(msg.value >= _quantity * price, "Not enough ether sent");
        mintAllowance[msg.sender] -= _quantity;
        _mint(msg.sender, _quantity);
    }

    function setMintAllowance(uint256 _quantity, address _target) external onlyOwner {
        mintAllowance[_target] = _quantity;
    }

    function setPrice(uint256 _price) external onlyOwner {
        price = _price;
    }

    function setBaseTokenURI(string memory baseURI) public onlyOwner {
        _customBaseURI = baseURI;
    }

    function withdrawFunds() external onlyOwner {
        require(payable(owner()).send(address(this).balance), "transfer failed");
    }

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"initialBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"allowanceMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_target","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_target","type":"address"}],"name":"setMintAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162001afc38038062001afc8339810160408190526200003491620003a8565b604080518082018252600c8082526b437573746f6d43616d656c7360a01b602080840182815285518087019096529285528401528151733cc6cdda760b79bafa08df41ecfa224f810dceb6936001939290916200009491600291620002ec565b508051620000aa906003906020840190620002ec565b50506000805550620000bc3362000216565b6daaeb6d7670e522a718067333cd4e3b15620002015780156200014f57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200013057600080fd5b505af115801562000145573d6000803e3d6000fd5b5050505062000201565b6001600160a01b03821615620001a05760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000115565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001e757600080fd5b505af1158015620001fc573d6000803e3d6000fd5b505050505b506200020f90508162000268565b50620004c0565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002726200028b565b805162000287906009906020840190620002ec565b5050565b6008546001600160a01b03163314620002ea5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b828054620002fa9062000484565b90600052602060002090601f0160209004810192826200031e576000855562000369565b82601f106200033957805160ff191683800117855562000369565b8280016001018555821562000369579182015b82811115620003695782518255916020019190600101906200034c565b50620003779291506200037b565b5090565b5b808211156200037757600081556001016200037c565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215620003bc57600080fd5b82516001600160401b0380821115620003d457600080fd5b818501915085601f830112620003e957600080fd5b815181811115620003fe57620003fe62000392565b604051601f8201601f19908116603f0116810190838211818310171562000429576200042962000392565b8160405282815288868487010111156200044257600080fd5b600093505b8284101562000466578484018601518185018701529285019262000447565b82841115620004785760008684830101525b98975050505050505050565b600181811c908216806200049957607f821691505b602082108103620004ba57634e487b7160e01b600052602260045260246000fd5b50919050565b61162c80620004d06000396000f3fe6080604052600436106101815760003560e01c8063715018a6116100d1578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd1461041b578063d52c57e01461043b578063e985e9c51461045b578063f2fde38b146104a457600080fd5b8063a22cb465146103bb578063b88d4fde146103db578063c5119ff8146103ee57600080fd5b8063715018a61461031d5780637ec360c4146103325780638da5cb5b1461035257806391b7f5ed1461037057806395d89b4114610390578063a035b1fe146103a557600080fd5b806324600fc31161013e57806342842e0e1161011857806342842e0e146102b7578063551b4810146102ca5780636352211e146102dd57806370a08231146102fd57600080fd5b806324600fc31461026057806330176e131461027557806341f434341461029557600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101dd578063095ea7b31461021557806318160ddd1461022a57806323b872dd1461024d575b600080fd5b34801561019257600080fd5b506101a66101a13660046111a0565b6104c4565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b506101d0610516565b6040516101b29190611215565b3480156101e957600080fd5b506101fd6101f8366004611228565b6105a8565b6040516001600160a01b0390911681526020016101b2565b61022861022336600461125d565b6105ec565b005b34801561023657600080fd5b50600154600054035b6040519081526020016101b2565b61022861025b366004611287565b610605565b34801561026c57600080fd5b50610228610630565b34801561028157600080fd5b5061022861029036600461134f565b6106a5565b3480156102a157600080fd5b506101fd6daaeb6d7670e522a718067333cd4e81565b6102286102c5366004611287565b6106c4565b6102286102d8366004611228565b6106e9565b3480156102e957600080fd5b506101fd6102f8366004611228565b6107c7565b34801561030957600080fd5b5061023f610318366004611398565b6107d2565b34801561032957600080fd5b50610228610821565b34801561033e57600080fd5b5061022861034d3660046113b3565b610833565b34801561035e57600080fd5b506008546001600160a01b03166101fd565b34801561037c57600080fd5b5061022861038b366004611228565b610855565b34801561039c57600080fd5b506101d0610862565b3480156103b157600080fd5b5061023f600a5481565b3480156103c757600080fd5b506102286103d63660046113ed565b610871565b6102286103e9366004611424565b610885565b3480156103fa57600080fd5b5061023f610409366004611398565b600b6020526000908152604090205481565b34801561042757600080fd5b506101d0610436366004611228565b6108b2565b34801561044757600080fd5b506102286104563660046113b3565b610936565b34801561046757600080fd5b506101a66104763660046114a0565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156104b057600080fd5b506102286104bf366004611398565b610948565b60006301ffc9a760e01b6001600160e01b0319831614806104f557506380ac58cd60e01b6001600160e01b03198316145b806105105750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610525906114ca565b80601f0160208091040260200160405190810160405280929190818152602001828054610551906114ca565b801561059e5780601f106105735761010080835404028352916020019161059e565b820191906000526020600020905b81548152906001019060200180831161058157829003601f168201915b5050505050905090565b60006105b3826109be565b6105d0576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816105f6816109e5565b6106008383610a9e565b505050565b826001600160a01b038116331461061f5761061f336109e5565b61062a848484610b3e565b50505050565b610638610cd6565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f193505050506106a35760405162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b60448201526064015b60405180910390fd5b565b6106ad610cd6565b80516106c09060099060208401906110f1565b5050565b826001600160a01b03811633146106de576106de336109e5565b61062a848484610d30565b336000908152600b60205260409020548111156107415760405162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e7420616c6c6f77616e636560501b604482015260640161069a565b600a5461074e908261151a565b3410156107955760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b604482015260640161069a565b336000908152600b6020526040812080548392906107b4908490611539565b909155506107c490503382610d4b565b50565b600061051082610e49565b60006001600160a01b0382166107fb576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610829610cd6565b6106a36000610eb0565b61083b610cd6565b6001600160a01b03166000908152600b6020526040902055565b61085d610cd6565b600a55565b606060038054610525906114ca565b8161087b816109e5565b6106008383610f02565b836001600160a01b038116331461089f5761089f336109e5565b6108ab85858585610f6e565b5050505050565b60606108bd826109be565b6108da57604051630a14c4b560e41b815260040160405180910390fd5b60006108e4610fb2565b90508051600003610904576040518060200160405280600081525061092f565b8061090e84610fc1565b60405160200161091f929190611550565b6040516020818303038152906040525b9392505050565b61093e610cd6565b6106c08183610d4b565b610950610cd6565b6001600160a01b0381166109b55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161069a565b6107c481610eb0565b6000805482108015610510575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b156107c457604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a76919061157f565b6107c457604051633b79c77360e21b81526001600160a01b038216600482015260240161069a565b6000610aa9826107c7565b9050336001600160a01b03821614610ae257610ac58133610476565b610ae2576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610b4982610e49565b9050836001600160a01b0316816001600160a01b031614610b7c5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610bc957610bac8633610476565b610bc957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610bf057604051633a954ecd60e21b815260040160405180910390fd5b8015610bfb57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610c8d57600184016000818152600460205260408120549003610c8b576000548114610c8b5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6008546001600160a01b031633146106a35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161069a565b61060083838360405180602001604052806000815250610885565b6000805490829003610d705760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610e1f57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610de7565b5081600003610e4057604051622e076360e81b815260040160405180910390fd5b60005550505050565b600081600054811015610e975760008181526004602052604081205490600160e01b82169003610e95575b8060000361092f575060001901600081815260046020526040902054610e74565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f79848484610605565b6001600160a01b0383163b1561062a57610f9584848484611005565b61062a576040516368d2bf6b60e11b815260040160405180910390fd5b606060098054610525906114ca565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610fdb5750819003601f19909101908152919050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061103a90339089908890889060040161159c565b6020604051808303816000875af1925050508015611075575060408051601f3d908101601f19168201909252611072918101906115d9565b60015b6110d3573d8080156110a3576040519150601f19603f3d011682016040523d82523d6000602084013e6110a8565b606091505b5080516000036110cb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b8280546110fd906114ca565b90600052602060002090601f01602090048101928261111f5760008555611165565b82601f1061113857805160ff1916838001178555611165565b82800160010185558215611165579182015b8281111561116557825182559160200191906001019061114a565b50611171929150611175565b5090565b5b808211156111715760008155600101611176565b6001600160e01b0319811681146107c457600080fd5b6000602082840312156111b257600080fd5b813561092f8161118a565b60005b838110156111d85781810151838201526020016111c0565b8381111561062a5750506000910152565b600081518084526112018160208601602086016111bd565b601f01601f19169290920160200192915050565b60208152600061092f60208301846111e9565b60006020828403121561123a57600080fd5b5035919050565b80356001600160a01b038116811461125857600080fd5b919050565b6000806040838503121561127057600080fd5b61127983611241565b946020939093013593505050565b60008060006060848603121561129c57600080fd5b6112a584611241565b92506112b360208501611241565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156112f4576112f46112c3565b604051601f8501601f19908116603f0116810190828211818310171561131c5761131c6112c3565b8160405280935085815286868601111561133557600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561136157600080fd5b813567ffffffffffffffff81111561137857600080fd5b8201601f8101841361138957600080fd5b6110e9848235602084016112d9565b6000602082840312156113aa57600080fd5b61092f82611241565b600080604083850312156113c657600080fd5b823591506113d660208401611241565b90509250929050565b80151581146107c457600080fd5b6000806040838503121561140057600080fd5b61140983611241565b91506020830135611419816113df565b809150509250929050565b6000806000806080858703121561143a57600080fd5b61144385611241565b935061145160208601611241565b925060408501359150606085013567ffffffffffffffff81111561147457600080fd5b8501601f8101871361148557600080fd5b611494878235602084016112d9565b91505092959194509250565b600080604083850312156114b357600080fd5b6114bc83611241565b91506113d660208401611241565b600181811c908216806114de57607f821691505b6020821081036114fe57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561153457611534611504565b500290565b60008282101561154b5761154b611504565b500390565b600083516115628184602088016111bd565b8351908301906115768183602088016111bd565b01949350505050565b60006020828403121561159157600080fd5b815161092f816113df565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906115cf908301846111e9565b9695505050505050565b6000602082840312156115eb57600080fd5b815161092f8161118a56fea26469706673582212203bb6fb43f88805720c348acc372c73c136ed10ab4e13272f6a20f616b9db34c164736f6c634300080d00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003868747470733a2f2f63616d656c736e66742d6170692e6865726f6b756170702e636f6d2f6170692f637573746f6d2f6d657461646174612f0000000000000000

Deployed Bytecode

0x6080604052600436106101815760003560e01c8063715018a6116100d1578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd1461041b578063d52c57e01461043b578063e985e9c51461045b578063f2fde38b146104a457600080fd5b8063a22cb465146103bb578063b88d4fde146103db578063c5119ff8146103ee57600080fd5b8063715018a61461031d5780637ec360c4146103325780638da5cb5b1461035257806391b7f5ed1461037057806395d89b4114610390578063a035b1fe146103a557600080fd5b806324600fc31161013e57806342842e0e1161011857806342842e0e146102b7578063551b4810146102ca5780636352211e146102dd57806370a08231146102fd57600080fd5b806324600fc31461026057806330176e131461027557806341f434341461029557600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101dd578063095ea7b31461021557806318160ddd1461022a57806323b872dd1461024d575b600080fd5b34801561019257600080fd5b506101a66101a13660046111a0565b6104c4565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b506101d0610516565b6040516101b29190611215565b3480156101e957600080fd5b506101fd6101f8366004611228565b6105a8565b6040516001600160a01b0390911681526020016101b2565b61022861022336600461125d565b6105ec565b005b34801561023657600080fd5b50600154600054035b6040519081526020016101b2565b61022861025b366004611287565b610605565b34801561026c57600080fd5b50610228610630565b34801561028157600080fd5b5061022861029036600461134f565b6106a5565b3480156102a157600080fd5b506101fd6daaeb6d7670e522a718067333cd4e81565b6102286102c5366004611287565b6106c4565b6102286102d8366004611228565b6106e9565b3480156102e957600080fd5b506101fd6102f8366004611228565b6107c7565b34801561030957600080fd5b5061023f610318366004611398565b6107d2565b34801561032957600080fd5b50610228610821565b34801561033e57600080fd5b5061022861034d3660046113b3565b610833565b34801561035e57600080fd5b506008546001600160a01b03166101fd565b34801561037c57600080fd5b5061022861038b366004611228565b610855565b34801561039c57600080fd5b506101d0610862565b3480156103b157600080fd5b5061023f600a5481565b3480156103c757600080fd5b506102286103d63660046113ed565b610871565b6102286103e9366004611424565b610885565b3480156103fa57600080fd5b5061023f610409366004611398565b600b6020526000908152604090205481565b34801561042757600080fd5b506101d0610436366004611228565b6108b2565b34801561044757600080fd5b506102286104563660046113b3565b610936565b34801561046757600080fd5b506101a66104763660046114a0565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156104b057600080fd5b506102286104bf366004611398565b610948565b60006301ffc9a760e01b6001600160e01b0319831614806104f557506380ac58cd60e01b6001600160e01b03198316145b806105105750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610525906114ca565b80601f0160208091040260200160405190810160405280929190818152602001828054610551906114ca565b801561059e5780601f106105735761010080835404028352916020019161059e565b820191906000526020600020905b81548152906001019060200180831161058157829003601f168201915b5050505050905090565b60006105b3826109be565b6105d0576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816105f6816109e5565b6106008383610a9e565b505050565b826001600160a01b038116331461061f5761061f336109e5565b61062a848484610b3e565b50505050565b610638610cd6565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f193505050506106a35760405162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b60448201526064015b60405180910390fd5b565b6106ad610cd6565b80516106c09060099060208401906110f1565b5050565b826001600160a01b03811633146106de576106de336109e5565b61062a848484610d30565b336000908152600b60205260409020548111156107415760405162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e7420616c6c6f77616e636560501b604482015260640161069a565b600a5461074e908261151a565b3410156107955760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b604482015260640161069a565b336000908152600b6020526040812080548392906107b4908490611539565b909155506107c490503382610d4b565b50565b600061051082610e49565b60006001600160a01b0382166107fb576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610829610cd6565b6106a36000610eb0565b61083b610cd6565b6001600160a01b03166000908152600b6020526040902055565b61085d610cd6565b600a55565b606060038054610525906114ca565b8161087b816109e5565b6106008383610f02565b836001600160a01b038116331461089f5761089f336109e5565b6108ab85858585610f6e565b5050505050565b60606108bd826109be565b6108da57604051630a14c4b560e41b815260040160405180910390fd5b60006108e4610fb2565b90508051600003610904576040518060200160405280600081525061092f565b8061090e84610fc1565b60405160200161091f929190611550565b6040516020818303038152906040525b9392505050565b61093e610cd6565b6106c08183610d4b565b610950610cd6565b6001600160a01b0381166109b55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161069a565b6107c481610eb0565b6000805482108015610510575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b156107c457604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a76919061157f565b6107c457604051633b79c77360e21b81526001600160a01b038216600482015260240161069a565b6000610aa9826107c7565b9050336001600160a01b03821614610ae257610ac58133610476565b610ae2576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610b4982610e49565b9050836001600160a01b0316816001600160a01b031614610b7c5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610bc957610bac8633610476565b610bc957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610bf057604051633a954ecd60e21b815260040160405180910390fd5b8015610bfb57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610c8d57600184016000818152600460205260408120549003610c8b576000548114610c8b5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6008546001600160a01b031633146106a35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161069a565b61060083838360405180602001604052806000815250610885565b6000805490829003610d705760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610e1f57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610de7565b5081600003610e4057604051622e076360e81b815260040160405180910390fd5b60005550505050565b600081600054811015610e975760008181526004602052604081205490600160e01b82169003610e95575b8060000361092f575060001901600081815260046020526040902054610e74565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f79848484610605565b6001600160a01b0383163b1561062a57610f9584848484611005565b61062a576040516368d2bf6b60e11b815260040160405180910390fd5b606060098054610525906114ca565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610fdb5750819003601f19909101908152919050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061103a90339089908890889060040161159c565b6020604051808303816000875af1925050508015611075575060408051601f3d908101601f19168201909252611072918101906115d9565b60015b6110d3573d8080156110a3576040519150601f19603f3d011682016040523d82523d6000602084013e6110a8565b606091505b5080516000036110cb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b8280546110fd906114ca565b90600052602060002090601f01602090048101928261111f5760008555611165565b82601f1061113857805160ff1916838001178555611165565b82800160010185558215611165579182015b8281111561116557825182559160200191906001019061114a565b50611171929150611175565b5090565b5b808211156111715760008155600101611176565b6001600160e01b0319811681146107c457600080fd5b6000602082840312156111b257600080fd5b813561092f8161118a565b60005b838110156111d85781810151838201526020016111c0565b8381111561062a5750506000910152565b600081518084526112018160208601602086016111bd565b601f01601f19169290920160200192915050565b60208152600061092f60208301846111e9565b60006020828403121561123a57600080fd5b5035919050565b80356001600160a01b038116811461125857600080fd5b919050565b6000806040838503121561127057600080fd5b61127983611241565b946020939093013593505050565b60008060006060848603121561129c57600080fd5b6112a584611241565b92506112b360208501611241565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156112f4576112f46112c3565b604051601f8501601f19908116603f0116810190828211818310171561131c5761131c6112c3565b8160405280935085815286868601111561133557600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561136157600080fd5b813567ffffffffffffffff81111561137857600080fd5b8201601f8101841361138957600080fd5b6110e9848235602084016112d9565b6000602082840312156113aa57600080fd5b61092f82611241565b600080604083850312156113c657600080fd5b823591506113d660208401611241565b90509250929050565b80151581146107c457600080fd5b6000806040838503121561140057600080fd5b61140983611241565b91506020830135611419816113df565b809150509250929050565b6000806000806080858703121561143a57600080fd5b61144385611241565b935061145160208601611241565b925060408501359150606085013567ffffffffffffffff81111561147457600080fd5b8501601f8101871361148557600080fd5b611494878235602084016112d9565b91505092959194509250565b600080604083850312156114b357600080fd5b6114bc83611241565b91506113d660208401611241565b600181811c908216806114de57607f821691505b6020821081036114fe57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561153457611534611504565b500290565b60008282101561154b5761154b611504565b500390565b600083516115628184602088016111bd565b8351908301906115768183602088016111bd565b01949350505050565b60006020828403121561159157600080fd5b815161092f816113df565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906115cf908301846111e9565b9695505050505050565b6000602082840312156115eb57600080fd5b815161092f8161118a56fea26469706673582212203bb6fb43f88805720c348acc372c73c136ed10ab4e13272f6a20f616b9db34c164736f6c634300080d0033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003868747470733a2f2f63616d656c736e66742d6170692e6865726f6b756170702e636f6d2f6170692f637573746f6d2f6d657461646174612f0000000000000000

-----Decoded View---------------
Arg [0] : initialBaseURI (string): https://camelsnft-api.herokuapp.com/api/custom/metadata/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000038
Arg [2] : 68747470733a2f2f63616d656c736e66742d6170692e6865726f6b756170702e
Arg [3] : 636f6d2f6170692f637573746f6d2f6d657461646174612f0000000000000000


Deployed Bytecode Sourcemap

60649:2358:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27552:639;;;;;;;;;;-1:-1:-1;27552:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;27552:639:0;;;;;;;;28454:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;34945:218::-;;;;;;;;;;-1:-1:-1;34945:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;34945:218:0;1528:203:1;62236:165:0;;;;;;:::i;:::-;;:::i;:::-;;24205:323;;;;;;;;;;-1:-1:-1;24479:12:0;;24266:7;24463:13;:28;24205:323;;;2319:25:1;;;2307:2;2292:18;24205:323:0;2173:177:1;62409:171:0;;;;;;:::i;:::-;;:::i;61786:135::-;;;;;;;;;;;;;:::i;61670:108::-;;;;;;;;;;-1:-1:-1;61670:108:0;;;;;:::i;:::-;;:::i;6636:143::-;;;;;;;;;;;;6736:42;6636:143;;62588:179;;;;;;:::i;:::-;;:::i;61112:314::-;;;;;;:::i;:::-;;:::i;29847:152::-;;;;;;;;;;-1:-1:-1;29847:152:0;;;;;:::i;:::-;;:::i;25389:233::-;;;;;;;;;;-1:-1:-1;25389:233:0;;;;;:::i;:::-;;:::i;2882:103::-;;;;;;;;;;;;;:::i;61434:134::-;;;;;;;;;;-1:-1:-1;61434:134:0;;;;;:::i;:::-;;:::i;2234:87::-;;;;;;;;;;-1:-1:-1;2307:6:0;;-1:-1:-1;;;;;2307:6:0;2234:87;;61576:86;;;;;;;;;;-1:-1:-1;61576:86:0;;;;;:::i;:::-;;:::i;28630:104::-;;;;;;;;;;;;;:::i;60763:17::-;;;;;;;;;;;;;;;;62052:176;;;;;;;;;;-1:-1:-1;62052:176:0;;;;;:::i;:::-;;:::i;62775:229::-;;;;;;:::i;:::-;;:::i;60789:48::-;;;;;;;;;;-1:-1:-1;60789:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;28840:318;;;;;;;;;;-1:-1:-1;28840:318:0;;;;;:::i;:::-;;:::i;60986:118::-;;;;;;;;;;-1:-1:-1;60986:118:0;;;;;:::i;:::-;;:::i;35894:164::-;;;;;;;;;;-1:-1:-1;35894:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;36015:25:0;;;35991:4;36015:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;35894:164;3140:201;;;;;;;;;;-1:-1:-1;3140:201:0;;;;;:::i;:::-;;:::i;27552:639::-;27637:4;-1:-1:-1;;;;;;;;;27961:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;28038:25:0;;;27961:102;:179;;;-1:-1:-1;;;;;;;;;;28115:25:0;;;27961:179;27941:199;27552:639;-1:-1:-1;;27552:639:0:o;28454:100::-;28508:13;28541:5;28534:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28454:100;:::o;34945:218::-;35021:7;35046:16;35054:7;35046;:16::i;:::-;35041:64;;35071:34;;-1:-1:-1;;;35071:34:0;;;;;;;;;;;35041:64;-1:-1:-1;35125:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;35125:30:0;;34945:218::o;62236:165::-;62340:8;8157:30;8178:8;8157:20;:30::i;:::-;62361:32:::1;62375:8;62385:7;62361:13;:32::i;:::-;62236:165:::0;;;:::o;62409:171::-;62518:4;-1:-1:-1;;;;;7977:18:0;;7985:10;7977:18;7973:83;;8012:32;8033:10;8012:20;:32::i;:::-;62535:37:::1;62554:4;62560:2;62564:7;62535:18;:37::i;:::-;62409:171:::0;;;;:::o;61786:135::-;2120:13;:11;:13::i;:::-;2307:6;;61849:44:::1;::::0;-1:-1:-1;;;;;2307:6:0;;;;61871:21:::1;61849:44:::0;::::1;;;::::0;::::1;::::0;;;61871:21;2307:6;61849:44;::::1;;;;;;61841:72;;;::::0;-1:-1:-1;;;61841:72:0;;6569:2:1;61841:72:0::1;::::0;::::1;6551:21:1::0;6608:2;6588:18;;;6581:30;-1:-1:-1;;;6627:18:1;;;6620:45;6682:18;;61841:72:0::1;;;;;;;;;61786:135::o:0;61670:108::-;2120:13;:11;:13::i;:::-;61746:24;;::::1;::::0;:14:::1;::::0;:24:::1;::::0;::::1;::::0;::::1;:::i;:::-;;61670:108:::0;:::o;62588:179::-;62701:4;-1:-1:-1;;;;;7977:18:0;;7985:10;7977:18;7973:83;;8012:32;8033:10;8012:20;:32::i;:::-;62718:41:::1;62741:4;62747:2;62751:7;62718:22;:41::i;61112:314::-:0;61204:10;61190:25;;;;:13;:25;;;;;;:38;-1:-1:-1;61190:38:0;61182:73;;;;-1:-1:-1;;;61182:73:0;;6913:2:1;61182:73:0;;;6895:21:1;6952:2;6932:18;;;6925:30;-1:-1:-1;;;6971:18:1;;;6964:52;7033:18;;61182:73:0;6711:346:1;61182:73:0;61299:5;;61287:17;;:9;:17;:::i;:::-;61274:9;:30;;61266:64;;;;-1:-1:-1;;;61266:64:0;;7569:2:1;61266:64:0;;;7551:21:1;7608:2;7588:18;;;7581:30;-1:-1:-1;;;7627:18:1;;;7620:51;7688:18;;61266:64:0;7367:345:1;61266:64:0;61355:10;61341:25;;;;:13;:25;;;;;:38;;61370:9;;61341:25;:38;;61370:9;;61341:38;:::i;:::-;;;;-1:-1:-1;61390:28:0;;-1:-1:-1;61396:10:0;61408:9;61390:5;:28::i;:::-;61112:314;:::o;29847:152::-;29919:7;29962:27;29981:7;29962:18;:27::i;25389:233::-;25461:7;-1:-1:-1;;;;;25485:19:0;;25481:60;;25513:28;;-1:-1:-1;;;25513:28:0;;;;;;;;;;;25481:60;-1:-1:-1;;;;;;25559:25:0;;;;;:18;:25;;;;;;19548:13;25559:55;;25389:233::o;2882:103::-;2120:13;:11;:13::i;:::-;2947:30:::1;2974:1;2947:18;:30::i;61434:134::-:0;2120:13;:11;:13::i;:::-;-1:-1:-1;;;;;61526:22:0::1;;::::0;;;:13:::1;:22;::::0;;;;:34;61434:134::o;61576:86::-;2120:13;:11;:13::i;:::-;61640:5:::1;:14:::0;61576:86::o;28630:104::-;28686:13;28719:7;28712:14;;;;;:::i;62052:176::-;62156:8;8157:30;8178:8;8157:20;:30::i;:::-;62177:43:::1;62201:8;62211;62177:23;:43::i;62775:229::-:0;62927:4;-1:-1:-1;;;;;7977:18:0;;7985:10;7977:18;7973:83;;8012:32;8033:10;8012:20;:32::i;:::-;62949:47:::1;62972:4;62978:2;62982:7;62991:4;62949:22;:47::i;:::-;62775:229:::0;;;;;:::o;28840:318::-;28913:13;28944:16;28952:7;28944;:16::i;:::-;28939:59;;28969:29;;-1:-1:-1;;;28969:29:0;;;;;;;;;;;28939:59;29011:21;29035:10;:8;:10::i;:::-;29011:34;;29069:7;29063:21;29088:1;29063:26;:87;;;;;;;;;;;;;;;;;29116:7;29125:18;29135:7;29125:9;:18::i;:::-;29099:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;29063:87;29056:94;28840:318;-1:-1:-1;;;28840:318:0:o;60986:118::-;2120:13;:11;:13::i;:::-;61071:25:::1;61077:7;61086:9;61071:5;:25::i;3140:201::-:0;2120:13;:11;:13::i;:::-;-1:-1:-1;;;;;3229:22:0;::::1;3221:73;;;::::0;-1:-1:-1;;;3221:73:0;;8524:2:1;3221:73:0::1;::::0;::::1;8506:21:1::0;8563:2;8543:18;;;8536:30;8602:34;8582:18;;;8575:62;-1:-1:-1;;;8653:18:1;;;8646:36;8699:19;;3221:73:0::1;8322:402:1::0;3221:73:0::1;3305:28;3324:8;3305:18;:28::i;36316:282::-:0;36381:4;36471:13;;36461:7;:23;36418:153;;;;-1:-1:-1;;36522:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;36522:44:0;:49;;36316:282::o;8215:419::-;6736:42;8406:45;:49;8402:225;;8477:67;;-1:-1:-1;;;8477:67:0;;8528:4;8477:67;;;8941:34:1;-1:-1:-1;;;;;9011:15:1;;8991:18;;;8984:43;6736:42:0;;8477;;8876:18:1;;8477:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8472:144;;8572:28;;-1:-1:-1;;;8572:28:0;;-1:-1:-1;;;;;1692:32:1;;8572:28:0;;;1674:51:1;1647:18;;8572:28:0;1528:203:1;34378:408:0;34467:13;34483:16;34491:7;34483;:16::i;:::-;34467:32;-1:-1:-1;58711:10:0;-1:-1:-1;;;;;34516:28:0;;;34512:175;;34564:44;34581:5;58711:10;35894:164;:::i;34564:44::-;34559:128;;34636:35;;-1:-1:-1;;;34636:35:0;;;;;;;;;;;34559:128;34699:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;34699:35:0;-1:-1:-1;;;;;34699:35:0;;;;;;;;;34750:28;;34699:24;;34750:28;;;;;;;34456:330;34378:408;;:::o;38584:2825::-;38726:27;38756;38775:7;38756:18;:27::i;:::-;38726:57;;38841:4;-1:-1:-1;;;;;38800:45:0;38816:19;-1:-1:-1;;;;;38800:45:0;;38796:86;;38854:28;;-1:-1:-1;;;38854:28:0;;;;;;;;;;;38796:86;38896:27;37692:24;;;:15;:24;;;;;37920:26;;58711:10;37317:30;;;-1:-1:-1;;;;;37010:28:0;;37295:20;;;37292:56;39082:180;;39175:43;39192:4;58711:10;35894:164;:::i;39175:43::-;39170:92;;39227:35;;-1:-1:-1;;;39227:35:0;;;;;;;;;;;39170:92;-1:-1:-1;;;;;39279:16:0;;39275:52;;39304:23;;-1:-1:-1;;;39304:23:0;;;;;;;;;;;39275:52;39476:15;39473:160;;;39616:1;39595:19;39588:30;39473:160;-1:-1:-1;;;;;40013:24:0;;;;;;;:18;:24;;;;;;40011:26;;-1:-1:-1;;40011:26:0;;;40082:22;;;;;;;;;40080:24;;-1:-1:-1;40080:24:0;;;33236:11;33211:23;33207:41;33194:63;-1:-1:-1;;;33194:63:0;40375:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;40670:47:0;;:52;;40666:627;;40775:1;40765:11;;40743:19;40898:30;;;:17;:30;;;;;;:35;;40894:384;;41036:13;;41021:11;:28;41017:242;;41183:30;;;;:17;:30;;;;;:52;;;41017:242;40724:569;40666:627;41340:7;41336:2;-1:-1:-1;;;;;41321:27:0;41330:4;-1:-1:-1;;;;;41321:27:0;;;;;;;;;;;38715:2694;;;38584:2825;;;:::o;2399:132::-;2307:6;;-1:-1:-1;;;;;2307:6:0;58711:10;2463:23;2455:68;;;;-1:-1:-1;;;2455:68:0;;9490:2:1;2455:68:0;;;9472:21:1;;;9509:18;;;9502:30;9568:34;9548:18;;;9541:62;9620:18;;2455:68:0;9288:356:1;41505:193:0;41651:39;41668:4;41674:2;41678:7;41651:39;;;;;;;;;;;;:16;:39::i;45965:2966::-;46038:20;46061:13;;;46089;;;46085:44;;46111:18;;-1:-1:-1;;;46111:18:0;;;;;;;;;;;46085:44;-1:-1:-1;;;;;46617:22:0;;;;;;:18;:22;;;;19686:2;46617:22;;;:71;;46655:32;46643:45;;46617:71;;;46931:31;;;:17;:31;;;;;-1:-1:-1;33667:15:0;;33641:24;33637:46;33236:11;33211:23;33207:41;33204:52;33194:63;;46931:173;;47166:23;;;;46931:31;;46617:22;;47931:25;46617:22;;47784:335;48445:1;48431:12;48427:20;48385:346;48486:3;48477:7;48474:16;48385:346;;48704:7;48694:8;48691:1;48664:25;48661:1;48658;48653:59;48539:1;48526:15;48385:346;;;48389:77;48764:8;48776:1;48764:13;48760:45;;48786:19;;-1:-1:-1;;;48786:19:0;;;;;;;;;;;48760:45;48822:13;:19;-1:-1:-1;62236:165:0;;;:::o;31002:1275::-;31069:7;31104;31206:13;;31199:4;:20;31195:1015;;;31244:14;31261:23;;;:17;:23;;;;;;;-1:-1:-1;;;31350:24:0;;:29;;31346:845;;32015:113;32022:6;32032:1;32022:11;32015:113;;-1:-1:-1;;;32093:6:0;32075:25;;;;:17;:25;;;;;;32015:113;;31346:845;31221:989;31195:1015;32238:31;;-1:-1:-1;;;32238:31:0;;;;;;;;;;;3501:191;3594:6;;;-1:-1:-1;;;;;3611:17:0;;;-1:-1:-1;;;;;;3611:17:0;;;;;;;3644:40;;3594:6;;;3611:17;3594:6;;3644:40;;3575:16;;3644:40;3564:128;3501:191;:::o;35503:234::-;58711:10;35598:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;35598:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;35598:60:0;;;;;;;;;;35674:55;;540:41:1;;;35598:49:0;;58711:10;35674:55;;513:18:1;35674:55:0;;;;;;;35503:234;;:::o;42296:407::-;42471:31;42484:4;42490:2;42494:7;42471:12;:31::i;:::-;-1:-1:-1;;;;;42517:14:0;;;:19;42513:183;;42556:56;42587:4;42593:2;42597:7;42606:5;42556:30;:56::i;:::-;42551:145;;42640:40;;-1:-1:-1;;;42640:40:0;;;;;;;;;;;61929:115;61989:13;62022:14;62015:21;;;;;:::i;58831:1745::-;58896:17;59330:4;59323;59317:11;59313:22;59422:1;59416:4;59409:15;59497:4;59494:1;59490:12;59483:19;;;59579:1;59574:3;59567:14;59683:3;59922:5;59904:428;59970:1;59965:3;59961:11;59954:18;;60141:2;60135:4;60131:13;60127:2;60123:22;60118:3;60110:36;60235:2;60225:13;;60292:25;59904:428;60292:25;-1:-1:-1;60362:13:0;;;-1:-1:-1;;60477:14:0;;;60539:19;;;60477:14;58831:1745;-1:-1:-1;58831:1745:0:o;44787:716::-;44971:88;;-1:-1:-1;;;44971:88:0;;44950:4;;-1:-1:-1;;;;;44971:45:0;;;;;:88;;58711:10;;45038:4;;45044:7;;45053:5;;44971:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44971:88:0;;;;;;;;-1:-1:-1;;44971:88:0;;;;;;;;;;;;:::i;:::-;;;44967:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45254:6;:13;45271:1;45254:18;45250:235;;45300:40;;-1:-1:-1;;;45300:40:0;;;;;;;;;;;45250:235;45443:6;45437:13;45428:6;45424:2;45420:15;45413:38;44967:529;-1:-1:-1;;;;;;45130:64:0;-1:-1:-1;;;45130:64:0;;-1:-1:-1;44967:529:0;44787:716;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355: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:632;2885:5;2915:18;2956:2;2948:6;2945:14;2942:40;;;2962:18;;:::i;:::-;3037:2;3031:9;3005:2;3091:15;;-1:-1:-1;;3087:24:1;;;3113:2;3083:33;3079:42;3067:55;;;3137:18;;;3157:22;;;3134:46;3131:72;;;3183:18;;:::i;:::-;3223:10;3219:2;3212:22;3252:6;3243:15;;3282:6;3274;3267:22;3322:3;3313:6;3308:3;3304:16;3301:25;3298:45;;;3339:1;3336;3329:12;3298:45;3389:6;3384:3;3377:4;3369:6;3365:17;3352:44;3444:1;3437:4;3428:6;3420;3416:19;3412:30;3405:41;;;;2820:632;;;;;:::o;3457:451::-;3526:6;3579:2;3567:9;3558:7;3554:23;3550:32;3547:52;;;3595:1;3592;3585:12;3547:52;3635:9;3622:23;3668:18;3660:6;3657:30;3654:50;;;3700:1;3697;3690:12;3654:50;3723:22;;3776:4;3768:13;;3764:27;-1:-1:-1;3754:55:1;;3805:1;3802;3795:12;3754:55;3828:74;3894:7;3889:2;3876:16;3871:2;3867;3863:11;3828:74;:::i;4152:186::-;4211:6;4264:2;4252:9;4243:7;4239:23;4235:32;4232:52;;;4280:1;4277;4270:12;4232:52;4303:29;4322:9;4303:29;:::i;4343:254::-;4411:6;4419;4472:2;4460:9;4451:7;4447:23;4443:32;4440:52;;;4488:1;4485;4478:12;4440:52;4524:9;4511:23;4501:33;;4553:38;4587:2;4576:9;4572:18;4553:38;:::i;:::-;4543:48;;4343:254;;;;;:::o;4602:118::-;4688:5;4681:13;4674:21;4667:5;4664:32;4654:60;;4710:1;4707;4700:12;4725:315;4790:6;4798;4851:2;4839:9;4830:7;4826:23;4822:32;4819:52;;;4867:1;4864;4857:12;4819:52;4890:29;4909:9;4890:29;:::i;:::-;4880:39;;4969:2;4958:9;4954:18;4941:32;4982:28;5004:5;4982:28;:::i;:::-;5029:5;5019:15;;;4725:315;;;;;:::o;5045:667::-;5140:6;5148;5156;5164;5217:3;5205:9;5196:7;5192:23;5188:33;5185:53;;;5234:1;5231;5224:12;5185:53;5257:29;5276:9;5257:29;:::i;:::-;5247:39;;5305:38;5339:2;5328:9;5324:18;5305:38;:::i;:::-;5295:48;;5390:2;5379:9;5375:18;5362:32;5352:42;;5445:2;5434:9;5430:18;5417:32;5472:18;5464:6;5461:30;5458:50;;;5504:1;5501;5494:12;5458:50;5527:22;;5580:4;5572:13;;5568:27;-1:-1:-1;5558:55:1;;5609:1;5606;5599:12;5558:55;5632:74;5698:7;5693:2;5680:16;5675:2;5671;5667:11;5632:74;:::i;:::-;5622:84;;;5045:667;;;;;;;:::o;5717:260::-;5785:6;5793;5846:2;5834:9;5825:7;5821:23;5817:32;5814:52;;;5862:1;5859;5852:12;5814:52;5885:29;5904:9;5885:29;:::i;:::-;5875:39;;5933:38;5967:2;5956:9;5952:18;5933:38;:::i;5982:380::-;6061:1;6057:12;;;;6104;;;6125:61;;6179:4;6171:6;6167:17;6157:27;;6125:61;6232:2;6224:6;6221:14;6201:18;6198:38;6195:161;;6278:10;6273:3;6269:20;6266:1;6259:31;6313:4;6310:1;6303:15;6341:4;6338:1;6331:15;6195:161;;5982:380;;;:::o;7062:127::-;7123:10;7118:3;7114:20;7111:1;7104:31;7154:4;7151:1;7144:15;7178:4;7175:1;7168:15;7194:168;7234:7;7300:1;7296;7292:6;7288:14;7285:1;7282:21;7277:1;7270:9;7263:17;7259:45;7256:71;;;7307:18;;:::i;:::-;-1:-1:-1;7347:9:1;;7194:168::o;7717:125::-;7757:4;7785:1;7782;7779:8;7776:34;;;7790:18;;:::i;:::-;-1:-1:-1;7827:9:1;;7717:125::o;7847:470::-;8026:3;8064:6;8058:13;8080:53;8126:6;8121:3;8114:4;8106:6;8102:17;8080:53;:::i;:::-;8196:13;;8155:16;;;;8218:57;8196:13;8155:16;8252:4;8240:17;;8218:57;:::i;:::-;8291:20;;7847:470;-1:-1:-1;;;;7847:470:1:o;9038:245::-;9105:6;9158:2;9146:9;9137:7;9133:23;9129:32;9126:52;;;9174:1;9171;9164:12;9126:52;9206:9;9200:16;9225:28;9247:5;9225:28;:::i;9649:489::-;-1:-1:-1;;;;;9918:15:1;;;9900:34;;9970:15;;9965:2;9950:18;;9943:43;10017:2;10002:18;;9995:34;;;10065:3;10060:2;10045:18;;10038:31;;;9843:4;;10086:46;;10112:19;;10104:6;10086:46;:::i;:::-;10078:54;9649:489;-1:-1:-1;;;;;;9649:489:1:o;10143:249::-;10212:6;10265:2;10253:9;10244:7;10240:23;10236:32;10233:52;;;10281:1;10278;10271:12;10233:52;10313:9;10307:16;10332:30;10356:5;10332:30;:::i

Swarm Source

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