ETH Price: $3,328.03 (-3.93%)

Token

Clock (CLOCK)
 

Overview

Max Total Supply

1,625 CLOCK

Holders

434

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
nftbuzz.eth
Balance
1 CLOCK
0x47320b27870c9f7549180aa77b0f3bed292a8b1f
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Clock8008 is a collection of 8008 functioning clocks that you can own in the metaverse. Crafted with scrupulous attention to detail, Clock8008 redefines timekeeping in the metaverse while being a timeless staple.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Clock8008

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : Clock.sol
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

contract Clock8008 is ERC721Enumerable, ReentrancyGuard, Ownable {
    using SafeERC20 for IERC20;

    // Set UTC timezone
    mapping(uint256 => int8) timeLocalization;

    string[] private brands = [
        "Timex",
        "HMT",
        "Fossil",
        "Swatch",
        "Stuhrling",
        "Seagull",
        "Seiko",
        "Invicta",
        "Swiss Legend",
        "Guess",
        "Nixon",
        "Rotary",
        "Citizen",
        "Orient",
        "Casio",
        "Skagen",
        "Vostok",
        "Bulova",
        "Diesel",
        "Mondaine",
        "Benrus",
        "Michael Kors",
        "Marathon",
        "Certina",
        "Suunto",
        "Luminox",
        "Tissot",
        "Frederique Constant",
        "Stowa",
        "Laco",
        "Hamilton",
        "Christopher Ward",
        "Maurice Lacroix",
        "Zodiac",
        "Gucci",
        "Movado",
        "Mido",
        "Rado",
        "Longines",
        "Raymond Weil",
        "Oris",
        "Tutima",
        "Sinn",
        "Fortis",
        "Junghans",
        "Baume et Mercier",
        "Hermes",
        "Nomos Glashutte",
        "Tag Heuer",
        "Ebel",
        "Doxa",
        "Tudor",
        "Bell & Ross",
        "Ball",
        "Montblac",
        "IWC",
        "Omega",
        "Grand Seiko",
        "Bvlgari",
        "Breitling",
        "Chronoswiss",
        "Bremont",
        "Zenith",
        "Hublot",
        "Carier",
        "Panerai",
        "Rolex",
        "Jaeger-LeCoultre",
        "Chopard",
        "Ulysse Nardin",
        "Girard-Perregaux",
        "Blancpain",
        "Glashutte Original",
        "Breguet",
        "A. Lange & Sohne",
        "Piaget",
        "Audemars Piguet",
        "Franck Muller",
        "Patek Philippe",
        "Vacheron Constantin",
        "Richard Mille",
        "MB&F",
        "F.P. Journe",
        "Philippe Dufour",
        "80085",
        "Paradigm",
        "Polychain",
        "Sino",
        "FTX",
        "Degen",
        "DeFi Summer",
        "Apes",
        "Rugged",
        "Layer 2",
        "MEV",
        "Flashbots",
        "Zero Knowledge",
        "x y = k"
    ];

    uint256[] private themes = [
        0, // "default",
        1, // "dark",
        2, // "vintage",
        3, // "emarald",
        4 // "sapphire"
    ];

    function random(string memory input) internal pure returns (uint256) {
        return uint256(keccak256(abi.encodePacked(input)));
    }

    function getBrand(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "BRAND", brands);
    }

    // Returns colors
    // primary, accent, background, hand, text
    function getColors(uint256 tokenId) public view returns (string[5] memory) {
        uint256 rand = random(
            string(abi.encodePacked("COLORS", Utils.toString(tokenId)))
        );
        uint256 themeId = themes[rand % themes.length];

        // Dark
        if (themeId == 1) {
            return ["#232323", "#35adf2", "#353535", "#000", "#c8c8c8"];
        }

        // Vintage
        if (themeId == 2) {
            return ["#c0a675", "#c5a35b", "#cfc5ab", "#be975e", "#514a39"];
        }

        // Emarald
        if (themeId == 3) {
            return ["#f6f6f6", "#c3c6c3", "#0c5f35", "#eaeff0", "#fff"];
        }

        // Sapphire
        if (themeId == 4) {
            return ["#b6b4b2", "#a8a8a8", "#0a367e", "#ababad", "#b5c9cf"];
        }

        // Default
        return ["#9f9f9f", "#ff3636", "#fff", "#000", "#000"];
    }

    function pluck(
        uint256 tokenId,
        string memory keyPrefix,
        string[] memory sourceArray
    ) internal pure returns (string memory) {
        uint256 rand = random(
            string(abi.encodePacked(keyPrefix, Utils.toString(tokenId)))
        );
        string memory output = sourceArray[rand % sourceArray.length];
        return output;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        int8 offset = timeLocalization[tokenId];

        string[5] memory colors = getColors(tokenId);

        string[17] memory parts;

        parts[
            0
        ] = '<svg xmlns="http://www.w3.org/2000/svg" class="clock" viewBox="0 0 100 100" style="width:420px;height:420px;"> <style> * {';

        parts[1] = string(
            abi.encodePacked("--color-primary: ", colors[0], ";")
        );

        parts[2] = string(abi.encodePacked("--color-accent: ", colors[1], ";"));
        parts[3] = string(
            abi.encodePacked("--color-background: ", colors[2], ";")
        );
        parts[4] = string(abi.encodePacked("--color-hand: ", colors[3], ";"));
        parts[5] = string(abi.encodePacked("--color-text: ", colors[4], ";"));

        parts[
            6
        ] = "-webkit-transform-origin: inherit; transform-origin: inherit; display: flex; align-items: center; justify-content: center; margin: 0; background-color: var(--color-background); font-family: Helvetica, Sans-Serif; font-size: 5px; } .text { color: var(--color-text); } .circle { color: var(--color-accent); } .clock { width: 60vmin; height: 60vmin; fill: currentColor; -webkit-transform-origin: 50px 50px; transform-origin: 50px 50px; -webkit-animation-name: fade-in; animation-name: fade-in; -webkit-animation-duration: 500ms; animation-duration: 500ms; -webkit-animation-fill-mode: both; animation-fill-mode: both; } .clock line { stroke: currentColor; stroke-linecap: round; } .lines { color: var(--color-primary); stroke-width: 0.5px; } .line-1 { -webkit-transform: rotate(30deg); transform: rotate(30deg); } .line-2 { -webkit-transform: rotate(60deg); transform: rotate(60deg); } .line-3 { -webkit-transform: rotate(90deg); transform: rotate(90deg); } .line-4 { -webkit-transform: rotate(120deg); transform: rotate(120deg); } .line-5 { -webkit-transform: rotate(150deg); transform: rotate(150deg); } .line-6 { -webkit-transform: rotate(180deg); transform: rotate(180deg); } .line-7 { -webkit-transform: rotate(210deg); transform: rotate(210deg); } .line-8 { -webkit-transform: rotate(240deg); transform: rotate(240deg); } .line-9 { -webkit-transform: rotate(270deg); transform: rotate(270deg); } .line-10 { -webkit-transform: rotate(300deg); transform: rotate(300deg); } .line-11 { -webkit-transform: rotate(330deg); transform: rotate(330deg); } .line-12 { -webkit-transform: rotate(360deg); transform: rotate(360deg); } .line { stroke-width: 1.5px; transition: -webkit-transform 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275); transition: transform 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275); transition: transform 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275), -webkit-transform 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275); } .line-hour { color: var(--color-hand); animation: rotateClockHour 216000s linear infinite; } .line-minute { color: var(--color-hand); animation: rotateClockMinute 3600s linear infinite; } .line-second { color: var(--color-accent); stroke-width: 1px; animation: rotateClockSecond 60s linear infinite; }";
        parts[7] = Utils.getKeyFrames(offset);
        parts[8] = "</style>";

        parts[
            9
        ] = '<text class="text" x="50%" y="30%" dominant-baseline="middle" text-anchor="middle">';
        parts[10] = getBrand(tokenId);
        parts[11] = "</text>";

        parts[
            12
        ] = '<text class="text" style="font-size: 2px" x="50%" y="70%" dominant-baseline="middle" text-anchor="middle">UTC';
        parts[13] = offset >= 0 ? "+" : "-";

        if (offset < 0) {
            offset = offset * -1;
        }

        parts[14] = Utils.toString(uint256(int256(offset)));
        parts[15] = "</text>";
        parts[
            16
        ] = '<g class="lines"> <line class="line line-1" x1="50" y1="5" x2="50" y2="10"></line> <line class="line line-2" x1="50" y1="5" x2="50" y2="10"></line> <line class="line line-3" x1="50" y1="5" x2="50" y2="10"></line> <line class="line line-4" x1="50" y1="5" x2="50" y2="10"></line> <line class="line line-5" x1="50" y1="5" x2="50" y2="10"></line> <line class="line line-6" x1="50" y1="5" x2="50" y2="10"></line> <line class="line line-7" x1="50" y1="5" x2="50" y2="10"></line> <line class="line line-8" x1="50" y1="5" x2="50" y2="10"></line> <line class="line line-9" x1="50" y1="5" x2="50" y2="10"></line> <line class="line line-10" x1="50" y1="5" x2="50" y2="10"></line> <line class="line line-11" x1="50" y1="5" x2="50" y2="10"></line> <line class="line line-12" x1="50" y1="5" x2="50" y2="10"></line> </g> <line class="line line-hour" x1="50" y1="25" x2="50" y2="50"></line> <line class="line line-minute" x1="50" y1="10" x2="50" y2="50"></line> <circle class="circle" cx="50" cy="50" r="3"></circle> <g class="line line-second"> <line x1="50" y1="10" x2="50" y2="60"></line> <circle cx="50" cy="50" r="1.5"></circle> </g> </svg>';

        string memory output = string(
            abi.encodePacked(
                parts[0],
                parts[1],
                parts[2],
                parts[3],
                parts[4],
                parts[5],
                parts[6],
                parts[7],
                parts[8]
            )
        );
        output = string(
            abi.encodePacked(
                output,
                parts[9],
                parts[10],
                parts[11],
                parts[12],
                parts[13],
                parts[14],
                parts[15],
                parts[16]
            )
        );

        string memory json = Base64.encode(
            bytes(
                string(
                    abi.encodePacked(
                        '{"name": "Clock #',
                        Utils.toString(tokenId),
                        '", "description": "Clock8008 is a collection of 8008 functioning clocks that you can own in the metaverse. Crafted with scrupulous attention to detail, Clock8008 redefines timekeeping in the metaverse while being a timeless staple.", "image": "data:image/svg+xml;base64,',
                        Base64.encode(bytes(output)),
                        '"}'
                    )
                )
            )
        );
        output = string(
            abi.encodePacked("data:application/json;base64,", json)
        );

        return output;
    }

    function setLocalization(uint256 tokenId, int8 localization) public {
        require(msg.sender == ownerOf(tokenId), "Shoo");
        require(localization >= -12 && localization <= 14, "boo!");
        timeLocalization[tokenId] = localization;
    }

    function mint(uint256 tokenId) public payable nonReentrant {
        // 0.1 ETH to mint
        require(msg.value >= 1e17, "Timekeeping aint free!");
        require(tokenId > 0 && tokenId < 8001, "Token ID invalid");
        _safeMint(_msgSender(), tokenId);
    }

    function ownerClaim(uint256 tokenId) public nonReentrant onlyOwner {
        require(tokenId > 8000 && tokenId < 8009, "Token ID invalid");
        _safeMint(owner(), tokenId);
    }

    function withdrawETH(address recipient) public onlyOwner {
        recipient.call{value: address(this).balance}("");
    }

    function withdrawERC20(address token, address recipient) public onlyOwner {
        IERC20(token).safeTransfer(
            recipient,
            IERC20(token).balanceOf(address(this))
        );
    }

    constructor() ERC721("Clock", "CLOCK") Ownable() {}
}

library Utils {
    // Gets all the CSS key frames
    function getKeyFrames(int8 offset) internal view returns (string memory) {
        uint256 secs = BokkyPooBahsDateTimeLibrary.getSecond(block.timestamp);
        uint256 mins = BokkyPooBahsDateTimeLibrary.getMinute(block.timestamp);
        uint256 hrs = BokkyPooBahsDateTimeLibrary.getHour(block.timestamp);

        // Shift time
        if (offset < 0) {
            // Don't underflow
            if (hrs < uint256(int256(offset) * -1)) {
                hrs = hrs + 12;
            }

            // Subtract
            hrs = hrs - uint256(int256(offset) * -1);
        } else {
            hrs = hrs + uint256(int256(offset));
        }

        // Bound between 0 - 12
        hrs = hrs % 12;

        // Get degress
        uint256 secDeg = ((secs * 360) / 60);
        uint256 minDeg = ((mins * 360) / 60);
        uint256 hourDeg = (((hrs * 350) / 12)) + (((mins * 30) / 60));

        // Paths
        string[3] memory parts;
        parts[0] = toKeyFrames("rotateClockSecond", secDeg);
        parts[1] = toKeyFrames("rotateClockMinute", minDeg);
        parts[2] = toKeyFrames("rotateClockHour", hourDeg);

        // Convert to key frames
        return string(abi.encodePacked(parts[0], parts[1], parts[2]));
    }

    // Get the CSS for key frames
    function toKeyFrames(string memory name, uint256 degree)
        internal
        pure
        returns (string memory)
    {
        string memory strDegree = toString(degree);
        string memory strDegreeEnd = toString(degree + 360);

        string[33] memory paths;

        paths[0] = "@keyframes ";
        paths[1] = name;
        paths[2] = " {";
        paths[3] = "from { -webkit-transform: rotate(";
        paths[4] = strDegree;
        paths[5] = "deg);";
        paths[6] = "-moz-transform: rotate(";
        paths[7] = strDegree;
        paths[8] = "deg);";
        paths[9] = "-ms-transform: rotate(";
        paths[10] = strDegree;
        paths[11] = "deg);";
        paths[12] = "-o-transform: rotate(";
        paths[13] = strDegree;
        paths[14] = "deg);";
        paths[15] = "transform: rotate(";
        paths[16] = strDegree;
        paths[17] = "deg); }";
        paths[18] = "to { -webkit-transform: rotate(";
        paths[19] = strDegreeEnd;
        paths[20] = "deg);";
        paths[21] = "-moz-transform: rotate(";
        paths[22] = strDegreeEnd;
        paths[23] = "deg);";
        paths[24] = "-ms-transform: rotate(";
        paths[25] = strDegreeEnd;
        paths[26] = "deg);";
        paths[27] = "-o-transform: rotate(";
        paths[28] = strDegreeEnd;
        paths[29] = "deg);";
        paths[30] = "transform: rotate(";
        paths[31] = strDegreeEnd;
        paths[32] = "deg); } }";

        string memory output = string(
            abi.encodePacked(
                paths[0],
                paths[1],
                paths[2],
                paths[3],
                paths[4],
                paths[5],
                paths[6],
                paths[7],
                paths[8]
            )
        );

        output = string(
            abi.encodePacked(
                output,
                paths[9],
                paths[10],
                paths[11],
                paths[12],
                paths[13],
                paths[14],
                paths[15],
                paths[16]
            )
        );

        output = string(
            abi.encodePacked(
                output,
                paths[17],
                paths[18],
                paths[19],
                paths[20],
                paths[21],
                paths[22],
                paths[23],
                paths[24]
            )
        );

        output = string(
            abi.encodePacked(
                output,
                paths[25],
                paths[26],
                paths[27],
                paths[28],
                paths[29],
                paths[30],
                paths[31],
                paths[32]
            )
        );

        return output;
    }

    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT license
        // 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);
    }
}

/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
    bytes internal constant TABLE =
        "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((len + 2) / 3);

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)
                )
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)
                )
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(input, 0x3F))), 0xFF)
                )
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.9.0;

// ----------------------------------------------------------------------------
// BokkyPooBah's DateTime Library v1.01
//
// A gas-efficient Solidity date and time library
//
// https://github.com/bokkypoobah/BokkyPooBahsDateTimeLibrary
//
// Tested date range 1970/01/01 to 2345/12/31
//
// Conventions:
// Unit      | Range         | Notes
// :-------- |:-------------:|:-----
// timestamp | >= 0          | Unix timestamp, number of seconds since 1970/01/01 00:00:00 UTC
// year      | 1970 ... 2345 |
// month     | 1 ... 12      |
// day       | 1 ... 31      |
// hour      | 0 ... 23      |
// minute    | 0 ... 59      |
// second    | 0 ... 59      |
// dayOfWeek | 1 ... 7       | 1 = Monday, ..., 7 = Sunday
//
//
// Enjoy. (c) BokkyPooBah / Bok Consulting Pty Ltd 2018-2019. The MIT Licence.
// ----------------------------------------------------------------------------

library BokkyPooBahsDateTimeLibrary {
    uint256 constant SECONDS_PER_DAY = 24 * 60 * 60;
    uint256 constant SECONDS_PER_HOUR = 60 * 60;
    uint256 constant SECONDS_PER_MINUTE = 60;

    function getHour(uint256 timestamp) internal pure returns (uint256 hour) {
        uint256 secs = timestamp % SECONDS_PER_DAY;
        hour = secs / SECONDS_PER_HOUR;
    }

    function getMinute(uint256 timestamp)
        internal
        pure
        returns (uint256 minute)
    {
        uint256 secs = timestamp % SECONDS_PER_HOUR;
        minute = secs / SECONDS_PER_MINUTE;
    }

    function getSecond(uint256 timestamp)
        internal
        pure
        returns (uint256 second)
    {
        second = timestamp % SECONDS_PER_MINUTE;
    }
}

File 2 of 16 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 3 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

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

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

File 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 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 7 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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: balance query for the zero address");
        return _balances[owner];
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

    /**
     * @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 of token that is not own");
        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);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {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 a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

File 8 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 16 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 10 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 11 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 14 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 15 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 16 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getBrand","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getColors","outputs":[{"internalType":"string[5]","name":"","type":"string[5]"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"int8","name":"localization","type":"int8"}],"name":"setLocalization","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6005610cc0818152640a8d2dacaf60db1b610ce05260809081526003610d008181526212135560ea1b610d205260a0526006610d4081815265119bdcdcda5b60d21b610d605260c052610d80818152650a6eec2e8c6d60d31b610da05260e0526009610dc08181526853747568726c696e6760b81b610de052610100526007610e008181526614d95859dd5b1b60ca1b610e205261012052610e40868152645365696b6f60d81b610e605261014052610e8081815266496e766963746160c81b610ea05261016052600c610ec08181526b14ddda5cdcc8131959d95b9960a21b610ee05261018052610f0087815264477565737360d81b610f20526101a052610f40878152642734bc37b760d91b610f60526101c052610f8084815265526f7461727960d01b610fa0526101e052610fc08281526621b4ba34bd32b760c91b610fe052610200526110008481526513dc9a595b9d60d21b611020526102205261104087815264436173696f60d81b61106052610240526110808481526529b5b0b3b2b760d11b6110a052610260526110c084815265566f73746f6b60d01b6110e052610280526111008481526542756c6f766160d01b611120526102a05261114084815265111a595cd95b60d21b611160526102c0526008611180818152674d6f6e6461696e6560c01b6111a0526102e0526111c08581526542656e72757360d01b6111e052610300526112008281526b4d69636861656c204b6f727360a01b61122052610320526112408181526726b0b930ba3437b760c11b61126052610340526112808381526643657274696e6160c81b6112a052610360526112c0858152655375756e746f60d01b6112e0526103805261130083815266098eadad2dcdef60cb1b611320526103a05261134085815265151a5cdcdbdd60d21b611360526103c05260136113808181527f4672656465726971756520436f6e7374616e74000000000000000000000000006113a0526103e0526113c08981526453746f776160d81b6113e052610400526004611400818152634c61636f60e01b6114205261042052611440838152672430b6b4b63a37b760c11b611460526104405260106114808181526f10da1c9a5cdd1bdc1a195c8815d85c9960821b6114a05261046052600f6114c08181526e09ac2eae4d2c6ca4098c2c6e4ded2f608b1b6114e05261048052611500898152655a6f6469616360d01b611520526104a0526115408c815264477563636960d81b611560526104c052611580898152654d6f7661646f60d01b6115a0526104e0526115c0838152634d69646f60e01b6115e05261050052611600838152635261646f60e01b6116205261052052611640858152674c6f6e67696e657360c01b61166052610540526116809586526b14985e5b5bdb990815d95a5b60a21b6116a052610560959095526116c0828152634f72697360e01b6116e0526105805261170088815265547574696d6160d01b611720526105a0526117408281526329b4b73760e11b611760526105c05261178088815265466f7274697360d01b6117a0526105e0526117c0848152674a756e6768616e7360c01b6117e052610600526118008181526f2130bab6b29032ba1026b2b931b4b2b960811b6118205261062052611840888152654865726d657360d01b61186052610640526118808581526e4e6f6d6f7320476c6173687574746560881b6118a052610660526118c0878152682a30b3902432bab2b960b91b6118e05261068052611900828152631158995b60e21b611920526106a05261194082815263446f786160e01b611960526106c0526119808b8152642a3ab237b960d91b6119a0526106e052600b6119c08181526a42656c6c202620526f737360a81b6119e05261070052611a008381526310985b1b60e21b611a205261072052611a40858152674d6f6e74626c616360c01b611a605261074052611a808a81526249574360e81b611aa05261076052611ac08c8152644f6d65676160d81b611ae05261078052611b008181526a4772616e64205365696b6f60a81b611b20526107a052611b408781526642766c6761726960c81b611b60526107c052611b808881526842726569746c696e6760b81b611ba0526107e052611bc08181526a4368726f6e6f737769737360a81b611be05261080052611c0087815266109c995b5bdb9d60ca1b611c205261082052611c40898152650b4cadcd2e8d60d31b611c605261084052611c8089815265121d589b1bdd60d21b611ca05261086052611cc08981526521b0b934b2b960d11b611ce05261088052611d008781526650616e6572616960c81b611d20526108a052611d408c8152640a4ded8caf60db1b611d60526108c052611d808281526f4a61656765722d4c65436f756c74726560801b611da0526108e052611dc08781526610da1bdc185c9960ca1b611de05261090052600d611e008181526c2ab63cb9b9b2902730b93234b760991b611e205261092052611e408381526f08ed2e4c2e4c85aa0cae4e4cacec2eaf60831b611e605261094052611e8089815268213630b731b830b4b760b91b611ea052610960526012611ec09081527111db185cda1d5d1d194813dc9a59da5b985b60721b611ee05261098052611f0088815266109c9959dd595d60ca1b611f20526109a052611f409283526f412e204c616e6765202620536f686e6560801b611f60526109c092909252611f8089815265141a5859d95d60d21b611fa0526109e052611fc08681526e105d59195b585c9cc8141a59dd595d608a1b611fe052610a00526120008281526c233930b731b59026bab63632b960991b61202052610a2052600e6120408181526d506174656b205068696c6970706560901b61206052610a40526120809485527f5661636865726f6e20436f6e7374616e74696e000000000000000000000000006120a052610a60949094526120c08281526c52696368617264204d696c6c6560981b6120e052610a80526121008381526326a1132360e11b61212052610aa0526121408181526a462e502e204a6f75726e6560a81b61216052610ac0526121809586526e283434b634b8383290223ab337bab960891b6121a052610ae0959095526121c08b815264383030383560d81b6121e052610b005261220093845267506172616469676d60c01b61222052610b2093909352612240868152682837b63cb1b430b4b760b91b61226052610b40526122808181526353696e6f60e01b6122a052610b60526122c08881526208ca8b60eb1b6122e052610b8052612300998a52642232b3b2b760d91b61232052610ba0999099526123409283526a2232a3349029bab6b6b2b960a91b61236052610bc092909252612380978852634170657360e01b6123a052610be0979097526123c093845265149d59d9d95960d21b6123e052610c0093909352612400818152662630bcb2b9101960c91b61242052610c20526124409384526226a2ab60e91b61246052610c409390935261248090815268466c617368626f747360b81b6124a052610c60526124c09081526d5a65726f204b6e6f776c6564676560901b6124e052610c805261254060405261250090815266782079203d206b60c81b61252052610ca05262000a5b9190606262000b7c565b506040805160a0810182526000815260016020820152600291810191909152600360608201526004608082015262000a9890600e90600562000be0565b5034801562000aa657600080fd5b5060405180604001604052806005815260200164436c6f636b60d81b81525060405180604001604052806005815260200164434c4f434b60d81b815250816000908051906020019062000afb92919062000c31565b50805162000b1190600190602084019062000c31565b50506001600a555062000b243362000b2a565b62000d65565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805482825590600052602060002090810192821562000bce579160200282015b8281111562000bce578251805162000bbd91849160209091019062000c31565b509160200191906001019062000b9d565b5062000bdc92915062000cae565b5090565b82805482825590600052602060002090810192821562000c23579160200282015b8281111562000c23578251829060ff1690559160200191906001019062000c01565b5062000bdc92915062000ccf565b82805462000c3f9062000d28565b90600052602060002090601f01602090048101928262000c63576000855562000c23565b82601f1062000c7e57805160ff191683800117855562000c23565b8280016001018555821562000c23579182015b8281111562000c2357825182559160200191906001019062000c91565b8082111562000bdc57600062000cc5828262000ce6565b5060010162000cae565b5b8082111562000bdc576000815560010162000cd0565b50805462000cf49062000d28565b6000825580601f1062000d05575050565b601f01602090049060005260206000209081019062000d25919062000ccf565b50565b600181811c9082168062000d3d57607f821691505b6020821081141562000d5f57634e487b7160e01b600052602260045260246000fd5b50919050565b61497a8062000d756000396000f3fe6080604052600436106101815760003560e01c8063715018a6116100d1578063a22cb4651161008a578063e985e9c511610064578063e985e9c514610451578063f0dc6d141461049a578063f2fde38b146104ba578063f3119682146104da57600080fd5b8063a22cb465146103f1578063b88d4fde14610411578063c87b56dd1461043157600080fd5b8063715018a61461035657806383547e8c1461036b5780638da5cb5b1461038b5780639456fbcc146103a957806395d89b41146103c9578063a0712d68146103de57600080fd5b80632f745c591161013e5780634f6ccce7116101185780634f6ccce7146102d65780636352211e146102f6578063690d83201461031657806370a082311461033657600080fd5b80632f745c591461027657806342842e0e14610296578063434f48c4146102b657600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101dd578063095ea7b31461021557806318160ddd1461023757806323b872dd14610256575b600080fd5b34801561019257600080fd5b506101a66101a1366004613106565b610507565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b506101d0610532565b6040516101b29190613709565b3480156101e957600080fd5b506101fd6101f8366004613140565b6105c4565b6040516001600160a01b0390911681526020016101b2565b34801561022157600080fd5b506102356102303660046130bf565b61065e565b005b34801561024357600080fd5b506008545b6040519081526020016101b2565b34801561026257600080fd5b50610235610271366004612f70565b610774565b34801561028257600080fd5b506102486102913660046130bf565b6107a5565b3480156102a257600080fd5b506102356102b1366004612f70565b61083b565b3480156102c257600080fd5b506102356102d1366004613140565b610856565b3480156102e257600080fd5b506102486102f1366004613140565b61094c565b34801561030257600080fd5b506101fd610311366004613140565b6109df565b34801561032257600080fd5b50610235610331366004612f22565b610a56565b34801561034257600080fd5b50610248610351366004612f22565b610ad4565b34801561036257600080fd5b50610235610b5b565b34801561037757600080fd5b50610235610386366004613172565b610b91565b34801561039757600080fd5b50600b546001600160a01b03166101fd565b3480156103b557600080fd5b506102356103c4366004612f3d565b610c53565b3480156103d557600080fd5b506101d0610d0f565b6102356103ec366004613140565b610d1e565b3480156103fd57600080fd5b5061023561040c366004613088565b610e20565b34801561041d57600080fd5b5061023561042c366004612fac565b610e2b565b34801561043d57600080fd5b506101d061044c366004613140565b610e5d565b34801561045d57600080fd5b506101a661046c366004612f3d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156104a657600080fd5b506101d06104b5366004613140565b611219565b3480156104c657600080fd5b506102356104d5366004612f22565b611314565b3480156104e657600080fd5b506104fa6104f5366004613140565b6113af565b6040516101b291906136bc565b60006001600160e01b0319821663780e9d6360e01b148061052c575061052c826117bb565b92915050565b60606000805461054190613988565b80601f016020809104026020016040519081016040528092919081815260200182805461056d90613988565b80156105ba5780601f1061058f576101008083540402835291602001916105ba565b820191906000526020600020905b81548152906001019060200180831161059d57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106425760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610669826109df565b9050806001600160a01b0316836001600160a01b031614156106d75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610639565b336001600160a01b03821614806106f357506106f3813361046c565b6107655760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610639565b61076f838361180b565b505050565b61077e3382611879565b61079a5760405162461bcd60e51b8152600401610639906137a3565b61076f838383611970565b60006107b083610ad4565b82106108125760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610639565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61076f83838360405180602001604052806000815250610e2b565b6002600a5414156108a95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610639565b6002600a55600b546001600160a01b031633146108d85760405162461bcd60e51b81526004016106399061376e565b611f40811180156108ea5750611f4981105b6109295760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881251081a5b9d985b1a5960821b6044820152606401610639565b61094461093e600b546001600160a01b031690565b82611b1b565b506001600a55565b600061095760085490565b82106109ba5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610639565b600882815481106109cd576109cd613a34565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b03168061052c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610639565b600b546001600160a01b03163314610a805760405162461bcd60e51b81526004016106399061376e565b6040516001600160a01b038216904790600081818185875af1925050503d8060008114610ac9576040519150601f19603f3d011682016040523d82523d6000602084013e610ace565b606091505b50505050565b60006001600160a01b038216610b3f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610639565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b03163314610b855760405162461bcd60e51b81526004016106399061376e565b610b8f6000611b35565b565b610b9a826109df565b6001600160a01b0316336001600160a01b031614610be35760405162461bcd60e51b81526004016106399060208082526004908201526353686f6f60e01b604082015260600190565b600b198160000b12158015610bfc5750600e8160000b13155b610c315760405162461bcd60e51b815260040161063990602080825260049082015263626f6f2160e01b604082015260600190565b6000918252600c6020526040822080549190920b60ff1660ff19909116179055565b600b546001600160a01b03163314610c7d5760405162461bcd60e51b81526004016106399061376e565b6040516370a0823160e01b8152306004820152610d0b9082906001600160a01b038516906370a082319060240160206040518083038186803b158015610cc257600080fd5b505afa158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190613159565b6001600160a01b0385169190611b87565b5050565b60606001805461054190613988565b6002600a541415610d715760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610639565b6002600a5567016345785d8a0000341015610dc75760405162461bcd60e51b815260206004820152601660248201527554696d656b656570696e672061696e7420667265652160501b6044820152606401610639565b600081118015610dd85750611f4181105b610e175760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881251081a5b9d985b1a5960821b6044820152606401610639565b6109443361093e565b610d0b338383611bd9565b610e353383611879565b610e515760405162461bcd60e51b8152600401610639906137a3565b610ace84848484611ca8565b6000818152600c602052604081205460609190810b90610e7c846113af565b9050610e86612e90565b6040518060a00160405280607a8152602001613fee607a913981528151604051610eb39190602001613588565b60408051808303601f19018152918152602080840192909252838201519051610edc9201613613565b60408051808303601f1901815291815282810191909152828101519051610f0691906020016135cc565b60408051601f1981840301815291905281600360200201528160036020020151604051602001610f369190613361565b60408051601f1981840301815291905281600460200201528160046020020151604051602001610f669190613656565b60408051808303601f1901815291815260a083019190915280516108e081019091526108bc808252614089602083013960c0820152610fa483611cdb565b60e0820152604080518082019091526008808252671e17b9ba3cb6329f60c11b602083015282906020020181905250604051806080016040528060538152602001613a8560539139610120820152610ffb85611219565b6101408201526040805180820190915260078152661e17ba32bc3a1f60c91b602082015281600b60200201819052506040518060a00160405280606d8152602001613ad8606d9139610180820152600083810b121561107357604051806040016040528060018152602001602d60f81b81525061108e565b604051806040016040528060018152602001602b60f81b8152505b6101a0820152600083810b12156110ae576110ab836000196138a5565b92505b6110ba8360000b611ed1565b6101c08201526040805180820190915260078152661e17ba32bc3a1f60c91b602082015281600f6020020181905250604051806104a001604052806104698152602001613b45610469913961020082015280516020808301516040808501516060860151608087015160a088015160c089015160e08a01516101008b0151965160009a61114b9a9099989101613273565b60408051808303601f19018152908290526101208401516101408501516101608601516101808701516101a08801516101c08901516101e08a01516102008b015197995061119e988a9890602001613273565b604051602081830303815290604052905060006111eb6111bd88611ed1565b6111c684611fcf565b6040516020016111d79291906133e7565b604051602081830303815290604052611fcf565b9050806040516020016111fe91906133a2565b60408051601f19818403018152919052979650505050505050565b606061052c8260405180604001604052806005815260200164109490539160da1b815250600d805480602002602001604051908101604052809291908181526020016000905b8282101561130b57838290600052602060002001805461127e90613988565b80601f01602080910402602001604051908101604052809291908181526020018280546112aa90613988565b80156112f75780601f106112cc576101008083540402835291602001916112f7565b820191906000526020600020905b8154815290600101906020018083116112da57829003601f168201915b50505050508152602001906001019061125f565b50505050612135565b600b546001600160a01b0316331461133e5760405162461bcd60e51b81526004016106399061376e565b6001600160a01b0381166113a35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610639565b6113ac81611b35565b50565b6113b7612eb8565b60006113e96113c584611ed1565b6040516020016113d59190613333565b604051602081830303815290604052612190565b600e80549192506000916113fd90846139de565b8154811061140d5761140d613a34565b9060005260206000200154905080600114156114d05750506040805160e081018252600760a08201818152662332333233323360c81b60c08401528252825180840184528181526611999ab0b2331960c91b6020828101919091528084019190915283518085018552828152662333353335333560c81b81830152838501528351808501855260048152630233030360e41b818301526060840152835180850190945290835266046c670c670c6760cb1b90830152608081019190915292915050565b80600214156115885750506040805160e081018252600760a08201818152662363306136373560c81b60c08401528252825180840184528181526611b19ab0999ab160c91b60208281019190915280840191909152835180850185528281526611b1b3319ab0b160c91b818301528385015283518085018552828152662362653937356560c81b8183015260608401528351808501909452908352662335313461333960c81b90830152608081019190915292915050565b80600314156116415750506040805160e081018252600760a082018181526611b31b331b331b60c91b60c0840152825282518084018452818152662363336336633360c81b6020828101919091528084019190915283518085018552828152662330633566333560c81b818301528385015283518085018552918252660236561656666360cc1b8282015260608301919091528251808401909352600483526311b3333360e11b90830152608081019190915292915050565b80600414156116f95750506040805160e081018252600760a082018181526611b11b311a311960c91b60c084015282528251808401845281815266046c270c270c2760cb1b6020828101919091528084019190915283518085018552828152662330613336376560c81b8183015283850152835180850185528281526608d8589858985960ca1b81830152606084015283518085019094529083526611b11ab19cb1b360c91b90830152608081019190915292915050565b6040518060a0016040528060405180604001604052806007815260200166119cb31cb31cb360c91b81525081526020016040518060400160405280600781526020016611b333199b199b60c91b81525081526020016040518060400160405280600481526020016311b3333360e11b8152508152602001604051806040016040528060048152602001630233030360e41b8152508152602001604051806040016040528060048152602001630233030360e41b81525081525092505050919050565b60006001600160e01b031982166380ac58cd60e01b14806117ec57506001600160e01b03198216635b5e139f60e01b145b8061052c57506301ffc9a760e01b6001600160e01b031983161461052c565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611840826109df565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166118f25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610639565b60006118fd836109df565b9050806001600160a01b0316846001600160a01b031614806119385750836001600160a01b031661192d846105c4565b6001600160a01b0316145b8061196857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611983826109df565b6001600160a01b0316146119eb5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610639565b6001600160a01b038216611a4d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610639565b611a588383836121c1565b611a6360008261180b565b6001600160a01b0383166000908152600360205260408120805460019290611a8c908490613945565b90915550506001600160a01b0382166000908152600360205260408120805460019290611aba9084906137f4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610d0b828260405180602001604052806000815250612279565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261076f9084906122ac565b816001600160a01b0316836001600160a01b03161415611c3b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610639565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611cb3848484611970565b611cbf8484848461237e565b610ace5760405162461bcd60e51b81526004016106399061371c565b60606000611ce84261248b565b90506000611cf542612498565b90506000611d02426124b4565b905060008560000b1215611d5657611d20600086900b600019613820565b811015611d3557611d3281600c6137f4565b90505b611d45600086900b600019613820565b611d4f9082613945565b9050611d67565b611d64600086900b826137f4565b90505b611d72600c826139de565b90506000603c611d8485610168613926565b611d8e919061380c565b90506000603c611da085610168613926565b611daa919061380c565b90506000603c611dbb86601e613926565b611dc5919061380c565b600c611dd38661015e613926565b611ddd919061380c565b611de791906137f4565b9050611df1612ed2565b611e24604051806040016040528060118152602001701c9bdd185d1950db1bd8dad4d958dbdb99607a1b815250856124d2565b8152604080518082019091526011815270726f74617465436c6f636b4d696e75746560781b6020820152611e5890846124d2565b8160016020020181905250611e946040518060400160405280600f81526020016e3937ba30ba32a1b637b1b5a437bab960891b815250836124d2565b604080830182905282516020808501519251611eb4949293929101613230565b604051602081830303815290604052975050505050505050919050565b606081611ef55750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f1f5780611f09816139c3565b9150611f189050600a8361380c565b9150611ef9565b60008167ffffffffffffffff811115611f3a57611f3a613a4a565b6040519080825280601f01601f191660200182016040528015611f64576020820181803683370190505b5090505b841561196857611f79600183613945565b9150611f86600a866139de565b611f919060306137f4565b60f81b818381518110611fa657611fa6613a34565b60200101906001600160f81b031916908160001a905350611fc8600a8661380c565b9450611f68565b805160609080611fef575050604080516020810190915260008152919050565b60006003611ffe8360026137f4565b612008919061380c565b612013906004613926565b905060006120228260206137f4565b67ffffffffffffffff81111561203a5761203a613a4a565b6040519080825280601f01601f191660200182016040528015612064576020820181803683370190505b5090506000604051806060016040528060408152602001613fae604091399050600181016020830160005b868110156120f0576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b83526004909201910161208f565b50600386066001811461210a576002811461211b57612127565b613d3d60f01b600119830152612127565b603d60f81b6000198301525b505050918152949350505050565b606060006121578461214687611ed1565b6040516020016113d5929190613201565b905060008384518361216991906139de565b8151811061217957612179613a34565b6020026020010151905080925050505b9392505050565b6000816040516020016121a391906131e5565b60408051601f19818403018152919052805160209091012092915050565b6001600160a01b03831661221c5761221781600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61223f565b816001600160a01b0316836001600160a01b03161461223f5761223f8382612aa7565b6001600160a01b0382166122565761076f81612b44565b826001600160a01b0316826001600160a01b03161461076f5761076f8282612bf3565b6122838383612c37565b612290600084848461237e565b61076f5760405162461bcd60e51b81526004016106399061371c565b6000612301826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612d859092919063ffffffff16565b80519091501561076f578080602001905181019061231f91906130e9565b61076f5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610639565b60006001600160a01b0384163b1561248057604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123c290339089908890889060040161367f565b602060405180830381600087803b1580156123dc57600080fd5b505af192505050801561240c575060408051601f3d908101601f1916820190925261240991810190613123565b60015b612466573d80801561243a576040519150601f19603f3d011682016040523d82523d6000602084013e61243f565b606091505b50805161245e5760405162461bcd60e51b81526004016106399061371c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611968565b506001949350505050565b600061052c603c836139de565b6000806124a7610e10846139de565b9050612189603c8261380c565b6000806124c462015180846139de565b9050612189610e108261380c565b606060006124df83611ed1565b905060006124f76124f2856101686137f4565b611ed1565b9050612501612eec565b604080518082018252600b81526a02035b2bcb33930b6b2b9960ad1b602080830191909152908352828101889052815180830183526002815261207b60f01b818301528383015281516060810190925260218083529061406890830139606082015260808101839052604080518082018252600580825264646567293b60d81b602080840182905260a086019390935283518085018552601781527605adadef45ae8e4c2dce6ccdee4da7440e4dee8c2e8ca5604b1b8185015260c086015260e085018790528351808501855282815280840182905261010086015283518085018552601681527505adae65ae8e4c2dce6ccdee4da7440e4dee8c2e8ca560531b8185015261012086015261014085018790528351808501855282815280840182905261016086015283518085018552601581527405ade5ae8e4c2dce6ccdee4da7440e4dee8c2e8ca5605b1b818501526101808601526101a08501879052835180850185528281528084018290526101c08601528351808501855260128152710e8e4c2dce6ccdee4da7440e4dee8c2e8ca560731b818501526101e08601526102008501879052835180850185526007815266646567293b207d60c81b8185015261022086015283518085018552601f81527f746f207b202d7765626b69742d7472616e73666f726d3a20726f74617465280081850152610240860152610260850186905283518085019094529083529082015281601460200201819052506040518060400160405280601781526020017605adadef45ae8e4c2dce6ccdee4da7440e4dee8c2e8ca5604b1b8152508160156021811061276457612764613a34565b602002015281816016602002018190525060405180604001604052806005815260200164646567293b60d81b815250816017602181106127a6576127a6613a34565b60200201819052506040518060400160405280601681526020017505adae65ae8e4c2dce6ccdee4da7440e4dee8c2e8ca560531b815250816018602181106127f0576127f0613a34565b602002015281816019602002018190525060405180604001604052806005815260200164646567293b60d81b81525081601a6021811061283257612832613a34565b60200201819052506040518060400160405280601581526020017405ade5ae8e4c2dce6ccdee4da7440e4dee8c2e8ca5605b1b81525081601b6021811061287b5761287b613a34565b60200201528181601c602002018190525060405180604001604052806005815260200164646567293b60d81b81525081601d602181106128bd576128bd613a34565b6020020181905250604051806040016040528060128152602001710e8e4c2dce6ccdee4da7440e4dee8c2e8ca560731b81525081601e6021811061290357612903613a34565b60200201528181601f602002018190525060405180604001604052806009815260200168646567293b207d207d60b81b8152508160206021811061294957612949613a34565b602090810291909101919091528151828201516040808501516060860151608087015160a088015160c089015160e08a01516101008b0151965160009a6129939a99989101613273565b60408051808303601f19018152908290526101208401516101408501516101608601516101808701516101a08801516101c08901516101e08a01516102008b01519799506129e6988a9890602001613273565b60408051808303601f19018152908290526102208401516102408501516102608601516102808701516102a08801516102c08901516102e08a01516103008b0151979950612a39988a9890602001613273565b60408051601f19818403018152908290526103208401516103408501516103608601516103808701516103a08801516103c08901516103e08a01516104008b0151979950612a8c988a9890602001613273565b60408051808303601f19018152919052979650505050505050565b60006001612ab484610ad4565b612abe9190613945565b600083815260076020526040902054909150808214612b11576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612b5690600190613945565b60008381526009602052604081205460088054939450909284908110612b7e57612b7e613a34565b906000526020600020015490508060088381548110612b9f57612b9f613a34565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612bd757612bd7613a1e565b6001900381819060005260206000200160009055905550505050565b6000612bfe83610ad4565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216612c8d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610639565b6000818152600260205260409020546001600160a01b031615612cf25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610639565b612cfe600083836121c1565b6001600160a01b0382166000908152600360205260408120805460019290612d279084906137f4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060611968848460008585843b612dde5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610639565b600080866001600160a01b03168587604051612dfa91906131e5565b60006040518083038185875af1925050503d8060008114612e37576040519150601f19603f3d011682016040523d82523d6000602084013e612e3c565b606091505b5091509150612e4c828286612e57565b979650505050505050565b60608315612e66575081612189565b825115612e765782518084602001fd5b8160405162461bcd60e51b81526004016106399190613709565b6040518061022001604052806011905b6060815260200190600190039081612ea05790505090565b6040805160a0810190915260608152600460208201612ea0565b604080516060808201909252908152600260208201612ea0565b604080516104208101909152606081526020808201612ea0565b80356001600160a01b0381168114612f1d57600080fd5b919050565b600060208284031215612f3457600080fd5b61218982612f06565b60008060408385031215612f5057600080fd5b612f5983612f06565b9150612f6760208401612f06565b90509250929050565b600080600060608486031215612f8557600080fd5b612f8e84612f06565b9250612f9c60208501612f06565b9150604084013590509250925092565b60008060008060808587031215612fc257600080fd5b612fcb85612f06565b9350612fd960208601612f06565b925060408501359150606085013567ffffffffffffffff80821115612ffd57600080fd5b818701915087601f83011261301157600080fd5b81358181111561302357613023613a4a565b604051601f8201601f19908116603f0116810190838211818310171561304b5761304b613a4a565b816040528281528a602084870101111561306457600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561309b57600080fd5b6130a483612f06565b915060208301356130b481613a60565b809150509250929050565b600080604083850312156130d257600080fd5b6130db83612f06565b946020939093013593505050565b6000602082840312156130fb57600080fd5b815161218981613a60565b60006020828403121561311857600080fd5b813561218981613a6e565b60006020828403121561313557600080fd5b815161218981613a6e565b60006020828403121561315257600080fd5b5035919050565b60006020828403121561316b57600080fd5b5051919050565b6000806040838503121561318557600080fd5b8235915060208301358060000b81146130b457600080fd5b600081518084526131b581602086016020860161395c565b601f01601f19169290920160200192915050565b600081516131db81856020860161395c565b9290920192915050565b600082516131f781846020870161395c565b9190910192915050565b6000835161321381846020880161395c565b83519083019061322781836020880161395c565b01949350505050565b6000845161324281846020890161395c565b84519083019061325681836020890161395c565b845191019061326981836020880161395c565b0195945050505050565b60008a51613285818460208f0161395c565b8a516132978183860160208f0161395c565b8a5191840101906132ac818360208e0161395c565b89519101906132bf818360208d0161395c565b88516132d18183850160208d0161395c565b88519290910101906132e7818360208b0161395c565b86516132f98183850160208b0161395c565b865192909101019061330f81836020890161395c565b8451613321818385016020890161395c565b9101019b9a5050505050505050505050565b65434f4c4f525360d01b81526000825161335481600685016020870161395c565b9190910160060192915050565b6d01696b1b7b637b916b430b7321d160951b81526000825161338a81600e85016020870161395c565b603b60f81b600e939091019283015250600f01919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516133da81601d85016020870161395c565b91909101601d0192915050565b707b226e616d65223a2022436c6f636b202360781b8152825160009061341481601185016020880161395c565b7f222c20226465736372697074696f6e223a2022436c6f636b38303038206973206011918401918201527f6120636f6c6c656374696f6e206f6620383030382066756e6374696f6e696e6760318201527f20636c6f636b73207468617420796f752063616e206f776e20696e207468652060518201527f6d65746176657273652e20437261667465642077697468207363727570756c6f60718201527f757320617474656e74696f6e20746f2064657461696c2c20436c6f636b38303060918201527f38207265646566696e65732074696d656b656570696e6720696e20746865206d60b18201527f6574617665727365207768696c65206265696e6720612074696d656c6573732060d18201527f737461706c652e222c2022696d616765223a2022646174613a696d6167652f7360f18201526d1d99cade1b5b0ed8985cd94d8d0b60921b61011182015261357f61357161011f8301866131c9565b61227d60f01b815260020190565b95945050505050565b7001696b1b7b637b916b83934b6b0b93c9d1607d1b8152600082516135b481601185016020870161395c565b603b60f81b6011939091019283015250601201919050565b7301696b1b7b637b916b130b1b5b3b937bab7321d160651b8152600082516135fb81601485016020870161395c565b603b60f81b6014939091019283015250601501919050565b6f01696b1b7b637b916b0b1b1b2b73a1d160851b81526000825161363e81601085016020870161395c565b603b60f81b6010939091019283015250601101919050565b6d01696b1b7b637b916ba32bc3a1d160951b81526000825161338a81600e85016020870161395c565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906136b29083018461319d565b9695505050505050565b602080825260009060c0830183820185845b60058110156136fd57601f198785030183526136eb84835161319d565b935091840191908401906001016136ce565b50919695505050505050565b602081526000612189602083018461319d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115613807576138076139f2565b500190565b60008261381b5761381b613a08565b500490565b60006001600160ff1b0381841382841380821686840486111615613846576138466139f2565b600160ff1b6000871282811687830589121615613865576138656139f2565b60008712925087820587128484161615613881576138816139f2565b87850587128184161615613897576138976139f2565b505050929093029392505050565b60008082810b84820b82811383831382607f04841182821616156138cb576138cb6139f2565b607f19858412828116868305861216156138e7576138e76139f2565b9585129583871685830587121615613901576139016139f2565b84607f0586128188161615613918576139186139f2565b505050910295945050505050565b6000816000190483118215151615613940576139406139f2565b500290565b600082821015613957576139576139f2565b500390565b60005b8381101561397757818101518382015260200161395f565b83811115610ace5750506000910152565b600181811c9082168061399c57607f821691505b602082108114156139bd57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156139d7576139d76139f2565b5060010190565b6000826139ed576139ed613a08565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146113ac57600080fd5b6001600160e01b0319811681146113ac57600080fdfe3c7465787420636c6173733d22746578742220783d223530252220793d223330252220646f6d696e616e742d626173656c696e653d226d6964646c652220746578742d616e63686f723d226d6964646c65223e3c7465787420636c6173733d227465787422207374796c653d22666f6e742d73697a653a203270782220783d223530252220793d223730252220646f6d696e616e742d626173656c696e653d226d6964646c652220746578742d616e63686f723d226d6964646c65223e5554433c6720636c6173733d226c696e6573223e203c6c696e6520636c6173733d226c696e65206c696e652d31222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d32222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d33222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d34222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d35222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d36222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d37222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d38222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d39222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d3130222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d3131222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d3132222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c2f673e203c6c696e6520636c6173733d226c696e65206c696e652d686f7572222078313d223530222079313d223235222078323d223530222079323d223530223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d6d696e757465222078313d223530222079313d223130222078323d223530222079323d223530223e3c2f6c696e653e203c636972636c6520636c6173733d22636972636c65222063783d223530222063793d2235302220723d2233223e3c2f636972636c653e203c6720636c6173733d226c696e65206c696e652d7365636f6e64223e203c6c696e652078313d223530222079313d223130222078323d223530222079323d223630223e3c2f6c696e653e203c636972636c652063783d223530222063793d2235302220723d22312e35223e3c2f636972636c653e203c2f673e203c2f7376673e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7376672220636c6173733d22636c6f636b222076696577426f783d22302030203130302031303022207374796c653d2277696474683a34323070783b6865696768743a34323070783b223e203c7374796c653e202a207b66726f6d207b202d7765626b69742d7472616e73666f726d3a20726f74617465282d7765626b69742d7472616e73666f726d2d6f726967696e3a20696e68657269743b207472616e73666f726d2d6f726967696e3a20696e68657269743b20646973706c61793a20666c65783b20616c69676e2d6974656d733a2063656e7465723b206a7573746966792d636f6e74656e743a2063656e7465723b206d617267696e3a20303b206261636b67726f756e642d636f6c6f723a20766172282d2d636f6c6f722d6261636b67726f756e64293b20666f6e742d66616d696c793a2048656c7665746963612c2053616e732d53657269663b20666f6e742d73697a653a203570783b207d202e74657874207b20636f6c6f723a20766172282d2d636f6c6f722d74657874293b207d202e636972636c65207b20636f6c6f723a20766172282d2d636f6c6f722d616363656e74293b207d202e636c6f636b207b2077696474683a203630766d696e3b206865696768743a203630766d696e3b2066696c6c3a2063757272656e74436f6c6f723b202d7765626b69742d7472616e73666f726d2d6f726967696e3a203530707820353070783b207472616e73666f726d2d6f726967696e3a203530707820353070783b202d7765626b69742d616e696d6174696f6e2d6e616d653a20666164652d696e3b20616e696d6174696f6e2d6e616d653a20666164652d696e3b202d7765626b69742d616e696d6174696f6e2d6475726174696f6e3a203530306d733b20616e696d6174696f6e2d6475726174696f6e3a203530306d733b202d7765626b69742d616e696d6174696f6e2d66696c6c2d6d6f64653a20626f74683b20616e696d6174696f6e2d66696c6c2d6d6f64653a20626f74683b207d202e636c6f636b206c696e65207b207374726f6b653a2063757272656e74436f6c6f723b207374726f6b652d6c696e656361703a20726f756e643b207d202e6c696e6573207b20636f6c6f723a20766172282d2d636f6c6f722d7072696d617279293b207374726f6b652d77696474683a20302e3570783b207d202e6c696e652d31207b202d7765626b69742d7472616e73666f726d3a20726f74617465283330646567293b207472616e73666f726d3a20726f74617465283330646567293b207d202e6c696e652d32207b202d7765626b69742d7472616e73666f726d3a20726f74617465283630646567293b207472616e73666f726d3a20726f74617465283630646567293b207d202e6c696e652d33207b202d7765626b69742d7472616e73666f726d3a20726f74617465283930646567293b207472616e73666f726d3a20726f74617465283930646567293b207d202e6c696e652d34207b202d7765626b69742d7472616e73666f726d3a20726f7461746528313230646567293b207472616e73666f726d3a20726f7461746528313230646567293b207d202e6c696e652d35207b202d7765626b69742d7472616e73666f726d3a20726f7461746528313530646567293b207472616e73666f726d3a20726f7461746528313530646567293b207d202e6c696e652d36207b202d7765626b69742d7472616e73666f726d3a20726f7461746528313830646567293b207472616e73666f726d3a20726f7461746528313830646567293b207d202e6c696e652d37207b202d7765626b69742d7472616e73666f726d3a20726f7461746528323130646567293b207472616e73666f726d3a20726f7461746528323130646567293b207d202e6c696e652d38207b202d7765626b69742d7472616e73666f726d3a20726f7461746528323430646567293b207472616e73666f726d3a20726f7461746528323430646567293b207d202e6c696e652d39207b202d7765626b69742d7472616e73666f726d3a20726f7461746528323730646567293b207472616e73666f726d3a20726f7461746528323730646567293b207d202e6c696e652d3130207b202d7765626b69742d7472616e73666f726d3a20726f7461746528333030646567293b207472616e73666f726d3a20726f7461746528333030646567293b207d202e6c696e652d3131207b202d7765626b69742d7472616e73666f726d3a20726f7461746528333330646567293b207472616e73666f726d3a20726f7461746528333330646567293b207d202e6c696e652d3132207b202d7765626b69742d7472616e73666f726d3a20726f7461746528333630646567293b207472616e73666f726d3a20726f7461746528333630646567293b207d202e6c696e65207b207374726f6b652d77696474683a20312e3570783b207472616e736974696f6e3a202d7765626b69742d7472616e73666f726d203230306d732063756269632d62657a69657228302e3137352c20302e3838352c20302e33322c20312e323735293b207472616e736974696f6e3a207472616e73666f726d203230306d732063756269632d62657a69657228302e3137352c20302e3838352c20302e33322c20312e323735293b207472616e736974696f6e3a207472616e73666f726d203230306d732063756269632d62657a69657228302e3137352c20302e3838352c20302e33322c20312e323735292c202d7765626b69742d7472616e73666f726d203230306d732063756269632d62657a69657228302e3137352c20302e3838352c20302e33322c20312e323735293b207d202e6c696e652d686f7572207b20636f6c6f723a20766172282d2d636f6c6f722d68616e64293b20616e696d6174696f6e3a20726f74617465436c6f636b486f75722032313630303073206c696e65617220696e66696e6974653b207d202e6c696e652d6d696e757465207b20636f6c6f723a20766172282d2d636f6c6f722d68616e64293b20616e696d6174696f6e3a20726f74617465436c6f636b4d696e757465203336303073206c696e65617220696e66696e6974653b207d202e6c696e652d7365636f6e64207b20636f6c6f723a20766172282d2d636f6c6f722d616363656e74293b207374726f6b652d77696474683a203170783b20616e696d6174696f6e3a20726f74617465436c6f636b5365636f6e6420363073206c696e65617220696e66696e6974653b207da264697066735822122011e62bdd3802da03591403982fa07521fd5cd0c1dfb88ddb2f594b14cc6613dd64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101815760003560e01c8063715018a6116100d1578063a22cb4651161008a578063e985e9c511610064578063e985e9c514610451578063f0dc6d141461049a578063f2fde38b146104ba578063f3119682146104da57600080fd5b8063a22cb465146103f1578063b88d4fde14610411578063c87b56dd1461043157600080fd5b8063715018a61461035657806383547e8c1461036b5780638da5cb5b1461038b5780639456fbcc146103a957806395d89b41146103c9578063a0712d68146103de57600080fd5b80632f745c591161013e5780634f6ccce7116101185780634f6ccce7146102d65780636352211e146102f6578063690d83201461031657806370a082311461033657600080fd5b80632f745c591461027657806342842e0e14610296578063434f48c4146102b657600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101dd578063095ea7b31461021557806318160ddd1461023757806323b872dd14610256575b600080fd5b34801561019257600080fd5b506101a66101a1366004613106565b610507565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b506101d0610532565b6040516101b29190613709565b3480156101e957600080fd5b506101fd6101f8366004613140565b6105c4565b6040516001600160a01b0390911681526020016101b2565b34801561022157600080fd5b506102356102303660046130bf565b61065e565b005b34801561024357600080fd5b506008545b6040519081526020016101b2565b34801561026257600080fd5b50610235610271366004612f70565b610774565b34801561028257600080fd5b506102486102913660046130bf565b6107a5565b3480156102a257600080fd5b506102356102b1366004612f70565b61083b565b3480156102c257600080fd5b506102356102d1366004613140565b610856565b3480156102e257600080fd5b506102486102f1366004613140565b61094c565b34801561030257600080fd5b506101fd610311366004613140565b6109df565b34801561032257600080fd5b50610235610331366004612f22565b610a56565b34801561034257600080fd5b50610248610351366004612f22565b610ad4565b34801561036257600080fd5b50610235610b5b565b34801561037757600080fd5b50610235610386366004613172565b610b91565b34801561039757600080fd5b50600b546001600160a01b03166101fd565b3480156103b557600080fd5b506102356103c4366004612f3d565b610c53565b3480156103d557600080fd5b506101d0610d0f565b6102356103ec366004613140565b610d1e565b3480156103fd57600080fd5b5061023561040c366004613088565b610e20565b34801561041d57600080fd5b5061023561042c366004612fac565b610e2b565b34801561043d57600080fd5b506101d061044c366004613140565b610e5d565b34801561045d57600080fd5b506101a661046c366004612f3d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156104a657600080fd5b506101d06104b5366004613140565b611219565b3480156104c657600080fd5b506102356104d5366004612f22565b611314565b3480156104e657600080fd5b506104fa6104f5366004613140565b6113af565b6040516101b291906136bc565b60006001600160e01b0319821663780e9d6360e01b148061052c575061052c826117bb565b92915050565b60606000805461054190613988565b80601f016020809104026020016040519081016040528092919081815260200182805461056d90613988565b80156105ba5780601f1061058f576101008083540402835291602001916105ba565b820191906000526020600020905b81548152906001019060200180831161059d57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106425760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610669826109df565b9050806001600160a01b0316836001600160a01b031614156106d75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610639565b336001600160a01b03821614806106f357506106f3813361046c565b6107655760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610639565b61076f838361180b565b505050565b61077e3382611879565b61079a5760405162461bcd60e51b8152600401610639906137a3565b61076f838383611970565b60006107b083610ad4565b82106108125760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610639565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61076f83838360405180602001604052806000815250610e2b565b6002600a5414156108a95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610639565b6002600a55600b546001600160a01b031633146108d85760405162461bcd60e51b81526004016106399061376e565b611f40811180156108ea5750611f4981105b6109295760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881251081a5b9d985b1a5960821b6044820152606401610639565b61094461093e600b546001600160a01b031690565b82611b1b565b506001600a55565b600061095760085490565b82106109ba5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610639565b600882815481106109cd576109cd613a34565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b03168061052c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610639565b600b546001600160a01b03163314610a805760405162461bcd60e51b81526004016106399061376e565b6040516001600160a01b038216904790600081818185875af1925050503d8060008114610ac9576040519150601f19603f3d011682016040523d82523d6000602084013e610ace565b606091505b50505050565b60006001600160a01b038216610b3f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610639565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b03163314610b855760405162461bcd60e51b81526004016106399061376e565b610b8f6000611b35565b565b610b9a826109df565b6001600160a01b0316336001600160a01b031614610be35760405162461bcd60e51b81526004016106399060208082526004908201526353686f6f60e01b604082015260600190565b600b198160000b12158015610bfc5750600e8160000b13155b610c315760405162461bcd60e51b815260040161063990602080825260049082015263626f6f2160e01b604082015260600190565b6000918252600c6020526040822080549190920b60ff1660ff19909116179055565b600b546001600160a01b03163314610c7d5760405162461bcd60e51b81526004016106399061376e565b6040516370a0823160e01b8152306004820152610d0b9082906001600160a01b038516906370a082319060240160206040518083038186803b158015610cc257600080fd5b505afa158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190613159565b6001600160a01b0385169190611b87565b5050565b60606001805461054190613988565b6002600a541415610d715760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610639565b6002600a5567016345785d8a0000341015610dc75760405162461bcd60e51b815260206004820152601660248201527554696d656b656570696e672061696e7420667265652160501b6044820152606401610639565b600081118015610dd85750611f4181105b610e175760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881251081a5b9d985b1a5960821b6044820152606401610639565b6109443361093e565b610d0b338383611bd9565b610e353383611879565b610e515760405162461bcd60e51b8152600401610639906137a3565b610ace84848484611ca8565b6000818152600c602052604081205460609190810b90610e7c846113af565b9050610e86612e90565b6040518060a00160405280607a8152602001613fee607a913981528151604051610eb39190602001613588565b60408051808303601f19018152918152602080840192909252838201519051610edc9201613613565b60408051808303601f1901815291815282810191909152828101519051610f0691906020016135cc565b60408051601f1981840301815291905281600360200201528160036020020151604051602001610f369190613361565b60408051601f1981840301815291905281600460200201528160046020020151604051602001610f669190613656565b60408051808303601f1901815291815260a083019190915280516108e081019091526108bc808252614089602083013960c0820152610fa483611cdb565b60e0820152604080518082019091526008808252671e17b9ba3cb6329f60c11b602083015282906020020181905250604051806080016040528060538152602001613a8560539139610120820152610ffb85611219565b6101408201526040805180820190915260078152661e17ba32bc3a1f60c91b602082015281600b60200201819052506040518060a00160405280606d8152602001613ad8606d9139610180820152600083810b121561107357604051806040016040528060018152602001602d60f81b81525061108e565b604051806040016040528060018152602001602b60f81b8152505b6101a0820152600083810b12156110ae576110ab836000196138a5565b92505b6110ba8360000b611ed1565b6101c08201526040805180820190915260078152661e17ba32bc3a1f60c91b602082015281600f6020020181905250604051806104a001604052806104698152602001613b45610469913961020082015280516020808301516040808501516060860151608087015160a088015160c089015160e08a01516101008b0151965160009a61114b9a9099989101613273565b60408051808303601f19018152908290526101208401516101408501516101608601516101808701516101a08801516101c08901516101e08a01516102008b015197995061119e988a9890602001613273565b604051602081830303815290604052905060006111eb6111bd88611ed1565b6111c684611fcf565b6040516020016111d79291906133e7565b604051602081830303815290604052611fcf565b9050806040516020016111fe91906133a2565b60408051601f19818403018152919052979650505050505050565b606061052c8260405180604001604052806005815260200164109490539160da1b815250600d805480602002602001604051908101604052809291908181526020016000905b8282101561130b57838290600052602060002001805461127e90613988565b80601f01602080910402602001604051908101604052809291908181526020018280546112aa90613988565b80156112f75780601f106112cc576101008083540402835291602001916112f7565b820191906000526020600020905b8154815290600101906020018083116112da57829003601f168201915b50505050508152602001906001019061125f565b50505050612135565b600b546001600160a01b0316331461133e5760405162461bcd60e51b81526004016106399061376e565b6001600160a01b0381166113a35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610639565b6113ac81611b35565b50565b6113b7612eb8565b60006113e96113c584611ed1565b6040516020016113d59190613333565b604051602081830303815290604052612190565b600e80549192506000916113fd90846139de565b8154811061140d5761140d613a34565b9060005260206000200154905080600114156114d05750506040805160e081018252600760a08201818152662332333233323360c81b60c08401528252825180840184528181526611999ab0b2331960c91b6020828101919091528084019190915283518085018552828152662333353335333560c81b81830152838501528351808501855260048152630233030360e41b818301526060840152835180850190945290835266046c670c670c6760cb1b90830152608081019190915292915050565b80600214156115885750506040805160e081018252600760a08201818152662363306136373560c81b60c08401528252825180840184528181526611b19ab0999ab160c91b60208281019190915280840191909152835180850185528281526611b1b3319ab0b160c91b818301528385015283518085018552828152662362653937356560c81b8183015260608401528351808501909452908352662335313461333960c81b90830152608081019190915292915050565b80600314156116415750506040805160e081018252600760a082018181526611b31b331b331b60c91b60c0840152825282518084018452818152662363336336633360c81b6020828101919091528084019190915283518085018552828152662330633566333560c81b818301528385015283518085018552918252660236561656666360cc1b8282015260608301919091528251808401909352600483526311b3333360e11b90830152608081019190915292915050565b80600414156116f95750506040805160e081018252600760a082018181526611b11b311a311960c91b60c084015282528251808401845281815266046c270c270c2760cb1b6020828101919091528084019190915283518085018552828152662330613336376560c81b8183015283850152835180850185528281526608d8589858985960ca1b81830152606084015283518085019094529083526611b11ab19cb1b360c91b90830152608081019190915292915050565b6040518060a0016040528060405180604001604052806007815260200166119cb31cb31cb360c91b81525081526020016040518060400160405280600781526020016611b333199b199b60c91b81525081526020016040518060400160405280600481526020016311b3333360e11b8152508152602001604051806040016040528060048152602001630233030360e41b8152508152602001604051806040016040528060048152602001630233030360e41b81525081525092505050919050565b60006001600160e01b031982166380ac58cd60e01b14806117ec57506001600160e01b03198216635b5e139f60e01b145b8061052c57506301ffc9a760e01b6001600160e01b031983161461052c565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611840826109df565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166118f25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610639565b60006118fd836109df565b9050806001600160a01b0316846001600160a01b031614806119385750836001600160a01b031661192d846105c4565b6001600160a01b0316145b8061196857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611983826109df565b6001600160a01b0316146119eb5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610639565b6001600160a01b038216611a4d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610639565b611a588383836121c1565b611a6360008261180b565b6001600160a01b0383166000908152600360205260408120805460019290611a8c908490613945565b90915550506001600160a01b0382166000908152600360205260408120805460019290611aba9084906137f4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610d0b828260405180602001604052806000815250612279565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261076f9084906122ac565b816001600160a01b0316836001600160a01b03161415611c3b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610639565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611cb3848484611970565b611cbf8484848461237e565b610ace5760405162461bcd60e51b81526004016106399061371c565b60606000611ce84261248b565b90506000611cf542612498565b90506000611d02426124b4565b905060008560000b1215611d5657611d20600086900b600019613820565b811015611d3557611d3281600c6137f4565b90505b611d45600086900b600019613820565b611d4f9082613945565b9050611d67565b611d64600086900b826137f4565b90505b611d72600c826139de565b90506000603c611d8485610168613926565b611d8e919061380c565b90506000603c611da085610168613926565b611daa919061380c565b90506000603c611dbb86601e613926565b611dc5919061380c565b600c611dd38661015e613926565b611ddd919061380c565b611de791906137f4565b9050611df1612ed2565b611e24604051806040016040528060118152602001701c9bdd185d1950db1bd8dad4d958dbdb99607a1b815250856124d2565b8152604080518082019091526011815270726f74617465436c6f636b4d696e75746560781b6020820152611e5890846124d2565b8160016020020181905250611e946040518060400160405280600f81526020016e3937ba30ba32a1b637b1b5a437bab960891b815250836124d2565b604080830182905282516020808501519251611eb4949293929101613230565b604051602081830303815290604052975050505050505050919050565b606081611ef55750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f1f5780611f09816139c3565b9150611f189050600a8361380c565b9150611ef9565b60008167ffffffffffffffff811115611f3a57611f3a613a4a565b6040519080825280601f01601f191660200182016040528015611f64576020820181803683370190505b5090505b841561196857611f79600183613945565b9150611f86600a866139de565b611f919060306137f4565b60f81b818381518110611fa657611fa6613a34565b60200101906001600160f81b031916908160001a905350611fc8600a8661380c565b9450611f68565b805160609080611fef575050604080516020810190915260008152919050565b60006003611ffe8360026137f4565b612008919061380c565b612013906004613926565b905060006120228260206137f4565b67ffffffffffffffff81111561203a5761203a613a4a565b6040519080825280601f01601f191660200182016040528015612064576020820181803683370190505b5090506000604051806060016040528060408152602001613fae604091399050600181016020830160005b868110156120f0576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b83526004909201910161208f565b50600386066001811461210a576002811461211b57612127565b613d3d60f01b600119830152612127565b603d60f81b6000198301525b505050918152949350505050565b606060006121578461214687611ed1565b6040516020016113d5929190613201565b905060008384518361216991906139de565b8151811061217957612179613a34565b6020026020010151905080925050505b9392505050565b6000816040516020016121a391906131e5565b60408051601f19818403018152919052805160209091012092915050565b6001600160a01b03831661221c5761221781600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61223f565b816001600160a01b0316836001600160a01b03161461223f5761223f8382612aa7565b6001600160a01b0382166122565761076f81612b44565b826001600160a01b0316826001600160a01b03161461076f5761076f8282612bf3565b6122838383612c37565b612290600084848461237e565b61076f5760405162461bcd60e51b81526004016106399061371c565b6000612301826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612d859092919063ffffffff16565b80519091501561076f578080602001905181019061231f91906130e9565b61076f5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610639565b60006001600160a01b0384163b1561248057604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123c290339089908890889060040161367f565b602060405180830381600087803b1580156123dc57600080fd5b505af192505050801561240c575060408051601f3d908101601f1916820190925261240991810190613123565b60015b612466573d80801561243a576040519150601f19603f3d011682016040523d82523d6000602084013e61243f565b606091505b50805161245e5760405162461bcd60e51b81526004016106399061371c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611968565b506001949350505050565b600061052c603c836139de565b6000806124a7610e10846139de565b9050612189603c8261380c565b6000806124c462015180846139de565b9050612189610e108261380c565b606060006124df83611ed1565b905060006124f76124f2856101686137f4565b611ed1565b9050612501612eec565b604080518082018252600b81526a02035b2bcb33930b6b2b9960ad1b602080830191909152908352828101889052815180830183526002815261207b60f01b818301528383015281516060810190925260218083529061406890830139606082015260808101839052604080518082018252600580825264646567293b60d81b602080840182905260a086019390935283518085018552601781527605adadef45ae8e4c2dce6ccdee4da7440e4dee8c2e8ca5604b1b8185015260c086015260e085018790528351808501855282815280840182905261010086015283518085018552601681527505adae65ae8e4c2dce6ccdee4da7440e4dee8c2e8ca560531b8185015261012086015261014085018790528351808501855282815280840182905261016086015283518085018552601581527405ade5ae8e4c2dce6ccdee4da7440e4dee8c2e8ca5605b1b818501526101808601526101a08501879052835180850185528281528084018290526101c08601528351808501855260128152710e8e4c2dce6ccdee4da7440e4dee8c2e8ca560731b818501526101e08601526102008501879052835180850185526007815266646567293b207d60c81b8185015261022086015283518085018552601f81527f746f207b202d7765626b69742d7472616e73666f726d3a20726f74617465280081850152610240860152610260850186905283518085019094529083529082015281601460200201819052506040518060400160405280601781526020017605adadef45ae8e4c2dce6ccdee4da7440e4dee8c2e8ca5604b1b8152508160156021811061276457612764613a34565b602002015281816016602002018190525060405180604001604052806005815260200164646567293b60d81b815250816017602181106127a6576127a6613a34565b60200201819052506040518060400160405280601681526020017505adae65ae8e4c2dce6ccdee4da7440e4dee8c2e8ca560531b815250816018602181106127f0576127f0613a34565b602002015281816019602002018190525060405180604001604052806005815260200164646567293b60d81b81525081601a6021811061283257612832613a34565b60200201819052506040518060400160405280601581526020017405ade5ae8e4c2dce6ccdee4da7440e4dee8c2e8ca5605b1b81525081601b6021811061287b5761287b613a34565b60200201528181601c602002018190525060405180604001604052806005815260200164646567293b60d81b81525081601d602181106128bd576128bd613a34565b6020020181905250604051806040016040528060128152602001710e8e4c2dce6ccdee4da7440e4dee8c2e8ca560731b81525081601e6021811061290357612903613a34565b60200201528181601f602002018190525060405180604001604052806009815260200168646567293b207d207d60b81b8152508160206021811061294957612949613a34565b602090810291909101919091528151828201516040808501516060860151608087015160a088015160c089015160e08a01516101008b0151965160009a6129939a99989101613273565b60408051808303601f19018152908290526101208401516101408501516101608601516101808701516101a08801516101c08901516101e08a01516102008b01519799506129e6988a9890602001613273565b60408051808303601f19018152908290526102208401516102408501516102608601516102808701516102a08801516102c08901516102e08a01516103008b0151979950612a39988a9890602001613273565b60408051601f19818403018152908290526103208401516103408501516103608601516103808701516103a08801516103c08901516103e08a01516104008b0151979950612a8c988a9890602001613273565b60408051808303601f19018152919052979650505050505050565b60006001612ab484610ad4565b612abe9190613945565b600083815260076020526040902054909150808214612b11576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612b5690600190613945565b60008381526009602052604081205460088054939450909284908110612b7e57612b7e613a34565b906000526020600020015490508060088381548110612b9f57612b9f613a34565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612bd757612bd7613a1e565b6001900381819060005260206000200160009055905550505050565b6000612bfe83610ad4565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216612c8d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610639565b6000818152600260205260409020546001600160a01b031615612cf25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610639565b612cfe600083836121c1565b6001600160a01b0382166000908152600360205260408120805460019290612d279084906137f4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060611968848460008585843b612dde5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610639565b600080866001600160a01b03168587604051612dfa91906131e5565b60006040518083038185875af1925050503d8060008114612e37576040519150601f19603f3d011682016040523d82523d6000602084013e612e3c565b606091505b5091509150612e4c828286612e57565b979650505050505050565b60608315612e66575081612189565b825115612e765782518084602001fd5b8160405162461bcd60e51b81526004016106399190613709565b6040518061022001604052806011905b6060815260200190600190039081612ea05790505090565b6040805160a0810190915260608152600460208201612ea0565b604080516060808201909252908152600260208201612ea0565b604080516104208101909152606081526020808201612ea0565b80356001600160a01b0381168114612f1d57600080fd5b919050565b600060208284031215612f3457600080fd5b61218982612f06565b60008060408385031215612f5057600080fd5b612f5983612f06565b9150612f6760208401612f06565b90509250929050565b600080600060608486031215612f8557600080fd5b612f8e84612f06565b9250612f9c60208501612f06565b9150604084013590509250925092565b60008060008060808587031215612fc257600080fd5b612fcb85612f06565b9350612fd960208601612f06565b925060408501359150606085013567ffffffffffffffff80821115612ffd57600080fd5b818701915087601f83011261301157600080fd5b81358181111561302357613023613a4a565b604051601f8201601f19908116603f0116810190838211818310171561304b5761304b613a4a565b816040528281528a602084870101111561306457600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561309b57600080fd5b6130a483612f06565b915060208301356130b481613a60565b809150509250929050565b600080604083850312156130d257600080fd5b6130db83612f06565b946020939093013593505050565b6000602082840312156130fb57600080fd5b815161218981613a60565b60006020828403121561311857600080fd5b813561218981613a6e565b60006020828403121561313557600080fd5b815161218981613a6e565b60006020828403121561315257600080fd5b5035919050565b60006020828403121561316b57600080fd5b5051919050565b6000806040838503121561318557600080fd5b8235915060208301358060000b81146130b457600080fd5b600081518084526131b581602086016020860161395c565b601f01601f19169290920160200192915050565b600081516131db81856020860161395c565b9290920192915050565b600082516131f781846020870161395c565b9190910192915050565b6000835161321381846020880161395c565b83519083019061322781836020880161395c565b01949350505050565b6000845161324281846020890161395c565b84519083019061325681836020890161395c565b845191019061326981836020880161395c565b0195945050505050565b60008a51613285818460208f0161395c565b8a516132978183860160208f0161395c565b8a5191840101906132ac818360208e0161395c565b89519101906132bf818360208d0161395c565b88516132d18183850160208d0161395c565b88519290910101906132e7818360208b0161395c565b86516132f98183850160208b0161395c565b865192909101019061330f81836020890161395c565b8451613321818385016020890161395c565b9101019b9a5050505050505050505050565b65434f4c4f525360d01b81526000825161335481600685016020870161395c565b9190910160060192915050565b6d01696b1b7b637b916b430b7321d160951b81526000825161338a81600e85016020870161395c565b603b60f81b600e939091019283015250600f01919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516133da81601d85016020870161395c565b91909101601d0192915050565b707b226e616d65223a2022436c6f636b202360781b8152825160009061341481601185016020880161395c565b7f222c20226465736372697074696f6e223a2022436c6f636b38303038206973206011918401918201527f6120636f6c6c656374696f6e206f6620383030382066756e6374696f6e696e6760318201527f20636c6f636b73207468617420796f752063616e206f776e20696e207468652060518201527f6d65746176657273652e20437261667465642077697468207363727570756c6f60718201527f757320617474656e74696f6e20746f2064657461696c2c20436c6f636b38303060918201527f38207265646566696e65732074696d656b656570696e6720696e20746865206d60b18201527f6574617665727365207768696c65206265696e6720612074696d656c6573732060d18201527f737461706c652e222c2022696d616765223a2022646174613a696d6167652f7360f18201526d1d99cade1b5b0ed8985cd94d8d0b60921b61011182015261357f61357161011f8301866131c9565b61227d60f01b815260020190565b95945050505050565b7001696b1b7b637b916b83934b6b0b93c9d1607d1b8152600082516135b481601185016020870161395c565b603b60f81b6011939091019283015250601201919050565b7301696b1b7b637b916b130b1b5b3b937bab7321d160651b8152600082516135fb81601485016020870161395c565b603b60f81b6014939091019283015250601501919050565b6f01696b1b7b637b916b0b1b1b2b73a1d160851b81526000825161363e81601085016020870161395c565b603b60f81b6010939091019283015250601101919050565b6d01696b1b7b637b916ba32bc3a1d160951b81526000825161338a81600e85016020870161395c565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906136b29083018461319d565b9695505050505050565b602080825260009060c0830183820185845b60058110156136fd57601f198785030183526136eb84835161319d565b935091840191908401906001016136ce565b50919695505050505050565b602081526000612189602083018461319d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115613807576138076139f2565b500190565b60008261381b5761381b613a08565b500490565b60006001600160ff1b0381841382841380821686840486111615613846576138466139f2565b600160ff1b6000871282811687830589121615613865576138656139f2565b60008712925087820587128484161615613881576138816139f2565b87850587128184161615613897576138976139f2565b505050929093029392505050565b60008082810b84820b82811383831382607f04841182821616156138cb576138cb6139f2565b607f19858412828116868305861216156138e7576138e76139f2565b9585129583871685830587121615613901576139016139f2565b84607f0586128188161615613918576139186139f2565b505050910295945050505050565b6000816000190483118215151615613940576139406139f2565b500290565b600082821015613957576139576139f2565b500390565b60005b8381101561397757818101518382015260200161395f565b83811115610ace5750506000910152565b600181811c9082168061399c57607f821691505b602082108114156139bd57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156139d7576139d76139f2565b5060010190565b6000826139ed576139ed613a08565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146113ac57600080fd5b6001600160e01b0319811681146113ac57600080fdfe3c7465787420636c6173733d22746578742220783d223530252220793d223330252220646f6d696e616e742d626173656c696e653d226d6964646c652220746578742d616e63686f723d226d6964646c65223e3c7465787420636c6173733d227465787422207374796c653d22666f6e742d73697a653a203270782220783d223530252220793d223730252220646f6d696e616e742d626173656c696e653d226d6964646c652220746578742d616e63686f723d226d6964646c65223e5554433c6720636c6173733d226c696e6573223e203c6c696e6520636c6173733d226c696e65206c696e652d31222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d32222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d33222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d34222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d35222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d36222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d37222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d38222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d39222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d3130222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d3131222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d3132222078313d223530222079313d2235222078323d223530222079323d223130223e3c2f6c696e653e203c2f673e203c6c696e6520636c6173733d226c696e65206c696e652d686f7572222078313d223530222079313d223235222078323d223530222079323d223530223e3c2f6c696e653e203c6c696e6520636c6173733d226c696e65206c696e652d6d696e757465222078313d223530222079313d223130222078323d223530222079323d223530223e3c2f6c696e653e203c636972636c6520636c6173733d22636972636c65222063783d223530222063793d2235302220723d2233223e3c2f636972636c653e203c6720636c6173733d226c696e65206c696e652d7365636f6e64223e203c6c696e652078313d223530222079313d223130222078323d223530222079323d223630223e3c2f6c696e653e203c636972636c652063783d223530222063793d2235302220723d22312e35223e3c2f636972636c653e203c2f673e203c2f7376673e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7376672220636c6173733d22636c6f636b222076696577426f783d22302030203130302031303022207374796c653d2277696474683a34323070783b6865696768743a34323070783b223e203c7374796c653e202a207b66726f6d207b202d7765626b69742d7472616e73666f726d3a20726f74617465282d7765626b69742d7472616e73666f726d2d6f726967696e3a20696e68657269743b207472616e73666f726d2d6f726967696e3a20696e68657269743b20646973706c61793a20666c65783b20616c69676e2d6974656d733a2063656e7465723b206a7573746966792d636f6e74656e743a2063656e7465723b206d617267696e3a20303b206261636b67726f756e642d636f6c6f723a20766172282d2d636f6c6f722d6261636b67726f756e64293b20666f6e742d66616d696c793a2048656c7665746963612c2053616e732d53657269663b20666f6e742d73697a653a203570783b207d202e74657874207b20636f6c6f723a20766172282d2d636f6c6f722d74657874293b207d202e636972636c65207b20636f6c6f723a20766172282d2d636f6c6f722d616363656e74293b207d202e636c6f636b207b2077696474683a203630766d696e3b206865696768743a203630766d696e3b2066696c6c3a2063757272656e74436f6c6f723b202d7765626b69742d7472616e73666f726d2d6f726967696e3a203530707820353070783b207472616e73666f726d2d6f726967696e3a203530707820353070783b202d7765626b69742d616e696d6174696f6e2d6e616d653a20666164652d696e3b20616e696d6174696f6e2d6e616d653a20666164652d696e3b202d7765626b69742d616e696d6174696f6e2d6475726174696f6e3a203530306d733b20616e696d6174696f6e2d6475726174696f6e3a203530306d733b202d7765626b69742d616e696d6174696f6e2d66696c6c2d6d6f64653a20626f74683b20616e696d6174696f6e2d66696c6c2d6d6f64653a20626f74683b207d202e636c6f636b206c696e65207b207374726f6b653a2063757272656e74436f6c6f723b207374726f6b652d6c696e656361703a20726f756e643b207d202e6c696e6573207b20636f6c6f723a20766172282d2d636f6c6f722d7072696d617279293b207374726f6b652d77696474683a20302e3570783b207d202e6c696e652d31207b202d7765626b69742d7472616e73666f726d3a20726f74617465283330646567293b207472616e73666f726d3a20726f74617465283330646567293b207d202e6c696e652d32207b202d7765626b69742d7472616e73666f726d3a20726f74617465283630646567293b207472616e73666f726d3a20726f74617465283630646567293b207d202e6c696e652d33207b202d7765626b69742d7472616e73666f726d3a20726f74617465283930646567293b207472616e73666f726d3a20726f74617465283930646567293b207d202e6c696e652d34207b202d7765626b69742d7472616e73666f726d3a20726f7461746528313230646567293b207472616e73666f726d3a20726f7461746528313230646567293b207d202e6c696e652d35207b202d7765626b69742d7472616e73666f726d3a20726f7461746528313530646567293b207472616e73666f726d3a20726f7461746528313530646567293b207d202e6c696e652d36207b202d7765626b69742d7472616e73666f726d3a20726f7461746528313830646567293b207472616e73666f726d3a20726f7461746528313830646567293b207d202e6c696e652d37207b202d7765626b69742d7472616e73666f726d3a20726f7461746528323130646567293b207472616e73666f726d3a20726f7461746528323130646567293b207d202e6c696e652d38207b202d7765626b69742d7472616e73666f726d3a20726f7461746528323430646567293b207472616e73666f726d3a20726f7461746528323430646567293b207d202e6c696e652d39207b202d7765626b69742d7472616e73666f726d3a20726f7461746528323730646567293b207472616e73666f726d3a20726f7461746528323730646567293b207d202e6c696e652d3130207b202d7765626b69742d7472616e73666f726d3a20726f7461746528333030646567293b207472616e73666f726d3a20726f7461746528333030646567293b207d202e6c696e652d3131207b202d7765626b69742d7472616e73666f726d3a20726f7461746528333330646567293b207472616e73666f726d3a20726f7461746528333330646567293b207d202e6c696e652d3132207b202d7765626b69742d7472616e73666f726d3a20726f7461746528333630646567293b207472616e73666f726d3a20726f7461746528333630646567293b207d202e6c696e65207b207374726f6b652d77696474683a20312e3570783b207472616e736974696f6e3a202d7765626b69742d7472616e73666f726d203230306d732063756269632d62657a69657228302e3137352c20302e3838352c20302e33322c20312e323735293b207472616e736974696f6e3a207472616e73666f726d203230306d732063756269632d62657a69657228302e3137352c20302e3838352c20302e33322c20312e323735293b207472616e736974696f6e3a207472616e73666f726d203230306d732063756269632d62657a69657228302e3137352c20302e3838352c20302e33322c20312e323735292c202d7765626b69742d7472616e73666f726d203230306d732063756269632d62657a69657228302e3137352c20302e3838352c20302e33322c20312e323735293b207d202e6c696e652d686f7572207b20636f6c6f723a20766172282d2d636f6c6f722d68616e64293b20616e696d6174696f6e3a20726f74617465436c6f636b486f75722032313630303073206c696e65617220696e66696e6974653b207d202e6c696e652d6d696e757465207b20636f6c6f723a20766172282d2d636f6c6f722d68616e64293b20616e696d6174696f6e3a20726f74617465436c6f636b4d696e757465203336303073206c696e65617220696e66696e6974653b207d202e6c696e652d7365636f6e64207b20636f6c6f723a20766172282d2d636f6c6f722d616363656e74293b207374726f6b652d77696474683a203170783b20616e696d6174696f6e3a20726f74617465436c6f636b5365636f6e6420363073206c696e65617220696e66696e6974653b207da264697066735822122011e62bdd3802da03591403982fa07521fd5cd0c1dfb88ddb2f594b14cc6613dd64736f6c63430008070033

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.