ETH Price: $2,971.78 (-0.62%)
Gas: 6 Gwei

Token

Dicho Studio 0xCarat (RING)
 

Overview

Max Total Supply

0 RING

Holders

343

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
teemojoshi.eth
Balance
2 RING
0xc32438f7e4d3444acb88c23ecdadbc9989acc344
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
DichoStudio0xCarat

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : DichoStudio0xCarat.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;


//   ****            ******                               **  
//  *///**          **////**                             /**  
// /*  */* **   ** **    //   ******   ******  ******   ******
// /* * /*//** ** /**        //////** //**//* //////** ///**/ 
// /**  /* //***  /**         *******  /** /   *******   /**  
// /*   /*  **/** //**    ** **////**  /**    **////**   /**  
// / ****  ** //** //****** //********/***   //********  //** 
//  ////  //   //   //////   //////// ///     ////////    //  

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

import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";


/**
 * @title DichoStudio 0xCarat
 * @author codesza, adapted from NPassCore.sol, NDerivative.sol, Voyagerz.sol, and CryptoCoven.sol
 * and inspired by Vows and Runners: Next Generation
 */


contract DichoStudio0xCarat is ERC721, Ownable, ReentrancyGuard {
    using Strings for uint256;
    using Counters for Counters.Counter;
    
    /// @notice A counter for tokens
    Counters.Counter private _tokenIds;
    
    uint256 private constant _maxPublicSupply = 888;
    uint256 private constant _maxRingsPerWallet = 3;
    uint256 public saleStartTimestamp;
    address private openSeaProxyRegistryAddress;
    
    /// @notice Records of crafter- and wearer- derived seeds 
    mapping(uint256 => uint256) private _ringSeed;
    mapping(uint256 => uint256) private _wearerSeed;

    /// @notice Recordkeeping beyond balanceOf
    mapping(address => uint256) private _crafterBalance;
    
    constructor(address _openSeaProxyRegistryAddress) ERC721("Dicho Studio 0xCarat", "RING") {
        openSeaProxyRegistryAddress = _openSeaProxyRegistryAddress;
    }

    /// @notice Craft rings, a.k.a. mint 
    function craft(uint256 numToMint) external nonReentrant {
        require(isSaleOpen(), "Sale not open");
        require(numToMint > 0 && numToMint <= mintsAvailable(), "Out of rings");
        require(
            _crafterBalance[msg.sender] + numToMint <= _maxRingsPerWallet,
            "Max rings to craft is three"
        );
        
        uint256 tokenId; 

        for (uint256 i = 0; i < numToMint; i++) {
            _tokenIds.increment();
            tokenId = _tokenIds.current();
            _safeMint(msg.sender, tokenId);
            _ringSeed[tokenId] = randSeed(msg.sender, tokenId, 13999234923493293432397);
            _wearerSeed[tokenId] = _ringSeed[tokenId];
        }
        _crafterBalance[msg.sender] += numToMint;
    }

    /// @notice Gift rings using safeTransferFrom
    function gift(address to, uint256 tokenId) external nonReentrant {
        require(ownerOf(tokenId) == msg.sender, "Gift a ring you own");
        safeTransferFrom(msg.sender, to, tokenId);
    }

    /// @notice To divorce, burn the ring.
    function divorce(uint256 tokenId) external nonReentrant {
        require(ownerOf(tokenId) == msg.sender, "Burn a ring you own");
        _burn(tokenId);
    }

    /// @notice Is it time yet? 
    function isSaleOpen() public view returns (bool) {
        return block.timestamp >= saleStartTimestamp && saleStartTimestamp != 0;
    }
    
    /// @notice Calculate available open mints
    function mintsAvailable() public view returns (uint256) {
        return _maxPublicSupply - _tokenIds.current();
    }


    // ============ OWNER ONLY ROUTINES ============

    /// @notice Allows owner to withdraw amount
    function withdrawAll() external onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    /// @notice Allows owner to change sale time start
    function setSaleTimestamp(uint256 timestamp) external onlyOwner {
        saleStartTimestamp = timestamp;
    }

    // ============ HELPER FUNCTIONS / UTILS ============
    
    /// @notice Random seed generation, from Voyagerz contract
    function randSeed(address addr, uint256 tokenId, uint256 modulus) internal view returns (uint256) {
        return uint256(keccak256(abi.encodePacked(addr, block.timestamp, block.difficulty, tokenId))) % modulus;
    }

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

    function correctColor(uint256 hue, uint256 sat, uint256 lum, uint256 seed) internal pure returns (uint256, uint256) {
        if (hue <= 55 && hue >= 27 && sat < 66 && lum < 49) {
            sat = 70;
            lum = (seed % 33) + 48;
        }
        return (sat, lum);
    }


    // ============ RING CONSTRUCTION ============
    
    /// @notice Baseline parameters for a ring 
    struct RingParams {
        uint256 gemcol_h;
        uint256 gemcol_s;
        uint256 gemcol_l;
        uint256 bgcol_h;
        uint256 bgcol_s;
        uint256 cut_idx; 
        uint256 band_idx;
        string bandcol;
    }

    /// @notice Using wearer and crafter seeds to define ring parameters
    function getRingParams(uint256 tokenId) internal view returns (RingParams memory) {
        RingParams memory rp;
        {
            uint256 rSeed = _ringSeed[tokenId];

            // gem color derived from minter-derived seed. still influences ethereum cut
            rp.gemcol_h = rSeed % 335;
            rSeed = rSeed >> 8;
            rp.gemcol_s = ((rSeed & 0xFF) % 40) + 40; // (40, 80) 
            rSeed = rSeed >> 8;
            rp.gemcol_l = ((rSeed & 0xFF) % 50) + 30; // (30, 80) 
            rSeed = rSeed >> 8;
            (rp.gemcol_s, rp.gemcol_l) = correctColor(rp.gemcol_h, rp.gemcol_s, rp.gemcol_l, rSeed);

            // gem cut and ring band color 
            if ((rSeed & 0xFF) < 8) { // 8/255 = ~3% chance of "ethereum" cut 
                rp.cut_idx = 0;
            } else if ((rSeed & 0xFF) < 59) { // between 8 and 59 / 255 = ~20% chance of emerald cut
                rp.cut_idx = 2;
            } else if ((rSeed & 0xFF) < 148) { // between 59 and 148 / 255 = ~35% chance of solitaire cut 
                rp.cut_idx = 3;
            } else {
                rp.cut_idx = 1; // round
            }
            
            rSeed = rSeed >> 8;

            if ((rSeed & 0xFF) < 26) { // <26/255 = ~10% chance of rose gold band 
                rp.bandcol = "#C48891";
                rp.band_idx = 0;
            } else if ((rSeed & 0xFF) < 115) { // between 26 and 115 / 255 = 35% chance of platinum band 
                rp.bandcol = "#C4C4C4";
                rp.band_idx = 1;
            } else {
                rp.bandcol = "#D7BB59";
                rp.band_idx = 2;
            }

            if (_wearerSeed[tokenId] != _ringSeed[tokenId]) {
                uint256 wSeed = _wearerSeed[tokenId];
                rp.bgcol_h = wSeed % 335;
                wSeed = wSeed >> 8; 
                (rp.bgcol_s,) = correctColor(rp.bgcol_h, ((wSeed & 0xFF) % 35) + 35, 35, 0); // (35, 70)
            } else {
                rp.bgcol_h = rp.gemcol_h;
                rp.bgcol_s = rp.gemcol_s;

                if (rp.band_idx == 2 && rp.gemcol_h < 48 && rp.gemcol_h > 27) {
                    rp.band_idx = 1;
                    rp.bandcol = "#C4C4C4";
                }
            }
        }

        return rp;
    }
    
    /// @notice Constructing the ring's svg using its parameters 
    function getSvg(uint256 tokenId) internal view returns (bytes memory, RingParams memory) {
        RingParams memory rp = getRingParams(tokenId);

        bytes memory buf;

        {
            buf = abi.encodePacked(
                '<svg width="500" height="500" xmlns="http://www.w3.org/2000/svg">'
                "<defs>"
            );

            if (rp.cut_idx == 0) {
                buf = abi.encodePacked(
                    buf,
                    '<radialGradient id="b" r="2" cy="100%" cx="30%" fx="100%" fy="10%">'
                    '<stop stop-color="#7FDEFF"/>'
                    '<stop offset=".19" stop-color="#CFC7FA" stop-opacity=".8"/>'
                    '<stop offset=".23" stop-color="#CED9ED" stop-opacity=".79"/>'
                    '<stop offset=".32" stop-opacity="1" stop-color="hsl(',
                    toString(rp.gemcol_h),
                    ",",
                    toString(rp.gemcol_s),
                    "%,",
                    toString(rp.gemcol_l),
                    '%)" />'
                    '<stop stop-color="#EFC8DD" offset=".33" stop-opacity=".6"/>'
                    '<stop stop-color="#CED9ED" offset=".4" stop-opacity=".8"/>'
                    '</radialGradient>'
                );
            } else {
                if (rp.cut_idx == 3) {
                    buf = abi.encodePacked(
                        buf,
                        '<radialGradient id="b" cx="1.6" cy="0" r="1" fy="0.6" spreadMethod="reflect" gradientUnits="userSpaceOnUse" gradientTransform="'
                        'matrix(0 45.7397 -53.6119 0 250 165)">'
                    );
                } else if (rp.cut_idx == 2) {
                    buf = abi.encodePacked(
                        buf,
                        '<radialGradient id="b" spreadMethod="reflect" fy="1" r="1" cy="0" cx="1.6" gradientTransform="'
                        'rotate(179.48 125.62 79.01) scale(177.459 42.9393)" gradientUnits="userSpaceOnUse">'
                    );
                    
                } else {
                    buf = abi.encodePacked(
                        buf,
                        '<radialGradient id="b" gradientUnits="userSpaceOnUse" gradientTransform="'
                        'matrix(0 -100 60 0 249.9 161.75)" spreadMethod="reflect" fy="0.9" r="1" cy="0" cx="1.7">'
                    );
                    
                }
                buf = abi.encodePacked(
                    buf,
                    '<stop stop-color="hsl(',
                    toString(rp.gemcol_h + 25),
                    ",",
                    toString(rp.gemcol_s + 20),
                    "%,",
                    toString(rp.gemcol_l + 10),
                    '%)"/>'
                    '<stop offset="1" stop-color="hsl(',
                    toString(rp.gemcol_h),
                    ",",
                    toString(rp.gemcol_s),
                    "%,",
                    toString(rp.gemcol_l),
                    '%)" stop-opacity="0.4" />'
                    '</radialGradient>'
                );
            }
        
        }

        {
            buf = abi.encodePacked(
                buf,
                '<filter id="a" x="0" y="0" width="100%" height="100%" '
                'filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">'
                '<feFlood flood-opacity="0" result="BackgroundImageFix"/>'
                '<feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>'
                '<feOffset xmlns="http://www.w3.org/2000/svg" dy="3" dx="3" />'
                '<feComposite in2="hardAlpha" operator="out"/>'
                '<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>'
                '<feBlend in2="BackgroundImageFix" result="effect1_dropShadow"/>'
                '<feBlend in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>'
                '<feGaussianBlur stdDeviation="2" result="blur1"/>'
                '<feSpecularLighting result="spec1" in="blur1" specularExponent="70" lighting-color="hsl(',
                toString(rp.bgcol_h + 25),
                ",",
                toString(rp.bgcol_s + 20),
                "%, ",
                toString((rp.bgcol_h + 25) < 210 ? 35 : (rp.bgcol_h + 25) < 330 ? 65 : 80),
                '%)">'
                '<fePointLight x="140" y="150" z="300" /></feSpecularLighting>'
                '<feComposite in="SourceGraphic" in2="spec1" operator="arithmetic" k1="0" k2="1" k3="1" k4="0" />'
                "</filter>"
            );

            buf = abi.encodePacked(
                buf,
                '<radialGradient id="bg" cx="0.4" cy="0.32" r="2.5">'
                '<stop offset="0%" stop-color="hsl(',
                toString(rp.bgcol_h),
                ",",
                toString(rp.bgcol_s),
                '%, 40%)" />'
                '<stop offset="20%" stop-color="hsl(',
                toString(rp.bgcol_h),
                ",",
                toString(rp.bgcol_s),
                '%, 22%)" />'
                '<stop offset="60%" stop-color="hsl(',
                toString(rp.bgcol_h),
                ",",
                toString(rp.bgcol_s),
                '%, 10%)" />'
                "</radialGradient>"
                "</defs>"
            );
        }

        buf = abi.encodePacked(
            buf,
            '<rect x="0" y="0" width="100%" height="100%" fill="url(#bg)" />'
            '<g filter="url(#a)">'
            '<path d="M249.5 343c-37.3 0-67.5-30.2-67.5-67.5s30.2-67.5 67.5-67.5 67.5 30.2 67.5 67.5-30.2 67.5-67.5 67.5Z" '
            'stroke="',
            rp.bandcol, 
            '" stroke-width="13.8" fill="none"/>'
        );

        {
            if (rp.cut_idx == 0) { // eth cut 
                buf = abi.encodePacked(
                    buf,
                    '<path d="M249.3 113.8c-.2.4-5.4 9.3-11.7 19.6-6.3 10.4-11.4 19-11.5 19.2-.1.2 3.3 2.3 11.9 7.4l12 7.1 '
                    '12-7.1c8.6-5.1 12-7.2 11.9-7.4-.4-1.1-23.8-39.6-24.1-39.6-.1 0-.4.3-.5.8Zm-23.2 43.9c.5.8 23.8 33.7 23.9 '
                    '33.7.2 0 24.1-33.8 24-33.9-.1-.1-22.4 13.1-23.4 13.8l-.6.4-11.6-6.8c-6.4-3.8-11.8-7-12.1-7.2-.3-.3-.4-.3-.2 0Z" fill="url(#b)"/>'
                    '<path fill-rule="evenodd" clip-rule="evenodd" d="m237 179 13 17.1 13-17.1 3.5-5 .3-.3c.3-.3.7-.1.7.3v.1l-7 16-5 '
                    '12.5h-11l-5-12.5-7-16v-.1c0-.4.4-.6.7-.3l.3.3 3.5 5Z" fill="',
                    rp.bandcol,
                    '"/></g></svg>'
                );
            } else if (rp.cut_idx == 1) { // round 
                buf = abi.encodePacked(
                    buf,
                    '<path d="M210 164.9a34.76 34.76 0 0 1 33.9-34.75l6.1-.15 6.1.15A34.76 34.76 0 0 1 290 164.9c0 1.31-.66 '
                    '2.53-1.76 3.24l-36.06 23.44a4 4 0 0 1-4.36 0l-36.06-23.44a3.86 3.86 0 0 1-1.76-3.24Z" fill="url(#b)"/>'
                    '<path fill-rule="evenodd" clip-rule="evenodd" d="M210.49 167.01 250 192.23l39.51-25.22a4.86 4.86 0 0 1 '
                    '5.9.53c.85.78.84 2.12-.03 2.88L259 202.5l-9-.5-9 .5-36.38-32.08a1.94 1.94 0 0 1-.04-2.88 4.86 4.86 0 0 1 5.9-.53Z" '
                    'fill="',
                    rp.bandcol,
                    '"/></g></svg>'
                );
            } else if (rp.cut_idx == 2) { // emerald
                buf = abi.encodePacked(
                    buf,
                    '<path d="M241.1 191h30.2l14.9-10 13.6-9.6c.9-.6 1.8-1.4 2.5-2.2l6.9-7.6 6.8-9.6c.3-.4.5-.9.5-1.4v-.4c0-.9-.2-1.8-'
                    '.7-2.6l-2.9-4.8c-1.8-3-5.1-4.8-8.6-4.8H198.7c-3.5 0-6.8 1.8-8.6 4.8l-2.9 4.8c-.5.8-.7 1.7-.7 2.6v.4c0 .5.2 1 .5 '
                    '1.4l6.8 9.6 6.9 7.6c.7.8 1.6 1.6 2.5 2.2l13.6 9.6 14.9 10h9.4Z" fill="url(#b)"/>'
                    '<path fill-rule="evenodd" clip-rule="evenodd" d="m232.8 191 18.2-2 19 2 6.1-4.5-25.1-3-24.3 3 6.1 4.5Zm18.2-14 '
                    '39.3-.4c.6 0 1.3-.1 1.9-.4l4.8-3.2c.32-.25.63-.5.97-.75.71-.55 1.5-1.16 2.53-2.05l8.6-9.6 '
                    '5.7-8.3c.6-.9.8-1.9.6-2.9l-.2-1.4 3.6-1v13l-3.8 8-15 10-38 25-11-1-10.2 1-38-25-15-10-3.8-8v-13l3.6 '
                    '1-.2 1.4c-.2 1 0 2 .6 2.9l5.7 8.3 8.6 9.6c1.02.89 1.82 1.5 2.53 2.05.34.25.65.5.97.75l4.8 3.2c.6.3 1.3.4 1.9.4l38.5.4Z" '
                    'fill="',
                    rp.bandcol,
                    '"/></g></svg>'
                );
            } else { // solitaire 
                buf = abi.encodePacked(
                    buf,
                    '<path d="M255 194.5c-2.9 2-6.7 2-9.6 0l-46.4-31.6c-5.2-3.6-4.9-11.4.6-14.4l10-5.6c1.3-.7 2.7-1.1 '
                    '4.2-1.1h72.8c1.5 0 2.9.4 4.2 1.1l10 5.6c5.5 3.1 5.8 10.9.6 14.4l-46.4 31.6Z" fill="url(#b)"/>'
                    '<path d="m249.9 196.3 5-11.4-3.2-22.9-.8-8.7h-2.8l-.8 8.7-2.54 22.9 5.14 11.4Z" fill="',
                    rp.bandcol,
                    '"/>'
                    '<path d="m245.9 202.4-5.4.5-46.9-33.8c-2.4-1.7-3.9-5.2-3.7-7.4l.9-4.1c0-.1 0-.1.1-.4l1.7-4 3.5-.2-.7 '
                    '1.9c-.3.9-.2 1.8-.1 2.8v.5c.3 1.6 1.8 3 3.2 3.9l39.4 25.6c2.7 1.8 5.88 0 6.98-3.1l7.92 18 1.1.1 5.2.5 '
                    '47.2-34c2.4-1.7 3.9-5.2 3.7-7.4l-.9-4.1c0-.1 0-.1-.1-.4l-1.7-4-3.5-.2.7 1.9c.3.9.2 1.8.1 '
                    '2.8v.5c-.3 1.6-1.8 3-3.2 3.9l-39.4 25.6c-2.7 1.8-6.12-.1-7.12-3.2l-4 8.9-3.48 9" fill="',
                    rp.bandcol,
                    '"/></g></svg>'
                );
            }
        }        

        return (buf, rp);
    }

    // ============ OVERRIDES ============

    /// @notice Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
    function isApprovedForAll(address owner, address operator) public view override returns (bool) {
        // Whitelist OpenSea proxy contract for easy trading.
        ProxyRegistry proxyRegistry = ProxyRegistry(
            openSeaProxyRegistryAddress
        );
        if (
            address(proxyRegistry.proxies(owner)) == operator
        ) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

    /// @notice Updates tokenId's wearer and seed to update background
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (!(from == address(0x0) || to == address(0x0))) {
            uint256 prevBg = _wearerSeed[tokenId] % 335;
            _wearerSeed[tokenId] = randSeed(to, tokenId, 13999234923493293432397);
            uint256 thisBg = _wearerSeed[tokenId] % 335;
            uint256 thisBg30 = thisBg + 30;
            uint256 prevBg30 = prevBg + 30;
            if ((thisBg > prevBg ? thisBg30 - prevBg30 : prevBg30 - thisBg30) < 30) {
                _wearerSeed[tokenId] += 65;
            }
        }
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "Nonexistent token");
        
        (bytes memory svgBuf, RingParams memory rp) = getSvg(tokenId);

        // Attributes 
        string memory bandcol = rp.band_idx == 0 ? "Rose gold" : rp.band_idx == 1 ? "Platinum" : "Gold";
        string memory gemcol;
        string memory cutname;
        {
            if (rp.cut_idx == 0) {
                gemcol = "Holographic";
                cutname = "Ethereum";
            } else {
                gemcol = string(abi.encodePacked("hsl(", toString(rp.gemcol_h), ", ", toString(rp.gemcol_s), "%, ", toString(rp.gemcol_l), "%)"));
                cutname = rp.cut_idx == 1 ? "Round" : rp.cut_idx == 2 ? "Emerald" : "Solitaire";
            }
        }

        string memory metadata_attr = string(
            abi.encodePacked(
                'attributes": [{"trait_type": "Cut", "value": "',
                cutname,
                '"},',
                '{"trait_type": "Band color", "value": "',
                bandcol,
                '"},',
                '{"trait_type": "Background color", "value": "hsl(',
                toString(rp.bgcol_h),
                ", ",
                toString(rp.bgcol_s),
                "%, 50%)",
                '"},',
                '{"trait_type": "Gem color", "value": "',
                gemcol,
                '"}',
                "]"
            )
        );

        string memory json = Base64.encode(
            bytes(
                abi.encodePacked(   
                    '{"name": "0xCarat #',
                    toString(tokenId),
                    '", "description": "A fully on-chain ring to celebrate on-chain love.", "image": "data:image/svg+xml;base64,',
                    Base64.encode(svgBuf),
                    '","',
                    metadata_attr,
                    "}"
                )
            )
        );

        return string(abi.encodePacked("data:application/json;base64,", json));
    }
}

/// @notice These contract definitions are used to create a reference to the OpenSea ProxyRegistry contract by using the registry's address (see isApprovedForAll).
contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

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

File 2 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: 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 3 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

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

    /**
     * @dev 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 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 14 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 6 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 8 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 9 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 11 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 12 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_openSeaProxyRegistryAddress","type":"address"}],"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":"numToMint","type":"uint256"}],"name":"craft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"divorce","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintsAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"saleStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"timestamp","type":"uint256"}],"name":"setSaleTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620046ce380380620046ce8339810160408190526200003491620001ef565b604080518082018252601481527f446963686f2053747564696f203078436172617400000000000000000000000060208083019182528351808501909452600484526352494e4760e01b908401528151919291620000959160009162000149565b508051620000ab90600190602084019062000149565b505050620000c8620000c2620000f360201b60201c565b620000f7565b6001600755600a80546001600160a01b0319166001600160a01b03929092169190911790556200025e565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001579062000221565b90600052602060002090601f0160209004810192826200017b5760008555620001c6565b82601f106200019657805160ff1916838001178555620001c6565b82800160010185558215620001c6579182015b82811115620001c6578251825591602001919060010190620001a9565b50620001d4929150620001d8565b5090565b5b80821115620001d45760008155600101620001d9565b6000602082840312156200020257600080fd5b81516001600160a01b03811681146200021a57600080fd5b9392505050565b600181811c908216806200023657607f821691505b602082108114156200025857634e487b7160e01b600052602260045260246000fd5b50919050565b614460806200026e6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063853828b6116100c3578063c87b56dd1161007c578063c87b56dd146102ba578063cbce4c97146102cd578063e985e9c5146102e0578063efcb1195146102f3578063f2fde38b146102fb578063f3917bd21461030e57600080fd5b8063853828b6146102605780638da5cb5b1461026857806395d89b4114610279578063a22cb46514610281578063b49a5bb214610294578063b88d4fde146102a757600080fd5b80633c276d86116101155780633c276d86146101f557806342842e0e1461020c5780636352211e1461021f57806370a0823114610232578063715018a6146102455780637a1cbd3f1461024d57600080fd5b806301ffc9a71461015d57806306fdde0314610185578063081812fc1461019a578063095ea7b3146101c55780631a081330146101da57806323b872dd146101e2575b600080fd5b61017061016b36600461235c565b610321565b60405190151581526020015b60405180910390f35b61018d610373565b60405161017c919061414d565b6101ad6101a83660046123b3565b610405565b6040516001600160a01b03909116815260200161017c565b6101d86101d3366004612330565b61049f565b005b6101706105b5565b6101d86101f03660046121dc565b6105cf565b6101fe60095481565b60405190815260200161017c565b6101d861021a3660046121dc565b610600565b6101ad61022d3660046123b3565b61061b565b6101fe61024036600461217f565b610692565b6101d8610719565b6101d861025b3660046123b3565b61074f565b6101d861077e565b6006546001600160a01b03166101ad565b61018d6107db565b6101d861028f3660046122fd565b6107ea565b6101d86102a23660046123b3565b6107f5565b6101d86102b536600461221d565b610884565b61018d6102c83660046123b3565b6108bc565b6101d86102db366004612330565b610b8c565b6101706102ee3660046121a3565b610c1e565b6101fe610cee565b6101d861030936600461217f565b610d05565b6101d861031c3660046123b3565b610da0565b60006001600160e01b031982166380ac58cd60e01b148061035257506001600160e01b03198216635b5e139f60e01b145b8061036d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610382906142fd565b80601f01602080910402602001604051908101604052809291908181526020018280546103ae906142fd565b80156103fb5780601f106103d0576101008083540402835291602001916103fb565b820191906000526020600020905b8154815290600101906020018083116103de57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166104835760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104aa8261061b565b9050806001600160a01b0316836001600160a01b031614156105185760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161047a565b336001600160a01b038216148061053457506105348133610c1e565b6105a65760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161047a565b6105b08383610f64565b505050565b600060095442101580156105ca575060095415155b905090565b6105d93382610fd2565b6105f55760405162461bcd60e51b815260040161047a906141e7565b6105b08383836110a1565b6105b083838360405180602001604052806000815250610884565b6000818152600260205260408120546001600160a01b03168061036d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161047a565b60006001600160a01b0382166106fd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161047a565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146107435760405162461bcd60e51b815260040161047a906141b2565b61074d600061124c565b565b6006546001600160a01b031633146107795760405162461bcd60e51b815260040161047a906141b2565b600955565b6006546001600160a01b031633146107a85760405162461bcd60e51b815260040161047a906141b2565b6040514790339082156108fc029083906000818181858888f193505050501580156107d7573d6000803e3d6000fd5b5050565b606060018054610382906142fd565b6107d733838361129e565b600260075414156108185760405162461bcd60e51b815260040161047a90614238565b6002600755336108278261061b565b6001600160a01b0316146108735760405162461bcd60e51b8152602060048201526013602482015272213ab9371030903934b733903cb7ba9037bbb760691b604482015260640161047a565b61087c8161136d565b506001600755565b61088e3383610fd2565b6108aa5760405162461bcd60e51b815260040161047a906141e7565b6108b684848484611414565b50505050565b6000818152600260205260409020546060906001600160a01b03166109175760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b604482015260640161047a565b60008061092384611447565b9150915060008160c00151600014610989578160c00151600114610963576040518060400160405280600481526020016311dbdb1960e21b8152506109ac565b60405180604001604052806008815260200167506c6174696e756d60c01b8152506109ac565b60405180604001604052806009815260200168149bdcd94819dbdb1960ba1b8152505b90506060808360a0015160001415610a0c576040518060400160405280600b81526020016a486f6c6f6772617068696360a81b815250915060405180604001604052806008815260200167457468657265756d60c01b8152509050610ada565b8351610a1790611824565b610a248560200151611824565b610a318660400151611824565b604051602001610a4393929190613f3f565b60405160208183030381529060405291508360a00151600114610ab8578360a00151600214610a935760405180604001604052806009815260200168536f6c69746169726560b81b815250610ad7565b60405180604001604052806007815260200166115b595c985b1960ca1b815250610ad7565b60405180604001604052806005815260200164149bdd5b9960da1b8152505b90505b60008184610aeb8760600151611824565b610af88860800151611824565b86604051602001610b0d959493929190613d9f565b60405160208183030381529060405290506000610b5c610b2c8a611824565b610b3589611922565b84604051602001610b4893929190614005565b604051602081830303815290604052611922565b905080604051602001610b6f9190613fc0565b604051602081830303815290604052975050505050505050919050565b60026007541415610baf5760405162461bcd60e51b815260040161047a90614238565b600260075533610bbe8261061b565b6001600160a01b031614610c0a5760405162461bcd60e51b815260206004820152601360248201527223b4b33a1030903934b733903cb7ba9037bbb760691b604482015260640161047a565b610c15338383610600565b50506001600755565b600a5460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b158015610c6b57600080fd5b505afa158015610c7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca39190612396565b6001600160a01b03161415610cbc57600191505061036d565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6000610cf960085490565b6105ca906103786142ba565b6006546001600160a01b03163314610d2f5760405162461bcd60e51b815260040161047a906141b2565b6001600160a01b038116610d945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161047a565b610d9d8161124c565b50565b60026007541415610dc35760405162461bcd60e51b815260040161047a90614238565b6002600755610dd06105b5565b610e0c5760405162461bcd60e51b815260206004820152600d60248201526c29b0b632903737ba1037b832b760991b604482015260640161047a565b600081118015610e235750610e1f610cee565b8111155b610e5e5760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f662072696e677360a01b604482015260640161047a565b336000908152600d6020526040902054600390610e7c90839061426f565b1115610eca5760405162461bcd60e51b815260206004820152601b60248201527f4d61782072696e677320746f2063726166742069732074687265650000000000604482015260640161047a565b6000805b82811015610f3657610ee4600880546001019055565b6008549150610ef33383611a88565b610f0833836902f6e66967caac821e4d611aa2565b6000838152600b60209081526040808320849055600c90915290205580610f2e81614338565b915050610ece565b50336000908152600d602052604081208054849290610f5690849061426f565b909155505060016007555050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f998261061b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661104b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161047a565b60006110568361061b565b9050806001600160a01b0316846001600160a01b031614806110915750836001600160a01b031661108684610405565b6001600160a01b0316145b80610ce65750610ce68185610c1e565b826001600160a01b03166110b48261061b565b6001600160a01b03161461111c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161047a565b6001600160a01b03821661117e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161047a565b611189838383611afc565b611194600082610f64565b6001600160a01b03831660009081526003602052604081208054600192906111bd9084906142ba565b90915550506001600160a01b03821660009081526003602052604081208054600192906111eb90849061426f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156113005760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161047a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006113788261061b565b905061138681600084611afc565b611391600083610f64565b6001600160a01b03811660009081526003602052604081208054600192906113ba9084906142ba565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b61141f8484846110a1565b61142b84848484611be5565b6108b65760405162461bcd60e51b815260040161047a90614160565b606061145161213a565b600061145c84611cf2565b905060606040516020016114c9907f3c7376672077696474683d2235303022206865696768743d223530302220786d81527f6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667226020820152661f1e3232b3399f60c91b604082015260470190565b60405160208183030381529060405290508160a001516000141561153857806114f58360000151611824565b6115028460200151611824565b61150f8560400151611824565b6040516020016115229493929190613814565b604051602081830303815290604052905061163a565b8160a001516003141561156c57806040516020016115569190612a17565b60405160208183030381529060405290506115ad565b8160a001516002141561158a57806040516020016115569190612924565b8060405160200161159b91906133a4565b60405160208183030381529060405290505b815181906115c5906115c090601961426f565b611824565b6115d9846020015160146115c0919061426f565b6115ed8560400151600a6115c0919061426f565b85516115f890611824565b6116058760200151611824565b6116128860400151611824565b60405160200161162897969594939291906127d3565b60405160208183030381529060405290505b8061164f836060015160196115c0919061426f565b611663846080015160146115c0919061426f565b6116b060d286606001516019611679919061426f565b106116a55761014a86606001516019611692919061426f565b1061169e5760506116a8565b60416116a8565b60235b60ff16611824565b6040516020016116c39493929190612d8a565b6040516020818303038152906040529050806116e28360600151611824565b6116ef8460800151611824565b6116fc8560600151611824565b6117098660800151611824565b6117168760600151611824565b6117238860800151611824565b6040516020016117399796959493929190613214565b6040516020818303038152906040529050808260e001516040516020016117619291906136b5565b60405160208183030381529060405290508160a00151600014156117ab5760e0820151604051611795918391602001612afe565b604051602081830303815290604052905061181b565b8160a00151600114156117ce5760e0820151604051611795918391602001613487565b8160a00151600214156117f15760e0820151604051611795918391602001612414565b60e08201516040516118099183918190602001613a38565b60405160208183030381529060405290505b94909350915050565b6060816118485750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611872578061185c81614338565b915061186b9050600a83614287565b915061184c565b60008167ffffffffffffffff81111561188d5761188d6143a9565b6040519080825280601f01601f1916602001820160405280156118b7576020820181803683370190505b5090505b8415610ce6576118cc6001836142ba565b91506118d9600a86614353565b6118e490603061426f565b60f81b8183815181106118f9576118f9614393565b60200101906001600160f81b031916908160001a90535061191b600a86614287565b94506118bb565b805160609080611942575050604080516020810190915260008152919050565b6000600361195183600261426f565b61195b9190614287565b61196690600461429b565b9050600061197582602061426f565b67ffffffffffffffff81111561198d5761198d6143a9565b6040519080825280601f01601f1916602001820160405280156119b7576020820181803683370190505b50905060006040518060600160405280604081526020016143eb604091399050600181016020830160005b86811015611a43576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b8352600490920191016119e2565b506003860660018114611a5d5760028114611a6e57611a7a565b613d3d60f01b600119830152611a7a565b603d60f81b6000198301525b505050918152949350505050565b6107d7828260405180602001604052806000815250611f5e565b6040516bffffffffffffffffffffffff19606085901b1660208201524260348201524460548201526074810183905260009082906094016040516020818303038152906040528051906020012060001c610ce69190614353565b6001600160a01b0383161580611b1957506001600160a01b038216155b6105b0576000818152600c6020526040812054611b399061014f90614353565b9050611b5083836902f6e66967caac821e4d611aa2565b6000838152600c6020526040812082905590611b6f9061014f90614353565b90506000611b7e82601e61426f565b90506000611b8d84601e61426f565b9050601e848411611ba757611ba283836142ba565b611bb1565b611bb182846142ba565b1015611bdc576000858152600c60205260408120805460419290611bd690849061426f565b90915550505b50505050505050565b60006001600160a01b0384163b15611ce757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611c29903390899088908890600401614110565b602060405180830381600087803b158015611c4357600080fd5b505af1925050508015611c73575060408051601f3d908101601f19168201909252611c7091810190612379565b60015b611ccd573d808015611ca1576040519150601f19603f3d011682016040523d82523d6000602084013e611ca6565b606091505b508051611cc55760405162461bcd60e51b815260040161047a90614160565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ce6565b506001949350505050565b611cfa61213a565b611d0261213a565b6000838152600b6020526040902054611d1d61014f82614353565b825260081c611d30602860ff8316614353565b611d3b90602861426f565b602083015260081c611d51603260ff8316614353565b611d5c90601e61426f565b604083018190528251602084015160089390931c92611d7b9284611f91565b60408401526020830152600860ff82161015611d9d57600060a0830152611dd5565b603b8160ff161015611db557600260a0830152611dd5565b60948160ff161015611dcd57600360a0830152611dd5565b600160a08301525b60081c601a60ff82161015611e13576040805180820190915260078152662343343838393160c81b602082015260e0830152600060c0830152611e79565b60738160ff161015611e4e5760408051808201909152600781526608d0cd10cd10cd60ca1b602082015260e0830152600160c0830152611e79565b6040805180820190915260078152662344374242353960c81b602082015260e0830152600260c08301525b6000848152600b6020908152604080832054600c9092529091205414611ef4576000848152600c6020526040902054611eb461014f82614353565b6060840181905260089190911c90611ee890611ed4602360ff8516614353565b611edf90602361426f565b60236000611f91565b50608084015250611f57565b815160608301526020820151608083015260c08201516002148015611f1a575081516030115b8015611f2757508151601b105b15611f5757600160c083015260408051808201909152600781526608d0cd10cd10cd60ca1b602082015260e08301525b5092915050565b611f688383611fec565b611f756000848484611be5565b6105b05760405162461bcd60e51b815260040161047a90614160565b60008060378611158015611fa65750601b8610155b8015611fb25750604285105b8015611fbe5750603184105b15611fe05760469450611fd2602184614353565b611fdd90603061426f565b93505b50929491935090915050565b6001600160a01b0382166120425760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161047a565b6000818152600260205260409020546001600160a01b0316156120a75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161047a565b6120b360008383611afc565b6001600160a01b03821660009081526003602052604081208054600192906120dc90849061426f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60405180610100016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001606081525090565b60006020828403121561219157600080fd5b813561219c816143bf565b9392505050565b600080604083850312156121b657600080fd5b82356121c1816143bf565b915060208301356121d1816143bf565b809150509250929050565b6000806000606084860312156121f157600080fd5b83356121fc816143bf565b9250602084013561220c816143bf565b929592945050506040919091013590565b6000806000806080858703121561223357600080fd5b843561223e816143bf565b9350602085013561224e816143bf565b925060408501359150606085013567ffffffffffffffff8082111561227257600080fd5b818701915087601f83011261228657600080fd5b813581811115612298576122986143a9565b604051601f8201601f19908116603f011681019083821181831017156122c0576122c06143a9565b816040528281528a60208487010111156122d957600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561231057600080fd5b823561231b816143bf565b9150602083013580151581146121d157600080fd5b6000806040838503121561234357600080fd5b823561234e816143bf565b946020939093013593505050565b60006020828403121561236e57600080fd5b813561219c816143d4565b60006020828403121561238b57600080fd5b815161219c816143d4565b6000602082840312156123a857600080fd5b815161219c816143bf565b6000602082840312156123c557600080fd5b5035919050565b600081518084526123e48160208601602086016142d1565b601f01601f19169290920160200192915050565b6000815161240a8185602086016142d1565b9290920192915050565b600083516124268184602088016142d1565b7f3c7061746820643d224d3234312e31203139316833302e326c31342e392d31309083019081527f2031332e362d392e36632e392d2e3620312e382d312e3420322e352d322e326c60208201527f362e392d372e3620362e382d392e36632e332d2e342e352d2e392e352d312e3460408201527f762d2e3463302d2e392d2e322d312e382d2e372d322e366c2d322e392d342e3860608201527f632d312e382d332d352e312d342e382d382e362d342e38483139382e37632d3360808201527f2e3520302d362e3820312e382d382e3620342e386c2d322e3920342e38632d2e60a08201527f352e382d2e3720312e372d2e3720322e36762e346330202e352e322031202e3560c08201527f20312e346c362e3820392e3620362e3920372e36632e372e3820312e3620312e60e08201527f3620322e3520322e326c31332e3620392e362031342e3920313068392e345a226101008201527f2066696c6c3d2275726c28236229222f3e3c706174682066696c6c2d72756c656101208201527f3d226576656e6f64642220636c69702d72756c653d226576656e6f64642220646101408201527f3d226d3233322e38203139312031382e322d32203139203220362e312d342e356101608201527f2d32352e312d332d32342e33203320362e3120342e355a6d31382e322d3134206101808201527f33392e332d2e34632e36203020312e332d2e3120312e392d2e346c342e382d336101a08201527f2e32632e33322d2e32352e36332d2e352e39372d2e37352e37312d2e353520316101c08201527f2e352d312e313620322e35332d322e30356c382e362d392e3620352e372d382e6101e08201527f33632e362d2e392e382d312e392e362d322e396c2d2e322d312e3420332e362d6102008201527f317631336c2d332e3820382d31352031302d33382032352d31312d312d31302e6102208201527f3220312d33382d32352d31352d31302d332e382d38762d31336c332e3620312d6102408201527f2e3220312e34632d2e32203120302032202e3620322e396c352e3720382e33206102608201527f382e3620392e3663312e30322e383920312e383220312e3520322e353320322e6102808201527f30352e33342e32352e36352e352e39372e37356c342e3820332e32632e362e336102a08201527f20312e332e3420312e392e346c33382e352e345a222066696c6c3d22000000006102c08201526127ca6127b16102dc8301866123f8565b6c11179f1e17b39f1e17b9bb339f60991b8152600d0190565b95945050505050565b600088516127e5818460208d016142d1565b75078e6e8dee040e6e8dee05ac6ded8dee47a44d0e6d8560531b9083019081528851612818816016840160208d016142d1565b600b60fa1b60169290910191820152875161283a816017840160208c016142d1565b61094b60f21b60179290910191820152865161285d816019840160208b016142d1565b7f2529222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f72601992909101918201526507a44d0e6d8560d31b60398201526129166128da6128d46128c66128c06128b3603f87018c6123f8565b600b60fa1b815260010190565b896123f8565b61094b60f21b815260020190565b866123f8565b7f2529222073746f702d6f7061636974793d22302e3422202f3e3c2f72616469618152693623b930b234b2b73a1f60b11b6020820152602a0190565b9a9950505050505050505050565b600082516129368184602087016142d1565b7f3c72616469616c4772616469656e742069643d226222207370726561644d65749201918252507f686f643d227265666c656374222066793d22312220723d2231222063793d223060208201527f222063783d22312e3622206772616469656e745472616e73666f726d3d22726f60408201527f74617465283137392e3438203132352e36322037392e303129207363616c652860608201527f3137372e3435392034322e393339332922206772616469656e74556e6974733d608082015270113ab9b2b929b830b1b2a7b72ab9b2911f60791b60a082015260b101919050565b60008251612a298184602087016142d1565b7f3c72616469616c4772616469656e742069643d2262222063783d22312e3622209201918252507f63793d22302220723d2231222066793d22302e3622207370726561644d65746860208201527f6f643d227265666c65637422206772616469656e74556e6974733d227573657260408201527f53706163654f6e55736522206772616469656e745472616e73666f726d3d226d60608201527f617472697828302034352e37333937202d35332e3631313920302032353020316080820152641b1a94911f60d91b60a082015260a501919050565b60008351612b108184602088016142d1565b7f3c7061746820643d224d3234392e33203131332e38632d2e322e342d352e34209083019081527f392e332d31312e372031392e362d362e332031302e342d31312e342031392d3160208201527f312e352031392e322d2e312e3220332e3320322e332031312e3920372e346c3160408201527f3220372e312031322d372e3163382e362d352e312031322d372e322031312e3960608201527f2d372e342d2e342d312e312d32332e382d33392e362d32342e312d33392e362d60808201527f2e3120302d2e342e332d2e352e385a6d2d32332e322034332e39632e352e382060a08201527f32332e382033332e372032332e392033332e372e3220302032342e312d33332e60c08201527f382032342d33332e392d2e312d2e312d32322e342031332e312d32332e34203160e08201527f332e386c2d2e362e342d31312e362d362e38632d362e342d332e382d31312e386101008201527f2d372d31322e312d372e322d2e332d2e332d2e342d2e332d2e3220305a2220666101208201527f696c6c3d2275726c28236229222f3e3c706174682066696c6c2d72756c653d226101408201527f6576656e6f64642220636c69702d72756c653d226576656e6f64642220643d226101608201527f6d323337203137392031332031372e312031332d31372e3120332e352d35202e6101808201527f332d2e33632e332d2e332e372d2e312e372e33762e316c2d372031362d3520316101a08201527f322e35682d31316c2d352d31322e352d372d3136762d2e3163302d2e342e342d6101c08201527f2e362e372d2e336c2e332e3320332e3520355a222066696c6c3d2200000000006101e08201526127ca6127b16101fb8301866123f8565b60008551612d9c818460208a016142d1565b7f3c66696c7465722069643d22612220783d22302220793d2230222077696474689083019081527f3d223130302522206865696768743d2231303025222066696c746572556e697460208201527f733d227573657253706163654f6e5573652220636f6c6f722d696e746572706f60408201527f6c6174696f6e2d66696c746572733d2273524742223e3c6665466c6f6f64206660608201527f6c6f6f642d6f7061636974793d22302220726573756c743d224261636b67726f60808201527f756e64496d616765466978222f3e3c6665436f6c6f724d617472697820696e3d60a08201527f22536f75726365416c706861222076616c7565733d223020302030203020302060c08201527f302030203020302030203020302030203020302030203020302031323720302260e08201527f20726573756c743d2268617264416c706861222f3e3c66654f666673657420786101008201527f6d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7376676101208201527f222064793d2233222064783d223322202f3e3c6665436f6d706f7369746520696101408201527f6e323d2268617264416c70686122206f70657261746f723d226f7574222f3e3c6101608201527f6665436f6c6f724d61747269782076616c7565733d22302030203020302030206101808201527f3020302030203020302030203020302030203020302030203020302e323520306101a08201527f222f3e3c6665426c656e6420696e323d224261636b67726f756e64496d6167656101c08201527f4669782220726573756c743d22656666656374315f64726f70536861646f77226101e08201527f2f3e3c6665426c656e6420696e3d22536f75726365477261706869632220696e6102008201527f323d22656666656374315f64726f70536861646f772220726573756c743d22736102208201527f68617065222f3e3c6665476175737369616e426c7572207374644465766961746102408201527f696f6e3d22322220726573756c743d22626c757231222f3e3c666553706563756102608201527f6c61724c69676874696e6720726573756c743d2273706563312220696e3d22626102808201527f6c757231222073706563756c61724578706f6e656e743d22373022206c6967686102a08201526f0e8d2dcce5ac6ded8dee47a44d0e6d8560831b6102c08201526132096131356128d46131266128c06128b36102d087018c6123f8565b6201296160ed1b815260030190565b7f2529223e3c6665506f696e744c6967687420783d223134302220793d2231353081527f22207a3d2233303022202f3e3c2f666553706563756c61724c69676874696e6760208201527f3e3c6665436f6d706f7369746520696e3d22536f75726365477261706869632260408201527f20696e323d22737065633122206f70657261746f723d2261726974686d65746960608201527f6322206b313d223022206b323d223122206b333d223122206b343d223022202f6080820152691f1e17b334b63a32b91f60b11b60a082015260aa0190565b979650505050505050565b60008851613226818460208d016142d1565b80830190507f3c72616469616c4772616469656e742069643d226267222063783d22302e342281527f2063793d22302e33322220723d22322e35223e3c73746f70206f66667365743d602082015274044604a4440e6e8dee05ac6ded8dee47a44d0e6d85605b1b604082015288516132a5816055840160208d016142d1565b600b60fa1b6055929091019182015287516132c7816056840160208c016142d1565b7f252c203430252922202f3e3c73746f70206f66667365743d2232302522207374605692909101918201526d0dee05ac6ded8dee47a44d0e6d8560931b607682015261291661336f6128d46128b36128c061332f61332983608489018f6123f8565b8c6123f8565b7f252c203232252922202f3e3c73746f70206f66667365743d223630252220737481526d0dee05ac6ded8dee47a44d0e6d8560931b6020820152602e0190565b7f252c203130252922202f3e3c2f72616469616c4772616469656e743e3c2f646581526233399f60e91b602082015260230190565b600082516133b68184602087016142d1565b7f3c72616469616c4772616469656e742069643d226222206772616469656e74559201918252507f6e6974733d227573657253706163654f6e55736522206772616469656e74547260208201527f616e73666f726d3d226d61747269782830202d3130302036302030203234392e60408201527f39203136312e37352922207370726561644d6574686f643d227265666c65637460608201527f222066793d22302e392220723d2231222063793d2230222063783d22312e37226080820152601f60f91b60a082015260a101919050565b600083516134998184602088016142d1565b7f3c7061746820643d224d323130203136342e396133342e37362033342e3736209083019081527f30203020312033332e392d33342e37356c362e312d2e313520362e312e31354160208201527f33342e37362033342e373620302030203120323930203136342e39633020312e60408201527f33312d2e363620322e35332d312e373620332e32346c2d33362e30362032332e60608201527f3434613420342030203020312d342e333620306c2d33362e30362d32332e343460808201527f61332e383620332e38362030203020312d312e37362d332e32345a222066696c60a08201527f6c3d2275726c28236229222f3e3c706174682066696c6c2d72756c653d22657660c08201527f656e6f64642220636c69702d72756c653d226576656e6f64642220643d224d3260e08201527f31302e3439203136372e303120323530203139322e32336c33392e35312d32356101008201527f2e323261342e383620342e383620302030203120352e392e3533632e38352e376101208201527f382e383420322e31322d2e303320322e38384c323539203230322e356c2d392d6101408201527f2e352d39202e352d33362e33382d33322e303861312e393420312e39342030206101608201527f3020312d2e30342d322e383820342e383620342e383620302030203120352e396101808201526c16971a99ad11103334b6361e9160991b6101a08201526127ca6127b16101ad8301866123f8565b600083516136c78184602088016142d1565b80830190507f3c7265637420783d22302220793d2230222077696474683d223130302522206881527f65696768743d2231303025222066696c6c3d2275726c282362672922202f3e3c60208201527f672066696c7465723d2275726c28236129223e3c7061746820643d224d32343960408201527f2e3520333433632d33372e3320302d36372e352d33302e322d36372e352d363760608201527f2e357333302e322d36372e352036372e352d36372e352036372e352033302e3260808201527f2036372e352036372e352d33302e322036372e352d36372e352036372e355a2260a0820152681039ba3937b5b29e9160b91b60c082015283516137d28160c98401602088016142d1565b7f22207374726f6b652d77696474683d2231332e38222066696c6c3d226e6f6e6560c992909101918201526211179f60e91b60e982015260ec01949350505050565b60008551613826818460208a016142d1565b7f3c72616469616c4772616469656e742069643d22622220723d2232222063793d9083019081527f2231303025222063783d22333025222066783d2231303025222066793d22313060208201527f25223e3c73746f702073746f702d636f6c6f723d2223374644454646222f3e3c60408201527f73746f70206f66667365743d222e3139222073746f702d636f6c6f723d22234360608201527f4643374641222073746f702d6f7061636974793d222e38222f3e3c73746f702060808201527f6f66667365743d222e3233222073746f702d636f6c6f723d222343454439454460a08201527f222073746f702d6f7061636974793d222e3739222f3e3c73746f70206f66667360c08201527f65743d222e3332222073746f702d6f7061636974793d2231222073746f702d6360e0820152690ded8dee47a44d0e6d8560b31b6101008201526132096139886128d46128c66128c06128b361010a87018c6123f8565b7f252922202f3e3c73746f702073746f702d636f6c6f723d22234546433844442281527f206f66667365743d222e3333222073746f702d6f7061636974793d222e36222f60208201527f3e3c73746f702073746f702d636f6c6f723d222343454439454422206f66667360408201527f65743d222e34222073746f702d6f7061636974793d222e38222f3e3c2f72616460608201526b34b0b623b930b234b2b73a1f60a11b6080820152608c0190565b60008451613a4a8184602089016142d1565b80830190507f3c7061746820643d224d323535203139342e35632d322e3920322d362e37203281527f2d392e3620306c2d34362e342d33312e36632d352e322d332e362d342e392d3160208201527f312e342e362d31342e346c31302d352e3663312e332d2e3720322e372d312e3160408201527f20342e322d312e316837322e3863312e35203020322e392e3420342e3220312e60608201527f316c313020352e3663352e3520332e3120352e382031302e392e362031342e3460808201527f6c2d34362e342033312e365a222066696c6c3d2275726c28236229222f3e3c7060a08201527f61746820643d226d3234392e39203139362e3320352d31312e342d332e322d3260c08201527f322e392d2e382d382e37682d322e386c2d2e3820382e372d322e35342032322e60e0820152731c901a97189a101898971a2d11103334b6361e9160611b6101008201526101148551613baf8183850160208a016142d1565b613d936127b1613d8d84848701017f222f3e3c7061746820643d226d3234352e39203230322e342d352e342e352d3481527f362e392d33332e38632d322e342d312e372d332e392d352e322d332e372d372e60208201527f346c2e392d342e3163302d2e3120302d2e312e312d2e346c312e372d3420332e60408201527f352d2e322d2e3720312e39632d2e332e392d2e3220312e382d2e3120322e387660608201527f2e35632e3320312e3620312e38203320332e3220332e396c33392e342032352e60808201527f3663322e3720312e3820352e3838203020362e39382d332e316c372e3932203160a08201527f3820312e312e3120352e322e352034372e322d333463322e342d312e3720332e60c08201527f392d352e3220332e372d372e346c2d2e392d342e3163302d2e3120302d2e312d60e08201527f2e312d2e346c2d312e372d342d332e352d2e322e3720312e39632e332e392e326101008201527f20312e382e3120322e38762e35632d2e3320312e362d312e3820332d332e32206101208201527f332e396c2d33392e342032352e36632d322e3720312e382d362e31322d2e312d6101408201527f372e31322d332e326c2d3420382e392d332e34382039222066696c6c3d22000061016082015261017e0190565b886123f8565b98975050505050505050565b7f61747472696275746573223a205b7b2274726169745f74797065223a2022437581526d3a111610113b30b63ab2911d101160911b602082015260008651613dee81602e850160208b016142d1565b62089f4b60ea1b602e9184019182018190527f7b2274726169745f74797065223a202242616e6420636f6c6f72222c20227661603183015266363ab2911d101160c91b60518301528751613e49816058850160208c016142d1565b60589201918201527f7b2274726169745f74797065223a20224261636b67726f756e6420636f6c6f72605b82015270044584044ecc2d8eaca44744044d0e6d85607b1b607b820152613d93613f32613f24613f1e613ee6613ed7613ec4613329613eb6608c8a018f6123f8565b61016160f51b815260020190565b66252c203530252960c81b815260070190565b62089f4b60ea1b815260030190565b7f7b2274726169745f74797065223a202247656d20636f6c6f72222c202276616c8152653ab2911d101160d11b602082015260260190565b876123f8565b61227d60f01b815260020190565b605d60f81b815260010190565b630d0e6d8560e31b815260008451613f5e8160048501602089016142d1565b61016160f51b6004918401918201528451613f808160068401602089016142d1565b6201296160ed1b600692909101918201528351613fa48160098401602088016142d1565b61252960f01b60099290910191820152600b0195945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251613ff881601d8501602087016142d1565b91909101601d0192915050565b727b226e616d65223a202230784361726174202360681b815283516000906140348160138501602089016142d1565b7f222c20226465736372697074696f6e223a2022412066756c6c79206f6e2d63686013918401918201527f61696e2072696e6720746f2063656c656272617465206f6e2d636861696e206c60338201527f6f76652e222c2022696d616765223a2022646174613a696d6167652f7376672b60538201526a1e1b5b0ed8985cd94d8d0b60aa1b607382015284516140d181607e8401602089016142d1565b6211161160e91b607e929091019182015283516140f58160818401602088016142d1565b607d60f81b6081929091019182015260820195945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614143908301846123cc565b9695505050505050565b60208152600061219c60208301846123cc565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561428257614282614367565b500190565b6000826142965761429661437d565b500490565b60008160001904831182151516156142b5576142b5614367565b500290565b6000828210156142cc576142cc614367565b500390565b60005b838110156142ec5781810151838201526020016142d4565b838111156108b65750506000910152565b600181811c9082168061431157607f821691505b6020821081141561433257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561434c5761434c614367565b5060010190565b6000826143625761436261437d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d9d57600080fd5b6001600160e01b031981168114610d9d57600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220aa07013df7d5a220232c5ee9ab09780c344ca84ba4b326e3ad203033053936e264736f6c63430008060033000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101585760003560e01c8063853828b6116100c3578063c87b56dd1161007c578063c87b56dd146102ba578063cbce4c97146102cd578063e985e9c5146102e0578063efcb1195146102f3578063f2fde38b146102fb578063f3917bd21461030e57600080fd5b8063853828b6146102605780638da5cb5b1461026857806395d89b4114610279578063a22cb46514610281578063b49a5bb214610294578063b88d4fde146102a757600080fd5b80633c276d86116101155780633c276d86146101f557806342842e0e1461020c5780636352211e1461021f57806370a0823114610232578063715018a6146102455780637a1cbd3f1461024d57600080fd5b806301ffc9a71461015d57806306fdde0314610185578063081812fc1461019a578063095ea7b3146101c55780631a081330146101da57806323b872dd146101e2575b600080fd5b61017061016b36600461235c565b610321565b60405190151581526020015b60405180910390f35b61018d610373565b60405161017c919061414d565b6101ad6101a83660046123b3565b610405565b6040516001600160a01b03909116815260200161017c565b6101d86101d3366004612330565b61049f565b005b6101706105b5565b6101d86101f03660046121dc565b6105cf565b6101fe60095481565b60405190815260200161017c565b6101d861021a3660046121dc565b610600565b6101ad61022d3660046123b3565b61061b565b6101fe61024036600461217f565b610692565b6101d8610719565b6101d861025b3660046123b3565b61074f565b6101d861077e565b6006546001600160a01b03166101ad565b61018d6107db565b6101d861028f3660046122fd565b6107ea565b6101d86102a23660046123b3565b6107f5565b6101d86102b536600461221d565b610884565b61018d6102c83660046123b3565b6108bc565b6101d86102db366004612330565b610b8c565b6101706102ee3660046121a3565b610c1e565b6101fe610cee565b6101d861030936600461217f565b610d05565b6101d861031c3660046123b3565b610da0565b60006001600160e01b031982166380ac58cd60e01b148061035257506001600160e01b03198216635b5e139f60e01b145b8061036d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610382906142fd565b80601f01602080910402602001604051908101604052809291908181526020018280546103ae906142fd565b80156103fb5780601f106103d0576101008083540402835291602001916103fb565b820191906000526020600020905b8154815290600101906020018083116103de57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166104835760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104aa8261061b565b9050806001600160a01b0316836001600160a01b031614156105185760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161047a565b336001600160a01b038216148061053457506105348133610c1e565b6105a65760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161047a565b6105b08383610f64565b505050565b600060095442101580156105ca575060095415155b905090565b6105d93382610fd2565b6105f55760405162461bcd60e51b815260040161047a906141e7565b6105b08383836110a1565b6105b083838360405180602001604052806000815250610884565b6000818152600260205260408120546001600160a01b03168061036d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161047a565b60006001600160a01b0382166106fd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161047a565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146107435760405162461bcd60e51b815260040161047a906141b2565b61074d600061124c565b565b6006546001600160a01b031633146107795760405162461bcd60e51b815260040161047a906141b2565b600955565b6006546001600160a01b031633146107a85760405162461bcd60e51b815260040161047a906141b2565b6040514790339082156108fc029083906000818181858888f193505050501580156107d7573d6000803e3d6000fd5b5050565b606060018054610382906142fd565b6107d733838361129e565b600260075414156108185760405162461bcd60e51b815260040161047a90614238565b6002600755336108278261061b565b6001600160a01b0316146108735760405162461bcd60e51b8152602060048201526013602482015272213ab9371030903934b733903cb7ba9037bbb760691b604482015260640161047a565b61087c8161136d565b506001600755565b61088e3383610fd2565b6108aa5760405162461bcd60e51b815260040161047a906141e7565b6108b684848484611414565b50505050565b6000818152600260205260409020546060906001600160a01b03166109175760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b604482015260640161047a565b60008061092384611447565b9150915060008160c00151600014610989578160c00151600114610963576040518060400160405280600481526020016311dbdb1960e21b8152506109ac565b60405180604001604052806008815260200167506c6174696e756d60c01b8152506109ac565b60405180604001604052806009815260200168149bdcd94819dbdb1960ba1b8152505b90506060808360a0015160001415610a0c576040518060400160405280600b81526020016a486f6c6f6772617068696360a81b815250915060405180604001604052806008815260200167457468657265756d60c01b8152509050610ada565b8351610a1790611824565b610a248560200151611824565b610a318660400151611824565b604051602001610a4393929190613f3f565b60405160208183030381529060405291508360a00151600114610ab8578360a00151600214610a935760405180604001604052806009815260200168536f6c69746169726560b81b815250610ad7565b60405180604001604052806007815260200166115b595c985b1960ca1b815250610ad7565b60405180604001604052806005815260200164149bdd5b9960da1b8152505b90505b60008184610aeb8760600151611824565b610af88860800151611824565b86604051602001610b0d959493929190613d9f565b60405160208183030381529060405290506000610b5c610b2c8a611824565b610b3589611922565b84604051602001610b4893929190614005565b604051602081830303815290604052611922565b905080604051602001610b6f9190613fc0565b604051602081830303815290604052975050505050505050919050565b60026007541415610baf5760405162461bcd60e51b815260040161047a90614238565b600260075533610bbe8261061b565b6001600160a01b031614610c0a5760405162461bcd60e51b815260206004820152601360248201527223b4b33a1030903934b733903cb7ba9037bbb760691b604482015260640161047a565b610c15338383610600565b50506001600755565b600a5460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b158015610c6b57600080fd5b505afa158015610c7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca39190612396565b6001600160a01b03161415610cbc57600191505061036d565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6000610cf960085490565b6105ca906103786142ba565b6006546001600160a01b03163314610d2f5760405162461bcd60e51b815260040161047a906141b2565b6001600160a01b038116610d945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161047a565b610d9d8161124c565b50565b60026007541415610dc35760405162461bcd60e51b815260040161047a90614238565b6002600755610dd06105b5565b610e0c5760405162461bcd60e51b815260206004820152600d60248201526c29b0b632903737ba1037b832b760991b604482015260640161047a565b600081118015610e235750610e1f610cee565b8111155b610e5e5760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f662072696e677360a01b604482015260640161047a565b336000908152600d6020526040902054600390610e7c90839061426f565b1115610eca5760405162461bcd60e51b815260206004820152601b60248201527f4d61782072696e677320746f2063726166742069732074687265650000000000604482015260640161047a565b6000805b82811015610f3657610ee4600880546001019055565b6008549150610ef33383611a88565b610f0833836902f6e66967caac821e4d611aa2565b6000838152600b60209081526040808320849055600c90915290205580610f2e81614338565b915050610ece565b50336000908152600d602052604081208054849290610f5690849061426f565b909155505060016007555050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f998261061b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661104b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161047a565b60006110568361061b565b9050806001600160a01b0316846001600160a01b031614806110915750836001600160a01b031661108684610405565b6001600160a01b0316145b80610ce65750610ce68185610c1e565b826001600160a01b03166110b48261061b565b6001600160a01b03161461111c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161047a565b6001600160a01b03821661117e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161047a565b611189838383611afc565b611194600082610f64565b6001600160a01b03831660009081526003602052604081208054600192906111bd9084906142ba565b90915550506001600160a01b03821660009081526003602052604081208054600192906111eb90849061426f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156113005760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161047a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006113788261061b565b905061138681600084611afc565b611391600083610f64565b6001600160a01b03811660009081526003602052604081208054600192906113ba9084906142ba565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b61141f8484846110a1565b61142b84848484611be5565b6108b65760405162461bcd60e51b815260040161047a90614160565b606061145161213a565b600061145c84611cf2565b905060606040516020016114c9907f3c7376672077696474683d2235303022206865696768743d223530302220786d81527f6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667226020820152661f1e3232b3399f60c91b604082015260470190565b60405160208183030381529060405290508160a001516000141561153857806114f58360000151611824565b6115028460200151611824565b61150f8560400151611824565b6040516020016115229493929190613814565b604051602081830303815290604052905061163a565b8160a001516003141561156c57806040516020016115569190612a17565b60405160208183030381529060405290506115ad565b8160a001516002141561158a57806040516020016115569190612924565b8060405160200161159b91906133a4565b60405160208183030381529060405290505b815181906115c5906115c090601961426f565b611824565b6115d9846020015160146115c0919061426f565b6115ed8560400151600a6115c0919061426f565b85516115f890611824565b6116058760200151611824565b6116128860400151611824565b60405160200161162897969594939291906127d3565b60405160208183030381529060405290505b8061164f836060015160196115c0919061426f565b611663846080015160146115c0919061426f565b6116b060d286606001516019611679919061426f565b106116a55761014a86606001516019611692919061426f565b1061169e5760506116a8565b60416116a8565b60235b60ff16611824565b6040516020016116c39493929190612d8a565b6040516020818303038152906040529050806116e28360600151611824565b6116ef8460800151611824565b6116fc8560600151611824565b6117098660800151611824565b6117168760600151611824565b6117238860800151611824565b6040516020016117399796959493929190613214565b6040516020818303038152906040529050808260e001516040516020016117619291906136b5565b60405160208183030381529060405290508160a00151600014156117ab5760e0820151604051611795918391602001612afe565b604051602081830303815290604052905061181b565b8160a00151600114156117ce5760e0820151604051611795918391602001613487565b8160a00151600214156117f15760e0820151604051611795918391602001612414565b60e08201516040516118099183918190602001613a38565b60405160208183030381529060405290505b94909350915050565b6060816118485750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611872578061185c81614338565b915061186b9050600a83614287565b915061184c565b60008167ffffffffffffffff81111561188d5761188d6143a9565b6040519080825280601f01601f1916602001820160405280156118b7576020820181803683370190505b5090505b8415610ce6576118cc6001836142ba565b91506118d9600a86614353565b6118e490603061426f565b60f81b8183815181106118f9576118f9614393565b60200101906001600160f81b031916908160001a90535061191b600a86614287565b94506118bb565b805160609080611942575050604080516020810190915260008152919050565b6000600361195183600261426f565b61195b9190614287565b61196690600461429b565b9050600061197582602061426f565b67ffffffffffffffff81111561198d5761198d6143a9565b6040519080825280601f01601f1916602001820160405280156119b7576020820181803683370190505b50905060006040518060600160405280604081526020016143eb604091399050600181016020830160005b86811015611a43576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b8352600490920191016119e2565b506003860660018114611a5d5760028114611a6e57611a7a565b613d3d60f01b600119830152611a7a565b603d60f81b6000198301525b505050918152949350505050565b6107d7828260405180602001604052806000815250611f5e565b6040516bffffffffffffffffffffffff19606085901b1660208201524260348201524460548201526074810183905260009082906094016040516020818303038152906040528051906020012060001c610ce69190614353565b6001600160a01b0383161580611b1957506001600160a01b038216155b6105b0576000818152600c6020526040812054611b399061014f90614353565b9050611b5083836902f6e66967caac821e4d611aa2565b6000838152600c6020526040812082905590611b6f9061014f90614353565b90506000611b7e82601e61426f565b90506000611b8d84601e61426f565b9050601e848411611ba757611ba283836142ba565b611bb1565b611bb182846142ba565b1015611bdc576000858152600c60205260408120805460419290611bd690849061426f565b90915550505b50505050505050565b60006001600160a01b0384163b15611ce757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611c29903390899088908890600401614110565b602060405180830381600087803b158015611c4357600080fd5b505af1925050508015611c73575060408051601f3d908101601f19168201909252611c7091810190612379565b60015b611ccd573d808015611ca1576040519150601f19603f3d011682016040523d82523d6000602084013e611ca6565b606091505b508051611cc55760405162461bcd60e51b815260040161047a90614160565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ce6565b506001949350505050565b611cfa61213a565b611d0261213a565b6000838152600b6020526040902054611d1d61014f82614353565b825260081c611d30602860ff8316614353565b611d3b90602861426f565b602083015260081c611d51603260ff8316614353565b611d5c90601e61426f565b604083018190528251602084015160089390931c92611d7b9284611f91565b60408401526020830152600860ff82161015611d9d57600060a0830152611dd5565b603b8160ff161015611db557600260a0830152611dd5565b60948160ff161015611dcd57600360a0830152611dd5565b600160a08301525b60081c601a60ff82161015611e13576040805180820190915260078152662343343838393160c81b602082015260e0830152600060c0830152611e79565b60738160ff161015611e4e5760408051808201909152600781526608d0cd10cd10cd60ca1b602082015260e0830152600160c0830152611e79565b6040805180820190915260078152662344374242353960c81b602082015260e0830152600260c08301525b6000848152600b6020908152604080832054600c9092529091205414611ef4576000848152600c6020526040902054611eb461014f82614353565b6060840181905260089190911c90611ee890611ed4602360ff8516614353565b611edf90602361426f565b60236000611f91565b50608084015250611f57565b815160608301526020820151608083015260c08201516002148015611f1a575081516030115b8015611f2757508151601b105b15611f5757600160c083015260408051808201909152600781526608d0cd10cd10cd60ca1b602082015260e08301525b5092915050565b611f688383611fec565b611f756000848484611be5565b6105b05760405162461bcd60e51b815260040161047a90614160565b60008060378611158015611fa65750601b8610155b8015611fb25750604285105b8015611fbe5750603184105b15611fe05760469450611fd2602184614353565b611fdd90603061426f565b93505b50929491935090915050565b6001600160a01b0382166120425760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161047a565b6000818152600260205260409020546001600160a01b0316156120a75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161047a565b6120b360008383611afc565b6001600160a01b03821660009081526003602052604081208054600192906120dc90849061426f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60405180610100016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001606081525090565b60006020828403121561219157600080fd5b813561219c816143bf565b9392505050565b600080604083850312156121b657600080fd5b82356121c1816143bf565b915060208301356121d1816143bf565b809150509250929050565b6000806000606084860312156121f157600080fd5b83356121fc816143bf565b9250602084013561220c816143bf565b929592945050506040919091013590565b6000806000806080858703121561223357600080fd5b843561223e816143bf565b9350602085013561224e816143bf565b925060408501359150606085013567ffffffffffffffff8082111561227257600080fd5b818701915087601f83011261228657600080fd5b813581811115612298576122986143a9565b604051601f8201601f19908116603f011681019083821181831017156122c0576122c06143a9565b816040528281528a60208487010111156122d957600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561231057600080fd5b823561231b816143bf565b9150602083013580151581146121d157600080fd5b6000806040838503121561234357600080fd5b823561234e816143bf565b946020939093013593505050565b60006020828403121561236e57600080fd5b813561219c816143d4565b60006020828403121561238b57600080fd5b815161219c816143d4565b6000602082840312156123a857600080fd5b815161219c816143bf565b6000602082840312156123c557600080fd5b5035919050565b600081518084526123e48160208601602086016142d1565b601f01601f19169290920160200192915050565b6000815161240a8185602086016142d1565b9290920192915050565b600083516124268184602088016142d1565b7f3c7061746820643d224d3234312e31203139316833302e326c31342e392d31309083019081527f2031332e362d392e36632e392d2e3620312e382d312e3420322e352d322e326c60208201527f362e392d372e3620362e382d392e36632e332d2e342e352d2e392e352d312e3460408201527f762d2e3463302d2e392d2e322d312e382d2e372d322e366c2d322e392d342e3860608201527f632d312e382d332d352e312d342e382d382e362d342e38483139382e37632d3360808201527f2e3520302d362e3820312e382d382e3620342e386c2d322e3920342e38632d2e60a08201527f352e382d2e3720312e372d2e3720322e36762e346330202e352e322031202e3560c08201527f20312e346c362e3820392e3620362e3920372e36632e372e3820312e3620312e60e08201527f3620322e3520322e326c31332e3620392e362031342e3920313068392e345a226101008201527f2066696c6c3d2275726c28236229222f3e3c706174682066696c6c2d72756c656101208201527f3d226576656e6f64642220636c69702d72756c653d226576656e6f64642220646101408201527f3d226d3233322e38203139312031382e322d32203139203220362e312d342e356101608201527f2d32352e312d332d32342e33203320362e3120342e355a6d31382e322d3134206101808201527f33392e332d2e34632e36203020312e332d2e3120312e392d2e346c342e382d336101a08201527f2e32632e33322d2e32352e36332d2e352e39372d2e37352e37312d2e353520316101c08201527f2e352d312e313620322e35332d322e30356c382e362d392e3620352e372d382e6101e08201527f33632e362d2e392e382d312e392e362d322e396c2d2e322d312e3420332e362d6102008201527f317631336c2d332e3820382d31352031302d33382032352d31312d312d31302e6102208201527f3220312d33382d32352d31352d31302d332e382d38762d31336c332e3620312d6102408201527f2e3220312e34632d2e32203120302032202e3620322e396c352e3720382e33206102608201527f382e3620392e3663312e30322e383920312e383220312e3520322e353320322e6102808201527f30352e33342e32352e36352e352e39372e37356c342e3820332e32632e362e336102a08201527f20312e332e3420312e392e346c33382e352e345a222066696c6c3d22000000006102c08201526127ca6127b16102dc8301866123f8565b6c11179f1e17b39f1e17b9bb339f60991b8152600d0190565b95945050505050565b600088516127e5818460208d016142d1565b75078e6e8dee040e6e8dee05ac6ded8dee47a44d0e6d8560531b9083019081528851612818816016840160208d016142d1565b600b60fa1b60169290910191820152875161283a816017840160208c016142d1565b61094b60f21b60179290910191820152865161285d816019840160208b016142d1565b7f2529222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f72601992909101918201526507a44d0e6d8560d31b60398201526129166128da6128d46128c66128c06128b3603f87018c6123f8565b600b60fa1b815260010190565b896123f8565b61094b60f21b815260020190565b866123f8565b7f2529222073746f702d6f7061636974793d22302e3422202f3e3c2f72616469618152693623b930b234b2b73a1f60b11b6020820152602a0190565b9a9950505050505050505050565b600082516129368184602087016142d1565b7f3c72616469616c4772616469656e742069643d226222207370726561644d65749201918252507f686f643d227265666c656374222066793d22312220723d2231222063793d223060208201527f222063783d22312e3622206772616469656e745472616e73666f726d3d22726f60408201527f74617465283137392e3438203132352e36322037392e303129207363616c652860608201527f3137372e3435392034322e393339332922206772616469656e74556e6974733d608082015270113ab9b2b929b830b1b2a7b72ab9b2911f60791b60a082015260b101919050565b60008251612a298184602087016142d1565b7f3c72616469616c4772616469656e742069643d2262222063783d22312e3622209201918252507f63793d22302220723d2231222066793d22302e3622207370726561644d65746860208201527f6f643d227265666c65637422206772616469656e74556e6974733d227573657260408201527f53706163654f6e55736522206772616469656e745472616e73666f726d3d226d60608201527f617472697828302034352e37333937202d35332e3631313920302032353020316080820152641b1a94911f60d91b60a082015260a501919050565b60008351612b108184602088016142d1565b7f3c7061746820643d224d3234392e33203131332e38632d2e322e342d352e34209083019081527f392e332d31312e372031392e362d362e332031302e342d31312e342031392d3160208201527f312e352031392e322d2e312e3220332e3320322e332031312e3920372e346c3160408201527f3220372e312031322d372e3163382e362d352e312031322d372e322031312e3960608201527f2d372e342d2e342d312e312d32332e382d33392e362d32342e312d33392e362d60808201527f2e3120302d2e342e332d2e352e385a6d2d32332e322034332e39632e352e382060a08201527f32332e382033332e372032332e392033332e372e3220302032342e312d33332e60c08201527f382032342d33332e392d2e312d2e312d32322e342031332e312d32332e34203160e08201527f332e386c2d2e362e342d31312e362d362e38632d362e342d332e382d31312e386101008201527f2d372d31322e312d372e322d2e332d2e332d2e342d2e332d2e3220305a2220666101208201527f696c6c3d2275726c28236229222f3e3c706174682066696c6c2d72756c653d226101408201527f6576656e6f64642220636c69702d72756c653d226576656e6f64642220643d226101608201527f6d323337203137392031332031372e312031332d31372e3120332e352d35202e6101808201527f332d2e33632e332d2e332e372d2e312e372e33762e316c2d372031362d3520316101a08201527f322e35682d31316c2d352d31322e352d372d3136762d2e3163302d2e342e342d6101c08201527f2e362e372d2e336c2e332e3320332e3520355a222066696c6c3d2200000000006101e08201526127ca6127b16101fb8301866123f8565b60008551612d9c818460208a016142d1565b7f3c66696c7465722069643d22612220783d22302220793d2230222077696474689083019081527f3d223130302522206865696768743d2231303025222066696c746572556e697460208201527f733d227573657253706163654f6e5573652220636f6c6f722d696e746572706f60408201527f6c6174696f6e2d66696c746572733d2273524742223e3c6665466c6f6f64206660608201527f6c6f6f642d6f7061636974793d22302220726573756c743d224261636b67726f60808201527f756e64496d616765466978222f3e3c6665436f6c6f724d617472697820696e3d60a08201527f22536f75726365416c706861222076616c7565733d223020302030203020302060c08201527f302030203020302030203020302030203020302030203020302031323720302260e08201527f20726573756c743d2268617264416c706861222f3e3c66654f666673657420786101008201527f6d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7376676101208201527f222064793d2233222064783d223322202f3e3c6665436f6d706f7369746520696101408201527f6e323d2268617264416c70686122206f70657261746f723d226f7574222f3e3c6101608201527f6665436f6c6f724d61747269782076616c7565733d22302030203020302030206101808201527f3020302030203020302030203020302030203020302030203020302e323520306101a08201527f222f3e3c6665426c656e6420696e323d224261636b67726f756e64496d6167656101c08201527f4669782220726573756c743d22656666656374315f64726f70536861646f77226101e08201527f2f3e3c6665426c656e6420696e3d22536f75726365477261706869632220696e6102008201527f323d22656666656374315f64726f70536861646f772220726573756c743d22736102208201527f68617065222f3e3c6665476175737369616e426c7572207374644465766961746102408201527f696f6e3d22322220726573756c743d22626c757231222f3e3c666553706563756102608201527f6c61724c69676874696e6720726573756c743d2273706563312220696e3d22626102808201527f6c757231222073706563756c61724578706f6e656e743d22373022206c6967686102a08201526f0e8d2dcce5ac6ded8dee47a44d0e6d8560831b6102c08201526132096131356128d46131266128c06128b36102d087018c6123f8565b6201296160ed1b815260030190565b7f2529223e3c6665506f696e744c6967687420783d223134302220793d2231353081527f22207a3d2233303022202f3e3c2f666553706563756c61724c69676874696e6760208201527f3e3c6665436f6d706f7369746520696e3d22536f75726365477261706869632260408201527f20696e323d22737065633122206f70657261746f723d2261726974686d65746960608201527f6322206b313d223022206b323d223122206b333d223122206b343d223022202f6080820152691f1e17b334b63a32b91f60b11b60a082015260aa0190565b979650505050505050565b60008851613226818460208d016142d1565b80830190507f3c72616469616c4772616469656e742069643d226267222063783d22302e342281527f2063793d22302e33322220723d22322e35223e3c73746f70206f66667365743d602082015274044604a4440e6e8dee05ac6ded8dee47a44d0e6d85605b1b604082015288516132a5816055840160208d016142d1565b600b60fa1b6055929091019182015287516132c7816056840160208c016142d1565b7f252c203430252922202f3e3c73746f70206f66667365743d2232302522207374605692909101918201526d0dee05ac6ded8dee47a44d0e6d8560931b607682015261291661336f6128d46128b36128c061332f61332983608489018f6123f8565b8c6123f8565b7f252c203232252922202f3e3c73746f70206f66667365743d223630252220737481526d0dee05ac6ded8dee47a44d0e6d8560931b6020820152602e0190565b7f252c203130252922202f3e3c2f72616469616c4772616469656e743e3c2f646581526233399f60e91b602082015260230190565b600082516133b68184602087016142d1565b7f3c72616469616c4772616469656e742069643d226222206772616469656e74559201918252507f6e6974733d227573657253706163654f6e55736522206772616469656e74547260208201527f616e73666f726d3d226d61747269782830202d3130302036302030203234392e60408201527f39203136312e37352922207370726561644d6574686f643d227265666c65637460608201527f222066793d22302e392220723d2231222063793d2230222063783d22312e37226080820152601f60f91b60a082015260a101919050565b600083516134998184602088016142d1565b7f3c7061746820643d224d323130203136342e396133342e37362033342e3736209083019081527f30203020312033332e392d33342e37356c362e312d2e313520362e312e31354160208201527f33342e37362033342e373620302030203120323930203136342e39633020312e60408201527f33312d2e363620322e35332d312e373620332e32346c2d33362e30362032332e60608201527f3434613420342030203020312d342e333620306c2d33362e30362d32332e343460808201527f61332e383620332e38362030203020312d312e37362d332e32345a222066696c60a08201527f6c3d2275726c28236229222f3e3c706174682066696c6c2d72756c653d22657660c08201527f656e6f64642220636c69702d72756c653d226576656e6f64642220643d224d3260e08201527f31302e3439203136372e303120323530203139322e32336c33392e35312d32356101008201527f2e323261342e383620342e383620302030203120352e392e3533632e38352e376101208201527f382e383420322e31322d2e303320322e38384c323539203230322e356c2d392d6101408201527f2e352d39202e352d33362e33382d33322e303861312e393420312e39342030206101608201527f3020312d2e30342d322e383820342e383620342e383620302030203120352e396101808201526c16971a99ad11103334b6361e9160991b6101a08201526127ca6127b16101ad8301866123f8565b600083516136c78184602088016142d1565b80830190507f3c7265637420783d22302220793d2230222077696474683d223130302522206881527f65696768743d2231303025222066696c6c3d2275726c282362672922202f3e3c60208201527f672066696c7465723d2275726c28236129223e3c7061746820643d224d32343960408201527f2e3520333433632d33372e3320302d36372e352d33302e322d36372e352d363760608201527f2e357333302e322d36372e352036372e352d36372e352036372e352033302e3260808201527f2036372e352036372e352d33302e322036372e352d36372e352036372e355a2260a0820152681039ba3937b5b29e9160b91b60c082015283516137d28160c98401602088016142d1565b7f22207374726f6b652d77696474683d2231332e38222066696c6c3d226e6f6e6560c992909101918201526211179f60e91b60e982015260ec01949350505050565b60008551613826818460208a016142d1565b7f3c72616469616c4772616469656e742069643d22622220723d2232222063793d9083019081527f2231303025222063783d22333025222066783d2231303025222066793d22313060208201527f25223e3c73746f702073746f702d636f6c6f723d2223374644454646222f3e3c60408201527f73746f70206f66667365743d222e3139222073746f702d636f6c6f723d22234360608201527f4643374641222073746f702d6f7061636974793d222e38222f3e3c73746f702060808201527f6f66667365743d222e3233222073746f702d636f6c6f723d222343454439454460a08201527f222073746f702d6f7061636974793d222e3739222f3e3c73746f70206f66667360c08201527f65743d222e3332222073746f702d6f7061636974793d2231222073746f702d6360e0820152690ded8dee47a44d0e6d8560b31b6101008201526132096139886128d46128c66128c06128b361010a87018c6123f8565b7f252922202f3e3c73746f702073746f702d636f6c6f723d22234546433844442281527f206f66667365743d222e3333222073746f702d6f7061636974793d222e36222f60208201527f3e3c73746f702073746f702d636f6c6f723d222343454439454422206f66667360408201527f65743d222e34222073746f702d6f7061636974793d222e38222f3e3c2f72616460608201526b34b0b623b930b234b2b73a1f60a11b6080820152608c0190565b60008451613a4a8184602089016142d1565b80830190507f3c7061746820643d224d323535203139342e35632d322e3920322d362e37203281527f2d392e3620306c2d34362e342d33312e36632d352e322d332e362d342e392d3160208201527f312e342e362d31342e346c31302d352e3663312e332d2e3720322e372d312e3160408201527f20342e322d312e316837322e3863312e35203020322e392e3420342e3220312e60608201527f316c313020352e3663352e3520332e3120352e382031302e392e362031342e3460808201527f6c2d34362e342033312e365a222066696c6c3d2275726c28236229222f3e3c7060a08201527f61746820643d226d3234392e39203139362e3320352d31312e342d332e322d3260c08201527f322e392d2e382d382e37682d322e386c2d2e3820382e372d322e35342032322e60e0820152731c901a97189a101898971a2d11103334b6361e9160611b6101008201526101148551613baf8183850160208a016142d1565b613d936127b1613d8d84848701017f222f3e3c7061746820643d226d3234352e39203230322e342d352e342e352d3481527f362e392d33332e38632d322e342d312e372d332e392d352e322d332e372d372e60208201527f346c2e392d342e3163302d2e3120302d2e312e312d2e346c312e372d3420332e60408201527f352d2e322d2e3720312e39632d2e332e392d2e3220312e382d2e3120322e387660608201527f2e35632e3320312e3620312e38203320332e3220332e396c33392e342032352e60808201527f3663322e3720312e3820352e3838203020362e39382d332e316c372e3932203160a08201527f3820312e312e3120352e322e352034372e322d333463322e342d312e3720332e60c08201527f392d352e3220332e372d372e346c2d2e392d342e3163302d2e3120302d2e312d60e08201527f2e312d2e346c2d312e372d342d332e352d2e322e3720312e39632e332e392e326101008201527f20312e382e3120322e38762e35632d2e3320312e362d312e3820332d332e32206101208201527f332e396c2d33392e342032352e36632d322e3720312e382d362e31322d2e312d6101408201527f372e31322d332e326c2d3420382e392d332e34382039222066696c6c3d22000061016082015261017e0190565b886123f8565b98975050505050505050565b7f61747472696275746573223a205b7b2274726169745f74797065223a2022437581526d3a111610113b30b63ab2911d101160911b602082015260008651613dee81602e850160208b016142d1565b62089f4b60ea1b602e9184019182018190527f7b2274726169745f74797065223a202242616e6420636f6c6f72222c20227661603183015266363ab2911d101160c91b60518301528751613e49816058850160208c016142d1565b60589201918201527f7b2274726169745f74797065223a20224261636b67726f756e6420636f6c6f72605b82015270044584044ecc2d8eaca44744044d0e6d85607b1b607b820152613d93613f32613f24613f1e613ee6613ed7613ec4613329613eb6608c8a018f6123f8565b61016160f51b815260020190565b66252c203530252960c81b815260070190565b62089f4b60ea1b815260030190565b7f7b2274726169745f74797065223a202247656d20636f6c6f72222c202276616c8152653ab2911d101160d11b602082015260260190565b876123f8565b61227d60f01b815260020190565b605d60f81b815260010190565b630d0e6d8560e31b815260008451613f5e8160048501602089016142d1565b61016160f51b6004918401918201528451613f808160068401602089016142d1565b6201296160ed1b600692909101918201528351613fa48160098401602088016142d1565b61252960f01b60099290910191820152600b0195945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251613ff881601d8501602087016142d1565b91909101601d0192915050565b727b226e616d65223a202230784361726174202360681b815283516000906140348160138501602089016142d1565b7f222c20226465736372697074696f6e223a2022412066756c6c79206f6e2d63686013918401918201527f61696e2072696e6720746f2063656c656272617465206f6e2d636861696e206c60338201527f6f76652e222c2022696d616765223a2022646174613a696d6167652f7376672b60538201526a1e1b5b0ed8985cd94d8d0b60aa1b607382015284516140d181607e8401602089016142d1565b6211161160e91b607e929091019182015283516140f58160818401602088016142d1565b607d60f81b6081929091019182015260820195945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614143908301846123cc565b9695505050505050565b60208152600061219c60208301846123cc565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561428257614282614367565b500190565b6000826142965761429661437d565b500490565b60008160001904831182151516156142b5576142b5614367565b500290565b6000828210156142cc576142cc614367565b500390565b60005b838110156142ec5781810151838201526020016142d4565b838111156108b65750506000910152565b600181811c9082168061431157607f821691505b6020821081141561433257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561434c5761434c614367565b5060010190565b6000826143625761436261437d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d9d57600080fd5b6001600160e01b031981168114610d9d57600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220aa07013df7d5a220232c5ee9ab09780c344ca84ba4b326e3ad203033053936e264736f6c63430008060033

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

000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

-----Decoded View---------------
Arg [0] : _openSeaProxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1


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.