ETH Price: $3,965.24 (+1.88%)

Token

Camels (Camels)
 

Overview

Max Total Supply

8,000 Camels

Holders

2,198

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
7 Camels
0x4d0d32c718c786e5c0b97f3fb345485a01d1cefe
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:
Camels

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 2022-12-04
*/

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

// File erc721a/contracts/[email protected]

// SPDX-License-Identifier: MIT
// 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 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 @openzeppelin/contracts/utils/[email protected]

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

pragma solidity ^0.8.0;

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

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


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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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


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

// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}


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

// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}


// File contracts/Camels.sol

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


    uint public constant maxFreePresaleMints = 3;
    uint public constant maxFreePublicMints = 1;

    mapping(address => uint) presaleMinted;
    mapping(address => uint) publicMinted;

    uint public constant MAX_SUPPLY = 8000;

    uint public constant PRICE_AFTER_FREE_LIMIT = 0.005 ether;

    bool public isPresaleActive = false;
    bool public isPublicActive = false;

    bytes32 private wlRoot;

    string private _customBaseURI;

    constructor(string memory initialBaseURI, bytes32 _wlRoot) ERC721A("Camels", "Camels") {
        setBaseTokenURI(initialBaseURI);
        wlRoot = _wlRoot;
    }

    function presaleMint(bytes32[] calldata _proof, uint256 quantity) external payable{
        require(isPresaleActive, "Presale is not active");
        require(MerkleProof.verify(_proof, wlRoot, keccak256(abi.encodePacked(msg.sender))), "Invalid proof");
        require(totalSupply() + quantity <= MAX_SUPPLY, "Supply exceeded");

        uint mintedCount = presaleMinted[msg.sender];
        uint remainingFreePresale = getRemainingFreePresaleMints(mintedCount);

        if(quantity > remainingFreePresale) {
            uint paidCount = quantity - remainingFreePresale;
            require(msg.value >= paidCount * PRICE_AFTER_FREE_LIMIT , "Not enough ether sent");
        }
        presaleMinted[msg.sender] += quantity;
        _mint(msg.sender, quantity);
    }

    function publicMint(uint256 quantity) external payable {
        require(isPublicActive, "Public mint is not active");
        require(totalSupply() + quantity <= MAX_SUPPLY, "Supply exceeded");

        uint mintedCount = publicMinted[msg.sender];
        uint remainingFreePublic = getRemainingFreePublicMints(mintedCount);

        if(quantity > remainingFreePublic) {
            uint paidCount = quantity - remainingFreePublic;
            require(msg.value >= paidCount * PRICE_AFTER_FREE_LIMIT , "Not enough ether sent");
        }
        publicMinted[msg.sender] += quantity;
        _mint(msg.sender, quantity);
    }


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

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

    function getRemainingFreePublicMints(uint256 mintedCount) internal pure returns (uint256) {
        return mintedCount > maxFreePublicMints ? 0 : maxFreePublicMints - mintedCount;
    }

    function getRemainingFreePresaleMints(uint256 mintedCount) internal pure returns (uint256) {
        return mintedCount > maxFreePresaleMints ? 0 : maxFreePresaleMints - mintedCount;
    }

    function setPresaleMint(bool _presaleActive) external onlyOwner {
        isPresaleActive = _presaleActive;
    }

    function setPublicMint(bool _publicActive) external onlyOwner {
        isPublicActive = _publicActive;
    }

    function getPresaleMinted() external view returns (uint) {
        return presaleMinted[msg.sender];
    }

    function getPublicMinted() external view returns (uint) {
        return publicMinted[msg.sender];
    }

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

    function setWlRoot(bytes32 _root) external onlyOwner {
        wlRoot = _root;
    }

    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"},{"internalType":"bytes32","name":"_wlRoot","type":"bytes32"}],"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":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_AFTER_FREE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPresaleMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreePresaleMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreePublicMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","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":"bool","name":"_presaleActive","type":"bool"}],"name":"setPresaleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_publicActive","type":"bool"}],"name":"setPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setWlRoot","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"}]

6080604052600b805461ffff191690553480156200001c57600080fd5b5060405162002050380380620020508339810160408190526200003f91620003b0565b60408051808201825260068082526543616d656c7360d01b602080840182815285518087019096529285528401528151733cc6cdda760b79bafa08df41ecfa224f810dceb6936001939290916200009991600291620002f4565b508051620000af906003906020840190620002f4565b50506000805550620000c1336200021e565b6daaeb6d7670e522a718067333cd4e3b15620002065780156200015457604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200013557600080fd5b505af11580156200014a573d6000803e3d6000fd5b5050505062000206565b6001600160a01b03821615620001a55760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200011a565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001ec57600080fd5b505af115801562000201573d6000803e3d6000fd5b505050505b506200021490508262000270565b600c5550620004d1565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200027a62000293565b80516200028f90600d906020840190620002f4565b5050565b6008546001600160a01b03163314620002f25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b828054620003029062000495565b90600052602060002090601f01602090048101928262000326576000855562000371565b82601f106200034157805160ff191683800117855562000371565b8280016001018555821562000371579182015b828111156200037157825182559160200191906001019062000354565b506200037f92915062000383565b5090565b5b808211156200037f576000815560010162000384565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215620003c457600080fd5b82516001600160401b0380821115620003dc57600080fd5b818501915085601f830112620003f157600080fd5b8151818111156200040657620004066200039a565b604051601f8201601f19908116603f011681019083821181831017156200043157620004316200039a565b816040528281526020935088848487010111156200044e57600080fd5b600091505b8282101562000472578482018401518183018501529083019062000453565b82821115620004845760008484830101525b969092015195979596505050505050565b600181811c90821680620004aa57607f821691505b602082108103620004cb57634e487b7160e01b600052602260045260246000fd5b50919050565b611b6f80620004e16000396000f3fe6080604052600436106101ee5760003560e01c806370a082311161010d578063a3330d25116100a0578063bcf754bf1161006f578063bcf754bf1461051b578063c87b56dd1461053d578063e985e9c51461055d578063f2fde38b146105a6578063fde5f548146105c657600080fd5b8063a3330d25146104a9578063ad8bd82c146104c8578063b88d4fde146104e8578063bbe49bb0146104fb57600080fd5b806395d89b41116100dc57806395d89b411461044457806397a7b083146104595780639c533fa81461046e578063a22cb4651461048957600080fd5b806370a08231146103dc578063715018a6146103fc5780637bf08a83146104115780638da5cb5b1461042657600080fd5b80632db115441161018557806342842e0e1161015457806342842e0e1461036d57806360d938dc146103805780636352211e1461039a578063644fbe62146103ba57600080fd5b80632db115441461030257806330176e131461031557806332cb6b0c1461033557806341f434341461034b57600080fd5b80630e2d56cf116101c15780630e2d56cf1461029757806318160ddd146102b757806323b872dd146102da57806324600fc3146102ed57600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611627565b6105d9565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61062b565b60405161021f919061169c565b34801561025657600080fd5b5061026a6102653660046116af565b6106bd565b6040516001600160a01b03909116815260200161021f565b6102956102903660046116e4565b610701565b005b3480156102a357600080fd5b506102956102b236600461171c565b61071a565b3480156102c357600080fd5b50600154600054035b60405190815260200161021f565b6102956102e8366004611739565b61073c565b3480156102f957600080fd5b50610295610767565b6102956103103660046116af565b6107dc565b34801561032157600080fd5b50610295610330366004611801565b610949565b34801561034157600080fd5b506102cc611f4081565b34801561035757600080fd5b5061026a6daaeb6d7670e522a718067333cd4e81565b61029561037b366004611739565b610968565b34801561038c57600080fd5b50600b546102139060ff1681565b3480156103a657600080fd5b5061026a6103b53660046116af565b61098d565b3480156103c657600080fd5b50336000908152600960205260409020546102cc565b3480156103e857600080fd5b506102cc6103f736600461184a565b610998565b34801561040857600080fd5b506102956109e7565b34801561041d57600080fd5b506102cc600181565b34801561043257600080fd5b506008546001600160a01b031661026a565b34801561045057600080fd5b5061023d6109f9565b34801561046557600080fd5b506102cc600381565b34801561047a57600080fd5b506102cc6611c37937e0800081565b34801561049557600080fd5b506102956104a4366004611865565b610a08565b3480156104b557600080fd5b50600b5461021390610100900460ff1681565b3480156104d457600080fd5b506102956104e33660046116af565b610a1c565b6102956104f636600461189c565b610a29565b34801561050757600080fd5b5061029561051636600461171c565b610a56565b34801561052757600080fd5b50336000908152600a60205260409020546102cc565b34801561054957600080fd5b5061023d6105583660046116af565b610a71565b34801561056957600080fd5b50610213610578366004611918565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105b257600080fd5b506102956105c136600461184a565b610af5565b6102956105d436600461194b565b610b6e565b60006301ffc9a760e01b6001600160e01b03198316148061060a57506380ac58cd60e01b6001600160e01b03198316145b806106255750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461063a906119c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610666906119c6565b80156106b35780601f10610688576101008083540402835291602001916106b3565b820191906000526020600020905b81548152906001019060200180831161069657829003601f168201915b5050505050905090565b60006106c882610d7f565b6106e5576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b8161070b81610da6565b6107158383610e5f565b505050565b610722610eff565b600b80549115156101000261ff0019909216919091179055565b826001600160a01b03811633146107565761075633610da6565b610761848484610f59565b50505050565b61076f610eff565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f193505050506107da5760405162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b60448201526064015b60405180910390fd5b565b600b54610100900460ff166108335760405162461bcd60e51b815260206004820152601960248201527f5075626c6963206d696e74206973206e6f74206163746976650000000000000060448201526064016107d1565b611f40816108446001546000540390565b61084e9190611a16565b111561088e5760405162461bcd60e51b815260206004820152600f60248201526e14dd5c1c1b1e48195e18d959591959608a1b60448201526064016107d1565b336000908152600a6020526040812054906108a8826110f1565b90508083111561091a5760006108be8285611a2e565b90506108d16611c37937e0800082611a45565b3410156109185760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b60448201526064016107d1565b505b336000908152600a602052604081208054859290610939908490611a16565b9091555061071590503384611113565b610951610eff565b805161096490600d906020840190611578565b5050565b826001600160a01b03811633146109825761098233610da6565b610761848484611211565b60006106258261122c565b60006001600160a01b0382166109c1576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6109ef610eff565b6107da6000611293565b60606003805461063a906119c6565b81610a1281610da6565b61071583836112e5565b610a24610eff565b600c55565b836001600160a01b0381163314610a4357610a4333610da6565b610a4f85858585611351565b5050505050565b610a5e610eff565b600b805460ff1916911515919091179055565b6060610a7c82610d7f565b610a9957604051630a14c4b560e41b815260040160405180910390fd5b6000610aa3611395565b90508051600003610ac35760405180602001604052806000815250610aee565b80610acd846113a4565b604051602001610ade929190611a64565b6040516020818303038152906040525b9392505050565b610afd610eff565b6001600160a01b038116610b625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d1565b610b6b81611293565b50565b600b5460ff16610bb85760405162461bcd60e51b815260206004820152601560248201527450726573616c65206973206e6f742061637469766560581b60448201526064016107d1565b610c2d83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050604051602081830303815290604052805190602001206113e8565b610c695760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b60448201526064016107d1565b611f4081610c7a6001546000540390565b610c849190611a16565b1115610cc45760405162461bcd60e51b815260206004820152600f60248201526e14dd5c1c1b1e48195e18d959591959608a1b60448201526064016107d1565b3360009081526009602052604081205490610cde826113fe565b905080831115610d50576000610cf48285611a2e565b9050610d076611c37937e0800082611a45565b341015610d4e5760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b60448201526064016107d1565b505b3360009081526009602052604081208054859290610d6f908490611a16565b90915550610a4f90503384611113565b6000805482108015610625575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610b6b57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610e13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e379190611a93565b610b6b57604051633b79c77360e21b81526001600160a01b03821660048201526024016107d1565b6000610e6a8261098d565b9050336001600160a01b03821614610ea357610e868133610578565b610ea3576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146107da5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d1565b6000610f648261122c565b9050836001600160a01b0316816001600160a01b031614610f975760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610fe457610fc78633610578565b610fe457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661100b57604051633a954ecd60e21b815260040160405180910390fd5b801561101657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036110a8576001840160008181526004602052604081205490036110a65760005481146110a65760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60006001821161110b57611106826001611a2e565b610625565b600092915050565b60008054908290036111385760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146111e757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016111af565b508160000361120857604051622e076360e81b815260040160405180910390fd5b60005550505050565b61071583838360405180602001604052806000815250610a29565b60008160005481101561127a5760008181526004602052604081205490600160e01b82169003611278575b80600003610aee575060001901600081815260046020526040902054611257565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61135c84848461073c565b6001600160a01b0383163b156107615761137884848484611413565b610761576040516368d2bf6b60e11b815260040160405180910390fd5b6060600d805461063a906119c6565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806113be5750819003601f19909101908152919050565b6000826113f585846114ff565b14949350505050565b60006003821161110b57611106826003611a2e565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611448903390899088908890600401611ab0565b6020604051808303816000875af1925050508015611483575060408051601f3d908101601f1916820190925261148091810190611aed565b60015b6114e1573d8080156114b1576040519150601f19603f3d011682016040523d82523d6000602084013e6114b6565b606091505b5080516000036114d9576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600081815b8451811015611544576115308286838151811061152357611523611b0a565b602002602001015161154c565b91508061153c81611b20565b915050611504565b509392505050565b6000818310611568576000828152602084905260409020610aee565b5060009182526020526040902090565b828054611584906119c6565b90600052602060002090601f0160209004810192826115a657600085556115ec565b82601f106115bf57805160ff19168380011785556115ec565b828001600101855582156115ec579182015b828111156115ec5782518255916020019190600101906115d1565b506115f89291506115fc565b5090565b5b808211156115f857600081556001016115fd565b6001600160e01b031981168114610b6b57600080fd5b60006020828403121561163957600080fd5b8135610aee81611611565b60005b8381101561165f578181015183820152602001611647565b838111156107615750506000910152565b60008151808452611688816020860160208601611644565b601f01601f19169290920160200192915050565b602081526000610aee6020830184611670565b6000602082840312156116c157600080fd5b5035919050565b80356001600160a01b03811681146116df57600080fd5b919050565b600080604083850312156116f757600080fd5b611700836116c8565b946020939093013593505050565b8015158114610b6b57600080fd5b60006020828403121561172e57600080fd5b8135610aee8161170e565b60008060006060848603121561174e57600080fd5b611757846116c8565b9250611765602085016116c8565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156117a6576117a6611775565b604051601f8501601f19908116603f011681019082821181831017156117ce576117ce611775565b816040528093508581528686860111156117e757600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561181357600080fd5b813567ffffffffffffffff81111561182a57600080fd5b8201601f8101841361183b57600080fd5b6114f78482356020840161178b565b60006020828403121561185c57600080fd5b610aee826116c8565b6000806040838503121561187857600080fd5b611881836116c8565b915060208301356118918161170e565b809150509250929050565b600080600080608085870312156118b257600080fd5b6118bb856116c8565b93506118c9602086016116c8565b925060408501359150606085013567ffffffffffffffff8111156118ec57600080fd5b8501601f810187136118fd57600080fd5b61190c8782356020840161178b565b91505092959194509250565b6000806040838503121561192b57600080fd5b611934836116c8565b9150611942602084016116c8565b90509250929050565b60008060006040848603121561196057600080fd5b833567ffffffffffffffff8082111561197857600080fd5b818601915086601f83011261198c57600080fd5b81358181111561199b57600080fd5b8760208260051b85010111156119b057600080fd5b6020928301989097509590910135949350505050565b600181811c908216806119da57607f821691505b6020821081036119fa57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611a2957611a29611a00565b500190565b600082821015611a4057611a40611a00565b500390565b6000816000190483118215151615611a5f57611a5f611a00565b500290565b60008351611a76818460208801611644565b835190830190611a8a818360208801611644565b01949350505050565b600060208284031215611aa557600080fd5b8151610aee8161170e565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ae390830184611670565b9695505050505050565b600060208284031215611aff57600080fd5b8151610aee81611611565b634e487b7160e01b600052603260045260246000fd5b600060018201611b3257611b32611a00565b506001019056fea26469706673582212207f9bdf9bbd0af85648db77eb0cdbe3312d6c9fb89677e1f5f86d0e7758dd7f3464736f6c634300080d00330000000000000000000000000000000000000000000000000000000000000040d4efb7c0ccefb119b63b3456c2dd7df04c1f7d1dd23fe26ebf8d8789ef39deb2000000000000000000000000000000000000000000000000000000000000002d68747470733a2f2f63616d656c732d6170692e6f6e72656e6465722e636f6d2f6170692f6d657461646174612f00000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c806370a082311161010d578063a3330d25116100a0578063bcf754bf1161006f578063bcf754bf1461051b578063c87b56dd1461053d578063e985e9c51461055d578063f2fde38b146105a6578063fde5f548146105c657600080fd5b8063a3330d25146104a9578063ad8bd82c146104c8578063b88d4fde146104e8578063bbe49bb0146104fb57600080fd5b806395d89b41116100dc57806395d89b411461044457806397a7b083146104595780639c533fa81461046e578063a22cb4651461048957600080fd5b806370a08231146103dc578063715018a6146103fc5780637bf08a83146104115780638da5cb5b1461042657600080fd5b80632db115441161018557806342842e0e1161015457806342842e0e1461036d57806360d938dc146103805780636352211e1461039a578063644fbe62146103ba57600080fd5b80632db115441461030257806330176e131461031557806332cb6b0c1461033557806341f434341461034b57600080fd5b80630e2d56cf116101c15780630e2d56cf1461029757806318160ddd146102b757806323b872dd146102da57806324600fc3146102ed57600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611627565b6105d9565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61062b565b60405161021f919061169c565b34801561025657600080fd5b5061026a6102653660046116af565b6106bd565b6040516001600160a01b03909116815260200161021f565b6102956102903660046116e4565b610701565b005b3480156102a357600080fd5b506102956102b236600461171c565b61071a565b3480156102c357600080fd5b50600154600054035b60405190815260200161021f565b6102956102e8366004611739565b61073c565b3480156102f957600080fd5b50610295610767565b6102956103103660046116af565b6107dc565b34801561032157600080fd5b50610295610330366004611801565b610949565b34801561034157600080fd5b506102cc611f4081565b34801561035757600080fd5b5061026a6daaeb6d7670e522a718067333cd4e81565b61029561037b366004611739565b610968565b34801561038c57600080fd5b50600b546102139060ff1681565b3480156103a657600080fd5b5061026a6103b53660046116af565b61098d565b3480156103c657600080fd5b50336000908152600960205260409020546102cc565b3480156103e857600080fd5b506102cc6103f736600461184a565b610998565b34801561040857600080fd5b506102956109e7565b34801561041d57600080fd5b506102cc600181565b34801561043257600080fd5b506008546001600160a01b031661026a565b34801561045057600080fd5b5061023d6109f9565b34801561046557600080fd5b506102cc600381565b34801561047a57600080fd5b506102cc6611c37937e0800081565b34801561049557600080fd5b506102956104a4366004611865565b610a08565b3480156104b557600080fd5b50600b5461021390610100900460ff1681565b3480156104d457600080fd5b506102956104e33660046116af565b610a1c565b6102956104f636600461189c565b610a29565b34801561050757600080fd5b5061029561051636600461171c565b610a56565b34801561052757600080fd5b50336000908152600a60205260409020546102cc565b34801561054957600080fd5b5061023d6105583660046116af565b610a71565b34801561056957600080fd5b50610213610578366004611918565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105b257600080fd5b506102956105c136600461184a565b610af5565b6102956105d436600461194b565b610b6e565b60006301ffc9a760e01b6001600160e01b03198316148061060a57506380ac58cd60e01b6001600160e01b03198316145b806106255750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461063a906119c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610666906119c6565b80156106b35780601f10610688576101008083540402835291602001916106b3565b820191906000526020600020905b81548152906001019060200180831161069657829003601f168201915b5050505050905090565b60006106c882610d7f565b6106e5576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b8161070b81610da6565b6107158383610e5f565b505050565b610722610eff565b600b80549115156101000261ff0019909216919091179055565b826001600160a01b03811633146107565761075633610da6565b610761848484610f59565b50505050565b61076f610eff565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f193505050506107da5760405162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b60448201526064015b60405180910390fd5b565b600b54610100900460ff166108335760405162461bcd60e51b815260206004820152601960248201527f5075626c6963206d696e74206973206e6f74206163746976650000000000000060448201526064016107d1565b611f40816108446001546000540390565b61084e9190611a16565b111561088e5760405162461bcd60e51b815260206004820152600f60248201526e14dd5c1c1b1e48195e18d959591959608a1b60448201526064016107d1565b336000908152600a6020526040812054906108a8826110f1565b90508083111561091a5760006108be8285611a2e565b90506108d16611c37937e0800082611a45565b3410156109185760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b60448201526064016107d1565b505b336000908152600a602052604081208054859290610939908490611a16565b9091555061071590503384611113565b610951610eff565b805161096490600d906020840190611578565b5050565b826001600160a01b03811633146109825761098233610da6565b610761848484611211565b60006106258261122c565b60006001600160a01b0382166109c1576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6109ef610eff565b6107da6000611293565b60606003805461063a906119c6565b81610a1281610da6565b61071583836112e5565b610a24610eff565b600c55565b836001600160a01b0381163314610a4357610a4333610da6565b610a4f85858585611351565b5050505050565b610a5e610eff565b600b805460ff1916911515919091179055565b6060610a7c82610d7f565b610a9957604051630a14c4b560e41b815260040160405180910390fd5b6000610aa3611395565b90508051600003610ac35760405180602001604052806000815250610aee565b80610acd846113a4565b604051602001610ade929190611a64565b6040516020818303038152906040525b9392505050565b610afd610eff565b6001600160a01b038116610b625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d1565b610b6b81611293565b50565b600b5460ff16610bb85760405162461bcd60e51b815260206004820152601560248201527450726573616c65206973206e6f742061637469766560581b60448201526064016107d1565b610c2d83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050604051602081830303815290604052805190602001206113e8565b610c695760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b60448201526064016107d1565b611f4081610c7a6001546000540390565b610c849190611a16565b1115610cc45760405162461bcd60e51b815260206004820152600f60248201526e14dd5c1c1b1e48195e18d959591959608a1b60448201526064016107d1565b3360009081526009602052604081205490610cde826113fe565b905080831115610d50576000610cf48285611a2e565b9050610d076611c37937e0800082611a45565b341015610d4e5760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b60448201526064016107d1565b505b3360009081526009602052604081208054859290610d6f908490611a16565b90915550610a4f90503384611113565b6000805482108015610625575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610b6b57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610e13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e379190611a93565b610b6b57604051633b79c77360e21b81526001600160a01b03821660048201526024016107d1565b6000610e6a8261098d565b9050336001600160a01b03821614610ea357610e868133610578565b610ea3576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146107da5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d1565b6000610f648261122c565b9050836001600160a01b0316816001600160a01b031614610f975760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610fe457610fc78633610578565b610fe457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661100b57604051633a954ecd60e21b815260040160405180910390fd5b801561101657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036110a8576001840160008181526004602052604081205490036110a65760005481146110a65760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60006001821161110b57611106826001611a2e565b610625565b600092915050565b60008054908290036111385760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146111e757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016111af565b508160000361120857604051622e076360e81b815260040160405180910390fd5b60005550505050565b61071583838360405180602001604052806000815250610a29565b60008160005481101561127a5760008181526004602052604081205490600160e01b82169003611278575b80600003610aee575060001901600081815260046020526040902054611257565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61135c84848461073c565b6001600160a01b0383163b156107615761137884848484611413565b610761576040516368d2bf6b60e11b815260040160405180910390fd5b6060600d805461063a906119c6565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806113be5750819003601f19909101908152919050565b6000826113f585846114ff565b14949350505050565b60006003821161110b57611106826003611a2e565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611448903390899088908890600401611ab0565b6020604051808303816000875af1925050508015611483575060408051601f3d908101601f1916820190925261148091810190611aed565b60015b6114e1573d8080156114b1576040519150601f19603f3d011682016040523d82523d6000602084013e6114b6565b606091505b5080516000036114d9576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600081815b8451811015611544576115308286838151811061152357611523611b0a565b602002602001015161154c565b91508061153c81611b20565b915050611504565b509392505050565b6000818310611568576000828152602084905260409020610aee565b5060009182526020526040902090565b828054611584906119c6565b90600052602060002090601f0160209004810192826115a657600085556115ec565b82601f106115bf57805160ff19168380011785556115ec565b828001600101855582156115ec579182015b828111156115ec5782518255916020019190600101906115d1565b506115f89291506115fc565b5090565b5b808211156115f857600081556001016115fd565b6001600160e01b031981168114610b6b57600080fd5b60006020828403121561163957600080fd5b8135610aee81611611565b60005b8381101561165f578181015183820152602001611647565b838111156107615750506000910152565b60008151808452611688816020860160208601611644565b601f01601f19169290920160200192915050565b602081526000610aee6020830184611670565b6000602082840312156116c157600080fd5b5035919050565b80356001600160a01b03811681146116df57600080fd5b919050565b600080604083850312156116f757600080fd5b611700836116c8565b946020939093013593505050565b8015158114610b6b57600080fd5b60006020828403121561172e57600080fd5b8135610aee8161170e565b60008060006060848603121561174e57600080fd5b611757846116c8565b9250611765602085016116c8565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156117a6576117a6611775565b604051601f8501601f19908116603f011681019082821181831017156117ce576117ce611775565b816040528093508581528686860111156117e757600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561181357600080fd5b813567ffffffffffffffff81111561182a57600080fd5b8201601f8101841361183b57600080fd5b6114f78482356020840161178b565b60006020828403121561185c57600080fd5b610aee826116c8565b6000806040838503121561187857600080fd5b611881836116c8565b915060208301356118918161170e565b809150509250929050565b600080600080608085870312156118b257600080fd5b6118bb856116c8565b93506118c9602086016116c8565b925060408501359150606085013567ffffffffffffffff8111156118ec57600080fd5b8501601f810187136118fd57600080fd5b61190c8782356020840161178b565b91505092959194509250565b6000806040838503121561192b57600080fd5b611934836116c8565b9150611942602084016116c8565b90509250929050565b60008060006040848603121561196057600080fd5b833567ffffffffffffffff8082111561197857600080fd5b818601915086601f83011261198c57600080fd5b81358181111561199b57600080fd5b8760208260051b85010111156119b057600080fd5b6020928301989097509590910135949350505050565b600181811c908216806119da57607f821691505b6020821081036119fa57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611a2957611a29611a00565b500190565b600082821015611a4057611a40611a00565b500390565b6000816000190483118215151615611a5f57611a5f611a00565b500290565b60008351611a76818460208801611644565b835190830190611a8a818360208801611644565b01949350505050565b600060208284031215611aa557600080fd5b8151610aee8161170e565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ae390830184611670565b9695505050505050565b600060208284031215611aff57600080fd5b8151610aee81611611565b634e487b7160e01b600052603260045260246000fd5b600060018201611b3257611b32611a00565b506001019056fea26469706673582212207f9bdf9bbd0af85648db77eb0cdbe3312d6c9fb89677e1f5f86d0e7758dd7f3464736f6c634300080d0033

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

0000000000000000000000000000000000000000000000000000000000000040d4efb7c0ccefb119b63b3456c2dd7df04c1f7d1dd23fe26ebf8d8789ef39deb2000000000000000000000000000000000000000000000000000000000000002d68747470733a2f2f63616d656c732d6170692e6f6e72656e6465722e636f6d2f6170692f6d657461646174612f00000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initialBaseURI (string): https://camels-api.onrender.com/api/metadata/
Arg [1] : _wlRoot (bytes32): 0xd4efb7c0ccefb119b63b3456c2dd7df04c1f7d1dd23fe26ebf8d8789ef39deb2

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : d4efb7c0ccefb119b63b3456c2dd7df04c1f7d1dd23fe26ebf8d8789ef39deb2
Arg [2] : 000000000000000000000000000000000000000000000000000000000000002d
Arg [3] : 68747470733a2f2f63616d656c732d6170692e6f6e72656e6465722e636f6d2f
Arg [4] : 6170692f6d657461646174612f00000000000000000000000000000000000000


Deployed Bytecode Sourcemap

72139:4441:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18510:639;;;;;;;;;;-1:-1:-1;18510:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;18510:639:0;;;;;;;;19412:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25903:218::-;;;;;;;;;;-1:-1:-1;25903:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;25903:218:0;1528:203:1;75809:165:0;;;;;;:::i;:::-;;:::i;:::-;;75059:111;;;;;;;;;;-1:-1:-1;75059:111:0;;;;;:::i;:::-;;:::i;15163:323::-;;;;;;;;;;-1:-1:-1;15437:12:0;;15224:7;15421:13;:28;15163:323;;;2688:25:1;;;2676:2;2661:18;15163:323:0;2542:177:1;75982:171:0;;;;;;:::i;:::-;;:::i;74400:135::-;;;;;;;;;;;;;:::i;73634:640::-;;;;;;:::i;:::-;;:::i;74284:108::-;;;;;;;;;;-1:-1:-1;74284:108:0;;;;;:::i;:::-;;:::i;72405:38::-;;;;;;;;;;;;72439:4;72405:38;;54478:143;;;;;;;;;;;;54578:42;54478:143;;76161:179;;;;;;:::i;:::-;;:::i;72518:35::-;;;;;;;;;;-1:-1:-1;72518:35:0;;;;;;;;20805:152;;;;;;;;;;-1:-1:-1;20805:152:0;;;;;:::i;:::-;;:::i;75178:108::-;;;;;;;;;;-1:-1:-1;75267:10:0;75229:4;75253:25;;;:13;:25;;;;;;75178:108;;16347:233;;;;;;;;;;-1:-1:-1;16347:233:0;;;;;:::i;:::-;;:::i;59766:103::-;;;;;;;;;;;;;:::i;72262:43::-;;;;;;;;;;;;72304:1;72262:43;;59118:87;;;;;;;;;;-1:-1:-1;59191:6:0;;-1:-1:-1;;;;;59191:6:0;59118:87;;19588:104;;;;;;;;;;;;;:::i;72211:44::-;;;;;;;;;;;;72254:1;72211:44;;72452:57;;;;;;;;;;;;72498:11;72452:57;;75625:176;;;;;;;;;;-1:-1:-1;75625:176:0;;;;;:::i;:::-;;:::i;72560:34::-;;;;;;;;;;-1:-1:-1;72560:34:0;;;;;;;;;;;75531:86;;;;;;;;;;-1:-1:-1;75531:86:0;;;;;:::i;:::-;;:::i;76348:229::-;;;;;;:::i;:::-;;:::i;74936:115::-;;;;;;;;;;-1:-1:-1;74936:115:0;;;;;:::i;:::-;;:::i;75294:106::-;;;;;;;;;;-1:-1:-1;75381:10:0;75344:4;75368:24;;;:12;:24;;;;;;75294:106;;19798:318;;;;;;;;;;-1:-1:-1;19798:318:0;;;;;:::i;:::-;;:::i;26852:164::-;;;;;;;;;;-1:-1:-1;26852:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26973:25:0;;;26949:4;26973:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26852:164;60024:201;;;;;;;;;;-1:-1:-1;60024:201:0;;;;;:::i;:::-;;:::i;72844:782::-;;;;;;:::i;:::-;;:::i;18510:639::-;18595:4;-1:-1:-1;;;;;;;;;18919:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18996:25:0;;;18919:102;:179;;;-1:-1:-1;;;;;;;;;;19073:25:0;;;18919:179;18899:199;18510:639;-1:-1:-1;;18510:639:0:o;19412:100::-;19466:13;19499:5;19492:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19412:100;:::o;25903:218::-;25979:7;26004:16;26012:7;26004;:16::i;:::-;25999:64;;26029:34;;-1:-1:-1;;;26029:34:0;;;;;;;;;;;25999:64;-1:-1:-1;26083:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26083:30:0;;25903:218::o;75809:165::-;75913:8;55999:30;56020:8;55999:20;:30::i;:::-;75934:32:::1;75948:8;75958:7;75934:13;:32::i;:::-;75809:165:::0;;;:::o;75059:111::-;59004:13;:11;:13::i;:::-;75132:14:::1;:30:::0;;;::::1;;;;-1:-1:-1::0;;75132:30:0;;::::1;::::0;;;::::1;::::0;;75059:111::o;75982:171::-;76091:4;-1:-1:-1;;;;;55819:18:0;;55827:10;55819:18;55815:83;;55854:32;55875:10;55854:20;:32::i;:::-;76108:37:::1;76127:4;76133:2;76137:7;76108:18;:37::i;:::-;75982:171:::0;;;;:::o;74400:135::-;59004:13;:11;:13::i;:::-;59191:6;;74463:44:::1;::::0;-1:-1:-1;;;;;59191:6:0;;;;74485:21:::1;74463:44:::0;::::1;;;::::0;::::1;::::0;;;74485:21;59191:6;74463:44;::::1;;;;;;74455:72;;;::::0;-1:-1:-1;;;74455:72:0;;7436:2:1;74455:72:0::1;::::0;::::1;7418:21:1::0;7475:2;7455:18;;;7448:30;-1:-1:-1;;;7494:18:1;;;7487:45;7549:18;;74455:72:0::1;;;;;;;;;74400:135::o:0;73634:640::-;73708:14;;;;;;;73700:52;;;;-1:-1:-1;;;73700:52:0;;7780:2:1;73700:52:0;;;7762:21:1;7819:2;7799:18;;;7792:30;7858:27;7838:18;;;7831:55;7903:18;;73700:52:0;7578:349:1;73700:52:0;72439:4;73787:8;73771:13;15437:12;;15224:7;15421:13;:28;;15163:323;73771:13;:24;;;;:::i;:::-;:38;;73763:66;;;;-1:-1:-1;;;73763:66:0;;8399:2:1;73763:66:0;;;8381:21:1;8438:2;8418:18;;;8411:30;-1:-1:-1;;;8457:18:1;;;8450:45;8512:18;;73763:66:0;8197:339:1;73763:66:0;73874:10;73842:16;73861:24;;;:12;:24;;;;;;;73923:40;73861:24;73923:27;:40::i;:::-;73896:67;;73990:19;73979:8;:30;73976:206;;;74026:14;74043:30;74054:19;74043:8;:30;:::i;:::-;74026:47;-1:-1:-1;74109:34:0;72498:11;74026:47;74109:34;:::i;:::-;74096:9;:47;;74088:82;;;;-1:-1:-1;;;74088:82:0;;9046:2:1;74088:82:0;;;9028:21:1;9085:2;9065:18;;;9058:30;-1:-1:-1;;;9104:18:1;;;9097:51;9165:18;;74088:82:0;8844:345:1;74088:82:0;74011:171;73976:206;74205:10;74192:24;;;;:12;:24;;;;;:36;;74220:8;;74192:24;:36;;74220:8;;74192:36;:::i;:::-;;;;-1:-1:-1;74239:27:0;;-1:-1:-1;74245:10:0;74257:8;74239:5;:27::i;74284:108::-;59004:13;:11;:13::i;:::-;74360:24;;::::1;::::0;:14:::1;::::0;:24:::1;::::0;::::1;::::0;::::1;:::i;:::-;;74284:108:::0;:::o;76161:179::-;76274:4;-1:-1:-1;;;;;55819:18:0;;55827:10;55819:18;55815:83;;55854:32;55875:10;55854:20;:32::i;:::-;76291:41:::1;76314:4;76320:2;76324:7;76291:22;:41::i;20805:152::-:0;20877:7;20920:27;20939:7;20920:18;:27::i;16347:233::-;16419:7;-1:-1:-1;;;;;16443:19:0;;16439:60;;16471:28;;-1:-1:-1;;;16471:28:0;;;;;;;;;;;16439:60;-1:-1:-1;;;;;;16517:25:0;;;;;:18;:25;;;;;;10506:13;16517:55;;16347:233::o;59766:103::-;59004:13;:11;:13::i;:::-;59831:30:::1;59858:1;59831:18;:30::i;19588:104::-:0;19644:13;19677:7;19670:14;;;;;:::i;75625:176::-;75729:8;55999:30;56020:8;55999:20;:30::i;:::-;75750:43:::1;75774:8;75784;75750:23;:43::i;75531:86::-:0;59004:13;:11;:13::i;:::-;75595:6:::1;:14:::0;75531:86::o;76348:229::-;76500:4;-1:-1:-1;;;;;55819:18:0;;55827:10;55819:18;55815:83;;55854:32;55875:10;55854:20;:32::i;:::-;76522:47:::1;76545:4;76551:2;76555:7;76564:4;76522:22;:47::i;:::-;76348:229:::0;;;;;:::o;74936:115::-;59004:13;:11;:13::i;:::-;75011:15:::1;:32:::0;;-1:-1:-1;;75011:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;74936:115::o;19798:318::-;19871:13;19902:16;19910:7;19902;:16::i;:::-;19897:59;;19927:29;;-1:-1:-1;;;19927:29:0;;;;;;;;;;;19897:59;19969:21;19993:10;:8;:10::i;:::-;19969:34;;20027:7;20021:21;20046:1;20021:26;:87;;;;;;;;;;;;;;;;;20074:7;20083:18;20093:7;20083:9;:18::i;:::-;20057:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20021:87;20014:94;19798:318;-1:-1:-1;;;19798:318:0:o;60024:201::-;59004:13;:11;:13::i;:::-;-1:-1:-1;;;;;60113:22:0;::::1;60105:73;;;::::0;-1:-1:-1;;;60105:73:0;;9871:2:1;60105:73:0::1;::::0;::::1;9853:21:1::0;9910:2;9890:18;;;9883:30;9949:34;9929:18;;;9922:62;-1:-1:-1;;;10000:18:1;;;9993:36;10046:19;;60105:73:0::1;9669:402:1::0;60105:73:0::1;60189:28;60208:8;60189:18;:28::i;:::-;60024:201:::0;:::o;72844:782::-;72945:15;;;;72937:49;;;;-1:-1:-1;;;72937:49:0;;10278:2:1;72937:49:0;;;10260:21:1;10317:2;10297:18;;;10290:30;-1:-1:-1;;;10336:18:1;;;10329:51;10397:18;;72937:49:0;10076:345:1;72937:49:0;73005:75;73024:6;;73005:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;73032:6:0;;73050:28;;-1:-1:-1;;73067:10:0;10575:2:1;10571:15;10567:53;73050:28:0;;;10555:66:1;73032:6:0;;-1:-1:-1;10637:12:1;;;-1:-1:-1;73050:28:0;;;;;;;;;;;;73040:39;;;;;;73005:18;:75::i;:::-;72997:101;;;;-1:-1:-1;;;72997:101:0;;10862:2:1;72997:101:0;;;10844:21:1;10901:2;10881:18;;;10874:30;-1:-1:-1;;;10920:18:1;;;10913:43;10973:18;;72997:101:0;10660:337:1;72997:101:0;72439:4;73133:8;73117:13;15437:12;;15224:7;15421:13;:28;;15163:323;73117:13;:24;;;;:::i;:::-;:38;;73109:66;;;;-1:-1:-1;;;73109:66:0;;8399:2:1;73109:66:0;;;8381:21:1;8438:2;8418:18;;;8411:30;-1:-1:-1;;;8457:18:1;;;8450:45;8512:18;;73109:66:0;8197:339:1;73109:66:0;73221:10;73188:16;73207:25;;;:13;:25;;;;;;;73271:41;73207:25;73271:28;:41::i;:::-;73243:69;;73339:20;73328:8;:31;73325:208;;;73376:14;73393:31;73404:20;73393:8;:31;:::i;:::-;73376:48;-1:-1:-1;73460:34:0;72498:11;73376:48;73460:34;:::i;:::-;73447:9;:47;;73439:82;;;;-1:-1:-1;;;73439:82:0;;9046:2:1;73439:82:0;;;9028:21:1;9085:2;9065:18;;;9058:30;-1:-1:-1;;;9104:18:1;;;9097:51;9165:18;;73439:82:0;8844:345:1;73439:82:0;73361:172;73325:208;73557:10;73543:25;;;;:13;:25;;;;;:37;;73572:8;;73543:25;:37;;73572:8;;73543:37;:::i;:::-;;;;-1:-1:-1;73591:27:0;;-1:-1:-1;73597:10:0;73609:8;73591:5;:27::i;27274:282::-;27339:4;27429:13;;27419:7;:23;27376:153;;;;-1:-1:-1;;27480:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27480:44:0;:49;;27274:282::o;56057:419::-;54578:42;56248:45;:49;56244:225;;56319:67;;-1:-1:-1;;;56319:67:0;;56370:4;56319:67;;;11214:34:1;-1:-1:-1;;;;;11284:15:1;;11264:18;;;11257:43;54578:42:0;;56319;;11149:18:1;;56319:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56314:144;;56414:28;;-1:-1:-1;;;56414:28:0;;-1:-1:-1;;;;;1692:32:1;;56414:28:0;;;1674:51:1;1647:18;;56414:28:0;1528:203:1;25336:408:0;25425:13;25441:16;25449:7;25441;:16::i;:::-;25425:32;-1:-1:-1;49669:10:0;-1:-1:-1;;;;;25474:28:0;;;25470:175;;25522:44;25539:5;49669:10;26852:164;:::i;25522:44::-;25517:128;;25594:35;;-1:-1:-1;;;25594:35:0;;;;;;;;;;;25517:128;25657:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25657:35:0;-1:-1:-1;;;;;25657:35:0;;;;;;;;;25708:28;;25657:24;;25708:28;;;;;;;25414:330;25336:408;;:::o;59283:132::-;59191:6;;-1:-1:-1;;;;;59191:6:0;49669:10;59347:23;59339:68;;;;-1:-1:-1;;;59339:68:0;;11763:2:1;59339:68:0;;;11745:21:1;;;11782:18;;;11775:30;11841:34;11821:18;;;11814:62;11893:18;;59339:68:0;11561:356:1;29542:2825:0;29684:27;29714;29733:7;29714:18;:27::i;:::-;29684:57;;29799:4;-1:-1:-1;;;;;29758:45:0;29774:19;-1:-1:-1;;;;;29758:45:0;;29754:86;;29812:28;;-1:-1:-1;;;29812:28:0;;;;;;;;;;;29754:86;29854:27;28650:24;;;:15;:24;;;;;28878:26;;49669:10;28275:30;;;-1:-1:-1;;;;;27968:28:0;;28253:20;;;28250:56;30040:180;;30133:43;30150:4;49669:10;26852:164;:::i;30133:43::-;30128:92;;30185:35;;-1:-1:-1;;;30185:35:0;;;;;;;;;;;30128:92;-1:-1:-1;;;;;30237:16:0;;30233:52;;30262:23;;-1:-1:-1;;;30262:23:0;;;;;;;;;;;30233:52;30434:15;30431:160;;;30574:1;30553:19;30546:30;30431:160;-1:-1:-1;;;;;30971:24:0;;;;;;;:18;:24;;;;;;30969:26;;-1:-1:-1;;30969:26:0;;;31040:22;;;;;;;;;31038:24;;-1:-1:-1;31038:24:0;;;24194:11;24169:23;24165:41;24152:63;-1:-1:-1;;;24152:63:0;31333:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;31628:47:0;;:52;;31624:627;;31733:1;31723:11;;31701:19;31856:30;;;:17;:30;;;;;;:35;;31852:384;;31994:13;;31979:11;:28;31975:242;;32141:30;;;;:17;:30;;;;;:52;;;31975:242;31682:569;31624:627;32298:7;32294:2;-1:-1:-1;;;;;32279:27:0;32288:4;-1:-1:-1;;;;;32279:27:0;;;;;;;;;;;29673:2694;;;29542:2825;;;:::o;74543:187::-;74624:7;72304:1;74651:11;:32;:71;;74690:32;74711:11;72304:1;74690:32;:::i;:::-;74651:71;;;74686:1;74644:78;74543:187;-1:-1:-1;;74543:187:0:o;36923:2966::-;36996:20;37019:13;;;37047;;;37043:44;;37069:18;;-1:-1:-1;;;37069:18:0;;;;;;;;;;;37043:44;-1:-1:-1;;;;;37575:22:0;;;;;;:18;:22;;;;10644:2;37575:22;;;:71;;37613:32;37601:45;;37575:71;;;37889:31;;;:17;:31;;;;;-1:-1:-1;24625:15:0;;24599:24;24595:46;24194:11;24169:23;24165:41;24162:52;24152:63;;37889:173;;38124:23;;;;37889:31;;37575:22;;38889:25;37575:22;;38742:335;39403:1;39389:12;39385:20;39343:346;39444:3;39435:7;39432:16;39343:346;;39662:7;39652:8;39649:1;39622:25;39619:1;39616;39611:59;39497:1;39484:15;39343:346;;;39347:77;39722:8;39734:1;39722:13;39718:45;;39744:19;;-1:-1:-1;;;39744:19:0;;;;;;;;;;;39718:45;39780:13;:19;-1:-1:-1;75809:165:0;;;:::o;32463:193::-;32609:39;32626:4;32632:2;32636:7;32609:39;;;;;;;;;;;;:16;:39::i;21960:1275::-;22027:7;22062;22164:13;;22157:4;:20;22153:1015;;;22202:14;22219:23;;;:17;:23;;;;;;;-1:-1:-1;;;22308:24:0;;:29;;22304:845;;22973:113;22980:6;22990:1;22980:11;22973:113;;-1:-1:-1;;;23051:6:0;23033:25;;;;:17;:25;;;;;;22973:113;;22304:845;22179:989;22153:1015;23196:31;;-1:-1:-1;;;23196:31:0;;;;;;;;;;;60385:191;60478:6;;;-1:-1:-1;;;;;60495:17:0;;;-1:-1:-1;;;;;;60495:17:0;;;;;;;60528:40;;60478:6;;;60495:17;60478:6;;60528:40;;60459:16;;60528:40;60448:128;60385:191;:::o;26461:234::-;49669:10;26556:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26556:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26556:60:0;;;;;;;;;;26632:55;;540:41:1;;;26556:49:0;;49669:10;26632:55;;513:18:1;26632:55:0;;;;;;;26461:234;;:::o;33254:407::-;33429:31;33442:4;33448:2;33452:7;33429:12;:31::i;:::-;-1:-1:-1;;;;;33475:14:0;;;:19;33471:183;;33514:56;33545:4;33551:2;33555:7;33564:5;33514:30;:56::i;:::-;33509:145;;33598:40;;-1:-1:-1;;;33598:40:0;;;;;;;;;;;75408:115;75468:13;75501:14;75494:21;;;;;:::i;49789:1745::-;49854:17;50288:4;50281;50275:11;50271:22;50380:1;50374:4;50367:15;50455:4;50452:1;50448:12;50441:19;;;50537:1;50532:3;50525:14;50641:3;50880:5;50862:428;50928:1;50923:3;50919:11;50912:18;;51099:2;51093:4;51089:13;51085:2;51081:22;51076:3;51068:36;51193:2;51183:13;;51250:25;50862:428;51250:25;-1:-1:-1;51320:13:0;;;-1:-1:-1;;51435:14:0;;;51497:19;;;51435:14;49789:1745;-1:-1:-1;49789:1745:0:o;64573:190::-;64698:4;64751;64722:25;64735:5;64742:4;64722:12;:25::i;:::-;:33;;64573:190;-1:-1:-1;;;;64573:190:0:o;74738:::-;74820:7;72254:1;74847:11;:33;:73;;74887:33;74909:11;72254:1;74887:33;:::i;35745:716::-;35929:88;;-1:-1:-1;;;35929:88:0;;35908:4;;-1:-1:-1;;;;;35929:45:0;;;;;:88;;49669:10;;35996:4;;36002:7;;36011:5;;35929:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35929:88:0;;;;;;;;-1:-1:-1;;35929:88:0;;;;;;;;;;;;:::i;:::-;;;35925:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36212:6;:13;36229:1;36212:18;36208:235;;36258:40;;-1:-1:-1;;;36258:40:0;;;;;;;;;;;36208:235;36401:6;36395:13;36386:6;36382:2;36378:15;36371:38;35925:529;-1:-1:-1;;;;;;36088:64:0;-1:-1:-1;;;36088:64:0;;-1:-1:-1;35925:529:0;35745:716;;;;;;:::o;65440:296::-;65523:7;65566:4;65523:7;65581:118;65605:5;:12;65601:1;:16;65581:118;;;65654:33;65664:12;65678:5;65684:1;65678:8;;;;;;;;:::i;:::-;;;;;;;65654:9;:33::i;:::-;65639:48;-1:-1:-1;65619:3:0;;;;:::i;:::-;;;;65581:118;;;-1:-1:-1;65716:12:0;65440:296;-1:-1:-1;;;65440:296:0:o;71647:149::-;71710:7;71741:1;71737;:5;:51;;71872:13;71966:15;;;72002:4;71995:15;;;72049:4;72033:21;;71737:51;;;-1:-1:-1;71872:13:0;71966:15;;;72002:4;71995:15;72049:4;72033:21;;;71647:149::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;2173:118::-;2259:5;2252:13;2245:21;2238:5;2235:32;2225:60;;2281:1;2278;2271:12;2296:241;2352:6;2405:2;2393:9;2384:7;2380:23;2376:32;2373:52;;;2421:1;2418;2411:12;2373:52;2460:9;2447:23;2479:28;2501:5;2479:28;:::i;2724:328::-;2801:6;2809;2817;2870:2;2858:9;2849:7;2845:23;2841:32;2838:52;;;2886:1;2883;2876:12;2838:52;2909:29;2928:9;2909:29;:::i;:::-;2899:39;;2957:38;2991:2;2980:9;2976:18;2957:38;:::i;:::-;2947:48;;3042:2;3031:9;3027:18;3014:32;3004:42;;2724:328;;;;;:::o;3057:127::-;3118:10;3113:3;3109:20;3106:1;3099:31;3149:4;3146:1;3139:15;3173:4;3170:1;3163:15;3189:632;3254:5;3284:18;3325:2;3317:6;3314:14;3311:40;;;3331:18;;:::i;:::-;3406:2;3400:9;3374:2;3460:15;;-1:-1:-1;;3456:24:1;;;3482:2;3452:33;3448:42;3436:55;;;3506:18;;;3526:22;;;3503:46;3500:72;;;3552:18;;:::i;:::-;3592:10;3588:2;3581:22;3621:6;3612:15;;3651:6;3643;3636:22;3691:3;3682:6;3677:3;3673:16;3670:25;3667:45;;;3708:1;3705;3698:12;3667:45;3758:6;3753:3;3746:4;3738:6;3734:17;3721:44;3813:1;3806:4;3797:6;3789;3785:19;3781:30;3774:41;;;;3189:632;;;;;:::o;3826:451::-;3895:6;3948:2;3936:9;3927:7;3923:23;3919:32;3916:52;;;3964:1;3961;3954:12;3916:52;4004:9;3991:23;4037:18;4029:6;4026:30;4023:50;;;4069:1;4066;4059:12;4023:50;4092:22;;4145:4;4137:13;;4133:27;-1:-1:-1;4123:55:1;;4174:1;4171;4164:12;4123:55;4197:74;4263:7;4258:2;4245:16;4240:2;4236;4232:11;4197:74;:::i;4522:186::-;4581:6;4634:2;4622:9;4613:7;4609:23;4605:32;4602:52;;;4650:1;4647;4640:12;4602:52;4673:29;4692:9;4673:29;:::i;4713:315::-;4778:6;4786;4839:2;4827:9;4818:7;4814:23;4810:32;4807:52;;;4855:1;4852;4845:12;4807:52;4878:29;4897:9;4878:29;:::i;:::-;4868:39;;4957:2;4946:9;4942:18;4929:32;4970:28;4992:5;4970:28;:::i;:::-;5017:5;5007:15;;;4713:315;;;;;:::o;5218:667::-;5313:6;5321;5329;5337;5390:3;5378:9;5369:7;5365:23;5361:33;5358:53;;;5407:1;5404;5397:12;5358:53;5430:29;5449:9;5430:29;:::i;:::-;5420:39;;5478:38;5512:2;5501:9;5497:18;5478:38;:::i;:::-;5468:48;;5563:2;5552:9;5548:18;5535:32;5525:42;;5618:2;5607:9;5603:18;5590:32;5645:18;5637:6;5634:30;5631:50;;;5677:1;5674;5667:12;5631:50;5700:22;;5753:4;5745:13;;5741:27;-1:-1:-1;5731:55:1;;5782:1;5779;5772:12;5731:55;5805:74;5871:7;5866:2;5853:16;5848:2;5844;5840:11;5805:74;:::i;:::-;5795:84;;;5218:667;;;;;;;:::o;5890:260::-;5958:6;5966;6019:2;6007:9;5998:7;5994:23;5990:32;5987:52;;;6035:1;6032;6025:12;5987:52;6058:29;6077:9;6058:29;:::i;:::-;6048:39;;6106:38;6140:2;6129:9;6125:18;6106:38;:::i;:::-;6096:48;;5890:260;;;;;:::o;6155:689::-;6250:6;6258;6266;6319:2;6307:9;6298:7;6294:23;6290:32;6287:52;;;6335:1;6332;6325:12;6287:52;6375:9;6362:23;6404:18;6445:2;6437:6;6434:14;6431:34;;;6461:1;6458;6451:12;6431:34;6499:6;6488:9;6484:22;6474:32;;6544:7;6537:4;6533:2;6529:13;6525:27;6515:55;;6566:1;6563;6556:12;6515:55;6606:2;6593:16;6632:2;6624:6;6621:14;6618:34;;;6648:1;6645;6638:12;6618:34;6703:7;6696:4;6686:6;6683:1;6679:14;6675:2;6671:23;6667:34;6664:47;6661:67;;;6724:1;6721;6714:12;6661:67;6755:4;6747:13;;;;6779:6;;-1:-1:-1;6817:20:1;;;;6804:34;;6155:689;-1:-1:-1;;;;6155:689:1:o;6849:380::-;6928:1;6924:12;;;;6971;;;6992:61;;7046:4;7038:6;7034:17;7024:27;;6992:61;7099:2;7091:6;7088:14;7068:18;7065:38;7062:161;;7145:10;7140:3;7136:20;7133:1;7126:31;7180:4;7177:1;7170:15;7208:4;7205:1;7198:15;7062:161;;6849:380;;;:::o;7932:127::-;7993:10;7988:3;7984:20;7981:1;7974:31;8024:4;8021:1;8014:15;8048:4;8045:1;8038:15;8064:128;8104:3;8135:1;8131:6;8128:1;8125:13;8122:39;;;8141:18;;:::i;:::-;-1:-1:-1;8177:9:1;;8064:128::o;8541:125::-;8581:4;8609:1;8606;8603:8;8600:34;;;8614:18;;:::i;:::-;-1:-1:-1;8651:9:1;;8541:125::o;8671:168::-;8711:7;8777:1;8773;8769:6;8765:14;8762:1;8759:21;8754:1;8747:9;8740:17;8736:45;8733:71;;;8784:18;;:::i;:::-;-1:-1:-1;8824:9:1;;8671:168::o;9194:470::-;9373:3;9411:6;9405:13;9427:53;9473:6;9468:3;9461:4;9453:6;9449:17;9427:53;:::i;:::-;9543:13;;9502:16;;;;9565:57;9543:13;9502:16;9599:4;9587:17;;9565:57;:::i;:::-;9638:20;;9194:470;-1:-1:-1;;;;9194:470:1:o;11311:245::-;11378:6;11431:2;11419:9;11410:7;11406:23;11402:32;11399:52;;;11447:1;11444;11437:12;11399:52;11479:9;11473:16;11498:28;11520:5;11498:28;:::i;11922:489::-;-1:-1:-1;;;;;12191:15:1;;;12173:34;;12243:15;;12238:2;12223:18;;12216:43;12290:2;12275:18;;12268:34;;;12338:3;12333:2;12318:18;;12311:31;;;12116:4;;12359:46;;12385:19;;12377:6;12359:46;:::i;:::-;12351:54;11922:489;-1:-1:-1;;;;;;11922:489:1:o;12416:249::-;12485:6;12538:2;12526:9;12517:7;12513:23;12509:32;12506:52;;;12554:1;12551;12544:12;12506:52;12586:9;12580:16;12605:30;12629:5;12605:30;:::i;12670:127::-;12731:10;12726:3;12722:20;12719:1;12712:31;12762:4;12759:1;12752:15;12786:4;12783:1;12776:15;12802:135;12841:3;12862:17;;;12859:43;;12882:18;;:::i;:::-;-1:-1:-1;12929:1:1;12918:13;;12802:135::o

Swarm Source

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