POL Price: $0.595235 (-2.83%)
 

Overview

Max Total Supply

0 SNR

Holders

11

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
SnarkNFT

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 17 : SnarkNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Base64.sol";
import "@openzeppelin/contracts/utils/Address.sol";

contract SnarkNFT is ERC721, ERC721Pausable, Ownable  {
    uint256 private _nextTokenId;
    string private _externalUrl = 'https://algotyp.com/';
    string private _contractMetadataUrl = 'https://algotyp.com/metadata.json';
    mapping(uint256 => PageMetadata) private _pageMetadataMap;
    uint256 public PRICE = 2000000000000000000;
    address public ARTIST = address(0xd330d86e481B52BE34aE6acFc2aDCE9bf27a748F);

    struct PageMetadata {
        string image;
        string page;
        string bookId;
        string lang;
        string restoreKey;
    }

    constructor()
        ERC721("SNARK", "SNR")
        Ownable(msg.sender)
    {}

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    function updateImage(uint256 tokenId, string memory image) public onlyOwner {
        _requireOwned(tokenId);
        _pageMetadataMap[tokenId].image = image;
    }

    function updatePage(uint256 tokenId, string memory page) public onlyOwner {
        _requireOwned(tokenId);
        _pageMetadataMap[tokenId].page = page;
    }

    function updateBookId(uint256 tokenId, string memory bookId) public onlyOwner {
        _requireOwned(tokenId);
        _pageMetadataMap[tokenId].bookId = bookId;
    }

    function updateLang(uint256 tokenId, string memory lang) public onlyOwner {
        _requireOwned(tokenId);
        _pageMetadataMap[tokenId].lang = lang;
    }

    function updateRestoreKey(uint256 tokenId, string memory restoreKey) public onlyOwner {
        _requireOwned(tokenId);
        _pageMetadataMap[tokenId].restoreKey = restoreKey;
    }

    function updateExternalUrl(string memory url) public onlyOwner {
        _externalUrl = url;
    }

    function updateContractMetadataUrl(string memory url) public onlyOwner {
        _contractMetadataUrl = url;
    }

    function changePrice(uint256 price_) public onlyOwner {
        PRICE = price_;
    }

    function mint(
        string memory image,
        string memory page,
        string memory bookId,
        string memory lang,
        string memory restoreKey
    ) payable public {
        require(msg.value >= PRICE, "Insufficient funds.");
        uint256 tokenId = _nextTokenId++;
        _pageMetadataMap[tokenId].image = image;
        _pageMetadataMap[tokenId].page = page;
        _pageMetadataMap[tokenId].bookId = bookId;
        _pageMetadataMap[tokenId].lang = lang;
        _pageMetadataMap[tokenId].restoreKey = restoreKey;
        _safeMint(msg.sender, tokenId);
        Address.sendValue(payable(ARTIST), msg.value);
    }

    function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) {
        _requireOwned(tokenId);
        string memory _bookId = string(abi.encodePacked(
        '{',
            '"trait_type":"Book ID",',
            '"value":"', _pageMetadataMap[tokenId].bookId, '"',
        '},'
        ));
        string memory _lang = string(abi.encodePacked(
        '{',
            '"trait_type":"Language",',
            '"value":"', _pageMetadataMap[tokenId].lang, '"',
        '},'
        ));
        string memory _page = string(abi.encodePacked(
        '{',
            '"trait_type":"Page",',
            '"value":"', _pageMetadataMap[tokenId].page, '"',
        '}'
        ));
        string memory json = Base64.encode(bytes(string(abi.encodePacked(
        '{',
            '"name":"The Hunting of the Snark 2024 #', Strings.toString(tokenId), '",',
            '"description":"The Hunting of the Snark is a nonsense poem written by Lewis Carroll, best known as the author of Alice in Wonderland, and published in England in 1876. It is a tale of exploration on a strange island in search of the legendary creature Snark by a party of explorers, holding a blank nautical chart without the least vestige of land on it. I have selected memorable words from each of the eight chapters and assembled the letters generatively. This gives rise to a variety of forms.",',
            '"image":"', _pageMetadataMap[tokenId].image, '",',
            '"restore_key":"', _pageMetadataMap[tokenId].restoreKey, '",',
            '"book_id":"', _pageMetadataMap[tokenId].bookId, '",',
            '"lang":"', _pageMetadataMap[tokenId].lang, '",',
            '"page":"', _pageMetadataMap[tokenId].page, '",',
            '"external_url":"', _externalUrl, '",',
            '"attributes":[', _bookId, _lang, _page, ']',
        '}'
        ))));
        return string(abi.encodePacked('data:application/json;base64,', json));
    }

    function contractURI() public view returns (string memory) {
        return _contractMetadataUrl;
    }

    // The following functions are overrides required by Solidity.

    function _update(address to, uint256 tokenId, address auth)
    internal
    override(ERC721, ERC721Pausable)
    returns (address)
    {
        return super._update(to, tokenId, auth);
    }
}

File 2 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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 3 of 17 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 4 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.20;

import {IERC721} from "./IERC721.sol";
import {IERC721Receiver} from "./IERC721Receiver.sol";
import {IERC721Metadata} from "./extensions/IERC721Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {Strings} from "../../utils/Strings.sol";
import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol";
import {IERC721Errors} from "../../interfaces/draft-IERC6093.sol";

/**
 * @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}.
 */
abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors {
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    mapping(uint256 tokenId => address) private _owners;

    mapping(address owner => uint256) private _balances;

    mapping(uint256 tokenId => address) private _tokenApprovals;

    mapping(address owner => mapping(address operator => 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 returns (uint256) {
        if (owner == address(0)) {
            revert ERC721InvalidOwner(address(0));
        }
        return _balances[owner];
    }

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual returns (string memory) {
        _requireOwned(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string.concat(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 {
        _approve(to, tokenId, _msgSender());
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual returns (address) {
        _requireOwned(tokenId);

        return _getApproved(tokenId);
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        // Setting an "auth" arguments enables the `_isAuthorized` check which verifies that the token exists
        // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.
        address previousOwner = _update(to, tokenId, _msgSender());
        if (previousOwner != from) {
            revert ERC721IncorrectOwner(from, tokenId, previousOwner);
        }
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {
        transferFrom(from, to, tokenId);
        _checkOnERC721Received(from, to, tokenId, data);
    }

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     *
     * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the
     * core ERC721 logic MUST be matched with the use of {_increaseBalance} to keep balances
     * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by
     * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`.
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted.
     */
    function _getApproved(uint256 tokenId) internal view virtual returns (address) {
        return _tokenApprovals[tokenId];
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in
     * particular (ignoring whether it is owned by `owner`).
     *
     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
     * assumption.
     */
    function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) {
        return
            spender != address(0) &&
            (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender);
    }

    /**
     * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.
     * Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets
     * the `spender` for the specific `tokenId`.
     *
     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
     * assumption.
     */
    function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual {
        if (!_isAuthorized(owner, spender, tokenId)) {
            if (owner == address(0)) {
                revert ERC721NonexistentToken(tokenId);
            } else {
                revert ERC721InsufficientApproval(spender, tokenId);
            }
        }
    }

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that
     * a uint256 would ever overflow from increments when these increments are bounded to uint128 values.
     *
     * WARNING: Increasing an account's balance using this function tends to be paired with an override of the
     * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership
     * remain consistent with one another.
     */
    function _increaseBalance(address account, uint128 value) internal virtual {
        unchecked {
            _balances[account] += value;
        }
    }

    /**
     * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner
     * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.
     *
     * The `auth` argument is optional. If the value passed is non 0, then this function will check that
     * `auth` is either the owner of the token, or approved to operate on the token (by the owner).
     *
     * Emits a {Transfer} event.
     *
     * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}.
     */
    function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) {
        address from = _ownerOf(tokenId);

        // Perform (optional) operator check
        if (auth != address(0)) {
            _checkAuthorized(from, auth, tokenId);
        }

        // Execute the update
        if (from != address(0)) {
            // Clear approval. No need to re-authorize or emit the Approval event
            _approve(address(0), tokenId, address(0), false);

            unchecked {
                _balances[from] -= 1;
            }
        }

        if (to != address(0)) {
            unchecked {
                _balances[to] += 1;
            }
        }

        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        return from;
    }

    /**
     * @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 {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        address previousOwner = _update(to, tokenId, address(0));
        if (previousOwner != address(0)) {
            revert ERC721InvalidSender(address(0));
        }
    }

    /**
     * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.
     *
     * 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 {
        _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);
        _checkOnERC721Received(address(0), to, tokenId, data);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal {
        address previousOwner = _update(address(0), tokenId, address(0));
        if (previousOwner == address(0)) {
            revert ERC721NonexistentToken(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 {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        address previousOwner = _update(to, tokenId, address(0));
        if (previousOwner == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        } else if (previousOwner != from) {
            revert ERC721IncorrectOwner(from, tokenId, previousOwner);
        }
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients
     * are aware of the ERC721 standard 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 like {safeTransferFrom} in the sense that it invokes
     * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `tokenId` token must exist and be owned by `from`.
     * - `to` cannot be the zero address.
     * - `from` cannot be the zero address.
     * - 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) internal {
        _safeTransfer(from, to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {
        _transfer(from, to, tokenId);
        _checkOnERC721Received(from, to, tokenId, data);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is
     * either the owner of the token, or approved to operate on all tokens held by this owner.
     *
     * Emits an {Approval} event.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address to, uint256 tokenId, address auth) internal {
        _approve(to, tokenId, auth, true);
    }

    /**
     * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not
     * emitted in the context of transfers.
     */
    function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual {
        // Avoid reading the owner unless necessary
        if (emitEvent || auth != address(0)) {
            address owner = _requireOwned(tokenId);

            // We do not use _isAuthorized because single-token approvals should not be able to call approve
            if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) {
                revert ERC721InvalidApprover(auth);
            }

            if (emitEvent) {
                emit Approval(owner, to, tokenId);
            }
        }

        _tokenApprovals[tokenId] = to;
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Requirements:
     * - operator can't be the address zero.
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        if (operator == address(0)) {
            revert ERC721InvalidOperator(operator);
        }
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).
     * Returns the owner.
     *
     * Overrides to ownership logic should be done to {_ownerOf}.
     */
    function _requireOwned(uint256 tokenId) internal view returns (address) {
        address owner = _ownerOf(tokenId);
        if (owner == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        }
        return owner;
    }

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the
     * recipient doesn't accept the token transfer. 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
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private {
        if (to.code.length > 0) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                if (retval != IERC721Receiver.onERC721Received.selector) {
                    revert ERC721InvalidReceiver(to);
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert ERC721InvalidReceiver(to);
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }
}

File 5 of 17 : ERC721Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/ERC721Pausable.sol)

pragma solidity ^0.8.20;

import {ERC721} from "../ERC721.sol";
import {Pausable} from "../../../utils/Pausable.sol";

/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 *
 * IMPORTANT: This contract does not include public pause and unpause functions. In
 * addition to inheriting this contract, you must define both functions, invoking the
 * {Pausable-_pause} and {Pausable-_unpause} internal functions, with appropriate
 * access control, e.g. using {AccessControl} or {Ownable}. Not doing so will
 * make the contract pause mechanism of the contract unreachable, and thus unusable.
 */
abstract contract ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_update}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _update(
        address to,
        uint256 tokenId,
        address auth
    ) internal virtual override whenNotPaused returns (address) {
        return super._update(to, tokenId, auth);
    }
}

File 6 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.20;

import {IERC721} from "../IERC721.sol";

/**
 * @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 7 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../utils/introspection/IERC165.sol";

/**
 * @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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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 address zero.
     *
     * 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 8 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.20;

/**
 * @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 9 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedInnerCall();

    /**
     * @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        if (address(this).balance < amount) {
            revert AddressInsufficientBalance(address(this));
        }

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert FailedInnerCall();
        }
    }

    /**
     * @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 or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {FailedInnerCall} error.
     *
     * 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.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @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`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
     * unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {FailedInnerCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
     */
    function _revert(bytes memory returndata) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert FailedInnerCall();
        }
    }
}

File 10 of 17 : Base64.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.2) (utils/Base64.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 0x20)
            let dataPtr := data
            let endPtr := add(data, mload(data))

            // In some cases, the last iteration will read bytes after the end of the data. We cache the value, and
            // set it to zero to make sure no dirty bytes are read in that section.
            let afterPtr := add(endPtr, 0x20)
            let afterCache := mload(afterPtr)
            mstore(afterPtr, 0x00)

            // Run over the input, 3 bytes at a time
            for {

            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 byte (24 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F to bitmask the least significant 6 bits.
                // Use this as an index into the lookup table, mload an entire word
                // so the desired character is in the least significant byte, and
                // mstore8 this least significant byte into the result and continue.

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // Reset the value that was cached
            mstore(afterPtr, afterCache)

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

File 11 of 17 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 12 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;

import {IERC165} from "./IERC165.sol";

/**
 * @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);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 13 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @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 14 of 17 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

File 15 of 17 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 16 of 17 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    bool private _paused;

    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    /**
     * @dev The operation failed because the contract is paused.
     */
    error EnforcedPause();

    /**
     * @dev The operation failed because the contract is not paused.
     */
    error ExpectedPause();

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        if (paused()) {
            revert EnforcedPause();
        }
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        if (!paused()) {
            revert ExpectedPause();
        }
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 17 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

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

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        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_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        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);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200,
    "details": {
      "yul": true
    }
  },
  "viaIR": true,
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"ARTIST","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":"price_","type":"uint256"}],"name":"changePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"image","type":"string"},{"internalType":"string","name":"page","type":"string"},{"internalType":"string","name":"bookId","type":"string"},{"internalType":"string","name":"lang","type":"string"},{"internalType":"string","name":"restoreKey","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"bookId","type":"string"}],"name":"updateBookId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"url","type":"string"}],"name":"updateContractMetadataUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"url","type":"string"}],"name":"updateExternalUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"image","type":"string"}],"name":"updateImage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"lang","type":"string"}],"name":"updateLang","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"page","type":"string"}],"name":"updatePage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"restoreKey","type":"string"}],"name":"updateRestoreKey","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608034620004025760406001600160401b0382820181811184821017620003ec57825260059081845260209064534e41524b60d81b8286015283519284840184811083821117620003ec578552600384526229a72960e91b83850152855191808311620003ec576000928062000076855462000407565b98601f998a8111620003b3575b5086908a83116001146200034b5786926200033f575b50508160011b916000199060031b1c19161783555b84519081116200032b5780600195620000c8875462000407565b898111620002f2575b5085908983116001146200028e57859262000282575b5050600019600383901b1c191690851b1784555b6006549533156200026a576001600160a81b0319871633600881811b610100600160a81b0316929092176006559697603760f91b97911c6001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08580a36200016c60085462000407565b8181116200024a575b507f68747470733a2f2f616c676f7479702e636f6d2f000000000000000000000028600855600954620001a89062000407565b9080821162000224575b505060436009908155825250207f68747470733a2f2f616c676f7479702e636f6d2f6d657461646174612e6a736f81550155671bc16d674ec80000600b55600c80546001600160a01b03191673d330d86e481b52be34ae6acfc2adce9bf27a748f17905551612b2190816200045e8239f35b6200024192600291600986528686209301901c8201910162000444565b388080620001b2565b6008845284842062000263918301841c81019062000444565b3862000175565b8551631e4fbdf760e01b815260048101849052602490fd5b015190503880620000e7565b8786528686208894509190601f198416875b89828210620002db5750508411620002c1575b505050811b018455620000fb565b015160001960f88460031b161c19169055388080620002b3565b8385015186558b97909501949384019301620002a0565b6200031a908887528787208b808601881c8201928a871062000321575b01871c019062000444565b38620000d1565b925081926200030f565b634e487b7160e01b83526041600452602483fd5b01519050388062000099565b8680528787209250601f198416875b898282106200039c57505090846001959493921062000382575b505050811b018355620000ae565b015160001960f88460031b161c1916905538808062000374565b60018596829396860151815501950193016200035a565b620003db908780528888208c808601891c8201928b8710620003e2575b01881c019062000444565b3862000083565b92508192620003d0565b634e487b7160e01b600052604160045260246000fd5b600080fd5b90600182811c9216801562000439575b60208310146200042357565b634e487b7160e01b600052602260045260246000fd5b91607f169162000417565b81811062000450575050565b600081556001016200044456fe6080604052600436101561001257600080fd5b60003560e01c806301434fac1461229c57806301ffc9a71461222e57806306fdde031461218b578063081812fc1461214d578063095ea7b31461206657806323b872dd1461204f5780633f4ba83a14611fe557806342842e0e14611fb757806345acdc4f14611ea157806347d82ed914611d285780635c975abb14611d055780636352211e14611cd557806370a0823114611c7c578063715018a614611c1b5780637931b3e414611aa25780638456cb5914611a4857806384b9e9df1461193557806386833e911461100b5780638d859f3e14610fed5780638da5cb5b14610fc057806395d89b4114610f1d578063a22cb46514610e78578063a2b40d1914610e57578063a50a15fa14610d2e578063acf4094a14610d05578063b88d4fde14610c99578063bd1aaa6114610b47578063c87b56dd1461034b578063e8a3d48514610265578063e985e9c51461020f5763f2fde38b1461017157600080fd5b3461020a57602036600319011261020a5761018a6124d5565b610192612536565b6001600160a01b038181169182156101f15760068054610100600160a81b03198116600893841b610100600160a81b031617909155901c167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b604051631e4fbdf760e01b815260006004820152602490fd5b600080fd5b3461020a57604036600319011261020a576102286124d5565b6102306124eb565b9060018060a01b03809116600052600560205260406000209116600052602052602060ff604060002054166040519015158152f35b3461020a57600036600319011261020a57604051600060095461028781612565565b8084529060019081811690811561032457506001146102c9575b6102c5846102b1818603826123cd565b6040519182916020835260208301906124b0565b0390f35b6009600090815292507f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af5b82841061030c5750505081016020016102b1826102a1565b805460208587018101919091529093019281016102f4565b60ff191660208087019190915292151560051b850190920192506102b191508390506102a1565b3461020a57602036600319011261020a5761036760043561272b565b50600435600052600a6020526103d56103f660036002604060002001604051938491607b60f81b60208401527f2274726169745f74797065223a22426f6f6b204944222c000000000000000000602184015268113b30b63ab2911d1160b91b603884015260418301906128d3565b601160f91b8152611f4b60f21b600182015203601c198101845201826123cd565b600435600052600a6020526104c66103d5610465600380604060002001604051938491607b60f81b60208401527f2274726169745f74797065223a224c616e6775616765222c0000000000000000602184015268113b30b63ab2911d1160b91b603984015260428301906128d3565b600435600052600a6020526104e660026001604060002001604051948591607b60f81b602084015273089d1c985a5d17dd1e5c19488e88941859d9488b60621b602184015268113b30b63ab2911d1160b91b6035840152603e8301906128d3565b601160f91b8152607d60f81b600182015203601d198101855201836123cd565b600092600435807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000080821015610b36575b50600a906d04ee2d6d415b85acef810000000080821015610b29575b50662386f26fc1000080821015610b1c575b506305f5e10080821015610b0f575b5061271080821015610b02575b506064811015610af4575b1015610ae9575b600a602161057e60018801612955565b968701015b60001901916f181899199a1a9b1b9c1cb0b131b232b360811b8282061a83530480156105b257600a9091610583565b5050600435600052600a602052604060002061094160405195607b60f81b60208801527f226e616d65223a225468652048756e74696e67206f662074686520536e61726b6021880152662032303234202360c81b604188015261061f81518092602060488b01910161248d565b8601916001600a61092581610907600d6108e660116108c161024661088b60f21b9c8d60488201527f226465736372697074696f6e223a225468652048756e74696e67206f66207468604a8201527f6520536e61726b2069732061206e6f6e73656e736520706f656d207772697474606a8201527f656e206279204c6577697320436172726f6c6c2c2062657374206b6e6f776e20608a8201527f61732074686520617574686f72206f6620416c69636520696e20576f6e64657260aa8201527f6c616e642c20616e64207075626c697368656420696e20456e676c616e64206960ca8201527f6e20313837362e20497420697320612074616c65206f66206578706c6f72617460ea8201527f696f6e206f6e206120737472616e67652069736c616e6420696e20736561726361010a8201527f68206f6620746865206c6567656e6461727920637265617475726520536e617261012a8201527f6b2062792061207061727479206f66206578706c6f726572732c20686f6c646961014a8201527f6e67206120626c616e6b206e6175746963616c20636861727420776974686f7561016a8201527f7420746865206c656173742076657374696765206f66206c616e64206f6e206961018a8201527f742e204920686176652073656c6563746564206d656d6f7261626c6520776f726101aa8201527f64732066726f6d2065616368206f6620746865206569676874206368617074656101ca8201527f727320616e6420617373656d626c656420746865206c6574746572732067656e6101ea8201527f657261746976656c792e2054686973206769766573207269736520746f20612061020a820152721d985c9a595d1e481bd988199bdc9b5ccb888b606a1b61022a820152681134b6b0b3b2911d1160b91b61023d820152018a6128d3565b8b81526e113932b9ba37b932afb5b2bc911d1160891b600282015201600489016128d3565b8981526a113137b7b5afb4b2111d1160a91b600282015201600287016128d3565b87815267113630b733911d1160c11b600282015201600385016128d3565b85815267113830b3b2911d1160c11b60028201520191016128d3565b8181526f1132bc3a32b93730b62fbab936111d1160811b60028201526008546000929161096d82612565565b9160018116908115610ac35750600114610a67575b6102c5610a1489610a0f6012828c8c8c8c8c81526d2261747472696275746573223a5b60901b60028201526109c182518093602060108501910161248d565b016109d682518093602060108501910161248d565b016109eb82518093602060108501910161248d565b01605d60f81b6010820152607d60f81b601182015203600d198101845201826123cd565b612987565b6102b1603d60405180937f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006020830152610a57815180926020868601910161248d565b810103601d8101845201826123cd565b9091925060086000527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee36000905b838210610aac5750500160120190846102c5610982565b600181602092546012858701015201910190610a95565b60ff191660128381019190915283151590930290910190910192508590506102c5610982565b60019094019361056e565b606460029104960195610567565b600491049601958761055c565b600891049601958761054f565b6010910496019587610540565b602091049601958761052e565b60409650600435049050600a610512565b3461020a57610b553661245e565b90610b5e612536565b610b678161272b565b506000526020600a81526004604060002001908251906001600160401b038211610c8357610b958354612565565b601f8111610c3d575b5080601f8311600114610bda5750819293600092610bcf575b5050600019600383901b1c191660019190911b179055005b015190508380610bb7565b90601f198316948460005282600020926000905b878210610c25575050836001959610610c0c575b505050811b019055005b015160001960f88460031b161c19169055838080610c02565b80600185968294968601518155019501930190610bee565b8360005281600020601f840160051c810191838510610c79575b601f0160051c01905b818110610c6d5750610b9e565b60008155600101610c60565b9091508190610c57565b634e487b7160e01b600052604160045260246000fd5b3461020a57608036600319011261020a57610cb26124d5565b610cba6124eb565b90604435606435926001600160401b03841161020a573660238501121561020a57610cf2610d03943690602481600401359101612409565b92610cfe83838361259f565b612796565b005b3461020a57600036600319011261020a57600c546040516001600160a01b039091168152602090f35b3461020a57610d3c3661245e565b90610d45612536565b610d4e8161272b565b50600052602090600a825260019081604060002001928151916001600160401b038311610c8357610d7f8554612565565b601f8111610e0e575b5081601f8411600114610dc55750928293918392600094610dba575b50501b916000199060031b1c1916179055600080f35b015192508580610da4565b919083601f1981168760005284600020946000905b88838310610df45750505010610c0c57505050811b019055005b858701518855909601959485019487935090810190610dda565b8560005282600020601f850160051c810191848610610e4d575b601f0160051c019085905b828110610e41575050610d88565b60008155018590610e33565b9091508190610e28565b3461020a57602036600319011261020a57610e70612536565b600435600b55005b3461020a57604036600319011261020a57610e916124d5565b6024359081151580920361020a576001600160a01b0316908115610f0457336000526005602052604060002082600052602052604060002060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b604051630b61174360e31b815260048101839052602490fd5b3461020a57600036600319011261020a5760405160006001805490610f4182612565565b808552918181169081156103245750600114610f67576102c5846102b1818603826123cd565b600081815292507fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b828410610fa85750505081016020016102b1826102a1565b80546020858701810191909152909301928101610f90565b3461020a57600036600319011261020a5760065460405160089190911c6001600160a01b03168152602090f35b3461020a57600036600319011261020a576020600b54604051908152f35b60a036600319011261020a576004356001600160401b03811161020a57611036903690600401612440565b6024356001600160401b03811161020a57611055903690600401612440565b6044356001600160401b03811161020a57611074903690600401612440565b916064356001600160401b03811161020a57611094903690600401612440565b926084356001600160401b03811161020a576110b4903690600401612440565b92600b5434106118fa576007549260001984146118e4576001840160075583600052600a6020526040600020908051906001600160401b038211610c835781906110fe8454612565565b601f8111611894575b50602090601f83116001146118285760009261181d575b50508160011b916000199060031b1c19161790555b82600052600a6020526001604060002001908051906001600160401b038211610c835781906111628454612565565b601f81116117cd575b50602090601f831160011461176157600092611756575b50508160011b916000199060031b1c19161790555b81600052600a6020526002604060002001908051906001600160401b038211610c835781906111c68454612565565b601f8111611706575b50602090601f831160011461169a5760009261168f575b50508160011b916000199060031b1c19161790555b80600052600a602052600360406000200183516001600160401b038111610c83576112268254612565565b601f811161164b575b50602094601f82116001146115e5579481929394956000926115da575b50508160011b916000199060031b1c19161790555b80600052600a602052600460406000200182516001600160401b038111610c835761128c8254612565565b601f8111611592575b506020601f821160011461152c5781929394600092611521575b50508160011b916000199060031b1c19161790555b604051906112d1826123b2565b600082523315611508576112e36128b5565b6000818152600260205260409020546001600160a01b0392908316801515806114d1575b3360005260036020526040600020600181540190558360005260026020526040600020336bffffffffffffffffffffffff60a01b825416179055836040519233907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46114bb5750333b6113ca575b5050600c54163447106113b25760008080809334905af1611398612766565b50156113a057005b604051630a12f52160e11b8152600490fd5b60405163cd78605960e01b8152306004820152602490fd5b60206114069160405180938192630a85bd0160e11b968784523360048501526000602485015260448401526080606484015260848301906124b0565b03816000335af160009181611476575b5061144857611423612766565b8051908161144357604051633250574960e11b8152336004820152602490fd5b602001fd5b6001600160e01b0319160361145e578180611379565b604051633250574960e11b8152336004820152602490fd5b9091506020813d6020116114b3575b81611492602093836123cd565b8101031261020a57516001600160e01b03198116810361020a579084611416565b3d9150611485565b6339e3563760e11b815260006004820152602490fd5b600084815260046020526040902080546001600160a01b031916905581600052600360205260406000206000198154019055611307565b604051633250574960e11b815260006004820152602490fd5b0151905084806112af565b601f198216908360005260206000209160005b81811061157a57509583600195969710611561575b505050811b0190556112c4565b015160001960f88460031b161c19169055848080611554565b9192602060018192868b01518155019401920161153f565b826000526020600020601f830160051c810191602084106115d0575b601f0160051c01905b8181106115c45750611295565b600081556001016115b7565b90915081906115ae565b01519050858061124c565b601f198216958360005260206000209160005b8881106116335750836001959697981061161a575b505050811b019055611261565b015160001960f88460031b161c1916905585808061160d565b919260206001819286850151815501940192016115f8565b826000526020600020601f830160051c810160208410611688575b601f830160051c8201811061167c57505061122f565b60008155600101611666565b5080611666565b0151905086806111e6565b9250836000526020600020906000935b601f19841685106116eb576001945083601f198116106116d2575b505050811b0190556111fb565b015160001960f88460031b161c191690558680806116c5565b818101518355602094850194600190930192909101906116aa565b909150836000526020600020601f840160051c81016020851061174f575b90849392915b601f830160051c820181106117405750506111cf565b6000815585945060010161172a565b5080611724565b015190508780611182565b9250836000526020600020906000935b601f19841685106117b2576001945083601f19811610611799575b505050811b019055611197565b015160001960f88460031b161c1916905587808061178c565b81810151835560209485019460019093019290910190611771565b909150836000526020600020601f840160051c810160208510611816575b90849392915b601f830160051c8201811061180757505061116b565b600081558594506001016117f1565b50806117eb565b01519050888061111e565b9250836000526020600020906000935b601f1984168510611879576001945083601f19811610611860575b505050811b019055611133565b015160001960f88460031b161c19169055888080611853565b81810151835560209485019460019093019290910190611838565b909150836000526020600020601f840160051c8101602085106118dd575b90849392915b601f830160051c820181106118ce575050611107565b600081558594506001016118b8565b50806118b2565b634e487b7160e01b600052601160045260246000fd5b60405162461bcd60e51b815260206004820152601360248201527224b739bab33334b1b4b2b73a10333ab732399760691b6044820152606490fd5b3461020a576119433661245e565b9061194c612536565b6119558161272b565b506000526020600a81526040600020908251906001600160401b038211610c83576119808354612565565b601f8111611a02575b5080601f83116001146119b95750819293600092610bcf575050600019600383901b1c191660019190911b179055005b90601f198316948460005282600020926000905b8782106119ea575050836001959610610c0c57505050811b019055005b806001859682949686015181550195019301906119cd565b8360005281600020601f840160051c810191838510611a3e575b601f0160051c01905b818110611a325750611989565b60008155600101611a25565b9091508190611a1c565b3461020a57600036600319011261020a57611a61612536565b611a696128b5565b600160ff1960065416176006557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b3461020a5760208060031936011261020a576001600160401b0360043581811161020a57611ad4903690600401612440565b91611add612536565b8251918211610c8357611af1600854612565565b601f8111611bb7575b5080601f8311600114611b3657508192600092611b2b575b5050600019600383901b1c191660019190911b17600855005b015190508280611b12565b90601f1983169360086000527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3926000905b868210611b9f5750508360019510611b86575b505050811b01600855005b015160001960f88460031b161c19169055828080611b7b565b80600185968294968601518155019501930190611b68565b60086000527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3601f840160051c810191838510611c11575b601f0160051c01905b818110611c055750611afa565b60008155600101611bf8565b9091508190611bef565b3461020a57600036600319011261020a57611c34612536565b60068054610100600160a81b0319811690915560009060081c6001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b3461020a57602036600319011261020a576001600160a01b03611c9d6124d5565b168015611cbc5760005260036020526020604060002054604051908152f35b6040516322718ad960e21b815260006004820152602490fd5b3461020a57602036600319011261020a576020611cf360043561272b565b6040516001600160a01b039091168152f35b3461020a57600036600319011261020a57602060ff600654166040519015158152f35b3461020a5760208060031936011261020a576001600160401b0360043581811161020a57611d5a903690600401612440565b91611d63612536565b8251918211610c8357611d77600954612565565b601f8111611e3d575b5080601f8311600114611dbc57508192600092611db1575b5050600019600383901b1c191660019190911b17600955005b015190508280611d98565b90601f1983169360096000527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af926000905b868210611e255750508360019510611e0c575b505050811b01600955005b015160001960f88460031b161c19169055828080611e01565b80600185968294968601518155019501930190611dee565b60096000527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af601f840160051c810191838510611e97575b601f0160051c01905b818110611e8b5750611d80565b60008155600101611e7e565b9091508190611e75565b3461020a57611eaf3661245e565b90611eb8612536565b611ec18161272b565b506000526020600a81526003604060002001908251906001600160401b038211610c8357611eef8354612565565b601f8111611f71575b5080601f8311600114611f285750819293600092610bcf575050600019600383901b1c191660019190911b179055005b90601f198316948460005282600020926000905b878210611f59575050836001959610610c0c57505050811b019055005b80600185968294968601518155019501930190611f3c565b8360005281600020601f840160051c810191838510611fad575b601f0160051c01905b818110611fa15750611ef8565b60008155600101611f94565b9091508190611f8b565b3461020a57610d03611fc836612501565b9060405192611fd6846123b2565b60008452610cfe83838361259f565b3461020a57600036600319011261020a57611ffe612536565b60065460ff81161561203d5760ff19166006557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b604051638dfc202b60e01b8152600490fd5b3461020a57610d0361206036612501565b9161259f565b3461020a57604036600319011261020a5761207f6124d5565b60243561208b8161272b565b3315158061213a575b8061210d575b6120f5576001600160a01b039283169282918491167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4600090815260046020526040902080546001600160a01b0319169091179055005b60405163a9fbf51f60e01b8152336004820152602490fd5b5060018060a01b038116600052600560205260406000203360005260205260ff604060002054161561209a565b506001600160a01b038116331415612094565b3461020a57602036600319011261020a5760043561216a8161272b565b506000526004602052602060018060a01b0360406000205416604051908152f35b3461020a57600036600319011261020a57604051600080546121ac81612565565b8084529060019081811690811561032457506001146121d5576102c5846102b1818603826123cd565b600080805292507f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b8284106122165750505081016020016102b1826102a1565b805460208587018101919091529093019281016121fe565b3461020a57602036600319011261020a5760043563ffffffff60e01b811680910361020a576020906380ac58cd60e01b811490811561228b575b811561227a575b506040519015158152f35b6301ffc9a760e01b1490508261226f565b635b5e139f60e01b81149150612268565b3461020a576122aa3661245e565b906122b3612536565b6122bc8161272b565b506000526020600a81526002604060002001908251906001600160401b038211610c83576122ea8354612565565b601f811161236c575b5080601f83116001146123235750819293600092610bcf575050600019600383901b1c191660019190911b179055005b90601f198316948460005282600020926000905b878210612354575050836001959610610c0c57505050811b019055005b80600185968294968601518155019501930190612337565b8360005281600020601f840160051c8101918385106123a8575b601f0160051c01905b81811061239c57506122f3565b6000815560010161238f565b9091508190612386565b602081019081106001600160401b03821117610c8357604052565b90601f801991011681019081106001600160401b03821117610c8357604052565b6001600160401b038111610c8357601f01601f191660200190565b929192612415826123ee565b9161242360405193846123cd565b82948184528183011161020a578281602093846000960137010152565b9080601f8301121561020a5781602061245b93359101612409565b90565b90604060031983011261020a5760043591602435906001600160401b03821161020a5761245b91600401612440565b60005b8381106124a05750506000910152565b8181015183820152602001612490565b906020916124c98151809281855285808601910161248d565b601f01601f1916010190565b600435906001600160a01b038216820361020a57565b602435906001600160a01b038216820361020a57565b606090600319011261020a576001600160a01b0390600435828116810361020a5791602435908116810361020a579060443590565b60065460081c6001600160a01b0316330361254d57565b60405163118cdaa760e01b8152336004820152602490fd5b90600182811c92168015612595575b602083101461257f57565b634e487b7160e01b600052602260045260246000fd5b91607f1691612574565b916001600160a01b03918216918215611508576125ba6128b5565b600093828552826020946002865260409584878920541696879133151580612695575b509060027fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9284612662575b858c5260038152828c2080546001019055868c5252808a2080546001600160a01b03191685179055519880a4168083036126435750505050565b6364283d7b60e01b845260048401526024830152604482015260649150fd5b600087815260046020526040902080546001600160a01b0319169055848c5260038152828c208054600019019055612609565b919394509150806126ea575b156126b1578592918791386125dd565b5084866126ce576024915190637e27328960e01b82526004820152fd5b604491519063177e802f60e01b82523360048301526024820152fd5b50338714801561270f575b806126a15750858852600481523385838a205416146126a1565b5086885260058152818820338952815260ff82892054166126f5565b6000818152600260205260409020546001600160a01b031690811561274e575090565b60249060405190637e27328960e01b82526004820152fd5b3d15612791573d90612777826123ee565b9161278560405193846123cd565b82523d6000602084013e565b606090565b9190803b6127a5575b50505050565b6127e760018060a01b0380921694604051938493630a85bd0160e11b9687865233600487015216602485015260448401526080606484015260848301906124b0565b03906020816000938185885af190829082612866575b5050612835578261280c612766565b805191908261282e57604051633250574960e11b815260048101839052602490fd5b9050602001fd5b6001600160e01b0319160361284e57503880808061279f565b60249060405190633250574960e11b82526004820152fd5b909192506020813d82116128ad575b81612882602093836123cd565b810103126128a95751906001600160e01b0319821682036128a657509038806127fd565b80fd5b5080fd5b3d9150612875565b60ff600654166128c157565b60405163d93c066560e01b8152600490fd5b6000929181546128e281612565565b9260019180831690811561293a57506001146128fe5750505050565b90919293945060005260209081600020906000915b858310612929575050505001903880808061279f565b805485840152918301918101612913565b60ff191684525050508115159091020191503880808061279f565b9061295f826123ee565b61296c60405191826123cd565b828152809261297d601f19916123ee565b0190602036910137565b805115612ad75760405190606082018281106001600160401b03821117610c8357604052604082527f4142434445464748494a4b4c4d4e4f505152535455565758595a61626364656660208301527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f604083015280516002918282018092116118e4576003918290046001600160fe1b03811681036118e457612a2d908495941b612955565b936020850193829183518401906020820192835194600085525b838110612a86575050505052510680600114612a7357600214612a68575090565b603d90600019015390565b50603d9081600019820153600119015390565b87600491999293949901918251600190603f9082828260121c16880101518453828282600c1c16880101518385015382828260061c1688010151888501531685010151898201530197929190612a47565b50604051612ae4816123b2565b600081529056fea2646970667358221220e1d71c90f053c2b127aaa4bf92ec09bf2d79a20e4c769c0b0c8930241f5a38ba64736f6c63430008140033

Deployed Bytecode

0x6080604052600436101561001257600080fd5b60003560e01c806301434fac1461229c57806301ffc9a71461222e57806306fdde031461218b578063081812fc1461214d578063095ea7b31461206657806323b872dd1461204f5780633f4ba83a14611fe557806342842e0e14611fb757806345acdc4f14611ea157806347d82ed914611d285780635c975abb14611d055780636352211e14611cd557806370a0823114611c7c578063715018a614611c1b5780637931b3e414611aa25780638456cb5914611a4857806384b9e9df1461193557806386833e911461100b5780638d859f3e14610fed5780638da5cb5b14610fc057806395d89b4114610f1d578063a22cb46514610e78578063a2b40d1914610e57578063a50a15fa14610d2e578063acf4094a14610d05578063b88d4fde14610c99578063bd1aaa6114610b47578063c87b56dd1461034b578063e8a3d48514610265578063e985e9c51461020f5763f2fde38b1461017157600080fd5b3461020a57602036600319011261020a5761018a6124d5565b610192612536565b6001600160a01b038181169182156101f15760068054610100600160a81b03198116600893841b610100600160a81b031617909155901c167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b604051631e4fbdf760e01b815260006004820152602490fd5b600080fd5b3461020a57604036600319011261020a576102286124d5565b6102306124eb565b9060018060a01b03809116600052600560205260406000209116600052602052602060ff604060002054166040519015158152f35b3461020a57600036600319011261020a57604051600060095461028781612565565b8084529060019081811690811561032457506001146102c9575b6102c5846102b1818603826123cd565b6040519182916020835260208301906124b0565b0390f35b6009600090815292507f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af5b82841061030c5750505081016020016102b1826102a1565b805460208587018101919091529093019281016102f4565b60ff191660208087019190915292151560051b850190920192506102b191508390506102a1565b3461020a57602036600319011261020a5761036760043561272b565b50600435600052600a6020526103d56103f660036002604060002001604051938491607b60f81b60208401527f2274726169745f74797065223a22426f6f6b204944222c000000000000000000602184015268113b30b63ab2911d1160b91b603884015260418301906128d3565b601160f91b8152611f4b60f21b600182015203601c198101845201826123cd565b600435600052600a6020526104c66103d5610465600380604060002001604051938491607b60f81b60208401527f2274726169745f74797065223a224c616e6775616765222c0000000000000000602184015268113b30b63ab2911d1160b91b603984015260428301906128d3565b600435600052600a6020526104e660026001604060002001604051948591607b60f81b602084015273089d1c985a5d17dd1e5c19488e88941859d9488b60621b602184015268113b30b63ab2911d1160b91b6035840152603e8301906128d3565b601160f91b8152607d60f81b600182015203601d198101855201836123cd565b600092600435807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000080821015610b36575b50600a906d04ee2d6d415b85acef810000000080821015610b29575b50662386f26fc1000080821015610b1c575b506305f5e10080821015610b0f575b5061271080821015610b02575b506064811015610af4575b1015610ae9575b600a602161057e60018801612955565b968701015b60001901916f181899199a1a9b1b9c1cb0b131b232b360811b8282061a83530480156105b257600a9091610583565b5050600435600052600a602052604060002061094160405195607b60f81b60208801527f226e616d65223a225468652048756e74696e67206f662074686520536e61726b6021880152662032303234202360c81b604188015261061f81518092602060488b01910161248d565b8601916001600a61092581610907600d6108e660116108c161024661088b60f21b9c8d60488201527f226465736372697074696f6e223a225468652048756e74696e67206f66207468604a8201527f6520536e61726b2069732061206e6f6e73656e736520706f656d207772697474606a8201527f656e206279204c6577697320436172726f6c6c2c2062657374206b6e6f776e20608a8201527f61732074686520617574686f72206f6620416c69636520696e20576f6e64657260aa8201527f6c616e642c20616e64207075626c697368656420696e20456e676c616e64206960ca8201527f6e20313837362e20497420697320612074616c65206f66206578706c6f72617460ea8201527f696f6e206f6e206120737472616e67652069736c616e6420696e20736561726361010a8201527f68206f6620746865206c6567656e6461727920637265617475726520536e617261012a8201527f6b2062792061207061727479206f66206578706c6f726572732c20686f6c646961014a8201527f6e67206120626c616e6b206e6175746963616c20636861727420776974686f7561016a8201527f7420746865206c656173742076657374696765206f66206c616e64206f6e206961018a8201527f742e204920686176652073656c6563746564206d656d6f7261626c6520776f726101aa8201527f64732066726f6d2065616368206f6620746865206569676874206368617074656101ca8201527f727320616e6420617373656d626c656420746865206c6574746572732067656e6101ea8201527f657261746976656c792e2054686973206769766573207269736520746f20612061020a820152721d985c9a595d1e481bd988199bdc9b5ccb888b606a1b61022a820152681134b6b0b3b2911d1160b91b61023d820152018a6128d3565b8b81526e113932b9ba37b932afb5b2bc911d1160891b600282015201600489016128d3565b8981526a113137b7b5afb4b2111d1160a91b600282015201600287016128d3565b87815267113630b733911d1160c11b600282015201600385016128d3565b85815267113830b3b2911d1160c11b60028201520191016128d3565b8181526f1132bc3a32b93730b62fbab936111d1160811b60028201526008546000929161096d82612565565b9160018116908115610ac35750600114610a67575b6102c5610a1489610a0f6012828c8c8c8c8c81526d2261747472696275746573223a5b60901b60028201526109c182518093602060108501910161248d565b016109d682518093602060108501910161248d565b016109eb82518093602060108501910161248d565b01605d60f81b6010820152607d60f81b601182015203600d198101845201826123cd565b612987565b6102b1603d60405180937f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006020830152610a57815180926020868601910161248d565b810103601d8101845201826123cd565b9091925060086000527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee36000905b838210610aac5750500160120190846102c5610982565b600181602092546012858701015201910190610a95565b60ff191660128381019190915283151590930290910190910192508590506102c5610982565b60019094019361056e565b606460029104960195610567565b600491049601958761055c565b600891049601958761054f565b6010910496019587610540565b602091049601958761052e565b60409650600435049050600a610512565b3461020a57610b553661245e565b90610b5e612536565b610b678161272b565b506000526020600a81526004604060002001908251906001600160401b038211610c8357610b958354612565565b601f8111610c3d575b5080601f8311600114610bda5750819293600092610bcf575b5050600019600383901b1c191660019190911b179055005b015190508380610bb7565b90601f198316948460005282600020926000905b878210610c25575050836001959610610c0c575b505050811b019055005b015160001960f88460031b161c19169055838080610c02565b80600185968294968601518155019501930190610bee565b8360005281600020601f840160051c810191838510610c79575b601f0160051c01905b818110610c6d5750610b9e565b60008155600101610c60565b9091508190610c57565b634e487b7160e01b600052604160045260246000fd5b3461020a57608036600319011261020a57610cb26124d5565b610cba6124eb565b90604435606435926001600160401b03841161020a573660238501121561020a57610cf2610d03943690602481600401359101612409565b92610cfe83838361259f565b612796565b005b3461020a57600036600319011261020a57600c546040516001600160a01b039091168152602090f35b3461020a57610d3c3661245e565b90610d45612536565b610d4e8161272b565b50600052602090600a825260019081604060002001928151916001600160401b038311610c8357610d7f8554612565565b601f8111610e0e575b5081601f8411600114610dc55750928293918392600094610dba575b50501b916000199060031b1c1916179055600080f35b015192508580610da4565b919083601f1981168760005284600020946000905b88838310610df45750505010610c0c57505050811b019055005b858701518855909601959485019487935090810190610dda565b8560005282600020601f850160051c810191848610610e4d575b601f0160051c019085905b828110610e41575050610d88565b60008155018590610e33565b9091508190610e28565b3461020a57602036600319011261020a57610e70612536565b600435600b55005b3461020a57604036600319011261020a57610e916124d5565b6024359081151580920361020a576001600160a01b0316908115610f0457336000526005602052604060002082600052602052604060002060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b604051630b61174360e31b815260048101839052602490fd5b3461020a57600036600319011261020a5760405160006001805490610f4182612565565b808552918181169081156103245750600114610f67576102c5846102b1818603826123cd565b600081815292507fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b828410610fa85750505081016020016102b1826102a1565b80546020858701810191909152909301928101610f90565b3461020a57600036600319011261020a5760065460405160089190911c6001600160a01b03168152602090f35b3461020a57600036600319011261020a576020600b54604051908152f35b60a036600319011261020a576004356001600160401b03811161020a57611036903690600401612440565b6024356001600160401b03811161020a57611055903690600401612440565b6044356001600160401b03811161020a57611074903690600401612440565b916064356001600160401b03811161020a57611094903690600401612440565b926084356001600160401b03811161020a576110b4903690600401612440565b92600b5434106118fa576007549260001984146118e4576001840160075583600052600a6020526040600020908051906001600160401b038211610c835781906110fe8454612565565b601f8111611894575b50602090601f83116001146118285760009261181d575b50508160011b916000199060031b1c19161790555b82600052600a6020526001604060002001908051906001600160401b038211610c835781906111628454612565565b601f81116117cd575b50602090601f831160011461176157600092611756575b50508160011b916000199060031b1c19161790555b81600052600a6020526002604060002001908051906001600160401b038211610c835781906111c68454612565565b601f8111611706575b50602090601f831160011461169a5760009261168f575b50508160011b916000199060031b1c19161790555b80600052600a602052600360406000200183516001600160401b038111610c83576112268254612565565b601f811161164b575b50602094601f82116001146115e5579481929394956000926115da575b50508160011b916000199060031b1c19161790555b80600052600a602052600460406000200182516001600160401b038111610c835761128c8254612565565b601f8111611592575b506020601f821160011461152c5781929394600092611521575b50508160011b916000199060031b1c19161790555b604051906112d1826123b2565b600082523315611508576112e36128b5565b6000818152600260205260409020546001600160a01b0392908316801515806114d1575b3360005260036020526040600020600181540190558360005260026020526040600020336bffffffffffffffffffffffff60a01b825416179055836040519233907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46114bb5750333b6113ca575b5050600c54163447106113b25760008080809334905af1611398612766565b50156113a057005b604051630a12f52160e11b8152600490fd5b60405163cd78605960e01b8152306004820152602490fd5b60206114069160405180938192630a85bd0160e11b968784523360048501526000602485015260448401526080606484015260848301906124b0565b03816000335af160009181611476575b5061144857611423612766565b8051908161144357604051633250574960e11b8152336004820152602490fd5b602001fd5b6001600160e01b0319160361145e578180611379565b604051633250574960e11b8152336004820152602490fd5b9091506020813d6020116114b3575b81611492602093836123cd565b8101031261020a57516001600160e01b03198116810361020a579084611416565b3d9150611485565b6339e3563760e11b815260006004820152602490fd5b600084815260046020526040902080546001600160a01b031916905581600052600360205260406000206000198154019055611307565b604051633250574960e11b815260006004820152602490fd5b0151905084806112af565b601f198216908360005260206000209160005b81811061157a57509583600195969710611561575b505050811b0190556112c4565b015160001960f88460031b161c19169055848080611554565b9192602060018192868b01518155019401920161153f565b826000526020600020601f830160051c810191602084106115d0575b601f0160051c01905b8181106115c45750611295565b600081556001016115b7565b90915081906115ae565b01519050858061124c565b601f198216958360005260206000209160005b8881106116335750836001959697981061161a575b505050811b019055611261565b015160001960f88460031b161c1916905585808061160d565b919260206001819286850151815501940192016115f8565b826000526020600020601f830160051c810160208410611688575b601f830160051c8201811061167c57505061122f565b60008155600101611666565b5080611666565b0151905086806111e6565b9250836000526020600020906000935b601f19841685106116eb576001945083601f198116106116d2575b505050811b0190556111fb565b015160001960f88460031b161c191690558680806116c5565b818101518355602094850194600190930192909101906116aa565b909150836000526020600020601f840160051c81016020851061174f575b90849392915b601f830160051c820181106117405750506111cf565b6000815585945060010161172a565b5080611724565b015190508780611182565b9250836000526020600020906000935b601f19841685106117b2576001945083601f19811610611799575b505050811b019055611197565b015160001960f88460031b161c1916905587808061178c565b81810151835560209485019460019093019290910190611771565b909150836000526020600020601f840160051c810160208510611816575b90849392915b601f830160051c8201811061180757505061116b565b600081558594506001016117f1565b50806117eb565b01519050888061111e565b9250836000526020600020906000935b601f1984168510611879576001945083601f19811610611860575b505050811b019055611133565b015160001960f88460031b161c19169055888080611853565b81810151835560209485019460019093019290910190611838565b909150836000526020600020601f840160051c8101602085106118dd575b90849392915b601f830160051c820181106118ce575050611107565b600081558594506001016118b8565b50806118b2565b634e487b7160e01b600052601160045260246000fd5b60405162461bcd60e51b815260206004820152601360248201527224b739bab33334b1b4b2b73a10333ab732399760691b6044820152606490fd5b3461020a576119433661245e565b9061194c612536565b6119558161272b565b506000526020600a81526040600020908251906001600160401b038211610c83576119808354612565565b601f8111611a02575b5080601f83116001146119b95750819293600092610bcf575050600019600383901b1c191660019190911b179055005b90601f198316948460005282600020926000905b8782106119ea575050836001959610610c0c57505050811b019055005b806001859682949686015181550195019301906119cd565b8360005281600020601f840160051c810191838510611a3e575b601f0160051c01905b818110611a325750611989565b60008155600101611a25565b9091508190611a1c565b3461020a57600036600319011261020a57611a61612536565b611a696128b5565b600160ff1960065416176006557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b3461020a5760208060031936011261020a576001600160401b0360043581811161020a57611ad4903690600401612440565b91611add612536565b8251918211610c8357611af1600854612565565b601f8111611bb7575b5080601f8311600114611b3657508192600092611b2b575b5050600019600383901b1c191660019190911b17600855005b015190508280611b12565b90601f1983169360086000527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3926000905b868210611b9f5750508360019510611b86575b505050811b01600855005b015160001960f88460031b161c19169055828080611b7b565b80600185968294968601518155019501930190611b68565b60086000527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3601f840160051c810191838510611c11575b601f0160051c01905b818110611c055750611afa565b60008155600101611bf8565b9091508190611bef565b3461020a57600036600319011261020a57611c34612536565b60068054610100600160a81b0319811690915560009060081c6001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b3461020a57602036600319011261020a576001600160a01b03611c9d6124d5565b168015611cbc5760005260036020526020604060002054604051908152f35b6040516322718ad960e21b815260006004820152602490fd5b3461020a57602036600319011261020a576020611cf360043561272b565b6040516001600160a01b039091168152f35b3461020a57600036600319011261020a57602060ff600654166040519015158152f35b3461020a5760208060031936011261020a576001600160401b0360043581811161020a57611d5a903690600401612440565b91611d63612536565b8251918211610c8357611d77600954612565565b601f8111611e3d575b5080601f8311600114611dbc57508192600092611db1575b5050600019600383901b1c191660019190911b17600955005b015190508280611d98565b90601f1983169360096000527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af926000905b868210611e255750508360019510611e0c575b505050811b01600955005b015160001960f88460031b161c19169055828080611e01565b80600185968294968601518155019501930190611dee565b60096000527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af601f840160051c810191838510611e97575b601f0160051c01905b818110611e8b5750611d80565b60008155600101611e7e565b9091508190611e75565b3461020a57611eaf3661245e565b90611eb8612536565b611ec18161272b565b506000526020600a81526003604060002001908251906001600160401b038211610c8357611eef8354612565565b601f8111611f71575b5080601f8311600114611f285750819293600092610bcf575050600019600383901b1c191660019190911b179055005b90601f198316948460005282600020926000905b878210611f59575050836001959610610c0c57505050811b019055005b80600185968294968601518155019501930190611f3c565b8360005281600020601f840160051c810191838510611fad575b601f0160051c01905b818110611fa15750611ef8565b60008155600101611f94565b9091508190611f8b565b3461020a57610d03611fc836612501565b9060405192611fd6846123b2565b60008452610cfe83838361259f565b3461020a57600036600319011261020a57611ffe612536565b60065460ff81161561203d5760ff19166006557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b604051638dfc202b60e01b8152600490fd5b3461020a57610d0361206036612501565b9161259f565b3461020a57604036600319011261020a5761207f6124d5565b60243561208b8161272b565b3315158061213a575b8061210d575b6120f5576001600160a01b039283169282918491167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4600090815260046020526040902080546001600160a01b0319169091179055005b60405163a9fbf51f60e01b8152336004820152602490fd5b5060018060a01b038116600052600560205260406000203360005260205260ff604060002054161561209a565b506001600160a01b038116331415612094565b3461020a57602036600319011261020a5760043561216a8161272b565b506000526004602052602060018060a01b0360406000205416604051908152f35b3461020a57600036600319011261020a57604051600080546121ac81612565565b8084529060019081811690811561032457506001146121d5576102c5846102b1818603826123cd565b600080805292507f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b8284106122165750505081016020016102b1826102a1565b805460208587018101919091529093019281016121fe565b3461020a57602036600319011261020a5760043563ffffffff60e01b811680910361020a576020906380ac58cd60e01b811490811561228b575b811561227a575b506040519015158152f35b6301ffc9a760e01b1490508261226f565b635b5e139f60e01b81149150612268565b3461020a576122aa3661245e565b906122b3612536565b6122bc8161272b565b506000526020600a81526002604060002001908251906001600160401b038211610c83576122ea8354612565565b601f811161236c575b5080601f83116001146123235750819293600092610bcf575050600019600383901b1c191660019190911b179055005b90601f198316948460005282600020926000905b878210612354575050836001959610610c0c57505050811b019055005b80600185968294968601518155019501930190612337565b8360005281600020601f840160051c8101918385106123a8575b601f0160051c01905b81811061239c57506122f3565b6000815560010161238f565b9091508190612386565b602081019081106001600160401b03821117610c8357604052565b90601f801991011681019081106001600160401b03821117610c8357604052565b6001600160401b038111610c8357601f01601f191660200190565b929192612415826123ee565b9161242360405193846123cd565b82948184528183011161020a578281602093846000960137010152565b9080601f8301121561020a5781602061245b93359101612409565b90565b90604060031983011261020a5760043591602435906001600160401b03821161020a5761245b91600401612440565b60005b8381106124a05750506000910152565b8181015183820152602001612490565b906020916124c98151809281855285808601910161248d565b601f01601f1916010190565b600435906001600160a01b038216820361020a57565b602435906001600160a01b038216820361020a57565b606090600319011261020a576001600160a01b0390600435828116810361020a5791602435908116810361020a579060443590565b60065460081c6001600160a01b0316330361254d57565b60405163118cdaa760e01b8152336004820152602490fd5b90600182811c92168015612595575b602083101461257f57565b634e487b7160e01b600052602260045260246000fd5b91607f1691612574565b916001600160a01b03918216918215611508576125ba6128b5565b600093828552826020946002865260409584878920541696879133151580612695575b509060027fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9284612662575b858c5260038152828c2080546001019055868c5252808a2080546001600160a01b03191685179055519880a4168083036126435750505050565b6364283d7b60e01b845260048401526024830152604482015260649150fd5b600087815260046020526040902080546001600160a01b0319169055848c5260038152828c208054600019019055612609565b919394509150806126ea575b156126b1578592918791386125dd565b5084866126ce576024915190637e27328960e01b82526004820152fd5b604491519063177e802f60e01b82523360048301526024820152fd5b50338714801561270f575b806126a15750858852600481523385838a205416146126a1565b5086885260058152818820338952815260ff82892054166126f5565b6000818152600260205260409020546001600160a01b031690811561274e575090565b60249060405190637e27328960e01b82526004820152fd5b3d15612791573d90612777826123ee565b9161278560405193846123cd565b82523d6000602084013e565b606090565b9190803b6127a5575b50505050565b6127e760018060a01b0380921694604051938493630a85bd0160e11b9687865233600487015216602485015260448401526080606484015260848301906124b0565b03906020816000938185885af190829082612866575b5050612835578261280c612766565b805191908261282e57604051633250574960e11b815260048101839052602490fd5b9050602001fd5b6001600160e01b0319160361284e57503880808061279f565b60249060405190633250574960e11b82526004820152fd5b909192506020813d82116128ad575b81612882602093836123cd565b810103126128a95751906001600160e01b0319821682036128a657509038806127fd565b80fd5b5080fd5b3d9150612875565b60ff600654166128c157565b60405163d93c066560e01b8152600490fd5b6000929181546128e281612565565b9260019180831690811561293a57506001146128fe5750505050565b90919293945060005260209081600020906000915b858310612929575050505001903880808061279f565b805485840152918301918101612913565b60ff191684525050508115159091020191503880808061279f565b9061295f826123ee565b61296c60405191826123cd565b828152809261297d601f19916123ee565b0190602036910137565b805115612ad75760405190606082018281106001600160401b03821117610c8357604052604082527f4142434445464748494a4b4c4d4e4f505152535455565758595a61626364656660208301527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f604083015280516002918282018092116118e4576003918290046001600160fe1b03811681036118e457612a2d908495941b612955565b936020850193829183518401906020820192835194600085525b838110612a86575050505052510680600114612a7357600214612a68575090565b603d90600019015390565b50603d9081600019820153600119015390565b87600491999293949901918251600190603f9082828260121c16880101518453828282600c1c16880101518385015382828260061c1688010151888501531685010151898201530197929190612a47565b50604051612ae4816123b2565b600081529056fea2646970667358221220e1d71c90f053c2b127aaa4bf92ec09bf2d79a20e4c769c0b0c8930241f5a38ba64736f6c63430008140033

Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.