ETH Price: $2,679.54 (+0.41%)

Token

SmolFrens (SMOLFRENS)
 

Overview

Max Total Supply

2,768 SMOLFRENS

Holders

1,049

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
vinewhip.eth
Balance
6 SMOLFRENS
0x193cf2a0a1e2002b2b19ae05627cc3f72b9824f2
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:
SmolFrens

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : SmolFrens.sol
// SPDX-License-Identifier: MIT
/*

      ___           ___           ___           ___                     ___           ___           ___           ___     
     /  /\         /  /\         /  /\         /  /\      ___          /  /\         /  /\         /  /\         /  /\    
    /  /::\       /  /::|       /  /::\       /  /:/     /  /\        /  /::\       /  /::\       /  /::|       /  /::\   
   /__/:/\:\     /  /:|:|      /  /:/\:\     /  /:/     /  /::\      /  /:/\:\     /  /:/\:\     /  /:|:|      /__/:/\:\  
  _\_ \:\ \:\   /  /:/|:|__   /  /:/  \:\   /  /:/     /  /:/\:\    /  /::\ \:\   /  /::\ \:\   /  /:/|:|__   _\_ \:\ \:\ 
 /__/\ \:\ \:\ /__/:/_|::::\ /__/:/ \__\:\ /__/:/     /  /::\ \:\  /__/:/\:\_\:\ /__/:/\:\ \:\ /__/:/ |:| /\ /__/\ \:\ \:\
 \  \:\ \:\_\/ \__\/  /~~/:/ \  \:\ /  /:/ \  \:\    /__/:/\:\ \:\ \__\/~|::\/:/ \  \:\ \:\_\/ \__\/  |:|/:/ \  \:\ \:\_\/
  \  \:\_\:\         /  /:/   \  \:\  /:/   \  \:\   \__\/  \:\_\/    |  |:|::/   \  \:\ \:\       |  |:/:/   \  \:\_\:\  
   \  \:\/:/        /  /:/     \  \:\/:/     \  \:\       \  \:\      |  |:|\/     \  \:\_\/       |__|::/     \  \:\/:/  
    \  \::/        /__/:/       \  \::/       \  \:\       \__\/      |__|:|~       \  \:\         /__/:/       \  \::/   
     \__\/         \__\/         \__\/         \__\/                   \__\|         \__\/         \__\/         \__\/  M.H. 

*/
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/math/Math.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import "@openzeppelin/contracts/access/Ownable.sol";

contract SmolFrens is ERC721, ERC721Enumerable, Ownable {
  using Strings for uint256;

  string public PROVENANCE;
  string private baseURI;
  uint256 public constant MAX_FRENS = 3500;
  uint256 public constant MAX_FREN_HED_SIZE = 3;
  uint256 public constant MAX_FAST_FINISHERS = 1000;
  bool public IS_PUBLIC = false;

  struct Smokable {
    string smokeType;
    uint256 strength;
    bool enabled;
    uint256 prevHolder;
  }
  
  mapping(address => uint256) private whiteList;
  mapping(uint256 => uint256) private frenHedSize;
  mapping(uint256 => Smokable) private smokables;
  mapping(uint256 => bool) public fastFinishers;
  uint256[] private fastFinishersArr;

  event NewSmolFren(address toAddress, uint256 tokenId);
  event NewSmolFrens(address toAddress, uint256 firstTokenId, uint256 lastTokenId);
  event SeshEvent(uint256 fromId, uint256 toId, string smokeType, uint256 timestamp);

  constructor() ERC721("SmolFrens", "SMOLFRENS") {
  }

  /* MODIFIERS */
  modifier hasAvailableFrens() {
    require(msg.sender == owner() || whiteList[msg.sender] > 0, 'No frens available fren');
    _;
  }

  /* REQUIRED OVERRIDES */
  function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) {
    super._beforeTokenTransfer(from, to, tokenId);
  }

  function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) {
    return super.supportsInterface(interfaceId);
  }

  /* OWNER FUNCTIONS */
  function setProvenance(string calldata provenance) external onlyOwner {
    require(bytes(PROVENANCE).length == 0, 'Provenance is already set fren');
    PROVENANCE = provenance;
  }

  function setIsPublicMint(bool newVar) external onlyOwner {
    IS_PUBLIC = newVar;
  }

  function setBaseURI(string calldata newBaseURI) external onlyOwner {
    baseURI = newBaseURI;
  }

  function _baseURI() internal view virtual override returns (string memory) {
    return baseURI;
  }

  /* WHITE LIST */
  function addFrensToWhiteList(address walletAddress, uint256 numTokens) external onlyOwner {
    uint256 ts = totalSupply();
    require(ts + numTokens <= MAX_FRENS, "Not enough available frens");
    whiteList[walletAddress] = whiteList[walletAddress] + numTokens;
  }

  function frensAvailableToMint(address walletAddress) external view returns (uint256) {
    return whiteList[walletAddress];
  }

  /* MINTING */
  function mintSmolFren() public payable hasAvailableFrens {
    uint256 ts = totalSupply();
    require(ts < MAX_FRENS, "All Frens Minted Fren");

    _safeMint(msg.sender, ts);

    if (msg.sender != owner()) {
      whiteList[msg.sender] -= 1;
    }
    
    frenHedSize[ts] = 0;
    emit NewSmolFren(msg.sender, ts);
  }

  function mintAllFrens() public payable hasAvailableFrens {
    uint256 ts = totalSupply();
    uint256 numFrens = whiteList[msg.sender];
    require(ts + numFrens <= MAX_FRENS, "Not enough available frens");
    
    for (uint256 i = 0; i < numFrens; i++) {
      _safeMint(msg.sender, ts + i);
      frenHedSize[ts + i] = 0;
    }

    if (msg.sender != owner()) {
      whiteList[msg.sender] = 0;
    }
    
    emit NewSmolFrens(msg.sender, ts, ts + numFrens - 1);
  }

  function publicMint() public payable {
    require(IS_PUBLIC, "Not available yet fren");
    uint256 ts = totalSupply();
    require(ts < MAX_FRENS, "All Frens Minted Fren");
    _safeMint(msg.sender, ts);
    frenHedSize[ts] = 0;
    emit NewSmolFren(msg.sender, ts);
  }

  /* HEAD SHIT */
  function getHeadSize(uint256 tokenId) external view returns (uint256) {
    return frenHedSize[tokenId];
  }

  function increaseHeadSize(uint256 tokenId) private {
    uint256 currentHeadSize = frenHedSize[tokenId];
    require(currentHeadSize + 1 <= MAX_FREN_HED_SIZE, "Head Already Maxxed Fren");
    frenHedSize[tokenId] += 1;
  }

  function changeHeadSize(uint256 tokenId, uint256 newHeadSize) private {
    require(newHeadSize <= MAX_FREN_HED_SIZE, "Too big fren");
    frenHedSize[tokenId] = newHeadSize;
    if (newHeadSize >= MAX_FREN_HED_SIZE && fastFinishersArr.length < MAX_FAST_FINISHERS) {
      fastFinishers[tokenId] = true;
      fastFinishersArr.push(tokenId);
    }
  }

  /* SMOKABLE SESH SHIT */
  function addSmokable(uint256 tokenId, string calldata smokeType, uint256 strength) external onlyOwner {
    smokables[tokenId] = Smokable(smokeType, strength, true, 100000);
  }

  function addSmokableData(uint256[] calldata tokenIds, string[] calldata smokeTypes, uint256[] calldata strengths) external onlyOwner {
    for (uint256 i = 0; i < tokenIds.length; i++) {
      smokables[tokenIds[i]] = Smokable(smokeTypes[i], strengths[i], true, 100000);
    }
  }

  function getSmokable(uint256 tokenId) external view returns (string memory) {
    require(_exists(tokenId), "That fren doesn't exist fren");
    string memory output;
    if (smokables[tokenId].enabled) {
      output = string(abi.encodePacked("{type: ", smokables[tokenId].smokeType, ", strength: ", smokables[tokenId].strength.toString(), ", prevHolder: ", smokables[tokenId].prevHolder.toString(), "}"));
    } else {
      output = "No current Smokable";
    }
    return output;
  }

  function timeToSesh(uint256 holder, uint256 toTokenId) external {
    require(_exists(holder), "Whut");
    require(_exists(toTokenId), "That fren doesn't exist fren");
    require(msg.sender == ownerOf(holder), "Not yours, fren");
    require(smokables[holder].enabled, "You got nothin, fren");
    require(!smokables[toTokenId].enabled, "Fren already has a smokable");
    require(ownerOf(holder) != ownerOf(toTokenId), "Puff puff give, fren");
    require(frenHedSize[toTokenId] < MAX_FREN_HED_SIZE, "That fren already has the biggest head fren");
    require(smokables[holder].prevHolder != toTokenId, "Share the love, fren");

    uint256 toHeadSize = Math.min(frenHedSize[holder] + smokables[holder].strength, MAX_FREN_HED_SIZE);
    changeHeadSize(holder, toHeadSize);
    smokables[holder].enabled = false;
    smokables[toTokenId] = Smokable(smokables[holder].smokeType, smokables[holder].strength, true, holder);

    emit SeshEvent(holder, toTokenId, smokables[holder].smokeType, block.timestamp);
  }

  /* FAST FINISHERS */
  function isFastFinisher(uint256 tokenId) public view returns (bool) {
    return fastFinishers[tokenId] == true;
  }

  /* DYNAMIC TOKEN URI OVERRIDE */
  function tokenURI(uint256 tokenId) public view override returns (string memory) {
    require(_exists(tokenId), "That fren doesn't exist fren");
    uint256 currentHeadSize = frenHedSize[tokenId];
    string memory smokable;
    if (smokables[tokenId].enabled) { smokable = string(abi.encodePacked("-", smokables[tokenId].smokeType)); }
    string memory fastFinisherPath;
    fastFinisherPath = isFastFinisher(tokenId) ? "-Crown" : "";
    return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), "/", currentHeadSize.toString(), smokable, fastFinisherPath)) : "";
  }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

File 3 of 14 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 14 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a / b + (a % b == 0 ? 0 : 1);
    }
}

File 5 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

File 8 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 9 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 12 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 14 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"toAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NewSmolFren","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"toAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"firstTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastTokenId","type":"uint256"}],"name":"NewSmolFrens","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":false,"internalType":"uint256","name":"fromId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toId","type":"uint256"},{"indexed":false,"internalType":"string","name":"smokeType","type":"string"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"SeshEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"IS_PUBLIC","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FAST_FINISHERS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FRENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREN_HED_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"walletAddress","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"addFrensToWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"smokeType","type":"string"},{"internalType":"uint256","name":"strength","type":"uint256"}],"name":"addSmokable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"string[]","name":"smokeTypes","type":"string[]"},{"internalType":"uint256[]","name":"strengths","type":"uint256[]"}],"name":"addSmokableData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"fastFinishers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"walletAddress","type":"address"}],"name":"frensAvailableToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getHeadSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSmokable","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isFastFinisher","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintAllFrens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintSmolFren","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newVar","type":"bool"}],"name":"setIsPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenance","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"holder","type":"uint256"},{"internalType":"uint256","name":"toTokenId","type":"uint256"}],"name":"timeToSesh","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600d60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b506040518060400160405280600981526020017f536d6f6c4672656e7300000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f534d4f4c4652454e5300000000000000000000000000000000000000000000008152508160009080519060200190620000b1929190620001c1565b508060019080519060200190620000ca929190620001c1565b505050620000ed620000e1620000f360201b60201c565b620000fb60201b60201c565b620002d6565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001cf9062000271565b90600052602060002090601f016020900481019282620001f357600085556200023f565b82601f106200020e57805160ff19168380011785556200023f565b828001600101855582156200023f579182015b828111156200023e57825182559160200191906001019062000221565b5b5090506200024e919062000252565b5090565b5b808211156200026d57600081600090555060010162000253565b5090565b600060028204905060018216806200028a57607f821691505b60208210811415620002a157620002a0620002a7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615c1f80620002e66000396000f3fe6080604052600436106102305760003560e01c80636373a6b11161012e578063b88d4fde116100ab578063ce272ca01161006f578063ce272ca014610836578063e985e9c514610861578063f2fde38b1461089e578063fdd61e9c146108c7578063ffe630b5146108f257610230565b8063b88d4fde14610772578063c19e2ce41461079b578063c41b8d0a146107c6578063c49903c5146107d0578063c87b56dd146107f957610230565b806375cc98af116100f257806375cc98af146106ac5780638da5cb5b146106b657806395d89b41146106e1578063a22cb4651461070c578063b7461e8e1461073557610230565b80636373a6b1146105b35780636b311cfa146105de5780636cee99841461061b57806370a0823114610658578063715018a61461069557610230565b806326092b83116101bc5780634f6ccce7116101805780634f6ccce7146104be57806352f7e33e146104fb57806355f804b3146105245780635a0896221461054d5780636352211e1461057657610230565b806326092b83146103e85780632f745c59146103f25780633a86401c1461042f5780633c2a2c8a1461045857806342842e0e1461049557610230565b8063095ea7b311610203578063095ea7b3146103175780631627ef871461034057806318160ddd1461036b578063203c4ed71461039657806323b872dd146103bf57610230565b806301ffc9a714610235578063049597241461027257806306fdde03146102af578063081812fc146102da575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190614106565b61091b565b6040516102699190614ae8565b60405180910390f35b34801561027e57600080fd5b506102996004803603810190610294919061419d565b61092d565b6040516102a69190614f05565b60405180910390f35b3480156102bb57600080fd5b506102c461094a565b6040516102d19190614b03565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc919061419d565b6109dc565b60405161030e9190614a21565b60405180910390f35b34801561032357600080fd5b5061033e60048036038101906103399190613ffd565b610a61565b005b34801561034c57600080fd5b50610355610b79565b6040516103629190614f05565b60405180910390f35b34801561037757600080fd5b50610380610b7f565b60405161038d9190614f05565b60405180910390f35b3480156103a257600080fd5b506103bd60048036038101906103b891906140dd565b610b8c565b005b3480156103cb57600080fd5b506103e660048036038101906103e19190613ef7565b610c25565b005b6103f0610c85565b005b3480156103fe57600080fd5b5061041960048036038101906104149190613ffd565b610d83565b6040516104269190614f05565b60405180910390f35b34801561043b57600080fd5b5061045660048036038101906104519190614232565b610e28565b005b34801561046457600080fd5b5061047f600480360381019061047a919061419d565b611335565b60405161048c9190614ae8565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b79190613ef7565b611355565b005b3480156104ca57600080fd5b506104e560048036038101906104e0919061419d565b611375565b6040516104f29190614f05565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d91906141c6565b61140c565b005b34801561053057600080fd5b5061054b60048036038101906105469190614158565b611560565b005b34801561055957600080fd5b50610574600480360381019061056f9190614039565b6115f2565b005b34801561058257600080fd5b5061059d6004803603810190610598919061419d565b611831565b6040516105aa9190614a21565b60405180910390f35b3480156105bf57600080fd5b506105c86118e3565b6040516105d59190614b03565b60405180910390f35b3480156105ea57600080fd5b506106056004803603810190610600919061419d565b611971565b6040516106129190614b03565b60405180910390f35b34801561062757600080fd5b50610642600480360381019061063d919061419d565b611aa4565b60405161064f9190614ae8565b60405180910390f35b34801561066457600080fd5b5061067f600480360381019061067a9190613e92565b611ad5565b60405161068c9190614f05565b60405180910390f35b3480156106a157600080fd5b506106aa611b8d565b005b6106b4611c15565b005b3480156106c257600080fd5b506106cb611e15565b6040516106d89190614a21565b60405180910390f35b3480156106ed57600080fd5b506106f6611e3f565b6040516107039190614b03565b60405180910390f35b34801561071857600080fd5b50610733600480360381019061072e9190613fc1565b611ed1565b005b34801561074157600080fd5b5061075c60048036038101906107579190613e92565b611ee7565b6040516107699190614f05565b60405180910390f35b34801561077e57600080fd5b5061079960048036038101906107949190613f46565b611f30565b005b3480156107a757600080fd5b506107b0611f92565b6040516107bd9190614f05565b60405180910390f35b6107ce611f97565b005b3480156107dc57600080fd5b506107f760048036038101906107f29190613ffd565b612224565b005b34801561080557600080fd5b50610820600480360381019061081b919061419d565b61238f565b60405161082d9190614b03565b60405180910390f35b34801561084257600080fd5b5061084b612520565b6040516108589190614f05565b60405180910390f35b34801561086d57600080fd5b5061088860048036038101906108839190613ebb565b612526565b6040516108959190614ae8565b60405180910390f35b3480156108aa57600080fd5b506108c560048036038101906108c09190613e92565b6125ba565b005b3480156108d357600080fd5b506108dc6126b2565b6040516108e99190614ae8565b60405180910390f35b3480156108fe57600080fd5b5061091960048036038101906109149190614158565b6126c5565b005b6000610926826127a8565b9050919050565b6000600f6000838152602001908152602001600020549050919050565b606060008054610959906151e2565b80601f0160208091040260200160405190810160405280929190818152602001828054610985906151e2565b80156109d25780601f106109a7576101008083540402835291602001916109d2565b820191906000526020600020905b8154815290600101906020018083116109b557829003601f168201915b5050505050905090565b60006109e782612822565b610a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1d90614de5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a6c82611831565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad490614e65565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610afc61288e565b73ffffffffffffffffffffffffffffffffffffffff161480610b2b5750610b2a81610b2561288e565b612526565b5b610b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6190614d25565b60405180910390fd5b610b748383612896565b505050565b6103e881565b6000600880549050905090565b610b9461288e565b73ffffffffffffffffffffffffffffffffffffffff16610bb2611e15565b73ffffffffffffffffffffffffffffffffffffffff1614610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bff90614e05565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b610c36610c3061288e565b8261294f565b610c75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6c90614e85565b60405180910390fd5b610c80838383612a2d565b505050565b600d60009054906101000a900460ff16610cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccb90614ee5565b60405180910390fd5b6000610cde610b7f565b9050610dac8110610d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1b90614b45565b60405180910390fd5b610d2e3382612c94565b6000600f6000838152602001908152602001600020819055507f58f04dc301f6d1176e36918d56d20c2ae9c1fc3206a7d7873e8c7d92f0dd2ec73382604051610d78929190614a88565b60405180910390a150565b6000610d8e83611ad5565b8210610dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc690614b65565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e3182612822565b610e70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6790614da5565b60405180910390fd5b610e7981612822565b610eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaf90614c25565b60405180910390fd5b610ec182611831565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2590614d05565b60405180910390fd5b6010600083815260200190815260200160002060020160009054906101000a900460ff16610f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8890614c85565b60405180910390fd5b6010600082815260200190815260200160002060020160009054906101000a900460ff1615610ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fec90614ce5565b60405180910390fd5b610ffe81611831565b73ffffffffffffffffffffffffffffffffffffffff1661101d83611831565b73ffffffffffffffffffffffffffffffffffffffff161415611074576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106b90614cc5565b60405180910390fd5b6003600f600083815260200190815260200160002054106110ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c190614e45565b60405180910390fd5b8060106000848152602001908152602001600020600301541415611123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111a90614d85565b60405180910390fd5b60006111646010600085815260200190815260200160002060010154600f60008681526020019081526020016000205461115d9190615071565b6003612cb2565b90506111708382612ccb565b60006010600085815260200190815260200160002060020160006101000a81548160ff02191690831515021790555060405180608001604052806010600086815260200190815260200160002060000180546111cb906151e2565b80601f01602080910402602001604051908101604052809291908181526020018280546111f7906151e2565b80156112445780601f1061121957610100808354040283529160200191611244565b820191906000526020600020905b81548152906001019060200180831161122757829003601f168201915b5050505050815260200160106000868152602001908152602001600020600101548152602001600115158152602001848152506010600084815260200190815260200160002060008201518160000190805190602001906112a6929190613bba565b506020820151816001015560408201518160020160006101000a81548160ff021916908315150217905550606082015181600301559050507f6f60a91c7d38c607ed5e792932185a7cee1e9cb314bc17351072300c8d02aa9c838360106000878152602001908152602001600020600001426040516113289493929190614f20565b60405180910390a1505050565b60116020528060005260406000206000915054906101000a900460ff1681565b61137083838360405180602001604052806000815250611f30565b505050565b600061137f610b7f565b82106113c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b790614ea5565b60405180910390fd5b600882815481106113fa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61141461288e565b73ffffffffffffffffffffffffffffffffffffffff16611432611e15565b73ffffffffffffffffffffffffffffffffffffffff1614611488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147f90614e05565b60405180910390fd5b604051806080016040528084848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508152602001828152602001600115158152602001620186a0815250601060008681526020019081526020016000206000820151816000019080519060200190611522929190613bba565b506020820151816001015560408201518160020160006101000a81548160ff0219169083151502179055506060820151816003015590505050505050565b61156861288e565b73ffffffffffffffffffffffffffffffffffffffff16611586611e15565b73ffffffffffffffffffffffffffffffffffffffff16146115dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d390614e05565b60405180910390fd5b8181600c91906115ed929190613c40565b505050565b6115fa61288e565b73ffffffffffffffffffffffffffffffffffffffff16611618611e15565b73ffffffffffffffffffffffffffffffffffffffff161461166e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166590614e05565b60405180910390fd5b60005b868690508110156118285760405180608001604052808686848181106116c0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020028101906116d29190614f6c565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508152602001848484818110611753577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358152602001600115158152602001620186a0815250601060008989858181106117ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060008201518160000190805190602001906117dd929190613bba565b506020820151816001015560408201518160020160006101000a81548160ff02191690831515021790555060608201518160030155905050808061182090615245565b915050611671565b50505050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d190614d65565b60405180910390fd5b80915050919050565b600b80546118f0906151e2565b80601f016020809104026020016040519081016040528092919081815260200182805461191c906151e2565b80156119695780601f1061193e57610100808354040283529160200191611969565b820191906000526020600020905b81548152906001019060200180831161194c57829003601f168201915b505050505081565b606061197c82612822565b6119bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b290614c25565b60405180910390fd5b60606010600084815260200190815260200160002060020160009054906101000a900460ff1615611a625760106000848152602001908152602001600020600001611a1b6010600086815260200190815260200160002060010154612d9d565b611a3a6010600087815260200190815260200160002060030154612d9d565b604051602001611a4c939291906149a2565b6040516020818303038152906040529050611a9b565b6040518060400160405280601381526020017f4e6f2063757272656e7420536d6f6b61626c650000000000000000000000000081525090505b80915050919050565b6000600115156011600084815260200190815260200160002060009054906101000a900460ff161515149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3d90614d45565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b9561288e565b73ffffffffffffffffffffffffffffffffffffffff16611bb3611e15565b73ffffffffffffffffffffffffffffffffffffffff1614611c09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0090614e05565b60405180910390fd5b611c136000612f4a565b565b611c1d611e15565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611c9557506000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054115b611cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccb90614c05565b60405180910390fd5b6000611cde610b7f565b9050610dac8110611d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1b90614b45565b60405180910390fd5b611d2e3382612c94565b611d36611e15565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611dc0576001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611db891906150f8565b925050819055505b6000600f6000838152602001908152602001600020819055507f58f04dc301f6d1176e36918d56d20c2ae9c1fc3206a7d7873e8c7d92f0dd2ec73382604051611e0a929190614a88565b60405180910390a150565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611e4e906151e2565b80601f0160208091040260200160405190810160405280929190818152602001828054611e7a906151e2565b8015611ec75780601f10611e9c57610100808354040283529160200191611ec7565b820191906000526020600020905b815481529060010190602001808311611eaa57829003601f168201915b5050505050905090565b611ee3611edc61288e565b8383613010565b5050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611f41611f3b61288e565b8361294f565b611f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7790614e85565b60405180910390fd5b611f8c8484848461317d565b50505050565b600381565b611f9f611e15565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061201757506000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054115b612056576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204d90614c05565b60405180910390fd5b6000612060610b7f565b90506000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050610dac81836120b59190615071565b11156120f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ed90614b25565b60405180910390fd5b60005b8181101561214d576121163382856121119190615071565b612c94565b6000600f600083866121289190615071565b815260200190815260200160002081905550808061214590615245565b9150506120f9565b50612156611e15565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146121ce576000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b7f1a9e490c83710c06bad55be18386941cc94e92ba3b243cb421599a9b4666480b3383600184866121ff9190615071565b61220991906150f8565b60405161221893929190614ab1565b60405180910390a15050565b61222c61288e565b73ffffffffffffffffffffffffffffffffffffffff1661224a611e15565b73ffffffffffffffffffffffffffffffffffffffff16146122a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229790614e05565b60405180910390fd5b60006122aa610b7f565b9050610dac82826122bb9190615071565b11156122fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f390614b25565b60405180910390fd5b81600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123479190615071565b600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b606061239a82612822565b6123d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d090614c25565b60405180910390fd5b6000600f600084815260200190815260200160002054905060606010600085815260200190815260200160002060020160009054906101000a900460ff1615612454576010600085815260200190815260200160002060000160405160200161244291906149ff565b60405160208183030381529060405290505b606061245f85611aa4565b61247857604051806020016040528060008152506124af565b6040518060400160405280600681526020017f2d43726f776e00000000000000000000000000000000000000000000000000008152505b90506000600c80546124c0906151e2565b9050116124dc5760405180602001604052806000815250612516565b600c6124e786612d9d565b6124f085612d9d565b848460405160200161250695949392919061494c565b6040516020818303038152906040525b9350505050919050565b610dac81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6125c261288e565b73ffffffffffffffffffffffffffffffffffffffff166125e0611e15565b73ffffffffffffffffffffffffffffffffffffffff1614612636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262d90614e05565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156126a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269d90614ba5565b60405180910390fd5b6126af81612f4a565b50565b600d60009054906101000a900460ff1681565b6126cd61288e565b73ffffffffffffffffffffffffffffffffffffffff166126eb611e15565b73ffffffffffffffffffffffffffffffffffffffff1614612741576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273890614e05565b60405180910390fd5b6000600b8054612750906151e2565b905014612792576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278990614e25565b60405180910390fd5b8181600b91906127a3929190613c40565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061281b575061281a826131d9565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661290983611831565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061295a82612822565b612999576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299090614ca5565b60405180910390fd5b60006129a483611831565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a1357508373ffffffffffffffffffffffffffffffffffffffff166129fb846109dc565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a245750612a238185612526565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a4d82611831565b73ffffffffffffffffffffffffffffffffffffffff1614612aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9a90614bc5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0a90614c45565b60405180910390fd5b612b1e8383836132bb565b612b29600082612896565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b7991906150f8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bd09190615071565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c8f8383836132cb565b505050565b612cae8282604051806020016040528060008152506132d0565b5050565b6000818310612cc15781612cc3565b825b905092915050565b6003811115612d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0690614ec5565b60405180910390fd5b80600f60008481526020019081526020016000208190555060038110158015612d3e57506103e8601280549050105b15612d995760016011600084815260200190815260200160002060006101000a81548160ff02191690831515021790555060128290806001815401808255809150506001900390600052602060002001600090919091909150555b5050565b60606000821415612de5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f45565b600082905060005b60008214612e17578080612e0090615245565b915050600a82612e1091906150c7565b9150612ded565b60008167ffffffffffffffff811115612e59577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e8b5781602001600182028036833780820191505090505b5090505b60008514612f3e57600182612ea491906150f8565b9150600a85612eb3919061528e565b6030612ebf9190615071565b60f81b818381518110612efb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f3791906150c7565b9450612e8f565b8093505050505b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561307f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307690614c65565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516131709190614ae8565b60405180910390a3505050565b613188848484612a2d565b6131948484848461332b565b6131d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ca90614b85565b60405180910390fd5b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806132a457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806132b457506132b3826134c2565b5b9050919050565b6132c683838361352c565b505050565b505050565b6132da8383613640565b6132e7600084848461332b565b613326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161331d90614b85565b60405180910390fd5b505050565b600061334c8473ffffffffffffffffffffffffffffffffffffffff1661381a565b156134b5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261337561288e565b8786866040518563ffffffff1660e01b81526004016133979493929190614a3c565b602060405180830381600087803b1580156133b157600080fd5b505af19250505080156133e257506040513d601f19601f820116820180604052508101906133df919061412f565b60015b613465573d8060008114613412576040519150601f19603f3d011682016040523d82523d6000602084013e613417565b606091505b5060008151141561345d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345490614b85565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506134ba565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61353783838361383d565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561357a5761357581613842565b6135b9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146135b8576135b7838261388b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135fc576135f7816139f8565b61363b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461363a576136398282613b3b565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136a790614dc5565b60405180910390fd5b6136b981612822565b156136f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f090614be5565b60405180910390fd5b613705600083836132bb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137559190615071565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613816600083836132cb565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161389884611ad5565b6138a291906150f8565b9050600060076000848152602001908152602001600020549050818114613987576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613a0c91906150f8565b9050600060096000848152602001908152602001600020549050600060088381548110613a62577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613aaa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613b1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613b4683611ad5565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613bc6906151e2565b90600052602060002090601f016020900481019282613be85760008555613c2f565b82601f10613c0157805160ff1916838001178555613c2f565b82800160010185558215613c2f579182015b82811115613c2e578251825591602001919060010190613c13565b5b509050613c3c9190613cc6565b5090565b828054613c4c906151e2565b90600052602060002090601f016020900481019282613c6e5760008555613cb5565b82601f10613c8757803560ff1916838001178555613cb5565b82800160010185558215613cb5579182015b82811115613cb4578235825591602001919060010190613c99565b5b509050613cc29190613cc6565b5090565b5b80821115613cdf576000816000905550600101613cc7565b5090565b6000613cf6613cf184614fe8565b614fc3565b905082815260208101848484011115613d0e57600080fd5b613d198482856151a0565b509392505050565b600081359050613d3081615b8d565b92915050565b60008083601f840112613d4857600080fd5b8235905067ffffffffffffffff811115613d6157600080fd5b602083019150836020820283011115613d7957600080fd5b9250929050565b60008083601f840112613d9257600080fd5b8235905067ffffffffffffffff811115613dab57600080fd5b602083019150836020820283011115613dc357600080fd5b9250929050565b600081359050613dd981615ba4565b92915050565b600081359050613dee81615bbb565b92915050565b600081519050613e0381615bbb565b92915050565b600082601f830112613e1a57600080fd5b8135613e2a848260208601613ce3565b91505092915050565b60008083601f840112613e4557600080fd5b8235905067ffffffffffffffff811115613e5e57600080fd5b602083019150836001820283011115613e7657600080fd5b9250929050565b600081359050613e8c81615bd2565b92915050565b600060208284031215613ea457600080fd5b6000613eb284828501613d21565b91505092915050565b60008060408385031215613ece57600080fd5b6000613edc85828601613d21565b9250506020613eed85828601613d21565b9150509250929050565b600080600060608486031215613f0c57600080fd5b6000613f1a86828701613d21565b9350506020613f2b86828701613d21565b9250506040613f3c86828701613e7d565b9150509250925092565b60008060008060808587031215613f5c57600080fd5b6000613f6a87828801613d21565b9450506020613f7b87828801613d21565b9350506040613f8c87828801613e7d565b925050606085013567ffffffffffffffff811115613fa957600080fd5b613fb587828801613e09565b91505092959194509250565b60008060408385031215613fd457600080fd5b6000613fe285828601613d21565b9250506020613ff385828601613dca565b9150509250929050565b6000806040838503121561401057600080fd5b600061401e85828601613d21565b925050602061402f85828601613e7d565b9150509250929050565b6000806000806000806060878903121561405257600080fd5b600087013567ffffffffffffffff81111561406c57600080fd5b61407889828a01613d80565b9650965050602087013567ffffffffffffffff81111561409757600080fd5b6140a389828a01613d36565b9450945050604087013567ffffffffffffffff8111156140c257600080fd5b6140ce89828a01613d80565b92509250509295509295509295565b6000602082840312156140ef57600080fd5b60006140fd84828501613dca565b91505092915050565b60006020828403121561411857600080fd5b600061412684828501613ddf565b91505092915050565b60006020828403121561414157600080fd5b600061414f84828501613df4565b91505092915050565b6000806020838503121561416b57600080fd5b600083013567ffffffffffffffff81111561418557600080fd5b61419185828601613e33565b92509250509250929050565b6000602082840312156141af57600080fd5b60006141bd84828501613e7d565b91505092915050565b600080600080606085870312156141dc57600080fd5b60006141ea87828801613e7d565b945050602085013567ffffffffffffffff81111561420757600080fd5b61421387828801613e33565b9350935050604061422687828801613e7d565b91505092959194509250565b6000806040838503121561424557600080fd5b600061425385828601613e7d565b925050602061426485828601613e7d565b9150509250929050565b6142778161512c565b82525050565b6142868161513e565b82525050565b60006142978261502e565b6142a18185615044565b93506142b18185602086016151af565b6142ba8161537b565b840191505092915050565b60006142d082615039565b6142da8185615055565b93506142ea8185602086016151af565b6142f38161537b565b840191505092915050565b600061430982615039565b6143138185615066565b93506143238185602086016151af565b80840191505092915050565b6000815461433c816151e2565b6143468186615055565b945060018216600081146143615760018114614373576143a6565b60ff19831686526020860193506143a6565b61437c85615019565b60005b8381101561439e5781548189015260018201915060208101905061437f565b808801955050505b50505092915050565b600081546143bc816151e2565b6143c68186615066565b945060018216600081146143e157600181146143f257614425565b60ff19831686528186019350614425565b6143fb85615019565b60005b8381101561441d578154818901526001820191506020810190506143fe565b838801955050505b50505092915050565b600061443b600e83615066565b91506144468261538c565b600e82019050919050565b600061445e601a83615055565b9150614469826153b5565b602082019050919050565b6000614481601583615055565b915061448c826153de565b602082019050919050565b60006144a4602b83615055565b91506144af82615407565b604082019050919050565b60006144c7603283615055565b91506144d282615456565b604082019050919050565b60006144ea602683615055565b91506144f5826154a5565b604082019050919050565b600061450d602583615055565b9150614518826154f4565b604082019050919050565b6000614530601c83615055565b915061453b82615543565b602082019050919050565b6000614553601783615055565b915061455e8261556c565b602082019050919050565b6000614576600783615066565b915061458182615595565b600782019050919050565b6000614599601c83615055565b91506145a4826155be565b602082019050919050565b60006145bc602483615055565b91506145c7826155e7565b604082019050919050565b60006145df601983615055565b91506145ea82615636565b602082019050919050565b6000614602601483615055565b915061460d8261565f565b602082019050919050565b6000614625602c83615055565b915061463082615688565b604082019050919050565b6000614648601483615055565b9150614653826156d7565b602082019050919050565b600061466b601b83615055565b915061467682615700565b602082019050919050565b600061468e600f83615055565b915061469982615729565b602082019050919050565b60006146b1603883615055565b91506146bc82615752565b604082019050919050565b60006146d4602a83615055565b91506146df826157a1565b604082019050919050565b60006146f7602983615055565b9150614702826157f0565b604082019050919050565b600061471a601483615055565b91506147258261583f565b602082019050919050565b600061473d600483615055565b915061474882615868565b602082019050919050565b6000614760602083615055565b915061476b82615891565b602082019050919050565b6000614783600183615066565b915061478e826158ba565b600182019050919050565b60006147a6602c83615055565b91506147b1826158e3565b604082019050919050565b60006147c9602083615055565b91506147d482615932565b602082019050919050565b60006147ec601e83615055565b91506147f78261595b565b602082019050919050565b600061480f602b83615055565b915061481a82615984565b604082019050919050565b6000614832602183615055565b915061483d826159d3565b604082019050919050565b6000614855603183615055565b915061486082615a22565b604082019050919050565b6000614878602c83615055565b915061488382615a71565b604082019050919050565b600061489b600183615066565b91506148a682615ac0565b600182019050919050565b60006148be600c83615055565b91506148c982615ae9565b602082019050919050565b60006148e1600c83615066565b91506148ec82615b12565b600c82019050919050565b6000614904601683615055565b915061490f82615b3b565b602082019050919050565b6000614927600183615066565b915061493282615b64565b600182019050919050565b61494681615196565b82525050565b600061495882886143af565b915061496482876142fe565b915061496f8261491a565b915061497b82866142fe565b915061498782856142fe565b915061499382846142fe565b91508190509695505050505050565b60006149ad82614569565b91506149b982866143af565b91506149c4826148d4565b91506149d082856142fe565b91506149db8261442e565b91506149e782846142fe565b91506149f282614776565b9150819050949350505050565b6000614a0a8261488e565b9150614a1682846143af565b915081905092915050565b6000602082019050614a36600083018461426e565b92915050565b6000608082019050614a51600083018761426e565b614a5e602083018661426e565b614a6b604083018561493d565b8181036060830152614a7d818461428c565b905095945050505050565b6000604082019050614a9d600083018561426e565b614aaa602083018461493d565b9392505050565b6000606082019050614ac6600083018661426e565b614ad3602083018561493d565b614ae0604083018461493d565b949350505050565b6000602082019050614afd600083018461427d565b92915050565b60006020820190508181036000830152614b1d81846142c5565b905092915050565b60006020820190508181036000830152614b3e81614451565b9050919050565b60006020820190508181036000830152614b5e81614474565b9050919050565b60006020820190508181036000830152614b7e81614497565b9050919050565b60006020820190508181036000830152614b9e816144ba565b9050919050565b60006020820190508181036000830152614bbe816144dd565b9050919050565b60006020820190508181036000830152614bde81614500565b9050919050565b60006020820190508181036000830152614bfe81614523565b9050919050565b60006020820190508181036000830152614c1e81614546565b9050919050565b60006020820190508181036000830152614c3e8161458c565b9050919050565b60006020820190508181036000830152614c5e816145af565b9050919050565b60006020820190508181036000830152614c7e816145d2565b9050919050565b60006020820190508181036000830152614c9e816145f5565b9050919050565b60006020820190508181036000830152614cbe81614618565b9050919050565b60006020820190508181036000830152614cde8161463b565b9050919050565b60006020820190508181036000830152614cfe8161465e565b9050919050565b60006020820190508181036000830152614d1e81614681565b9050919050565b60006020820190508181036000830152614d3e816146a4565b9050919050565b60006020820190508181036000830152614d5e816146c7565b9050919050565b60006020820190508181036000830152614d7e816146ea565b9050919050565b60006020820190508181036000830152614d9e8161470d565b9050919050565b60006020820190508181036000830152614dbe81614730565b9050919050565b60006020820190508181036000830152614dde81614753565b9050919050565b60006020820190508181036000830152614dfe81614799565b9050919050565b60006020820190508181036000830152614e1e816147bc565b9050919050565b60006020820190508181036000830152614e3e816147df565b9050919050565b60006020820190508181036000830152614e5e81614802565b9050919050565b60006020820190508181036000830152614e7e81614825565b9050919050565b60006020820190508181036000830152614e9e81614848565b9050919050565b60006020820190508181036000830152614ebe8161486b565b9050919050565b60006020820190508181036000830152614ede816148b1565b9050919050565b60006020820190508181036000830152614efe816148f7565b9050919050565b6000602082019050614f1a600083018461493d565b92915050565b6000608082019050614f35600083018761493d565b614f42602083018661493d565b8181036040830152614f54818561432f565b9050614f63606083018461493d565b95945050505050565b60008083356001602003843603038112614f8557600080fd5b80840192508235915067ffffffffffffffff821115614fa357600080fd5b602083019250600182023603831315614fbb57600080fd5b509250929050565b6000614fcd614fde565b9050614fd98282615214565b919050565b6000604051905090565b600067ffffffffffffffff8211156150035761500261534c565b5b61500c8261537b565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061507c82615196565b915061508783615196565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150bc576150bb6152bf565b5b828201905092915050565b60006150d282615196565b91506150dd83615196565b9250826150ed576150ec6152ee565b5b828204905092915050565b600061510382615196565b915061510e83615196565b925082821015615121576151206152bf565b5b828203905092915050565b600061513782615176565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156151cd5780820151818401526020810190506151b2565b838111156151dc576000848401525b50505050565b600060028204905060018216806151fa57607f821691505b6020821081141561520e5761520d61531d565b5b50919050565b61521d8261537b565b810181811067ffffffffffffffff8211171561523c5761523b61534c565b5b80604052505050565b600061525082615196565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615283576152826152bf565b5b600182019050919050565b600061529982615196565b91506152a483615196565b9250826152b4576152b36152ee565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f2c2070726576486f6c6465723a20000000000000000000000000000000000000600082015250565b7f4e6f7420656e6f75676820617661696c61626c65206672656e73000000000000600082015250565b7f416c6c204672656e73204d696e746564204672656e0000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6f206672656e7320617661696c61626c65206672656e000000000000000000600082015250565b7f7b747970653a2000000000000000000000000000000000000000000000000000600082015250565b7f54686174206672656e20646f65736e2774206578697374206672656e00000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f596f7520676f74206e6f7468696e2c206672656e000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f50756666207075666620676976652c206672656e000000000000000000000000600082015250565b7f4672656e20616c726561647920686173206120736d6f6b61626c650000000000600082015250565b7f4e6f7420796f7572732c206672656e0000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f536861726520746865206c6f76652c206672656e000000000000000000000000600082015250565b7f5768757400000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f50726f76656e616e636520697320616c726561647920736574206672656e0000600082015250565b7f54686174206672656e20616c726561647920686173207468652062696767657360008201527f742068656164206672656e000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f2d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f546f6f20626967206672656e0000000000000000000000000000000000000000600082015250565b7f2c20737472656e6774683a200000000000000000000000000000000000000000600082015250565b7f4e6f7420617661696c61626c6520796574206672656e00000000000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b615b968161512c565b8114615ba157600080fd5b50565b615bad8161513e565b8114615bb857600080fd5b50565b615bc48161514a565b8114615bcf57600080fd5b50565b615bdb81615196565b8114615be657600080fd5b5056fea2646970667358221220fa511401592be618905db7da9579581ab1e07949eaa8b27c00e7fc8b7a0314c464736f6c63430008010033

Deployed Bytecode

0x6080604052600436106102305760003560e01c80636373a6b11161012e578063b88d4fde116100ab578063ce272ca01161006f578063ce272ca014610836578063e985e9c514610861578063f2fde38b1461089e578063fdd61e9c146108c7578063ffe630b5146108f257610230565b8063b88d4fde14610772578063c19e2ce41461079b578063c41b8d0a146107c6578063c49903c5146107d0578063c87b56dd146107f957610230565b806375cc98af116100f257806375cc98af146106ac5780638da5cb5b146106b657806395d89b41146106e1578063a22cb4651461070c578063b7461e8e1461073557610230565b80636373a6b1146105b35780636b311cfa146105de5780636cee99841461061b57806370a0823114610658578063715018a61461069557610230565b806326092b83116101bc5780634f6ccce7116101805780634f6ccce7146104be57806352f7e33e146104fb57806355f804b3146105245780635a0896221461054d5780636352211e1461057657610230565b806326092b83146103e85780632f745c59146103f25780633a86401c1461042f5780633c2a2c8a1461045857806342842e0e1461049557610230565b8063095ea7b311610203578063095ea7b3146103175780631627ef871461034057806318160ddd1461036b578063203c4ed71461039657806323b872dd146103bf57610230565b806301ffc9a714610235578063049597241461027257806306fdde03146102af578063081812fc146102da575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190614106565b61091b565b6040516102699190614ae8565b60405180910390f35b34801561027e57600080fd5b506102996004803603810190610294919061419d565b61092d565b6040516102a69190614f05565b60405180910390f35b3480156102bb57600080fd5b506102c461094a565b6040516102d19190614b03565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc919061419d565b6109dc565b60405161030e9190614a21565b60405180910390f35b34801561032357600080fd5b5061033e60048036038101906103399190613ffd565b610a61565b005b34801561034c57600080fd5b50610355610b79565b6040516103629190614f05565b60405180910390f35b34801561037757600080fd5b50610380610b7f565b60405161038d9190614f05565b60405180910390f35b3480156103a257600080fd5b506103bd60048036038101906103b891906140dd565b610b8c565b005b3480156103cb57600080fd5b506103e660048036038101906103e19190613ef7565b610c25565b005b6103f0610c85565b005b3480156103fe57600080fd5b5061041960048036038101906104149190613ffd565b610d83565b6040516104269190614f05565b60405180910390f35b34801561043b57600080fd5b5061045660048036038101906104519190614232565b610e28565b005b34801561046457600080fd5b5061047f600480360381019061047a919061419d565b611335565b60405161048c9190614ae8565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b79190613ef7565b611355565b005b3480156104ca57600080fd5b506104e560048036038101906104e0919061419d565b611375565b6040516104f29190614f05565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d91906141c6565b61140c565b005b34801561053057600080fd5b5061054b60048036038101906105469190614158565b611560565b005b34801561055957600080fd5b50610574600480360381019061056f9190614039565b6115f2565b005b34801561058257600080fd5b5061059d6004803603810190610598919061419d565b611831565b6040516105aa9190614a21565b60405180910390f35b3480156105bf57600080fd5b506105c86118e3565b6040516105d59190614b03565b60405180910390f35b3480156105ea57600080fd5b506106056004803603810190610600919061419d565b611971565b6040516106129190614b03565b60405180910390f35b34801561062757600080fd5b50610642600480360381019061063d919061419d565b611aa4565b60405161064f9190614ae8565b60405180910390f35b34801561066457600080fd5b5061067f600480360381019061067a9190613e92565b611ad5565b60405161068c9190614f05565b60405180910390f35b3480156106a157600080fd5b506106aa611b8d565b005b6106b4611c15565b005b3480156106c257600080fd5b506106cb611e15565b6040516106d89190614a21565b60405180910390f35b3480156106ed57600080fd5b506106f6611e3f565b6040516107039190614b03565b60405180910390f35b34801561071857600080fd5b50610733600480360381019061072e9190613fc1565b611ed1565b005b34801561074157600080fd5b5061075c60048036038101906107579190613e92565b611ee7565b6040516107699190614f05565b60405180910390f35b34801561077e57600080fd5b5061079960048036038101906107949190613f46565b611f30565b005b3480156107a757600080fd5b506107b0611f92565b6040516107bd9190614f05565b60405180910390f35b6107ce611f97565b005b3480156107dc57600080fd5b506107f760048036038101906107f29190613ffd565b612224565b005b34801561080557600080fd5b50610820600480360381019061081b919061419d565b61238f565b60405161082d9190614b03565b60405180910390f35b34801561084257600080fd5b5061084b612520565b6040516108589190614f05565b60405180910390f35b34801561086d57600080fd5b5061088860048036038101906108839190613ebb565b612526565b6040516108959190614ae8565b60405180910390f35b3480156108aa57600080fd5b506108c560048036038101906108c09190613e92565b6125ba565b005b3480156108d357600080fd5b506108dc6126b2565b6040516108e99190614ae8565b60405180910390f35b3480156108fe57600080fd5b5061091960048036038101906109149190614158565b6126c5565b005b6000610926826127a8565b9050919050565b6000600f6000838152602001908152602001600020549050919050565b606060008054610959906151e2565b80601f0160208091040260200160405190810160405280929190818152602001828054610985906151e2565b80156109d25780601f106109a7576101008083540402835291602001916109d2565b820191906000526020600020905b8154815290600101906020018083116109b557829003601f168201915b5050505050905090565b60006109e782612822565b610a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1d90614de5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a6c82611831565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad490614e65565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610afc61288e565b73ffffffffffffffffffffffffffffffffffffffff161480610b2b5750610b2a81610b2561288e565b612526565b5b610b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6190614d25565b60405180910390fd5b610b748383612896565b505050565b6103e881565b6000600880549050905090565b610b9461288e565b73ffffffffffffffffffffffffffffffffffffffff16610bb2611e15565b73ffffffffffffffffffffffffffffffffffffffff1614610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bff90614e05565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b610c36610c3061288e565b8261294f565b610c75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6c90614e85565b60405180910390fd5b610c80838383612a2d565b505050565b600d60009054906101000a900460ff16610cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccb90614ee5565b60405180910390fd5b6000610cde610b7f565b9050610dac8110610d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1b90614b45565b60405180910390fd5b610d2e3382612c94565b6000600f6000838152602001908152602001600020819055507f58f04dc301f6d1176e36918d56d20c2ae9c1fc3206a7d7873e8c7d92f0dd2ec73382604051610d78929190614a88565b60405180910390a150565b6000610d8e83611ad5565b8210610dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc690614b65565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e3182612822565b610e70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6790614da5565b60405180910390fd5b610e7981612822565b610eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaf90614c25565b60405180910390fd5b610ec182611831565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2590614d05565b60405180910390fd5b6010600083815260200190815260200160002060020160009054906101000a900460ff16610f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8890614c85565b60405180910390fd5b6010600082815260200190815260200160002060020160009054906101000a900460ff1615610ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fec90614ce5565b60405180910390fd5b610ffe81611831565b73ffffffffffffffffffffffffffffffffffffffff1661101d83611831565b73ffffffffffffffffffffffffffffffffffffffff161415611074576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106b90614cc5565b60405180910390fd5b6003600f600083815260200190815260200160002054106110ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c190614e45565b60405180910390fd5b8060106000848152602001908152602001600020600301541415611123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111a90614d85565b60405180910390fd5b60006111646010600085815260200190815260200160002060010154600f60008681526020019081526020016000205461115d9190615071565b6003612cb2565b90506111708382612ccb565b60006010600085815260200190815260200160002060020160006101000a81548160ff02191690831515021790555060405180608001604052806010600086815260200190815260200160002060000180546111cb906151e2565b80601f01602080910402602001604051908101604052809291908181526020018280546111f7906151e2565b80156112445780601f1061121957610100808354040283529160200191611244565b820191906000526020600020905b81548152906001019060200180831161122757829003601f168201915b5050505050815260200160106000868152602001908152602001600020600101548152602001600115158152602001848152506010600084815260200190815260200160002060008201518160000190805190602001906112a6929190613bba565b506020820151816001015560408201518160020160006101000a81548160ff021916908315150217905550606082015181600301559050507f6f60a91c7d38c607ed5e792932185a7cee1e9cb314bc17351072300c8d02aa9c838360106000878152602001908152602001600020600001426040516113289493929190614f20565b60405180910390a1505050565b60116020528060005260406000206000915054906101000a900460ff1681565b61137083838360405180602001604052806000815250611f30565b505050565b600061137f610b7f565b82106113c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b790614ea5565b60405180910390fd5b600882815481106113fa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61141461288e565b73ffffffffffffffffffffffffffffffffffffffff16611432611e15565b73ffffffffffffffffffffffffffffffffffffffff1614611488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147f90614e05565b60405180910390fd5b604051806080016040528084848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508152602001828152602001600115158152602001620186a0815250601060008681526020019081526020016000206000820151816000019080519060200190611522929190613bba565b506020820151816001015560408201518160020160006101000a81548160ff0219169083151502179055506060820151816003015590505050505050565b61156861288e565b73ffffffffffffffffffffffffffffffffffffffff16611586611e15565b73ffffffffffffffffffffffffffffffffffffffff16146115dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d390614e05565b60405180910390fd5b8181600c91906115ed929190613c40565b505050565b6115fa61288e565b73ffffffffffffffffffffffffffffffffffffffff16611618611e15565b73ffffffffffffffffffffffffffffffffffffffff161461166e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166590614e05565b60405180910390fd5b60005b868690508110156118285760405180608001604052808686848181106116c0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020028101906116d29190614f6c565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508152602001848484818110611753577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358152602001600115158152602001620186a0815250601060008989858181106117ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060008201518160000190805190602001906117dd929190613bba565b506020820151816001015560408201518160020160006101000a81548160ff02191690831515021790555060608201518160030155905050808061182090615245565b915050611671565b50505050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d190614d65565b60405180910390fd5b80915050919050565b600b80546118f0906151e2565b80601f016020809104026020016040519081016040528092919081815260200182805461191c906151e2565b80156119695780601f1061193e57610100808354040283529160200191611969565b820191906000526020600020905b81548152906001019060200180831161194c57829003601f168201915b505050505081565b606061197c82612822565b6119bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b290614c25565b60405180910390fd5b60606010600084815260200190815260200160002060020160009054906101000a900460ff1615611a625760106000848152602001908152602001600020600001611a1b6010600086815260200190815260200160002060010154612d9d565b611a3a6010600087815260200190815260200160002060030154612d9d565b604051602001611a4c939291906149a2565b6040516020818303038152906040529050611a9b565b6040518060400160405280601381526020017f4e6f2063757272656e7420536d6f6b61626c650000000000000000000000000081525090505b80915050919050565b6000600115156011600084815260200190815260200160002060009054906101000a900460ff161515149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3d90614d45565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b9561288e565b73ffffffffffffffffffffffffffffffffffffffff16611bb3611e15565b73ffffffffffffffffffffffffffffffffffffffff1614611c09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0090614e05565b60405180910390fd5b611c136000612f4a565b565b611c1d611e15565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611c9557506000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054115b611cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccb90614c05565b60405180910390fd5b6000611cde610b7f565b9050610dac8110611d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1b90614b45565b60405180910390fd5b611d2e3382612c94565b611d36611e15565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611dc0576001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611db891906150f8565b925050819055505b6000600f6000838152602001908152602001600020819055507f58f04dc301f6d1176e36918d56d20c2ae9c1fc3206a7d7873e8c7d92f0dd2ec73382604051611e0a929190614a88565b60405180910390a150565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611e4e906151e2565b80601f0160208091040260200160405190810160405280929190818152602001828054611e7a906151e2565b8015611ec75780601f10611e9c57610100808354040283529160200191611ec7565b820191906000526020600020905b815481529060010190602001808311611eaa57829003601f168201915b5050505050905090565b611ee3611edc61288e565b8383613010565b5050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611f41611f3b61288e565b8361294f565b611f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7790614e85565b60405180910390fd5b611f8c8484848461317d565b50505050565b600381565b611f9f611e15565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061201757506000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054115b612056576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204d90614c05565b60405180910390fd5b6000612060610b7f565b90506000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050610dac81836120b59190615071565b11156120f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ed90614b25565b60405180910390fd5b60005b8181101561214d576121163382856121119190615071565b612c94565b6000600f600083866121289190615071565b815260200190815260200160002081905550808061214590615245565b9150506120f9565b50612156611e15565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146121ce576000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b7f1a9e490c83710c06bad55be18386941cc94e92ba3b243cb421599a9b4666480b3383600184866121ff9190615071565b61220991906150f8565b60405161221893929190614ab1565b60405180910390a15050565b61222c61288e565b73ffffffffffffffffffffffffffffffffffffffff1661224a611e15565b73ffffffffffffffffffffffffffffffffffffffff16146122a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229790614e05565b60405180910390fd5b60006122aa610b7f565b9050610dac82826122bb9190615071565b11156122fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f390614b25565b60405180910390fd5b81600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123479190615071565b600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b606061239a82612822565b6123d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d090614c25565b60405180910390fd5b6000600f600084815260200190815260200160002054905060606010600085815260200190815260200160002060020160009054906101000a900460ff1615612454576010600085815260200190815260200160002060000160405160200161244291906149ff565b60405160208183030381529060405290505b606061245f85611aa4565b61247857604051806020016040528060008152506124af565b6040518060400160405280600681526020017f2d43726f776e00000000000000000000000000000000000000000000000000008152505b90506000600c80546124c0906151e2565b9050116124dc5760405180602001604052806000815250612516565b600c6124e786612d9d565b6124f085612d9d565b848460405160200161250695949392919061494c565b6040516020818303038152906040525b9350505050919050565b610dac81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6125c261288e565b73ffffffffffffffffffffffffffffffffffffffff166125e0611e15565b73ffffffffffffffffffffffffffffffffffffffff1614612636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262d90614e05565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156126a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269d90614ba5565b60405180910390fd5b6126af81612f4a565b50565b600d60009054906101000a900460ff1681565b6126cd61288e565b73ffffffffffffffffffffffffffffffffffffffff166126eb611e15565b73ffffffffffffffffffffffffffffffffffffffff1614612741576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273890614e05565b60405180910390fd5b6000600b8054612750906151e2565b905014612792576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278990614e25565b60405180910390fd5b8181600b91906127a3929190613c40565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061281b575061281a826131d9565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661290983611831565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061295a82612822565b612999576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299090614ca5565b60405180910390fd5b60006129a483611831565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a1357508373ffffffffffffffffffffffffffffffffffffffff166129fb846109dc565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a245750612a238185612526565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a4d82611831565b73ffffffffffffffffffffffffffffffffffffffff1614612aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9a90614bc5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0a90614c45565b60405180910390fd5b612b1e8383836132bb565b612b29600082612896565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b7991906150f8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bd09190615071565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c8f8383836132cb565b505050565b612cae8282604051806020016040528060008152506132d0565b5050565b6000818310612cc15781612cc3565b825b905092915050565b6003811115612d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0690614ec5565b60405180910390fd5b80600f60008481526020019081526020016000208190555060038110158015612d3e57506103e8601280549050105b15612d995760016011600084815260200190815260200160002060006101000a81548160ff02191690831515021790555060128290806001815401808255809150506001900390600052602060002001600090919091909150555b5050565b60606000821415612de5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f45565b600082905060005b60008214612e17578080612e0090615245565b915050600a82612e1091906150c7565b9150612ded565b60008167ffffffffffffffff811115612e59577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e8b5781602001600182028036833780820191505090505b5090505b60008514612f3e57600182612ea491906150f8565b9150600a85612eb3919061528e565b6030612ebf9190615071565b60f81b818381518110612efb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f3791906150c7565b9450612e8f565b8093505050505b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561307f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307690614c65565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516131709190614ae8565b60405180910390a3505050565b613188848484612a2d565b6131948484848461332b565b6131d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ca90614b85565b60405180910390fd5b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806132a457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806132b457506132b3826134c2565b5b9050919050565b6132c683838361352c565b505050565b505050565b6132da8383613640565b6132e7600084848461332b565b613326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161331d90614b85565b60405180910390fd5b505050565b600061334c8473ffffffffffffffffffffffffffffffffffffffff1661381a565b156134b5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261337561288e565b8786866040518563ffffffff1660e01b81526004016133979493929190614a3c565b602060405180830381600087803b1580156133b157600080fd5b505af19250505080156133e257506040513d601f19601f820116820180604052508101906133df919061412f565b60015b613465573d8060008114613412576040519150601f19603f3d011682016040523d82523d6000602084013e613417565b606091505b5060008151141561345d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345490614b85565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506134ba565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61353783838361383d565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561357a5761357581613842565b6135b9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146135b8576135b7838261388b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135fc576135f7816139f8565b61363b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461363a576136398282613b3b565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136a790614dc5565b60405180910390fd5b6136b981612822565b156136f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f090614be5565b60405180910390fd5b613705600083836132bb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137559190615071565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613816600083836132cb565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161389884611ad5565b6138a291906150f8565b9050600060076000848152602001908152602001600020549050818114613987576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613a0c91906150f8565b9050600060096000848152602001908152602001600020549050600060088381548110613a62577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613aaa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613b1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613b4683611ad5565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613bc6906151e2565b90600052602060002090601f016020900481019282613be85760008555613c2f565b82601f10613c0157805160ff1916838001178555613c2f565b82800160010185558215613c2f579182015b82811115613c2e578251825591602001919060010190613c13565b5b509050613c3c9190613cc6565b5090565b828054613c4c906151e2565b90600052602060002090601f016020900481019282613c6e5760008555613cb5565b82601f10613c8757803560ff1916838001178555613cb5565b82800160010185558215613cb5579182015b82811115613cb4578235825591602001919060010190613c99565b5b509050613cc29190613cc6565b5090565b5b80821115613cdf576000816000905550600101613cc7565b5090565b6000613cf6613cf184614fe8565b614fc3565b905082815260208101848484011115613d0e57600080fd5b613d198482856151a0565b509392505050565b600081359050613d3081615b8d565b92915050565b60008083601f840112613d4857600080fd5b8235905067ffffffffffffffff811115613d6157600080fd5b602083019150836020820283011115613d7957600080fd5b9250929050565b60008083601f840112613d9257600080fd5b8235905067ffffffffffffffff811115613dab57600080fd5b602083019150836020820283011115613dc357600080fd5b9250929050565b600081359050613dd981615ba4565b92915050565b600081359050613dee81615bbb565b92915050565b600081519050613e0381615bbb565b92915050565b600082601f830112613e1a57600080fd5b8135613e2a848260208601613ce3565b91505092915050565b60008083601f840112613e4557600080fd5b8235905067ffffffffffffffff811115613e5e57600080fd5b602083019150836001820283011115613e7657600080fd5b9250929050565b600081359050613e8c81615bd2565b92915050565b600060208284031215613ea457600080fd5b6000613eb284828501613d21565b91505092915050565b60008060408385031215613ece57600080fd5b6000613edc85828601613d21565b9250506020613eed85828601613d21565b9150509250929050565b600080600060608486031215613f0c57600080fd5b6000613f1a86828701613d21565b9350506020613f2b86828701613d21565b9250506040613f3c86828701613e7d565b9150509250925092565b60008060008060808587031215613f5c57600080fd5b6000613f6a87828801613d21565b9450506020613f7b87828801613d21565b9350506040613f8c87828801613e7d565b925050606085013567ffffffffffffffff811115613fa957600080fd5b613fb587828801613e09565b91505092959194509250565b60008060408385031215613fd457600080fd5b6000613fe285828601613d21565b9250506020613ff385828601613dca565b9150509250929050565b6000806040838503121561401057600080fd5b600061401e85828601613d21565b925050602061402f85828601613e7d565b9150509250929050565b6000806000806000806060878903121561405257600080fd5b600087013567ffffffffffffffff81111561406c57600080fd5b61407889828a01613d80565b9650965050602087013567ffffffffffffffff81111561409757600080fd5b6140a389828a01613d36565b9450945050604087013567ffffffffffffffff8111156140c257600080fd5b6140ce89828a01613d80565b92509250509295509295509295565b6000602082840312156140ef57600080fd5b60006140fd84828501613dca565b91505092915050565b60006020828403121561411857600080fd5b600061412684828501613ddf565b91505092915050565b60006020828403121561414157600080fd5b600061414f84828501613df4565b91505092915050565b6000806020838503121561416b57600080fd5b600083013567ffffffffffffffff81111561418557600080fd5b61419185828601613e33565b92509250509250929050565b6000602082840312156141af57600080fd5b60006141bd84828501613e7d565b91505092915050565b600080600080606085870312156141dc57600080fd5b60006141ea87828801613e7d565b945050602085013567ffffffffffffffff81111561420757600080fd5b61421387828801613e33565b9350935050604061422687828801613e7d565b91505092959194509250565b6000806040838503121561424557600080fd5b600061425385828601613e7d565b925050602061426485828601613e7d565b9150509250929050565b6142778161512c565b82525050565b6142868161513e565b82525050565b60006142978261502e565b6142a18185615044565b93506142b18185602086016151af565b6142ba8161537b565b840191505092915050565b60006142d082615039565b6142da8185615055565b93506142ea8185602086016151af565b6142f38161537b565b840191505092915050565b600061430982615039565b6143138185615066565b93506143238185602086016151af565b80840191505092915050565b6000815461433c816151e2565b6143468186615055565b945060018216600081146143615760018114614373576143a6565b60ff19831686526020860193506143a6565b61437c85615019565b60005b8381101561439e5781548189015260018201915060208101905061437f565b808801955050505b50505092915050565b600081546143bc816151e2565b6143c68186615066565b945060018216600081146143e157600181146143f257614425565b60ff19831686528186019350614425565b6143fb85615019565b60005b8381101561441d578154818901526001820191506020810190506143fe565b838801955050505b50505092915050565b600061443b600e83615066565b91506144468261538c565b600e82019050919050565b600061445e601a83615055565b9150614469826153b5565b602082019050919050565b6000614481601583615055565b915061448c826153de565b602082019050919050565b60006144a4602b83615055565b91506144af82615407565b604082019050919050565b60006144c7603283615055565b91506144d282615456565b604082019050919050565b60006144ea602683615055565b91506144f5826154a5565b604082019050919050565b600061450d602583615055565b9150614518826154f4565b604082019050919050565b6000614530601c83615055565b915061453b82615543565b602082019050919050565b6000614553601783615055565b915061455e8261556c565b602082019050919050565b6000614576600783615066565b915061458182615595565b600782019050919050565b6000614599601c83615055565b91506145a4826155be565b602082019050919050565b60006145bc602483615055565b91506145c7826155e7565b604082019050919050565b60006145df601983615055565b91506145ea82615636565b602082019050919050565b6000614602601483615055565b915061460d8261565f565b602082019050919050565b6000614625602c83615055565b915061463082615688565b604082019050919050565b6000614648601483615055565b9150614653826156d7565b602082019050919050565b600061466b601b83615055565b915061467682615700565b602082019050919050565b600061468e600f83615055565b915061469982615729565b602082019050919050565b60006146b1603883615055565b91506146bc82615752565b604082019050919050565b60006146d4602a83615055565b91506146df826157a1565b604082019050919050565b60006146f7602983615055565b9150614702826157f0565b604082019050919050565b600061471a601483615055565b91506147258261583f565b602082019050919050565b600061473d600483615055565b915061474882615868565b602082019050919050565b6000614760602083615055565b915061476b82615891565b602082019050919050565b6000614783600183615066565b915061478e826158ba565b600182019050919050565b60006147a6602c83615055565b91506147b1826158e3565b604082019050919050565b60006147c9602083615055565b91506147d482615932565b602082019050919050565b60006147ec601e83615055565b91506147f78261595b565b602082019050919050565b600061480f602b83615055565b915061481a82615984565b604082019050919050565b6000614832602183615055565b915061483d826159d3565b604082019050919050565b6000614855603183615055565b915061486082615a22565b604082019050919050565b6000614878602c83615055565b915061488382615a71565b604082019050919050565b600061489b600183615066565b91506148a682615ac0565b600182019050919050565b60006148be600c83615055565b91506148c982615ae9565b602082019050919050565b60006148e1600c83615066565b91506148ec82615b12565b600c82019050919050565b6000614904601683615055565b915061490f82615b3b565b602082019050919050565b6000614927600183615066565b915061493282615b64565b600182019050919050565b61494681615196565b82525050565b600061495882886143af565b915061496482876142fe565b915061496f8261491a565b915061497b82866142fe565b915061498782856142fe565b915061499382846142fe565b91508190509695505050505050565b60006149ad82614569565b91506149b982866143af565b91506149c4826148d4565b91506149d082856142fe565b91506149db8261442e565b91506149e782846142fe565b91506149f282614776565b9150819050949350505050565b6000614a0a8261488e565b9150614a1682846143af565b915081905092915050565b6000602082019050614a36600083018461426e565b92915050565b6000608082019050614a51600083018761426e565b614a5e602083018661426e565b614a6b604083018561493d565b8181036060830152614a7d818461428c565b905095945050505050565b6000604082019050614a9d600083018561426e565b614aaa602083018461493d565b9392505050565b6000606082019050614ac6600083018661426e565b614ad3602083018561493d565b614ae0604083018461493d565b949350505050565b6000602082019050614afd600083018461427d565b92915050565b60006020820190508181036000830152614b1d81846142c5565b905092915050565b60006020820190508181036000830152614b3e81614451565b9050919050565b60006020820190508181036000830152614b5e81614474565b9050919050565b60006020820190508181036000830152614b7e81614497565b9050919050565b60006020820190508181036000830152614b9e816144ba565b9050919050565b60006020820190508181036000830152614bbe816144dd565b9050919050565b60006020820190508181036000830152614bde81614500565b9050919050565b60006020820190508181036000830152614bfe81614523565b9050919050565b60006020820190508181036000830152614c1e81614546565b9050919050565b60006020820190508181036000830152614c3e8161458c565b9050919050565b60006020820190508181036000830152614c5e816145af565b9050919050565b60006020820190508181036000830152614c7e816145d2565b9050919050565b60006020820190508181036000830152614c9e816145f5565b9050919050565b60006020820190508181036000830152614cbe81614618565b9050919050565b60006020820190508181036000830152614cde8161463b565b9050919050565b60006020820190508181036000830152614cfe8161465e565b9050919050565b60006020820190508181036000830152614d1e81614681565b9050919050565b60006020820190508181036000830152614d3e816146a4565b9050919050565b60006020820190508181036000830152614d5e816146c7565b9050919050565b60006020820190508181036000830152614d7e816146ea565b9050919050565b60006020820190508181036000830152614d9e8161470d565b9050919050565b60006020820190508181036000830152614dbe81614730565b9050919050565b60006020820190508181036000830152614dde81614753565b9050919050565b60006020820190508181036000830152614dfe81614799565b9050919050565b60006020820190508181036000830152614e1e816147bc565b9050919050565b60006020820190508181036000830152614e3e816147df565b9050919050565b60006020820190508181036000830152614e5e81614802565b9050919050565b60006020820190508181036000830152614e7e81614825565b9050919050565b60006020820190508181036000830152614e9e81614848565b9050919050565b60006020820190508181036000830152614ebe8161486b565b9050919050565b60006020820190508181036000830152614ede816148b1565b9050919050565b60006020820190508181036000830152614efe816148f7565b9050919050565b6000602082019050614f1a600083018461493d565b92915050565b6000608082019050614f35600083018761493d565b614f42602083018661493d565b8181036040830152614f54818561432f565b9050614f63606083018461493d565b95945050505050565b60008083356001602003843603038112614f8557600080fd5b80840192508235915067ffffffffffffffff821115614fa357600080fd5b602083019250600182023603831315614fbb57600080fd5b509250929050565b6000614fcd614fde565b9050614fd98282615214565b919050565b6000604051905090565b600067ffffffffffffffff8211156150035761500261534c565b5b61500c8261537b565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061507c82615196565b915061508783615196565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150bc576150bb6152bf565b5b828201905092915050565b60006150d282615196565b91506150dd83615196565b9250826150ed576150ec6152ee565b5b828204905092915050565b600061510382615196565b915061510e83615196565b925082821015615121576151206152bf565b5b828203905092915050565b600061513782615176565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156151cd5780820151818401526020810190506151b2565b838111156151dc576000848401525b50505050565b600060028204905060018216806151fa57607f821691505b6020821081141561520e5761520d61531d565b5b50919050565b61521d8261537b565b810181811067ffffffffffffffff8211171561523c5761523b61534c565b5b80604052505050565b600061525082615196565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615283576152826152bf565b5b600182019050919050565b600061529982615196565b91506152a483615196565b9250826152b4576152b36152ee565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f2c2070726576486f6c6465723a20000000000000000000000000000000000000600082015250565b7f4e6f7420656e6f75676820617661696c61626c65206672656e73000000000000600082015250565b7f416c6c204672656e73204d696e746564204672656e0000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6f206672656e7320617661696c61626c65206672656e000000000000000000600082015250565b7f7b747970653a2000000000000000000000000000000000000000000000000000600082015250565b7f54686174206672656e20646f65736e2774206578697374206672656e00000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f596f7520676f74206e6f7468696e2c206672656e000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f50756666207075666620676976652c206672656e000000000000000000000000600082015250565b7f4672656e20616c726561647920686173206120736d6f6b61626c650000000000600082015250565b7f4e6f7420796f7572732c206672656e0000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f536861726520746865206c6f76652c206672656e000000000000000000000000600082015250565b7f5768757400000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f50726f76656e616e636520697320616c726561647920736574206672656e0000600082015250565b7f54686174206672656e20616c726561647920686173207468652062696767657360008201527f742068656164206672656e000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f2d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f546f6f20626967206672656e0000000000000000000000000000000000000000600082015250565b7f2c20737472656e6774683a200000000000000000000000000000000000000000600082015250565b7f4e6f7420617661696c61626c6520796574206672656e00000000000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b615b968161512c565b8114615ba157600080fd5b50565b615bad8161513e565b8114615bb857600080fd5b50565b615bc48161514a565b8114615bcf57600080fd5b50565b615bdb81615196565b8114615be657600080fd5b5056fea2646970667358221220fa511401592be618905db7da9579581ab1e07949eaa8b27c00e7fc8b7a0314c464736f6c63430008010033

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

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