ETH Price: $2,526.22 (+0.34%)

Token

Preview (PRV)
 

Overview

Max Total Supply

106 PRV

Holders

72

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
burner.0xfff.eth
Balance
1 PRV
0xfff5086e00bc92ee04826b0f5398ebbdb8ea4000
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Preview

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : Preview.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Base64.sol";

interface IFont {
    function font() external view returns (string memory);
}

contract Preview is ERC721, ERC2981, ReentrancyGuard, Ownable {
    using SafeMath for uint256;

    struct TokenContext {
        uint256 color;
        uint256 bg;
        address creator;
    }

    uint256 private _tokenSupply;
    uint256 public price = 0.01 ether;
    uint256 public artistPercentage = 33;
    bool public isActive;
    string public description;
    string private _baseExternalURI;
    address public artistAddress;
    address public additionalAddress;
    mapping(uint256 => TokenContext) public tokenContexts;
    mapping(address => bool) public allowlist;
    mapping(uint256 => bool) private mintedColors;

    IFont private font;

    event Mint(address _address, uint256 _tokenId, string _color, string _background);

    constructor(address _fontAddress, string memory _description) ERC721("Preview", "PRV") {
        font = IFont(_fontAddress);
        description = _description;
    }

    function _mint(string memory color, string memory background) private {
        require(isActive, "inactive");
        uint256 c = hexToInt(color);
        uint256 b = hexToInt(background);
        require(c != b, "minted colors");
        require(mintedColors[c] == false, "minted colors");
        require(mintedColors[b] == false, "minted colors");
        tokenContexts[_tokenSupply] = TokenContext(c, b, _msgSender());
        mintedColors[c] = true;
        mintedColors[b] = true;
        _safeMint(_msgSender(), _tokenSupply);
        emit Mint(_msgSender(), _tokenSupply, color, background);
        _tokenSupply++;
    }

    // @dev color = 000, background = FFF
    function mint(string memory color, string memory background) external payable nonReentrant {
        require(msg.value >= price, "Not enough ETH sent; check price!");
        _mint(color, background);
        uint256 artistAmount = price.div(100).mul(artistPercentage);
        payable(artistAddress).transfer(artistAmount);
        payable(additionalAddress).transfer(msg.value.sub(artistAmount));
    }

    // @dev color = 000, background = FFF
    function mintBNN(string memory color, string memory background) external nonReentrant {
        require(allowlist[_msgSender()], "only allowlist");
        allowlist[_msgSender()] = false;
        _mint(color, background);
    }

    // @dev color = 000, background = FFF
    function preview(string memory color, string memory background)
        external
        view
        returns (
            bool isColorOK,
            bool isBackgroundOK,
            string memory html,
            string memory svg
        )
    {
        isColorOK = !mintedColors[hexToInt(color)];
        isBackgroundOK = !mintedColors[hexToInt(background)];
        svg = string(
            abi.encodePacked(
                "data:image/svg+xml;base64,",
                Base64.encode(bytes(tokenSVG(color, background)))
            )
        );
        html = string(
            abi.encodePacked(
                "data:text/html;base64,",
                Base64.encode(bytes(tokenHTML(color, background)))
            )
        );
    }

    function colorTable() external view returns (bool[] memory) {
        bool[] memory colors = new bool[](4096);
        for (uint256 i; i <= 4095; i++) {
            colors[i] = mintedColors[i];
        }
        return colors;
    }

    function setIsActive(bool _isActive) external onlyOwner {
        isActive = _isActive;
    }

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

    function setDescription(string memory desc) external onlyOwner {
        description = desc;
    }

    function setBaseExternalURI(string memory URI) external onlyOwner {
        _baseExternalURI = URI;
    }

    function addAddressesToAllowlist(address[] memory addrs) external onlyOwner {
        for (uint256 i = 0; i < addrs.length; i++) {
            allowlist[addrs[i]] = true;
        }
    }

    function removeAddressesFromAllowlist(address[] memory addrs) external onlyOwner {
        for (uint256 i = 0; i < addrs.length; i++) {
            allowlist[addrs[i]] = false;
        }
    }

    function setPaymentAddresses(
        address _artistAddress,
        address _additionalAddress,
        uint256 _artistPercentage
    ) external onlyOwner {
        artistAddress = _artistAddress;
        additionalAddress = _additionalAddress;
        artistPercentage = _artistPercentage;
    }

    function intToHex(uint256 value) public pure returns (string memory) {
        bytes memory buffer = new bytes(3);
        bytes16 symbols = "0123456789abcdef";
        uint256 i = 3;
        do {
            i--;
            buffer[i] = symbols[value & 0xf];
            value >>= 4;
        } while (i > 0);
        require(value == 0);
        return string(buffer);
    }

    function byteToInt(bytes1 b) private pure returns (uint8) {
        if (b >= "0" && b <= "9") {
            return uint8(b) - uint8(bytes1("0"));
        } else if (b >= "A" && b <= "F") {
            return 10 + uint8(b) - uint8(bytes1("A"));
        } else if (b >= "a" && b <= "f") {
            return 10 + uint8(b) - uint8(bytes1("a"));
        }
        revert("invalid character");
    }

    function hexToInt(string memory str) public pure returns (uint256) {
        bytes memory b = bytes(str);
        require(b.length == 3, "invalid color");
        uint256 number = 0;
        for (uint256 i = 0; i < 3; i++) {
            number = number << 4;
            number |= byteToInt(b[i]);
        }
        require(number >= 0 && number <= 4095, "invalid color");
        return number;
    }

    function svgStyle(string memory _color, string memory _bg)
        private
        view
        returns (string memory)
    {
        return
            string(
                abi.encodePacked(
                    "<style>",
                    "@font-face {font-family:'HASH';font-display:block;src:url(",
                    font.font(),
                    ") format('woff2');}",
                    "html,body{width:100%;height:100%;overflow:hidden;background-color:black}*{margin:0;padding:0;box-sizing:border-box;line-height:1;font-family:'HASH',monospace}.w{x:0;y:0;width:100%;height:100%}text,p{dominant-baseline:text-before-edge;fill:",
                    "#",
                    _color,
                    ";stroke:#",
                    _color,
                    ";color:#",
                    _color,
                    "}.bg{fill:#",
                    _bg,
                    ";background-color:#",
                    _bg,
                    "}p{display:inline-block;white-space:nowrap;position:absolute}",
                    ".rtl{animation:rtl 5s linear infinite}@keyframes rtl{from{transform:translateX(0%)}to{transform:translateX(-100%)}}.rtl2{animation:rtl2 5s linear infinite}@keyframes rtl2{from{transform:translateX(100%)}to{transform:translateX(0%)}}.ltr{animation:ltr 5s linear infinite}@keyframes ltr{from{transform:translateX(-100%)}to{transform:translateX(0%)}}.ltr2{animation:ltr2 5s linear infinite}@keyframes ltr2{from{transform:translateX(0%)}to{transform:translateX(100%)}}"
                    "</style>"
                )
            );
    }

    string constant TEXT = "The quick brown fox jumps over the lazy dog.1234567890";

    string[7] SVGsizes = ["60", "70", "80", "110", "140", "170", "200"];
    string[7] SVGtops = ["15", "90", "175", "270", "400", "565", "765"];
    uint256[7] SVGwidths = [2050, 2392, 2734, 3759, 4784, 5810, 6835];

    string[7] HTMLheights = ["7.5", "8.5", "9.5", "13", "16.5", "20", "22.5"];
    string[7] HTMLsizes = ["6", "7", "8", "11", "14", "17", "20"];
    string[2] HTMLdirections = ["ltr", "rtl"];

    function tokenSVG(string memory _color, string memory _bg) public view returns (string memory) {
        string memory body;
        uint256 seed = uint256(keccak256(abi.encodePacked(_color, _bg)));
        for (uint256 i = 0; i < 7; i++) {
            body = string(
                abi.encodePacked(
                    body,
                    "<text x='-",
                    Strings.toString(seed % (SVGwidths[i] - 1000)),
                    "' y='",
                    SVGtops[i],
                    "' font-size='",
                    SVGsizes[i],
                    "'>",
                    TEXT,
                    "</text>"
                )
            );
            seed = uint256(keccak256(abi.encodePacked(seed)));
        }

        return
            string(
                abi.encodePacked(
                    "<svg viewBox='0 0 1000 1000' width='1000px' height='1000px' fill='none' preserveAspectRatio='xMidYMid meet' version='2' xmlns='http://www.w3.org/2000/svg'>",
                    svgStyle(_color, _bg),
                    "<rect class='bg w'/>",
                    body,
                    "</svg>"
                )
            );
    }

    function tokenHTML(string memory _color, string memory _bg)
        public
        view
        returns (string memory)
    {
        string memory body;
        uint256 seed = uint256(keccak256(abi.encodePacked(_color, _bg)));
        for (uint256 i = 0; i < 7; i++) {
            string memory speed = Strings.toString(20 + (seed % 30));
            seed = uint256(keccak256(abi.encodePacked(seed)));
            string memory direction = HTMLdirections[seed % HTMLdirections.length];
            seed = uint256(keccak256(abi.encodePacked(seed)));
            string memory animationFunction = string(
                abi.encodePacked(
                    "animation-timing-function:cubic-bezier(",
                    "0.",
                    Strings.toString(uint256(keccak256(abi.encodePacked(seed, "af1"))) % 10),
                    ",0.",
                    Strings.toString(uint256(keccak256(abi.encodePacked(seed, "af2"))) % 10),
                    ",0.",
                    Strings.toString(uint256(keccak256(abi.encodePacked(seed, "af3"))) % 10),
                    ",0.",
                    Strings.toString(uint256(keccak256(abi.encodePacked(seed, "af4"))) % 10),
                    ")"
                )
            );
            seed = uint256(keccak256(abi.encodePacked(seed)));
            body = string(
                abi.encodePacked(
                    body,
                    "<div style='height:",
                    HTMLheights[i],
                    "vh; font-size:",
                    HTMLsizes[i],
                    "vh'>",
                    "<p class='",
                    direction,
                    "' style='animation-delay:500ms;animation-duration:",
                    speed,
                    "s;",
                    animationFunction,
                    "'>",
                    TEXT,
                    "&nbsp;",
                    "</p>",
                    "<p class='",
                    direction,
                    "2' style='animation-delay:500ms;animation-duration:",
                    speed,
                    "s;",
                    animationFunction,
                    "'>",
                    TEXT,
                    "&nbsp;",
                    "</p></div>"
                )
            );
        }

        return
            string(
                abi.encodePacked(
                    "<!DOCTYPE html><html><head><meta name='format-detection' content='telephone=no'/>",
                    "<link rel='preload' href='",
                    font.font(),
                    "' as='font' type='font/woff2'/>",
                    svgStyle(_color, _bg),
                    "</head><body xmlns='http://www.w3.org/1999/xhtml'><div style='padding-top:1.5vh;height:100%;max-width:200vh;position:relative;overflow:hidden;margin:0 auto;' class='bg'>",
                    body,
                    "</div></body></html>"
                )
            );
    }

    function getMetaData(uint256 _tokenId) private view returns (string memory) {
        TokenContext memory ctx = tokenContexts[_tokenId];
        string memory _color = intToHex(ctx.color);
        string memory _bg = intToHex(ctx.bg);
        return
            string(
                abi.encodePacked(
                    '{"name":"Preview #',
                    _color,
                    " #",
                    _bg,
                    '","description":"',
                    description,
                    '","image":"data:image/svg+xml;base64,',
                    Base64.encode(bytes(tokenSVG(_color, _bg))),
                    '","animation_url":"data:text/html;base64,',
                    Base64.encode(bytes(tokenHTML(_color, _bg))),
                    '","external_url":"',
                    _baseExternalURI,
                    Strings.toString(_tokenId),
                    '","attributes":[{"trait_type":"New Creator","value":"',
                    Strings.toHexString(ctx.creator),
                    '"},{"trait_type":"Color","value":"',
                    _color,
                    '"},{"trait_type":"Background","value":"',
                    _bg,
                    '"}]}'
                )
            );
    }

    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");
        return string(abi.encodePacked("data:application/json;utf8,", getMetaData(_tokenId)));
    }

    function totalSupply() external view returns (uint256) {
        return _tokenSupply;
    }

    function setRoyaltyInfo(address receiver_, uint96 royaltyBps_) external onlyOwner {
        _setDefaultRoyalty(receiver_, royaltyBps_);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC2981, ERC721)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../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.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

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

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

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

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

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

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

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

File 3 of 16 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 4 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 5 of 16 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 6 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.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}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

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

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

File 7 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../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 8 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 9 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 10 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 16 : Base64.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
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, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

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

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                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
            }

            // 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 12 of 16 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 13 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./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);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 14 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 15 of 16 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    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.
     *
     * _Available since v3.4._
     */
    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.
     *
     * _Available since v3.4._
     */
    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.
     *
     * _Available since v3.4._
     */
    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.
     *
     * _Available since v3.4._
     */
    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 addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 16 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_fontAddress","type":"address"},{"internalType":"string","name":"_description","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"_color","type":"string"},{"indexed":false,"internalType":"string","name":"_background","type":"string"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"addAddressesToAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"additionalAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"artistAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"artistPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"colorTable","outputs":[{"internalType":"bool[]","name":"","type":"bool[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"description","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":"string","name":"str","type":"string"}],"name":"hexToInt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"intToHex","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"color","type":"string"},{"internalType":"string","name":"background","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"color","type":"string"},{"internalType":"string","name":"background","type":"string"}],"name":"mintBNN","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"color","type":"string"},{"internalType":"string","name":"background","type":"string"}],"name":"preview","outputs":[{"internalType":"bool","name":"isColorOK","type":"bool"},{"internalType":"bool","name":"isBackgroundOK","type":"bool"},{"internalType":"string","name":"html","type":"string"},{"internalType":"string","name":"svg","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"removeAddressesFromAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseExternalURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"desc","type":"string"}],"name":"setDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_artistAddress","type":"address"},{"internalType":"address","name":"_additionalAddress","type":"address"},{"internalType":"uint256","name":"_artistPercentage","type":"uint256"}],"name":"setPaymentAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver_","type":"address"},{"internalType":"uint96","name":"royaltyBps_","type":"uint96"}],"name":"setRoyaltyInfo","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":"","type":"uint256"}],"name":"tokenContexts","outputs":[{"internalType":"uint256","name":"color","type":"uint256"},{"internalType":"uint256","name":"bg","type":"uint256"},{"internalType":"address","name":"creator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_color","type":"string"},{"internalType":"string","name":"_bg","type":"string"}],"name":"tokenHTML","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_color","type":"string"},{"internalType":"string","name":"_bg","type":"string"}],"name":"tokenSVG","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

662386f26fc10000600b556021600c55600261016081815261036360f41b6101805260809081526101a082815261037360f41b6101c05260a0526101e091825261038360f41b6102005260c09190915260036102208181526203131360ec1b6102405260e0526102608181526203134360ec1b61028052610100526102a08181526203137360ec1b6102c052610120526103206040526102e09081526203230360ec1b6103005261014052620000ba90601690600762000537565b506040805161012081018252600260e0820181815261313560f01b61010084015282528251808401845290815261039360f41b602082810191909152808301919091528251808401845260038082526231373560e81b8284015283850191909152835180850185528181526203237360ec1b818401526060840152835180850185528181526203430360ec1b818401526080840152835180850185528181526235363560e81b8184015260a0840152835180850190945283526237363560e81b9083015260c08101919091526200019690601d90600762000537565b506040805160e08101825261080281526109586020820152610aae91810191909152610eaf60608201526112b060808201526116b260a0820152611ab360c0820152620001e890602490600762000587565b506040518060e0016040528060405180604001604052806003815260200162372e3560e81b815250815260200160405180604001604052806003815260200162382e3560e81b815250815260200160405180604001604052806003815260200162392e3560e81b815250815260200160405180604001604052806002815260200161313360f01b81525081526020016040518060400160405280600481526020016331362e3560e01b815250815260200160405180604001604052806002815260200161032360f41b81525081526020016040518060400160405280600481526020016332322e3560e01b815250815250602b906007620002eb92919062000537565b506040805161012081018252600160e08201818152601b60f91b610100840152825282518084018452818152603760f81b6020828101919091528084019190915283518085018552918252600760fb1b828201528284019190915282518084018452600280825261313160f01b82840152606084019190915283518085018552818152610c4d60f21b8184015260808401528351808501855281815261313760f01b8184015260a08401528351808501909452835261032360f41b9083015260c0810191909152620003c290603290600762000537565b5060408051608081018252600381830181815262363a3960e91b6060840152825282518084019093528252621c9d1b60ea1b60208381019190915281019190915262000413906039906002620005cc565b503480156200042157600080fd5b5060405162005246380380620052468339810160408190526200044491620007eb565b604051806040016040528060078152602001665072657669657760c81b8152506040518060400160405280600381526020016228292b60e91b815250816000908162000491919062000942565b506001620004a0828262000942565b5050600160085550620004b333620004e5565b601580546001600160a01b0319166001600160a01b038416179055600e620004dc828262000942565b50505062000a12565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b826007810192821562000575579160200282015b8281111562000575578251829062000564908262000942565b50916020019190600101906200054b565b50620005839291506200060a565b5090565b8260078101928215620005be579160200282015b82811115620005be578251829061ffff169055916020019190600101906200059b565b50620005839291506200062b565b826002810192821562000575579160200282015b82811115620005755782518290620005f9908262000942565b5091602001919060010190620005e0565b808211156200058357600062000621828262000642565b506001016200060a565b5b808211156200058357600081556001016200062c565b508054620006509062000860565b6000825580601f1062000661575050565b601f0160209004906000526020600020908101906200068191906200062b565b50565b60006001600160a01b0382165b92915050565b620006a28162000684565b81146200068157600080fd5b8051620006918162000697565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681018181106001600160401b0382111715620006f957620006f9620006bb565b6040525050565b60006200070c60405190565b90506200071a8282620006d1565b919050565b60006001600160401b038211156200073b576200073b620006bb565b601f19601f83011660200192915050565b60005b83811015620007695781810151838201526020016200074f565b50506000910152565b60006200078962000783846200071f565b62000700565b905082815260208101848484011115620007a657620007a6600080fd5b620007b38482856200074c565b509392505050565b600082601f830112620007d157620007d1600080fd5b8151620007e384826020860162000772565b949350505050565b60008060408385031215620008035762000803600080fd5b6000620008118585620006ae565b92505060208301516001600160401b03811115620008325762000832600080fd5b6200084085828601620007bb565b9150509250929050565b634e487b7160e01b600052602260045260246000fd5b6002810460018216806200087557607f821691505b6020821081036200088a576200088a6200084a565b50919050565b6000620006916200089e8381565b90565b620008ac8362000890565b815460001960089490940293841b1916921b91909117905550565b6000620008d6818484620008a1565b505050565b81811015620008fa57620008f1600082620008c7565b600101620008db565b5050565b601f821115620008d6576000818152602090206020601f85010481016020851015620009275750805b6200093b6020601f860104830182620008db565b5050505050565b81516001600160401b038111156200095e576200095e620006bb565b6200096a825462000860565b62000977828285620008fe565b6020601f831160018114620009ae5760008415620009955750858201515b600019600886021c198116600286021786555062000a0a565b600085815260208120601f198616915b82811015620009e05788850151825560209485019460019092019101620009be565b86831015620009fd5784890151600019601f89166008021c191682555b6001600288020188555050505b505050505050565b6148248062000a226000396000f3fe6080604052600436106102515760003560e01c80637f17caa711610139578063b88d4fde116100b6578063d7eb3f3a1161007a578063d7eb3f3a14610715578063e985e9c514610735578063ee4ff3d01461077e578063f2fde38b1461079e578063f6cb8b82146107be578063f803f410146107de57600080fd5b8063b88d4fde1461064b578063c87b56dd1461066b578063c8adc4511461068b578063d65c430e146106ab578063d7179f4c146106ff57600080fd5b8063939462e5116100fd578063939462e5146105b057806395d89b41146105d0578063a035b1fe146105e5578063a22cb465146105fb578063a7cd52cb1461061b57600080fd5b80637f17caa71461051f5780638aa0fdad1461053f5780638da5cb5b1461055257806390c3f38f1461057057806391b7f5ed1461059057600080fd5b80632a55205a116101d25780636caacbe7116101965780636caacbe71461046557806370a0823114610485578063715018a6146104a55780637284e416146104ba5780637c0d3ca6146104cf5780637c774f0c146104ff57600080fd5b80632a55205a146103b55780633bf13de8146103e357806342842e0e146104035780635fc6af09146104235780636352211e1461044557600080fd5b8063095ea7b311610219578063095ea7b31461031d57806318160ddd1461033d57806322f3e2d41461035b57806323b872dd146103755780632750fc781461039557600080fd5b806301ffc9a71461025657806302fa7c471461028c57806306fdde03146102ae578063081812fc146102d0578063083c55fa146102fd575b600080fd5b34801561026257600080fd5b5061027661027136600461258c565b6107fe565b60405161028391906125b7565b60405180910390f35b34801561029857600080fd5b506102ac6102a7366004612604565b61080f565b005b3480156102ba57600080fd5b506102c3610825565b6040516102839190612697565b3480156102dc57600080fd5b506102f06102eb3660046126b9565b6108b7565b60405161028391906126e3565b34801561030957600080fd5b506102ac6103183660046127ea565b6108de565b34801561032957600080fd5b506102ac610338366004612850565b610967565b34801561034957600080fd5b50600a545b6040516102839190612889565b34801561036757600080fd5b50600d546102769060ff1681565b34801561038157600080fd5b506102ac610390366004612897565b6109ec565b3480156103a157600080fd5b506102ac6103b03660046128fa565b610a1d565b3480156103c157600080fd5b506103d56103d036600461291b565b610a38565b60405161028392919061293d565b3480156103ef57600080fd5b506102c36103fe3660046127ea565b610ae4565b34801561040f57600080fd5b506102ac61041e366004612897565b610c31565b34801561042f57600080fd5b50610438610c4c565b60405161028391906129b5565b34801561045157600080fd5b506102f06104603660046126b9565b610cd5565b34801561047157600080fd5b506102ac610480366004612a68565b610d0a565b34801561049157600080fd5b5061034e6104a0366004612aa2565b610d7a565b3480156104b157600080fd5b506102ac610dbe565b3480156104c657600080fd5b506102c3610dd2565b3480156104db57600080fd5b506104ef6104ea3660046127ea565b610e60565b6040516102839493929190612ac3565b34801561050b57600080fd5b5061034e61051a366004612b0e565b610f19565b34801561052b57600080fd5b506102ac61053a366004612a68565b610fc0565b6102ac61054d3660046127ea565b611030565b34801561055e57600080fd5b506009546001600160a01b03166102f0565b34801561057c57600080fd5b506102ac61058b366004612b0e565b61112f565b34801561059c57600080fd5b506102ac6105ab3660046126b9565b611143565b3480156105bc57600080fd5b506011546102f0906001600160a01b031681565b3480156105dc57600080fd5b506102c3611150565b3480156105f157600080fd5b5061034e600b5481565b34801561060757600080fd5b506102ac610616366004612b48565b61115f565b34801561062757600080fd5b50610276610636366004612aa2565b60136020526000908152604090205460ff1681565b34801561065757600080fd5b506102ac610666366004612b7b565b61116a565b34801561067757600080fd5b506102c36106863660046126b9565b6111a2565b34801561069757600080fd5b506102c36106a63660046127ea565b611208565b3480156106b757600080fd5b506106f06106c63660046126b9565b6012602052600090815260409020805460018201546002909201549091906001600160a01b031683565b60405161028393929190612bf9565b34801561070b57600080fd5b5061034e600c5481565b34801561072157600080fd5b506010546102f0906001600160a01b031681565b34801561074157600080fd5b50610276610750366004612c21565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561078a57600080fd5b506102c36107993660046126b9565b61156e565b3480156107aa57600080fd5b506102ac6107b9366004612aa2565b61161c565b3480156107ca57600080fd5b506102ac6107d9366004612897565b611656565b3480156107ea57600080fd5b506102ac6107f9366004612b0e565b611693565b6000610809826116a7565b92915050565b6108176116cc565b61082182826116f6565b5050565b60606000805461083490612c6a565b80601f016020809104026020016040519081016040528092919081815260200182805461086090612c6a565b80156108ad5780601f10610882576101008083540402835291602001916108ad565b820191906000526020600020905b81548152906001019060200180831161089057829003601f168201915b5050505050905090565b60006108c282611780565b506000908152600460205260409020546001600160a01b031690565b6002600854036109095760405162461bcd60e51b815260040161090090612cc7565b60405180910390fd5b60026008553360009081526013602052604090205460ff1661093d5760405162461bcd60e51b815260040161090090612cfc565b336000908152601360205260409020805460ff1916905561095e82826117b4565b50506001600855565b600061097282610cd5565b9050806001600160a01b0316836001600160a01b0316036109a55760405162461bcd60e51b815260040161090090612d4d565b336001600160a01b03821614806109c157506109c18133610750565b6109dd5760405162461bcd60e51b815260040161090090612db7565b6109e78383611968565b505050565b6109f633826119d6565b610a125760405162461bcd60e51b815260040161090090612e12565b6109e7838383611a55565b610a256116cc565b600d805460ff1916911515919091179055565b60008281526007602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610aad5750604080518082019091526006546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610acc906001600160601b031687612e38565b610ad69190612e6d565b915196919550909350505050565b60608060008484604051602001610afc929190612ea3565b6040516020818303038152906040528051906020012060001c905060005b6007811015610bfb5782610b586103e860248460078110610b3d57610b3d612ebb565b0154610b499190612ed1565b610b539085612ee4565b611b77565b601d8360078110610b6b57610b6b612ebb565b0160168460078110610b7f57610b7f612ebb565b0160405180606001604052806036815260200161477960369139604051602001610bad959493929190612fad565b604051602081830303815290604052925081604051602001610bcf919061303c565b60408051601f198184030181529190528051602090910120915080610bf381613051565b915050610b1a565b50610c068585611c77565b82604051602001610c189291906130a5565b6040516020818303038152906040529250505092915050565b6109e78383836040518060200160405280600081525061116a565b604080516110008082526202002082019092526060916000919060208201620200008036833701905050905060005b610fff8111610ccf57600081815260146020526040902054825160ff90911690839083908110610cad57610cad612ebb565b9115156020928302919091019091015280610cc781613051565b915050610c7b565b50919050565b6000818152600260205260408120546001600160a01b0316806108095760405162461bcd60e51b8152600401610900906131c5565b610d126116cc565b60005b815181101561082157600060136000848481518110610d3657610d36612ebb565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610d7281613051565b915050610d15565b60006001600160a01b038216610da25760405162461bcd60e51b81526004016109009061321b565b506001600160a01b031660009081526003602052604090205490565b610dc66116cc565b610dd06000611d1a565b565b600e8054610ddf90612c6a565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0b90612c6a565b8015610e585780601f10610e2d57610100808354040283529160200191610e58565b820191906000526020600020905b815481529060010190602001808311610e3b57829003601f168201915b505050505081565b60008060608060146000610e7388610f19565b8152602081019190915260400160009081205460ff16159450601490610e9887610f19565b815260208101919091526040016000205460ff16159250610ec1610ebc8787610ae4565b611d6c565b604051602001610ed19190613258565b6040516020818303038152906040529050610eef610ebc8787611208565b604051602001610eff919061326f565b604051602081830303815290604052915092959194509250565b80516000908290600314610f3f5760405162461bcd60e51b8152600401610900906132ba565b6000805b6003811015610f9657600482901b9150610f7c838281518110610f6857610f68612ebb565b01602001516001600160f81b031916611ebe565b60ff16821791508080610f8e90613051565b915050610f43565b50610fff811115610fb95760405162461bcd60e51b8152600401610900906132ba565b9392505050565b610fc86116cc565b60005b815181101561082157600160136000848481518110610fec57610fec612ebb565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061102881613051565b915050610fcb565b6002600854036110525760405162461bcd60e51b815260040161090090612cc7565b6002600855600b543410156110795760405162461bcd60e51b815260040161090090613308565b61108382826117b4565b60006110a7600c546110a16064600b54611fa690919063ffffffff16565b90611fb2565b6010546040519192506001600160a01b03169082156108fc029083906000818181858888f193505050501580156110e2573d6000803e3d6000fd5b506011546001600160a01b03166108fc6110fc3484611fbe565b6040518115909202916000818181858888f19350505050158015611124573d6000803e3d6000fd5b505060016008555050565b6111376116cc565b600e61082182826133b0565b61114b6116cc565b600b55565b60606001805461083490612c6a565b610821338383611fca565b61117433836119d6565b6111905760405162461bcd60e51b815260040161090090612e12565b61119c8484848461206c565b50505050565b6000818152600260205260409020546060906001600160a01b03166111d95760405162461bcd60e51b8152600401610900906134bf565b6111e28261209f565b6040516020016111f291906134cf565b6040516020818303038152906040529050919050565b60608060008484604051602001611220929190612ea3565b6040516020818303038152906040528051906020012060001c905060005b60078110156114d5576000611262611257601e85612ee4565b610b539060146134fd565b905082604051602001611275919061303c565b60408051601f19818403018152919052805160209091012092506000603961129e600286612ee4565b600281106112ae576112ae612ebb565b0180546112ba90612c6a565b80601f01602080910402602001604051908101604052809291908181526020018280546112e690612c6a565b80156113335780601f1061130857610100808354040283529160200191611333565b820191906000526020600020905b81548152906001019060200180831161131657829003601f168201915b505050505090508360405160200161134b919061303c565b6040516020818303038152906040528051906020012060001c935060006113a1600a8660405160200161137e9190613523565b6040516020818303038152906040528051906020012060001c610b539190612ee4565b6113b7600a8760405160200161137e919061354e565b6113cd600a8860405160200161137e9190613579565b6113e3600a8960405160200161137e91906135a4565b6040516020016113f69493929190613629565b604051602081830303815290604052905084604051602001611418919061303c565b6040516020818303038152906040528051906020012060001c945085602b856007811061144757611447612ebb565b016032866007811061145b5761145b612ebb565b0184868560405180606001604052806036815260200161477960369139888a89604051806060016040528060368152602001614779603691396040516020016114ae9b9a99989796959493929190613733565b604051602081830303815290604052955050505080806114cd90613051565b91505061123e565b50601560009054906101000a90046001600160a01b03166001600160a01b0316639d37bc7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611529573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611551919081019061393e565b61155b8686611c77565b83604051602001610c18939291906139c3565b604080516003808252818301909252606091600091906020820181803683370190505090506f181899199a1a9b1b9c1cb0b131b232b360811b60035b806115b481613b62565b9150508185600f16601081106115cc576115cc612ebb565b1a60f81b8382815181106115e2576115e2612ebb565b60200101906001600160f81b031916908160001a905350600485901c9450600081116115aa57841561161357600080fd5b50909392505050565b6116246116cc565b6001600160a01b03811661164a5760405162461bcd60e51b815260040161090090613bbc565b61165381611d1a565b50565b61165e6116cc565b601080546001600160a01b039485166001600160a01b0319918216179091556011805493909416921691909117909155600c55565b61169b6116cc565b600f61082182826133b0565b60006001600160e01b0319821663152a902d60e11b1480610809575061080982612169565b6009546001600160a01b03163314610dd05760405162461bcd60e51b815260040161090090613bfe565b6127106001600160601b03821611156117215760405162461bcd60e51b815260040161090090613c55565b6001600160a01b0382166117475760405162461bcd60e51b815260040161090090613c99565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600655565b6000818152600260205260409020546001600160a01b03166116535760405162461bcd60e51b8152600401610900906131c5565b600d5460ff166117d65760405162461bcd60e51b815260040161090090613cc8565b60006117e183610f19565b905060006117ee83610f19565b905080820361180f5760405162461bcd60e51b815260040161090090613cfc565b60008281526014602052604090205460ff161561183e5760405162461bcd60e51b815260040161090090613cfc565b60008181526014602052604090205460ff161561186d5760405162461bcd60e51b815260040161090090613cfc565b604051806060016040528083815260200182815260200161188b3390565b6001600160a01b03908116909152600a546000908152601260209081526040808320855181558583015160018083019190915595820151600290910180546001600160a01b031916919095161790935585825260149052818120805460ff1990811685179091558482529190208054909116909117905561190e33600a546121b9565b7ff2cbb0418e3132958dca4cc2e9ab525cf64488dfc7c0eaa45cdeb6c42b30490a33600a5486866040516119459493929190613d0c565b60405180910390a1600a805490600061195d83613051565b919050555050505050565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061199d82610cd5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806119e283610cd5565b9050806001600160a01b0316846001600160a01b03161480611a2957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611a4d5750836001600160a01b0316611a42846108b7565b6001600160a01b0316145b949350505050565b826001600160a01b0316611a6882610cd5565b6001600160a01b031614611a8e5760405162461bcd60e51b815260040161090090613d69565b6001600160a01b038216611ab45760405162461bcd60e51b815260040161090090613dba565b611abf600082611968565b6001600160a01b0383166000908152600360205260408120805460019290611ae8908490612ed1565b90915550506001600160a01b0382166000908152600360205260408120805460019290611b169084906134fd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b606081600003611b9e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611bc85780611bb281613051565b9150611bc19050600a83612e6d565b9150611ba2565b6000816001600160401b03811115611be257611be26126f1565b6040519080825280601f01601f191660200182016040528015611c0c576020820181803683370190505b5090505b8415611a4d57611c21600183612ed1565b9150611c2e600a86612ee4565b611c399060306134fd565b60f81b818381518110611c4e57611c4e612ebb565b60200101906001600160f81b031916908160001a905350611c70600a86612e6d565b9450611c10565b6015546040805163274def1f60e21b815290516060926001600160a01b031691639d37bc7c9160048083019260009291908290030181865afa158015611cc1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ce9919081019061393e565b8384858586604051602001611d0396959493929190613e2c565b604051602081830303815290604052905092915050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60608151600003611d8b57505060408051602081019091526000815290565b60006040518060600160405280604081526020016147af6040913990506000600384516002611dba91906134fd565b611dc49190612e6d565b611dcf906004612e38565b6001600160401b03811115611de657611de66126f1565b6040519080825280601f01601f191660200182016040528015611e10576020820181803683370190505b509050600182016020820185865187015b80821015611e7c576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050611e21565b5050600386510660018114611e985760028114611eab57611eb3565b603d6001830353603d6002830353611eb3565b603d60018303535b509195945050505050565b6000600360fc1b6001600160f81b0319831610801590611eec5750603960f81b6001600160f81b0319831611155b15611f0057610809603060f884901c6142e0565b604160f81b6001600160f81b0319831610801590611f2c5750602360f91b6001600160f81b0319831611155b15611f4c576041611f4260f884901c600a6142fd565b61080991906142e0565b606160f81b6001600160f81b0319831610801590611f785750603360f91b6001600160f81b0319831611155b15611f8e576061611f4260f884901c600a6142fd565b60405162461bcd60e51b815260040161090090614342565b6000610fb98284612e6d565b6000610fb98284612e38565b6000610fb98284612ed1565b816001600160a01b0316836001600160a01b031603611ffb5760405162461bcd60e51b815260040161090090614386565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319061205f9085906125b7565b60405180910390a3505050565b612077848484611a55565b612083848484846121d3565b61119c5760405162461bcd60e51b8152600401610900906143e5565b600081815260126020908152604080832081516060818101845282548083526001840154958301959095526002909201546001600160a01b0316928101929092529290916120ec9061156e565b905060006120fd836020015161156e565b90508181600e612110610ebc8686610ae4565b61211d610ebc8787611208565b600f6121288b611b77565b6121358a604001516122d4565b89896040516020016121509a99989796959493929190614490565b6040516020818303038152906040529350505050919050565b60006001600160e01b031982166380ac58cd60e01b148061219a57506001600160e01b03198216635b5e139f60e01b145b8061080957506301ffc9a760e01b6001600160e01b0319831614610809565b6108218282604051806020016040528060008152506122ea565b60006001600160a01b0384163b156122c957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061221790339089908890889060040161464a565b6020604051808303816000875af1925050508015612252575060408051601f3d908101601f1916820190925261224f9181019061468f565b60015b6122af573d808015612280576040519150601f19603f3d011682016040523d82523d6000602084013e612285565b606091505b5080516000036122a75760405162461bcd60e51b8152600401610900906143e5565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a4d565b506001949350505050565b60606108096001600160a01b038316601461231d565b6122f48383612488565b61230160008484846121d3565b6109e75760405162461bcd60e51b8152600401610900906143e5565b6060600061232c836002612e38565b6123379060026134fd565b6001600160401b0381111561234e5761234e6126f1565b6040519080825280601f01601f191660200182016040528015612378576020820181803683370190505b509050600360fc1b8160008151811061239357612393612ebb565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106123c2576123c2612ebb565b60200101906001600160f81b031916908160001a90535060006123e6846002612e38565b6123f19060016134fd565b90505b6001811115612469576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061242557612425612ebb565b1a60f81b82828151811061243b5761243b612ebb565b60200101906001600160f81b031916908160001a90535060049490941c9361246281613b62565b90506123f4565b508315610fb95760405162461bcd60e51b8152600401610900906146e2565b6001600160a01b0382166124ae5760405162461bcd60e51b815260040161090090614724565b6000818152600260205260409020546001600160a01b0316156124e35760405162461bcd60e51b815260040161090090614768565b6001600160a01b038216600090815260036020526040812080546001929061250c9084906134fd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981165b811461165357600080fd5b80356108098161256a565b6000602082840312156125a1576125a1600080fd5b6000611a4d8484612581565b8015155b82525050565b6020810161080982846125ad565b60006001600160a01b038216610809565b612576816125c5565b8035610809816125d6565b6001600160601b038116612576565b8035610809816125ea565b6000806040838503121561261a5761261a600080fd5b600061262685856125df565b9250506020612637858286016125f9565b9150509250929050565b60005b8381101561265c578181015183820152602001612644565b50506000910152565b600061266f825190565b808452602084019350612686818560208601612641565b601f01601f19169290920192915050565b60208082528101610fb98184612665565b80612576565b8035610809816126a8565b6000602082840312156126ce576126ce600080fd5b6000611a4d84846126ae565b6125b1816125c5565b6020810161080982846126da565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681018181106001600160401b038211171561272c5761272c6126f1565b6040525050565b600061273e60405190565b905061274a8282612707565b919050565b60006001600160401b03821115612768576127686126f1565b601f19601f83011660200192915050565b82818337506000910152565b60006127986127938461274f565b612733565b9050828152602081018484840111156127b3576127b3600080fd5b6127be848285612779565b509392505050565b600082601f8301126127da576127da600080fd5b8135611a4d848260208601612785565b6000806040838503121561280057612800600080fd5b82356001600160401b0381111561281957612819600080fd5b612825858286016127c6565b92505060208301356001600160401b0381111561284457612844600080fd5b612637858286016127c6565b6000806040838503121561286657612866600080fd5b600061287285856125df565b9250506020612637858286016126ae565b806125b1565b602081016108098284612883565b6000806000606084860312156128af576128af600080fd5b60006128bb86866125df565b93505060206128cc868287016125df565b92505060406128dd868287016126ae565b9150509250925092565b801515612576565b8035610809816128e7565b60006020828403121561290f5761290f600080fd5b6000611a4d84846128ef565b6000806040838503121561293157612931600080fd5b600061287285856126ae565b6040810161294b82856126da565b610fb96020830184612883565b600061296483836125ad565b505060200190565b6000612976825190565b80845260209384019383018060005b838110156129aa5781516129998882612958565b975060208301925050600101612985565b509495945050505050565b60208082528101610fb9818461296c565b60006001600160401b038211156129df576129df6126f1565b5060209081020190565b60006129f7612793846129c6565b83815290506020808201908402830185811115612a1657612a16600080fd5b835b81811015612a3a5780612a2b88826125df565b84525060209283019201612a18565b5050509392505050565b600082601f830112612a5857612a58600080fd5b8135611a4d8482602086016129e9565b600060208284031215612a7d57612a7d600080fd5b81356001600160401b03811115612a9657612a96600080fd5b611a4d84828501612a44565b600060208284031215612ab757612ab7600080fd5b6000611a4d84846125df565b60808101612ad182876125ad565b612ade60208301866125ad565b8181036040830152612af08185612665565b90508181036060830152612b048184612665565b9695505050505050565b600060208284031215612b2357612b23600080fd5b81356001600160401b03811115612b3c57612b3c600080fd5b611a4d848285016127c6565b60008060408385031215612b5e57612b5e600080fd5b6000612b6a85856125df565b9250506020612637858286016128ef565b60008060008060808587031215612b9457612b94600080fd5b6000612ba087876125df565b9450506020612bb1878288016125df565b9350506040612bc2878288016126ae565b92505060608501356001600160401b03811115612be157612be1600080fd5b612bed878288016127c6565b91505092959194509250565b60608101612c078286612883565b612c146020830185612883565b611a4d60408301846126da565b60008060408385031215612c3757612c37600080fd5b6000612c4385856125df565b9250506020612637858286016125df565b634e487b7160e01b600052602260045260246000fd5b600281046001821680612c7e57607f821691505b602082108103610ccf57610ccf612c54565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00815291505b5060200190565b6020808252810161080981612c90565b600e81526000602082016d1bdb9b1e48185b1b1bdddb1a5cdd60921b81529150612cc0565b6020808252810161080981612cd7565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b602082015291505b5060400190565b6020808252810161080981612d0c565b603e81526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f81527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060208201529150612d46565b6020808252810161080981612d5d565b602e81526000602082017f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6581526d1c881b9bdc88185c1c1c9bdd995960921b60208201529150612d46565b6020808252810161080981612dc7565b634e487b7160e01b600052601160045260246000fd5b818102808215838204851417612e5057612e50612e22565b5092915050565b634e487b7160e01b600052601260045260246000fd5b600082612e7c57612e7c612e57565b500490565b6000612e8b825190565b612e99818560208601612641565b9290920192915050565b6000612eaf8285612e81565b9150611a4d8284612e81565b634e487b7160e01b600052603260045260246000fd5b8181038181111561080957610809612e22565b600082612ef357612ef3612e57565b500690565b693c7465787420783d272d60b01b815260005b50600a0190565b60008154612f1f81612c6a565b600182168015612f365760018114612f4b57612f7b565b60ff1983168652811515820286019350612f7b565b60008581526020902060005b83811015612f7357815488820152600190910190602001612f57565b838801955050505b50505092915050565b61139f60f11b815260005b5060020190565b661e17ba32bc3a1f60c91b815260005b5060070190565b6000612fb98288612e81565b9150612fc482612ef8565b9150612fd08287612e81565b642720793d2760d81b81526005019150612fea8286612f12565b6c2720666f6e742d73697a653d2760981b8152600d01915061300c8285612f12565b915061301782612f84565b91506130238284612e81565b915061302e82612f96565b979650505050505050565b90565b60006130488284612883565b50602001919050565b6000600019820361306457613064612e22565b5060010190565b731e3932b1ba1031b630b9b99e93b133903b93979f60611b815260005b5060140190565b651e17b9bb339f60d11b815260005b5060060190565b7f3c7376672076696577426f783d2730203020313030302031303030272077696481527f74683d2731303030707827206865696768743d27313030307078272066696c6c60208201527f3d276e6f6e6527207072657365727665417370656374526174696f3d27784d6960408201527f64594d6964206d656574272076657273696f6e3d27322720786d6c6e733d276860608201527f7474703a2f2f7777772e77332e6f72672f323030302f737667273e00000000006080820152609b01600061316f8285612e81565b915061317a8261306b565b91506131868284612e81565b9150611a4d8261308f565b601881526000602082017f4552433732313a20696e76616c696420746f6b656e204944000000000000000081529150612cc0565b6020808252810161080981613191565b602981526000602082017f4552433732313a2061646472657373207a65726f206973206e6f7420612076618152683634b21037bbb732b960b91b60208201529150612d46565b60208082528101610809816131d5565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000815260005b50601a0190565b60006132638261322b565b9150610fb98284612e81565b7519185d184e9d195e1d0bda1d1b5b0ed8985cd94d8d0b60521b8152600060168201613263565b600d81526000602082016c34b73b30b634b21031b7b637b960991b81529150612cc0565b6020808252810161080981613296565b602181526000602082017f4e6f7420656e6f756768204554482073656e743b20636865636b2070726963658152602160f81b60208201529150612d46565b60208082528101610809816132ca565b60006108096130398381565b61332d83613318565b815460001960089490940293841b1916921b91909117905550565b60006109e7818484613324565b8181101561082157613368600082613348565b600101613355565b601f8211156109e7576000818152602090206020601f850104810160208510156133975750805b6133a96020601f860104830182613355565b5050505050565b81516001600160401b038111156133c9576133c96126f1565b6133d38254612c6a565b6133de828285613370565b6020601f83116001811461341257600084156133fa5750858201515b600019600886021c198116600286021786555061346b565b600085815260208120601f198616915b828110156134425788850151825560209485019460019092019101613422565b8683101561345e5784890151600019601f89166008021c191682555b6001600288020188555050505b505050505050565b602f81526000602082017f4552433732314d657461646174613a2055524920717565727920666f72206e6f81526e3732bc34b9ba32b73a103a37b5b2b760891b60208201529150612d46565b6020808252810161080981613473565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081526000601b8201613263565b8082018082111561080957610809612e22565b6261663160e81b815260005b5060030190565b600061352f8284612883565b602082019150610fb982613510565b6230b31960e91b8152600061351c565b600061355a8284612883565b602082019150610fb98261353e565b6261663360e81b8152600061351c565b60006135858284612883565b602082019150610fb982613569565b6218598d60ea1b8152600061351c565b60006135b08284612883565b602082019150610fb982613594565b7f616e696d6174696f6e2d74696d696e672d66756e6374696f6e3a63756269632d8152660c4caf4d2cae4560cb1b602082015260005b5060270190565b61181760f11b81526000612f8f565b6216181760e91b8152600061351c565b602960f81b81526000613064565b6000613634826135bf565b915061363f826135fc565b915061364b8287612e81565b91506136568261360b565b91506136628286612e81565b915061366d8261360b565b91506136798285612e81565b91506136848261360b565b91506136908284612e81565b9150612b048261361b565b721e3234bb1039ba3cb6329e93b432b4b3b43a1d60691b815260005b5060130190565b633b34139f60e11b815260005b5060040190565b693c7020636c6173733d2760b01b81526000612f0b565b61733b60f01b81526000612f8f565b65266e6273703b60d01b8152600061309e565b631e17b81f60e11b815260006136cb565b691e17b81f1e17b234bb1f60b11b81526000612f0b565b600061373f828e612e81565b915061374a8261369b565b9150613756828d612f12565b6d3b341d903337b73a16b9b4bd329d60911b8152600e019150613779828c612f12565b9150613784826136be565b915061378f826136d2565b915061379b828b612e81565b7f27207374796c653d27616e696d6174696f6e2d64656c61793a3530306d733b618152713734b6b0ba34b7b716b23ab930ba34b7b71d60711b602082015260320191506137e8828a612e81565b91506137f3826136e9565b91506137ff8289612e81565b915061380a82612f84565b91506138168288612e81565b9150613821826136f8565b915061382c8261370b565b9150613837826136d2565b91506138438287612e81565b7f3227207374796c653d27616e696d6174696f6e2d64656c61793a3530306d733b81527230b734b6b0ba34b7b716b23ab930ba34b7b71d60691b602082015260330191506138918286612e81565b915061389c826136e9565b91506138a88285612e81565b91506138b382612f84565b91506138bf8284612e81565b91506138ca826136f8565b91506138d58261371c565b9d9c50505050505050505050505050565b60006138f46127938461274f565b90508281526020810184848401111561390f5761390f600080fd5b6127be848285612641565b600082601f83011261392e5761392e600080fd5b8151611a4d8482602086016138e6565b60006020828403121561395357613953600080fd5b81516001600160401b0381111561396c5761396c600080fd5b611a4d8482850161391a565b7f3c6c696e6b2072656c3d277072656c6f61642720687265663d2700000000000081526000613251565b731e17b234bb1f1e17b137b23c9f1e17b43a36b61f60611b81526000613088565b7f3c21444f43545950452068746d6c3e3c68746d6c3e3c686561643e3c6d65746181527f206e616d653d27666f726d61742d646574656374696f6e2720636f6e74656e746020820152701e93ba32b632b83437b7329eb73793979f60791b60408201526051016000613a3482613978565b9150613a408286612e81565b7f272061733d27666f6e742720747970653d27666f6e742f776f666632272f3e008152601f019150613a728285612e81565b7f3c2f686561643e3c626f647920786d6c6e733d27687474703a2f2f7777772e7781527f332e6f72672f313939392f7868746d6c273e3c646976207374796c653d27706160208201527f6464696e672d746f703a312e3576683b6865696768743a313030253b6d61782d60408201527f77696474683a32303076683b706f736974696f6e3a72656c61746976653b6f7660608201527f6572666c6f773a68696464656e3b6d617267696e3a30206175746f3b2720636c60808201526830b9b99e93b133939f60b91b60a082015260a9019150613b4e8284612e81565b9150613b59826139a2565b95945050505050565b600081613b7157613b71612e22565b506000190190565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b60208201529150612d46565b6020808252810161080981613b79565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657291019081526000612cc0565b6020808252810161080981613bcc565b602a81526000602082017f455243323938313a20726f79616c7479206665652077696c6c206578636565648152692073616c65507269636560b01b60208201529150612d46565b6020808252810161080981613c0e565b601981526000602082017f455243323938313a20696e76616c69642072656365697665720000000000000081529150612cc0565b6020808252810161080981613c65565b6008815260006020820167696e61637469766560c01b81529150612cc0565b6020808252810161080981613ca9565b600d81526000602082016c6d696e74656420636f6c6f727360981b81529150612cc0565b6020808252810161080981613cd8565b60808101613d1a82876126da565b612ade6020830186612883565b602581526000602082017f4552433732313a207472616e736665722066726f6d20696e636f72726563742081526437bbb732b960d91b60208201529150612d46565b6020808252810161080981613d27565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b60208201529150612d46565b6020808252810161080981613d79565b661e39ba3cb6329f60c91b81526000612fa6565b722920666f726d61742827776f66663227293b7d60681b815260006136b7565b602360f81b81526000613064565b723b6261636b67726f756e642d636f6c6f723a2360681b815260006136b7565b6000613e3782613dca565b7f40666f6e742d66616365207b666f6e742d66616d696c793a2748415348273b6681527f6f6e742d646973706c61793a626c6f636b3b7372633a75726c280000000000006020820152603a019150613e8f8289612e81565b9150613e9a82613dde565b7f68746d6c2c626f64797b77696474683a313030253b6865696768743a3130302581527f3b6f766572666c6f773a68696464656e3b6261636b67726f756e642d636f6c6f60208201527f723a626c61636b7d2a7b6d617267696e3a303b70616464696e673a303b626f7860408201527f2d73697a696e673a626f726465722d626f783b6c696e652d6865696768743a3160608201527f3b666f6e742d66616d696c793a2748415348272c6d6f6e6f73706163657d2e7760808201527f7b783a303b793a303b77696474683a313030253b6865696768743a313030257d60a08201527f746578742c707b646f6d696e616e742d626173656c696e653a746578742d626560c08201526e3337b93296b2b233b29db334b6361d60891b60e082015260ef019150613fc782613dfe565b9150613fd38288612e81565b683b7374726f6b653a2360b81b81526009019150613ff18287612e81565b673b636f6c6f723a2360c01b8152600801915061400e8286612e81565b6a7d2e62677b66696c6c3a2360a81b8152600b01915061402e8285612e81565b915061403982613e0c565b91506140458284612e81565b7f7d707b646973706c61793a696e6c696e652d626c6f636b3b77686974652d737081527f6163653a6e6f777261703b706f736974696f6e3a6162736f6c7574657d00000060208201527f2e72746c7b616e696d6174696f6e3a72746c203573206c696e65617220696e66603d8201527f696e6974657d406b65796672616d65732072746c7b66726f6d7b7472616e7366605d8201527f6f726d3a7472616e736c61746558283025297d746f7b7472616e73666f726d3a607d8201527f7472616e736c61746558282d31303025297d7d2e72746c327b616e696d617469609d8201527f6f6e3a72746c32203573206c696e65617220696e66696e6974657d406b65796660bd8201527f72616d65732072746c327b66726f6d7b7472616e73666f726d3a7472616e736c60dd8201527f617465582831303025297d746f7b7472616e73666f726d3a7472616e736c617460fd8201527f6558283025297d7d2e6c74727b616e696d6174696f6e3a6c7472203573206c6961011d8201527f6e65617220696e66696e6974657d406b65796672616d6573206c74727b66726f61013d8201527f6d7b7472616e73666f726d3a7472616e736c61746558282d31303025297d746f61015d8201527f7b7472616e73666f726d3a7472616e736c61746558283025297d7d2e6c74723261017d8201527f7b616e696d6174696f6e3a6c747232203573206c696e65617220696e66696e6961019d8201527f74657d406b65796672616d6573206c7472327b66726f6d7b7472616e73666f726101bd8201527f6d3a7472616e736c61746558283025297d746f7b7472616e73666f726d3a74726101dd8201527f616e736c617465582831303025297d7d3c2f7374796c653e00000000000000006101fd8201526102150198975050505050505050565b60ff91821691908116908282039081111561080957610809612e22565b60ff91821691908116908282019081111561080957610809612e22565b601181526000602082017034b73b30b634b21031b430b930b1ba32b960791b81529150612cc0565b602080825281016108098161431a565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c65720000000000000081529150612cc0565b6020808252810161080981614352565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60208201529150612d46565b6020808252810161080981614396565b717b226e616d65223a2250726576696577202360701b815260005b5060120190565b61202360f01b81526000612f8f565b7111161132bc3a32b93730b62fbab936111d1160711b81526000614410565b7f227d2c7b2274726169745f74797065223a224261636b67726f756e64222c227681526630b63ab2911d1160c91b602082015260006135f5565b63227d5d7d60e01b815260006136cb565b600061449b826143f5565b91506144a7828d612e81565b91506144b282614417565b91506144be828c612e81565b701116113232b9b1b934b83a34b7b7111d1160791b815260110191506144e4828b612f12565b7f222c22696d616765223a22646174613a696d6167652f7376672b786d6c3b62618152641cd94d8d0b60da1b60208201526025019150614524828a612e81565b7f222c22616e696d6174696f6e5f75726c223a22646174613a746578742f68746d8152681b0ed8985cd94d8d0b60ba1b602082015260290191506145688289612e81565b915061457382614426565b915061457f8288612f12565b915061458b8287612e81565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a224e81527432bb9021b932b0ba37b91116113b30b63ab2911d1160591b602082015260350191506145db8286612e81565b7f227d2c7b2274726169745f74797065223a22436f6c6f72222c2276616c7565228152611d1160f11b602082015260220191506146188285612e81565b915061462382614445565b915061462f8284612e81565b915061463a8261447f565b9c9b505050505050505050505050565b6080810161465882876126da565b61466560208301866126da565b6146726040830185612883565b8181036060830152612b048184612665565b80516108098161256a565b6000602082840312156146a4576146a4600080fd5b6000611a4d8484614684565b60208082527f537472696e67733a20686578206c656e67746820696e73756666696369656e7491019081526000612cc0565b60208082528101610809816146b0565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081526000612cc0565b60208082528101610809816146f2565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081529150612cc0565b602080825281016108098161473456fe54686520717569636b2062726f776e20666f78206a756d7073206f76657220746865206c617a7920646f672e313233343536373839304142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220305afe1c054f8bc03a2fdc0c9ab902bede65a1c78b2fa46f8b18554617495ae764736f6c634300081300330000000000000000000000000341618d556e503c13887aa299a08d033c7ccbac0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f7468656d6173736167652e6a702f656e2f61726368697665732f313930373100000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102515760003560e01c80637f17caa711610139578063b88d4fde116100b6578063d7eb3f3a1161007a578063d7eb3f3a14610715578063e985e9c514610735578063ee4ff3d01461077e578063f2fde38b1461079e578063f6cb8b82146107be578063f803f410146107de57600080fd5b8063b88d4fde1461064b578063c87b56dd1461066b578063c8adc4511461068b578063d65c430e146106ab578063d7179f4c146106ff57600080fd5b8063939462e5116100fd578063939462e5146105b057806395d89b41146105d0578063a035b1fe146105e5578063a22cb465146105fb578063a7cd52cb1461061b57600080fd5b80637f17caa71461051f5780638aa0fdad1461053f5780638da5cb5b1461055257806390c3f38f1461057057806391b7f5ed1461059057600080fd5b80632a55205a116101d25780636caacbe7116101965780636caacbe71461046557806370a0823114610485578063715018a6146104a55780637284e416146104ba5780637c0d3ca6146104cf5780637c774f0c146104ff57600080fd5b80632a55205a146103b55780633bf13de8146103e357806342842e0e146104035780635fc6af09146104235780636352211e1461044557600080fd5b8063095ea7b311610219578063095ea7b31461031d57806318160ddd1461033d57806322f3e2d41461035b57806323b872dd146103755780632750fc781461039557600080fd5b806301ffc9a71461025657806302fa7c471461028c57806306fdde03146102ae578063081812fc146102d0578063083c55fa146102fd575b600080fd5b34801561026257600080fd5b5061027661027136600461258c565b6107fe565b60405161028391906125b7565b60405180910390f35b34801561029857600080fd5b506102ac6102a7366004612604565b61080f565b005b3480156102ba57600080fd5b506102c3610825565b6040516102839190612697565b3480156102dc57600080fd5b506102f06102eb3660046126b9565b6108b7565b60405161028391906126e3565b34801561030957600080fd5b506102ac6103183660046127ea565b6108de565b34801561032957600080fd5b506102ac610338366004612850565b610967565b34801561034957600080fd5b50600a545b6040516102839190612889565b34801561036757600080fd5b50600d546102769060ff1681565b34801561038157600080fd5b506102ac610390366004612897565b6109ec565b3480156103a157600080fd5b506102ac6103b03660046128fa565b610a1d565b3480156103c157600080fd5b506103d56103d036600461291b565b610a38565b60405161028392919061293d565b3480156103ef57600080fd5b506102c36103fe3660046127ea565b610ae4565b34801561040f57600080fd5b506102ac61041e366004612897565b610c31565b34801561042f57600080fd5b50610438610c4c565b60405161028391906129b5565b34801561045157600080fd5b506102f06104603660046126b9565b610cd5565b34801561047157600080fd5b506102ac610480366004612a68565b610d0a565b34801561049157600080fd5b5061034e6104a0366004612aa2565b610d7a565b3480156104b157600080fd5b506102ac610dbe565b3480156104c657600080fd5b506102c3610dd2565b3480156104db57600080fd5b506104ef6104ea3660046127ea565b610e60565b6040516102839493929190612ac3565b34801561050b57600080fd5b5061034e61051a366004612b0e565b610f19565b34801561052b57600080fd5b506102ac61053a366004612a68565b610fc0565b6102ac61054d3660046127ea565b611030565b34801561055e57600080fd5b506009546001600160a01b03166102f0565b34801561057c57600080fd5b506102ac61058b366004612b0e565b61112f565b34801561059c57600080fd5b506102ac6105ab3660046126b9565b611143565b3480156105bc57600080fd5b506011546102f0906001600160a01b031681565b3480156105dc57600080fd5b506102c3611150565b3480156105f157600080fd5b5061034e600b5481565b34801561060757600080fd5b506102ac610616366004612b48565b61115f565b34801561062757600080fd5b50610276610636366004612aa2565b60136020526000908152604090205460ff1681565b34801561065757600080fd5b506102ac610666366004612b7b565b61116a565b34801561067757600080fd5b506102c36106863660046126b9565b6111a2565b34801561069757600080fd5b506102c36106a63660046127ea565b611208565b3480156106b757600080fd5b506106f06106c63660046126b9565b6012602052600090815260409020805460018201546002909201549091906001600160a01b031683565b60405161028393929190612bf9565b34801561070b57600080fd5b5061034e600c5481565b34801561072157600080fd5b506010546102f0906001600160a01b031681565b34801561074157600080fd5b50610276610750366004612c21565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561078a57600080fd5b506102c36107993660046126b9565b61156e565b3480156107aa57600080fd5b506102ac6107b9366004612aa2565b61161c565b3480156107ca57600080fd5b506102ac6107d9366004612897565b611656565b3480156107ea57600080fd5b506102ac6107f9366004612b0e565b611693565b6000610809826116a7565b92915050565b6108176116cc565b61082182826116f6565b5050565b60606000805461083490612c6a565b80601f016020809104026020016040519081016040528092919081815260200182805461086090612c6a565b80156108ad5780601f10610882576101008083540402835291602001916108ad565b820191906000526020600020905b81548152906001019060200180831161089057829003601f168201915b5050505050905090565b60006108c282611780565b506000908152600460205260409020546001600160a01b031690565b6002600854036109095760405162461bcd60e51b815260040161090090612cc7565b60405180910390fd5b60026008553360009081526013602052604090205460ff1661093d5760405162461bcd60e51b815260040161090090612cfc565b336000908152601360205260409020805460ff1916905561095e82826117b4565b50506001600855565b600061097282610cd5565b9050806001600160a01b0316836001600160a01b0316036109a55760405162461bcd60e51b815260040161090090612d4d565b336001600160a01b03821614806109c157506109c18133610750565b6109dd5760405162461bcd60e51b815260040161090090612db7565b6109e78383611968565b505050565b6109f633826119d6565b610a125760405162461bcd60e51b815260040161090090612e12565b6109e7838383611a55565b610a256116cc565b600d805460ff1916911515919091179055565b60008281526007602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610aad5750604080518082019091526006546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610acc906001600160601b031687612e38565b610ad69190612e6d565b915196919550909350505050565b60608060008484604051602001610afc929190612ea3565b6040516020818303038152906040528051906020012060001c905060005b6007811015610bfb5782610b586103e860248460078110610b3d57610b3d612ebb565b0154610b499190612ed1565b610b539085612ee4565b611b77565b601d8360078110610b6b57610b6b612ebb565b0160168460078110610b7f57610b7f612ebb565b0160405180606001604052806036815260200161477960369139604051602001610bad959493929190612fad565b604051602081830303815290604052925081604051602001610bcf919061303c565b60408051601f198184030181529190528051602090910120915080610bf381613051565b915050610b1a565b50610c068585611c77565b82604051602001610c189291906130a5565b6040516020818303038152906040529250505092915050565b6109e78383836040518060200160405280600081525061116a565b604080516110008082526202002082019092526060916000919060208201620200008036833701905050905060005b610fff8111610ccf57600081815260146020526040902054825160ff90911690839083908110610cad57610cad612ebb565b9115156020928302919091019091015280610cc781613051565b915050610c7b565b50919050565b6000818152600260205260408120546001600160a01b0316806108095760405162461bcd60e51b8152600401610900906131c5565b610d126116cc565b60005b815181101561082157600060136000848481518110610d3657610d36612ebb565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610d7281613051565b915050610d15565b60006001600160a01b038216610da25760405162461bcd60e51b81526004016109009061321b565b506001600160a01b031660009081526003602052604090205490565b610dc66116cc565b610dd06000611d1a565b565b600e8054610ddf90612c6a565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0b90612c6a565b8015610e585780601f10610e2d57610100808354040283529160200191610e58565b820191906000526020600020905b815481529060010190602001808311610e3b57829003601f168201915b505050505081565b60008060608060146000610e7388610f19565b8152602081019190915260400160009081205460ff16159450601490610e9887610f19565b815260208101919091526040016000205460ff16159250610ec1610ebc8787610ae4565b611d6c565b604051602001610ed19190613258565b6040516020818303038152906040529050610eef610ebc8787611208565b604051602001610eff919061326f565b604051602081830303815290604052915092959194509250565b80516000908290600314610f3f5760405162461bcd60e51b8152600401610900906132ba565b6000805b6003811015610f9657600482901b9150610f7c838281518110610f6857610f68612ebb565b01602001516001600160f81b031916611ebe565b60ff16821791508080610f8e90613051565b915050610f43565b50610fff811115610fb95760405162461bcd60e51b8152600401610900906132ba565b9392505050565b610fc86116cc565b60005b815181101561082157600160136000848481518110610fec57610fec612ebb565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061102881613051565b915050610fcb565b6002600854036110525760405162461bcd60e51b815260040161090090612cc7565b6002600855600b543410156110795760405162461bcd60e51b815260040161090090613308565b61108382826117b4565b60006110a7600c546110a16064600b54611fa690919063ffffffff16565b90611fb2565b6010546040519192506001600160a01b03169082156108fc029083906000818181858888f193505050501580156110e2573d6000803e3d6000fd5b506011546001600160a01b03166108fc6110fc3484611fbe565b6040518115909202916000818181858888f19350505050158015611124573d6000803e3d6000fd5b505060016008555050565b6111376116cc565b600e61082182826133b0565b61114b6116cc565b600b55565b60606001805461083490612c6a565b610821338383611fca565b61117433836119d6565b6111905760405162461bcd60e51b815260040161090090612e12565b61119c8484848461206c565b50505050565b6000818152600260205260409020546060906001600160a01b03166111d95760405162461bcd60e51b8152600401610900906134bf565b6111e28261209f565b6040516020016111f291906134cf565b6040516020818303038152906040529050919050565b60608060008484604051602001611220929190612ea3565b6040516020818303038152906040528051906020012060001c905060005b60078110156114d5576000611262611257601e85612ee4565b610b539060146134fd565b905082604051602001611275919061303c565b60408051601f19818403018152919052805160209091012092506000603961129e600286612ee4565b600281106112ae576112ae612ebb565b0180546112ba90612c6a565b80601f01602080910402602001604051908101604052809291908181526020018280546112e690612c6a565b80156113335780601f1061130857610100808354040283529160200191611333565b820191906000526020600020905b81548152906001019060200180831161131657829003601f168201915b505050505090508360405160200161134b919061303c565b6040516020818303038152906040528051906020012060001c935060006113a1600a8660405160200161137e9190613523565b6040516020818303038152906040528051906020012060001c610b539190612ee4565b6113b7600a8760405160200161137e919061354e565b6113cd600a8860405160200161137e9190613579565b6113e3600a8960405160200161137e91906135a4565b6040516020016113f69493929190613629565b604051602081830303815290604052905084604051602001611418919061303c565b6040516020818303038152906040528051906020012060001c945085602b856007811061144757611447612ebb565b016032866007811061145b5761145b612ebb565b0184868560405180606001604052806036815260200161477960369139888a89604051806060016040528060368152602001614779603691396040516020016114ae9b9a99989796959493929190613733565b604051602081830303815290604052955050505080806114cd90613051565b91505061123e565b50601560009054906101000a90046001600160a01b03166001600160a01b0316639d37bc7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611529573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611551919081019061393e565b61155b8686611c77565b83604051602001610c18939291906139c3565b604080516003808252818301909252606091600091906020820181803683370190505090506f181899199a1a9b1b9c1cb0b131b232b360811b60035b806115b481613b62565b9150508185600f16601081106115cc576115cc612ebb565b1a60f81b8382815181106115e2576115e2612ebb565b60200101906001600160f81b031916908160001a905350600485901c9450600081116115aa57841561161357600080fd5b50909392505050565b6116246116cc565b6001600160a01b03811661164a5760405162461bcd60e51b815260040161090090613bbc565b61165381611d1a565b50565b61165e6116cc565b601080546001600160a01b039485166001600160a01b0319918216179091556011805493909416921691909117909155600c55565b61169b6116cc565b600f61082182826133b0565b60006001600160e01b0319821663152a902d60e11b1480610809575061080982612169565b6009546001600160a01b03163314610dd05760405162461bcd60e51b815260040161090090613bfe565b6127106001600160601b03821611156117215760405162461bcd60e51b815260040161090090613c55565b6001600160a01b0382166117475760405162461bcd60e51b815260040161090090613c99565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600655565b6000818152600260205260409020546001600160a01b03166116535760405162461bcd60e51b8152600401610900906131c5565b600d5460ff166117d65760405162461bcd60e51b815260040161090090613cc8565b60006117e183610f19565b905060006117ee83610f19565b905080820361180f5760405162461bcd60e51b815260040161090090613cfc565b60008281526014602052604090205460ff161561183e5760405162461bcd60e51b815260040161090090613cfc565b60008181526014602052604090205460ff161561186d5760405162461bcd60e51b815260040161090090613cfc565b604051806060016040528083815260200182815260200161188b3390565b6001600160a01b03908116909152600a546000908152601260209081526040808320855181558583015160018083019190915595820151600290910180546001600160a01b031916919095161790935585825260149052818120805460ff1990811685179091558482529190208054909116909117905561190e33600a546121b9565b7ff2cbb0418e3132958dca4cc2e9ab525cf64488dfc7c0eaa45cdeb6c42b30490a33600a5486866040516119459493929190613d0c565b60405180910390a1600a805490600061195d83613051565b919050555050505050565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061199d82610cd5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806119e283610cd5565b9050806001600160a01b0316846001600160a01b03161480611a2957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611a4d5750836001600160a01b0316611a42846108b7565b6001600160a01b0316145b949350505050565b826001600160a01b0316611a6882610cd5565b6001600160a01b031614611a8e5760405162461bcd60e51b815260040161090090613d69565b6001600160a01b038216611ab45760405162461bcd60e51b815260040161090090613dba565b611abf600082611968565b6001600160a01b0383166000908152600360205260408120805460019290611ae8908490612ed1565b90915550506001600160a01b0382166000908152600360205260408120805460019290611b169084906134fd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b606081600003611b9e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611bc85780611bb281613051565b9150611bc19050600a83612e6d565b9150611ba2565b6000816001600160401b03811115611be257611be26126f1565b6040519080825280601f01601f191660200182016040528015611c0c576020820181803683370190505b5090505b8415611a4d57611c21600183612ed1565b9150611c2e600a86612ee4565b611c399060306134fd565b60f81b818381518110611c4e57611c4e612ebb565b60200101906001600160f81b031916908160001a905350611c70600a86612e6d565b9450611c10565b6015546040805163274def1f60e21b815290516060926001600160a01b031691639d37bc7c9160048083019260009291908290030181865afa158015611cc1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ce9919081019061393e565b8384858586604051602001611d0396959493929190613e2c565b604051602081830303815290604052905092915050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60608151600003611d8b57505060408051602081019091526000815290565b60006040518060600160405280604081526020016147af6040913990506000600384516002611dba91906134fd565b611dc49190612e6d565b611dcf906004612e38565b6001600160401b03811115611de657611de66126f1565b6040519080825280601f01601f191660200182016040528015611e10576020820181803683370190505b509050600182016020820185865187015b80821015611e7c576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050611e21565b5050600386510660018114611e985760028114611eab57611eb3565b603d6001830353603d6002830353611eb3565b603d60018303535b509195945050505050565b6000600360fc1b6001600160f81b0319831610801590611eec5750603960f81b6001600160f81b0319831611155b15611f0057610809603060f884901c6142e0565b604160f81b6001600160f81b0319831610801590611f2c5750602360f91b6001600160f81b0319831611155b15611f4c576041611f4260f884901c600a6142fd565b61080991906142e0565b606160f81b6001600160f81b0319831610801590611f785750603360f91b6001600160f81b0319831611155b15611f8e576061611f4260f884901c600a6142fd565b60405162461bcd60e51b815260040161090090614342565b6000610fb98284612e6d565b6000610fb98284612e38565b6000610fb98284612ed1565b816001600160a01b0316836001600160a01b031603611ffb5760405162461bcd60e51b815260040161090090614386565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319061205f9085906125b7565b60405180910390a3505050565b612077848484611a55565b612083848484846121d3565b61119c5760405162461bcd60e51b8152600401610900906143e5565b600081815260126020908152604080832081516060818101845282548083526001840154958301959095526002909201546001600160a01b0316928101929092529290916120ec9061156e565b905060006120fd836020015161156e565b90508181600e612110610ebc8686610ae4565b61211d610ebc8787611208565b600f6121288b611b77565b6121358a604001516122d4565b89896040516020016121509a99989796959493929190614490565b6040516020818303038152906040529350505050919050565b60006001600160e01b031982166380ac58cd60e01b148061219a57506001600160e01b03198216635b5e139f60e01b145b8061080957506301ffc9a760e01b6001600160e01b0319831614610809565b6108218282604051806020016040528060008152506122ea565b60006001600160a01b0384163b156122c957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061221790339089908890889060040161464a565b6020604051808303816000875af1925050508015612252575060408051601f3d908101601f1916820190925261224f9181019061468f565b60015b6122af573d808015612280576040519150601f19603f3d011682016040523d82523d6000602084013e612285565b606091505b5080516000036122a75760405162461bcd60e51b8152600401610900906143e5565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a4d565b506001949350505050565b60606108096001600160a01b038316601461231d565b6122f48383612488565b61230160008484846121d3565b6109e75760405162461bcd60e51b8152600401610900906143e5565b6060600061232c836002612e38565b6123379060026134fd565b6001600160401b0381111561234e5761234e6126f1565b6040519080825280601f01601f191660200182016040528015612378576020820181803683370190505b509050600360fc1b8160008151811061239357612393612ebb565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106123c2576123c2612ebb565b60200101906001600160f81b031916908160001a90535060006123e6846002612e38565b6123f19060016134fd565b90505b6001811115612469576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061242557612425612ebb565b1a60f81b82828151811061243b5761243b612ebb565b60200101906001600160f81b031916908160001a90535060049490941c9361246281613b62565b90506123f4565b508315610fb95760405162461bcd60e51b8152600401610900906146e2565b6001600160a01b0382166124ae5760405162461bcd60e51b815260040161090090614724565b6000818152600260205260409020546001600160a01b0316156124e35760405162461bcd60e51b815260040161090090614768565b6001600160a01b038216600090815260036020526040812080546001929061250c9084906134fd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981165b811461165357600080fd5b80356108098161256a565b6000602082840312156125a1576125a1600080fd5b6000611a4d8484612581565b8015155b82525050565b6020810161080982846125ad565b60006001600160a01b038216610809565b612576816125c5565b8035610809816125d6565b6001600160601b038116612576565b8035610809816125ea565b6000806040838503121561261a5761261a600080fd5b600061262685856125df565b9250506020612637858286016125f9565b9150509250929050565b60005b8381101561265c578181015183820152602001612644565b50506000910152565b600061266f825190565b808452602084019350612686818560208601612641565b601f01601f19169290920192915050565b60208082528101610fb98184612665565b80612576565b8035610809816126a8565b6000602082840312156126ce576126ce600080fd5b6000611a4d84846126ae565b6125b1816125c5565b6020810161080982846126da565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681018181106001600160401b038211171561272c5761272c6126f1565b6040525050565b600061273e60405190565b905061274a8282612707565b919050565b60006001600160401b03821115612768576127686126f1565b601f19601f83011660200192915050565b82818337506000910152565b60006127986127938461274f565b612733565b9050828152602081018484840111156127b3576127b3600080fd5b6127be848285612779565b509392505050565b600082601f8301126127da576127da600080fd5b8135611a4d848260208601612785565b6000806040838503121561280057612800600080fd5b82356001600160401b0381111561281957612819600080fd5b612825858286016127c6565b92505060208301356001600160401b0381111561284457612844600080fd5b612637858286016127c6565b6000806040838503121561286657612866600080fd5b600061287285856125df565b9250506020612637858286016126ae565b806125b1565b602081016108098284612883565b6000806000606084860312156128af576128af600080fd5b60006128bb86866125df565b93505060206128cc868287016125df565b92505060406128dd868287016126ae565b9150509250925092565b801515612576565b8035610809816128e7565b60006020828403121561290f5761290f600080fd5b6000611a4d84846128ef565b6000806040838503121561293157612931600080fd5b600061287285856126ae565b6040810161294b82856126da565b610fb96020830184612883565b600061296483836125ad565b505060200190565b6000612976825190565b80845260209384019383018060005b838110156129aa5781516129998882612958565b975060208301925050600101612985565b509495945050505050565b60208082528101610fb9818461296c565b60006001600160401b038211156129df576129df6126f1565b5060209081020190565b60006129f7612793846129c6565b83815290506020808201908402830185811115612a1657612a16600080fd5b835b81811015612a3a5780612a2b88826125df565b84525060209283019201612a18565b5050509392505050565b600082601f830112612a5857612a58600080fd5b8135611a4d8482602086016129e9565b600060208284031215612a7d57612a7d600080fd5b81356001600160401b03811115612a9657612a96600080fd5b611a4d84828501612a44565b600060208284031215612ab757612ab7600080fd5b6000611a4d84846125df565b60808101612ad182876125ad565b612ade60208301866125ad565b8181036040830152612af08185612665565b90508181036060830152612b048184612665565b9695505050505050565b600060208284031215612b2357612b23600080fd5b81356001600160401b03811115612b3c57612b3c600080fd5b611a4d848285016127c6565b60008060408385031215612b5e57612b5e600080fd5b6000612b6a85856125df565b9250506020612637858286016128ef565b60008060008060808587031215612b9457612b94600080fd5b6000612ba087876125df565b9450506020612bb1878288016125df565b9350506040612bc2878288016126ae565b92505060608501356001600160401b03811115612be157612be1600080fd5b612bed878288016127c6565b91505092959194509250565b60608101612c078286612883565b612c146020830185612883565b611a4d60408301846126da565b60008060408385031215612c3757612c37600080fd5b6000612c4385856125df565b9250506020612637858286016125df565b634e487b7160e01b600052602260045260246000fd5b600281046001821680612c7e57607f821691505b602082108103610ccf57610ccf612c54565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00815291505b5060200190565b6020808252810161080981612c90565b600e81526000602082016d1bdb9b1e48185b1b1bdddb1a5cdd60921b81529150612cc0565b6020808252810161080981612cd7565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b602082015291505b5060400190565b6020808252810161080981612d0c565b603e81526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f81527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060208201529150612d46565b6020808252810161080981612d5d565b602e81526000602082017f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6581526d1c881b9bdc88185c1c1c9bdd995960921b60208201529150612d46565b6020808252810161080981612dc7565b634e487b7160e01b600052601160045260246000fd5b818102808215838204851417612e5057612e50612e22565b5092915050565b634e487b7160e01b600052601260045260246000fd5b600082612e7c57612e7c612e57565b500490565b6000612e8b825190565b612e99818560208601612641565b9290920192915050565b6000612eaf8285612e81565b9150611a4d8284612e81565b634e487b7160e01b600052603260045260246000fd5b8181038181111561080957610809612e22565b600082612ef357612ef3612e57565b500690565b693c7465787420783d272d60b01b815260005b50600a0190565b60008154612f1f81612c6a565b600182168015612f365760018114612f4b57612f7b565b60ff1983168652811515820286019350612f7b565b60008581526020902060005b83811015612f7357815488820152600190910190602001612f57565b838801955050505b50505092915050565b61139f60f11b815260005b5060020190565b661e17ba32bc3a1f60c91b815260005b5060070190565b6000612fb98288612e81565b9150612fc482612ef8565b9150612fd08287612e81565b642720793d2760d81b81526005019150612fea8286612f12565b6c2720666f6e742d73697a653d2760981b8152600d01915061300c8285612f12565b915061301782612f84565b91506130238284612e81565b915061302e82612f96565b979650505050505050565b90565b60006130488284612883565b50602001919050565b6000600019820361306457613064612e22565b5060010190565b731e3932b1ba1031b630b9b99e93b133903b93979f60611b815260005b5060140190565b651e17b9bb339f60d11b815260005b5060060190565b7f3c7376672076696577426f783d2730203020313030302031303030272077696481527f74683d2731303030707827206865696768743d27313030307078272066696c6c60208201527f3d276e6f6e6527207072657365727665417370656374526174696f3d27784d6960408201527f64594d6964206d656574272076657273696f6e3d27322720786d6c6e733d276860608201527f7474703a2f2f7777772e77332e6f72672f323030302f737667273e00000000006080820152609b01600061316f8285612e81565b915061317a8261306b565b91506131868284612e81565b9150611a4d8261308f565b601881526000602082017f4552433732313a20696e76616c696420746f6b656e204944000000000000000081529150612cc0565b6020808252810161080981613191565b602981526000602082017f4552433732313a2061646472657373207a65726f206973206e6f7420612076618152683634b21037bbb732b960b91b60208201529150612d46565b60208082528101610809816131d5565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000815260005b50601a0190565b60006132638261322b565b9150610fb98284612e81565b7519185d184e9d195e1d0bda1d1b5b0ed8985cd94d8d0b60521b8152600060168201613263565b600d81526000602082016c34b73b30b634b21031b7b637b960991b81529150612cc0565b6020808252810161080981613296565b602181526000602082017f4e6f7420656e6f756768204554482073656e743b20636865636b2070726963658152602160f81b60208201529150612d46565b60208082528101610809816132ca565b60006108096130398381565b61332d83613318565b815460001960089490940293841b1916921b91909117905550565b60006109e7818484613324565b8181101561082157613368600082613348565b600101613355565b601f8211156109e7576000818152602090206020601f850104810160208510156133975750805b6133a96020601f860104830182613355565b5050505050565b81516001600160401b038111156133c9576133c96126f1565b6133d38254612c6a565b6133de828285613370565b6020601f83116001811461341257600084156133fa5750858201515b600019600886021c198116600286021786555061346b565b600085815260208120601f198616915b828110156134425788850151825560209485019460019092019101613422565b8683101561345e5784890151600019601f89166008021c191682555b6001600288020188555050505b505050505050565b602f81526000602082017f4552433732314d657461646174613a2055524920717565727920666f72206e6f81526e3732bc34b9ba32b73a103a37b5b2b760891b60208201529150612d46565b6020808252810161080981613473565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081526000601b8201613263565b8082018082111561080957610809612e22565b6261663160e81b815260005b5060030190565b600061352f8284612883565b602082019150610fb982613510565b6230b31960e91b8152600061351c565b600061355a8284612883565b602082019150610fb98261353e565b6261663360e81b8152600061351c565b60006135858284612883565b602082019150610fb982613569565b6218598d60ea1b8152600061351c565b60006135b08284612883565b602082019150610fb982613594565b7f616e696d6174696f6e2d74696d696e672d66756e6374696f6e3a63756269632d8152660c4caf4d2cae4560cb1b602082015260005b5060270190565b61181760f11b81526000612f8f565b6216181760e91b8152600061351c565b602960f81b81526000613064565b6000613634826135bf565b915061363f826135fc565b915061364b8287612e81565b91506136568261360b565b91506136628286612e81565b915061366d8261360b565b91506136798285612e81565b91506136848261360b565b91506136908284612e81565b9150612b048261361b565b721e3234bb1039ba3cb6329e93b432b4b3b43a1d60691b815260005b5060130190565b633b34139f60e11b815260005b5060040190565b693c7020636c6173733d2760b01b81526000612f0b565b61733b60f01b81526000612f8f565b65266e6273703b60d01b8152600061309e565b631e17b81f60e11b815260006136cb565b691e17b81f1e17b234bb1f60b11b81526000612f0b565b600061373f828e612e81565b915061374a8261369b565b9150613756828d612f12565b6d3b341d903337b73a16b9b4bd329d60911b8152600e019150613779828c612f12565b9150613784826136be565b915061378f826136d2565b915061379b828b612e81565b7f27207374796c653d27616e696d6174696f6e2d64656c61793a3530306d733b618152713734b6b0ba34b7b716b23ab930ba34b7b71d60711b602082015260320191506137e8828a612e81565b91506137f3826136e9565b91506137ff8289612e81565b915061380a82612f84565b91506138168288612e81565b9150613821826136f8565b915061382c8261370b565b9150613837826136d2565b91506138438287612e81565b7f3227207374796c653d27616e696d6174696f6e2d64656c61793a3530306d733b81527230b734b6b0ba34b7b716b23ab930ba34b7b71d60691b602082015260330191506138918286612e81565b915061389c826136e9565b91506138a88285612e81565b91506138b382612f84565b91506138bf8284612e81565b91506138ca826136f8565b91506138d58261371c565b9d9c50505050505050505050505050565b60006138f46127938461274f565b90508281526020810184848401111561390f5761390f600080fd5b6127be848285612641565b600082601f83011261392e5761392e600080fd5b8151611a4d8482602086016138e6565b60006020828403121561395357613953600080fd5b81516001600160401b0381111561396c5761396c600080fd5b611a4d8482850161391a565b7f3c6c696e6b2072656c3d277072656c6f61642720687265663d2700000000000081526000613251565b731e17b234bb1f1e17b137b23c9f1e17b43a36b61f60611b81526000613088565b7f3c21444f43545950452068746d6c3e3c68746d6c3e3c686561643e3c6d65746181527f206e616d653d27666f726d61742d646574656374696f6e2720636f6e74656e746020820152701e93ba32b632b83437b7329eb73793979f60791b60408201526051016000613a3482613978565b9150613a408286612e81565b7f272061733d27666f6e742720747970653d27666f6e742f776f666632272f3e008152601f019150613a728285612e81565b7f3c2f686561643e3c626f647920786d6c6e733d27687474703a2f2f7777772e7781527f332e6f72672f313939392f7868746d6c273e3c646976207374796c653d27706160208201527f6464696e672d746f703a312e3576683b6865696768743a313030253b6d61782d60408201527f77696474683a32303076683b706f736974696f6e3a72656c61746976653b6f7660608201527f6572666c6f773a68696464656e3b6d617267696e3a30206175746f3b2720636c60808201526830b9b99e93b133939f60b91b60a082015260a9019150613b4e8284612e81565b9150613b59826139a2565b95945050505050565b600081613b7157613b71612e22565b506000190190565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b60208201529150612d46565b6020808252810161080981613b79565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657291019081526000612cc0565b6020808252810161080981613bcc565b602a81526000602082017f455243323938313a20726f79616c7479206665652077696c6c206578636565648152692073616c65507269636560b01b60208201529150612d46565b6020808252810161080981613c0e565b601981526000602082017f455243323938313a20696e76616c69642072656365697665720000000000000081529150612cc0565b6020808252810161080981613c65565b6008815260006020820167696e61637469766560c01b81529150612cc0565b6020808252810161080981613ca9565b600d81526000602082016c6d696e74656420636f6c6f727360981b81529150612cc0565b6020808252810161080981613cd8565b60808101613d1a82876126da565b612ade6020830186612883565b602581526000602082017f4552433732313a207472616e736665722066726f6d20696e636f72726563742081526437bbb732b960d91b60208201529150612d46565b6020808252810161080981613d27565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b60208201529150612d46565b6020808252810161080981613d79565b661e39ba3cb6329f60c91b81526000612fa6565b722920666f726d61742827776f66663227293b7d60681b815260006136b7565b602360f81b81526000613064565b723b6261636b67726f756e642d636f6c6f723a2360681b815260006136b7565b6000613e3782613dca565b7f40666f6e742d66616365207b666f6e742d66616d696c793a2748415348273b6681527f6f6e742d646973706c61793a626c6f636b3b7372633a75726c280000000000006020820152603a019150613e8f8289612e81565b9150613e9a82613dde565b7f68746d6c2c626f64797b77696474683a313030253b6865696768743a3130302581527f3b6f766572666c6f773a68696464656e3b6261636b67726f756e642d636f6c6f60208201527f723a626c61636b7d2a7b6d617267696e3a303b70616464696e673a303b626f7860408201527f2d73697a696e673a626f726465722d626f783b6c696e652d6865696768743a3160608201527f3b666f6e742d66616d696c793a2748415348272c6d6f6e6f73706163657d2e7760808201527f7b783a303b793a303b77696474683a313030253b6865696768743a313030257d60a08201527f746578742c707b646f6d696e616e742d626173656c696e653a746578742d626560c08201526e3337b93296b2b233b29db334b6361d60891b60e082015260ef019150613fc782613dfe565b9150613fd38288612e81565b683b7374726f6b653a2360b81b81526009019150613ff18287612e81565b673b636f6c6f723a2360c01b8152600801915061400e8286612e81565b6a7d2e62677b66696c6c3a2360a81b8152600b01915061402e8285612e81565b915061403982613e0c565b91506140458284612e81565b7f7d707b646973706c61793a696e6c696e652d626c6f636b3b77686974652d737081527f6163653a6e6f777261703b706f736974696f6e3a6162736f6c7574657d00000060208201527f2e72746c7b616e696d6174696f6e3a72746c203573206c696e65617220696e66603d8201527f696e6974657d406b65796672616d65732072746c7b66726f6d7b7472616e7366605d8201527f6f726d3a7472616e736c61746558283025297d746f7b7472616e73666f726d3a607d8201527f7472616e736c61746558282d31303025297d7d2e72746c327b616e696d617469609d8201527f6f6e3a72746c32203573206c696e65617220696e66696e6974657d406b65796660bd8201527f72616d65732072746c327b66726f6d7b7472616e73666f726d3a7472616e736c60dd8201527f617465582831303025297d746f7b7472616e73666f726d3a7472616e736c617460fd8201527f6558283025297d7d2e6c74727b616e696d6174696f6e3a6c7472203573206c6961011d8201527f6e65617220696e66696e6974657d406b65796672616d6573206c74727b66726f61013d8201527f6d7b7472616e73666f726d3a7472616e736c61746558282d31303025297d746f61015d8201527f7b7472616e73666f726d3a7472616e736c61746558283025297d7d2e6c74723261017d8201527f7b616e696d6174696f6e3a6c747232203573206c696e65617220696e66696e6961019d8201527f74657d406b65796672616d6573206c7472327b66726f6d7b7472616e73666f726101bd8201527f6d3a7472616e736c61746558283025297d746f7b7472616e73666f726d3a74726101dd8201527f616e736c617465582831303025297d7d3c2f7374796c653e00000000000000006101fd8201526102150198975050505050505050565b60ff91821691908116908282039081111561080957610809612e22565b60ff91821691908116908282019081111561080957610809612e22565b601181526000602082017034b73b30b634b21031b430b930b1ba32b960791b81529150612cc0565b602080825281016108098161431a565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c65720000000000000081529150612cc0565b6020808252810161080981614352565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60208201529150612d46565b6020808252810161080981614396565b717b226e616d65223a2250726576696577202360701b815260005b5060120190565b61202360f01b81526000612f8f565b7111161132bc3a32b93730b62fbab936111d1160711b81526000614410565b7f227d2c7b2274726169745f74797065223a224261636b67726f756e64222c227681526630b63ab2911d1160c91b602082015260006135f5565b63227d5d7d60e01b815260006136cb565b600061449b826143f5565b91506144a7828d612e81565b91506144b282614417565b91506144be828c612e81565b701116113232b9b1b934b83a34b7b7111d1160791b815260110191506144e4828b612f12565b7f222c22696d616765223a22646174613a696d6167652f7376672b786d6c3b62618152641cd94d8d0b60da1b60208201526025019150614524828a612e81565b7f222c22616e696d6174696f6e5f75726c223a22646174613a746578742f68746d8152681b0ed8985cd94d8d0b60ba1b602082015260290191506145688289612e81565b915061457382614426565b915061457f8288612f12565b915061458b8287612e81565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a224e81527432bb9021b932b0ba37b91116113b30b63ab2911d1160591b602082015260350191506145db8286612e81565b7f227d2c7b2274726169745f74797065223a22436f6c6f72222c2276616c7565228152611d1160f11b602082015260220191506146188285612e81565b915061462382614445565b915061462f8284612e81565b915061463a8261447f565b9c9b505050505050505050505050565b6080810161465882876126da565b61466560208301866126da565b6146726040830185612883565b8181036060830152612b048184612665565b80516108098161256a565b6000602082840312156146a4576146a4600080fd5b6000611a4d8484614684565b60208082527f537472696e67733a20686578206c656e67746820696e73756666696369656e7491019081526000612cc0565b60208082528101610809816146b0565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081526000612cc0565b60208082528101610809816146f2565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081529150612cc0565b602080825281016108098161473456fe54686520717569636b2062726f776e20666f78206a756d7073206f76657220746865206c617a7920646f672e313233343536373839304142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220305afe1c054f8bc03a2fdc0c9ab902bede65a1c78b2fa46f8b18554617495ae764736f6c63430008130033

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

0000000000000000000000000341618d556e503c13887aa299a08d033c7ccbac0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f7468656d6173736167652e6a702f656e2f61726368697665732f313930373100000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _fontAddress (address): 0x0341618D556E503c13887AA299A08d033C7CcbAc
Arg [1] : _description (string): https://themassage.jp/en/archives/19071

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000341618d556e503c13887aa299a08d033c7ccbac
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000027
Arg [3] : 68747470733a2f2f7468656d6173736167652e6a702f656e2f61726368697665
Arg [4] : 732f313930373100000000000000000000000000000000000000000000000000


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

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