Token Eeethers

 

Overview [ERC-721]

Max Total Supply:
0 ethrs

Holders:
2

Transfers:
-

Contract:
0x8EA78686Fb00ef2C2C6Ea8A1BF555E3de6b52A080x8EA78686Fb00ef2C2C6Ea8A1BF555E3de6b52A08

Social Profiles:
Not Available, Update ?

Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Eeethers

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

/**
 *Submitted for verification at optimistic.etherscan.io on 2022-05-06
*/

//SPDX-License-Identifier: Unlicense

// File: @openzeppelin/contracts/utils/Base64.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Base64.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return result;
    }
}

// File: Utils.sol

pragma solidity ^0.8.12;

// 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 getSlice(
    uint256 begin,
    uint256 end,
    string memory text
  ) internal pure returns (string memory) {
    bytes memory a = new bytes(end - begin + 1);
    for (uint256 i = 0; i <= end - begin; i++) {
      a[i] = bytes(text)[i + begin - 1];
    }
    return string(a);
  }
}

// File: SVG.sol

pragma solidity ^0.8.12;


// 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: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

// File: Renderer.sol

pragma solidity ^0.8.11;





contract Renderer {
  function render(uint256 _tokenId, string memory _a) public pure returns (string memory) {

    string[7] memory colors = [
      string.concat('ff', utils.getSlice(3, 6, _a)),
      utils.getSlice(7, 12, _a),
      utils.getSlice(13, 18, _a),
      utils.getSlice(19, 24, _a),
      utils.getSlice(25, 30, _a),
      utils.getSlice(31, 36, _a),
      utils.getSlice(37, 42, _a)
    ];

    string memory image = _render(_tokenId, colors);

    return
      string.concat(
        'data:application/json;base64,',
        Base64.encode(
          bytes(
            getEeethersJSON(
              name(_tokenId),
              // image data
              Base64.encode(bytes(image)),
              attributes(colors, _tokenId)
            )
          )
        )
      );
  }

  function _render(uint256 _tokenId, string[7] memory colors)
    internal
    pure
    returns (string memory)
  {
    return
      string.concat(
        '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1000 1000" style="background: #F2F3F5;">',
        svg.el(
          'filter',
          string.concat(svg.prop('id', 'filter')),
          string.concat(
            svg.el(
              'feTurbulence',
              string.concat(
                svg.prop('type', 'fractalNoise'),
                svg.prop('baseFrequency', '0.01'),
                svg.prop('numOctaves', '3'),
                svg.prop('seed', utils.uint2str(_tokenId))
              )
            ),
            svg.el(
              'feDisplacementMap',
              string.concat(
                svg.prop('in', 'SourceGraphic'),
                svg.prop('yChannelSelector', 'R'),
                svg.prop('scale', '99')
              )
            )
          )
        ),
        svg.g(
          string.concat(
            svg.prop('filter', 'url(#filter)'),
            svg.prop('fill', 'none'),
            svg.prop('stroke', string.concat('#ff', colors[0])),
            svg.prop('stroke-width', '140%'),
            svg.prop('stroke-dasharray', '99')
          ),
          dashArray(colors)
        ),
        '</svg>'
      );
  }

  function dashArray(string[7] memory colors)
    internal
    pure
    returns (string memory)
  {
    return
      string.concat(
        svg.circle(
          string.concat(
            svg.prop('id', 'c'),
            svg.prop('cx', '50%'),
            svg.prop('cy', '50%'),
            svg.prop('r', '70%'),
            svg.prop('style', 'transform-origin: center')
          ),
          svg.animateTransform(
            string.concat(
              svg.prop('attributeName', 'transform'),
              svg.prop('attributeType', 'XML'),
              svg.prop('type', 'rotate'),
              svg.prop('from', '0 0 0'),
              svg.prop('to', '360 0 0'),
              svg.prop('dur', '120s'),
              svg.prop('repeatCount', 'indefinite')
            )
          )
        ),
        string.concat(
          svg.el(
            'use',
            string.concat(
              svg.prop('href', '#c'),
              svg.prop('stroke', string.concat('#', colors[1])),
              svg.prop('stroke-dasharray', '99 60')
            )
          ),
          svg.el(
            'use',
            string.concat(
              svg.prop('href', '#c'),
              svg.prop('stroke', string.concat('#', colors[2])),
              svg.prop('stroke-dasharray', '99 120')
            )
          ),
          svg.el(
            'use',
            string.concat(
              svg.prop('href', '#c'),
              svg.prop('stroke', string.concat('#', colors[3])),
              svg.prop('stroke-dasharray', '99 180')
            )
          ),
          svg.el(
            'use',
            string.concat(
              svg.prop('href', '#c'),
              svg.prop('stroke', string.concat('#', colors[4])),
              svg.prop('stroke-dasharray', '99 240')
            )
          ),
          svg.el(
            'use',
            string.concat(
              svg.prop('href', '#c'),
              svg.prop('stroke', string.concat('#', colors[5])),
              svg.prop('stroke-dasharray', '99 300')
            )
          ),
          svg.el(
            'use',
            string.concat(
              svg.prop('href', '#c'),
              svg.prop('stroke', string.concat('#', colors[6])),
              svg.prop('stroke-dasharray', '99 360')
            )
          )
        )
      );
  }

  function attributes(string[7] memory colors, uint256 _tokenId)
    internal
    pure
    returns (string memory)
  {
    return
      string.concat(
        attributeString('Base Color', '#F2F3F5'),
        ',',
        attributeString('Color 1', string.concat('#ff', colors[0])),
        ',',
        attributeString('Color 2', string.concat('#', colors[1])),
        ',',
        attributeString('Color 3', string.concat('#', colors[2])),
        ',',
        attributeString('Color 4', string.concat('#', colors[3])),
        ',',
        attributeString('Color 5', string.concat('#', colors[4])),
        ',',
        attributeString('Color 6', string.concat('#', colors[5])),
        ',',
        attributeString('Color 7', string.concat('#', colors[6])),
        ',',
        attributeString('Seed', utils.uint2str(_tokenId))
      );
  }

  function name(uint256 _tokenId) internal pure returns (string memory) {
    return string.concat('Eeethers #', utils.uint2str(_tokenId + 1));
  }

  // Convenience functions for formatting all the metadata related to a particular NFT

  function getEeethersJSON(
    string memory _name,
    string memory _imageData,
    string memory _attributes
  ) internal pure returns (string memory) {
    return
      string.concat(
        '{"name": "',
        _name,
        '", "image": "data:image/svg+xml;base64,',
        _imageData,
        '","decription": "Exploring Ethereums endless spectrum of colors."',
        ',"attributes":[',
        _attributes,
        ']}'
      );
  }

  function attributeString(string memory _name, string memory _value)
    internal
    pure
    returns (string memory)
  {
    return
      string.concat(
        '{',
        kv('trait_type', string.concat('"', _name, '"')),
        ',',
        kv('value', string.concat('"', _value, '"')),
        '}'
      );
  }

  function kv(string memory _key, string memory _value)
    internal
    pure
    returns (string memory)
  {
    return string.concat('"', _key, '"', ':', _value);
  }
}

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/ERC721.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








/**
 * @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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

// File: Eeethers.sol

pragma solidity ^0.8.0;





/*
           .-               .                      
   .;;;.`-'             ...;....;                  
  ;;  (_)   .-.  .-.     .'    ;;-.  .-.   .;.::.. 
  .;;; .-..;.-'.;.-'   .;     ;;  ;.;.-'   .;  .'; 
 ;;  .;  ; `:::'`:::'.;      .;`  ` `:::'.;' .' .' 
 `;.___.'                                   '      

 9999 max supply
 mint from contract 
*/

contract Eeethers is ERC721, Ownable {
  /// hello
  event Hello();

  function hello() internal {
    emit Hello();
  }

  //// ============ define variables ============
  mapping(uint256 => string) private tokenMetadata;

  uint256 public cost = 0.05 ether;
  uint256 public constant MAX_TOKENS = 9999;
  uint256 public tokenId;

  constructor() ERC721('Eeethers', 'ethrs') {
    hello();
  }

  /// ============ token functions ============

  event Mint(uint256 _tokenId);

  function mint() public payable {
    require(tokenId < MAX_TOKENS, 'No eeethers remaining');
    require(msg.value >= 0.05 ether, "Not enough ETH");
    _mint(msg.sender, tokenId);
    string memory _a = Strings.toHexString(uint256(uint160(msg.sender)));
    tokenMetadata[tokenId] = renderer.render(tokenId, _a );
    emit Mint(tokenId);
    tokenId++;
  }

  function tokenURI(uint256 _tokenId)
    public
    view
    override
    returns (string memory)
  {
    return tokenMetadata[_tokenId];
  }

  /* ADMIN */
  function withdrawAll() external onlyOwner {
    payable(owner()).transfer(address(this).balance);
  }

  function withdrawAllERC20(IERC20 _erc20Token) external onlyOwner {
    _erc20Token.transfer(owner(), _erc20Token.balanceOf(address(this)));
  }

  event MetadataUpdated(uint256 indexed tokenId);

  // Store renderer as separate contract so we can update it if needed
  Renderer public renderer;

  function setRenderer(Renderer _renderer) external onlyOwner {
    renderer = _renderer;
    emit MetadataUpdated(type(uint256).max);
  }
}

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":[],"name":"Hello","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MetadataUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renderer","outputs":[{"internalType":"contract Renderer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract Renderer","name":"_renderer","type":"address"}],"name":"setRenderer","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":[],"name":"tokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_erc20Token","type":"address"}],"name":"withdrawAllERC20","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405266b1a2bc2ec500006008553480156200001c57600080fd5b506040805180820182526008815267456565746865727360c01b602080830191825283518085019094526005845264657468727360d81b9084015281519192916200006a916000916200012e565b508051620000809060019060208401906200012e565b5050506200009d62000097620000ad60201b60201c565b620000b1565b620000a762000103565b62000210565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040517fbcdfe0d5b27dd186282e187525415c57ea3077c34efb39148111e4d342e7ab0e90600090a1565b8280546200013c90620001d4565b90600052602060002090601f016020900481019282620001605760008555620001ab565b82601f106200017b57805160ff1916838001178555620001ab565b82800160010185558215620001ab579182015b82811115620001ab5782518255916020019190600101906200018e565b50620001b9929150620001bd565b5090565b5b80821115620001b95760008155600101620001be565b600181811c90821680620001e957607f821691505b6020821081036200020a57634e487b7160e01b600052602260045260246000fd5b50919050565b611ccc80620002206000396000f3fe60806040526004361061014b5760003560e01c8063715018a6116100b6578063a22cb4651161006f578063a22cb46514610380578063b88d4fde146103a0578063c87b56dd146103c0578063e985e9c5146103e0578063f2fde38b14610429578063f47c84c51461044957600080fd5b8063715018a6146102e3578063853828b6146102f8578063857abbd41461030d5780638ada6b0f1461032d5780638da5cb5b1461034d57806395d89b411461036b57600080fd5b806317d70f7c1161010857806317d70f7c1461022d57806323b872dd1461024357806342842e0e1461026357806356d3163d146102835780636352211e146102a357806370a08231146102c357600080fd5b806301ffc9a71461015057806306fdde0314610185578063081812fc146101a7578063095ea7b3146101df5780631249c58b1461020157806313faede614610209575b600080fd5b34801561015c57600080fd5b5061017061016b3660046116e7565b61045f565b60405190151581526020015b60405180910390f35b34801561019157600080fd5b5061019a6104b1565b60405161017c919061175c565b3480156101b357600080fd5b506101c76101c236600461176f565b610543565b6040516001600160a01b03909116815260200161017c565b3480156101eb57600080fd5b506101ff6101fa36600461179d565b6105dd565b005b6101ff6106f2565b34801561021557600080fd5b5061021f60085481565b60405190815260200161017c565b34801561023957600080fd5b5061021f60095481565b34801561024f57600080fd5b506101ff61025e3660046117c9565b610893565b34801561026f57600080fd5b506101ff61027e3660046117c9565b6108c4565b34801561028f57600080fd5b506101ff61029e36600461180a565b6108df565b3480156102af57600080fd5b506101c76102be36600461176f565b610954565b3480156102cf57600080fd5b5061021f6102de36600461180a565b6109cb565b3480156102ef57600080fd5b506101ff610a52565b34801561030457600080fd5b506101ff610a88565b34801561031957600080fd5b506101ff61032836600461180a565b610aee565b34801561033957600080fd5b50600a546101c7906001600160a01b031681565b34801561035957600080fd5b506006546001600160a01b03166101c7565b34801561037757600080fd5b5061019a610c14565b34801561038c57600080fd5b506101ff61039b366004611835565b610c23565b3480156103ac57600080fd5b506101ff6103bb3660046118dd565b610c2e565b3480156103cc57600080fd5b5061019a6103db36600461176f565b610c66565b3480156103ec57600080fd5b506101706103fb36600461198c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561043557600080fd5b506101ff61044436600461180a565b610d08565b34801561045557600080fd5b5061021f61270f81565b60006001600160e01b031982166380ac58cd60e01b148061049057506001600160e01b03198216635b5e139f60e01b145b806104ab57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546104c0906119ba565b80601f01602080910402602001604051908101604052809291908181526020018280546104ec906119ba565b80156105395780601f1061050e57610100808354040283529160200191610539565b820191906000526020600020905b81548152906001019060200180831161051c57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105c15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105e882610954565b9050806001600160a01b0316836001600160a01b0316036106555760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105b8565b336001600160a01b0382161480610671575061067181336103fb565b6106e35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105b8565b6106ed8383610da0565b505050565b61270f6009541061073d5760405162461bcd60e51b81526020600482015260156024820152744e6f2065656574686572732072656d61696e696e6760581b60448201526064016105b8565b66b1a2bc2ec500003410156107855760405162461bcd60e51b815260206004820152600e60248201526d09cdee840cadcdeeaced0408aa8960931b60448201526064016105b8565b61079133600954610e0e565b600061079c33610f50565b600a5460095460405163f674a34d60e01b81529293506001600160a01b039091169163f674a34d916107d29185906004016119f4565b600060405180830381865afa1580156107ef573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108179190810190611a0d565b600760006009548152602001908152602001600020908051906020019061083f929190611638565b507f07883703ed0e86588a40d76551c92f8a4b329e3bf19765e0e6749473c1a8466560095460405161087391815260200190565b60405180910390a16009805490600061088b83611a9a565b919050555050565b61089d3382610faf565b6108b95760405162461bcd60e51b81526004016105b890611ab3565b6106ed8383836110a5565b6106ed83838360405180602001604052806000815250610c2e565b6006546001600160a01b031633146109095760405162461bcd60e51b81526004016105b890611b04565b600a80546001600160a01b0319166001600160a01b038316179055604051600019907f9428dcbe773ffde983d366e27dc72d5f9be6e309154036dd48f60fbc0784be6890600090a250565b6000818152600260205260408120546001600160a01b0316806104ab5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105b8565b60006001600160a01b038216610a365760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105b8565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610a7c5760405162461bcd60e51b81526004016105b890611b04565b610a866000611241565b565b6006546001600160a01b03163314610ab25760405162461bcd60e51b81526004016105b890611b04565b6006546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610aeb573d6000803e3d6000fd5b50565b6006546001600160a01b03163314610b185760405162461bcd60e51b81526004016105b890611b04565b806001600160a01b031663a9059cbb610b396006546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015610b7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba19190611b39565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610bec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c109190611b52565b5050565b6060600180546104c0906119ba565b610c10338383611293565b610c383383610faf565b610c545760405162461bcd60e51b81526004016105b890611ab3565b610c6084848484611361565b50505050565b6000818152600760205260409020805460609190610c83906119ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610caf906119ba565b8015610cfc5780601f10610cd157610100808354040283529160200191610cfc565b820191906000526020600020905b815481529060010190602001808311610cdf57829003601f168201915b50505050509050919050565b6006546001600160a01b03163314610d325760405162461bcd60e51b81526004016105b890611b04565b6001600160a01b038116610d975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105b8565b610aeb81611241565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610dd582610954565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216610e645760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105b8565b6000818152600260205260409020546001600160a01b031615610ec95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105b8565b6001600160a01b0382166000908152600360205260408120805460019290610ef2908490611b6f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b606081600003610f7a5750506040805180820190915260048152630307830360e41b602082015290565b8160005b8115610f9d5780610f8e81611a9a565b915050600882901c9150610f7e565b610fa78482611394565b949350505050565b6000818152600260205260408120546001600160a01b03166110285760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105b8565b600061103383610954565b9050806001600160a01b0316846001600160a01b0316148061107a57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610fa75750836001600160a01b031661109384610543565b6001600160a01b031614949350505050565b826001600160a01b03166110b882610954565b6001600160a01b03161461111c5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016105b8565b6001600160a01b03821661117e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105b8565b611189600082610da0565b6001600160a01b03831660009081526003602052604081208054600192906111b2908490611b87565b90915550506001600160a01b03821660009081526003602052604081208054600192906111e0908490611b6f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036112f45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105b8565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61136c8484846110a5565b61137884848484611537565b610c605760405162461bcd60e51b81526004016105b890611b9e565b606060006113a3836002611bf0565b6113ae906002611b6f565b67ffffffffffffffff8111156113c6576113c661186e565b6040519080825280601f01601f1916602001820160405280156113f0576020820181803683370190505b509050600360fc1b8160008151811061140b5761140b611c0f565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061143a5761143a611c0f565b60200101906001600160f81b031916908160001a905350600061145e846002611bf0565b611469906001611b6f565b90505b60018111156114e1576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061149d5761149d611c0f565b1a60f81b8282815181106114b3576114b3611c0f565b60200101906001600160f81b031916908160001a90535060049490941c936114da81611c25565b905061146c565b5083156115305760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105b8565b9392505050565b60006001600160a01b0384163b1561162d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061157b903390899088908890600401611c3c565b6020604051808303816000875af19250505080156115b6575060408051601f3d908101601f191682019092526115b391810190611c79565b60015b611613573d8080156115e4576040519150601f19603f3d011682016040523d82523d6000602084013e6115e9565b606091505b50805160000361160b5760405162461bcd60e51b81526004016105b890611b9e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610fa7565b506001949350505050565b828054611644906119ba565b90600052602060002090601f01602090048101928261166657600085556116ac565b82601f1061167f57805160ff19168380011785556116ac565b828001600101855582156116ac579182015b828111156116ac578251825591602001919060010190611691565b506116b89291506116bc565b5090565b5b808211156116b857600081556001016116bd565b6001600160e01b031981168114610aeb57600080fd5b6000602082840312156116f957600080fd5b8135611530816116d1565b60005b8381101561171f578181015183820152602001611707565b83811115610c605750506000910152565b60008151808452611748816020860160208601611704565b601f01601f19169290920160200192915050565b6020815260006115306020830184611730565b60006020828403121561178157600080fd5b5035919050565b6001600160a01b0381168114610aeb57600080fd5b600080604083850312156117b057600080fd5b82356117bb81611788565b946020939093013593505050565b6000806000606084860312156117de57600080fd5b83356117e981611788565b925060208401356117f981611788565b929592945050506040919091013590565b60006020828403121561181c57600080fd5b813561153081611788565b8015158114610aeb57600080fd5b6000806040838503121561184857600080fd5b823561185381611788565b9150602083013561186381611827565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156118ad576118ad61186e565b604052919050565b600067ffffffffffffffff8211156118cf576118cf61186e565b50601f01601f191660200190565b600080600080608085870312156118f357600080fd5b84356118fe81611788565b9350602085013561190e81611788565b925060408501359150606085013567ffffffffffffffff81111561193157600080fd5b8501601f8101871361194257600080fd5b8035611955611950826118b5565b611884565b81815288602083850101111561196a57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806040838503121561199f57600080fd5b82356119aa81611788565b9150602083013561186381611788565b600181811c908216806119ce57607f821691505b6020821081036119ee57634e487b7160e01b600052602260045260246000fd5b50919050565b828152604060208201526000610fa76040830184611730565b600060208284031215611a1f57600080fd5b815167ffffffffffffffff811115611a3657600080fd5b8201601f81018413611a4757600080fd5b8051611a55611950826118b5565b818152856020838501011115611a6a57600080fd5b611a7b826020830160208601611704565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b600060018201611aac57611aac611a84565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215611b4b57600080fd5b5051919050565b600060208284031215611b6457600080fd5b815161153081611827565b60008219821115611b8257611b82611a84565b500190565b600082821015611b9957611b99611a84565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000816000190483118215151615611c0a57611c0a611a84565b500290565b634e487b7160e01b600052603260045260246000fd5b600081611c3457611c34611a84565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c6f90830184611730565b9695505050505050565b600060208284031215611c8b57600080fd5b8151611530816116d156fea2646970667358221220c5addbcaa0f57843620bc65962dd5e3557e5c98fc59fe4a5332f58d8de98f3a564736f6c634300080d0033

Deployed ByteCode Sourcemap

58110:1601:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41686:305;;;;;;;;;;-1:-1:-1;41686:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;41686:305:0;;;;;;;;42631:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;44191:221::-;;;;;;;;;;-1:-1:-1;44191:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;44191:221:0;1528:203:1;43714:411:0;;;;;;;;;;-1:-1:-1;43714:411:0;;;;;:::i;:::-;;:::i;:::-;;58614:365;;;:::i;58348:32::-;;;;;;;;;;;;;;;;;;;2338:25:1;;;2326:2;2311:18;58348:32:0;2192:177:1;58431:22:0;;;;;;;;;;;;;;;;44941:339;;;;;;;;;;-1:-1:-1;44941:339:0;;;;;:::i;:::-;;:::i;45351:185::-;;;;;;;;;;-1:-1:-1;45351:185:0;;;;;:::i;:::-;;:::i;59569:139::-;;;;;;;;;;-1:-1:-1;59569:139:0;;;;;:::i;:::-;;:::i;42325:239::-;;;;;;;;;;-1:-1:-1;42325:239:0;;;;;:::i;:::-;;:::i;42055:208::-;;;;;;;;;;-1:-1:-1;42055:208:0;;;;;:::i;:::-;;:::i;22269:103::-;;;;;;;;;;;;;:::i;59153:::-;;;;;;;;;;;;;:::i;59262:145::-;;;;;;;;;;-1:-1:-1;59262:145:0;;;;;:::i;:::-;;:::i;59538:24::-;;;;;;;;;;-1:-1:-1;59538:24:0;;;;-1:-1:-1;;;;;59538:24:0;;;21618:87;;;;;;;;;;-1:-1:-1;21691:6:0;;-1:-1:-1;;;;;21691:6:0;21618:87;;42800:104;;;;;;;;;;;;;:::i;44484:155::-;;;;;;;;;;-1:-1:-1;44484:155:0;;;;;:::i;:::-;;:::i;45607:328::-;;;;;;;;;;-1:-1:-1;45607:328:0;;;;;:::i;:::-;;:::i;58985:147::-;;;;;;;;;;-1:-1:-1;58985:147:0;;;;;:::i;:::-;;:::i;44710:164::-;;;;;;;;;;-1:-1:-1;44710:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;44831:25:0;;;44807:4;44831:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44710:164;22527:201;;;;;;;;;;-1:-1:-1;22527:201:0;;;;;:::i;:::-;;:::i;58385:41::-;;;;;;;;;;;;58422:4;58385:41;;41686:305;41788:4;-1:-1:-1;;;;;;41825:40:0;;-1:-1:-1;;;41825:40:0;;:105;;-1:-1:-1;;;;;;;41882:48:0;;-1:-1:-1;;;41882:48:0;41825:105;:158;;;-1:-1:-1;;;;;;;;;;34534:40:0;;;41947:36;41805:178;41686:305;-1:-1:-1;;41686:305:0:o;42631:100::-;42685:13;42718:5;42711:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42631:100;:::o;44191:221::-;44267:7;47534:16;;;:7;:16;;;;;;-1:-1:-1;;;;;47534:16:0;44287:73;;;;-1:-1:-1;;;44287:73:0;;6962:2:1;44287:73:0;;;6944:21:1;7001:2;6981:18;;;6974:30;7040:34;7020:18;;;7013:62;-1:-1:-1;;;7091:18:1;;;7084:42;7143:19;;44287:73:0;;;;;;;;;-1:-1:-1;44380:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;44380:24:0;;44191:221::o;43714:411::-;43795:13;43811:23;43826:7;43811:14;:23::i;:::-;43795:39;;43859:5;-1:-1:-1;;;;;43853:11:0;:2;-1:-1:-1;;;;;43853:11:0;;43845:57;;;;-1:-1:-1;;;43845:57:0;;7375:2:1;43845:57:0;;;7357:21:1;7414:2;7394:18;;;7387:30;7453:34;7433:18;;;7426:62;-1:-1:-1;;;7504:18:1;;;7497:31;7545:19;;43845:57:0;7173:397:1;43845:57:0;20422:10;-1:-1:-1;;;;;43937:21:0;;;;:62;;-1:-1:-1;43962:37:0;43979:5;20422:10;44710:164;:::i;43962:37::-;43915:168;;;;-1:-1:-1;;;43915:168:0;;7777:2:1;43915:168:0;;;7759:21:1;7816:2;7796:18;;;7789:30;7855:34;7835:18;;;7828:62;7926:26;7906:18;;;7899:54;7970:19;;43915:168:0;7575:420:1;43915:168:0;44096:21;44105:2;44109:7;44096:8;:21::i;:::-;43784:341;43714:411;;:::o;58614:365::-;58422:4;58660:7;;:20;58652:54;;;;-1:-1:-1;;;58652:54:0;;8202:2:1;58652:54:0;;;8184:21:1;8241:2;8221:18;;;8214:30;-1:-1:-1;;;8260:18:1;;;8253:51;8321:18;;58652:54:0;8000:345:1;58652:54:0;58734:10;58721:9;:23;;58713:50;;;;-1:-1:-1;;;58713:50:0;;8552:2:1;58713:50:0;;;8534:21:1;8591:2;8571:18;;;8564:30;-1:-1:-1;;;8610:18:1;;;8603:44;8664:18;;58713:50:0;8350:338:1;58713:50:0;58770:26;58776:10;58788:7;;58770:5;:26::i;:::-;58803:16;58822:49;58858:10;58822:19;:49::i;:::-;58903:8;;58919:7;;58903:29;;-1:-1:-1;;;58903:29:0;;58803:68;;-1:-1:-1;;;;;;58903:8:0;;;;:15;;:29;;58803:68;;58903:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;58903:29:0;;;;;;;;;;;;:::i;:::-;58878:13;:22;58892:7;;58878:22;;;;;;;;;;;:54;;;;;;;;;;;;:::i;:::-;;58944:13;58949:7;;58944:13;;;;2338:25:1;;2326:2;2311:18;;2192:177;58944:13:0;;;;;;;;58964:7;:9;;;:7;:9;;;:::i;:::-;;;;;;58645:334;58614:365::o;44941:339::-;45136:41;20422:10;45169:7;45136:18;:41::i;:::-;45128:103;;;;-1:-1:-1;;;45128:103:0;;;;;;;:::i;:::-;45244:28;45254:4;45260:2;45264:7;45244:9;:28::i;45351:185::-;45489:39;45506:4;45512:2;45516:7;45489:39;;;;;;;;;;;;:16;:39::i;59569:139::-;21691:6;;-1:-1:-1;;;;;21691:6:0;20422:10;21838:23;21830:68;;;;-1:-1:-1;;;21830:68:0;;;;;;;:::i;:::-;59636:8:::1;:20:::0;;-1:-1:-1;;;;;;59636:20:0::1;-1:-1:-1::0;;;;;59636:20:0;::::1;;::::0;;59668:34:::1;::::0;-1:-1:-1;;59684:17:0;59668:34:::1;::::0;-1:-1:-1;;59668:34:0::1;59569:139:::0;:::o;42325:239::-;42397:7;42433:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42433:16:0;;42460:73;;;;-1:-1:-1;;;42460:73:0;;10882:2:1;42460:73:0;;;10864:21:1;10921:2;10901:18;;;10894:30;10960:34;10940:18;;;10933:62;-1:-1:-1;;;11011:18:1;;;11004:39;11060:19;;42460:73:0;10680:405:1;42055:208:0;42127:7;-1:-1:-1;;;;;42155:19:0;;42147:74;;;;-1:-1:-1;;;42147:74:0;;11292:2:1;42147:74:0;;;11274:21:1;11331:2;11311:18;;;11304:30;11370:34;11350:18;;;11343:62;-1:-1:-1;;;11421:18:1;;;11414:40;11471:19;;42147:74:0;11090:406:1;42147:74:0;-1:-1:-1;;;;;;42239:16:0;;;;;:9;:16;;;;;;;42055:208::o;22269:103::-;21691:6;;-1:-1:-1;;;;;21691:6:0;20422:10;21838:23;21830:68;;;;-1:-1:-1;;;21830:68:0;;;;;;;:::i;:::-;22334:30:::1;22361:1;22334:18;:30::i;:::-;22269:103::o:0;59153:::-;21691:6;;-1:-1:-1;;;;;21691:6:0;20422:10;21838:23;21830:68;;;;-1:-1:-1;;;21830:68:0;;;;;;;:::i;:::-;21691:6;;59202:48:::1;::::0;-1:-1:-1;;;;;21691:6:0;;;;59228:21:::1;59202:48:::0;::::1;;;::::0;::::1;::::0;;;59228:21;21691:6;59202:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;59153:103::o:0;59262:145::-;21691:6;;-1:-1:-1;;;;;21691:6:0;20422:10;21838:23;21830:68;;;;-1:-1:-1;;;21830:68:0;;;;;;;:::i;:::-;59334:11:::1;-1:-1:-1::0;;;;;59334:20:0::1;;59355:7;21691:6:::0;;-1:-1:-1;;;;;21691:6:0;;21618:87;59355:7:::1;59364:36;::::0;-1:-1:-1;;;59364:36:0;;59394:4:::1;59364:36;::::0;::::1;1674:51:1::0;-1:-1:-1;;;;;59364:21:0;::::1;::::0;::::1;::::0;1647:18:1;;59364:36:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59334:67;::::0;-1:-1:-1;;;;;;59334:67:0::1;::::0;;;;;;-1:-1:-1;;;;;11882:32:1;;;59334:67:0::1;::::0;::::1;11864:51:1::0;11931:18;;;11924:34;11837:18;;59334:67:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;59262:145:::0;:::o;42800:104::-;42856:13;42889:7;42882:14;;;;;:::i;44484:155::-;44579:52;20422:10;44612:8;44622;44579:18;:52::i;45607:328::-;45782:41;20422:10;45815:7;45782:18;:41::i;:::-;45774:103;;;;-1:-1:-1;;;45774:103:0;;;;;;;:::i;:::-;45888:39;45902:4;45908:2;45912:7;45921:5;45888:13;:39::i;:::-;45607:328;;;;:::o;58985:147::-;59103:23;;;;:13;:23;;;;;59096:30;;59071:13;;59103:23;59096:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58985:147;;;:::o;22527:201::-;21691:6;;-1:-1:-1;;;;;21691:6:0;20422:10;21838:23;21830:68;;;;-1:-1:-1;;;21830:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;22616:22:0;::::1;22608:73;;;::::0;-1:-1:-1;;;22608:73:0;;12421:2:1;22608:73:0::1;::::0;::::1;12403:21:1::0;12460:2;12440:18;;;12433:30;12499:34;12479:18;;;12472:62;-1:-1:-1;;;12550:18:1;;;12543:36;12596:19;;22608:73:0::1;12219:402:1::0;22608:73:0::1;22692:28;22711:8;22692:18;:28::i;51591:174::-:0;51666:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;51666:29:0;-1:-1:-1;;;;;51666:29:0;;;;;;;;:24;;51720:23;51666:24;51720:14;:23::i;:::-;-1:-1:-1;;;;;51711:46:0;;;;;;;;;;;51591:174;;:::o;49423:439::-;-1:-1:-1;;;;;49503:16:0;;49495:61;;;;-1:-1:-1;;;49495:61:0;;12828:2:1;49495:61:0;;;12810:21:1;;;12847:18;;;12840:30;12906:34;12886:18;;;12879:62;12958:18;;49495:61:0;12626:356:1;49495:61:0;47510:4;47534:16;;;:7;:16;;;;;;-1:-1:-1;;;;;47534:16:0;:30;49567:58;;;;-1:-1:-1;;;49567:58:0;;13189:2:1;49567:58:0;;;13171:21:1;13228:2;13208:18;;;13201:30;13267;13247:18;;;13240:58;13315:18;;49567:58:0;12987:352:1;49567:58:0;-1:-1:-1;;;;;49696:13:0;;;;;;:9;:13;;;;;:18;;49713:1;;49696:13;:18;;49713:1;;49696:18;:::i;:::-;;;;-1:-1:-1;;49725:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;49725:21:0;-1:-1:-1;;;;;49725:21:0;;;;;;;;49764:33;;49725:16;;;49764:33;;49725:16;;49764:33;59334:67:::1;59262:145:::0;:::o;11945:340::-;12004:13;12034:5;12043:1;12034:10;12030:56;;-1:-1:-1;;12061:13:0;;;;;;;;;;;;-1:-1:-1;;;12061:13:0;;;;;11945:340::o;12030:56::-;12111:5;12096:12;12156:78;12163:9;;12156:78;;12189:8;;;;:::i;:::-;;;;12221:1;12212:10;;;;;12156:78;;;12251:26;12263:5;12270:6;12251:11;:26::i;:::-;12244:33;11945:340;-1:-1:-1;;;;11945:340:0:o;47739:348::-;47832:4;47534:16;;;:7;:16;;;;;;-1:-1:-1;;;;;47534:16:0;47849:73;;;;-1:-1:-1;;;47849:73:0;;13679:2:1;47849:73:0;;;13661:21:1;13718:2;13698:18;;;13691:30;13757:34;13737:18;;;13730:62;-1:-1:-1;;;13808:18:1;;;13801:42;13860:19;;47849:73:0;13477:408:1;47849:73:0;47933:13;47949:23;47964:7;47949:14;:23::i;:::-;47933:39;;48002:5;-1:-1:-1;;;;;47991:16:0;:7;-1:-1:-1;;;;;47991:16:0;;:52;;;-1:-1:-1;;;;;;44831:25:0;;;44807:4;44831:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;48011:32;47991:87;;;;48071:7;-1:-1:-1;;;;;48047:31:0;:20;48059:7;48047:11;:20::i;:::-;-1:-1:-1;;;;;48047:31:0;;47983:96;47739:348;-1:-1:-1;;;;47739:348:0:o;50848:625::-;51007:4;-1:-1:-1;;;;;50980:31:0;:23;50995:7;50980:14;:23::i;:::-;-1:-1:-1;;;;;50980:31:0;;50972:81;;;;-1:-1:-1;;;50972:81:0;;14092:2:1;50972:81:0;;;14074:21:1;14131:2;14111:18;;;14104:30;14170:34;14150:18;;;14143:62;-1:-1:-1;;;14221:18:1;;;14214:35;14266:19;;50972:81:0;13890:401:1;50972:81:0;-1:-1:-1;;;;;51072:16:0;;51064:65;;;;-1:-1:-1;;;51064:65:0;;14498:2:1;51064:65:0;;;14480:21:1;14537:2;14517:18;;;14510:30;14576:34;14556:18;;;14549:62;-1:-1:-1;;;14627:18:1;;;14620:34;14671:19;;51064:65:0;14296:400:1;51064:65:0;51246:29;51263:1;51267:7;51246:8;:29::i;:::-;-1:-1:-1;;;;;51288:15:0;;;;;;:9;:15;;;;;:20;;51307:1;;51288:15;:20;;51307:1;;51288:20;:::i;:::-;;;;-1:-1:-1;;;;;;;51319:13:0;;;;;;:9;:13;;;;;:18;;51336:1;;51319:13;:18;;51336:1;;51319:18;:::i;:::-;;;;-1:-1:-1;;51348:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;51348:21:0;-1:-1:-1;;;;;51348:21:0;;;;;;;;;51387:27;;51348:16;;51387:27;;;;;;;43784:341;43714:411;;:::o;22888:191::-;22981:6;;;-1:-1:-1;;;;;22998:17:0;;;-1:-1:-1;;;;;;22998:17:0;;;;;;;23031:40;;22981:6;;;22998:17;22981:6;;23031:40;;22962:16;;23031:40;22951:128;22888:191;:::o;51907:315::-;52062:8;-1:-1:-1;;;;;52053:17:0;:5;-1:-1:-1;;;;;52053:17:0;;52045:55;;;;-1:-1:-1;;;52045:55:0;;15033:2:1;52045:55:0;;;15015:21:1;15072:2;15052:18;;;15045:30;15111:27;15091:18;;;15084:55;15156:18;;52045:55:0;14831:349:1;52045:55:0;-1:-1:-1;;;;;52111:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;52111:46:0;;;;;;;;;;52173:41;;540::1;;;52173::0;;513:18:1;52173:41:0;;;;;;;51907:315;;;:::o;46817:::-;46974:28;46984:4;46990:2;46994:7;46974:9;:28::i;:::-;47021:48;47044:4;47050:2;47054:7;47063:5;47021:22;:48::i;:::-;47013:111;;;;-1:-1:-1;;;47013:111:0;;;;;;;:::i;12413:451::-;12488:13;12514:19;12546:10;12550:6;12546:1;:10;:::i;:::-;:14;;12559:1;12546:14;:::i;:::-;12536:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12536:25:0;;12514:47;;-1:-1:-1;;;12572:6:0;12579:1;12572:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;12572:15:0;;;;;;;;;-1:-1:-1;;;12598:6:0;12605:1;12598:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;12598:15:0;;;;;;;;-1:-1:-1;12629:9:0;12641:10;12645:6;12641:1;:10;:::i;:::-;:14;;12654:1;12641:14;:::i;:::-;12629:26;;12624:135;12661:1;12657;:5;12624:135;;;-1:-1:-1;;;12709:5:0;12717:3;12709:11;12696:25;;;;;;;:::i;:::-;;;;12684:6;12691:1;12684:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;12684:37:0;;;;;;;;-1:-1:-1;12746:1:0;12736:11;;;;;12664:3;;;:::i;:::-;;;12624:135;;;-1:-1:-1;12777:10:0;;12769:55;;;;-1:-1:-1;;;12769:55:0;;16252:2:1;12769:55:0;;;16234:21:1;;;16271:18;;;16264:30;16330:34;16310:18;;;16303:62;16382:18;;12769:55:0;16050:356:1;12769:55:0;12849:6;12413:451;-1:-1:-1;;;12413:451:0:o;52787:799::-;52942:4;-1:-1:-1;;;;;52963:13:0;;24614:19;:23;52959:620;;52999:72;;-1:-1:-1;;;52999:72:0;;-1:-1:-1;;;;;52999:36:0;;;;;:72;;20422:10;;53050:4;;53056:7;;53065:5;;52999:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52999:72:0;;;;;;;;-1:-1:-1;;52999:72:0;;;;;;;;;;;;:::i;:::-;;;52995:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53241:6;:13;53258:1;53241:18;53237:272;;53284:60;;-1:-1:-1;;;53284:60:0;;;;;;;:::i;53237:272::-;53459:6;53453:13;53444:6;53440:2;53436:15;53429:38;52995:529;-1:-1:-1;;;;;;53122:51:0;-1:-1:-1;;;53122:51:0;;-1:-1:-1;53115:58:0;;52959:620;-1:-1:-1;53563:4:0;52787:799;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:131::-;-1:-1:-1;;;;;1811:31:1;;1801:42;;1791:70;;1857:1;1854;1847:12;1872:315;1940:6;1948;2001:2;1989:9;1980:7;1976:23;1972:32;1969:52;;;2017:1;2014;2007:12;1969:52;2056:9;2043:23;2075:31;2100:5;2075:31;:::i;:::-;2125:5;2177:2;2162:18;;;;2149:32;;-1:-1:-1;;;1872:315:1:o;2374:456::-;2451:6;2459;2467;2520:2;2508:9;2499:7;2495:23;2491:32;2488:52;;;2536:1;2533;2526:12;2488:52;2575:9;2562:23;2594:31;2619:5;2594:31;:::i;:::-;2644:5;-1:-1:-1;2701:2:1;2686:18;;2673:32;2714:33;2673:32;2714:33;:::i;:::-;2374:456;;2766:7;;-1:-1:-1;;;2820:2:1;2805:18;;;;2792:32;;2374:456::o;2835:264::-;2911:6;2964:2;2952:9;2943:7;2939:23;2935:32;2932:52;;;2980:1;2977;2970:12;2932:52;3019:9;3006:23;3038:31;3063:5;3038:31;:::i;3848:118::-;3934:5;3927:13;3920:21;3913:5;3910:32;3900:60;;3956:1;3953;3946:12;3971:382;4036:6;4044;4097:2;4085:9;4076:7;4072:23;4068:32;4065:52;;;4113:1;4110;4103:12;4065:52;4152:9;4139:23;4171:31;4196:5;4171:31;:::i;:::-;4221:5;-1:-1:-1;4278:2:1;4263:18;;4250:32;4291:30;4250:32;4291:30;:::i;:::-;4340:7;4330:17;;;3971:382;;;;;:::o;4358:127::-;4419:10;4414:3;4410:20;4407:1;4400:31;4450:4;4447:1;4440:15;4474:4;4471:1;4464:15;4490:275;4561:2;4555:9;4626:2;4607:13;;-1:-1:-1;;4603:27:1;4591:40;;4661:18;4646:34;;4682:22;;;4643:62;4640:88;;;4708:18;;:::i;:::-;4744:2;4737:22;4490:275;;-1:-1:-1;4490:275:1:o;4770:186::-;4818:4;4851:18;4843:6;4840:30;4837:56;;;4873:18;;:::i;:::-;-1:-1:-1;4939:2:1;4918:15;-1:-1:-1;;4914:29:1;4945:4;4910:40;;4770:186::o;4961:1016::-;5056:6;5064;5072;5080;5133:3;5121:9;5112:7;5108:23;5104:33;5101:53;;;5150:1;5147;5140:12;5101:53;5189:9;5176:23;5208:31;5233:5;5208:31;:::i;:::-;5258:5;-1:-1:-1;5315:2:1;5300:18;;5287:32;5328:33;5287:32;5328:33;:::i;:::-;5380:7;-1:-1:-1;5434:2:1;5419:18;;5406:32;;-1:-1:-1;5489:2:1;5474:18;;5461:32;5516:18;5505:30;;5502:50;;;5548:1;5545;5538:12;5502:50;5571:22;;5624:4;5616:13;;5612:27;-1:-1:-1;5602:55:1;;5653:1;5650;5643:12;5602:55;5689:2;5676:16;5714:48;5730:31;5758:2;5730:31;:::i;:::-;5714:48;:::i;:::-;5785:2;5778:5;5771:17;5825:7;5820:2;5815;5811;5807:11;5803:20;5800:33;5797:53;;;5846:1;5843;5836:12;5797:53;5901:2;5896;5892;5888:11;5883:2;5876:5;5872:14;5859:45;5945:1;5940:2;5935;5928:5;5924:14;5920:23;5913:34;5966:5;5956:15;;;;;4961:1016;;;;;;;:::o;5982:388::-;6050:6;6058;6111:2;6099:9;6090:7;6086:23;6082:32;6079:52;;;6127:1;6124;6117:12;6079:52;6166:9;6153:23;6185:31;6210:5;6185:31;:::i;:::-;6235:5;-1:-1:-1;6292:2:1;6277:18;;6264:32;6305:33;6264:32;6305:33;:::i;6375:380::-;6454:1;6450:12;;;;6497;;;6518:61;;6572:4;6564:6;6560:17;6550:27;;6518:61;6625:2;6617:6;6614:14;6594:18;6591:38;6588:161;;6671:10;6666:3;6662:20;6659:1;6652:31;6706:4;6703:1;6696:15;6734:4;6731:1;6724:15;6588:161;;6375:380;;;:::o;8693:291::-;8870:6;8859:9;8852:25;8913:2;8908;8897:9;8893:18;8886:30;8833:4;8933:45;8974:2;8963:9;8959:18;8951:6;8933:45;:::i;8989:635::-;9069:6;9122:2;9110:9;9101:7;9097:23;9093:32;9090:52;;;9138:1;9135;9128:12;9090:52;9171:9;9165:16;9204:18;9196:6;9193:30;9190:50;;;9236:1;9233;9226:12;9190:50;9259:22;;9312:4;9304:13;;9300:27;-1:-1:-1;9290:55:1;;9341:1;9338;9331:12;9290:55;9370:2;9364:9;9395:48;9411:31;9439:2;9411:31;:::i;9395:48::-;9466:2;9459:5;9452:17;9506:7;9501:2;9496;9492;9488:11;9484:20;9481:33;9478:53;;;9527:1;9524;9517:12;9478:53;9540:54;9591:2;9586;9579:5;9575:14;9570:2;9566;9562:11;9540:54;:::i;:::-;9613:5;8989:635;-1:-1:-1;;;;;8989:635:1:o;9629:127::-;9690:10;9685:3;9681:20;9678:1;9671:31;9721:4;9718:1;9711:15;9745:4;9742:1;9735:15;9761:135;9800:3;9821:17;;;9818:43;;9841:18;;:::i;:::-;-1:-1:-1;9888:1:1;9877:13;;9761:135::o;9901:413::-;10103:2;10085:21;;;10142:2;10122:18;;;10115:30;10181:34;10176:2;10161:18;;10154:62;-1:-1:-1;;;10247:2:1;10232:18;;10225:47;10304:3;10289:19;;9901:413::o;10319:356::-;10521:2;10503:21;;;10540:18;;;10533:30;10599:34;10594:2;10579:18;;10572:62;10666:2;10651:18;;10319:356::o;11501:184::-;11571:6;11624:2;11612:9;11603:7;11599:23;11595:32;11592:52;;;11640:1;11637;11630:12;11592:52;-1:-1:-1;11663:16:1;;11501:184;-1:-1:-1;11501:184:1:o;11969:245::-;12036:6;12089:2;12077:9;12068:7;12064:23;12060:32;12057:52;;;12105:1;12102;12095:12;12057:52;12137:9;12131:16;12156:28;12178:5;12156:28;:::i;13344:128::-;13384:3;13415:1;13411:6;13408:1;13405:13;13402:39;;;13421:18;;:::i;:::-;-1:-1:-1;13457:9:1;;13344:128::o;14701:125::-;14741:4;14769:1;14766;14763:8;14760:34;;;14774:18;;:::i;:::-;-1:-1:-1;14811:9:1;;14701:125::o;15185:414::-;15387:2;15369:21;;;15426:2;15406:18;;;15399:30;15465:34;15460:2;15445:18;;15438:62;-1:-1:-1;;;15531:2:1;15516:18;;15509:48;15589:3;15574:19;;15185:414::o;15604:168::-;15644:7;15710:1;15706;15702:6;15698:14;15695:1;15692:21;15687:1;15680:9;15673:17;15669:45;15666:71;;;15717:18;;:::i;:::-;-1:-1:-1;15757:9:1;;15604:168::o;15777:127::-;15838:10;15833:3;15829:20;15826:1;15819:31;15869:4;15866:1;15859:15;15893:4;15890:1;15883:15;15909:136;15948:3;15976:5;15966:39;;15985:18;;:::i;:::-;-1:-1:-1;;;16021:18:1;;15909:136::o;16411:489::-;-1:-1:-1;;;;;16680:15:1;;;16662:34;;16732:15;;16727:2;16712:18;;16705:43;16779:2;16764:18;;16757:34;;;16827:3;16822:2;16807:18;;16800:31;;;16605:4;;16848:46;;16874:19;;16866:6;16848:46;:::i;:::-;16840:54;16411:489;-1:-1:-1;;;;;;16411:489:1:o;16905:249::-;16974:6;17027:2;17015:9;17006:7;17002:23;16998:32;16995:52;;;17043:1;17040;17033:12;16995:52;17075:9;17069:16;17094:30;17118:5;17094:30;:::i

Swarm Source

ipfs://c5addbcaa0f57843620bc65962dd5e3557e5c98fc59fe4a5332f58d8de98f3a5
Loading