ETH Price: $3,113.23 (+4.25%)
Gas: 5 Gwei

Token

 

Overview

Max Total Supply

539

Holders

211

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
lordbog.eth
0x6232d7a6085d0ab8f885292078eeb723064a376b
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
LatentWorks_77x7

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : LatentWorks.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import './base64.sol';
import './Rando.sol';

/**

          ___  ___      ___        __   __        __  
|     /\   |  |__  |\ |  |   |  | /  \ |__) |__/ /__` 
|___ /~~\  |  |___ | \|  |  .|/\| \__/ |  \ |  \ .__/ 
                                                      
"77x7", troels_a, 2021


*/

contract LatentWorks_77x7 is ERC1155, ERC1155Supply, Ownable {

    using Counters for Counters.Counter;

    // Constants
    string public constant NAME = "Latent Works \xc2\xb7 77x7";
    string public constant DESCRIPTION = "latent.works";
    uint public constant MAX_WORKS = 77;
    uint public constant MAX_EDITIONS = 7;

    // Works
    Counters.Counter private _id_tracker;
    uint private _released = 0;
    uint private _editions = 0;
    uint private _minted = 0;
    uint private _curr_edition = 0;
    uint private _price = 0.07 ether;
    mapping(uint => string) private _seeds;
    mapping(uint => mapping(uint => address)) private _minters;
    mapping(uint => mapping(uint => uint)) private _timestamps;

    struct Work {
      uint token_id;
      string name;
      string description;
      string image;
      string[7] iterations;
      string[7] colors;
    }


    // Canvas
    mapping(uint256 => string[]) private _palettes;

    constructor() ERC1155("") {

      _palettes[1] = ["#82968c","#6a706e","#ffd447","#ff5714","#170312","#0cf574","#f9b4ed"];
      _palettes[2] = ["#f59ca9","#775253","#01fdf6","#cff27e","#294d4a","#0cf574","#0e103d"];
      _palettes[3] = ['rgba(90, 232, 89, 0.706)', 'rgba(255, 98, 98, 0.706)', 'rgba(79, 42, 109, 0.706)', 'rgba(0, 255, 208, 0.769)', 'pink', '#888', 'black'];

    }


    // State
    function getAvailable() public view returns (uint){
      return (_released - _minted);
    }

    function getMinted() public view returns (uint){
      return _minted;
    }

    function getEditions() public view returns(uint){
      return _editions;
    }

    function getCurrentEdition() public view returns(uint){
        return _curr_edition;
    }
    

    // Minting
    function releaseEdition(address[] memory to) public onlyOwner {
      require(_editions < MAX_EDITIONS, 'MAX_EDITIONS_RELEASED');
      _released = _released+MAX_WORKS;
      _editions++;
      for(uint256 i = 0; i < to.length; i++){
        _mintTo(to[i]);
      }
    }

    function mint() public payable returns (uint) {
      require(msg.value >= _price, "VALUE_TOO_LOW");
      require((getAvailable() > 0), "NOT_AVAILABLE");
      return _mintTo(msg.sender);
    }

    function _mintTo(address to) private returns(uint){
      
      _id_tracker.increment();

      uint256 token_id = _id_tracker.current();

      if(token_id == 1)
        _curr_edition++;

      uint edition = getCurrentEdition();

      if(edition == 1){
        _seeds[token_id] = string(abi.encodePacked(Strings.toString(token_id), block.timestamp, block.difficulty));
      }

      _mint(to, token_id, 1, "");
      _minted++;
      _minters[token_id][edition] = to;
      _timestamps[token_id][edition] = block.timestamp;

      if(token_id == MAX_WORKS){
        _id_tracker.reset();
      }

      return token_id;

    }


    // Media and metadata
    function _getIterationSeed(uint token_id, uint iteration) private view returns(string memory){
      return string(abi.encodePacked(_seeds[token_id], Strings.toString(iteration)));
    }

    function _getPaletteIndex(uint token_id) private view returns(uint) {
      return Rando.number(string(abi.encodePacked(_seeds[token_id], 'P')), 1, 3);
    }

    function getPalette(uint token_id) public view returns(string[] memory){
      uint index = _getPaletteIndex(token_id);
      return _palettes[index];
    }

    function getColor(uint token_id, uint iteration) public view returns(string memory){
      string[] memory palette = getPalette(token_id);
      return palette[Rando.number(string(abi.encodePacked(_getIterationSeed(token_id, iteration), 'C')), 1, 7)];
    }

    function getMinter(uint token_id, uint edition) public view returns(address){
      return _minters[token_id][edition];
    }

    function getWork(uint token_id) public view returns(Work memory){
      
      string[7] memory iterations;
      string[7] memory colors;

      uint supply = totalSupply(token_id);
      uint i = 0;
      while(i < supply){
        iterations[i] = getSVG(token_id, i+1, true);
        i++;
      }

      i = 0;
      while(i < supply){
        colors[i] = getColor(token_id, i);
        i++;
      }

      return Work(
        token_id,
        string(abi.encodePacked("Latent Work #", Strings.toString(token_id))),
        DESCRIPTION,
        getSVG(token_id, supply, true),
        iterations,
        colors
      );

    }

    function _getElement(uint token_id, uint iteration, string memory filter) private view returns(string memory){
      
      string memory svgSeed = _getIterationSeed(token_id, iteration);
      string memory C = getColor(token_id, iteration);
      uint X = Rando.number(string(abi.encodePacked(svgSeed, 'X')), 10, 90);
      uint Y = Rando.number(string(abi.encodePacked(svgSeed, 'Y')), 10, 90);
      uint R = Rando.number(string(abi.encodePacked(svgSeed, 'R')), 5, 70);

      return string(abi.encodePacked('<circle cx="',Strings.toString(X),'%" cy="',Strings.toString(Y),'%" r="',Strings.toString(R),'%" filter="url(#',filter,')" fill="',C,'"></circle>'));

    }


    function _getWatermark(uint token_id, uint iteration) private view returns (string memory) {
      return string(abi.encodePacked('<style>.txt{font: normal 12px monospace;fill: white;}</style><rect width="90" height="30" x="0" y="747" fill="#000" class="box"></rect><text x="12" y="766" class="txt">#',(token_id < 10 ? string(abi.encodePacked('0', Strings.toString(token_id))) : Strings.toString(token_id)),' \xc2\xb7 ',Strings.toString(iteration),'/',Strings.toString(MAX_EDITIONS),'</text><text x="103" y="766" class="txt">',Strings.toString(_timestamps[token_id][iteration]),'</text>'));
    }


    function getSVG(uint256 token_id, uint iteration, bool mark) public view returns (string memory){

        require(iteration <= totalSupply(token_id), 'EDITION_NOT_MINTED');

        string[4] memory parts;

        string memory elements = string(abi.encodePacked(_getElement(token_id, 70, "f1"), _getElement(token_id, 700, "f1")));
        uint i;
        while(i < iteration){
          elements = string(abi.encodePacked(elements, _getElement(token_id, i, "f0")));
          i++;
        }

        uint size = 777;
        string memory view_box_size = Strings.toString(size);
        string memory blur = Strings.toString(size/(iteration+1));

        parts[0] = string(abi.encodePacked('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" viewBox="0 0 ',view_box_size,' ',view_box_size,'"><defs><rect id="bg" width="100%" height="100%" fill="#fff" /><clipPath id="clip"><use xlink:href="#bg"/></clipPath><filter id="f0" width="300%" height="300%" x="-100%" y="-100%"><feGaussianBlur in="SourceGraphic" stdDeviation="',blur,'"/></filter><filter id="f1" width="300%" height="300%" x="-100%" y="-100%"><feGaussianBlur in="SourceGraphic" stdDeviation="700"/></filter></defs><rect width="100%" height="100%" fill="#fff" />'));
        parts[1] = string(abi.encodePacked('<g clip-path="url(#clip)"><use xlink:href="#bg"/>', elements, '</g>'));
        parts[2] = mark ? _getWatermark(token_id, iteration) : '';
        parts[3] = '</svg>';

        string memory output = string(abi.encodePacked('data:image/svg+xml;base64,', Base64.encode(bytes(string(abi.encodePacked(parts[0], parts[1], parts[2], parts[3]))))));

        return output;

    }

    function uri(uint256 token_id) virtual public view override returns (string memory) {
        
        require(exists(token_id), 'INVALID_ID');
        Work memory work = getWork(token_id);

        string memory json = Base64.encode(bytes(string(abi.encodePacked('{"name": "', work.name, '", "description": "', work.description, '", "image": "', work.image, '"}'))));

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

    }

    // Balance
    function withdrawAll() public payable onlyOwner {
      require(payable(msg.sender).send(address(this).balance));
    }


    // Required overrides
    function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal override (ERC1155, ERC1155Supply) {
        super._mint(account, id, amount, data);
    }

    function _mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal override (ERC1155, ERC1155Supply) {
        super._mintBatch(to, ids, amounts, data);
    }

    function _burn(address account, uint256 id, uint256 amount) internal override (ERC1155, ERC1155Supply) {
        super._burn(account, id, amount);
    }

    function _burnBatch(address to, uint256[] memory ids, uint256[] memory amounts) internal override (ERC1155, ERC1155Supply) {
        super._burnBatch(to, ids, amounts);
    }

}

File 2 of 17 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][account] += amount;
        emit TransferSingle(operator, address(0), account, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 accountBalance = _balances[id][account];
        require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][account] = accountBalance - amount;
        }

        emit TransferSingle(operator, account, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 accountBalance = _balances[id][account];
            require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][account] = accountBalance - amount;
            }
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 3 of 17 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates weither any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_mint}.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual override {
        super._mint(account, id, amount, data);
        _totalSupply[id] += amount;
    }

    /**
     * @dev See {ERC1155-_mintBatch}.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._mintBatch(to, ids, amounts, data);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] += amounts[i];
        }
    }

    /**
     * @dev See {ERC1155-_burn}.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual override {
        super._burn(account, id, amount);
        _totalSupply[id] -= amount;
    }

    /**
     * @dev See {ERC1155-_burnBatch}.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual override {
        super._burnBatch(account, ids, amounts);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] -= amounts[i];
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 5 of 17 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 17 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 7 of 17 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 17 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 9 of 17 : base64.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

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

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

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

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

    bytes memory table = TABLE;

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

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

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

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

        mstore(resultPtr, out)

        resultPtr := add(resultPtr, 4)
      }

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

      mstore(result, encodedLen)
    }

    return string(result);
  }
}

File 10 of 17 : Rando.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

library Rando {

    function number(string memory seed, uint min, uint max) internal pure returns (uint) {
      if (max <= min) return min;
        return (uint256(keccak256(abi.encodePacked(seed))) % (max - min)) + min;
    }

}

File 11 of 17 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 12 of 17 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 13 of 17 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 14 of 17 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 15 of 17 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 16 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 17 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"DESCRIPTION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_EDITIONS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WORKS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"token_id","type":"uint256"},{"internalType":"uint256","name":"iteration","type":"uint256"}],"name":"getColor","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentEdition","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getEditions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"token_id","type":"uint256"},{"internalType":"uint256","name":"edition","type":"uint256"}],"name":"getMinter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"token_id","type":"uint256"}],"name":"getPalette","outputs":[{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"token_id","type":"uint256"},{"internalType":"uint256","name":"iteration","type":"uint256"},{"internalType":"bool","name":"mark","type":"bool"}],"name":"getSVG","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"token_id","type":"uint256"}],"name":"getWork","outputs":[{"components":[{"internalType":"uint256","name":"token_id","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"image","type":"string"},{"internalType":"string[7]","name":"iterations","type":"string[7]"},{"internalType":"string[7]","name":"colors","type":"string[7]"}],"internalType":"struct LatentWorks_77x7.Work","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"}],"name":"releaseEdition","outputs":[],"stateMutability":"nonpayable","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":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"token_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052600060065560006007556000600855600060095566f8b0a10e470000600a553480156200003057600080fd5b50604051806020016040528060008152506200005281620005da60201b60201c565b506200007362000067620005f660201b60201c565b620005fe60201b60201c565b6040518060e001604052806040518060400160405280600781526020017f233832393638630000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f233661373036650000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236666643434370000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236666353731340000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f233137303331320000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f233063663537340000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f2366396234656400000000000000000000000000000000000000000000000000815250815250600e6000600181526020019081526020016000209060076200023d929190620006c4565b506040518060e001604052806040518060400160405280600781526020017f236635396361390000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f233737353235330000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f233031666466360000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236366663237650000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f233239346434610000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f233063663537340000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f2330653130336400000000000000000000000000000000000000000000000000815250815250600e60006002815260200190815260200160002090600762000408929190620006c4565b506040518060e001604052806040518060400160405280601881526020017f726762612839302c203233322c2038392c20302e37303629000000000000000081525081526020016040518060400160405280601881526020017f72676261283235352c2039382c2039382c20302e37303629000000000000000081525081526020016040518060400160405280601881526020017f726762612837392c2034322c203130392c20302e37303629000000000000000081525081526020016040518060400160405280601881526020017f7267626128302c203235352c203230382c20302e37363929000000000000000081525081526020016040518060400160405280600481526020017f70696e6b0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f233838380000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f626c61636b000000000000000000000000000000000000000000000000000000815250815250600e600060038152602001908152602001600020906007620005d3929190620006c4565b50620008ae565b8060029080519060200190620005f29291906200072b565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805482825590600052602060002090810192821562000718579160200282015b8281111562000717578251829080519060200190620007069291906200072b565b5091602001919060010190620006e5565b5b509050620007279190620007bc565b5090565b828054620007399062000849565b90600052602060002090601f0160209004810192826200075d5760008555620007a9565b82601f106200077857805160ff1916838001178555620007a9565b82800160010185558215620007a9579182015b82811115620007a85782518255916020019190600101906200078b565b5b509050620007b89190620007e4565b5090565b5b80821115620007e05760008181620007d6919062000803565b50600101620007bd565b5090565b5b80821115620007ff576000816000905550600101620007e5565b5090565b508054620008119062000849565b6000825580601f1062000825575062000846565b601f016020900490600052602060002090810190620008459190620007e4565b5b50565b600060028204905060018216806200086257607f821691505b602082108114156200087957620008786200087f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615ede80620008be6000396000f3fe6080604052600436106101c15760003560e01c8063853828b6116100f7578063d386a19511610095578063f1ae885611610064578063f1ae885614610689578063f242432a146106b4578063f2fde38b146106dd578063f9cc060514610706576101c1565b8063d386a195146105b9578063df6efc6c146105e4578063e985e9c51461060f578063eded5d9e1461064c576101c1565b8063a22cb465116100d1578063a22cb465146104fd578063a3f4df7e14610526578063ac72200d14610551578063bd85b0391461057c576101c1565b8063853828b61461049d5780638da5cb5b146104a757806396113d36146104d2576101c1565b80634e1273f41161016457806355de5a931161013e57806355de5a93146103e1578063573d21f31461040c5780635dfe3c4d14610449578063715018a614610486576101c1565b80634e1273f41461032a5780634f558e7914610367578063505e570a146103a4576101c1565b8063104a112a116101a0578063104a112a1461027d5780631249c58b146102ba5780632eb2c2d6146102d85780633ead50cb14610301576101c1565b8062fdd58e146101c657806301ffc9a7146102035780630e89341c14610240575b600080fd5b3480156101d257600080fd5b506101ed60048036038101906101e89190613698565b610731565b6040516101fa9190614ac6565b60405180910390f35b34801561020f57600080fd5b5061022a60048036038101906102259190613781565b6107fa565b6040516102379190614827565b60405180910390f35b34801561024c57600080fd5b50610267600480360381019061026291906137d3565b6108dc565b6040516102749190614842565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f9190613838565b610998565b6040516102b19190614842565b60405180910390f35b6102c2610e4e565b6040516102cf9190614ac6565b60405180910390f35b3480156102e457600080fd5b506102ff60048036038101906102fa919061350e565b610eed565b005b34801561030d57600080fd5b50610328600480360381019061032391906136d4565b610f8e565b005b34801561033657600080fd5b50610351600480360381019061034c9190613715565b6110e8565b60405161035e91906147ce565b60405180910390f35b34801561037357600080fd5b5061038e600480360381019061038991906137d3565b611299565b60405161039b9190614827565b60405180910390f35b3480156103b057600080fd5b506103cb60048036038101906103c691906137d3565b6112ad565b6040516103d891906147ac565b60405180910390f35b3480156103ed57600080fd5b506103f66113a7565b6040516104039190614ac6565b60405180910390f35b34801561041857600080fd5b50610433600480360381019061042e91906137d3565b6113b1565b6040516104409190614aa4565b60405180910390f35b34801561045557600080fd5b50610470600480360381019061046b91906137fc565b611557565b60405161047d91906146cf565b60405180910390f35b34801561049257600080fd5b5061049b6115a6565b005b6104a561162e565b005b3480156104b357600080fd5b506104bc6116ea565b6040516104c991906146cf565b60405180910390f35b3480156104de57600080fd5b506104e7611714565b6040516104f49190614ac6565b60405180910390f35b34801561050957600080fd5b50610524600480360381019061051f919061365c565b611719565b005b34801561053257600080fd5b5061053b61189a565b6040516105489190614842565b60405180910390f35b34801561055d57600080fd5b506105666118d3565b6040516105739190614ac6565b60405180910390f35b34801561058857600080fd5b506105a3600480360381019061059e91906137d3565b6118dd565b6040516105b09190614ac6565b60405180910390f35b3480156105c557600080fd5b506105ce6118fa565b6040516105db9190614ac6565b60405180910390f35b3480156105f057600080fd5b506105f96118ff565b6040516106069190614ac6565b60405180910390f35b34801561061b57600080fd5b50610636600480360381019061063191906134d2565b611909565b6040516106439190614827565b60405180910390f35b34801561065857600080fd5b50610673600480360381019061066e91906137fc565b61199d565b6040516106809190614842565b60405180910390f35b34801561069557600080fd5b5061069e611a2a565b6040516106ab9190614842565b60405180910390f35b3480156106c057600080fd5b506106db60048036038101906106d691906135cd565b611a63565b005b3480156106e957600080fd5b5061070460048036038101906106ff91906134a9565b611b04565b005b34801561071257600080fd5b5061071b611bfc565b6040516107289190614ac6565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610799906148e4565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108c557507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108d557506108d482611c13565b5b9050919050565b60606108e782611299565b610926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091d90614a04565b60405180910390fd5b6000610931836113b1565b9050600061096d826020015183604001518460600151604051602001610959939291906145b9565b604051602081830303815290604052611c7d565b9050806040516020016109809190614616565b60405160208183030381529060405292505050919050565b60606109a3846118dd565b8311156109e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109dc90614944565b60405180910390fd5b6109ed613179565b6000610a308660466040518060400160405280600281526020017f6631000000000000000000000000000000000000000000000000000000000000815250611e3b565b610a72876102bc6040518060400160405280600281526020017f6631000000000000000000000000000000000000000000000000000000000000815250611e3b565b604051602001610a839291906142f5565b604051602081830303815290604052905060005b85811015610b155781610ae088836040518060400160405280600281526020017f6630000000000000000000000000000000000000000000000000000000000000815250611e3b565b604051602001610af19291906142f5565b60405160208183030381529060405291508080610b0d90614eee565b915050610a97565b600061030990506000610b2782611f37565b90506000610b4b60018a610b3b9190614cc0565b84610b469190614d16565b611f37565b9050818282604051602001610b629392919061455c565b60405160208183030381529060405286600060048110610bab577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002018190525084604051602001610bc4919061450d565b60405160208183030381529060405286600160048110610c0d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002018190525087610c2f5760405180602001604052806000815250610c3a565b610c398a8a6120e4565b5b86600260048110610c74577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201819052506040518060400160405280600681526020017f3c2f7376673e000000000000000000000000000000000000000000000000000081525086600360048110610cec577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201819052506000610e1c87600060048110610d33577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015188600160048110610d72577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015189600260048110610db1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201518a600360048110610df0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151604051602001610e089493929190614319565b604051602081830303815290604052611c7d565b604051602001610e2c91906146ad565b6040516020818303038152906040529050809750505050505050509392505050565b6000600a54341015610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c906149a4565b60405180910390fd5b6000610e9f611bfc565b11610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed6906148c4565b60405180910390fd5b610ee83361218f565b905090565b610ef5612312565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610f3b5750610f3a85610f35612312565b611909565b5b610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7190614984565b60405180910390fd5b610f87858585858561231a565b5050505050565b610f96612312565b73ffffffffffffffffffffffffffffffffffffffff16610fb46116ea565b73ffffffffffffffffffffffffffffffffffffffff161461100a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611001906149e4565b60405180910390fd5b600780541061104e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104590614884565b60405180910390fd5b604d60065461105d9190614cc0565b6006819055506007600081548092919061107690614eee565b919050555060005b81518110156110e4576110d08282815181106110c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161218f565b5080806110dc90614eee565b91505061107e565b5050565b6060815183511461112e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112590614a44565b60405180910390fd5b6000835167ffffffffffffffff811115611171577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561119f5781602001602082028036833780820191505090505b50905060005b845181101561128e576112388582815181106111ea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185838151811061122b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610731565b828281518110611271577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508061128790614eee565b90506111a5565b508091505092915050565b6000806112a5836118dd565b119050919050565b606060006112ba8361267a565b9050600e6000828152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b8282101561139b57838290600052602060002001805461130e90614e8b565b80601f016020809104026020016040519081016040528092919081815260200182805461133a90614e8b565b80156113875780601f1061135c57610100808354040283529160200191611387565b820191906000526020600020905b81548152906001019060200180831161136a57829003601f168201915b5050505050815260200190600101906112ef565b50505050915050919050565b6000600954905090565b6113b96131a0565b6113c16131e2565b6113c96131e2565b60006113d4856118dd565b905060005b8181101561144d576113f9866001836113f29190614cc0565b6001610998565b848260078110611432577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250808061144590614eee565b9150506113d9565b600090505b818110156114b857611464868261199d565b83826007811061149d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002018190525080806114b090614eee565b915050611452565b6040518060c001604052808781526020016114d288611f37565b6040516020016114e2919061453a565b60405160208183030381529060405281526020016040518060400160405280600c81526020017f6c6174656e742e776f726b730000000000000000000000000000000000000000815250815260200161153d88856001610998565b815260200185815260200184815250945050505050919050565b6000600c6000848152602001908152602001600020600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905092915050565b6115ae612312565b73ffffffffffffffffffffffffffffffffffffffff166115cc6116ea565b73ffffffffffffffffffffffffffffffffffffffff1614611622576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611619906149e4565b60405180910390fd5b61162c60006126c1565b565b611636612312565b73ffffffffffffffffffffffffffffffffffffffff166116546116ea565b73ffffffffffffffffffffffffffffffffffffffff16146116aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a1906149e4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050506116e857600080fd5b565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600781565b8173ffffffffffffffffffffffffffffffffffffffff16611738612312565b73ffffffffffffffffffffffffffffffffffffffff16141561178f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178690614a24565b60405180910390fd5b806001600061179c612312565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611849612312565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161188e9190614827565b60405180910390a35050565b6040518060400160405280601481526020017f4c6174656e7420576f726b7320c2b7203737783700000000000000000000000081525081565b6000600854905090565b600060036000838152602001908152602001600020549050919050565b604d81565b6000600754905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060006119aa846112ad565b9050806119e26119ba8686612787565b6040516020016119ca9190614357565b604051602081830303815290604052600160076127cd565b81518110611a19577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015191505092915050565b6040518060400160405280600c81526020017f6c6174656e742e776f726b73000000000000000000000000000000000000000081525081565b611a6b612312565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611ab15750611ab085611aab612312565b611909565b5b611af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae790614924565b60405180910390fd5b611afd8585858585612833565b5050505050565b611b0c612312565b73ffffffffffffffffffffffffffffffffffffffff16611b2a6116ea565b73ffffffffffffffffffffffffffffffffffffffff1614611b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b77906149e4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be790614904565b60405180910390fd5b611bf9816126c1565b50565b6000600854600654611c0e9190614da1565b905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000825190506000811415611ca65760405180602001604052806000815250915050611e36565b60006003600283611cb79190614cc0565b611cc19190614d16565b6004611ccd9190614d47565b90506000602082611cde9190614cc0565b67ffffffffffffffff811115611d1d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611d4f5781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001615e69604091399050600181016020830160005b86811015611df35760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050611d7a565b506003860660018114611e0d5760028114611e1d57611e28565b613d3d60f01b6002830352611e28565b603d60f81b60018303525b508484525050819450505050505b919050565b60606000611e498585612787565b90506000611e57868661199d565b90506000611e8783604051602001611e6f9190614379565b604051602081830303815290604052600a605a6127cd565b90506000611eb784604051602001611e9f919061439b565b604051602081830303815290604052600a605a6127cd565b90506000611ee785604051602001611ecf91906143bd565b604051602081830303815290604052600560466127cd565b9050611ef283611f37565b611efb83611f37565b611f0483611f37565b8987604051602001611f1a959493929190614480565b604051602081830303815290604052955050505050509392505050565b60606000821415611f7f576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120df565b600082905060005b60008214611fb1578080611f9a90614eee565b915050600a82611faa9190614d16565b9150611f87565b60008167ffffffffffffffff811115611ff3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120255781602001600182028036833780820191505090505b5090505b600085146120d85760018261203e9190614da1565b9150600a8561204d9190614f41565b60306120599190614cc0565b60f81b818381518110612095577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120d19190614d16565b9450612029565b8093505050505b919050565b6060600a83106120fc576120f783611f37565b612125565b61210583611f37565b604051602001612115919061445e565b6040516020818303038152906040525b61212e83611f37565b6121386007611f37565b612165600d6000888152602001908152602001600020600087815260200190815260200160002054611f37565b6040516020016121789493929190614638565b604051602081830303815290604052905092915050565b600061219b6005612ab5565b60006121a76005612acb565b905060018114156121cb57600960008154809291906121c590614eee565b91905055505b60006121d56113a7565b90506001811415612234576121e982611f37565b42446040516020016121fd939291906143df565b604051602081830303815290604052600b60008481526020019081526020016000209080519060200190612232929190613209565b505b6122508483600160405180602001604052806000815250612ad9565b6008600081548092919061226390614eee565b919050555083600c6000848152602001908152602001600020600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555042600d6000848152602001908152602001600020600083815260200190815260200160002081905550604d821415612308576123076005612aeb565b5b8192505050919050565b600033905090565b815183511461235e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235590614a64565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c590614964565b60405180910390fd5b60006123d8612312565b90506123e8818787878787612af8565b60005b84518110156125e557600085828151811061242f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110612474577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250c906149c4565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125ca9190614cc0565b92505081905550505050806125de90614eee565b90506123eb565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161265c9291906147f0565b60405180910390a4612672818787878787612b00565b505050505050565b60006126ba600b60008481526020019081526020016000206040516020016126a2919061443c565b604051602081830303815290604052600160036127cd565b9050919050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6060600b60008481526020019081526020016000206127a583611f37565b6040516020016127b6929190614418565b604051602081830303815290604052905092915050565b60008282116127de5782905061282c565b8283836127eb9190614da1565b856040516020016127fc91906142de565b6040516020818303038152906040528051906020012060001c61281f9190614f41565b6128299190614cc0565b90505b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156128a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289a90614964565b60405180910390fd5b60006128ad612312565b90506128cd8187876128be88612ce7565b6128c788612ce7565b87612af8565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295b906149c4565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a199190614cc0565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612a96929190614ae1565b60405180910390a4612aac828888888888612dad565b50505050505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b612ae584848484612f94565b50505050565b6000816000018190555050565b505050505050565b612b1f8473ffffffffffffffffffffffffffffffffffffffff16612fd0565b15612cdf578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612b659594939291906146ea565b602060405180830381600087803b158015612b7f57600080fd5b505af1925050508015612bb057506040513d601f19601f82011682018060405250810190612bad91906137aa565b60015b612c5657612bbc61502e565b806308c379a01415612c195750612bd1615d76565b80612bdc5750612c1b565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c109190614842565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4d90614864565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd4906148a4565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612d2c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612d5a5781602001602082028036833780820191505090505b5090508281600081518110612d98577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b612dcc8473ffffffffffffffffffffffffffffffffffffffff16612fd0565b15612f8c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612e12959493929190614752565b602060405180830381600087803b158015612e2c57600080fd5b505af1925050508015612e5d57506040513d601f19601f82011682018060405250810190612e5a91906137aa565b60015b612f0357612e6961502e565b806308c379a01415612ec65750612e7e615d76565b80612e895750612ec8565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ebd9190614842565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612efa90614864565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612f8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f81906148a4565b60405180910390fd5b505b505050505050565b612fa084848484612fe3565b81600360008581526020019081526020016000206000828254612fc39190614cc0565b9250508190555050505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613053576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304a90614a84565b60405180910390fd5b600061305d612312565b905061307e8160008761306f88612ce7565b61307888612ce7565b87612af8565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130dd9190614cc0565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161315b929190614ae1565b60405180910390a461317281600087878787612dad565b5050505050565b60405180608001604052806004905b60608152602001906001900390816131885790505090565b6040518060c00160405280600081526020016060815260200160608152602001606081526020016131cf6131e2565b81526020016131dc6131e2565b81525090565b6040518060e001604052806007905b60608152602001906001900390816131f15790505090565b82805461321590614e8b565b90600052602060002090601f016020900481019282613237576000855561327e565b82601f1061325057805160ff191683800117855561327e565b8280016001018555821561327e579182015b8281111561327d578251825591602001919060010190613262565b5b50905061328b919061328f565b5090565b5b808211156132a8576000816000905550600101613290565b5090565b60006132bf6132ba84614b2f565b614b0a565b905080838252602082019050828560208602820111156132de57600080fd5b60005b8581101561330e57816132f488826133c2565b8452602084019350602083019250506001810190506132e1565b5050509392505050565b600061332b61332684614b5b565b614b0a565b9050808382526020820190508285602086028201111561334a57600080fd5b60005b8581101561337a57816133608882613494565b84526020840193506020830192505060018101905061334d565b5050509392505050565b600061339761339284614b87565b614b0a565b9050828152602081018484840111156133af57600080fd5b6133ba848285614e49565b509392505050565b6000813590506133d181615e0c565b92915050565b600082601f8301126133e857600080fd5b81356133f88482602086016132ac565b91505092915050565b600082601f83011261341257600080fd5b8135613422848260208601613318565b91505092915050565b60008135905061343a81615e23565b92915050565b60008135905061344f81615e3a565b92915050565b60008151905061346481615e3a565b92915050565b600082601f83011261347b57600080fd5b813561348b848260208601613384565b91505092915050565b6000813590506134a381615e51565b92915050565b6000602082840312156134bb57600080fd5b60006134c9848285016133c2565b91505092915050565b600080604083850312156134e557600080fd5b60006134f3858286016133c2565b9250506020613504858286016133c2565b9150509250929050565b600080600080600060a0868803121561352657600080fd5b6000613534888289016133c2565b9550506020613545888289016133c2565b945050604086013567ffffffffffffffff81111561356257600080fd5b61356e88828901613401565b935050606086013567ffffffffffffffff81111561358b57600080fd5b61359788828901613401565b925050608086013567ffffffffffffffff8111156135b457600080fd5b6135c08882890161346a565b9150509295509295909350565b600080600080600060a086880312156135e557600080fd5b60006135f3888289016133c2565b9550506020613604888289016133c2565b945050604061361588828901613494565b935050606061362688828901613494565b925050608086013567ffffffffffffffff81111561364357600080fd5b61364f8882890161346a565b9150509295509295909350565b6000806040838503121561366f57600080fd5b600061367d858286016133c2565b925050602061368e8582860161342b565b9150509250929050565b600080604083850312156136ab57600080fd5b60006136b9858286016133c2565b92505060206136ca85828601613494565b9150509250929050565b6000602082840312156136e657600080fd5b600082013567ffffffffffffffff81111561370057600080fd5b61370c848285016133d7565b91505092915050565b6000806040838503121561372857600080fd5b600083013567ffffffffffffffff81111561374257600080fd5b61374e858286016133d7565b925050602083013567ffffffffffffffff81111561376b57600080fd5b61377785828601613401565b9150509250929050565b60006020828403121561379357600080fd5b60006137a184828501613440565b91505092915050565b6000602082840312156137bc57600080fd5b60006137ca84828501613455565b91505092915050565b6000602082840312156137e557600080fd5b60006137f384828501613494565b91505092915050565b6000806040838503121561380f57600080fd5b600061381d85828601613494565b925050602061382e85828601613494565b9150509250929050565b60008060006060848603121561384d57600080fd5b600061385b86828701613494565b935050602061386c86828701613494565b925050604061387d8682870161342b565b9150509250925092565b60006138938383613a52565b905092915050565b60006138a783836142a9565b60208301905092915050565b6138bc81614dd5565b82525050565b60006138cd82614bf7565b6138d78185614c55565b9350836020820285016138e985614bb8565b8060005b8581101561392557848403895281516139068582613887565b945061391183614c2e565b925060208a019950506001810190506138ed565b50829750879550505050505092915050565b600061394282614c02565b61394c8185614c60565b93508360208202850161395e85614bc2565b8060005b8581101561399a578484038952815161397b8582613887565b945061398683614c3b565b925060208a01995050600181019050613962565b50829750879550505050505092915050565b60006139b782614c0d565b6139c18185614c71565b93506139cc83614bd2565b8060005b838110156139fd5781516139e4888261389b565b97506139ef83614c48565b9250506001810190506139d0565b5085935050505092915050565b613a1381614de7565b82525050565b6000613a2482614c18565b613a2e8185614c82565b9350613a3e818560208601614e58565b613a4781615050565b840191505092915050565b6000613a5d82614c23565b613a678185614c93565b9350613a77818560208601614e58565b613a8081615050565b840191505092915050565b6000613a9682614c23565b613aa08185614ca4565b9350613ab0818560208601614e58565b613ab981615050565b840191505092915050565b6000613acf82614c23565b613ad98185614cb5565b9350613ae9818560208601614e58565b80840191505092915050565b60008154613b0281614e8b565b613b0c8186614cb5565b94506001821660008114613b275760018114613b3857613b6b565b60ff19831686528186019350613b6b565b613b4185614be2565b60005b83811015613b6357815481890152600182019150602081019050613b44565b838801955050505b50505092915050565b6000613b81603483614ca4565b9150613b8c8261506e565b604082019050919050565b6000613ba4600183614cb5565b9150613baf826150bd565b600182019050919050565b6000613bc7601583614ca4565b9150613bd2826150e6565b602082019050919050565b6000613bea600183614cb5565b9150613bf58261510f565b600182019050919050565b6000613c0d602883614ca4565b9150613c1882615138565b604082019050919050565b6000613c30600c83614cb5565b9150613c3b82615187565b600c82019050919050565b6000613c53600d83614ca4565b9150613c5e826151b0565b602082019050919050565b6000613c76601383614cb5565b9150613c81826151d9565b601382019050919050565b6000613c99602983614cb5565b9150613ca482615202565b602982019050919050565b6000613cbc600483614cb5565b9150613cc782615251565b600482019050919050565b6000613cdf600683614cb5565b9150613cea8261527a565b600682019050919050565b6000613d02602b83614ca4565b9150613d0d826152a3565b604082019050919050565b6000613d25602683614ca4565b9150613d30826152f2565b604082019050919050565b6000613d48603183614cb5565b9150613d5382615341565b603182019050919050565b6000613d6b602983614ca4565b9150613d7682615390565b604082019050919050565b6000613d8e601283614ca4565b9150613d99826153df565b602082019050919050565b6000613db1600d83614cb5565b9150613dbc82615408565b600d82019050919050565b6000613dd4600183614cb5565b9150613ddf82615431565b600182019050919050565b6000613df7600783614cb5565b9150613e028261545a565b600782019050919050565b6000613e1a600183614cb5565b9150613e2582615483565b600182019050919050565b6000613e3d602583614ca4565b9150613e48826154ac565b604082019050919050565b6000613e60603283614ca4565b9150613e6b826154fb565b604082019050919050565b6000613e83600d83614ca4565b9150613e8e8261554a565b602082019050919050565b6000613ea6600183614cb5565b9150613eb182615573565b600182019050919050565b6000613ec9600283614cb5565b9150613ed48261559c565b600282019050919050565b6000613eec600783614cb5565b9150613ef7826155c5565b600782019050919050565b6000613f0f602a83614ca4565b9150613f1a826155ee565b604082019050919050565b6000613f32600d83614cb5565b9150613f3d8261563d565b600d82019050919050565b6000613f5560c183614cb5565b9150613f6082615666565b60c182019050919050565b6000613f78602083614ca4565b9150613f8382615773565b602082019050919050565b6000613f9b600183614cb5565b9150613fa68261579c565b600182019050919050565b6000613fbe600483614cb5565b9150613fc9826157c5565b600482019050919050565b6000613fe1608483614cb5565b9150613fec826157ee565b608482019050919050565b6000614004600a83614cb5565b915061400f826158af565b600a82019050919050565b6000614027600983614cb5565b9150614032826158d8565b600982019050919050565b600061404a600b83614cb5565b915061405582615901565b600b82019050919050565b600061406d600a83614ca4565b91506140788261592a565b602082019050919050565b6000614090601d83614cb5565b915061409b82615953565b601d82019050919050565b60006140b360e583614cb5565b91506140be8261597c565b60e582019050919050565b60006140d6601083614cb5565b91506140e182615aaf565b601082019050919050565b60006140f9602983614ca4565b915061410482615ad8565b604082019050919050565b600061411c602983614ca4565b915061412782615b27565b604082019050919050565b600061413f60a983614cb5565b915061414a82615b76565b60a982019050919050565b6000614162602883614ca4565b915061416d82615c5d565b604082019050919050565b6000614185602183614ca4565b915061419082615cac565b604082019050919050565b60006141a8600183614cb5565b91506141b382615cfb565b600182019050919050565b60006141cb601a83614cb5565b91506141d682615d24565b601a82019050919050565b60006141ee600183614cb5565b91506141f982615d4d565b600182019050919050565b600060c08301600083015161421c60008601826142a9565b50602083015184820360208601526142348282613a52565b9150506040830151848203604086015261424e8282613a52565b915050606083015184820360608601526142688282613a52565b9150506080830151848203608086015261428282826138c2565b91505060a083015184820360a086015261429c82826138c2565b9150508091505092915050565b6142b281614e3f565b82525050565b6142c181614e3f565b82525050565b6142d86142d382614e3f565b614f37565b82525050565b60006142ea8284613ac4565b915081905092915050565b60006143018285613ac4565b915061430d8284613ac4565b91508190509392505050565b60006143258287613ac4565b91506143318286613ac4565b915061433d8285613ac4565b91506143498284613ac4565b915081905095945050505050565b60006143638284613ac4565b915061436e82613b97565b915081905092915050565b60006143858284613ac4565b915061439082613dc7565b915081905092915050565b60006143a78284613ac4565b91506143b282613f8e565b915081905092915050565b60006143c98284613ac4565b91506143d48261419b565b915081905092915050565b60006143eb8286613ac4565b91506143f782856142c7565b60208201915061440782846142c7565b602082019150819050949350505050565b60006144248285613af5565b91506144308284613ac4565b91508190509392505050565b60006144488284613af5565b915061445382613e99565b915081905092915050565b600061446982613bdd565b91506144758284613ac4565b915081905092915050565b600061448b82613c23565b91506144978288613ac4565b91506144a282613dea565b91506144ae8287613ac4565b91506144b982613cd2565b91506144c58286613ac4565b91506144d0826140c9565b91506144dc8285613ac4565b91506144e78261401a565b91506144f38284613ac4565b91506144fe8261403d565b91508190509695505050505050565b600061451882613d3b565b91506145248284613ac4565b915061452f82613fb1565b915081905092915050565b600061454582613da4565b91506145518284613ac4565b915081905092915050565b600061456782613fd4565b91506145738286613ac4565b915061457e82613e0d565b915061458a8285613ac4565b9150614595826140a6565b91506145a18284613ac4565b91506145ac82613f48565b9150819050949350505050565b60006145c482613ff7565b91506145d08286613ac4565b91506145db82613c69565b91506145e78285613ac4565b91506145f282613f25565b91506145fe8284613ac4565b915061460982613ebc565b9150819050949350505050565b600061462182614083565b915061462d8284613ac4565b915081905092915050565b600061464382614132565b915061464f8287613ac4565b915061465a82613caf565b91506146668286613ac4565b9150614671826141e1565b915061467d8285613ac4565b915061468882613c8c565b91506146948284613ac4565b915061469f82613edf565b915081905095945050505050565b60006146b8826141be565b91506146c48284613ac4565b915081905092915050565b60006020820190506146e460008301846138b3565b92915050565b600060a0820190506146ff60008301886138b3565b61470c60208301876138b3565b818103604083015261471e81866139ac565b9050818103606083015261473281856139ac565b905081810360808301526147468184613a19565b90509695505050505050565b600060a08201905061476760008301886138b3565b61477460208301876138b3565b61478160408301866142b8565b61478e60608301856142b8565b81810360808301526147a08184613a19565b90509695505050505050565b600060208201905081810360008301526147c68184613937565b905092915050565b600060208201905081810360008301526147e881846139ac565b905092915050565b6000604082019050818103600083015261480a81856139ac565b9050818103602083015261481e81846139ac565b90509392505050565b600060208201905061483c6000830184613a0a565b92915050565b6000602082019050818103600083015261485c8184613a8b565b905092915050565b6000602082019050818103600083015261487d81613b74565b9050919050565b6000602082019050818103600083015261489d81613bba565b9050919050565b600060208201905081810360008301526148bd81613c00565b9050919050565b600060208201905081810360008301526148dd81613c46565b9050919050565b600060208201905081810360008301526148fd81613cf5565b9050919050565b6000602082019050818103600083015261491d81613d18565b9050919050565b6000602082019050818103600083015261493d81613d5e565b9050919050565b6000602082019050818103600083015261495d81613d81565b9050919050565b6000602082019050818103600083015261497d81613e30565b9050919050565b6000602082019050818103600083015261499d81613e53565b9050919050565b600060208201905081810360008301526149bd81613e76565b9050919050565b600060208201905081810360008301526149dd81613f02565b9050919050565b600060208201905081810360008301526149fd81613f6b565b9050919050565b60006020820190508181036000830152614a1d81614060565b9050919050565b60006020820190508181036000830152614a3d816140ec565b9050919050565b60006020820190508181036000830152614a5d8161410f565b9050919050565b60006020820190508181036000830152614a7d81614155565b9050919050565b60006020820190508181036000830152614a9d81614178565b9050919050565b60006020820190508181036000830152614abe8184614204565b905092915050565b6000602082019050614adb60008301846142b8565b92915050565b6000604082019050614af660008301856142b8565b614b0360208301846142b8565b9392505050565b6000614b14614b25565b9050614b208282614ebd565b919050565b6000604051905090565b600067ffffffffffffffff821115614b4a57614b49614fff565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614b7657614b75614fff565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614ba257614ba1614fff565b5b614bab82615050565b9050602081019050919050565b6000819050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600060079050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614ccb82614e3f565b9150614cd683614e3f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d0b57614d0a614f72565b5b828201905092915050565b6000614d2182614e3f565b9150614d2c83614e3f565b925082614d3c57614d3b614fa1565b5b828204905092915050565b6000614d5282614e3f565b9150614d5d83614e3f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614d9657614d95614f72565b5b828202905092915050565b6000614dac82614e3f565b9150614db783614e3f565b925082821015614dca57614dc9614f72565b5b828203905092915050565b6000614de082614e1f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614e76578082015181840152602081019050614e5b565b83811115614e85576000848401525b50505050565b60006002820490506001821680614ea357607f821691505b60208210811415614eb757614eb6614fd0565b5b50919050565b614ec682615050565b810181811067ffffffffffffffff82111715614ee557614ee4614fff565b5b80604052505050565b6000614ef982614e3f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f2c57614f2b614f72565b5b600182019050919050565b6000819050919050565b6000614f4c82614e3f565b9150614f5783614e3f565b925082614f6757614f66614fa1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561504d5760046000803e61504a600051615061565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f4300000000000000000000000000000000000000000000000000000000000000600082015250565b7f4d41585f45444954494f4e535f52454c45415345440000000000000000000000600082015250565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f3c636972636c652063783d220000000000000000000000000000000000000000600082015250565b7f4e4f545f415641494c41424c4500000000000000000000000000000000000000600082015250565b7f222c20226465736372697074696f6e223a202200000000000000000000000000600082015250565b7f3c2f746578743e3c7465787420783d223130332220793d223736362220636c6160008201527f73733d22747874223e0000000000000000000000000000000000000000000000602082015250565b7f20c2b72000000000000000000000000000000000000000000000000000000000600082015250565b7f252220723d220000000000000000000000000000000000000000000000000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f3c6720636c69702d706174683d2275726c2823636c697029223e3c757365207860008201527f6c696e6b3a687265663d22236267222f3e000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f45444954494f4e5f4e4f545f4d494e5445440000000000000000000000000000600082015250565b7f4c6174656e7420576f726b202300000000000000000000000000000000000000600082015250565b7f5800000000000000000000000000000000000000000000000000000000000000600082015250565b7f25222063793d2200000000000000000000000000000000000000000000000000600082015250565b7f2000000000000000000000000000000000000000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f56414c55455f544f4f5f4c4f5700000000000000000000000000000000000000600082015250565b7f5000000000000000000000000000000000000000000000000000000000000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f3c2f746578743e00000000000000000000000000000000000000000000000000600082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f222c2022696d616765223a202200000000000000000000000000000000000000600082015250565b7f222f3e3c2f66696c7465723e3c66696c7465722069643d22663122207769647460008201527f683d223330302522206865696768743d22333030252220783d222d313030252260208201527f20793d222d31303025223e3c6665476175737369616e426c757220696e3d225360408201527f6f75726365477261706869632220737464446576696174696f6e3d223730302260608201527f2f3e3c2f66696c7465723e3c2f646566733e3c726563742077696474683d223160808201527f30302522206865696768743d2231303025222066696c6c3d222366666622202f60a08201527f3e0000000000000000000000000000000000000000000000000000000000000060c082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5900000000000000000000000000000000000000000000000000000000000000600082015250565b7f3c2f673e00000000000000000000000000000000000000000000000000000000600082015250565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323060008201527f30302f7376672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e60208201527f77332e6f72672f313939392f786c696e6b22207072657365727665417370656360408201527f74526174696f3d22784d696e594d696e206d656574222076696577426f783d2260608201527f3020302000000000000000000000000000000000000000000000000000000000608082015250565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b7f29222066696c6c3d220000000000000000000000000000000000000000000000600082015250565b7f223e3c2f636972636c653e000000000000000000000000000000000000000000600082015250565b7f494e56414c49445f494400000000000000000000000000000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f223e3c646566733e3c726563742069643d226267222077696474683d2231303060008201527f2522206865696768743d2231303025222066696c6c3d222366666622202f3e3c60208201527f636c6970506174682069643d22636c6970223e3c75736520786c696e6b3a687260408201527f65663d22236267222f3e3c2f636c6970506174683e3c66696c7465722069643d60608201527f226630222077696474683d223330302522206865696768743d2233303025222060808201527f783d222d313030252220793d222d31303025223e3c6665476175737369616e4260a08201527f6c757220696e3d22536f7572636547726170686963222073746444657669617460c08201527f696f6e3d2200000000000000000000000000000000000000000000000000000060e082015250565b7f25222066696c7465723d2275726c282300000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f3c7374796c653e2e7478747b666f6e743a206e6f726d616c2031327078206d6f60008201527f6e6f73706163653b66696c6c3a2077686974653b7d3c2f7374796c653e3c726560208201527f63742077696474683d22393022206865696768743d2233302220783d2230222060408201527f793d22373437222066696c6c3d22233030302220636c6173733d22626f78223e60608201527f3c2f726563743e3c7465787420783d2231322220793d223736362220636c617360808201527f733d22747874223e23000000000000000000000000000000000000000000000060a082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f5200000000000000000000000000000000000000000000000000000000000000600082015250565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b600060443d1015615d8657615e09565b615d8e614b25565b60043d036004823e80513d602482011167ffffffffffffffff82111715615db6575050615e09565b808201805167ffffffffffffffff811115615dd45750505050615e09565b80602083010160043d038501811115615df1575050505050615e09565b615e0082602001850186614ebd565b82955050505050505b90565b615e1581614dd5565b8114615e2057600080fd5b50565b615e2c81614de7565b8114615e3757600080fd5b50565b615e4381614df3565b8114615e4e57600080fd5b50565b615e5a81614e3f565b8114615e6557600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220325ba0e156ddd393f459e82657b3267b2acd13485448b17a40778372c5f3b77a64736f6c63430008040033

Deployed Bytecode

0x6080604052600436106101c15760003560e01c8063853828b6116100f7578063d386a19511610095578063f1ae885611610064578063f1ae885614610689578063f242432a146106b4578063f2fde38b146106dd578063f9cc060514610706576101c1565b8063d386a195146105b9578063df6efc6c146105e4578063e985e9c51461060f578063eded5d9e1461064c576101c1565b8063a22cb465116100d1578063a22cb465146104fd578063a3f4df7e14610526578063ac72200d14610551578063bd85b0391461057c576101c1565b8063853828b61461049d5780638da5cb5b146104a757806396113d36146104d2576101c1565b80634e1273f41161016457806355de5a931161013e57806355de5a93146103e1578063573d21f31461040c5780635dfe3c4d14610449578063715018a614610486576101c1565b80634e1273f41461032a5780634f558e7914610367578063505e570a146103a4576101c1565b8063104a112a116101a0578063104a112a1461027d5780631249c58b146102ba5780632eb2c2d6146102d85780633ead50cb14610301576101c1565b8062fdd58e146101c657806301ffc9a7146102035780630e89341c14610240575b600080fd5b3480156101d257600080fd5b506101ed60048036038101906101e89190613698565b610731565b6040516101fa9190614ac6565b60405180910390f35b34801561020f57600080fd5b5061022a60048036038101906102259190613781565b6107fa565b6040516102379190614827565b60405180910390f35b34801561024c57600080fd5b50610267600480360381019061026291906137d3565b6108dc565b6040516102749190614842565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f9190613838565b610998565b6040516102b19190614842565b60405180910390f35b6102c2610e4e565b6040516102cf9190614ac6565b60405180910390f35b3480156102e457600080fd5b506102ff60048036038101906102fa919061350e565b610eed565b005b34801561030d57600080fd5b50610328600480360381019061032391906136d4565b610f8e565b005b34801561033657600080fd5b50610351600480360381019061034c9190613715565b6110e8565b60405161035e91906147ce565b60405180910390f35b34801561037357600080fd5b5061038e600480360381019061038991906137d3565b611299565b60405161039b9190614827565b60405180910390f35b3480156103b057600080fd5b506103cb60048036038101906103c691906137d3565b6112ad565b6040516103d891906147ac565b60405180910390f35b3480156103ed57600080fd5b506103f66113a7565b6040516104039190614ac6565b60405180910390f35b34801561041857600080fd5b50610433600480360381019061042e91906137d3565b6113b1565b6040516104409190614aa4565b60405180910390f35b34801561045557600080fd5b50610470600480360381019061046b91906137fc565b611557565b60405161047d91906146cf565b60405180910390f35b34801561049257600080fd5b5061049b6115a6565b005b6104a561162e565b005b3480156104b357600080fd5b506104bc6116ea565b6040516104c991906146cf565b60405180910390f35b3480156104de57600080fd5b506104e7611714565b6040516104f49190614ac6565b60405180910390f35b34801561050957600080fd5b50610524600480360381019061051f919061365c565b611719565b005b34801561053257600080fd5b5061053b61189a565b6040516105489190614842565b60405180910390f35b34801561055d57600080fd5b506105666118d3565b6040516105739190614ac6565b60405180910390f35b34801561058857600080fd5b506105a3600480360381019061059e91906137d3565b6118dd565b6040516105b09190614ac6565b60405180910390f35b3480156105c557600080fd5b506105ce6118fa565b6040516105db9190614ac6565b60405180910390f35b3480156105f057600080fd5b506105f96118ff565b6040516106069190614ac6565b60405180910390f35b34801561061b57600080fd5b50610636600480360381019061063191906134d2565b611909565b6040516106439190614827565b60405180910390f35b34801561065857600080fd5b50610673600480360381019061066e91906137fc565b61199d565b6040516106809190614842565b60405180910390f35b34801561069557600080fd5b5061069e611a2a565b6040516106ab9190614842565b60405180910390f35b3480156106c057600080fd5b506106db60048036038101906106d691906135cd565b611a63565b005b3480156106e957600080fd5b5061070460048036038101906106ff91906134a9565b611b04565b005b34801561071257600080fd5b5061071b611bfc565b6040516107289190614ac6565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610799906148e4565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108c557507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108d557506108d482611c13565b5b9050919050565b60606108e782611299565b610926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091d90614a04565b60405180910390fd5b6000610931836113b1565b9050600061096d826020015183604001518460600151604051602001610959939291906145b9565b604051602081830303815290604052611c7d565b9050806040516020016109809190614616565b60405160208183030381529060405292505050919050565b60606109a3846118dd565b8311156109e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109dc90614944565b60405180910390fd5b6109ed613179565b6000610a308660466040518060400160405280600281526020017f6631000000000000000000000000000000000000000000000000000000000000815250611e3b565b610a72876102bc6040518060400160405280600281526020017f6631000000000000000000000000000000000000000000000000000000000000815250611e3b565b604051602001610a839291906142f5565b604051602081830303815290604052905060005b85811015610b155781610ae088836040518060400160405280600281526020017f6630000000000000000000000000000000000000000000000000000000000000815250611e3b565b604051602001610af19291906142f5565b60405160208183030381529060405291508080610b0d90614eee565b915050610a97565b600061030990506000610b2782611f37565b90506000610b4b60018a610b3b9190614cc0565b84610b469190614d16565b611f37565b9050818282604051602001610b629392919061455c565b60405160208183030381529060405286600060048110610bab577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002018190525084604051602001610bc4919061450d565b60405160208183030381529060405286600160048110610c0d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002018190525087610c2f5760405180602001604052806000815250610c3a565b610c398a8a6120e4565b5b86600260048110610c74577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201819052506040518060400160405280600681526020017f3c2f7376673e000000000000000000000000000000000000000000000000000081525086600360048110610cec577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201819052506000610e1c87600060048110610d33577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015188600160048110610d72577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015189600260048110610db1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201518a600360048110610df0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151604051602001610e089493929190614319565b604051602081830303815290604052611c7d565b604051602001610e2c91906146ad565b6040516020818303038152906040529050809750505050505050509392505050565b6000600a54341015610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c906149a4565b60405180910390fd5b6000610e9f611bfc565b11610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed6906148c4565b60405180910390fd5b610ee83361218f565b905090565b610ef5612312565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610f3b5750610f3a85610f35612312565b611909565b5b610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7190614984565b60405180910390fd5b610f87858585858561231a565b5050505050565b610f96612312565b73ffffffffffffffffffffffffffffffffffffffff16610fb46116ea565b73ffffffffffffffffffffffffffffffffffffffff161461100a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611001906149e4565b60405180910390fd5b600780541061104e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104590614884565b60405180910390fd5b604d60065461105d9190614cc0565b6006819055506007600081548092919061107690614eee565b919050555060005b81518110156110e4576110d08282815181106110c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161218f565b5080806110dc90614eee565b91505061107e565b5050565b6060815183511461112e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112590614a44565b60405180910390fd5b6000835167ffffffffffffffff811115611171577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561119f5781602001602082028036833780820191505090505b50905060005b845181101561128e576112388582815181106111ea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185838151811061122b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610731565b828281518110611271577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508061128790614eee565b90506111a5565b508091505092915050565b6000806112a5836118dd565b119050919050565b606060006112ba8361267a565b9050600e6000828152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b8282101561139b57838290600052602060002001805461130e90614e8b565b80601f016020809104026020016040519081016040528092919081815260200182805461133a90614e8b565b80156113875780601f1061135c57610100808354040283529160200191611387565b820191906000526020600020905b81548152906001019060200180831161136a57829003601f168201915b5050505050815260200190600101906112ef565b50505050915050919050565b6000600954905090565b6113b96131a0565b6113c16131e2565b6113c96131e2565b60006113d4856118dd565b905060005b8181101561144d576113f9866001836113f29190614cc0565b6001610998565b848260078110611432577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250808061144590614eee565b9150506113d9565b600090505b818110156114b857611464868261199d565b83826007811061149d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002018190525080806114b090614eee565b915050611452565b6040518060c001604052808781526020016114d288611f37565b6040516020016114e2919061453a565b60405160208183030381529060405281526020016040518060400160405280600c81526020017f6c6174656e742e776f726b730000000000000000000000000000000000000000815250815260200161153d88856001610998565b815260200185815260200184815250945050505050919050565b6000600c6000848152602001908152602001600020600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905092915050565b6115ae612312565b73ffffffffffffffffffffffffffffffffffffffff166115cc6116ea565b73ffffffffffffffffffffffffffffffffffffffff1614611622576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611619906149e4565b60405180910390fd5b61162c60006126c1565b565b611636612312565b73ffffffffffffffffffffffffffffffffffffffff166116546116ea565b73ffffffffffffffffffffffffffffffffffffffff16146116aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a1906149e4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050506116e857600080fd5b565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600781565b8173ffffffffffffffffffffffffffffffffffffffff16611738612312565b73ffffffffffffffffffffffffffffffffffffffff16141561178f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178690614a24565b60405180910390fd5b806001600061179c612312565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611849612312565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161188e9190614827565b60405180910390a35050565b6040518060400160405280601481526020017f4c6174656e7420576f726b7320c2b7203737783700000000000000000000000081525081565b6000600854905090565b600060036000838152602001908152602001600020549050919050565b604d81565b6000600754905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060006119aa846112ad565b9050806119e26119ba8686612787565b6040516020016119ca9190614357565b604051602081830303815290604052600160076127cd565b81518110611a19577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015191505092915050565b6040518060400160405280600c81526020017f6c6174656e742e776f726b73000000000000000000000000000000000000000081525081565b611a6b612312565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611ab15750611ab085611aab612312565b611909565b5b611af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae790614924565b60405180910390fd5b611afd8585858585612833565b5050505050565b611b0c612312565b73ffffffffffffffffffffffffffffffffffffffff16611b2a6116ea565b73ffffffffffffffffffffffffffffffffffffffff1614611b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b77906149e4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be790614904565b60405180910390fd5b611bf9816126c1565b50565b6000600854600654611c0e9190614da1565b905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000825190506000811415611ca65760405180602001604052806000815250915050611e36565b60006003600283611cb79190614cc0565b611cc19190614d16565b6004611ccd9190614d47565b90506000602082611cde9190614cc0565b67ffffffffffffffff811115611d1d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611d4f5781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001615e69604091399050600181016020830160005b86811015611df35760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050611d7a565b506003860660018114611e0d5760028114611e1d57611e28565b613d3d60f01b6002830352611e28565b603d60f81b60018303525b508484525050819450505050505b919050565b60606000611e498585612787565b90506000611e57868661199d565b90506000611e8783604051602001611e6f9190614379565b604051602081830303815290604052600a605a6127cd565b90506000611eb784604051602001611e9f919061439b565b604051602081830303815290604052600a605a6127cd565b90506000611ee785604051602001611ecf91906143bd565b604051602081830303815290604052600560466127cd565b9050611ef283611f37565b611efb83611f37565b611f0483611f37565b8987604051602001611f1a959493929190614480565b604051602081830303815290604052955050505050509392505050565b60606000821415611f7f576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120df565b600082905060005b60008214611fb1578080611f9a90614eee565b915050600a82611faa9190614d16565b9150611f87565b60008167ffffffffffffffff811115611ff3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120255781602001600182028036833780820191505090505b5090505b600085146120d85760018261203e9190614da1565b9150600a8561204d9190614f41565b60306120599190614cc0565b60f81b818381518110612095577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120d19190614d16565b9450612029565b8093505050505b919050565b6060600a83106120fc576120f783611f37565b612125565b61210583611f37565b604051602001612115919061445e565b6040516020818303038152906040525b61212e83611f37565b6121386007611f37565b612165600d6000888152602001908152602001600020600087815260200190815260200160002054611f37565b6040516020016121789493929190614638565b604051602081830303815290604052905092915050565b600061219b6005612ab5565b60006121a76005612acb565b905060018114156121cb57600960008154809291906121c590614eee565b91905055505b60006121d56113a7565b90506001811415612234576121e982611f37565b42446040516020016121fd939291906143df565b604051602081830303815290604052600b60008481526020019081526020016000209080519060200190612232929190613209565b505b6122508483600160405180602001604052806000815250612ad9565b6008600081548092919061226390614eee565b919050555083600c6000848152602001908152602001600020600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555042600d6000848152602001908152602001600020600083815260200190815260200160002081905550604d821415612308576123076005612aeb565b5b8192505050919050565b600033905090565b815183511461235e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235590614a64565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c590614964565b60405180910390fd5b60006123d8612312565b90506123e8818787878787612af8565b60005b84518110156125e557600085828151811061242f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110612474577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250c906149c4565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125ca9190614cc0565b92505081905550505050806125de90614eee565b90506123eb565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161265c9291906147f0565b60405180910390a4612672818787878787612b00565b505050505050565b60006126ba600b60008481526020019081526020016000206040516020016126a2919061443c565b604051602081830303815290604052600160036127cd565b9050919050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6060600b60008481526020019081526020016000206127a583611f37565b6040516020016127b6929190614418565b604051602081830303815290604052905092915050565b60008282116127de5782905061282c565b8283836127eb9190614da1565b856040516020016127fc91906142de565b6040516020818303038152906040528051906020012060001c61281f9190614f41565b6128299190614cc0565b90505b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156128a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289a90614964565b60405180910390fd5b60006128ad612312565b90506128cd8187876128be88612ce7565b6128c788612ce7565b87612af8565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295b906149c4565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a199190614cc0565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612a96929190614ae1565b60405180910390a4612aac828888888888612dad565b50505050505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b612ae584848484612f94565b50505050565b6000816000018190555050565b505050505050565b612b1f8473ffffffffffffffffffffffffffffffffffffffff16612fd0565b15612cdf578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612b659594939291906146ea565b602060405180830381600087803b158015612b7f57600080fd5b505af1925050508015612bb057506040513d601f19601f82011682018060405250810190612bad91906137aa565b60015b612c5657612bbc61502e565b806308c379a01415612c195750612bd1615d76565b80612bdc5750612c1b565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c109190614842565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4d90614864565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd4906148a4565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612d2c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612d5a5781602001602082028036833780820191505090505b5090508281600081518110612d98577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b612dcc8473ffffffffffffffffffffffffffffffffffffffff16612fd0565b15612f8c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612e12959493929190614752565b602060405180830381600087803b158015612e2c57600080fd5b505af1925050508015612e5d57506040513d601f19601f82011682018060405250810190612e5a91906137aa565b60015b612f0357612e6961502e565b806308c379a01415612ec65750612e7e615d76565b80612e895750612ec8565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ebd9190614842565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612efa90614864565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612f8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f81906148a4565b60405180910390fd5b505b505050505050565b612fa084848484612fe3565b81600360008581526020019081526020016000206000828254612fc39190614cc0565b9250508190555050505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613053576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304a90614a84565b60405180910390fd5b600061305d612312565b905061307e8160008761306f88612ce7565b61307888612ce7565b87612af8565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130dd9190614cc0565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161315b929190614ae1565b60405180910390a461317281600087878787612dad565b5050505050565b60405180608001604052806004905b60608152602001906001900390816131885790505090565b6040518060c00160405280600081526020016060815260200160608152602001606081526020016131cf6131e2565b81526020016131dc6131e2565b81525090565b6040518060e001604052806007905b60608152602001906001900390816131f15790505090565b82805461321590614e8b565b90600052602060002090601f016020900481019282613237576000855561327e565b82601f1061325057805160ff191683800117855561327e565b8280016001018555821561327e579182015b8281111561327d578251825591602001919060010190613262565b5b50905061328b919061328f565b5090565b5b808211156132a8576000816000905550600101613290565b5090565b60006132bf6132ba84614b2f565b614b0a565b905080838252602082019050828560208602820111156132de57600080fd5b60005b8581101561330e57816132f488826133c2565b8452602084019350602083019250506001810190506132e1565b5050509392505050565b600061332b61332684614b5b565b614b0a565b9050808382526020820190508285602086028201111561334a57600080fd5b60005b8581101561337a57816133608882613494565b84526020840193506020830192505060018101905061334d565b5050509392505050565b600061339761339284614b87565b614b0a565b9050828152602081018484840111156133af57600080fd5b6133ba848285614e49565b509392505050565b6000813590506133d181615e0c565b92915050565b600082601f8301126133e857600080fd5b81356133f88482602086016132ac565b91505092915050565b600082601f83011261341257600080fd5b8135613422848260208601613318565b91505092915050565b60008135905061343a81615e23565b92915050565b60008135905061344f81615e3a565b92915050565b60008151905061346481615e3a565b92915050565b600082601f83011261347b57600080fd5b813561348b848260208601613384565b91505092915050565b6000813590506134a381615e51565b92915050565b6000602082840312156134bb57600080fd5b60006134c9848285016133c2565b91505092915050565b600080604083850312156134e557600080fd5b60006134f3858286016133c2565b9250506020613504858286016133c2565b9150509250929050565b600080600080600060a0868803121561352657600080fd5b6000613534888289016133c2565b9550506020613545888289016133c2565b945050604086013567ffffffffffffffff81111561356257600080fd5b61356e88828901613401565b935050606086013567ffffffffffffffff81111561358b57600080fd5b61359788828901613401565b925050608086013567ffffffffffffffff8111156135b457600080fd5b6135c08882890161346a565b9150509295509295909350565b600080600080600060a086880312156135e557600080fd5b60006135f3888289016133c2565b9550506020613604888289016133c2565b945050604061361588828901613494565b935050606061362688828901613494565b925050608086013567ffffffffffffffff81111561364357600080fd5b61364f8882890161346a565b9150509295509295909350565b6000806040838503121561366f57600080fd5b600061367d858286016133c2565b925050602061368e8582860161342b565b9150509250929050565b600080604083850312156136ab57600080fd5b60006136b9858286016133c2565b92505060206136ca85828601613494565b9150509250929050565b6000602082840312156136e657600080fd5b600082013567ffffffffffffffff81111561370057600080fd5b61370c848285016133d7565b91505092915050565b6000806040838503121561372857600080fd5b600083013567ffffffffffffffff81111561374257600080fd5b61374e858286016133d7565b925050602083013567ffffffffffffffff81111561376b57600080fd5b61377785828601613401565b9150509250929050565b60006020828403121561379357600080fd5b60006137a184828501613440565b91505092915050565b6000602082840312156137bc57600080fd5b60006137ca84828501613455565b91505092915050565b6000602082840312156137e557600080fd5b60006137f384828501613494565b91505092915050565b6000806040838503121561380f57600080fd5b600061381d85828601613494565b925050602061382e85828601613494565b9150509250929050565b60008060006060848603121561384d57600080fd5b600061385b86828701613494565b935050602061386c86828701613494565b925050604061387d8682870161342b565b9150509250925092565b60006138938383613a52565b905092915050565b60006138a783836142a9565b60208301905092915050565b6138bc81614dd5565b82525050565b60006138cd82614bf7565b6138d78185614c55565b9350836020820285016138e985614bb8565b8060005b8581101561392557848403895281516139068582613887565b945061391183614c2e565b925060208a019950506001810190506138ed565b50829750879550505050505092915050565b600061394282614c02565b61394c8185614c60565b93508360208202850161395e85614bc2565b8060005b8581101561399a578484038952815161397b8582613887565b945061398683614c3b565b925060208a01995050600181019050613962565b50829750879550505050505092915050565b60006139b782614c0d565b6139c18185614c71565b93506139cc83614bd2565b8060005b838110156139fd5781516139e4888261389b565b97506139ef83614c48565b9250506001810190506139d0565b5085935050505092915050565b613a1381614de7565b82525050565b6000613a2482614c18565b613a2e8185614c82565b9350613a3e818560208601614e58565b613a4781615050565b840191505092915050565b6000613a5d82614c23565b613a678185614c93565b9350613a77818560208601614e58565b613a8081615050565b840191505092915050565b6000613a9682614c23565b613aa08185614ca4565b9350613ab0818560208601614e58565b613ab981615050565b840191505092915050565b6000613acf82614c23565b613ad98185614cb5565b9350613ae9818560208601614e58565b80840191505092915050565b60008154613b0281614e8b565b613b0c8186614cb5565b94506001821660008114613b275760018114613b3857613b6b565b60ff19831686528186019350613b6b565b613b4185614be2565b60005b83811015613b6357815481890152600182019150602081019050613b44565b838801955050505b50505092915050565b6000613b81603483614ca4565b9150613b8c8261506e565b604082019050919050565b6000613ba4600183614cb5565b9150613baf826150bd565b600182019050919050565b6000613bc7601583614ca4565b9150613bd2826150e6565b602082019050919050565b6000613bea600183614cb5565b9150613bf58261510f565b600182019050919050565b6000613c0d602883614ca4565b9150613c1882615138565b604082019050919050565b6000613c30600c83614cb5565b9150613c3b82615187565b600c82019050919050565b6000613c53600d83614ca4565b9150613c5e826151b0565b602082019050919050565b6000613c76601383614cb5565b9150613c81826151d9565b601382019050919050565b6000613c99602983614cb5565b9150613ca482615202565b602982019050919050565b6000613cbc600483614cb5565b9150613cc782615251565b600482019050919050565b6000613cdf600683614cb5565b9150613cea8261527a565b600682019050919050565b6000613d02602b83614ca4565b9150613d0d826152a3565b604082019050919050565b6000613d25602683614ca4565b9150613d30826152f2565b604082019050919050565b6000613d48603183614cb5565b9150613d5382615341565b603182019050919050565b6000613d6b602983614ca4565b9150613d7682615390565b604082019050919050565b6000613d8e601283614ca4565b9150613d99826153df565b602082019050919050565b6000613db1600d83614cb5565b9150613dbc82615408565b600d82019050919050565b6000613dd4600183614cb5565b9150613ddf82615431565b600182019050919050565b6000613df7600783614cb5565b9150613e028261545a565b600782019050919050565b6000613e1a600183614cb5565b9150613e2582615483565b600182019050919050565b6000613e3d602583614ca4565b9150613e48826154ac565b604082019050919050565b6000613e60603283614ca4565b9150613e6b826154fb565b604082019050919050565b6000613e83600d83614ca4565b9150613e8e8261554a565b602082019050919050565b6000613ea6600183614cb5565b9150613eb182615573565b600182019050919050565b6000613ec9600283614cb5565b9150613ed48261559c565b600282019050919050565b6000613eec600783614cb5565b9150613ef7826155c5565b600782019050919050565b6000613f0f602a83614ca4565b9150613f1a826155ee565b604082019050919050565b6000613f32600d83614cb5565b9150613f3d8261563d565b600d82019050919050565b6000613f5560c183614cb5565b9150613f6082615666565b60c182019050919050565b6000613f78602083614ca4565b9150613f8382615773565b602082019050919050565b6000613f9b600183614cb5565b9150613fa68261579c565b600182019050919050565b6000613fbe600483614cb5565b9150613fc9826157c5565b600482019050919050565b6000613fe1608483614cb5565b9150613fec826157ee565b608482019050919050565b6000614004600a83614cb5565b915061400f826158af565b600a82019050919050565b6000614027600983614cb5565b9150614032826158d8565b600982019050919050565b600061404a600b83614cb5565b915061405582615901565b600b82019050919050565b600061406d600a83614ca4565b91506140788261592a565b602082019050919050565b6000614090601d83614cb5565b915061409b82615953565b601d82019050919050565b60006140b360e583614cb5565b91506140be8261597c565b60e582019050919050565b60006140d6601083614cb5565b91506140e182615aaf565b601082019050919050565b60006140f9602983614ca4565b915061410482615ad8565b604082019050919050565b600061411c602983614ca4565b915061412782615b27565b604082019050919050565b600061413f60a983614cb5565b915061414a82615b76565b60a982019050919050565b6000614162602883614ca4565b915061416d82615c5d565b604082019050919050565b6000614185602183614ca4565b915061419082615cac565b604082019050919050565b60006141a8600183614cb5565b91506141b382615cfb565b600182019050919050565b60006141cb601a83614cb5565b91506141d682615d24565b601a82019050919050565b60006141ee600183614cb5565b91506141f982615d4d565b600182019050919050565b600060c08301600083015161421c60008601826142a9565b50602083015184820360208601526142348282613a52565b9150506040830151848203604086015261424e8282613a52565b915050606083015184820360608601526142688282613a52565b9150506080830151848203608086015261428282826138c2565b91505060a083015184820360a086015261429c82826138c2565b9150508091505092915050565b6142b281614e3f565b82525050565b6142c181614e3f565b82525050565b6142d86142d382614e3f565b614f37565b82525050565b60006142ea8284613ac4565b915081905092915050565b60006143018285613ac4565b915061430d8284613ac4565b91508190509392505050565b60006143258287613ac4565b91506143318286613ac4565b915061433d8285613ac4565b91506143498284613ac4565b915081905095945050505050565b60006143638284613ac4565b915061436e82613b97565b915081905092915050565b60006143858284613ac4565b915061439082613dc7565b915081905092915050565b60006143a78284613ac4565b91506143b282613f8e565b915081905092915050565b60006143c98284613ac4565b91506143d48261419b565b915081905092915050565b60006143eb8286613ac4565b91506143f782856142c7565b60208201915061440782846142c7565b602082019150819050949350505050565b60006144248285613af5565b91506144308284613ac4565b91508190509392505050565b60006144488284613af5565b915061445382613e99565b915081905092915050565b600061446982613bdd565b91506144758284613ac4565b915081905092915050565b600061448b82613c23565b91506144978288613ac4565b91506144a282613dea565b91506144ae8287613ac4565b91506144b982613cd2565b91506144c58286613ac4565b91506144d0826140c9565b91506144dc8285613ac4565b91506144e78261401a565b91506144f38284613ac4565b91506144fe8261403d565b91508190509695505050505050565b600061451882613d3b565b91506145248284613ac4565b915061452f82613fb1565b915081905092915050565b600061454582613da4565b91506145518284613ac4565b915081905092915050565b600061456782613fd4565b91506145738286613ac4565b915061457e82613e0d565b915061458a8285613ac4565b9150614595826140a6565b91506145a18284613ac4565b91506145ac82613f48565b9150819050949350505050565b60006145c482613ff7565b91506145d08286613ac4565b91506145db82613c69565b91506145e78285613ac4565b91506145f282613f25565b91506145fe8284613ac4565b915061460982613ebc565b9150819050949350505050565b600061462182614083565b915061462d8284613ac4565b915081905092915050565b600061464382614132565b915061464f8287613ac4565b915061465a82613caf565b91506146668286613ac4565b9150614671826141e1565b915061467d8285613ac4565b915061468882613c8c565b91506146948284613ac4565b915061469f82613edf565b915081905095945050505050565b60006146b8826141be565b91506146c48284613ac4565b915081905092915050565b60006020820190506146e460008301846138b3565b92915050565b600060a0820190506146ff60008301886138b3565b61470c60208301876138b3565b818103604083015261471e81866139ac565b9050818103606083015261473281856139ac565b905081810360808301526147468184613a19565b90509695505050505050565b600060a08201905061476760008301886138b3565b61477460208301876138b3565b61478160408301866142b8565b61478e60608301856142b8565b81810360808301526147a08184613a19565b90509695505050505050565b600060208201905081810360008301526147c68184613937565b905092915050565b600060208201905081810360008301526147e881846139ac565b905092915050565b6000604082019050818103600083015261480a81856139ac565b9050818103602083015261481e81846139ac565b90509392505050565b600060208201905061483c6000830184613a0a565b92915050565b6000602082019050818103600083015261485c8184613a8b565b905092915050565b6000602082019050818103600083015261487d81613b74565b9050919050565b6000602082019050818103600083015261489d81613bba565b9050919050565b600060208201905081810360008301526148bd81613c00565b9050919050565b600060208201905081810360008301526148dd81613c46565b9050919050565b600060208201905081810360008301526148fd81613cf5565b9050919050565b6000602082019050818103600083015261491d81613d18565b9050919050565b6000602082019050818103600083015261493d81613d5e565b9050919050565b6000602082019050818103600083015261495d81613d81565b9050919050565b6000602082019050818103600083015261497d81613e30565b9050919050565b6000602082019050818103600083015261499d81613e53565b9050919050565b600060208201905081810360008301526149bd81613e76565b9050919050565b600060208201905081810360008301526149dd81613f02565b9050919050565b600060208201905081810360008301526149fd81613f6b565b9050919050565b60006020820190508181036000830152614a1d81614060565b9050919050565b60006020820190508181036000830152614a3d816140ec565b9050919050565b60006020820190508181036000830152614a5d8161410f565b9050919050565b60006020820190508181036000830152614a7d81614155565b9050919050565b60006020820190508181036000830152614a9d81614178565b9050919050565b60006020820190508181036000830152614abe8184614204565b905092915050565b6000602082019050614adb60008301846142b8565b92915050565b6000604082019050614af660008301856142b8565b614b0360208301846142b8565b9392505050565b6000614b14614b25565b9050614b208282614ebd565b919050565b6000604051905090565b600067ffffffffffffffff821115614b4a57614b49614fff565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614b7657614b75614fff565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614ba257614ba1614fff565b5b614bab82615050565b9050602081019050919050565b6000819050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600060079050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614ccb82614e3f565b9150614cd683614e3f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d0b57614d0a614f72565b5b828201905092915050565b6000614d2182614e3f565b9150614d2c83614e3f565b925082614d3c57614d3b614fa1565b5b828204905092915050565b6000614d5282614e3f565b9150614d5d83614e3f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614d9657614d95614f72565b5b828202905092915050565b6000614dac82614e3f565b9150614db783614e3f565b925082821015614dca57614dc9614f72565b5b828203905092915050565b6000614de082614e1f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614e76578082015181840152602081019050614e5b565b83811115614e85576000848401525b50505050565b60006002820490506001821680614ea357607f821691505b60208210811415614eb757614eb6614fd0565b5b50919050565b614ec682615050565b810181811067ffffffffffffffff82111715614ee557614ee4614fff565b5b80604052505050565b6000614ef982614e3f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f2c57614f2b614f72565b5b600182019050919050565b6000819050919050565b6000614f4c82614e3f565b9150614f5783614e3f565b925082614f6757614f66614fa1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561504d5760046000803e61504a600051615061565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f4300000000000000000000000000000000000000000000000000000000000000600082015250565b7f4d41585f45444954494f4e535f52454c45415345440000000000000000000000600082015250565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f3c636972636c652063783d220000000000000000000000000000000000000000600082015250565b7f4e4f545f415641494c41424c4500000000000000000000000000000000000000600082015250565b7f222c20226465736372697074696f6e223a202200000000000000000000000000600082015250565b7f3c2f746578743e3c7465787420783d223130332220793d223736362220636c6160008201527f73733d22747874223e0000000000000000000000000000000000000000000000602082015250565b7f20c2b72000000000000000000000000000000000000000000000000000000000600082015250565b7f252220723d220000000000000000000000000000000000000000000000000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f3c6720636c69702d706174683d2275726c2823636c697029223e3c757365207860008201527f6c696e6b3a687265663d22236267222f3e000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f45444954494f4e5f4e4f545f4d494e5445440000000000000000000000000000600082015250565b7f4c6174656e7420576f726b202300000000000000000000000000000000000000600082015250565b7f5800000000000000000000000000000000000000000000000000000000000000600082015250565b7f25222063793d2200000000000000000000000000000000000000000000000000600082015250565b7f2000000000000000000000000000000000000000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f56414c55455f544f4f5f4c4f5700000000000000000000000000000000000000600082015250565b7f5000000000000000000000000000000000000000000000000000000000000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f3c2f746578743e00000000000000000000000000000000000000000000000000600082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f222c2022696d616765223a202200000000000000000000000000000000000000600082015250565b7f222f3e3c2f66696c7465723e3c66696c7465722069643d22663122207769647460008201527f683d223330302522206865696768743d22333030252220783d222d313030252260208201527f20793d222d31303025223e3c6665476175737369616e426c757220696e3d225360408201527f6f75726365477261706869632220737464446576696174696f6e3d223730302260608201527f2f3e3c2f66696c7465723e3c2f646566733e3c726563742077696474683d223160808201527f30302522206865696768743d2231303025222066696c6c3d222366666622202f60a08201527f3e0000000000000000000000000000000000000000000000000000000000000060c082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5900000000000000000000000000000000000000000000000000000000000000600082015250565b7f3c2f673e00000000000000000000000000000000000000000000000000000000600082015250565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323060008201527f30302f7376672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e60208201527f77332e6f72672f313939392f786c696e6b22207072657365727665417370656360408201527f74526174696f3d22784d696e594d696e206d656574222076696577426f783d2260608201527f3020302000000000000000000000000000000000000000000000000000000000608082015250565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b7f29222066696c6c3d220000000000000000000000000000000000000000000000600082015250565b7f223e3c2f636972636c653e000000000000000000000000000000000000000000600082015250565b7f494e56414c49445f494400000000000000000000000000000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f223e3c646566733e3c726563742069643d226267222077696474683d2231303060008201527f2522206865696768743d2231303025222066696c6c3d222366666622202f3e3c60208201527f636c6970506174682069643d22636c6970223e3c75736520786c696e6b3a687260408201527f65663d22236267222f3e3c2f636c6970506174683e3c66696c7465722069643d60608201527f226630222077696474683d223330302522206865696768743d2233303025222060808201527f783d222d313030252220793d222d31303025223e3c6665476175737369616e4260a08201527f6c757220696e3d22536f7572636547726170686963222073746444657669617460c08201527f696f6e3d2200000000000000000000000000000000000000000000000000000060e082015250565b7f25222066696c7465723d2275726c282300000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f3c7374796c653e2e7478747b666f6e743a206e6f726d616c2031327078206d6f60008201527f6e6f73706163653b66696c6c3a2077686974653b7d3c2f7374796c653e3c726560208201527f63742077696474683d22393022206865696768743d2233302220783d2230222060408201527f793d22373437222066696c6c3d22233030302220636c6173733d22626f78223e60608201527f3c2f726563743e3c7465787420783d2231322220793d223736362220636c617360808201527f733d22747874223e23000000000000000000000000000000000000000000000060a082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f5200000000000000000000000000000000000000000000000000000000000000600082015250565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b600060443d1015615d8657615e09565b615d8e614b25565b60043d036004823e80513d602482011167ffffffffffffffff82111715615db6575050615e09565b808201805167ffffffffffffffff811115615dd45750505050615e09565b80602083010160043d038501811115615df1575050505050615e09565b615e0082602001850186614ebd565b82955050505050505b90565b615e1581614dd5565b8114615e2057600080fd5b50565b615e2c81614de7565b8114615e3757600080fd5b50565b615e4381614df3565b8114615e4e57600080fd5b50565b615e5a81614e3f565b8114615e6557600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220325ba0e156ddd393f459e82657b3267b2acd13485448b17a40778372c5f3b77a64736f6c63430008040033

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

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