ETH Price: $2,672.73 (+0.15%)

Token

Clash Of Barbarians (COB)
 

Overview

Max Total Supply

474 COB

Holders

120

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
5 COB
0xe745396413204c4202b75fb97ef12316b5c72a5a
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:
ClashOfBarbarians

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-04-08
*/

// SPDX-License-Identifier: MIT     

// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

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

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

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

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

    // ==============================
    //            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`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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
    ) external;

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

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

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

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

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

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

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


// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;


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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // 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 tokenId of the next token 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`
    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 => address) private _tokenApprovals;

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

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

    /**
     * @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 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 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 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 returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    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: 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.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view 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 auxillary 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 auxillary 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 {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly { // Cast aux without masking.
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * 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 ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * 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;
    }

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    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, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    /**
     * @dev Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = address(uint160(_packedOwnershipOf(tokenId)));
        if (to == owner) revert ApprovalToCurrentOwner();

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

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

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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 (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, 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.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.code.length != 0) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex < end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex < end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @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.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            getApproved(tokenId) == _msgSenderERC721A());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

            // 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 `_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));

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                getApproved(tokenId) == _msgSenderERC721A());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED | 
                BITMASK_NEXT_INITIALIZED;

            // 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++;
        }
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool 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))
                }
            }
        }
    }

    /**
     * @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 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 returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), 
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length, 
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for { 
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp { 
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } { // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }
            
            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

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


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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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


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

pragma solidity ^0.8.0;

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

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


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

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

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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);
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @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, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @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.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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 (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}


pragma solidity ^0.8.0;


contract ClashOfBarbarians is ERC721A, Ownable {

    using Strings for uint256;
    string private baseURI;
    uint256 public price = 0.003 ether;
    uint256 public maxPerTx = 5;
    uint256 public maxFreePerWallet = 1;
    uint256 public totalFree = 5555;
    uint256 public maxSupply = 5555;

    bool public mintEnabled = false;

    mapping(address => uint256) private _mintedFreeAmount;

    constructor() ERC721A("Clash Of Barbarians", "COB") {
        _safeMint(msg.sender, 1);
        setBaseURI("ipfs://bafybeiev3zsk3nqktyel5lyytzf4oeazfmz5zat2szedz7dy3sy3ggx3hu/");
    }

    function mint(uint256 count) external payable {
        uint256 cost = price;
        bool isFree = ((totalSupply() + count < totalFree + 1) &&
            (_mintedFreeAmount[msg.sender] + count <= maxFreePerWallet));

        if (isFree) {
            cost = 0;
        }

        require(msg.value >= count * cost, "Please send the exact amount.");
        require(totalSupply() + count < maxSupply + 1, "No more left.");
        require(mintEnabled, "Mint is not live yet.");
        require(count < maxPerTx + 1, "Max per TX reached.");
        require(tx.origin == msg.sender, "Contracts not allowed to mint.");


        if (isFree) {
            _mintedFreeAmount[msg.sender] += count;
        }

        _safeMint(msg.sender, count);
    }

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

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

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

    function setFreeAmount(uint256 amount) external onlyOwner {
        totalFree = amount;
    }

    function setFreeMaxPerWallet(uint256 _limit) public onlyOwner {
    maxFreePerWallet = _limit;
    }

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

    function flipSale() external onlyOwner {
        mintEnabled = !mintEnabled;
    }

    function withdraw() external onlyOwner {
        (bool success, ) = payable(msg.sender).call{
            value: address(this).balance
        }("");
        require(success, "Transfer failed.");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreePerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setFreeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setFreeMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052660aa87bee538000600a556005600b556001600c556115b3600d819055600e55600f805460ff191690553480156200003b57600080fd5b50604080518082018252601381527f436c617368204f662042617262617269616e730000000000000000000000000060208083019182528351808501909452600384526221a7a160e91b9084015281519192916200009c9160029162000452565b508051620000b290600390602084019062000452565b50506000805550620000c433620000fb565b620000d13360016200014d565b620000f5604051806080016040528060438152602001620020b46043913962000173565b620005e3565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200016f828260405180602001604052806000815250620001e760201b60201c565b5050565b6008546001600160a01b03163314620001d25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200016f90600990602084019062000452565b6000546001600160a01b0384166200021157604051622e076360e81b815260040160405180910390fd5b82620002305760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15620002fc575b60405182906001600160a01b03881690600090600080516020620020f7833981519152908290a46001820191620002c19060009088908762000351565b620002df576040516368d2bf6b60e11b815260040160405180910390fd5b80821062000284578260005414620002f657600080fd5b62000331565b5b6040516001830192906001600160a01b03881690600090600080516020620020f7833981519152908290a4808210620002fd575b5060009081556200034b908583866001600160e01b038516565b50505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290620003889033908990889088906004016200052b565b602060405180830381600087803b158015620003a357600080fd5b505af1925050508015620003d6575060408051601f3d908101601f19168201909252620003d391810190620004f8565b60015b62000435573d80801562000407576040519150601f19603f3d011682016040523d82523d6000602084013e6200040c565b606091505b5080516200042d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b8280546200046090620005a6565b90600052602060002090601f016020900481019282620004845760008555620004cf565b82601f106200049f57805160ff1916838001178555620004cf565b82800160010185558215620004cf579182015b82811115620004cf578251825591602001919060010190620004b2565b50620004dd929150620004e1565b5090565b5b80821115620004dd5760008155600101620004e2565b6000602082840312156200050b57600080fd5b81516001600160e01b0319811681146200052457600080fd5b9392505050565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b828110156200057a5785810182015185820160a0015281016200055c565b828111156200058d57600060a084870101525b5050601f01601f19169190910160a00195945050505050565b600181811c90821680620005bb57607f821691505b60208210811415620005dd57634e487b7160e01b600052602260045260246000fd5b50919050565b611ac180620005f36000396000f3fe6080604052600436106101cd5760003560e01c80638da5cb5b116100f7578063a702735711610095578063d5abeb0111610064578063d5abeb01146104e7578063e985e9c5146104fd578063f2fde38b14610546578063f968adbe1461056657600080fd5b8063a702735714610477578063b88d4fde1461048d578063c87b56dd146104ad578063d1239730146104cd57600080fd5b806395d89b41116100d157806395d89b4114610419578063a035b1fe1461042e578063a0712d6814610444578063a22cb4651461045757600080fd5b80638da5cb5b146103bb57806391b7f5ed146103d957806392910eec146103f957600080fd5b8063351de26e1161016f5780636352211e1161013e5780636352211e1461035157806370a0823114610371578063715018a6146103915780637ba5e621146103a657600080fd5b8063351de26e146102dc5780633ccfd60b146102fc57806342842e0e1461031157806355f804b31461033157600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461028357806323b872dd146102a6578063333e44e6146102c657600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611701565b61057c565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105ce565b6040516101fe91906118dd565b34801561023557600080fd5b50610249610244366004611784565b610660565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c3660046116d7565b6106a4565b005b34801561028f57600080fd5b50600154600054035b6040519081526020016101fe565b3480156102b257600080fd5b506102816102c13660046115e3565b610777565b3480156102d257600080fd5b50610298600d5481565b3480156102e857600080fd5b506102816102f7366004611784565b610787565b34801561030857600080fd5b506102816107bf565b34801561031d57600080fd5b5061028161032c3660046115e3565b610877565b34801561033d57600080fd5b5061028161034c36600461173b565b610892565b34801561035d57600080fd5b5061024961036c366004611784565b6108d3565b34801561037d57600080fd5b5061029861038c366004611595565b6108de565b34801561039d57600080fd5b5061028161092d565b3480156103b257600080fd5b50610281610963565b3480156103c757600080fd5b506008546001600160a01b0316610249565b3480156103e557600080fd5b506102816103f4366004611784565b6109a1565b34801561040557600080fd5b50610281610414366004611784565b6109d0565b34801561042557600080fd5b5061021c6109ff565b34801561043a57600080fd5b50610298600a5481565b610281610452366004611784565b610a0e565b34801561046357600080fd5b5061028161047236600461169b565b610c4c565b34801561048357600080fd5b50610298600c5481565b34801561049957600080fd5b506102816104a836600461161f565b610ce2565b3480156104b957600080fd5b5061021c6104c8366004611784565b610d2c565b3480156104d957600080fd5b50600f546101f29060ff1681565b3480156104f357600080fd5b50610298600e5481565b34801561050957600080fd5b506101f26105183660046115b0565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561055257600080fd5b50610281610561366004611595565b610dcd565b34801561057257600080fd5b50610298600b5481565b60006301ffc9a760e01b6001600160e01b0319831614806105ad57506380ac58cd60e01b6001600160e01b03198316145b806105c85750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105dd906119b3565b80601f0160208091040260200160405190810160405280929190818152602001828054610609906119b3565b80156106565780601f1061062b57610100808354040283529160200191610656565b820191906000526020600020905b81548152906001019060200180831161063957829003601f168201915b5050505050905090565b600061066b82610e65565b610688576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106af82610e8c565b9050806001600160a01b0316836001600160a01b031614156106e45760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461071b576106fe8133610518565b61071b576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610782838383610ef4565b505050565b6008546001600160a01b031633146107ba5760405162461bcd60e51b81526004016107b1906118f0565b60405180910390fd5b600c55565b6008546001600160a01b031633146107e95760405162461bcd60e51b81526004016107b1906118f0565b604051600090339047908381818185875af1925050503d806000811461082b576040519150601f19603f3d011682016040523d82523d6000602084013e610830565b606091505b50509050806108745760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016107b1565b50565b61078283838360405180602001604052806000815250610ce2565b6008546001600160a01b031633146108bc5760405162461bcd60e51b81526004016107b1906118f0565b80516108cf90600990602084019061146a565b5050565b60006105c882610e8c565b60006001600160a01b038216610907576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146109575760405162461bcd60e51b81526004016107b1906118f0565b6109616000611097565b565b6008546001600160a01b0316331461098d5760405162461bcd60e51b81526004016107b1906118f0565b600f805460ff19811660ff90911615179055565b6008546001600160a01b031633146109cb5760405162461bcd60e51b81526004016107b1906118f0565b600a55565b6008546001600160a01b031633146109fa5760405162461bcd60e51b81526004016107b1906118f0565b600d55565b6060600380546105dd906119b3565b600a54600d54600090610a22906001611925565b83610a306001546000540390565b610a3a9190611925565b108015610a635750600c5433600090815260106020526040902054610a60908590611925565b11155b90508015610a7057600091505b610a7a8284611951565b341015610ac95760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e00000060448201526064016107b1565b600e54610ad7906001611925565b83610ae56001546000540390565b610aef9190611925565b10610b2c5760405162461bcd60e51b815260206004820152600d60248201526c27379036b7b932903632b33a1760991b60448201526064016107b1565b600f5460ff16610b765760405162461bcd60e51b815260206004820152601560248201527426b4b73a1034b9903737ba103634bb32903cb2ba1760591b60448201526064016107b1565b600b54610b84906001611925565b8310610bc85760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b60448201526064016107b1565b323314610c175760405162461bcd60e51b815260206004820152601e60248201527f436f6e747261637473206e6f7420616c6c6f77656420746f206d696e742e000060448201526064016107b1565b8015610c42573360009081526010602052604081208054859290610c3c908490611925565b90915550505b61078233846110e9565b6001600160a01b038216331415610c765760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ced848484610ef4565b6001600160a01b0383163b15610d2657610d0984848484611103565b610d26576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610d3782610e65565b610d9b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107b1565b6009610da6836111fb565b604051602001610db79291906117e5565b6040516020818303038152906040529050919050565b6008546001600160a01b03163314610df75760405162461bcd60e51b81526004016107b1906118f0565b6001600160a01b038116610e5c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107b1565b61087481611097565b60008054821080156105c8575050600090815260046020526040902054600160e01b161590565b600081600054811015610edb57600081815260046020526040902054600160e01b8116610ed9575b80610ed2575060001901600081815260046020526040902054610eb4565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610eff82610e8c565b9050836001600160a01b0316816001600160a01b031614610f325760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610f505750610f508533610518565b80610f6b575033610f6084610660565b6001600160a01b0316145b905080610f8b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610fb257604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b86178117909155821661104f576001830160008181526004602052604090205461104d57600054811461104d5760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108cf8282604051806020016040528060008152506112f9565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111389033908990889088906004016118a0565b602060405180830381600087803b15801561115257600080fd5b505af1925050508015611182575060408051601f3d908101601f1916820190925261117f9181019061171e565b60015b6111dd573d8080156111b0576040519150601f19603f3d011682016040523d82523d6000602084013e6111b5565b606091505b5080516111d5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608161121f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156112495780611233816119ee565b91506112429050600a8361193d565b9150611223565b60008167ffffffffffffffff81111561126457611264611a5f565b6040519080825280601f01601f19166020018201604052801561128e576020820181803683370190505b5090505b84156111f3576112a3600183611970565b91506112b0600a86611a09565b6112bb906030611925565b60f81b8183815181106112d0576112d0611a49565b60200101906001600160f81b031916908160001a9053506112f2600a8661193d565b9450611292565b6000546001600160a01b03841661132257604051622e076360e81b815260040160405180910390fd5b826113405760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611415575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46113de6000878480600101955087611103565b6113fb576040516368d2bf6b60e11b815260040160405180910390fd5b80821061139357826000541461141057600080fd5b61145a565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611416575b506000908155610d269085838684565b828054611476906119b3565b90600052602060002090601f01602090048101928261149857600085556114de565b82601f106114b157805160ff19168380011785556114de565b828001600101855582156114de579182015b828111156114de5782518255916020019190600101906114c3565b506114ea9291506114ee565b5090565b5b808211156114ea57600081556001016114ef565b600067ffffffffffffffff8084111561151e5761151e611a5f565b604051601f8501601f19908116603f0116810190828211818310171561154657611546611a5f565b8160405280935085815286868601111561155f57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461159057600080fd5b919050565b6000602082840312156115a757600080fd5b610ed282611579565b600080604083850312156115c357600080fd5b6115cc83611579565b91506115da60208401611579565b90509250929050565b6000806000606084860312156115f857600080fd5b61160184611579565b925061160f60208501611579565b9150604084013590509250925092565b6000806000806080858703121561163557600080fd5b61163e85611579565b935061164c60208601611579565b925060408501359150606085013567ffffffffffffffff81111561166f57600080fd5b8501601f8101871361168057600080fd5b61168f87823560208401611503565b91505092959194509250565b600080604083850312156116ae57600080fd5b6116b783611579565b9150602083013580151581146116cc57600080fd5b809150509250929050565b600080604083850312156116ea57600080fd5b6116f383611579565b946020939093013593505050565b60006020828403121561171357600080fd5b8135610ed281611a75565b60006020828403121561173057600080fd5b8151610ed281611a75565b60006020828403121561174d57600080fd5b813567ffffffffffffffff81111561176457600080fd5b8201601f8101841361177557600080fd5b6111f384823560208401611503565b60006020828403121561179657600080fd5b5035919050565b600081518084526117b5816020860160208601611987565b601f01601f19169290920160200192915050565b600081516117db818560208601611987565b9290920192915050565b600080845481600182811c91508083168061180157607f831692505b602080841082141561182157634e487b7160e01b86526022600452602486fd5b818015611835576001811461184657611873565b60ff19861689528489019650611873565b60008b81526020902060005b8681101561186b5781548b820152908501908301611852565b505084890196505b50505050505061189761188682866117c9565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118d39083018461179d565b9695505050505050565b602081526000610ed2602083018461179d565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561193857611938611a1d565b500190565b60008261194c5761194c611a33565b500490565b600081600019048311821515161561196b5761196b611a1d565b500290565b60008282101561198257611982611a1d565b500390565b60005b838110156119a257818101518382015260200161198a565b83811115610d265750506000910152565b600181811c908216806119c757607f821691505b602082108114156119e857634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611a0257611a02611a1d565b5060010190565b600082611a1857611a18611a33565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461087457600080fdfea2646970667358221220f45b5ca495c368ab277ddd5231f9c9cea31af5fdb89d13918c6cf8fcb570f02264736f6c63430008070033697066733a2f2f626166796265696576337a736b336e716b7479656c356c7979747a66346f65617a666d7a357a617432737a65647a376479337379336767783368752fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c80638da5cb5b116100f7578063a702735711610095578063d5abeb0111610064578063d5abeb01146104e7578063e985e9c5146104fd578063f2fde38b14610546578063f968adbe1461056657600080fd5b8063a702735714610477578063b88d4fde1461048d578063c87b56dd146104ad578063d1239730146104cd57600080fd5b806395d89b41116100d157806395d89b4114610419578063a035b1fe1461042e578063a0712d6814610444578063a22cb4651461045757600080fd5b80638da5cb5b146103bb57806391b7f5ed146103d957806392910eec146103f957600080fd5b8063351de26e1161016f5780636352211e1161013e5780636352211e1461035157806370a0823114610371578063715018a6146103915780637ba5e621146103a657600080fd5b8063351de26e146102dc5780633ccfd60b146102fc57806342842e0e1461031157806355f804b31461033157600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461028357806323b872dd146102a6578063333e44e6146102c657600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611701565b61057c565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105ce565b6040516101fe91906118dd565b34801561023557600080fd5b50610249610244366004611784565b610660565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c3660046116d7565b6106a4565b005b34801561028f57600080fd5b50600154600054035b6040519081526020016101fe565b3480156102b257600080fd5b506102816102c13660046115e3565b610777565b3480156102d257600080fd5b50610298600d5481565b3480156102e857600080fd5b506102816102f7366004611784565b610787565b34801561030857600080fd5b506102816107bf565b34801561031d57600080fd5b5061028161032c3660046115e3565b610877565b34801561033d57600080fd5b5061028161034c36600461173b565b610892565b34801561035d57600080fd5b5061024961036c366004611784565b6108d3565b34801561037d57600080fd5b5061029861038c366004611595565b6108de565b34801561039d57600080fd5b5061028161092d565b3480156103b257600080fd5b50610281610963565b3480156103c757600080fd5b506008546001600160a01b0316610249565b3480156103e557600080fd5b506102816103f4366004611784565b6109a1565b34801561040557600080fd5b50610281610414366004611784565b6109d0565b34801561042557600080fd5b5061021c6109ff565b34801561043a57600080fd5b50610298600a5481565b610281610452366004611784565b610a0e565b34801561046357600080fd5b5061028161047236600461169b565b610c4c565b34801561048357600080fd5b50610298600c5481565b34801561049957600080fd5b506102816104a836600461161f565b610ce2565b3480156104b957600080fd5b5061021c6104c8366004611784565b610d2c565b3480156104d957600080fd5b50600f546101f29060ff1681565b3480156104f357600080fd5b50610298600e5481565b34801561050957600080fd5b506101f26105183660046115b0565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561055257600080fd5b50610281610561366004611595565b610dcd565b34801561057257600080fd5b50610298600b5481565b60006301ffc9a760e01b6001600160e01b0319831614806105ad57506380ac58cd60e01b6001600160e01b03198316145b806105c85750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105dd906119b3565b80601f0160208091040260200160405190810160405280929190818152602001828054610609906119b3565b80156106565780601f1061062b57610100808354040283529160200191610656565b820191906000526020600020905b81548152906001019060200180831161063957829003601f168201915b5050505050905090565b600061066b82610e65565b610688576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106af82610e8c565b9050806001600160a01b0316836001600160a01b031614156106e45760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461071b576106fe8133610518565b61071b576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610782838383610ef4565b505050565b6008546001600160a01b031633146107ba5760405162461bcd60e51b81526004016107b1906118f0565b60405180910390fd5b600c55565b6008546001600160a01b031633146107e95760405162461bcd60e51b81526004016107b1906118f0565b604051600090339047908381818185875af1925050503d806000811461082b576040519150601f19603f3d011682016040523d82523d6000602084013e610830565b606091505b50509050806108745760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016107b1565b50565b61078283838360405180602001604052806000815250610ce2565b6008546001600160a01b031633146108bc5760405162461bcd60e51b81526004016107b1906118f0565b80516108cf90600990602084019061146a565b5050565b60006105c882610e8c565b60006001600160a01b038216610907576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146109575760405162461bcd60e51b81526004016107b1906118f0565b6109616000611097565b565b6008546001600160a01b0316331461098d5760405162461bcd60e51b81526004016107b1906118f0565b600f805460ff19811660ff90911615179055565b6008546001600160a01b031633146109cb5760405162461bcd60e51b81526004016107b1906118f0565b600a55565b6008546001600160a01b031633146109fa5760405162461bcd60e51b81526004016107b1906118f0565b600d55565b6060600380546105dd906119b3565b600a54600d54600090610a22906001611925565b83610a306001546000540390565b610a3a9190611925565b108015610a635750600c5433600090815260106020526040902054610a60908590611925565b11155b90508015610a7057600091505b610a7a8284611951565b341015610ac95760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e00000060448201526064016107b1565b600e54610ad7906001611925565b83610ae56001546000540390565b610aef9190611925565b10610b2c5760405162461bcd60e51b815260206004820152600d60248201526c27379036b7b932903632b33a1760991b60448201526064016107b1565b600f5460ff16610b765760405162461bcd60e51b815260206004820152601560248201527426b4b73a1034b9903737ba103634bb32903cb2ba1760591b60448201526064016107b1565b600b54610b84906001611925565b8310610bc85760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b60448201526064016107b1565b323314610c175760405162461bcd60e51b815260206004820152601e60248201527f436f6e747261637473206e6f7420616c6c6f77656420746f206d696e742e000060448201526064016107b1565b8015610c42573360009081526010602052604081208054859290610c3c908490611925565b90915550505b61078233846110e9565b6001600160a01b038216331415610c765760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ced848484610ef4565b6001600160a01b0383163b15610d2657610d0984848484611103565b610d26576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610d3782610e65565b610d9b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107b1565b6009610da6836111fb565b604051602001610db79291906117e5565b6040516020818303038152906040529050919050565b6008546001600160a01b03163314610df75760405162461bcd60e51b81526004016107b1906118f0565b6001600160a01b038116610e5c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107b1565b61087481611097565b60008054821080156105c8575050600090815260046020526040902054600160e01b161590565b600081600054811015610edb57600081815260046020526040902054600160e01b8116610ed9575b80610ed2575060001901600081815260046020526040902054610eb4565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610eff82610e8c565b9050836001600160a01b0316816001600160a01b031614610f325760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610f505750610f508533610518565b80610f6b575033610f6084610660565b6001600160a01b0316145b905080610f8b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610fb257604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b86178117909155821661104f576001830160008181526004602052604090205461104d57600054811461104d5760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108cf8282604051806020016040528060008152506112f9565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111389033908990889088906004016118a0565b602060405180830381600087803b15801561115257600080fd5b505af1925050508015611182575060408051601f3d908101601f1916820190925261117f9181019061171e565b60015b6111dd573d8080156111b0576040519150601f19603f3d011682016040523d82523d6000602084013e6111b5565b606091505b5080516111d5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608161121f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156112495780611233816119ee565b91506112429050600a8361193d565b9150611223565b60008167ffffffffffffffff81111561126457611264611a5f565b6040519080825280601f01601f19166020018201604052801561128e576020820181803683370190505b5090505b84156111f3576112a3600183611970565b91506112b0600a86611a09565b6112bb906030611925565b60f81b8183815181106112d0576112d0611a49565b60200101906001600160f81b031916908160001a9053506112f2600a8661193d565b9450611292565b6000546001600160a01b03841661132257604051622e076360e81b815260040160405180910390fd5b826113405760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611415575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46113de6000878480600101955087611103565b6113fb576040516368d2bf6b60e11b815260040160405180910390fd5b80821061139357826000541461141057600080fd5b61145a565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611416575b506000908155610d269085838684565b828054611476906119b3565b90600052602060002090601f01602090048101928261149857600085556114de565b82601f106114b157805160ff19168380011785556114de565b828001600101855582156114de579182015b828111156114de5782518255916020019190600101906114c3565b506114ea9291506114ee565b5090565b5b808211156114ea57600081556001016114ef565b600067ffffffffffffffff8084111561151e5761151e611a5f565b604051601f8501601f19908116603f0116810190828211818310171561154657611546611a5f565b8160405280935085815286868601111561155f57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461159057600080fd5b919050565b6000602082840312156115a757600080fd5b610ed282611579565b600080604083850312156115c357600080fd5b6115cc83611579565b91506115da60208401611579565b90509250929050565b6000806000606084860312156115f857600080fd5b61160184611579565b925061160f60208501611579565b9150604084013590509250925092565b6000806000806080858703121561163557600080fd5b61163e85611579565b935061164c60208601611579565b925060408501359150606085013567ffffffffffffffff81111561166f57600080fd5b8501601f8101871361168057600080fd5b61168f87823560208401611503565b91505092959194509250565b600080604083850312156116ae57600080fd5b6116b783611579565b9150602083013580151581146116cc57600080fd5b809150509250929050565b600080604083850312156116ea57600080fd5b6116f383611579565b946020939093013593505050565b60006020828403121561171357600080fd5b8135610ed281611a75565b60006020828403121561173057600080fd5b8151610ed281611a75565b60006020828403121561174d57600080fd5b813567ffffffffffffffff81111561176457600080fd5b8201601f8101841361177557600080fd5b6111f384823560208401611503565b60006020828403121561179657600080fd5b5035919050565b600081518084526117b5816020860160208601611987565b601f01601f19169290920160200192915050565b600081516117db818560208601611987565b9290920192915050565b600080845481600182811c91508083168061180157607f831692505b602080841082141561182157634e487b7160e01b86526022600452602486fd5b818015611835576001811461184657611873565b60ff19861689528489019650611873565b60008b81526020902060005b8681101561186b5781548b820152908501908301611852565b505084890196505b50505050505061189761188682866117c9565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118d39083018461179d565b9695505050505050565b602081526000610ed2602083018461179d565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561193857611938611a1d565b500190565b60008261194c5761194c611a33565b500490565b600081600019048311821515161561196b5761196b611a1d565b500290565b60008282101561198257611982611a1d565b500390565b60005b838110156119a257818101518382015260200161198a565b83811115610d265750506000910152565b600181811c908216806119c757607f821691505b602082108114156119e857634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611a0257611a02611a1d565b5060010190565b600082611a1857611a18611a33565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461087457600080fdfea2646970667358221220f45b5ca495c368ab277ddd5231f9c9cea31af5fdb89d13918c6cf8fcb570f02264736f6c63430008070033

Deployed Bytecode Sourcemap

76551:2569:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13108:615;;;;;;;;;;-1:-1:-1;13108:615:0;;;;;:::i;:::-;;:::i;:::-;;;6995:14:1;;6988:22;6970:41;;6958:2;6943:18;13108:615:0;;;;;;;;18121:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;20189:204::-;;;;;;;;;;-1:-1:-1;20189:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6293:32:1;;;6275:51;;6263:2;6248:18;20189:204:0;6129:203:1;19649:474:0;;;;;;;;;;-1:-1:-1;19649:474:0;;;;;:::i;:::-;;:::i;:::-;;12162:315;;;;;;;;;;-1:-1:-1;12428:12:0;;12215:7;12412:13;:28;12162:315;;;10678:25:1;;;10666:2;10651:18;12162:315:0;10532:177:1;21075:170:0;;;;;;;;;;-1:-1:-1;21075:170:0;;;;;:::i;:::-;;:::i;76785:31::-;;;;;;;;;;;;;;;;78609:102;;;;;;;;;;-1:-1:-1;78609:102:0;;;;;:::i;:::-;;:::i;78911:206::-;;;;;;;;;;;;;:::i;21316:185::-;;;;;;;;;;-1:-1:-1;21316:185:0;;;;;:::i;:::-;;:::i;78410:88::-;;;;;;;;;;-1:-1:-1;78410:88:0;;;;;:::i;:::-;;:::i;17910:144::-;;;;;;;;;;-1:-1:-1;17910:144:0;;;;;:::i;:::-;;:::i;13787:224::-;;;;;;;;;;-1:-1:-1;13787:224:0;;;;;:::i;:::-;;:::i;43629:103::-;;;;;;;;;;;;;:::i;78819:84::-;;;;;;;;;;;;;:::i;42978:87::-;;;;;;;;;;-1:-1:-1;43051:6:0;;-1:-1:-1;;;;;43051:6:0;42978:87;;78719:92;;;;;;;;;;-1:-1:-1;78719:92:0;;;;;:::i;:::-;;:::i;78506:95::-;;;;;;;;;;-1:-1:-1;78506:95:0;;;;;:::i;:::-;;:::i;18290:104::-;;;;;;;;;;;;;:::i;76668:34::-;;;;;;;;;;;;;;;;77160:768;;;;;;:::i;:::-;;:::i;20465:308::-;;;;;;;;;;-1:-1:-1;20465:308:0;;;;;:::i;:::-;;:::i;76743:35::-;;;;;;;;;;;;;;;;21572:396;;;;;;;;;;-1:-1:-1;21572:396:0;;;;;:::i;:::-;;:::i;78052:350::-;;;;;;;;;;-1:-1:-1;78052:350:0;;;;;:::i;:::-;;:::i;76863:31::-;;;;;;;;;;-1:-1:-1;76863:31:0;;;;;;;;76823;;;;;;;;;;;;;;;;20844:164;;;;;;;;;;-1:-1:-1;20844:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;20965:25:0;;;20941:4;20965:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;20844:164;43887:201;;;;;;;;;;-1:-1:-1;43887:201:0;;;;;:::i;:::-;;:::i;76709:27::-;;;;;;;;;;;;;;;;13108:615;13193:4;-1:-1:-1;;;;;;;;;13493:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;13570:25:0;;;13493:102;:179;;;-1:-1:-1;;;;;;;;;;13647:25:0;;;13493:179;13473:199;13108:615;-1:-1:-1;;13108:615:0:o;18121:100::-;18175:13;18208:5;18201:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18121:100;:::o;20189:204::-;20257:7;20282:16;20290:7;20282;:16::i;:::-;20277:64;;20307:34;;-1:-1:-1;;;20307:34:0;;;;;;;;;;;20277:64;-1:-1:-1;20361:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;20361:24:0;;20189:204::o;19649:474::-;19722:13;19754:27;19773:7;19754:18;:27::i;:::-;19722:61;;19804:5;-1:-1:-1;;;;;19798:11:0;:2;-1:-1:-1;;;;;19798:11:0;;19794:48;;;19818:24;;-1:-1:-1;;;19818:24:0;;;;;;;;;;;19794:48;36292:10;-1:-1:-1;;;;;19859:28:0;;;19855:175;;19907:44;19924:5;36292:10;20844:164;:::i;19907:44::-;19902:128;;19979:35;;-1:-1:-1;;;19979:35:0;;;;;;;;;;;19902:128;20042:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;20042:29:0;-1:-1:-1;;;;;20042:29:0;;;;;;;;;20087:28;;20042:24;;20087:28;;;;;;;19711:412;19649:474;;:::o;21075:170::-;21209:28;21219:4;21225:2;21229:7;21209:9;:28::i;:::-;21075:170;;;:::o;78609:102::-;43051:6;;-1:-1:-1;;;;;43051:6:0;36292:10;43198:23;43190:68;;;;-1:-1:-1;;;43190:68:0;;;;;;;:::i;:::-;;;;;;;;;78678:16:::1;:25:::0;78609:102::o;78911:206::-;43051:6;;-1:-1:-1;;;;;43051:6:0;36292:10;43198:23;43190:68;;;;-1:-1:-1;;;43190:68:0;;;;;;;:::i;:::-;78980:82:::1;::::0;78962:12:::1;::::0;78988:10:::1;::::0;79026:21:::1;::::0;78962:12;78980:82;78962:12;78980:82;79026:21;78988:10;78980:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78961:101;;;79081:7;79073:36;;;::::0;-1:-1:-1;;;79073:36:0;;10041:2:1;79073:36:0::1;::::0;::::1;10023:21:1::0;10080:2;10060:18;;;10053:30;-1:-1:-1;;;10099:18:1;;;10092:46;10155:18;;79073:36:0::1;9839:340:1::0;79073:36:0::1;78950:167;78911:206::o:0;21316:185::-;21454:39;21471:4;21477:2;21481:7;21454:39;;;;;;;;;;;;:16;:39::i;78410:88::-;43051:6;;-1:-1:-1;;;;;43051:6:0;36292:10;43198:23;43190:68;;;;-1:-1:-1;;;43190:68:0;;;;;;;:::i;:::-;78477:13;;::::1;::::0;:7:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;;78410:88:::0;:::o;17910:144::-;17974:7;18017:27;18036:7;18017:18;:27::i;13787:224::-;13851:7;-1:-1:-1;;;;;13875:19:0;;13871:60;;13903:28;;-1:-1:-1;;;13903:28:0;;;;;;;;;;;13871:60;-1:-1:-1;;;;;;13949:25:0;;;;;:18;:25;;;;;;9126:13;13949:54;;13787:224::o;43629:103::-;43051:6;;-1:-1:-1;;;;;43051:6:0;36292:10;43198:23;43190:68;;;;-1:-1:-1;;;43190:68:0;;;;;;;:::i;:::-;43694:30:::1;43721:1;43694:18;:30::i;:::-;43629:103::o:0;78819:84::-;43051:6;;-1:-1:-1;;;;;43051:6:0;36292:10;43198:23;43190:68;;;;-1:-1:-1;;;43190:68:0;;;;;;;:::i;:::-;78884:11:::1;::::0;;-1:-1:-1;;78869:26:0;::::1;78884:11;::::0;;::::1;78883:12;78869:26;::::0;;78819:84::o;78719:92::-;43051:6;;-1:-1:-1;;;;;43051:6:0;36292:10;43198:23;43190:68;;;;-1:-1:-1;;;43190:68:0;;;;;;;:::i;:::-;78786:5:::1;:17:::0;78719:92::o;78506:95::-;43051:6;;-1:-1:-1;;;;;43051:6:0;36292:10;43198:23;43190:68;;;;-1:-1:-1;;;43190:68:0;;;;;;;:::i;:::-;78575:9:::1;:18:::0;78506:95::o;18290:104::-;18346:13;18379:7;18372:14;;;;;:::i;77160:768::-;77232:5;;77288:9;;77217:12;;77288:13;;77300:1;77288:13;:::i;:::-;77280:5;77264:13;12428:12;;12215:7;12412:13;:28;;12162:315;77264:13;:21;;;;:::i;:::-;:37;77263:115;;;;-1:-1:-1;77361:16:0;;77338:10;77320:29;;;;:17;:29;;;;;;:37;;77352:5;;77320:37;:::i;:::-;:57;;77263:115;77248:131;;77396:6;77392:47;;;77426:1;77419:8;;77392:47;77472:12;77480:4;77472:5;:12;:::i;:::-;77459:9;:25;;77451:67;;;;-1:-1:-1;;;77451:67:0;;9683:2:1;77451:67:0;;;9665:21:1;9722:2;9702:18;;;9695:30;9761:31;9741:18;;;9734:59;9810:18;;77451:67:0;9481:353:1;77451:67:0;77561:9;;:13;;77573:1;77561:13;:::i;:::-;77553:5;77537:13;12428:12;;12215:7;12412:13;:28;;12162:315;77537:13;:21;;;;:::i;:::-;:37;77529:63;;;;-1:-1:-1;;;77529:63:0;;7448:2:1;77529:63:0;;;7430:21:1;7487:2;7467:18;;;7460:30;-1:-1:-1;;;7506:18:1;;;7499:43;7559:18;;77529:63:0;7246:337:1;77529:63:0;77611:11;;;;77603:45;;;;-1:-1:-1;;;77603:45:0;;8197:2:1;77603:45:0;;;8179:21:1;8236:2;8216:18;;;8209:30;-1:-1:-1;;;8255:18:1;;;8248:51;8316:18;;77603:45:0;7995:345:1;77603:45:0;77675:8;;:12;;77686:1;77675:12;:::i;:::-;77667:5;:20;77659:52;;;;-1:-1:-1;;;77659:52:0;;10386:2:1;77659:52:0;;;10368:21:1;10425:2;10405:18;;;10398:30;-1:-1:-1;;;10444:18:1;;;10437:49;10503:18;;77659:52:0;10184:343:1;77659:52:0;77730:9;77743:10;77730:23;77722:66;;;;-1:-1:-1;;;77722:66:0;;8547:2:1;77722:66:0;;;8529:21:1;8586:2;8566:18;;;8559:30;8625:32;8605:18;;;8598:60;8675:18;;77722:66:0;8345:354:1;77722:66:0;77807:6;77803:77;;;77848:10;77830:29;;;;:17;:29;;;;;:38;;77863:5;;77830:29;:38;;77863:5;;77830:38;:::i;:::-;;;;-1:-1:-1;;77803:77:0;77892:28;77902:10;77914:5;77892:9;:28::i;20465:308::-;-1:-1:-1;;;;;20564:31:0;;36292:10;20564:31;20560:61;;;20604:17;;-1:-1:-1;;;20604:17:0;;;;;;;;;;;20560:61;36292:10;20634:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;20634:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;20634:60:0;;;;;;;;;;20710:55;;6970:41:1;;;20634:49:0;;36292:10;20710:55;;6943:18:1;20710:55:0;;;;;;;20465:308;;:::o;21572:396::-;21739:28;21749:4;21755:2;21759:7;21739:9;:28::i;:::-;-1:-1:-1;;;;;21782:14:0;;;:19;21778:183;;21821:56;21852:4;21858:2;21862:7;21871:5;21821:30;:56::i;:::-;21816:145;;21905:40;;-1:-1:-1;;;21905:40:0;;;;;;;;;;;21816:145;21572:396;;;;:::o;78052:350::-;78170:13;78223:16;78231:7;78223;:16::i;:::-;78201:113;;;;-1:-1:-1;;;78201:113:0;;9267:2:1;78201:113:0;;;9249:21:1;9306:2;9286:18;;;9279:30;9345:34;9325:18;;;9318:62;-1:-1:-1;;;9396:18:1;;;9389:45;9451:19;;78201:113:0;9065:411:1;78201:113:0;78356:7;78365:18;:7;:16;:18::i;:::-;78339:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;78325:69;;78052:350;;;:::o;43887:201::-;43051:6;;-1:-1:-1;;;;;43051:6:0;36292:10;43198:23;43190:68;;;;-1:-1:-1;;;43190:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;43976:22:0;::::1;43968:73;;;::::0;-1:-1:-1;;;43968:73:0;;7790:2:1;43968:73:0::1;::::0;::::1;7772:21:1::0;7829:2;7809:18;;;7802:30;7868:34;7848:18;;;7841:62;-1:-1:-1;;;7919:18:1;;;7912:36;7965:19;;43968:73:0::1;7588:402:1::0;43968:73:0::1;44052:28;44071:8;44052:18;:28::i;22223:273::-:0;22280:4;22370:13;;22360:7;:23;22317:152;;;;-1:-1:-1;;22421:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;22421:43:0;:48;;22223:273::o;15425:1129::-;15492:7;15527;15629:13;;15622:4;:20;15618:869;;;15667:14;15684:23;;;:17;:23;;;;;;-1:-1:-1;;;15773:23:0;;15769:699;;16292:113;16299:11;16292:113;;-1:-1:-1;;;16370:6:0;16352:25;;;;:17;:25;;;;;;16292:113;;;16438:6;15425:1129;-1:-1:-1;;;15425:1129:0:o;15769:699::-;15644:843;15618:869;16515:31;;-1:-1:-1;;;16515:31:0;;;;;;;;;;;27462:2515;27577:27;27607;27626:7;27607:18;:27::i;:::-;27577:57;;27692:4;-1:-1:-1;;;;;27651:45:0;27667:19;-1:-1:-1;;;;;27651:45:0;;27647:86;;27705:28;;-1:-1:-1;;;27705:28:0;;;;;;;;;;;27647:86;27746:22;36292:10;-1:-1:-1;;;;;27772:27:0;;;;:87;;-1:-1:-1;27816:43:0;27833:4;36292:10;20844:164;:::i;27816:43::-;27772:147;;;-1:-1:-1;36292:10:0;27876:20;27888:7;27876:11;:20::i;:::-;-1:-1:-1;;;;;27876:43:0;;27772:147;27746:174;;27938:17;27933:66;;27964:35;;-1:-1:-1;;;27964:35:0;;;;;;;;;;;27933:66;-1:-1:-1;;;;;28014:16:0;;28010:52;;28039:23;;-1:-1:-1;;;28039:23:0;;;;;;;;;;;28010:52;28191:24;;;;:15;:24;;;;;;;;28184:31;;-1:-1:-1;;;;;;28184:31:0;;;-1:-1:-1;;;;;28583:24:0;;;;;:18;:24;;;;;28581:26;;-1:-1:-1;;28581:26:0;;;28652:22;;;;;;;28650:24;;-1:-1:-1;28650:24:0;;;28945:26;;;:17;:26;;;;;-1:-1:-1;;;29033:15:0;9780:3;29033:41;28991:84;;:128;;28945:174;;;29239:46;;29235:626;;29343:1;29333:11;;29311:19;29466:30;;;:17;:30;;;;;;29462:384;;29604:13;;29589:11;:28;29585:242;;29751:30;;;;:17;:30;;;;;:52;;;29585:242;29292:569;29235:626;29908:7;29904:2;-1:-1:-1;;;;;29889:27:0;29898:4;-1:-1:-1;;;;;29889:27:0;;;;;;;;;;;27566:2411;;27462:2515;;;:::o;44248:191::-;44341:6;;;-1:-1:-1;;;;;44358:17:0;;;-1:-1:-1;;;;;;44358:17:0;;;;;;;44391:40;;44341:6;;;44358:17;44341:6;;44391:40;;44322:16;;44391:40;44311:128;44248:191;:::o;22580:104::-;22649:27;22659:2;22663:8;22649:27;;;;;;;;;;;;:9;:27::i;33674:716::-;33858:88;;-1:-1:-1;;;33858:88:0;;33837:4;;-1:-1:-1;;;;;33858:45:0;;;;;:88;;36292:10;;33925:4;;33931:7;;33940:5;;33858:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33858:88:0;;;;;;;;-1:-1:-1;;33858:88:0;;;;;;;;;;;;:::i;:::-;;;33854:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34141:13:0;;34137:235;;34187:40;;-1:-1:-1;;;34187:40:0;;;;;;;;;;;34137:235;34330:6;34324:13;34315:6;34311:2;34307:15;34300:38;33854:529;-1:-1:-1;;;;;;34017:64:0;-1:-1:-1;;;34017:64:0;;-1:-1:-1;33854:529:0;33674:716;;;;;;:::o;38850:723::-;38906:13;39127:10;39123:53;;-1:-1:-1;;39154:10:0;;;;;;;;;;;;-1:-1:-1;;;39154:10:0;;;;;38850:723::o;39123:53::-;39201:5;39186:12;39242:78;39249:9;;39242:78;;39275:8;;;;:::i;:::-;;-1:-1:-1;39298:10:0;;-1:-1:-1;39306:2:0;39298:10;;:::i;:::-;;;39242:78;;;39330:19;39362:6;39352:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39352:17:0;;39330:39;;39380:154;39387:10;;39380:154;;39414:11;39424:1;39414:11;;:::i;:::-;;-1:-1:-1;39483:10:0;39491:2;39483:5;:10;:::i;:::-;39470:24;;:2;:24;:::i;:::-;39457:39;;39440:6;39447;39440:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;39440:56:0;;;;;;;;-1:-1:-1;39511:11:0;39520:2;39511:11;;:::i;:::-;;;39380:154;;23057:2236;23180:20;23203:13;-1:-1:-1;;;;;23231:16:0;;23227:48;;23256:19;;-1:-1:-1;;;23256:19:0;;;;;;;;;;;23227:48;23290:13;23286:44;;23312:18;;-1:-1:-1;;;23312:18:0;;;;;;;;;;;23286:44;-1:-1:-1;;;;;23879:22:0;;;;;;:18;:22;;;;9263:2;23879:22;;;:70;;23917:31;23905:44;;23879:70;;;24192:31;;;:17;:31;;;;;24285:15;9780:3;24285:41;24243:84;;-1:-1:-1;24363:13:0;;10043:3;24348:56;24243:162;24192:213;;:31;;24486:23;;;;24530:14;:19;24526:635;;24570:313;24601:38;;24626:12;;-1:-1:-1;;;;;24601:38:0;;;24618:1;;24601:38;;24618:1;;24601:38;24667:69;24706:1;24710:2;24714:14;;;;;;24730:5;24667:30;:69::i;:::-;24662:174;;24772:40;;-1:-1:-1;;;24772:40:0;;;;;;;;;;;24662:174;24878:3;24863:12;:18;24570:313;;24964:12;24947:13;;:29;24943:43;;24978:8;;;24943:43;24526:635;;;25027:119;25058:40;;25083:14;;;;;-1:-1:-1;;;;;25058:40:0;;;25075:1;;25058:40;;25075:1;;25058:40;25141:3;25126:12;:18;25027:119;;24526:635;-1:-1:-1;25175:13:0;:28;;;25225:60;;25258:2;25262:12;25276:8;25225:60;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:1;;3858:180;-1:-1:-1;3858:180:1:o;4043:257::-;4084:3;4122:5;4116:12;4149:6;4144:3;4137:19;4165:63;4221:6;4214:4;4209:3;4205:14;4198:4;4191:5;4187:16;4165:63;:::i;:::-;4282:2;4261:15;-1:-1:-1;;4257:29:1;4248:39;;;;4289:4;4244:50;;4043:257;-1:-1:-1;;4043:257:1:o;4305:185::-;4347:3;4385:5;4379:12;4400:52;4445:6;4440:3;4433:4;4426:5;4422:16;4400:52;:::i;:::-;4468:16;;;;;4305:185;-1:-1:-1;;4305:185:1:o;4613:1301::-;4890:3;4919:1;4952:6;4946:13;4982:3;5004:1;5032:9;5028:2;5024:18;5014:28;;5092:2;5081:9;5077:18;5114;5104:61;;5158:4;5150:6;5146:17;5136:27;;5104:61;5184:2;5232;5224:6;5221:14;5201:18;5198:38;5195:165;;;-1:-1:-1;;;5259:33:1;;5315:4;5312:1;5305:15;5345:4;5266:3;5333:17;5195:165;5376:18;5403:104;;;;5521:1;5516:320;;;;5369:467;;5403:104;-1:-1:-1;;5436:24:1;;5424:37;;5481:16;;;;-1:-1:-1;5403:104:1;;5516:320;10787:1;10780:14;;;10824:4;10811:18;;5611:1;5625:165;5639:6;5636:1;5633:13;5625:165;;;5717:14;;5704:11;;;5697:35;5760:16;;;;5654:10;;5625:165;;;5629:3;;5819:6;5814:3;5810:16;5803:23;;5369:467;;;;;;;5852:56;5877:30;5903:3;5895:6;5877:30;:::i;:::-;-1:-1:-1;;;4555:20:1;;4600:1;4591:11;;4495:113;5852:56;5845:63;4613:1301;-1:-1:-1;;;;;4613:1301:1:o;6337:488::-;-1:-1:-1;;;;;6606:15:1;;;6588:34;;6658:15;;6653:2;6638:18;;6631:43;6705:2;6690:18;;6683:34;;;6753:3;6748:2;6733:18;;6726:31;;;6531:4;;6774:45;;6799:19;;6791:6;6774:45;:::i;:::-;6766:53;6337:488;-1:-1:-1;;;;;;6337:488:1:o;7022:219::-;7171:2;7160:9;7153:21;7134:4;7191:44;7231:2;7220:9;7216:18;7208:6;7191:44;:::i;8704:356::-;8906:2;8888:21;;;8925:18;;;8918:30;8984:34;8979:2;8964:18;;8957:62;9051:2;9036:18;;8704:356::o;10840:128::-;10880:3;10911:1;10907:6;10904:1;10901:13;10898:39;;;10917:18;;:::i;:::-;-1:-1:-1;10953:9:1;;10840:128::o;10973:120::-;11013:1;11039;11029:35;;11044:18;;:::i;:::-;-1:-1:-1;11078:9:1;;10973:120::o;11098:168::-;11138:7;11204:1;11200;11196:6;11192:14;11189:1;11186:21;11181:1;11174:9;11167:17;11163:45;11160:71;;;11211:18;;:::i;:::-;-1:-1:-1;11251:9:1;;11098:168::o;11271:125::-;11311:4;11339:1;11336;11333:8;11330:34;;;11344:18;;:::i;:::-;-1:-1:-1;11381:9:1;;11271:125::o;11401:258::-;11473:1;11483:113;11497:6;11494:1;11491:13;11483:113;;;11573:11;;;11567:18;11554:11;;;11547:39;11519:2;11512:10;11483:113;;;11614:6;11611:1;11608:13;11605:48;;;-1:-1:-1;;11649:1:1;11631:16;;11624:27;11401:258::o;11664:380::-;11743:1;11739:12;;;;11786;;;11807:61;;11861:4;11853:6;11849:17;11839:27;;11807:61;11914:2;11906:6;11903:14;11883:18;11880:38;11877:161;;;11960:10;11955:3;11951:20;11948:1;11941:31;11995:4;11992:1;11985:15;12023:4;12020:1;12013:15;11877:161;;11664:380;;;:::o;12049:135::-;12088:3;-1:-1:-1;;12109:17:1;;12106:43;;;12129:18;;:::i;:::-;-1:-1:-1;12176:1:1;12165:13;;12049:135::o;12189:112::-;12221:1;12247;12237:35;;12252:18;;:::i;:::-;-1:-1:-1;12286:9:1;;12189:112::o;12306:127::-;12367:10;12362:3;12358:20;12355:1;12348:31;12398:4;12395:1;12388:15;12422:4;12419:1;12412:15;12438:127;12499:10;12494:3;12490:20;12487:1;12480:31;12530:4;12527:1;12520:15;12554:4;12551:1;12544:15;12570:127;12631:10;12626:3;12622:20;12619:1;12612:31;12662:4;12659:1;12652:15;12686:4;12683:1;12676:15;12702:127;12763:10;12758:3;12754:20;12751:1;12744:31;12794:4;12791:1;12784:15;12818:4;12815:1;12808:15;12834:131;-1:-1:-1;;;;;;12908:32:1;;12898:43;;12888:71;;12955:1;12952;12945:12

Swarm Source

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