APE Price: $1.16 (+8.65%)

Appezuki On Ape (AZOA)

Overview

TokenID

3726

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
AZOA

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at apescan.io on 2024-10-29
*/

// SPDX-License-Identifier: MIT


pragma solidity ^0.8.7;

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

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


contract AZOA is ERC721A, Ownable {

    using Strings for uint256;

    string private baseURI ;

    uint256 public price = 0.4 ether;

    uint256 public maxPerTx = 100;

    uint256 public maxFreePerWallet = 1;

    uint256 public totalFree = 3000;

    uint256 public maxSupply = 10000;

    bool public mintEnabled = true;
    
    uint   public totalFreeMinted = 0;

    mapping(address => uint256) private _mintedFreeAmount;

    constructor() ERC721A("Appezuki On Ape", "AZOA") {}

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

        if (isFree) { 
            require(mintEnabled, "Mint is not live yet");
            require(totalSupply() + count <= maxSupply, "No more");
            require(count <= maxPerTx, "Max per TX reached.");
            if(count >= (maxFreePerWallet - _mintedFreeAmount[msg.sender]))
            {
             require(msg.value >= (count * cost) - ((maxFreePerWallet - _mintedFreeAmount[msg.sender]) * cost), "Please send the exact ETH amount");
             _mintedFreeAmount[msg.sender] = maxFreePerWallet;
             totalFreeMinted += maxFreePerWallet;
            }
            else if(count < (maxFreePerWallet - _mintedFreeAmount[msg.sender]))
            {
             require(msg.value >= 0, "Please send the exact ETH amount");
             _mintedFreeAmount[msg.sender] += count;
             totalFreeMinted += count;
            }
        }
        else{
        require(mintEnabled, "Mint is not live yet");
        require(msg.value >= count * cost, "Please send the exact ETH amount");
        require(totalSupply() + count <= maxSupply, "Sold out");
        require(count <= maxPerTx, "Max per TX reached.");
        }

        _safeMint(msg.sender, count);
    }

    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 setPrice(uint256 _newPrice) external onlyOwner {
        price = _newPrice;
    }

    function toggleMint() 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":[{"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":"_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":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","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":"totalFreeMinted","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"}]

608060405267058d15e176280000600a556064600b556001600c819055610bb8600d55612710600e55600f805460ff191690911790555f601055348015610044575f80fd5b506040518060400160405280600f81526020016e417070657a756b69204f6e2041706560881b81525060405180604001604052806004815260200163415a4f4160e01b815250816002908161009991906101a4565b5060036100a682826101a4565b505060015f55506100b6336100bb565b610263565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061013457607f821691505b60208210810361015257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561019f57805f5260205f20601f840160051c8101602085101561017d5750805b601f840160051c820191505b8181101561019c575f8155600101610189565b50505b505050565b81516001600160401b038111156101bd576101bd61010c565b6101d1816101cb8454610120565b84610158565b602080601f831160018114610204575f84156101ed5750858301515b5f19600386901b1c1916600185901b17855561025b565b5f85815260208120601f198616915b8281101561023257888601518255948401946001909101908401610213565b508582101561024f57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b611b64806102705f395ff3fe6080604052600436106101c5575f3560e01c806392910eec116100f2578063c87b56dd11610092578063dad7b5c911610062578063dad7b5c9146104bd578063e985e9c5146104d2578063f2fde38b146104f1578063f968adbe14610510575f80fd5b8063c87b56dd1461045c578063d12397301461047b578063d3dd5fe014610494578063d5abeb01146104a8575f80fd5b8063a0712d68116100cd578063a0712d68146103f6578063a22cb46514610409578063a702735714610428578063b88d4fde1461043d575f80fd5b806392910eec146103ae57806395d89b41146103cd578063a035b1fe146103e1575f80fd5b80633ccfd60b1161016857806370a082311161013857806370a082311461033f578063715018a61461035e5780638da5cb5b1461037257806391b7f5ed1461038f575f80fd5b80633ccfd60b146102ce57806342842e0e146102e257806355f804b3146103015780636352211e14610320575f80fd5b8063095ea7b3116101a3578063095ea7b31461025557806318160ddd1461027657806323b872dd1461029a578063333e44e6146102b9575f80fd5b806301ffc9a7146101c957806306fdde03146101fd578063081812fc1461021e575b5f80fd5b3480156101d4575f80fd5b506101e86101e336600461156f565b610525565b60405190151581526020015b60405180910390f35b348015610208575f80fd5b50610211610576565b6040516101f491906115b8565b348015610229575f80fd5b5061023d6102383660046115ca565b610606565b6040516001600160a01b0390911681526020016101f4565b348015610260575f80fd5b5061027461026f3660046115fc565b610648565b005b348015610281575f80fd5b506001545f54035f19015b6040519081526020016101f4565b3480156102a5575f80fd5b506102746102b4366004611624565b610718565b3480156102c4575f80fd5b5061028c600d5481565b3480156102d9575f80fd5b50610274610728565b3480156102ed575f80fd5b506102746102fc366004611624565b6107e6565b34801561030c575f80fd5b5061027461031b3660046116e4565b610800565b34801561032b575f80fd5b5061023d61033a3660046115ca565b61083a565b34801561034a575f80fd5b5061028c610359366004611729565b610844565b348015610369575f80fd5b50610274610891565b34801561037d575f80fd5b506008546001600160a01b031661023d565b34801561039a575f80fd5b506102746103a93660046115ca565b6108c6565b3480156103b9575f80fd5b506102746103c83660046115ca565b6108f5565b3480156103d8575f80fd5b50610211610924565b3480156103ec575f80fd5b5061028c600a5481565b6102746104043660046115ca565b610933565b348015610414575f80fd5b50610274610423366004611742565b610cdb565b348015610433575f80fd5b5061028c600c5481565b348015610448575f80fd5b5061027461045736600461177b565b610d6f565b348015610467575f80fd5b506102116104763660046115ca565b610db9565b348015610486575f80fd5b50600f546101e89060ff1681565b34801561049f575f80fd5b50610274610e5a565b3480156104b3575f80fd5b5061028c600e5481565b3480156104c8575f80fd5b5061028c60105481565b3480156104dd575f80fd5b506101e86104ec3660046117f2565b610e98565b3480156104fc575f80fd5b5061027461050b366004611729565b610ec5565b34801561051b575f80fd5b5061028c600b5481565b5f6301ffc9a760e01b6001600160e01b03198316148061055557506380ac58cd60e01b6001600160e01b03198316145b806105705750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461058590611823565b80601f01602080910402602001604051908101604052809291908181526020018280546105b190611823565b80156105fc5780601f106105d3576101008083540402835291602001916105fc565b820191905f5260205f20905b8154815290600101906020018083116105df57829003601f168201915b5050505050905090565b5f61061082610f5d565b61062d576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f61065282610f8f565b9050806001600160a01b0316836001600160a01b0316036106865760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146106bd576106a08133610e98565b6106bd576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610723838383610fff565b505050565b6008546001600160a01b0316331461075b5760405162461bcd60e51b81526004016107529061185b565b60405180910390fd5b6040515f90339047908381818185875af1925050503d805f811461079a576040519150601f19603f3d011682016040523d82523d5f602084013e61079f565b606091505b50509050806107e35760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610752565b50565b61072383838360405180602001604052805f815250610d6f565b6008546001600160a01b0316331461082a5760405162461bcd60e51b81526004016107529061185b565b600961083682826118d4565b5050565b5f61057082610f8f565b5f6001600160a01b03821661086c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146108bb5760405162461bcd60e51b81526004016107529061185b565b6108c45f6111a0565b565b6008546001600160a01b031633146108f05760405162461bcd60e51b81526004016107529061185b565b600a55565b6008546001600160a01b0316331461091f5760405162461bcd60e51b81526004016107529061185b565b600d55565b60606003805461058590611823565b600a54600d545f906109469060016119a8565b8360105461095491906119a8565b1080156109705750600c54335f90815260116020526040902054105b90508015610b9557600f5460ff166109c15760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b6044820152606401610752565b600e546001545f54859190035f19016109da91906119a8565b1115610a125760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b6044820152606401610752565b600b54831115610a5a5760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610752565b335f90815260116020526040902054600c54610a7691906119bb565b8310610b3757335f90815260116020526040902054600c548391610a99916119bb565b610aa391906119ce565b610aad83856119ce565b610ab791906119bb565b341015610b065760405162461bcd60e51b815260206004820181905260248201527f506c656173652073656e64207468652065786163742045544820616d6f756e746044820152606401610752565b600c54335f90815260116020526040812082905560108054909190610b2c9084906119a8565b90915550610cd19050565b335f90815260116020526040902054600c54610b5391906119bb565b831015610b9057335f9081526011602052604081208054859290610b789084906119a8565b925050819055508260105f828254610b2c91906119a8565b610cd1565b600f5460ff16610bde5760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b6044820152606401610752565b610be882846119ce565b341015610c375760405162461bcd60e51b815260206004820181905260248201527f506c656173652073656e64207468652065786163742045544820616d6f756e746044820152606401610752565b600e546001545f54859190035f1901610c5091906119a8565b1115610c895760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b6044820152606401610752565b600b54831115610cd15760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610752565b61072333846111f1565b336001600160a01b03831603610d045760405163b06307db60e01b815260040160405180910390fd5b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d7a848484610fff565b6001600160a01b0383163b15610db357610d968484848461120a565b610db3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610dc482610f5d565b610e285760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610752565b6009610e33836112f2565b604051602001610e449291906119e5565b6040516020818303038152906040529050919050565b6008546001600160a01b03163314610e845760405162461bcd60e51b81526004016107529061185b565b600f805460ff19811660ff90911615179055565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314610eef5760405162461bcd60e51b81526004016107529061185b565b6001600160a01b038116610f545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610752565b6107e3816111a0565b5f81600111158015610f6f57505f5482105b80156105705750505f90815260046020526040902054600160e01b161590565b5f8180600111610fe6575f54811015610fe6575f8181526004602052604081205490600160e01b82169003610fe4575b805f03610fdd57505f19015f81815260046020526040902054610fbf565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b5f61100982610f8f565b9050836001600160a01b0316816001600160a01b03161461103c5760405162a1148160e81b815260040160405180910390fd5b5f336001600160a01b038616148061105957506110598533610e98565b8061107457503361106984610606565b6001600160a01b0316145b90508061109457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166110bb57604051633a954ecd60e21b815260040160405180910390fd5b5f83815260066020908152604080832080546001600160a01b03191690556001600160a01b0388811684526005835281842080545f19019055871683528083208054600101905585835260049091528120600160e11b4260a01b871781179091558316900361115757600183015f818152600460205260408120549003611155575f548114611155575f8181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b610836828260405180602001604052805f8152506113ef565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061123e903390899088908890600401611a71565b6020604051808303815f875af1925050508015611278575060408051601f3d908101601f1916820190925261127591810190611aad565b60015b6112d4573d8080156112a5576040519150601f19603f3d011682016040523d82523d5f602084013e6112aa565b606091505b5080515f036112cc576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060815f036113185750506040805180820190915260018152600360fc1b602082015290565b815f5b8115611341578061132b81611ac8565b915061133a9050600a83611af4565b915061131b565b5f8167ffffffffffffffff81111561135b5761135b61165d565b6040519080825280601f01601f191660200182016040528015611385576020820181803683370190505b5090505b84156112ea5761139a6001836119bb565b91506113a7600a86611b07565b6113b29060306119a8565b60f81b8183815181106113c7576113c7611b1a565b60200101906001600160f81b03191690815f1a9053506113e8600a86611af4565b9450611389565b5f546001600160a01b03841661141757604051622e076360e81b815260040160405180910390fd5b825f036114375760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0384165f8181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611507575b60405182906001600160a01b038816905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46114d25f87848060010195508761120a565b6114ef576040516368d2bf6b60e11b815260040160405180910390fd5b80821061148957825f5414611502575f80fd5b61154b565b5b6040516001830192906001600160a01b038816905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611508575b505f908155610db39085838684565b6001600160e01b0319811681146107e3575f80fd5b5f6020828403121561157f575f80fd5b8135610fdd8161155a565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610fdd602083018461158a565b5f602082840312156115da575f80fd5b5035919050565b80356001600160a01b03811681146115f7575f80fd5b919050565b5f806040838503121561160d575f80fd5b611616836115e1565b946020939093013593505050565b5f805f60608486031215611636575f80fd5b61163f846115e1565b925061164d602085016115e1565b9150604084013590509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff8084111561168b5761168b61165d565b604051601f8501601f19908116603f011681019082821181831017156116b3576116b361165d565b816040528093508581528686860111156116cb575f80fd5b858560208301375f602087830101525050509392505050565b5f602082840312156116f4575f80fd5b813567ffffffffffffffff81111561170a575f80fd5b8201601f8101841361171a575f80fd5b6112ea84823560208401611671565b5f60208284031215611739575f80fd5b610fdd826115e1565b5f8060408385031215611753575f80fd5b61175c836115e1565b915060208301358015158114611770575f80fd5b809150509250929050565b5f805f806080858703121561178e575f80fd5b611797856115e1565b93506117a5602086016115e1565b925060408501359150606085013567ffffffffffffffff8111156117c7575f80fd5b8501601f810187136117d7575f80fd5b6117e687823560208401611671565b91505092959194509250565b5f8060408385031215611803575f80fd5b61180c836115e1565b915061181a602084016115e1565b90509250929050565b600181811c9082168061183757607f821691505b60208210810361185557634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f82111561072357805f5260205f20601f840160051c810160208510156118b55750805b601f840160051c820191505b81811015611199575f81556001016118c1565b815167ffffffffffffffff8111156118ee576118ee61165d565b611902816118fc8454611823565b84611890565b602080601f831160018114611935575f841561191e5750858301515b5f19600386901b1c1916600185901b17855561198c565b5f85815260208120601f198616915b8281101561196357888601518255948401946001909101908401611944565b508582101561198057878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561057057610570611994565b8181038181111561057057610570611994565b808202811582820484141761057057610570611994565b5f8084546119f281611823565b60018281168015611a0a5760018114611a1f57611a4b565b60ff1984168752821515830287019450611a4b565b885f526020805f205f5b85811015611a425781548a820152908401908201611a29565b50505082870194505b5050505083518060208601835e64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611aa39083018461158a565b9695505050505050565b5f60208284031215611abd575f80fd5b8151610fdd8161155a565b5f60018201611ad957611ad9611994565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b5f82611b0257611b02611ae0565b500490565b5f82611b1557611b15611ae0565b500690565b634e487b7160e01b5f52603260045260245ffdfea2646970667358221220e1a75d66d9d44b497f45062aa4a7ecc6cb64102c8c39ac0d0566787f06ae767064736f6c63430008190033

Deployed Bytecode

0x6080604052600436106101c5575f3560e01c806392910eec116100f2578063c87b56dd11610092578063dad7b5c911610062578063dad7b5c9146104bd578063e985e9c5146104d2578063f2fde38b146104f1578063f968adbe14610510575f80fd5b8063c87b56dd1461045c578063d12397301461047b578063d3dd5fe014610494578063d5abeb01146104a8575f80fd5b8063a0712d68116100cd578063a0712d68146103f6578063a22cb46514610409578063a702735714610428578063b88d4fde1461043d575f80fd5b806392910eec146103ae57806395d89b41146103cd578063a035b1fe146103e1575f80fd5b80633ccfd60b1161016857806370a082311161013857806370a082311461033f578063715018a61461035e5780638da5cb5b1461037257806391b7f5ed1461038f575f80fd5b80633ccfd60b146102ce57806342842e0e146102e257806355f804b3146103015780636352211e14610320575f80fd5b8063095ea7b3116101a3578063095ea7b31461025557806318160ddd1461027657806323b872dd1461029a578063333e44e6146102b9575f80fd5b806301ffc9a7146101c957806306fdde03146101fd578063081812fc1461021e575b5f80fd5b3480156101d4575f80fd5b506101e86101e336600461156f565b610525565b60405190151581526020015b60405180910390f35b348015610208575f80fd5b50610211610576565b6040516101f491906115b8565b348015610229575f80fd5b5061023d6102383660046115ca565b610606565b6040516001600160a01b0390911681526020016101f4565b348015610260575f80fd5b5061027461026f3660046115fc565b610648565b005b348015610281575f80fd5b506001545f54035f19015b6040519081526020016101f4565b3480156102a5575f80fd5b506102746102b4366004611624565b610718565b3480156102c4575f80fd5b5061028c600d5481565b3480156102d9575f80fd5b50610274610728565b3480156102ed575f80fd5b506102746102fc366004611624565b6107e6565b34801561030c575f80fd5b5061027461031b3660046116e4565b610800565b34801561032b575f80fd5b5061023d61033a3660046115ca565b61083a565b34801561034a575f80fd5b5061028c610359366004611729565b610844565b348015610369575f80fd5b50610274610891565b34801561037d575f80fd5b506008546001600160a01b031661023d565b34801561039a575f80fd5b506102746103a93660046115ca565b6108c6565b3480156103b9575f80fd5b506102746103c83660046115ca565b6108f5565b3480156103d8575f80fd5b50610211610924565b3480156103ec575f80fd5b5061028c600a5481565b6102746104043660046115ca565b610933565b348015610414575f80fd5b50610274610423366004611742565b610cdb565b348015610433575f80fd5b5061028c600c5481565b348015610448575f80fd5b5061027461045736600461177b565b610d6f565b348015610467575f80fd5b506102116104763660046115ca565b610db9565b348015610486575f80fd5b50600f546101e89060ff1681565b34801561049f575f80fd5b50610274610e5a565b3480156104b3575f80fd5b5061028c600e5481565b3480156104c8575f80fd5b5061028c60105481565b3480156104dd575f80fd5b506101e86104ec3660046117f2565b610e98565b3480156104fc575f80fd5b5061027461050b366004611729565b610ec5565b34801561051b575f80fd5b5061028c600b5481565b5f6301ffc9a760e01b6001600160e01b03198316148061055557506380ac58cd60e01b6001600160e01b03198316145b806105705750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461058590611823565b80601f01602080910402602001604051908101604052809291908181526020018280546105b190611823565b80156105fc5780601f106105d3576101008083540402835291602001916105fc565b820191905f5260205f20905b8154815290600101906020018083116105df57829003601f168201915b5050505050905090565b5f61061082610f5d565b61062d576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f61065282610f8f565b9050806001600160a01b0316836001600160a01b0316036106865760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146106bd576106a08133610e98565b6106bd576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610723838383610fff565b505050565b6008546001600160a01b0316331461075b5760405162461bcd60e51b81526004016107529061185b565b60405180910390fd5b6040515f90339047908381818185875af1925050503d805f811461079a576040519150601f19603f3d011682016040523d82523d5f602084013e61079f565b606091505b50509050806107e35760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610752565b50565b61072383838360405180602001604052805f815250610d6f565b6008546001600160a01b0316331461082a5760405162461bcd60e51b81526004016107529061185b565b600961083682826118d4565b5050565b5f61057082610f8f565b5f6001600160a01b03821661086c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146108bb5760405162461bcd60e51b81526004016107529061185b565b6108c45f6111a0565b565b6008546001600160a01b031633146108f05760405162461bcd60e51b81526004016107529061185b565b600a55565b6008546001600160a01b0316331461091f5760405162461bcd60e51b81526004016107529061185b565b600d55565b60606003805461058590611823565b600a54600d545f906109469060016119a8565b8360105461095491906119a8565b1080156109705750600c54335f90815260116020526040902054105b90508015610b9557600f5460ff166109c15760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b6044820152606401610752565b600e546001545f54859190035f19016109da91906119a8565b1115610a125760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b6044820152606401610752565b600b54831115610a5a5760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610752565b335f90815260116020526040902054600c54610a7691906119bb565b8310610b3757335f90815260116020526040902054600c548391610a99916119bb565b610aa391906119ce565b610aad83856119ce565b610ab791906119bb565b341015610b065760405162461bcd60e51b815260206004820181905260248201527f506c656173652073656e64207468652065786163742045544820616d6f756e746044820152606401610752565b600c54335f90815260116020526040812082905560108054909190610b2c9084906119a8565b90915550610cd19050565b335f90815260116020526040902054600c54610b5391906119bb565b831015610b9057335f9081526011602052604081208054859290610b789084906119a8565b925050819055508260105f828254610b2c91906119a8565b610cd1565b600f5460ff16610bde5760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081b1a5d99481e595d60621b6044820152606401610752565b610be882846119ce565b341015610c375760405162461bcd60e51b815260206004820181905260248201527f506c656173652073656e64207468652065786163742045544820616d6f756e746044820152606401610752565b600e546001545f54859190035f1901610c5091906119a8565b1115610c895760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b6044820152606401610752565b600b54831115610cd15760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610752565b61072333846111f1565b336001600160a01b03831603610d045760405163b06307db60e01b815260040160405180910390fd5b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d7a848484610fff565b6001600160a01b0383163b15610db357610d968484848461120a565b610db3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610dc482610f5d565b610e285760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610752565b6009610e33836112f2565b604051602001610e449291906119e5565b6040516020818303038152906040529050919050565b6008546001600160a01b03163314610e845760405162461bcd60e51b81526004016107529061185b565b600f805460ff19811660ff90911615179055565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314610eef5760405162461bcd60e51b81526004016107529061185b565b6001600160a01b038116610f545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610752565b6107e3816111a0565b5f81600111158015610f6f57505f5482105b80156105705750505f90815260046020526040902054600160e01b161590565b5f8180600111610fe6575f54811015610fe6575f8181526004602052604081205490600160e01b82169003610fe4575b805f03610fdd57505f19015f81815260046020526040902054610fbf565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b5f61100982610f8f565b9050836001600160a01b0316816001600160a01b03161461103c5760405162a1148160e81b815260040160405180910390fd5b5f336001600160a01b038616148061105957506110598533610e98565b8061107457503361106984610606565b6001600160a01b0316145b90508061109457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166110bb57604051633a954ecd60e21b815260040160405180910390fd5b5f83815260066020908152604080832080546001600160a01b03191690556001600160a01b0388811684526005835281842080545f19019055871683528083208054600101905585835260049091528120600160e11b4260a01b871781179091558316900361115757600183015f818152600460205260408120549003611155575f548114611155575f8181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b610836828260405180602001604052805f8152506113ef565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061123e903390899088908890600401611a71565b6020604051808303815f875af1925050508015611278575060408051601f3d908101601f1916820190925261127591810190611aad565b60015b6112d4573d8080156112a5576040519150601f19603f3d011682016040523d82523d5f602084013e6112aa565b606091505b5080515f036112cc576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060815f036113185750506040805180820190915260018152600360fc1b602082015290565b815f5b8115611341578061132b81611ac8565b915061133a9050600a83611af4565b915061131b565b5f8167ffffffffffffffff81111561135b5761135b61165d565b6040519080825280601f01601f191660200182016040528015611385576020820181803683370190505b5090505b84156112ea5761139a6001836119bb565b91506113a7600a86611b07565b6113b29060306119a8565b60f81b8183815181106113c7576113c7611b1a565b60200101906001600160f81b03191690815f1a9053506113e8600a86611af4565b9450611389565b5f546001600160a01b03841661141757604051622e076360e81b815260040160405180910390fd5b825f036114375760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0384165f8181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611507575b60405182906001600160a01b038816905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46114d25f87848060010195508761120a565b6114ef576040516368d2bf6b60e11b815260040160405180910390fd5b80821061148957825f5414611502575f80fd5b61154b565b5b6040516001830192906001600160a01b038816905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611508575b505f908155610db39085838684565b6001600160e01b0319811681146107e3575f80fd5b5f6020828403121561157f575f80fd5b8135610fdd8161155a565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610fdd602083018461158a565b5f602082840312156115da575f80fd5b5035919050565b80356001600160a01b03811681146115f7575f80fd5b919050565b5f806040838503121561160d575f80fd5b611616836115e1565b946020939093013593505050565b5f805f60608486031215611636575f80fd5b61163f846115e1565b925061164d602085016115e1565b9150604084013590509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff8084111561168b5761168b61165d565b604051601f8501601f19908116603f011681019082821181831017156116b3576116b361165d565b816040528093508581528686860111156116cb575f80fd5b858560208301375f602087830101525050509392505050565b5f602082840312156116f4575f80fd5b813567ffffffffffffffff81111561170a575f80fd5b8201601f8101841361171a575f80fd5b6112ea84823560208401611671565b5f60208284031215611739575f80fd5b610fdd826115e1565b5f8060408385031215611753575f80fd5b61175c836115e1565b915060208301358015158114611770575f80fd5b809150509250929050565b5f805f806080858703121561178e575f80fd5b611797856115e1565b93506117a5602086016115e1565b925060408501359150606085013567ffffffffffffffff8111156117c7575f80fd5b8501601f810187136117d7575f80fd5b6117e687823560208401611671565b91505092959194509250565b5f8060408385031215611803575f80fd5b61180c836115e1565b915061181a602084016115e1565b90509250929050565b600181811c9082168061183757607f821691505b60208210810361185557634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f82111561072357805f5260205f20601f840160051c810160208510156118b55750805b601f840160051c820191505b81811015611199575f81556001016118c1565b815167ffffffffffffffff8111156118ee576118ee61165d565b611902816118fc8454611823565b84611890565b602080601f831160018114611935575f841561191e5750858301515b5f19600386901b1c1916600185901b17855561198c565b5f85815260208120601f198616915b8281101561196357888601518255948401946001909101908401611944565b508582101561198057878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561057057610570611994565b8181038181111561057057610570611994565b808202811582820484141761057057610570611994565b5f8084546119f281611823565b60018281168015611a0a5760018114611a1f57611a4b565b60ff1984168752821515830287019450611a4b565b885f526020805f205f5b85811015611a425781548a820152908401908201611a29565b50505082870194505b5050505083518060208601835e64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611aa39083018461158a565b9695505050505050565b5f60208284031215611abd575f80fd5b8151610fdd8161155a565b5f60018201611ad957611ad9611994565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b5f82611b0257611b02611ae0565b500490565b5f82611b1557611b15611ae0565b500690565b634e487b7160e01b5f52603260045260245ffdfea2646970667358221220e1a75d66d9d44b497f45062aa4a7ecc6cb64102c8c39ac0d0566787f06ae767064736f6c63430008190033

Deployed Bytecode Sourcemap

76477:2883:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13050:615;;;;;;;;;;-1:-1:-1;13050:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;13050:615:0;;;;;;;;18063:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;20131:204::-;;;;;;;;;;-1:-1:-1;20131:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1460:32:1;;;1442:51;;1430:2;1415:18;20131:204:0;1296:203:1;19591:474:0;;;;;;;;;;-1:-1:-1;19591:474:0;;;;;:::i;:::-;;:::i;:::-;;12104:315;;;;;;;;;;-1:-1:-1;11710:1:0;12370:12;12157:7;12354:13;:28;-1:-1:-1;;12354:46:0;12104:315;;;2087:25:1;;;2075:2;2060:18;12104:315:0;1941:177:1;21017:170:0;;;;;;;;;;-1:-1:-1;21017:170:0;;;;;:::i;:::-;;:::i;76709:31::-;;;;;;;;;;;;;;;;79143:206;;;;;;;;;;;;;:::i;21258:185::-;;;;;;;;;;-1:-1:-1;21258:185:0;;;;;:::i;:::-;;:::i;78750:88::-;;;;;;;;;;-1:-1:-1;78750:88:0;;;;;:::i;:::-;;:::i;17852:144::-;;;;;;;;;;-1:-1:-1;17852:144:0;;;;;:::i;:::-;;:::i;13729:224::-;;;;;;;;;;-1:-1:-1;13729:224:0;;;;;:::i;:::-;;:::i;43571:103::-;;;;;;;;;;;;;:::i;42920:87::-;;;;;;;;;;-1:-1:-1;42993:6:0;;-1:-1:-1;;;;;42993:6:0;42920:87;;78949:92;;;;;;;;;;-1:-1:-1;78949:92:0;;;;;:::i;:::-;;:::i;78846:95::-;;;;;;;;;;-1:-1:-1;78846:95:0;;;;;:::i;:::-;;:::i;18232:104::-;;;;;;;;;;;;;:::i;76586:32::-;;;;;;;;;;;;;;;;76995:1430;;;;;;:::i;:::-;;:::i;20407:308::-;;;;;;;;;;-1:-1:-1;20407:308:0;;;;;:::i;:::-;;:::i;76665:35::-;;;;;;;;;;;;;;;;21514:396;;;;;;;;;;-1:-1:-1;21514:396:0;;;;;:::i;:::-;;:::i;78433:309::-;;;;;;;;;;-1:-1:-1;78433:309:0;;;;;:::i;:::-;;:::i;76790:30::-;;;;;;;;;;-1:-1:-1;76790:30:0;;;;;;;;79049:86;;;;;;;;;;;;;:::i;76749:32::-;;;;;;;;;;;;;;;;76833:33;;;;;;;;;;;;;;;;20786:164;;;;;;;;;;-1:-1:-1;20786:164:0;;;;;:::i;:::-;;:::i;43829:201::-;;;;;;;;;;-1:-1:-1;43829:201:0;;;;;:::i;:::-;;:::i;76627:29::-;;;;;;;;;;;;;;;;13050:615;13135:4;-1:-1:-1;;;;;;;;;13435:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;13512:25:0;;;13435:102;:179;;;-1:-1:-1;;;;;;;;;;13589:25:0;;;13435:179;13415:199;13050:615;-1:-1:-1;;13050:615:0:o;18063:100::-;18117:13;18150:5;18143:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18063:100;:::o;20131:204::-;20199:7;20224:16;20232:7;20224;:16::i;:::-;20219:64;;20249:34;;-1:-1:-1;;;20249:34:0;;;;;;;;;;;20219:64;-1:-1:-1;20303:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;20303:24:0;;20131:204::o;19591:474::-;19664:13;19696:27;19715:7;19696:18;:27::i;:::-;19664:61;;19746:5;-1:-1:-1;;;;;19740:11:0;:2;-1:-1:-1;;;;;19740:11:0;;19736:48;;19760:24;;-1:-1:-1;;;19760:24:0;;;;;;;;;;;19736:48;36234:10;-1:-1:-1;;;;;19801:28:0;;;19797:175;;19849:44;19866:5;36234:10;20786:164;:::i;19849:44::-;19844:128;;19921:35;;-1:-1:-1;;;19921:35:0;;;;;;;;;;;19844:128;19984:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;19984:29:0;-1:-1:-1;;;;;19984:29:0;;;;;;;;;20029:28;;19984:24;;20029:28;;;;;;;19653:412;19591:474;;:::o;21017:170::-;21151:28;21161:4;21167:2;21171:7;21151:9;:28::i;:::-;21017:170;;;:::o;79143:206::-;42993:6;;-1:-1:-1;;;;;42993:6:0;36234:10;43140:23;43132:68;;;;-1:-1:-1;;;43132:68:0;;;;;;;:::i;:::-;;;;;;;;;79212:82:::1;::::0;79194:12:::1;::::0;79220:10:::1;::::0;79258:21:::1;::::0;79194:12;79212:82;79194:12;79212:82;79258:21;79220:10;79212:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79193:101;;;79313:7;79305:36;;;::::0;-1:-1:-1;;;79305:36:0;;6319:2:1;79305:36:0::1;::::0;::::1;6301:21:1::0;6358:2;6338:18;;;6331:30;-1:-1:-1;;;6377:18:1;;;6370:46;6433:18;;79305:36:0::1;6117:340:1::0;79305:36:0::1;79182:167;79143:206::o:0;21258:185::-;21396:39;21413:4;21419:2;21423:7;21396:39;;;;;;;;;;;;:16;:39::i;78750:88::-;42993:6;;-1:-1:-1;;;;;42993:6:0;36234:10;43140:23;43132:68;;;;-1:-1:-1;;;43132:68:0;;;;;;;:::i;:::-;78817:7:::1;:13;78827:3:::0;78817:7;:13:::1;:::i;:::-;;78750:88:::0;:::o;17852:144::-;17916:7;17959:27;17978:7;17959:18;:27::i;13729:224::-;13793:7;-1:-1:-1;;;;;13817:19:0;;13813:60;;13845:28;;-1:-1:-1;;;13845:28:0;;;;;;;;;;;13813:60;-1:-1:-1;;;;;;13891:25:0;;;;;:18;:25;;;;;;9068:13;13891:54;;13729:224::o;43571:103::-;42993:6;;-1:-1:-1;;;;;42993:6:0;36234:10;43140:23;43132:68;;;;-1:-1:-1;;;43132:68:0;;;;;;;:::i;:::-;43636:30:::1;43663:1;43636:18;:30::i;:::-;43571:103::o:0;78949:92::-;42993:6;;-1:-1:-1;;;;;42993:6:0;36234:10;43140:23;43132:68;;;;-1:-1:-1;;;43132:68:0;;;;;;;:::i;:::-;79016:5:::1;:17:::0;78949:92::o;78846:95::-;42993:6;;-1:-1:-1;;;;;42993:6:0;36234:10;43140:23;43132:68;;;;-1:-1:-1;;;43132:68:0;;;;;;;:::i;:::-;78915:9:::1;:18:::0;78846:95::o;18232:104::-;18288:13;18321:7;18314:14;;;;;:::i;76995:1430::-;77067:5;;77125:9;;77052:12;;77125:13;;77137:1;77125:13;:::i;:::-;77117:5;77099:15;;:23;;;;:::i;:::-;:39;77098:108;;;;-1:-1:-1;77189:16:0;;77175:10;77157:29;;;;:17;:29;;;;;;:48;77098:108;77083:124;;77224:6;77220:1157;;;77256:11;;;;77248:44;;;;-1:-1:-1;;;77248:44:0;;9096:2:1;77248:44:0;;;9078:21:1;9135:2;9115:18;;;9108:30;-1:-1:-1;;;9154:18:1;;;9147:50;9214:18;;77248:44:0;8894:344:1;77248:44:0;77340:9;;11710:1;12370:12;12157:7;12354:13;77331:5;;12354:28;;-1:-1:-1;;12354:46:0;77315:21;;;;:::i;:::-;:34;;77307:54;;;;-1:-1:-1;;;77307:54:0;;9445:2:1;77307:54:0;;;9427:21:1;9484:1;9464:18;;;9457:29;-1:-1:-1;;;9502:18:1;;;9495:37;9549:18;;77307:54:0;9243:330:1;77307:54:0;77393:8;;77384:5;:17;;77376:49;;;;-1:-1:-1;;;77376:49:0;;9780:2:1;77376:49:0;;;9762:21:1;9819:2;9799:18;;;9792:30;-1:-1:-1;;;9838:18:1;;;9831:49;9897:18;;77376:49:0;9578:343:1;77376:49:0;77490:10;77472:29;;;;:17;:29;;;;;;77453:16;;:48;;77472:29;77453:48;:::i;:::-;77443:5;:59;77440:638;;77610:10;77592:29;;;;:17;:29;;;;;;77573:16;;77625:4;;77573:48;;;:::i;:::-;77572:57;;;;:::i;:::-;77555:12;77563:4;77555:5;:12;:::i;:::-;77554:76;;;;:::i;:::-;77541:9;:89;;77533:134;;;;-1:-1:-1;;;77533:134:0;;10434:2:1;77533:134:0;;;10416:21:1;;;10453:18;;;10446:30;10512:34;10492:18;;;10485:62;10564:18;;77533:134:0;10232:356:1;77533:134:0;77715:16;;77701:10;77683:29;;;;:17;:29;;;;;:48;;;77747:15;:35;;:15;;77683:29;77747:35;;77715:16;;77747:35;:::i;:::-;;;;-1:-1:-1;77220:1157:0;;-1:-1:-1;77220:1157:0;77440:638;77866:10;77848:29;;;;:17;:29;;;;;;77829:16;;:48;;77848:29;77829:48;:::i;:::-;77820:5;:58;77817:261;;;78002:10;77984:29;;;;:17;:29;;;;;:38;;78017:5;;77984:29;:38;;78017:5;;77984:38;:::i;:::-;;;;;;;;78057:5;78038:15;;:24;;;;;;;:::i;77817:261::-;77220:1157;;;78122:11;;;;78114:44;;;;-1:-1:-1;;;78114:44:0;;9096:2:1;78114:44:0;;;9078:21:1;9135:2;9115:18;;;9108:30;-1:-1:-1;;;9154:18:1;;;9147:50;9214:18;;78114:44:0;8894:344:1;78114:44:0;78190:12;78198:4;78190:5;:12;:::i;:::-;78177:9;:25;;78169:70;;;;-1:-1:-1;;;78169:70:0;;10434:2:1;78169:70:0;;;10416:21:1;;;10453:18;;;10446:30;10512:34;10492:18;;;10485:62;10564:18;;78169:70:0;10232:356:1;78169:70:0;78283:9;;11710:1;12370:12;12157:7;12354:13;78274:5;;12354:28;;-1:-1:-1;;12354:46:0;78258:21;;;;:::i;:::-;:34;;78250:55;;;;-1:-1:-1;;;78250:55:0;;10795:2:1;78250:55:0;;;10777:21:1;10834:1;10814:18;;;10807:29;-1:-1:-1;;;10852:18:1;;;10845:38;10900:18;;78250:55:0;10593:331:1;78250:55:0;78333:8;;78324:5;:17;;78316:49;;;;-1:-1:-1;;;78316:49:0;;9780:2:1;78316:49:0;;;9762:21:1;9819:2;9799:18;;;9792:30;-1:-1:-1;;;9838:18:1;;;9831:49;9897:18;;78316:49:0;9578:343:1;78316:49:0;78389:28;78399:10;78411:5;78389:9;:28::i;20407:308::-;36234:10;-1:-1:-1;;;;;20506:31:0;;;20502:61;;20546:17;;-1:-1:-1;;;20546:17:0;;;;;;;;;;;20502:61;36234:10;20576:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;20576:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;20576:60:0;;;;;;;;;;20652:55;;540:41:1;;;20576:49:0;;36234:10;20652:55;;513:18:1;20652:55:0;;;;;;;20407:308;;:::o;21514:396::-;21681:28;21691:4;21697:2;21701:7;21681:9;:28::i;:::-;-1:-1:-1;;;;;21724:14:0;;;:19;21720:183;;21763:56;21794:4;21800:2;21804:7;21813:5;21763:30;:56::i;:::-;21758:145;;21847:40;;-1:-1:-1;;;21847:40:0;;;;;;;;;;;21758:145;21514:396;;;;:::o;78433:309::-;78515:13;78563:16;78571:7;78563;:16::i;:::-;78541:113;;;;-1:-1:-1;;;78541:113:0;;11131:2:1;78541:113:0;;;11113:21:1;11170:2;11150:18;;;11143:30;11209:34;11189:18;;;11182:62;-1:-1:-1;;;11260:18:1;;;11253:45;11315:19;;78541:113:0;10929:411:1;78541:113:0;78696:7;78705:18;:7;:16;:18::i;:::-;78679:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;78665:69;;78433:309;;;:::o;79049:86::-;42993:6;;-1:-1:-1;;;;;42993:6:0;36234:10;43140:23;43132:68;;;;-1:-1:-1;;;43132:68:0;;;;;;;:::i;:::-;79116:11:::1;::::0;;-1:-1:-1;;79101:26:0;::::1;79116:11;::::0;;::::1;79115:12;79101:26;::::0;;79049:86::o;20786:164::-;-1:-1:-1;;;;;20907:25:0;;;20883:4;20907:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;20786:164::o;43829:201::-;42993:6;;-1:-1:-1;;;;;42993:6:0;36234:10;43140:23;43132:68;;;;-1:-1:-1;;;43132:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;43918:22:0;::::1;43910:73;;;::::0;-1:-1:-1;;;43910:73:0;;12702:2:1;43910:73:0::1;::::0;::::1;12684:21:1::0;12741:2;12721:18;;;12714:30;12780:34;12760:18;;;12753:62;-1:-1:-1;;;12831:18:1;;;12824:36;12877:19;;43910:73:0::1;12500:402:1::0;43910:73:0::1;43994:28;44013:8;43994:18;:28::i;22165:273::-:0;22222:4;22278:7;11710:1;22259:26;;:66;;;;;22312:13;;22302:7;:23;22259:66;:152;;;;-1:-1:-1;;22363:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;22363:43:0;:48;;22165:273::o;15367:1129::-;15434:7;15469;;11710:1;15518:23;15514:915;;15571:13;;15564:4;:20;15560:869;;;15609:14;15626:23;;;:17;:23;;;;;;;-1:-1:-1;;;15715:23:0;;:28;;15711:699;;16234:113;16241:6;16251:1;16241:11;16234:113;;-1:-1:-1;;;16312:6:0;16294:25;;;;:17;:25;;;;;;16234:113;;;16380:6;15367:1129;-1:-1:-1;;;15367:1129:0:o;15711:699::-;15586:843;15560:869;16457:31;;-1:-1:-1;;;16457:31:0;;;;;;;;;;;27404:2515;27519:27;27549;27568:7;27549:18;:27::i;:::-;27519:57;;27634:4;-1:-1:-1;;;;;27593:45:0;27609:19;-1:-1:-1;;;;;27593:45:0;;27589:86;;27647:28;;-1:-1:-1;;;27647:28:0;;;;;;;;;;;27589:86;27688:22;36234:10;-1:-1:-1;;;;;27714:27:0;;;;:87;;-1:-1:-1;27758:43:0;27775:4;36234:10;20786:164;:::i;27758:43::-;27714:147;;;-1:-1:-1;36234:10:0;27818:20;27830:7;27818:11;:20::i;:::-;-1:-1:-1;;;;;27818:43:0;;27714:147;27688:174;;27880:17;27875:66;;27906:35;;-1:-1:-1;;;27906:35:0;;;;;;;;;;;27875:66;-1:-1:-1;;;;;27956:16:0;;27952:52;;27981:23;;-1:-1:-1;;;27981:23:0;;;;;;;;;;;27952:52;28133:24;;;;:15;:24;;;;;;;;28126:31;;-1:-1:-1;;;;;;28126:31:0;;;-1:-1:-1;;;;;28525:24:0;;;;;:18;:24;;;;;28523:26;;-1:-1:-1;;28523:26:0;;;28594:22;;;;;;;28592:24;;-1:-1:-1;28592:24:0;;;28887:26;;;:17;:26;;;;;-1:-1:-1;;;28975:15:0;9722:3;28975:41;28933:84;;:128;;28887:174;;;29181:46;;:51;;29177:626;;29285:1;29275:11;;29253:19;29408:30;;;:17;:30;;;;;;:35;;29404:384;;29546:13;;29531:11;:28;29527:242;;29693:30;;;;:17;:30;;;;;:52;;;29527:242;29234:569;29177:626;29850:7;29846:2;-1:-1:-1;;;;;29831:27:0;29840:4;-1:-1:-1;;;;;29831:27:0;;;;;;;;;;;29869:42;27508:2411;;27404:2515;;;:::o;44190:191::-;44283:6;;;-1:-1:-1;;;;;44300:17:0;;;-1:-1:-1;;;;;;44300:17:0;;;;;;;44333:40;;44283:6;;;44300:17;44283:6;;44333:40;;44264:16;;44333:40;44253:128;44190:191;:::o;22522:104::-;22591:27;22601:2;22605:8;22591:27;;;;;;;;;;;;:9;:27::i;33616:716::-;33800:88;;-1:-1:-1;;;33800:88:0;;33779:4;;-1:-1:-1;;;;;33800:45:0;;;;;:88;;36234:10;;33867:4;;33873:7;;33882:5;;33800:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33800:88:0;;;;;;;;-1:-1:-1;;33800:88:0;;;;;;;;;;;;:::i;:::-;;;33796:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34083:6;:13;34100:1;34083:18;34079:235;;34129:40;;-1:-1:-1;;;34129:40:0;;;;;;;;;;;34079:235;34272:6;34266:13;34257:6;34253:2;34249:15;34242:38;33796:529;-1:-1:-1;;;;;;33959:64:0;-1:-1:-1;;;33959:64:0;;-1:-1:-1;33796:529:0;33616:716;;;;;;:::o;38792:723::-;38848:13;39069:5;39078:1;39069:10;39065:53;;-1:-1:-1;;39096:10:0;;;;;;;;;;;;-1:-1:-1;;;39096:10:0;;;;;38792:723::o;39065:53::-;39143:5;39128:12;39184:78;39191:9;;39184:78;;39217:8;;;;:::i;:::-;;-1:-1:-1;39240:10:0;;-1:-1:-1;39248:2:0;39240:10;;:::i;:::-;;;39184:78;;;39272:19;39304:6;39294:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39294:17:0;;39272:39;;39322:154;39329:10;;39322:154;;39356:11;39366:1;39356:11;;:::i;:::-;;-1:-1:-1;39425:10:0;39433:2;39425:5;:10;:::i;:::-;39412:24;;:2;:24;:::i;:::-;39399:39;;39382:6;39389;39382:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;39382:56:0;;;;;;;;-1:-1:-1;39453:11:0;39462:2;39453:11;;:::i;:::-;;;39322:154;;22999:2236;23122:20;23145:13;-1:-1:-1;;;;;23173:16:0;;23169:48;;23198:19;;-1:-1:-1;;;23198:19:0;;;;;;;;;;;23169:48;23232:8;23244:1;23232:13;23228:44;;23254:18;;-1:-1:-1;;;23254:18:0;;;;;;;;;;;23228:44;-1:-1:-1;;;;;23821:22:0;;;;;;:18;:22;;;;9205:2;23821:22;;;:70;;23859:31;23847:44;;23821:70;;;24134:31;;;:17;:31;;;;;24227:15;9722:3;24227:41;24185:84;;-1:-1:-1;24305:13:0;;9985:3;24290:56;24185:162;24134:213;;:31;;24428:23;;;;24472:14;:19;24468:635;;24512:313;24543:38;;24568:12;;-1:-1:-1;;;;;24543:38:0;;;24560:1;;24543:38;;24560:1;;24543:38;24609:69;24648:1;24652:2;24656:14;;;;;;24672:5;24609:30;:69::i;:::-;24604:174;;24714:40;;-1:-1:-1;;;24714:40:0;;;;;;;;;;;24604:174;24820:3;24805:12;:18;24512:313;;24906:12;24889:13;;:29;24885:43;;24920:8;;;24885:43;24468:635;;;24969:119;25000:40;;25025:14;;;;;-1:-1:-1;;;;;25000:40:0;;;25017:1;;25000:40;;25017:1;;25000:40;25083:3;25068:12;:18;24969:119;;24468:635;-1:-1:-1;25117:13:0;:28;;;25167:60;;25200:2;25204:12;25218:8;25167:60;:::i;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:289::-;634:3;672:5;666:12;699:6;694:3;687:19;755:6;748:4;741:5;737:16;730:4;725:3;721:14;715:47;807:1;800:4;791:6;786:3;782:16;778:27;771:38;870:4;863:2;859:7;854:2;846:6;842:15;838:29;833:3;829:39;825:50;818:57;;;592:289;;;;:::o;886:220::-;1035:2;1024:9;1017:21;998:4;1055:45;1096:2;1085:9;1081:18;1073:6;1055:45;:::i;1111:180::-;1170:6;1223:2;1211:9;1202:7;1198:23;1194:32;1191:52;;;1239:1;1236;1229:12;1191:52;-1:-1:-1;1262:23:1;;1111:180;-1:-1:-1;1111:180:1:o;1504:173::-;1572:20;;-1:-1:-1;;;;;1621:31:1;;1611:42;;1601:70;;1667:1;1664;1657:12;1601:70;1504:173;;;:::o;1682:254::-;1750:6;1758;1811:2;1799:9;1790:7;1786:23;1782:32;1779:52;;;1827:1;1824;1817:12;1779:52;1850:29;1869:9;1850:29;:::i;:::-;1840:39;1926:2;1911:18;;;;1898:32;;-1:-1:-1;;;1682:254:1:o;2123:328::-;2200:6;2208;2216;2269:2;2257:9;2248:7;2244:23;2240:32;2237:52;;;2285:1;2282;2275:12;2237:52;2308:29;2327:9;2308:29;:::i;:::-;2298:39;;2356:38;2390:2;2379:9;2375:18;2356:38;:::i;:::-;2346:48;;2441:2;2430:9;2426:18;2413:32;2403:42;;2123:328;;;;;:::o;2456:127::-;2517:10;2512:3;2508:20;2505:1;2498:31;2548:4;2545:1;2538:15;2572:4;2569:1;2562:15;2588:632;2653:5;2683:18;2724:2;2716:6;2713:14;2710:40;;;2730:18;;:::i;:::-;2805:2;2799:9;2773:2;2859:15;;-1:-1:-1;;2855:24:1;;;2881:2;2851:33;2847:42;2835:55;;;2905:18;;;2925:22;;;2902:46;2899:72;;;2951:18;;:::i;:::-;2991:10;2987:2;2980:22;3020:6;3011:15;;3050:6;3042;3035:22;3090:3;3081:6;3076:3;3072:16;3069:25;3066:45;;;3107:1;3104;3097:12;3066:45;3157:6;3152:3;3145:4;3137:6;3133:17;3120:44;3212:1;3205:4;3196:6;3188;3184:19;3180:30;3173:41;;;;2588:632;;;;;:::o;3225:451::-;3294:6;3347:2;3335:9;3326:7;3322:23;3318:32;3315:52;;;3363:1;3360;3353:12;3315:52;3403:9;3390:23;3436:18;3428:6;3425:30;3422:50;;;3468:1;3465;3458:12;3422:50;3491:22;;3544:4;3536:13;;3532:27;-1:-1:-1;3522:55:1;;3573:1;3570;3563:12;3522:55;3596:74;3662:7;3657:2;3644:16;3639:2;3635;3631:11;3596:74;:::i;3681:186::-;3740:6;3793:2;3781:9;3772:7;3768:23;3764:32;3761:52;;;3809:1;3806;3799:12;3761:52;3832:29;3851:9;3832:29;:::i;3872:347::-;3937:6;3945;3998:2;3986:9;3977:7;3973:23;3969:32;3966:52;;;4014:1;4011;4004:12;3966:52;4037:29;4056:9;4037:29;:::i;:::-;4027:39;;4116:2;4105:9;4101:18;4088:32;4163:5;4156:13;4149:21;4142:5;4139:32;4129:60;;4185:1;4182;4175:12;4129:60;4208:5;4198:15;;;3872:347;;;;;:::o;4224:667::-;4319:6;4327;4335;4343;4396:3;4384:9;4375:7;4371:23;4367:33;4364:53;;;4413:1;4410;4403:12;4364:53;4436:29;4455:9;4436:29;:::i;:::-;4426:39;;4484:38;4518:2;4507:9;4503:18;4484:38;:::i;:::-;4474:48;;4569:2;4558:9;4554:18;4541:32;4531:42;;4624:2;4613:9;4609:18;4596:32;4651:18;4643:6;4640:30;4637:50;;;4683:1;4680;4673:12;4637:50;4706:22;;4759:4;4751:13;;4747:27;-1:-1:-1;4737:55:1;;4788:1;4785;4778:12;4737:55;4811:74;4877:7;4872:2;4859:16;4854:2;4850;4846:11;4811:74;:::i;:::-;4801:84;;;4224:667;;;;;;;:::o;4896:260::-;4964:6;4972;5025:2;5013:9;5004:7;5000:23;4996:32;4993:52;;;5041:1;5038;5031:12;4993:52;5064:29;5083:9;5064:29;:::i;:::-;5054:39;;5112:38;5146:2;5135:9;5131:18;5112:38;:::i;:::-;5102:48;;4896:260;;;;;:::o;5161:380::-;5240:1;5236:12;;;;5283;;;5304:61;;5358:4;5350:6;5346:17;5336:27;;5304:61;5411:2;5403:6;5400:14;5380:18;5377:38;5374:161;;5457:10;5452:3;5448:20;5445:1;5438:31;5492:4;5489:1;5482:15;5520:4;5517:1;5510:15;5374:161;;5161:380;;;:::o;5546:356::-;5748:2;5730:21;;;5767:18;;;5760:30;5826:34;5821:2;5806:18;;5799:62;5893:2;5878:18;;5546:356::o;6588:518::-;6690:2;6685:3;6682:11;6679:421;;;6726:5;6723:1;6716:16;6770:4;6767:1;6757:18;6840:2;6828:10;6824:19;6821:1;6817:27;6811:4;6807:38;6876:4;6864:10;6861:20;6858:47;;;-1:-1:-1;6899:4:1;6858:47;6954:2;6949:3;6945:12;6942:1;6938:20;6932:4;6928:31;6918:41;;7009:81;7027:2;7020:5;7017:13;7009:81;;;7086:1;7072:16;;7053:1;7042:13;7009:81;;7282:1345;7408:3;7402:10;7435:18;7427:6;7424:30;7421:56;;;7457:18;;:::i;:::-;7486:97;7576:6;7536:38;7568:4;7562:11;7536:38;:::i;:::-;7530:4;7486:97;:::i;:::-;7638:4;;7695:2;7684:14;;7712:1;7707:663;;;;8414:1;8431:6;8428:89;;;-1:-1:-1;8483:19:1;;;8477:26;8428:89;-1:-1:-1;;7239:1:1;7235:11;;;7231:24;7227:29;7217:40;7263:1;7259:11;;;7214:57;8530:81;;7677:944;;7707:663;6535:1;6528:14;;;6572:4;6559:18;;-1:-1:-1;;7743:20:1;;;7861:236;7875:7;7872:1;7869:14;7861:236;;;7964:19;;;7958:26;7943:42;;8056:27;;;;8024:1;8012:14;;;;7891:19;;7861:236;;;7865:3;8125:6;8116:7;8113:19;8110:201;;;8186:19;;;8180:26;-1:-1:-1;;8269:1:1;8265:14;;;8281:3;8261:24;8257:37;8253:42;8238:58;8223:74;;8110:201;;;8357:1;8348:6;8345:1;8341:14;8337:22;8331:4;8324:36;7677:944;;;;;7282:1345;;:::o;8632:127::-;8693:10;8688:3;8684:20;8681:1;8674:31;8724:4;8721:1;8714:15;8748:4;8745:1;8738:15;8764:125;8829:9;;;8850:10;;;8847:36;;;8863:18;;:::i;9926:128::-;9993:9;;;10014:11;;;10011:37;;;10028:18;;:::i;10059:168::-;10132:9;;;10163;;10180:15;;;10174:22;;10160:37;10150:71;;10201:18;;:::i;11345:1150::-;11622:3;11651:1;11684:6;11678:13;11714:36;11740:9;11714:36;:::i;:::-;11769:1;11786:17;;;11812:133;;;;11959:1;11954:358;;;;11779:533;;11812:133;-1:-1:-1;;11845:24:1;;11833:37;;11918:14;;11911:22;11899:35;;11890:45;;;-1:-1:-1;11812:133:1;;11954:358;11985:6;11982:1;11975:17;12015:4;12060;12057:1;12047:18;12087:1;12101:165;12115:6;12112:1;12109:13;12101:165;;;12193:14;;12180:11;;;12173:35;12236:16;;;;12130:10;;12101:165;;;12105:3;;;12295:6;12290:3;12286:16;12279:23;;11779:533;;;;;12343:6;12337:13;12389:8;12382:4;12374:6;12370:17;12365:3;12359:39;-1:-1:-1;;;12417:18:1;;12444:19;;;12487:1;12479:10;;11345:1150;-1:-1:-1;;;;11345:1150:1:o;12907:489::-;-1:-1:-1;;;;;13176:15:1;;;13158:34;;13228:15;;13223:2;13208:18;;13201:43;13275:2;13260:18;;13253:34;;;13323:3;13318:2;13303:18;;13296:31;;;13101:4;;13344:46;;13370:19;;13362:6;13344:46;:::i;:::-;13336:54;12907:489;-1:-1:-1;;;;;;12907:489:1:o;13401:249::-;13470:6;13523:2;13511:9;13502:7;13498:23;13494:32;13491:52;;;13539:1;13536;13529:12;13491:52;13571:9;13565:16;13590:30;13614:5;13590:30;:::i;13655:135::-;13694:3;13715:17;;;13712:43;;13735:18;;:::i;:::-;-1:-1:-1;13782:1:1;13771:13;;13655:135::o;13795:127::-;13856:10;13851:3;13847:20;13844:1;13837:31;13887:4;13884:1;13877:15;13911:4;13908:1;13901:15;13927:120;13967:1;13993;13983:35;;13998:18;;:::i;:::-;-1:-1:-1;14032:9:1;;13927:120::o;14052:112::-;14084:1;14110;14100:35;;14115:18;;:::i;:::-;-1:-1:-1;14149:9:1;;14052:112::o;14169:127::-;14230:10;14225:3;14221:20;14218:1;14211:31;14261:4;14258:1;14251:15;14285:4;14282:1;14275:15

Swarm Source

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