ETH Price: $3,319.57 (-4.10%)

Token

Markov's Dream: Orb (lite) (MDO)
 

Overview

Max Total Supply

512 MDO

Holders

294

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
callil.eth
Balance
1 MDO
0x4defA30195094963cFAc7285d8d6E6E523c7f90D
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:
Orb

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

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

import './SVG.sol';
import './Utils.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import './Base64.sol';

struct Coord {
  uint256 x;
  uint256 y;
}

struct Size {
  uint256 width;
  uint256 height;
}

struct SquirclePoints {
  Coord a;
  Coord b;
  Coord c;
  Coord d;
  uint256 pull;
}

contract Orb is ERC721, Ownable {
  uint16 private _tokenTokenIdMax = 769;
  uint256 private _price = 0.0 ether;
  bool private _paused = true;
  bool private _enableListMintPaused = true;
  address payable private adminWallet =
    payable(0x9011Eb570D1bE09eA4d10f38c119DCDF29725c41);

  uint16 private constant CANVAS_SIZE = 1200;
  mapping(address => uint8) private _enableList;
  string constant JSON_PROTOCOL_URI = 'data:application/json;base64,';
  string constant SVG_PROTOCOL_URI = 'data:image/svg+xml;base64,';
  uint256 private _lastMintedTokenId = 0;

  mapping(uint256 => uint256) public seeds;

  constructor() ERC721("Markov's Dream: Orb (lite)", 'MDO') {}

  function getMaxRings(uint256 seed) private pure returns (uint8) {
    return 10 + utils.randomUint8(seed + 0xff0ff) / 24;
  }

  function getMargin(uint256 seed) private pure returns (uint8) {
    return uint8(CANVAS_SIZE / 2 / getMaxRings(seed));
  }

  function squircle(
    Coord memory position,
    Size memory size,
    uint8 inst,
    uint256 seed
  ) private pure returns (string memory) {
    if (inst > getMaxRings(seed)) return '';
    SquirclePoints memory points = calculatePoints(size.width, seed);

    return
      string.concat(
        svg.el(
          'path',
          string.concat(
            svg.prop(
              'fill',
              string.concat(
                'url("#p',
                utils.uint2str((inst - 1) % getPaletteSize(seed)),
                '")'
              )
            ),
            svg.prop(
              'd',
              string.concat(
                'M',
                coordString(points.a.x + position.x, points.a.y + position.y),
                _squircleC(position, points),
                _squircleS(position, points)
              )
            )
          )
        ),
        nestedSquircle(size.width, inst, inst == 1 ? 0 : getMargin(seed), seed)
      );
  }

  function getPaletteSize(uint256 seed) public pure returns (uint8) {
    uint8 count = utils.randomUint8(seed + 666) / 8 + 1;
    if (count > getMaxRings(seed)) return getMaxRings(seed);
    return count;
  }

  function nestedSquircle(
    uint256 size,
    uint8 inst,
    uint256 margin,
    uint256 seed
  ) private pure returns (string memory) {
    uint256 newSize = size - getMargin(seed) * 2;
    return
      svg.el(
        'svg',
        string.concat(
          svg.prop('x', utils.uint2str(margin)),
          svg.prop('y', utils.uint2str(margin))
        ),
        svg.el(
          'g',
          '',
          string.concat(
            animateTransform(newSize, seed, inst),
            squircle(
              Coord({x: getMargin(seed), y: getMargin(seed)}),
              Size({width: newSize, height: newSize}),
              inst + 1,
              seed
            )
          )
        )
      );
  }

  function animateTransform(
    uint256 width,
    uint256 seed,
    uint8 inst
  ) private pure returns (string memory) {
    uint256 center = (width + getMargin(seed) * 2) / 2;
    string memory centerString = utils.uint2str(center);
    uint8 duration = utils.randomUint8(seed / inst) / 4 + 8;

    return
      string.concat(
        '<animateTransform attributeName="transform" type="rotate" from="0 ',
        centerString,
        ' ',
        centerString,
        '" to="',
        utils.randomUint8(seed + 1001 + inst) > 128 ? '-' : '',
        '360 ',
        centerString,
        ' ',
        centerString,
        '" dur="',
        utils.uint2str(duration),
        's" repeatCount="indefinite"/>'
      );
  }

  function _squircleC(Coord memory position, SquirclePoints memory points)
    private
    pure
    returns (string memory)
  {
    return
      string.concat(
        'C',
        coordString(points.a.x + position.x, points.pull + position.y),
        coordString(points.pull + position.x, points.b.y + position.y),
        coordString(points.b.x + position.x, points.b.y + position.y)
      );
  }

  function _squircleS(Coord memory position, SquirclePoints memory points)
    private
    pure
    returns (string memory)
  {
    return
      string.concat(
        'S',
        coordString(points.c.x + position.x, points.pull + position.y),
        coordString(points.c.x + position.x, points.c.y + position.y),
        coordString(
          points.c.x - points.pull + position.x,
          points.d.y + position.y
        ),
        coordString(points.d.x + position.x, points.d.y + position.y),
        coordString(
          points.a.x + position.x,
          points.d.y - points.pull + position.y
        ),
        coordString(points.a.x + position.x, points.a.y + position.y)
      );
  }

  function getPullDiv(uint256 seed) private pure returns (uint8) {
    if (utils.randomUint8(seed + 0x8f0ff) > 220) {
      return 4;
    }
    uint8 rings = getMaxRings(seed);
    if (rings > 20) {
      return 5;
    }
    if (rings > 13) {
      return 6;
    }
    return 7;
  }

  function curveString(uint256 seed) private pure returns (string memory) {
    uint8 curve = getPullDiv(seed);
    if (curve == 4) {
      return 'light';
    }
    if (curve == 5) {
      return 'mild';
    }
    if (curve == 6) {
      return 'strong';
    }
    return 'extreme';
  }

  function calculatePoints(uint256 size, uint256 seed)
    private
    pure
    returns (SquirclePoints memory)
  {
    return
      SquirclePoints({
        a: Coord({x: 0, y: size / 2}),
        b: Coord({x: size / 2, y: 0}),
        c: Coord({x: size, y: size / 2}),
        d: Coord({x: size / 2, y: size}),
        pull: size / getPullDiv(seed)
      });
  }

  function coordString(uint256 x, uint256 y)
    private
    pure
    returns (string memory)
  {
    return string.concat(utils.uint2str(x), ',', utils.uint2str(y), ' ');
  }

  function defs(uint256 seed) private pure returns (string memory) {
    return svg.el('defs', '', linearGradientRefs(seed));
  }

  function linearGradientRefs(uint256 seed)
    private
    pure
    returns (string memory)
  {
    string memory result = '';
    uint8[3] memory bias = getBias(seed);
    for (uint8 i = 0; i < getMaxRings(seed); i++) {
      result = string.concat(result, linearGradientRef(i, seed, bias));
    }
    return result;
  }

  function getBias(uint256 seed) private pure returns (uint8[3] memory) {
    uint8 bias = utils.randomUint8(seed + 11);
    if (bias > 191) return [10, 20, 16]; // warm
    if (bias > 127) return [13, 13, 10]; // cold
    if (bias > 64) return [10, 10, 10]; // unbiased
    return [10, 13, 12]; // reddish
  }

  function getBiasString(uint256 seed) public pure returns (string memory) {
    uint8 bias = utils.randomUint8(seed + 11);
    if (bias > 191) return 'horny';
    if (bias > 127) return 'deep';
    if (bias > 64) return 'innocent';
    return 'vivid';
  }

  function randomColor(uint256 seed, uint8[3] memory bias)
    private
    pure
    returns (string memory)
  {
    return
      string.concat(
        'rgba(',
        utils.uint2str((utils.randomUint8(seed) / bias[0]) * 10),
        ',',
        utils.uint2str((utils.randomUint8(seed + 10) / bias[1]) * 10),
        ',',
        utils.uint2str((utils.randomUint8(seed + 20) / bias[2]) * 10),
        ',0.',
        utils.uint2str(utils.randomUint8(seed + 30)),
        ')'
      );
  }

  function linearGradientRef(
    uint8 id,
    uint256 seed,
    uint8[3] memory bias
  ) private pure returns (string memory) {
    return
      svg.el(
        'linearGradient',
        string.concat(
          svg.prop('id', string.concat('p', utils.uint2str(id))),
          svg.prop('x2', '0'),
          svg.prop('y2', '1')
        ),
        string.concat(
          svg.el(
            'stop',
            string.concat(
              svg.prop('stop-color', randomColor(seed + 100 + id, bias)),
              svg.prop('offset', '0')
            )
          ),
          svg.el(
            'stop',
            string.concat(
              svg.prop('stop-color', randomColor(seed + 200 + id, bias)),
              svg.prop('offset', '1')
            )
          )
        )
      );
  }

  function render(uint256 seed) public pure returns (string memory) {
    return
      string.concat(
        '<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1200" viewBox="0 0 1200 1200">',
        defs(seed),
        squircle(
          Coord({x: 0, y: 0}),
          Size({width: CANVAS_SIZE, height: CANVAS_SIZE}),
          1,
          seed
        ),
        '</svg>'
      );
  }

  function getSVG(uint256 seed) public pure returns (string memory) {
    return Base64.encode(abi.encodePacked(render(seed)));
  }

  function example() external pure returns (string memory) {
    return
      render(
        12092617800810096820759526468342665250412819988344321001321974471951203194760
      );
  }

  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(tokenId),
      'ERC721Metadata: URI query for nonexistent token'
    );

    bytes memory image = abi.encodePacked(
      SVG_PROTOCOL_URI,
      getSVG(seeds[tokenId])
    );

    bytes memory json = abi.encodePacked(
      '{"name":"',
      'Orb (lite) #',
      utils.uint2str(tokenId),
      '",',
      '"description":"On-chain rotating nested squircles by Harm van den Dorpel, 2022",',
      '"image":"',
      image,
      traitsString(seeds[tokenId]),
      '"}]}'
    );
    return string(abi.encodePacked(JSON_PROTOCOL_URI, Base64.encode(json)));
  }

  function traitsString(uint256 seed) private pure returns (bytes memory) {
    return
      abi.encodePacked(
        '","attributes":[{"trait_type":"Colours","value":"',
        utils.uint2str(getPaletteSize(seed)),
        '"},{"trait_type": "Temperament", "value": "',
        getBiasString(seed),
        '"},{"trait_type":"Rings","value":"',
        utils.uint2str(getMaxRings(seed)),
        '"},{"trait_type":"Curve","value":"',
        curveString(seed)
      );
  }

  function mint(address recipient) external payable {
    require(!_paused, 'not activated yet');
    require(msg.value >= _price, 'send more ether');
    
    _mint(recipient);
    adminWallet.transfer(msg.value);
  }

  function _mint(address recipient) private {
    require(_lastMintedTokenId < _tokenTokenIdMax, 'all minted');
    _lastMintedTokenId = _lastMintedTokenId + 1;
    uint256 sender = uint256(uint160(address(msg.sender)));
    seeds[_lastMintedTokenId] =
      uint256(blockhash(block.number - 1)) +
      sender +
      _lastMintedTokenId;
    _safeMint(recipient, _lastMintedTokenId);
  }

  function setTokenIdMax(uint16 newTokenIdMax) external onlyOwner {
    _tokenTokenIdMax = newTokenIdMax;
  }

  function setPaused(bool newPaused) external onlyOwner {
    _paused = newPaused;
  }

  function setEnableListPaused(bool newPaused) external onlyOwner {
    _enableListMintPaused = newPaused;
  }

  function adminMint(address recipient) external onlyOwner {
    _mint(recipient);
  }

  function updateAdminWallet(address payable _adminWallet) external onlyOwner {
    adminWallet = _adminWallet;
  }

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

  function getPrice() public view returns (uint256) {
    return _price;
  }

  function totalSupply() public view returns (uint256) {
    return _lastMintedTokenId;
  }

  function setEnableListMultiple(address[] memory recipients, uint8 count)
    external
    onlyOwner
  {
    for (uint256 i = 0; i < recipients.length; i++) {
      _enableList[recipients[i]] = count;
    }
  }

  function setEnableList(address recipient, uint8 count) external onlyOwner {
    _enableList[recipient] = count;
  }

  function getEnableList(address recipient) external view returns (uint8) {
    return _enableList[recipient];
  }

  function mintFromEnableList(address recipient) external payable {
    require(!_enableListMintPaused, 'enableList paused');
    require(_enableList[recipient] > 0, 'no credits on enablelist');
    require(msg.value >= _price, 'send more ether');

    _mint(recipient);
    _enableList[recipient] -= 1;
    adminWallet.transfer(msg.value);
  }
}

File 2 of 14 : SVG.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import './Utils.sol';

// Core SVG utilitiy library which helps us construct
// onchain SVG's with a simple, web-like API.
library svg {
    /* MAIN ELEMENTS */
    function g(string memory _props, string memory _children)
        internal
        pure
        returns (string memory)
    {
        return el('g', _props, _children);
    }

    function path(string memory _props, string memory _children)
        internal
        pure
        returns (string memory)
    {
        return el('path', _props, _children);
    }

    function text(string memory _props, string memory _children)
        internal
        pure
        returns (string memory)
    {
        return el('text', _props, _children);
    }

    function line(string memory _props, string memory _children)
        internal
        pure
        returns (string memory)
    {
        return el('line', _props, _children);
    }

    function circle(string memory _props, string memory _children)
        internal
        pure
        returns (string memory)
    {
        return el('circle', _props, _children);
    }

    function circle(string memory _props)
        internal
        pure
        returns (string memory)
    {
        return el('circle', _props);
    }

    function rect(string memory _props, string memory _children)
        internal
        pure
        returns (string memory)
    {
        return el('rect', _props, _children);
    }

    function rect(string memory _props)
        internal
        pure
        returns (string memory)
    {
        return el('rect', _props);
    }

    function filter(string memory _props, string memory _children)
        internal
        pure
        returns (string memory)
    {
        return el('filter', _props, _children);
    }

    function cdata(string memory _content)
        internal
        pure
        returns (string memory)
    {
        return string.concat('<![CDATA[', _content, ']]>');
    }

    /* GRADIENTS */
    function radialGradient(string memory _props, string memory _children)
        internal
        pure
        returns (string memory)
    {
        return el('radialGradient', _props, _children);
    }

    function linearGradient(string memory _props, string memory _children)
        internal
        pure
        returns (string memory)
    {
        return el('linearGradient', _props, _children);
    }

    function gradientStop(
        uint256 offset,
        string memory stopColor,
        string memory _props
    ) internal pure returns (string memory) {
        return
            el(
                'stop',
                string.concat(
                    prop('stop-color', stopColor),
                    ' ',
                    prop('offset', string.concat(utils.uint2str(offset), '%')),
                    ' ',
                    _props
                )
            );
    }

    function animateTransform(string memory _props)
        internal
        pure
        returns (string memory)
    {
        return el('animateTransform', _props);
    }

    function image(string memory _href, string memory _props)
        internal
        pure
        returns (string memory)
    {
        return
            el(
                'image',
                string.concat(prop('href', _href), ' ', _props)
            );
    }

    /* COMMON */
    // A generic element, can be used to construct any SVG (or HTML) element
    function el(
        string memory _tag,
        string memory _props,
        string memory _children
    ) internal pure returns (string memory) {
        return
            string.concat(
                '<',
                _tag,
                ' ',
                _props,
                '>',
                _children,
                '</',
                _tag,
                '>'
            );
    }

    // A generic element, can be used to construct any SVG (or HTML) element without children
    function el(
        string memory _tag,
        string memory _props
    ) internal pure returns (string memory) {
        return
            string.concat(
                '<',
                _tag,
                ' ',
                _props,
                '/>'
            );
    }

    // an SVG attribute
    function prop(string memory _key, string memory _val)
        internal
        pure
        returns (string memory)
    {
        return string.concat(_key, '=', '"', _val, '" ');
    }
}

File 3 of 14 : Utils.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

// Core utils used extensively to format CSS and numbers.
library utils {
    // used to simulate empty strings
    string internal constant NULL = '';

    // formats a CSS variable line. includes a semicolon for formatting.
    function setCssVar(string memory _key, string memory _val)
        internal
        pure
        returns (string memory)
    {
        return string.concat('--', _key, ':', _val, ';');
    }

    // formats getting a css variable
    function getCssVar(string memory _key)
        internal
        pure
        returns (string memory)
    {
        return string.concat('var(--', _key, ')');
    }

    // formats getting a def URL
    function getDefURL(string memory _id)
        internal
        pure
        returns (string memory)
    {
        return string.concat('url(#', _id, ')');
    }

    // formats rgba white with a specified opacity / alpha
    function white_a(uint256 _a) internal pure returns (string memory) {
        return rgba(255, 255, 255, _a);
    }

    // formats rgba black with a specified opacity / alpha
    function black_a(uint256 _a) internal pure returns (string memory) {
        return rgba(0, 0, 0, _a);
    }

    // formats generic rgba color in css
    function rgba(
        uint256 _r,
        uint256 _g,
        uint256 _b,
        uint256 _a
    ) internal pure returns (string memory) {
        string memory formattedA = _a < 100
            ? string.concat('0.', utils.uint2str(_a))
            : '1';
        return
            string.concat(
                'rgba(',
                utils.uint2str(_r),
                ',',
                utils.uint2str(_g),
                ',',
                utils.uint2str(_b),
                ',',
                formattedA,
                ')'
            );
    }

    // checks if two strings are equal
    function stringsEqual(string memory _a, string memory _b)
        internal
        pure
        returns (bool)
    {
        return
            keccak256(abi.encodePacked(_a)) == keccak256(abi.encodePacked(_b));
    }

    // returns the length of a string in characters
    function utfStringLength(string memory _str)
        internal
        pure
        returns (uint256 length)
    {
        uint256 i = 0;
        bytes memory string_rep = bytes(_str);

        while (i < string_rep.length) {
            if (string_rep[i] >> 7 == 0) i += 1;
            else if (string_rep[i] >> 5 == bytes1(uint8(0x6))) i += 2;
            else if (string_rep[i] >> 4 == bytes1(uint8(0xE))) i += 3;
            else if (string_rep[i] >> 3 == bytes1(uint8(0x1E)))
                i += 4;
                //For safety
            else i += 1;

            length++;
        }
    }

    // converts an unsigned integer to a string
    function uint2str(uint256 _i)
        internal
        pure
        returns (string memory _uintAsString)
    {
        if (_i == 0) {
            return '0';
        }
        uint256 j = _i;
        uint256 len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint256 k = len;
        while (_i != 0) {
            k = k - 1;
            uint8 temp = (48 + uint8(_i - (_i / 10) * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }
        return string(bstr);
    }

    function randomUint8(uint256 seed) internal pure returns (uint8) {
        return uint8(uint256(keccak256(abi.encodePacked(seed))));
    }
}

File 4 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

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 6 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 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 7 of 14 : Base64.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

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

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return "";

        // load the table into memory
        string memory table = TABLE;

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

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

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

            } lt(dataPtr, endPtr) {

            } {
                dataPtr := add(dataPtr, 3)

                // read 3 bytes
                let input := mload(dataPtr)

                // write 4 characters
                mstore(
                    resultPtr,
                    shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                )
                resultPtr := add(resultPtr, 1)
                mstore(
                    resultPtr,
                    shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                )
                resultPtr := add(resultPtr, 1)
                mstore(
                    resultPtr,
                    shl(248, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                )
                resultPtr := add(resultPtr, 1)
                mstore(
                    resultPtr,
                    shl(248, mload(add(tablePtr, and(input, 0x3F))))
                )
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }
        }

        return result;
    }
}

File 8 of 14 : Context.sol
// SPDX-License-Identifier: MIT

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 9 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

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 10 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 11 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 12 of 14 : Address.sol
// SPDX-License-Identifier: MIT

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 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

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

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"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"example","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"getBiasString","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"getEnableList","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"getPaletteSize","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"getSVG","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"mintFromEnableList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"render","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"seeds","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":"address","name":"recipient","type":"address"},{"internalType":"uint8","name":"count","type":"uint8"}],"name":"setEnableList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint8","name":"count","type":"uint8"}],"name":"setEnableListMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newPaused","type":"bool"}],"name":"setEnableListPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newPaused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newTokenIdMax","type":"uint16"}],"name":"setTokenIdMax","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_adminWallet","type":"address"}],"name":"updateAdminWallet","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526006805461ffff60a01b191661030160a01b17905560006007819055600880546001600160b01b031916759011eb570d1be09ea4d10f38c119dcdf29725c410101179055600a553480156200005857600080fd5b50604080518082018252601a81527f4d61726b6f76277320447265616d3a204f726220286c697465290000000000006020808301918252835180850190945260038452624d444f60e81b908401528151919291620000b99160009162000148565b508051620000cf90600190602084019062000148565b505050620000ec620000e6620000f260201b60201c565b620000f6565b6200022a565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015690620001ee565b90600052602060002090601f0160209004810192826200017a5760008555620001c5565b82601f106200019557805160ff1916838001178555620001c5565b82800160010185558215620001c5579182015b82811115620001c5578251825591602001919060010190620001a8565b50620001d3929150620001d7565b5090565b5b80821115620001d35760008155600101620001d8565b600181811c908216806200020357607f821691505b6020821081036200022457634e487b7160e01b600052602260045260246000fd5b50919050565b613c6e806200023a6000396000f3fe6080604052600436106102045760003560e01c806383a6d35311610118578063be985ac9116100a0578063de7b31071161006f578063de7b3107146105e9578063e985e9c514610609578063f0503e8014610652578063f2fde38b1461067f578063f561162c1461069f57600080fd5b8063be985ac914610569578063c321118c14610589578063c87b56dd146105a9578063d3089341146105c957600080fd5b806395d89b41116100e757806395d89b41146104df5780639769dc0e146104f457806398d5fdca14610514578063a22cb46514610529578063b88d4fde1461054957600080fd5b806383a6d353146104365780638da5cb5b1461048157806391b7f5ed1461049f57806393ee922a146104bf57600080fd5b806342842e0e1161019b5780636352211e1161016a5780636352211e146103ae57806367ab6636146103ce5780636a627842146103ee57806370a0823114610401578063715018a61461042157600080fd5b806342842e0e1461033957806354353f2f146103595780635eec08701461036e5780635f7470171461038e57600080fd5b8063095ea7b3116101d7578063095ea7b3146102ba57806316c38b3c146102da57806318160ddd146102fa57806323b872dd1461031957600080fd5b806301ffc9a71461020957806304830dda1461023e57806306fdde0314610260578063081812fc14610282575b600080fd5b34801561021557600080fd5b50610229610224366004612c67565b6106b2565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b5061025e610259366004612caf565b610704565b005b34801561026c57600080fd5b50610275610764565b6040516102359190612d3c565b34801561028e57600080fd5b506102a261029d366004612d4f565b6107f6565b6040516001600160a01b039091168152602001610235565b3480156102c657600080fd5b5061025e6102d5366004612d68565b61088b565b3480156102e657600080fd5b5061025e6102f5366004612da4565b6109a0565b34801561030657600080fd5b50600a545b604051908152602001610235565b34801561032557600080fd5b5061025e610334366004612dbf565b6109dd565b34801561034557600080fd5b5061025e610354366004612dbf565b610a0e565b34801561036557600080fd5b50610275610a29565b34801561037a57600080fd5b5061025e610389366004612e00565b610a59565b34801561039a57600080fd5b5061025e6103a9366004612da4565b610aad565b3480156103ba57600080fd5b506102a26103c9366004612d4f565b610af1565b3480156103da57600080fd5b506102756103e9366004612d4f565b610b68565b61025e6103fc366004612e00565b610c33565b34801561040d57600080fd5b5061030b61041c366004612e00565b610d0c565b34801561042d57600080fd5b5061025e610d93565b34801561044257600080fd5b5061046f610451366004612e00565b6001600160a01b031660009081526009602052604090205460ff1690565b60405160ff9091168152602001610235565b34801561048d57600080fd5b506006546001600160a01b03166102a2565b3480156104ab57600080fd5b5061025e6104ba366004612d4f565b610dc9565b3480156104cb57600080fd5b5061025e6104da366004612e1d565b610df8565b3480156104eb57600080fd5b50610275610e44565b34801561050057600080fd5b5061025e61050f366004612e00565b610e53565b34801561052057600080fd5b5060075461030b565b34801561053557600080fd5b5061025e610544366004612e41565b610e89565b34801561055557600080fd5b5061025e610564366004612eb4565b610f4d565b34801561057557600080fd5b50610275610584366004612d4f565b610f85565b34801561059557600080fd5b506102756105a4366004612d4f565b610fb7565b3480156105b557600080fd5b506102756105c4366004612d4f565b61101e565b3480156105d557600080fd5b5061046f6105e4366004612d4f565b6111bb565b3480156105f557600080fd5b5061025e610604366004612f78565b61120c565b34801561061557600080fd5b5061022961062436600461303c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561065e57600080fd5b5061030b61066d366004612d4f565b600b6020526000908152604090205481565b34801561068b57600080fd5b5061025e61069a366004612e00565b6112ac565b61025e6106ad366004612e00565b611344565b60006001600160e01b031982166380ac58cd60e01b14806106e357506001600160e01b03198216635b5e139f60e01b145b806106fe57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b031633146107375760405162461bcd60e51b815260040161072e90613075565b60405180910390fd5b6001600160a01b03919091166000908152600960205260409020805460ff191660ff909216919091179055565b606060008054610773906130aa565b80601f016020809104026020016040519081016040528092919081815260200182805461079f906130aa565b80156107ec5780601f106107c1576101008083540402835291602001916107ec565b820191906000526020600020905b8154815290600101906020018083116107cf57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661086f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161072e565b506000908152600460205260409020546001600160a01b031690565b600061089682610af1565b9050806001600160a01b0316836001600160a01b0316036109035760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161072e565b336001600160a01b038216148061091f575061091f8133610624565b6109915760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161072e565b61099b83836114d7565b505050565b6006546001600160a01b031633146109ca5760405162461bcd60e51b815260040161072e90613075565b6008805460ff1916911515919091179055565b6109e73382611545565b610a035760405162461bcd60e51b815260040161072e906130e4565b61099b83838361163c565b61099b83838360405180602001604052806000815250610f4d565b6060610a547f1abc2ddb3f2c534d860b39b9963c1ee530a4799e38f2032c479e01ba03105788610fb7565b905090565b6006546001600160a01b03163314610a835760405162461bcd60e51b815260040161072e90613075565b600880546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6006546001600160a01b03163314610ad75760405162461bcd60e51b815260040161072e90613075565b600880549115156101000261ff0019909216919091179055565b6000818152600260205260408120546001600160a01b0316806106fe5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161072e565b60606000610b7f610b7a84600b61314b565b6117dc565b905060bf8160ff161115610bb0575050604080518082019091526005815264686f726e7960d81b6020820152919050565b607f8160ff161115610bde5750506040805180820190915260048152630646565760e41b6020820152919050565b60408160ff161115610c105750506040805180820190915260088152671a5b9b9bd8d95b9d60c21b6020820152919050565b50506040805180820190915260058152641d9a5d9a5960da1b6020820152919050565b60085460ff1615610c7a5760405162461bcd60e51b81526020600482015260116024820152701b9bdd081858dd1a5d985d1959081e595d607a1b604482015260640161072e565b600754341015610cbe5760405162461bcd60e51b815260206004820152600f60248201526e39b2b7321036b7b9329032ba3432b960891b604482015260640161072e565b610cc78161180f565b6008546040516001600160a01b036201000090920491909116903480156108fc02916000818181858888f19350505050158015610d08573d6000803e3d6000fd5b5050565b60006001600160a01b038216610d775760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161072e565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610dbd5760405162461bcd60e51b815260040161072e90613075565b610dc760006118b3565b565b6006546001600160a01b03163314610df35760405162461bcd60e51b815260040161072e90613075565b600755565b6006546001600160a01b03163314610e225760405162461bcd60e51b815260040161072e90613075565b6006805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b606060018054610773906130aa565b6006546001600160a01b03163314610e7d5760405162461bcd60e51b815260040161072e90613075565b610e868161180f565b50565b336001600160a01b03831603610ee15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161072e565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f573383611545565b610f735760405162461bcd60e51b815260040161072e906130e4565b610f7f84848484611905565b50505050565b60606106fe610f9383610fb7565b604051602001610fa3919061317f565b604051602081830303815290604052611938565b6060610fc282611a9f565b604080518082018252600080825260208083019190915282518084019093526104b080845290830152610ff791600186611adf565b60405160200161100892919061319b565b6040516020818303038152906040529050919050565b6000818152600260205260409020546060906001600160a01b031661109d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161072e565b60006040518060400160405280601a81526020017f646174613a696d6167652f7376672b786d6c3b6261736536342c0000000000008152506110f1600b600086815260200190815260200160002054610f85565b604051602001611102929190613255565b6040516020818303038152906040529050600061111e84611c9a565b6000858152600b6020526040902054839061113890611dc6565b60405160200161114a93929190613284565b60408051601f19818403018152828201909152601d82527f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006020830152915061119282611938565b6040516020016111a3929190613255565b60405160208183030381529060405292505050919050565b60008060086111cf610b7a8561029a61314b565b6111d991906133a1565b6111e49060016133c3565b90506111ef83611e05565b60ff168160ff1611156106fe5761120583611e05565b9392505050565b6006546001600160a01b031633146112365760405162461bcd60e51b815260040161072e90613075565b60005b825181101561099b578160096000858481518110611259576112596133e8565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908360ff16021790555080806112a4906133fe565b915050611239565b6006546001600160a01b031633146112d65760405162461bcd60e51b815260040161072e90613075565b6001600160a01b03811661133b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161072e565b610e86816118b3565b600854610100900460ff16156113905760405162461bcd60e51b8152602060048201526011602482015270195b98589b19531a5cdd081c185d5cd959607a1b604482015260640161072e565b6001600160a01b03811660009081526009602052604090205460ff166113f85760405162461bcd60e51b815260206004820152601860248201527f6e6f2063726564697473206f6e20656e61626c656c6973740000000000000000604482015260640161072e565b60075434101561143c5760405162461bcd60e51b815260206004820152600f60248201526e39b2b7321036b7b9329032ba3432b960891b604482015260640161072e565b6114458161180f565b6001600160a01b038116600090815260096020526040812080546001929061147190849060ff16613417565b92506101000a81548160ff021916908360ff160217905550600860029054906101000a90046001600160a01b03166001600160a01b03166108fc349081150290604051600060405180830381858888f19350505050158015610d08573d6000803e3d6000fd5b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061150c82610af1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166115be5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161072e565b60006115c983610af1565b9050806001600160a01b0316846001600160a01b031614806116045750836001600160a01b03166115f9846107f6565b6001600160a01b0316145b8061163457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661164f82610af1565b6001600160a01b0316146116b75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161072e565b6001600160a01b0382166117195760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161072e565b6117246000826114d7565b6001600160a01b038316600090815260036020526040812080546001929061174d90849061343a565b90915550506001600160a01b038216600090815260036020526040812080546001929061177b90849061314b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000816040516020016117f191815260200190565b60408051601f19818403018152919052805160209091012092915050565b600654600a54600160a01b90910461ffff161161185b5760405162461bcd60e51b815260206004820152600a602482015269185b1b081b5a5b9d195960b21b604482015260640161072e565b600a5461186990600161314b565b600a81905533908161187c60014361343a565b61188791904061314b565b611891919061314b565b600a80546000908152600b602052604090209190915554610d08908390611e2e565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61191084848461163c565b61191c84848484611e48565b610f7f5760405162461bcd60e51b815260040161072e90613451565b6060815160000361195757505060408051602081019091526000815290565b6000604051806060016040528060408152602001613bf96040913990506000600384516002611986919061314b565b61199091906134a3565b61199b9060046134b7565b905060006119aa82602061314b565b67ffffffffffffffff8111156119c2576119c2612e6d565b6040519080825280601f01601f1916602001820160405280156119ec576020820181803683370190505b509050818152600183018586518101602084015b81831015611a5a5760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b93820193909352600401611a00565b600389510660018114611a745760028114611a8557611a91565b613d3d60f01b600119830152611a91565b603d60f81b6000198301525b509398975050505050505050565b60606106fe604051806040016040528060048152602001636465667360e01b81525060405180602001604052806000815250611ada85611f46565b611fc8565b6060611aea82611e05565b60ff168360ff161115611b0c5750604080516020810190915260008152611634565b6000611b1c856000015184611ff9565b9050611c43604051806040016040528060048152602001630e0c2e8d60e31b815250611bab60405180604001604052806004815260200163199a5b1b60e21b815250611b87611b6a886111bb565b611b7560018b613417565b611b7f91906134d6565b60ff16611c9a565b604051602001611b9791906134f8565b6040516020818303038152906040526120c0565b6040805180820190915260018152601960fa1b60208201528951855151611c1e9291611bf891611bdb919061314b565b8c60200151886000015160200151611bf3919061314b565b6120ec565b611c028c88612111565b611c0c8d896121a6565b604051602001611b979392919061353d565b604051602001611c2f929190613255565b6040516020818303038152906040526122ce565b8551611c6f9086600160ff821614611c6357611c5e876122e3565b611c66565b60005b60ff1687612308565b604051602001611c80929190613255565b604051602081830303815290604052915050949350505050565b606081600003611cc15750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ceb5780611cd5816133fe565b9150611ce49050600a836134a3565b9150611cc5565b60008167ffffffffffffffff811115611d0657611d06612e6d565b6040519080825280601f01601f191660200182016040528015611d30576020820181803683370190505b509050815b8515611dbd57611d4660018261343a565b90506000611d55600a886134a3565b611d6090600a6134b7565b611d6a908861343a565b611d759060306133c3565b905060008160f81b905080848481518110611d9257611d926133e8565b60200101906001600160f81b031916908160001a905350611db4600a896134a3565b97505050611d35565b50949350505050565b6060611dd4611b7f836111bb565b611ddd83610b68565b611de9611b7f85611e05565b611df285612471565b6040516020016110089493929190613593565b60006018611e19610b7a84620ff0ff61314b565b611e2391906133a1565b6106fe90600a6133c3565b610d0882826040518060200160405280600081525061252f565b60006001600160a01b0384163b15611f3e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e8c9033908990889088906004016136c9565b6020604051808303816000875af1925050508015611ec7575060408051601f3d908101601f19168201909252611ec4918101906136fc565b60015b611f24573d808015611ef5576040519150601f19603f3d011682016040523d82523d6000602084013e611efa565b606091505b508051600003611f1c5760405162461bcd60e51b815260040161072e90613451565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611634565b506001611634565b6040805160208101909152600080825260609190611f6384612562565b905060005b611f7185611e05565b60ff168160ff161015611fbf5782611f8a828785612632565b604051602001611f9b929190613255565b60405160208183030381529060405292508080611fb790613719565b915050611f68565b50909392505050565b606083838386604051602001611fe19493929190613738565b60405160208183030381529060405290509392505050565b612001612ba2565b6040805160e08101909152600060a08201908152819060c082016120266002886134a3565b8152508152602001604051806040016040528060028761204691906134a3565b815260200160008152508152602001604051806040016040528086815260200160028761207391906134a3565b8152508152602001604051806040016040528060028761209391906134a3565b81526020018681525081526020016120aa84612880565b6120b79060ff16866134a3565b90529392505050565b606082826040516020016120d59291906137d1565b604051602081830303815290604052905092915050565b60606120f783611c9a565b61210083611c9a565b6040516020016120d5929190613826565b815181515160609161213b91612127919061314b565b84602001518460800151611bf3919061314b565b835160808401516121679161214f9161314b565b8560200151856020015160200151611bf3919061314b565b84516020850151516121949161217c9161314b565b8660200151866020015160200151611bf3919061314b565b6040516020016120d593929190613870565b81516040820151516060916121bf91612127919061314b565b83516040840151516121ec916121d49161314b565b8560200151856040015160200151611bf3919061314b565b8451608085015160408601515161222992916122079161343a565b612211919061314b565b8660200151866060015160200151611bf3919061314b565b85516060860151516122569161223e9161314b565b8760200151876060015160200151611bf3919061314b565b865186515161228f916122689161314b565b88602001518860800151896060015160200151612285919061343a565b611bf3919061314b565b87518751516122b9916122a19161314b565b8960200151896000015160200151611bf3919061314b565b6040516020016120d59695949392919061388c565b606082826040516020016120d5929190613923565b60006122ee82611e05565b60ff166122fe60026104b061397b565b6106fe919061397b565b60606000612315836122e3565b61232090600261399c565b61232d9060ff168761343a565b90506124676040518060400160405280600381526020016273766760e81b815250612379604051806040016040528060018152602001600f60fb1b81525061237488611c9a565b6120c0565b61239f604051806040016040528060018152602001607960f81b81525061237489611c9a565b6040516020016123b0929190613255565b60408051601f19818403018152828201825260018352606760f81b60208481019190915282519081019092526000825291611ada916123f0878a8d6128e5565b61244260405180604001604052806124078d6122e3565b60ff1681526020016124188d6122e3565b60ff169052604080518082019091528a8152602081018b905261243c8f60016133c3565b8d611adf565b604051602001612453929190613255565b604051602081830303815290604052611fc8565b9695505050505050565b6060600061247e83612880565b90508060ff166004036124ae5750506040805180820190915260058152641b1a59da1d60da1b6020820152919050565b8060ff166005036124db5750506040805180820190915260048152631b5a5b1960e21b6020820152919050565b8060ff1660060361250a5750506040805180820190915260068152657374726f6e6760d01b6020820152919050565b505060408051808201909152600781526665787472656d6560c81b6020820152919050565b61253983836129e7565b6125466000848484611e48565b61099b5760405162461bcd60e51b815260040161072e90613451565b61256a612c33565b600061257a610b7a84600b61314b565b905060bf8160ff1611156125ad57505060408051606081018252600a815260146020820152601091810191909152919050565b607f8160ff1611156125dd57505060408051606081018252600d8082526020820152600a91810191909152919050565b60408160ff16111561260d57505060408051606081018252600a8082526020820181905291810191909152919050565b505060408051606081018252600a8152600d6020820152600c91810191909152919050565b60606116346040518060400160405280600e81526020016d1b1a5b99585c91dc98591a595b9d60921b815250612698604051806040016040528060028152602001611a5960f21b8152506126888860ff16611c9a565b604051602001611b9791906139c5565b6126d5604051806040016040528060028152602001613c1960f11b815250604051806040016040528060018152602001600360fc1b8152506120c0565b612712604051806040016040528060028152602001613c9960f11b815250604051806040016040528060018152602001603160f81b8152506120c0565b604051602001612724939291906139ee565b60408051601f1981840301815282820182526004835263073746f760e41b6020848101919091528251808401909352600a83526939ba37b816b1b7b637b960b11b90830152916127d5916127949061237460ff8c166127848c606461314b565b61278e919061314b565b8a612b29565b611c1e604051806040016040528060068152602001651bd9999cd95d60d21b815250604051806040016040528060018152602001600360fc1b8152506120c0565b61244260405180604001604052806004815260200163073746f760e41b81525061283f6040518060400160405280600a81526020016939ba37b816b1b7b637b960b11b8152506123748c60ff168c60c861282f919061314b565b612839919061314b565b8b612b29565b611c1e604051806040016040528060068152602001651bd9999cd95d60d21b815250604051806040016040528060018152602001603160f81b8152506120c0565b600060dc612894610b7a846208f0ff61314b565b60ff1611156128a557506004919050565b60006128b083611e05565b905060148160ff1611156128c75750600592915050565b600d8160ff1611156128dc5750600692915050565b50600792915050565b6060600060026128f4856122e3565b6128ff90600261399c565b61290c9060ff168761314b565b61291691906134a3565b9050600061292382611c9a565b905060006004612939610b7a60ff8816896134a3565b61294391906133a1565b61294e9060086133c3565b90508180608061297160ff89166129678b6103e961314b565b610b7a919061314b565b60ff161161298e57604051806020016040528060008152506129a9565b604051806040016040528060018152602001602d60f81b8152505b84856129b78660ff16611c9a565b6040516020016129cc96959493929190613a31565b60405160208183030381529060405293505050509392505050565b6001600160a01b038216612a3d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161072e565b6000818152600260205260409020546001600160a01b031615612aa25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161072e565b6001600160a01b0382166000908152600360205260408120805460019290612acb90849061314b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8051606090612b5090612b3b856117dc565b612b4591906133a1565b611b7f90600a61399c565b6020830151612b6790612b3b610b7a87600a61314b565b6040840151612b7e90612b3b610b7a88601461314b565b612b8f611b7f610b7a88601e61314b565b6040516020016120d59493929190613b5a565b6040805160e08101909152600060a0820181815260c083019190915281908152602001612be2604051806040016040528060008152602001600081525090565b8152602001612c04604051806040016040528060008152602001600081525090565b8152602001612c26604051806040016040528060008152602001600081525090565b8152602001600081525090565b60405180606001604052806003906020820280368337509192915050565b6001600160e01b031981168114610e8657600080fd5b600060208284031215612c7957600080fd5b813561120581612c51565b6001600160a01b0381168114610e8657600080fd5b803560ff81168114612caa57600080fd5b919050565b60008060408385031215612cc257600080fd5b8235612ccd81612c84565b9150612cdb60208401612c99565b90509250929050565b60005b83811015612cff578181015183820152602001612ce7565b83811115610f7f5750506000910152565b60008151808452612d28816020860160208601612ce4565b601f01601f19169290920160200192915050565b6020815260006112056020830184612d10565b600060208284031215612d6157600080fd5b5035919050565b60008060408385031215612d7b57600080fd5b8235612d8681612c84565b946020939093013593505050565b80358015158114612caa57600080fd5b600060208284031215612db657600080fd5b61120582612d94565b600080600060608486031215612dd457600080fd5b8335612ddf81612c84565b92506020840135612def81612c84565b929592945050506040919091013590565b600060208284031215612e1257600080fd5b813561120581612c84565b600060208284031215612e2f57600080fd5b813561ffff8116811461120557600080fd5b60008060408385031215612e5457600080fd5b8235612e5f81612c84565b9150612cdb60208401612d94565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612eac57612eac612e6d565b604052919050565b60008060008060808587031215612eca57600080fd5b8435612ed581612c84565b9350602085810135612ee681612c84565b935060408601359250606086013567ffffffffffffffff80821115612f0a57600080fd5b818801915088601f830112612f1e57600080fd5b813581811115612f3057612f30612e6d565b612f42601f8201601f19168501612e83565b91508082528984828501011115612f5857600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215612f8b57600080fd5b823567ffffffffffffffff80821115612fa357600080fd5b818501915085601f830112612fb757600080fd5b8135602082821115612fcb57612fcb612e6d565b8160051b9250612fdc818401612e83565b8281529284018101928181019089851115612ff657600080fd5b948201945b84861015613020578535935061301084612c84565b8382529482019490820190612ffb565b965061302f9050878201612c99565b9450505050509250929050565b6000806040838503121561304f57600080fd5b823561305a81612c84565b9150602083013561306a81612c84565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806130be57607f821691505b6020821081036130de57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561315e5761315e613135565b500190565b60008151613175818560208601612ce4565b9290920192915050565b60008251613191818460208701612ce4565b9190910192915050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323081527f30302f737667222077696474683d223132303022206865696768743d2231323060208201527f30222076696577426f783d2230203020313230302031323030223e000000000060408201526000835161321f81605b850160208801612ce4565b83519083019061323681605b840160208801612ce4565b651e17b9bb339f60d11b605b9290910191820152606101949350505050565b60008351613267818460208801612ce4565b83519083019061327b818360208801612ce4565b01949350505050565b683d913730b6b2911d1160b91b81526b4f726220286c69746529202360a01b600982015283516000906132be816015850160208901612ce4565b61088b60f21b6015918401918201527f226465736372697074696f6e223a224f6e2d636861696e20726f746174696e6760178201527f206e6573746564207371756972636c6573206279204861726d2076616e20646560378201526f1b88111bdc9c195b0b080c8c0c8c888b60821b6057820152681134b6b0b3b2911d1160b91b60678201528451613357816070840160208901612ce4565b845191019061336d816070840160208801612ce4565b63227d5d7d60e01b6070929091019182015260740195945050505050565b634e487b7160e01b600052601260045260246000fd5b600060ff8316806133b4576133b461338b565b8060ff84160491505092915050565b600060ff821660ff84168060ff038211156133e0576133e0613135565b019392505050565b634e487b7160e01b600052603260045260246000fd5b60006001820161341057613410613135565b5060010190565b600060ff821660ff84168082101561343157613431613135565b90039392505050565b60008282101561344c5761344c613135565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826134b2576134b261338b565b500490565b60008160001904831182151516156134d1576134d1613135565b500290565b600060ff8316806134e9576134e961338b565b8060ff84160691505092915050565b6b075726c282671756f743b23760a41b81526000825161351f81600c850160208701612ce4565b662671756f743b2960c81b600c939091019283015250601301919050565b604d60f81b815260008451613559816001850160208901612ce4565b845190830190613570816001840160208901612ce4565b8451910190613586816001840160208801612ce4565b0160010195945050505050565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a224381527037b637bab9399116113b30b63ab2911d1160791b6020820152600085516135e5816031850160208a01612ce4565b7f227d2c7b2274726169745f74797065223a202254656d706572616d656e74222c6031918401918201526a10113b30b63ab2911d101160a91b6051820152855161363681605c840160208a01612ce4565b7f227d2c7b2274726169745f74797065223a2252696e6773222c2276616c756522605c9290910191820152611d1160f11b607c8201819052855161368181607e850160208a01612ce4565b7f227d2c7b2274726169745f74797065223a224375727665222c2276616c756522607e9390910192830152609e8201526136be60a0820185613163565b979650505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061246790830184612d10565b60006020828403121561370e57600080fd5b815161120581612c51565b600060ff821660ff810361372f5761372f613135565b60010192915050565b600f60fa1b815260008551613754816001850160208a01612ce4565b600160fd1b6001918401918201528551613775816002840160208a01612ce4565b808201915050601f60f91b8060028301528551613799816003850160208a01612ce4565b613c2f60f01b6003939091019283015284516137bc816005850160208901612ce4565b60059201918201526006019695505050505050565b600083516137e3818460208801612ce4565b603d60f81b908301908152601160f91b6001820152835161380b816002840160208801612ce4565b61011160f51b60029290910191820152600401949350505050565b60008351613838818460208801612ce4565b600b60fa1b9083019081528351613856816001840160208801612ce4565b600160fd1b60019290910191820152600201949350505050565b604360f81b815260008451613559816001850160208901612ce4565b605360f81b815260006001885160206138aa82848701838e01612ce4565b8951918501916138bf81858501848e01612ce4565b89519201916138d381858501848d01612ce4565b88519201916138e781858501848c01612ce4565b87519201916138fb81858501848b01612ce4565b865192019161390f81858501848a01612ce4565b919091019091019998505050505050505050565b600f60fa1b81526000835161393f816001850160208801612ce4565b600160fd1b6001918401918201528351613960816002840160208801612ce4565b61179f60f11b60029290910191820152600401949350505050565b600061ffff808416806139905761399061338b565b92169190910492915050565b600060ff821660ff84168160ff04811182151516156139bd576139bd613135565b029392505050565b600760fc1b8152600082516139e1816001850160208701612ce4565b9190910160010192915050565b60008451613a00818460208901612ce4565b845190830190613a14818360208901612ce4565b8451910190613a27818360208801612ce4565b0195945050505050565b7f3c616e696d6174655472616e73666f726d206174747269627574654e616d653d81527f227472616e73666f726d2220747970653d22726f74617465222066726f6d3d22602082015261018160f51b604082015260008751613a9a816042850160208c01612ce4565b600160fd1b6042918401918201528751613abb816043840160208c01612ce4565b6511103a379e9160d11b60439290910191820152613adc6049820188613163565b630199b18160e51b81529050613af56004820187613163565b600160fd1b81529050613b0b6001820186613163565b661110323ab91e9160c91b81529050613b276007820185613163565b7f732220726570656174436f756e743d22696e646566696e697465222f3e0000008152601d019998505050505050505050565b640e4cec4c2560db1b815260008551613b7a816005850160208a01612ce4565b8083019050600b60fa1b8060058301528651613b9d816006850160208b01612ce4565b60069201918201528451613bb8816007840160208901612ce4565b6216181760e91b600792909101918201528351613bdc81600a840160208801612ce4565b602960f81b600a9290910191820152600b01969550505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212200c725fbe742e5699272a8c78f4c29a4deb46ace39e63725ef08ee2992a80022564736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106102045760003560e01c806383a6d35311610118578063be985ac9116100a0578063de7b31071161006f578063de7b3107146105e9578063e985e9c514610609578063f0503e8014610652578063f2fde38b1461067f578063f561162c1461069f57600080fd5b8063be985ac914610569578063c321118c14610589578063c87b56dd146105a9578063d3089341146105c957600080fd5b806395d89b41116100e757806395d89b41146104df5780639769dc0e146104f457806398d5fdca14610514578063a22cb46514610529578063b88d4fde1461054957600080fd5b806383a6d353146104365780638da5cb5b1461048157806391b7f5ed1461049f57806393ee922a146104bf57600080fd5b806342842e0e1161019b5780636352211e1161016a5780636352211e146103ae57806367ab6636146103ce5780636a627842146103ee57806370a0823114610401578063715018a61461042157600080fd5b806342842e0e1461033957806354353f2f146103595780635eec08701461036e5780635f7470171461038e57600080fd5b8063095ea7b3116101d7578063095ea7b3146102ba57806316c38b3c146102da57806318160ddd146102fa57806323b872dd1461031957600080fd5b806301ffc9a71461020957806304830dda1461023e57806306fdde0314610260578063081812fc14610282575b600080fd5b34801561021557600080fd5b50610229610224366004612c67565b6106b2565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b5061025e610259366004612caf565b610704565b005b34801561026c57600080fd5b50610275610764565b6040516102359190612d3c565b34801561028e57600080fd5b506102a261029d366004612d4f565b6107f6565b6040516001600160a01b039091168152602001610235565b3480156102c657600080fd5b5061025e6102d5366004612d68565b61088b565b3480156102e657600080fd5b5061025e6102f5366004612da4565b6109a0565b34801561030657600080fd5b50600a545b604051908152602001610235565b34801561032557600080fd5b5061025e610334366004612dbf565b6109dd565b34801561034557600080fd5b5061025e610354366004612dbf565b610a0e565b34801561036557600080fd5b50610275610a29565b34801561037a57600080fd5b5061025e610389366004612e00565b610a59565b34801561039a57600080fd5b5061025e6103a9366004612da4565b610aad565b3480156103ba57600080fd5b506102a26103c9366004612d4f565b610af1565b3480156103da57600080fd5b506102756103e9366004612d4f565b610b68565b61025e6103fc366004612e00565b610c33565b34801561040d57600080fd5b5061030b61041c366004612e00565b610d0c565b34801561042d57600080fd5b5061025e610d93565b34801561044257600080fd5b5061046f610451366004612e00565b6001600160a01b031660009081526009602052604090205460ff1690565b60405160ff9091168152602001610235565b34801561048d57600080fd5b506006546001600160a01b03166102a2565b3480156104ab57600080fd5b5061025e6104ba366004612d4f565b610dc9565b3480156104cb57600080fd5b5061025e6104da366004612e1d565b610df8565b3480156104eb57600080fd5b50610275610e44565b34801561050057600080fd5b5061025e61050f366004612e00565b610e53565b34801561052057600080fd5b5060075461030b565b34801561053557600080fd5b5061025e610544366004612e41565b610e89565b34801561055557600080fd5b5061025e610564366004612eb4565b610f4d565b34801561057557600080fd5b50610275610584366004612d4f565b610f85565b34801561059557600080fd5b506102756105a4366004612d4f565b610fb7565b3480156105b557600080fd5b506102756105c4366004612d4f565b61101e565b3480156105d557600080fd5b5061046f6105e4366004612d4f565b6111bb565b3480156105f557600080fd5b5061025e610604366004612f78565b61120c565b34801561061557600080fd5b5061022961062436600461303c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561065e57600080fd5b5061030b61066d366004612d4f565b600b6020526000908152604090205481565b34801561068b57600080fd5b5061025e61069a366004612e00565b6112ac565b61025e6106ad366004612e00565b611344565b60006001600160e01b031982166380ac58cd60e01b14806106e357506001600160e01b03198216635b5e139f60e01b145b806106fe57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b031633146107375760405162461bcd60e51b815260040161072e90613075565b60405180910390fd5b6001600160a01b03919091166000908152600960205260409020805460ff191660ff909216919091179055565b606060008054610773906130aa565b80601f016020809104026020016040519081016040528092919081815260200182805461079f906130aa565b80156107ec5780601f106107c1576101008083540402835291602001916107ec565b820191906000526020600020905b8154815290600101906020018083116107cf57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661086f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161072e565b506000908152600460205260409020546001600160a01b031690565b600061089682610af1565b9050806001600160a01b0316836001600160a01b0316036109035760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161072e565b336001600160a01b038216148061091f575061091f8133610624565b6109915760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161072e565b61099b83836114d7565b505050565b6006546001600160a01b031633146109ca5760405162461bcd60e51b815260040161072e90613075565b6008805460ff1916911515919091179055565b6109e73382611545565b610a035760405162461bcd60e51b815260040161072e906130e4565b61099b83838361163c565b61099b83838360405180602001604052806000815250610f4d565b6060610a547f1abc2ddb3f2c534d860b39b9963c1ee530a4799e38f2032c479e01ba03105788610fb7565b905090565b6006546001600160a01b03163314610a835760405162461bcd60e51b815260040161072e90613075565b600880546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6006546001600160a01b03163314610ad75760405162461bcd60e51b815260040161072e90613075565b600880549115156101000261ff0019909216919091179055565b6000818152600260205260408120546001600160a01b0316806106fe5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161072e565b60606000610b7f610b7a84600b61314b565b6117dc565b905060bf8160ff161115610bb0575050604080518082019091526005815264686f726e7960d81b6020820152919050565b607f8160ff161115610bde5750506040805180820190915260048152630646565760e41b6020820152919050565b60408160ff161115610c105750506040805180820190915260088152671a5b9b9bd8d95b9d60c21b6020820152919050565b50506040805180820190915260058152641d9a5d9a5960da1b6020820152919050565b60085460ff1615610c7a5760405162461bcd60e51b81526020600482015260116024820152701b9bdd081858dd1a5d985d1959081e595d607a1b604482015260640161072e565b600754341015610cbe5760405162461bcd60e51b815260206004820152600f60248201526e39b2b7321036b7b9329032ba3432b960891b604482015260640161072e565b610cc78161180f565b6008546040516001600160a01b036201000090920491909116903480156108fc02916000818181858888f19350505050158015610d08573d6000803e3d6000fd5b5050565b60006001600160a01b038216610d775760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161072e565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610dbd5760405162461bcd60e51b815260040161072e90613075565b610dc760006118b3565b565b6006546001600160a01b03163314610df35760405162461bcd60e51b815260040161072e90613075565b600755565b6006546001600160a01b03163314610e225760405162461bcd60e51b815260040161072e90613075565b6006805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b606060018054610773906130aa565b6006546001600160a01b03163314610e7d5760405162461bcd60e51b815260040161072e90613075565b610e868161180f565b50565b336001600160a01b03831603610ee15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161072e565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f573383611545565b610f735760405162461bcd60e51b815260040161072e906130e4565b610f7f84848484611905565b50505050565b60606106fe610f9383610fb7565b604051602001610fa3919061317f565b604051602081830303815290604052611938565b6060610fc282611a9f565b604080518082018252600080825260208083019190915282518084019093526104b080845290830152610ff791600186611adf565b60405160200161100892919061319b565b6040516020818303038152906040529050919050565b6000818152600260205260409020546060906001600160a01b031661109d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161072e565b60006040518060400160405280601a81526020017f646174613a696d6167652f7376672b786d6c3b6261736536342c0000000000008152506110f1600b600086815260200190815260200160002054610f85565b604051602001611102929190613255565b6040516020818303038152906040529050600061111e84611c9a565b6000858152600b6020526040902054839061113890611dc6565b60405160200161114a93929190613284565b60408051601f19818403018152828201909152601d82527f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006020830152915061119282611938565b6040516020016111a3929190613255565b60405160208183030381529060405292505050919050565b60008060086111cf610b7a8561029a61314b565b6111d991906133a1565b6111e49060016133c3565b90506111ef83611e05565b60ff168160ff1611156106fe5761120583611e05565b9392505050565b6006546001600160a01b031633146112365760405162461bcd60e51b815260040161072e90613075565b60005b825181101561099b578160096000858481518110611259576112596133e8565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908360ff16021790555080806112a4906133fe565b915050611239565b6006546001600160a01b031633146112d65760405162461bcd60e51b815260040161072e90613075565b6001600160a01b03811661133b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161072e565b610e86816118b3565b600854610100900460ff16156113905760405162461bcd60e51b8152602060048201526011602482015270195b98589b19531a5cdd081c185d5cd959607a1b604482015260640161072e565b6001600160a01b03811660009081526009602052604090205460ff166113f85760405162461bcd60e51b815260206004820152601860248201527f6e6f2063726564697473206f6e20656e61626c656c6973740000000000000000604482015260640161072e565b60075434101561143c5760405162461bcd60e51b815260206004820152600f60248201526e39b2b7321036b7b9329032ba3432b960891b604482015260640161072e565b6114458161180f565b6001600160a01b038116600090815260096020526040812080546001929061147190849060ff16613417565b92506101000a81548160ff021916908360ff160217905550600860029054906101000a90046001600160a01b03166001600160a01b03166108fc349081150290604051600060405180830381858888f19350505050158015610d08573d6000803e3d6000fd5b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061150c82610af1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166115be5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161072e565b60006115c983610af1565b9050806001600160a01b0316846001600160a01b031614806116045750836001600160a01b03166115f9846107f6565b6001600160a01b0316145b8061163457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661164f82610af1565b6001600160a01b0316146116b75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161072e565b6001600160a01b0382166117195760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161072e565b6117246000826114d7565b6001600160a01b038316600090815260036020526040812080546001929061174d90849061343a565b90915550506001600160a01b038216600090815260036020526040812080546001929061177b90849061314b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000816040516020016117f191815260200190565b60408051601f19818403018152919052805160209091012092915050565b600654600a54600160a01b90910461ffff161161185b5760405162461bcd60e51b815260206004820152600a602482015269185b1b081b5a5b9d195960b21b604482015260640161072e565b600a5461186990600161314b565b600a81905533908161187c60014361343a565b61188791904061314b565b611891919061314b565b600a80546000908152600b602052604090209190915554610d08908390611e2e565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61191084848461163c565b61191c84848484611e48565b610f7f5760405162461bcd60e51b815260040161072e90613451565b6060815160000361195757505060408051602081019091526000815290565b6000604051806060016040528060408152602001613bf96040913990506000600384516002611986919061314b565b61199091906134a3565b61199b9060046134b7565b905060006119aa82602061314b565b67ffffffffffffffff8111156119c2576119c2612e6d565b6040519080825280601f01601f1916602001820160405280156119ec576020820181803683370190505b509050818152600183018586518101602084015b81831015611a5a5760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b93820193909352600401611a00565b600389510660018114611a745760028114611a8557611a91565b613d3d60f01b600119830152611a91565b603d60f81b6000198301525b509398975050505050505050565b60606106fe604051806040016040528060048152602001636465667360e01b81525060405180602001604052806000815250611ada85611f46565b611fc8565b6060611aea82611e05565b60ff168360ff161115611b0c5750604080516020810190915260008152611634565b6000611b1c856000015184611ff9565b9050611c43604051806040016040528060048152602001630e0c2e8d60e31b815250611bab60405180604001604052806004815260200163199a5b1b60e21b815250611b87611b6a886111bb565b611b7560018b613417565b611b7f91906134d6565b60ff16611c9a565b604051602001611b9791906134f8565b6040516020818303038152906040526120c0565b6040805180820190915260018152601960fa1b60208201528951855151611c1e9291611bf891611bdb919061314b565b8c60200151886000015160200151611bf3919061314b565b6120ec565b611c028c88612111565b611c0c8d896121a6565b604051602001611b979392919061353d565b604051602001611c2f929190613255565b6040516020818303038152906040526122ce565b8551611c6f9086600160ff821614611c6357611c5e876122e3565b611c66565b60005b60ff1687612308565b604051602001611c80929190613255565b604051602081830303815290604052915050949350505050565b606081600003611cc15750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ceb5780611cd5816133fe565b9150611ce49050600a836134a3565b9150611cc5565b60008167ffffffffffffffff811115611d0657611d06612e6d565b6040519080825280601f01601f191660200182016040528015611d30576020820181803683370190505b509050815b8515611dbd57611d4660018261343a565b90506000611d55600a886134a3565b611d6090600a6134b7565b611d6a908861343a565b611d759060306133c3565b905060008160f81b905080848481518110611d9257611d926133e8565b60200101906001600160f81b031916908160001a905350611db4600a896134a3565b97505050611d35565b50949350505050565b6060611dd4611b7f836111bb565b611ddd83610b68565b611de9611b7f85611e05565b611df285612471565b6040516020016110089493929190613593565b60006018611e19610b7a84620ff0ff61314b565b611e2391906133a1565b6106fe90600a6133c3565b610d0882826040518060200160405280600081525061252f565b60006001600160a01b0384163b15611f3e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e8c9033908990889088906004016136c9565b6020604051808303816000875af1925050508015611ec7575060408051601f3d908101601f19168201909252611ec4918101906136fc565b60015b611f24573d808015611ef5576040519150601f19603f3d011682016040523d82523d6000602084013e611efa565b606091505b508051600003611f1c5760405162461bcd60e51b815260040161072e90613451565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611634565b506001611634565b6040805160208101909152600080825260609190611f6384612562565b905060005b611f7185611e05565b60ff168160ff161015611fbf5782611f8a828785612632565b604051602001611f9b929190613255565b60405160208183030381529060405292508080611fb790613719565b915050611f68565b50909392505050565b606083838386604051602001611fe19493929190613738565b60405160208183030381529060405290509392505050565b612001612ba2565b6040805160e08101909152600060a08201908152819060c082016120266002886134a3565b8152508152602001604051806040016040528060028761204691906134a3565b815260200160008152508152602001604051806040016040528086815260200160028761207391906134a3565b8152508152602001604051806040016040528060028761209391906134a3565b81526020018681525081526020016120aa84612880565b6120b79060ff16866134a3565b90529392505050565b606082826040516020016120d59291906137d1565b604051602081830303815290604052905092915050565b60606120f783611c9a565b61210083611c9a565b6040516020016120d5929190613826565b815181515160609161213b91612127919061314b565b84602001518460800151611bf3919061314b565b835160808401516121679161214f9161314b565b8560200151856020015160200151611bf3919061314b565b84516020850151516121949161217c9161314b565b8660200151866020015160200151611bf3919061314b565b6040516020016120d593929190613870565b81516040820151516060916121bf91612127919061314b565b83516040840151516121ec916121d49161314b565b8560200151856040015160200151611bf3919061314b565b8451608085015160408601515161222992916122079161343a565b612211919061314b565b8660200151866060015160200151611bf3919061314b565b85516060860151516122569161223e9161314b565b8760200151876060015160200151611bf3919061314b565b865186515161228f916122689161314b565b88602001518860800151896060015160200151612285919061343a565b611bf3919061314b565b87518751516122b9916122a19161314b565b8960200151896000015160200151611bf3919061314b565b6040516020016120d59695949392919061388c565b606082826040516020016120d5929190613923565b60006122ee82611e05565b60ff166122fe60026104b061397b565b6106fe919061397b565b60606000612315836122e3565b61232090600261399c565b61232d9060ff168761343a565b90506124676040518060400160405280600381526020016273766760e81b815250612379604051806040016040528060018152602001600f60fb1b81525061237488611c9a565b6120c0565b61239f604051806040016040528060018152602001607960f81b81525061237489611c9a565b6040516020016123b0929190613255565b60408051601f19818403018152828201825260018352606760f81b60208481019190915282519081019092526000825291611ada916123f0878a8d6128e5565b61244260405180604001604052806124078d6122e3565b60ff1681526020016124188d6122e3565b60ff169052604080518082019091528a8152602081018b905261243c8f60016133c3565b8d611adf565b604051602001612453929190613255565b604051602081830303815290604052611fc8565b9695505050505050565b6060600061247e83612880565b90508060ff166004036124ae5750506040805180820190915260058152641b1a59da1d60da1b6020820152919050565b8060ff166005036124db5750506040805180820190915260048152631b5a5b1960e21b6020820152919050565b8060ff1660060361250a5750506040805180820190915260068152657374726f6e6760d01b6020820152919050565b505060408051808201909152600781526665787472656d6560c81b6020820152919050565b61253983836129e7565b6125466000848484611e48565b61099b5760405162461bcd60e51b815260040161072e90613451565b61256a612c33565b600061257a610b7a84600b61314b565b905060bf8160ff1611156125ad57505060408051606081018252600a815260146020820152601091810191909152919050565b607f8160ff1611156125dd57505060408051606081018252600d8082526020820152600a91810191909152919050565b60408160ff16111561260d57505060408051606081018252600a8082526020820181905291810191909152919050565b505060408051606081018252600a8152600d6020820152600c91810191909152919050565b60606116346040518060400160405280600e81526020016d1b1a5b99585c91dc98591a595b9d60921b815250612698604051806040016040528060028152602001611a5960f21b8152506126888860ff16611c9a565b604051602001611b9791906139c5565b6126d5604051806040016040528060028152602001613c1960f11b815250604051806040016040528060018152602001600360fc1b8152506120c0565b612712604051806040016040528060028152602001613c9960f11b815250604051806040016040528060018152602001603160f81b8152506120c0565b604051602001612724939291906139ee565b60408051601f1981840301815282820182526004835263073746f760e41b6020848101919091528251808401909352600a83526939ba37b816b1b7b637b960b11b90830152916127d5916127949061237460ff8c166127848c606461314b565b61278e919061314b565b8a612b29565b611c1e604051806040016040528060068152602001651bd9999cd95d60d21b815250604051806040016040528060018152602001600360fc1b8152506120c0565b61244260405180604001604052806004815260200163073746f760e41b81525061283f6040518060400160405280600a81526020016939ba37b816b1b7b637b960b11b8152506123748c60ff168c60c861282f919061314b565b612839919061314b565b8b612b29565b611c1e604051806040016040528060068152602001651bd9999cd95d60d21b815250604051806040016040528060018152602001603160f81b8152506120c0565b600060dc612894610b7a846208f0ff61314b565b60ff1611156128a557506004919050565b60006128b083611e05565b905060148160ff1611156128c75750600592915050565b600d8160ff1611156128dc5750600692915050565b50600792915050565b6060600060026128f4856122e3565b6128ff90600261399c565b61290c9060ff168761314b565b61291691906134a3565b9050600061292382611c9a565b905060006004612939610b7a60ff8816896134a3565b61294391906133a1565b61294e9060086133c3565b90508180608061297160ff89166129678b6103e961314b565b610b7a919061314b565b60ff161161298e57604051806020016040528060008152506129a9565b604051806040016040528060018152602001602d60f81b8152505b84856129b78660ff16611c9a565b6040516020016129cc96959493929190613a31565b60405160208183030381529060405293505050509392505050565b6001600160a01b038216612a3d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161072e565b6000818152600260205260409020546001600160a01b031615612aa25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161072e565b6001600160a01b0382166000908152600360205260408120805460019290612acb90849061314b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8051606090612b5090612b3b856117dc565b612b4591906133a1565b611b7f90600a61399c565b6020830151612b6790612b3b610b7a87600a61314b565b6040840151612b7e90612b3b610b7a88601461314b565b612b8f611b7f610b7a88601e61314b565b6040516020016120d59493929190613b5a565b6040805160e08101909152600060a0820181815260c083019190915281908152602001612be2604051806040016040528060008152602001600081525090565b8152602001612c04604051806040016040528060008152602001600081525090565b8152602001612c26604051806040016040528060008152602001600081525090565b8152602001600081525090565b60405180606001604052806003906020820280368337509192915050565b6001600160e01b031981168114610e8657600080fd5b600060208284031215612c7957600080fd5b813561120581612c51565b6001600160a01b0381168114610e8657600080fd5b803560ff81168114612caa57600080fd5b919050565b60008060408385031215612cc257600080fd5b8235612ccd81612c84565b9150612cdb60208401612c99565b90509250929050565b60005b83811015612cff578181015183820152602001612ce7565b83811115610f7f5750506000910152565b60008151808452612d28816020860160208601612ce4565b601f01601f19169290920160200192915050565b6020815260006112056020830184612d10565b600060208284031215612d6157600080fd5b5035919050565b60008060408385031215612d7b57600080fd5b8235612d8681612c84565b946020939093013593505050565b80358015158114612caa57600080fd5b600060208284031215612db657600080fd5b61120582612d94565b600080600060608486031215612dd457600080fd5b8335612ddf81612c84565b92506020840135612def81612c84565b929592945050506040919091013590565b600060208284031215612e1257600080fd5b813561120581612c84565b600060208284031215612e2f57600080fd5b813561ffff8116811461120557600080fd5b60008060408385031215612e5457600080fd5b8235612e5f81612c84565b9150612cdb60208401612d94565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612eac57612eac612e6d565b604052919050565b60008060008060808587031215612eca57600080fd5b8435612ed581612c84565b9350602085810135612ee681612c84565b935060408601359250606086013567ffffffffffffffff80821115612f0a57600080fd5b818801915088601f830112612f1e57600080fd5b813581811115612f3057612f30612e6d565b612f42601f8201601f19168501612e83565b91508082528984828501011115612f5857600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215612f8b57600080fd5b823567ffffffffffffffff80821115612fa357600080fd5b818501915085601f830112612fb757600080fd5b8135602082821115612fcb57612fcb612e6d565b8160051b9250612fdc818401612e83565b8281529284018101928181019089851115612ff657600080fd5b948201945b84861015613020578535935061301084612c84565b8382529482019490820190612ffb565b965061302f9050878201612c99565b9450505050509250929050565b6000806040838503121561304f57600080fd5b823561305a81612c84565b9150602083013561306a81612c84565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806130be57607f821691505b6020821081036130de57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561315e5761315e613135565b500190565b60008151613175818560208601612ce4565b9290920192915050565b60008251613191818460208701612ce4565b9190910192915050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323081527f30302f737667222077696474683d223132303022206865696768743d2231323060208201527f30222076696577426f783d2230203020313230302031323030223e000000000060408201526000835161321f81605b850160208801612ce4565b83519083019061323681605b840160208801612ce4565b651e17b9bb339f60d11b605b9290910191820152606101949350505050565b60008351613267818460208801612ce4565b83519083019061327b818360208801612ce4565b01949350505050565b683d913730b6b2911d1160b91b81526b4f726220286c69746529202360a01b600982015283516000906132be816015850160208901612ce4565b61088b60f21b6015918401918201527f226465736372697074696f6e223a224f6e2d636861696e20726f746174696e6760178201527f206e6573746564207371756972636c6573206279204861726d2076616e20646560378201526f1b88111bdc9c195b0b080c8c0c8c888b60821b6057820152681134b6b0b3b2911d1160b91b60678201528451613357816070840160208901612ce4565b845191019061336d816070840160208801612ce4565b63227d5d7d60e01b6070929091019182015260740195945050505050565b634e487b7160e01b600052601260045260246000fd5b600060ff8316806133b4576133b461338b565b8060ff84160491505092915050565b600060ff821660ff84168060ff038211156133e0576133e0613135565b019392505050565b634e487b7160e01b600052603260045260246000fd5b60006001820161341057613410613135565b5060010190565b600060ff821660ff84168082101561343157613431613135565b90039392505050565b60008282101561344c5761344c613135565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826134b2576134b261338b565b500490565b60008160001904831182151516156134d1576134d1613135565b500290565b600060ff8316806134e9576134e961338b565b8060ff84160691505092915050565b6b075726c282671756f743b23760a41b81526000825161351f81600c850160208701612ce4565b662671756f743b2960c81b600c939091019283015250601301919050565b604d60f81b815260008451613559816001850160208901612ce4565b845190830190613570816001840160208901612ce4565b8451910190613586816001840160208801612ce4565b0160010195945050505050565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a224381527037b637bab9399116113b30b63ab2911d1160791b6020820152600085516135e5816031850160208a01612ce4565b7f227d2c7b2274726169745f74797065223a202254656d706572616d656e74222c6031918401918201526a10113b30b63ab2911d101160a91b6051820152855161363681605c840160208a01612ce4565b7f227d2c7b2274726169745f74797065223a2252696e6773222c2276616c756522605c9290910191820152611d1160f11b607c8201819052855161368181607e850160208a01612ce4565b7f227d2c7b2274726169745f74797065223a224375727665222c2276616c756522607e9390910192830152609e8201526136be60a0820185613163565b979650505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061246790830184612d10565b60006020828403121561370e57600080fd5b815161120581612c51565b600060ff821660ff810361372f5761372f613135565b60010192915050565b600f60fa1b815260008551613754816001850160208a01612ce4565b600160fd1b6001918401918201528551613775816002840160208a01612ce4565b808201915050601f60f91b8060028301528551613799816003850160208a01612ce4565b613c2f60f01b6003939091019283015284516137bc816005850160208901612ce4565b60059201918201526006019695505050505050565b600083516137e3818460208801612ce4565b603d60f81b908301908152601160f91b6001820152835161380b816002840160208801612ce4565b61011160f51b60029290910191820152600401949350505050565b60008351613838818460208801612ce4565b600b60fa1b9083019081528351613856816001840160208801612ce4565b600160fd1b60019290910191820152600201949350505050565b604360f81b815260008451613559816001850160208901612ce4565b605360f81b815260006001885160206138aa82848701838e01612ce4565b8951918501916138bf81858501848e01612ce4565b89519201916138d381858501848d01612ce4565b88519201916138e781858501848c01612ce4565b87519201916138fb81858501848b01612ce4565b865192019161390f81858501848a01612ce4565b919091019091019998505050505050505050565b600f60fa1b81526000835161393f816001850160208801612ce4565b600160fd1b6001918401918201528351613960816002840160208801612ce4565b61179f60f11b60029290910191820152600401949350505050565b600061ffff808416806139905761399061338b565b92169190910492915050565b600060ff821660ff84168160ff04811182151516156139bd576139bd613135565b029392505050565b600760fc1b8152600082516139e1816001850160208701612ce4565b9190910160010192915050565b60008451613a00818460208901612ce4565b845190830190613a14818360208901612ce4565b8451910190613a27818360208801612ce4565b0195945050505050565b7f3c616e696d6174655472616e73666f726d206174747269627574654e616d653d81527f227472616e73666f726d2220747970653d22726f74617465222066726f6d3d22602082015261018160f51b604082015260008751613a9a816042850160208c01612ce4565b600160fd1b6042918401918201528751613abb816043840160208c01612ce4565b6511103a379e9160d11b60439290910191820152613adc6049820188613163565b630199b18160e51b81529050613af56004820187613163565b600160fd1b81529050613b0b6001820186613163565b661110323ab91e9160c91b81529050613b276007820185613163565b7f732220726570656174436f756e743d22696e646566696e697465222f3e0000008152601d019998505050505050505050565b640e4cec4c2560db1b815260008551613b7a816005850160208a01612ce4565b8083019050600b60fa1b8060058301528651613b9d816006850160208b01612ce4565b60069201918201528451613bb8816007840160208901612ce4565b6216181760e91b600792909101918201528351613bdc81600a840160208801612ce4565b602960f81b600a9290910191820152600b01969550505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212200c725fbe742e5699272a8c78f4c29a4deb46ace39e63725ef08ee2992a80022564736f6c634300080d0033

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.