ETH Price: $2,440.64 (-0.04%)
 

Overview

Max Total Supply

11,600 HABBO

Holders

4,257

Market

Volume (24H)

0.3519 ETH

Min Price (24H)

$346.45 @ 0.141949 ETH

Max Price (24H)

$512.53 @ 0.210000 ETH
Balance
0 HABBO
0x46144ad70b8e9eb9b12d64ce6aa07c244da92440
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Habbo Avatars is the first official NFT collection for Habbo made by Sulake. It consists of 11,600 unique, automatically generated, pixelated avatars that are manually curated by the Habbo art team. The avatars are NFTs and exist on the Ethereum blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
AvatarToken

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : AvatarToken.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract AvatarToken is ERC721URIStorage, ERC721Enumerable, Ownable, ERC721Pausable {
  using Counters for Counters.Counter;
  using Strings for uint256;

  Counters.Counter private _tokenIds;

  // ID for ERC-2981 Royalty fee standard
  bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;

  // File extension for metadata file
  string constant Extension = ".json";

  uint96 constant DefaultRoyaltyPercent = 250;

  // The base domain for the tokenURI
  string private _baseTokenURI;

  // Limit the number of tokens able to mint
  uint private _tokenLimit;

  // Limit the number of tokens user can buy in a transaction
  uint private _purchaseLimit;

  // initial Price in Ether for each token
  uint private _price;

  // Royalty percentage fee
  uint96 private _royaltyPercent;

  enum PricingMode { FIXED, TIMEDROP }

  /**
   * 1 is presale
   * 2 is public
   */
  PricingMode private _pricingMode;

  /* The time the pricing mode is changed to timedrop */
  uint private _timeDropAt;
  uint private _dropDuration;
  uint private _dropPrice;
  uint private _floorPrice;
  uint private _dropOffset;

  /* The time the contract is created */
  uint private _createdAt;

  /* Presale and whitelist addresses */
  bool private _presale;
  mapping(address => bool) private _whitelist;
  address[] private _whitelistAddresses;

  /**
   * name: the token's name
   * price: the price (in Wei) for each token purchase
   * baseTokenURI: the base domain for each token URI
   * tokenLimit: the maximum number of tokens can be minted
   */
  constructor(string memory name, string memory token, string memory baseTokenURI, uint tokenLimit) ERC721(name, token) {
    _baseTokenURI = baseTokenURI;
    _tokenLimit = tokenLimit;
    _purchaseLimit = 20;
    _royaltyPercent = DefaultRoyaltyPercent;
    _pricingMode = PricingMode.FIXED;

    // Price & Drop price initial parameters
    _price = 0.1 ether;
    _createdAt = block.timestamp;
    _dropDuration = 12 hours;
    _dropOffset = 24 hours;
    _dropPrice = 0.01 ether;
    _floorPrice = 0.01 ether;

    // presale
    _presale = true;
    _whitelist[msg.sender] = true;
  }

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

  function _mintTokensToAddr(uint amount, address receiver) internal {
    while (amount > 0) {
      amount--;
      _tokenIds.increment();

      uint256 newTokenId = _tokenIds.current();

      _safeMint(receiver, newTokenId);
      _setTokenURI(newTokenId, string(abi.encodePacked(newTokenId.toString(), Extension)));
    }
  }

  // Purchase and mint amount of tokens to message sender
  function purchaseToken(uint tokens) public payable {
    require(!paused(), "Token mint while paused");
    require(tokens <= _purchaseLimit, "Tokens purchase exceeds limit");
    require(totalSupply() + tokens <= _tokenLimit, "Token limit exceeded");
    require(getPrice() * tokens <= msg.value, "Invalid ETH amount");

    if (_presale) {
      require(_whitelist[msg.sender], "Wallet address is not allowed");
    }

    _mintTokensToAddr(tokens, msg.sender);
  }

  // Mint an amount of tokens for free to an address `to`
  function mintTokens(uint tokens, address to) public onlyOwner {
    require(totalSupply() + tokens <= _tokenLimit, "Token limit exceeded");

    _mintTokensToAddr(tokens, to);
  }

  // Increase the token's limit
  function increaseLimit(uint limit) public onlyOwner {
    _tokenLimit += limit;
  }

  // Set the token's limit
  function setLimit(uint limit) public onlyOwner {
    _tokenLimit = limit;
  }

  // Set the purchase limit
  function setPurchaseLimit(uint limit) public onlyOwner {
    _purchaseLimit = limit;
  }

  // Update the base URI for token
  function updateBaseTokenURI(string memory baseTokenURI) public onlyOwner {
    _baseTokenURI = baseTokenURI;
  }

  // Update the royalty fee
  function updateRoyaltyPercent(uint96 royaltyPercent) public onlyOwner {
    _royaltyPercent = royaltyPercent;
  }

  function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Pausable, ERC721Enumerable) {
    super._beforeTokenTransfer(from, to, tokenId);
  }

  function tokenURI(uint256 tokenId) public view virtual override(ERC721, ERC721URIStorage) returns (string memory) {
    return super.tokenURI(tokenId);
  }

  function _burn(uint256 tokenId) internal virtual override(ERC721, ERC721URIStorage) {
    super._burn(tokenId);
  }

  // ERC-2981 interface method
  function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount) {
    // all tokens have the same royalty fee
    tokenId = tokenId;
    return (owner(), (salePrice * _royaltyPercent) / 10000);
  }

  function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) {
    if (interfaceId == _INTERFACE_ID_ERC2981) {
      return true;
    }

    return super.supportsInterface(interfaceId);
  }

  // Get the current token mint price
  function getPrice() public view returns (uint) {
    if (_pricingMode == PricingMode.TIMEDROP && _timeDropAt > 0) {
      return _calcPrice(block.timestamp);
    }

    return _price;
  }

  // calculate the price at timeAt (only for TimeDrop mode)
  function _calcPrice(uint timeAt) internal view returns (uint) {
    // calculate the price based on the elapsed time
    if (timeAt > _timeDropAt + _dropOffset) {
      uint intervals = (timeAt - _dropOffset - _timeDropAt) / _dropDuration;
      uint dropBy = intervals * _dropPrice;

      return _price > _floorPrice + dropBy ? _price - dropBy : _floorPrice;
    }

    return _price;
  }

  // Get the drop price at (only used in testing)
  function _getDropPriceAt(uint timeAt) public view onlyOwner returns (uint) {
    return _calcPrice(timeAt);
  }

  // Get the pricing mode, only owner
  function _getPricingData() public view onlyOwner returns (uint[5] memory) {
    return [ uint(_pricingMode), _dropDuration, _dropOffset, _dropPrice, _floorPrice ];
  }

  // Set the pricing mode, only owner
  function setPricing(uint8 mode, uint price, uint duration, uint dropOffset, uint dropPrice, uint floorPrice) public onlyOwner {
    _pricingMode = PricingMode(mode);
    _price = price;

    if (_pricingMode == PricingMode.TIMEDROP) {
      _timeDropAt = block.timestamp;
      _dropDuration = duration;
      _dropOffset = dropOffset;
      _dropPrice = dropPrice;
      _floorPrice = floorPrice;
    }
  }

  function setSalePublic() public onlyOwner {
    _presale = false;
  }

  function setPresale() public onlyOwner {
    _presale = true;
  }

  function isPresale() public view returns (bool) {
    return _presale;
  }

  function addAddress(address addr) public onlyOwner {
    _whitelist[addr] = true;
    _whitelistAddresses.push(addr);
  }

  function removeAddress(address addr) public onlyOwner {
    _whitelist[addr] = false;
  }

  function getWhitelistAddresses() public view onlyOwner returns (address[] memory) {
    uint j = 0;
    uint len = _whitelistAddresses.length;

    for (uint i = 0; i < _whitelistAddresses.length; i++) {
      address addr = _whitelistAddresses[i];

      if (!_whitelist[addr]) {
        len--;
      }
    }

    address[] memory addresses = new address[](len);
    for (uint i = 0; i < _whitelistAddresses.length; i++) {
      address addr = _whitelistAddresses[i];

      if (_whitelist[addr]) {
        addresses[j++] = addr;
      }
    }

    return addresses;
  }

  // Withdraw all money to sender's account, only owner can call this
  function withdrawMoney() public onlyOwner {
    address payable to = payable(msg.sender);
    to.transfer(address(this).balance);
  }

  // Get the current royalty fee
  function getRoyaltyPercent() public view onlyOwner returns (uint) {
    return _royaltyPercent;
  }

  // Get the current token limit
  function getLimit() public view returns (uint) {
    return _tokenLimit;
  }

  // Get the purchase limit
  function getPurchaseLimit() public view returns (uint) {
    return _purchaseLimit;
  }

  // Return the list of tokenIds of an owner
  function tokensOfOwner(address owner) external view returns (uint256[] memory) {
    uint size = balanceOf(owner);
    uint[] memory tokens = new uint[](size);

    for (uint i = 0; i < size; i++) {
      tokens[i] = tokenOfOwnerByIndex(owner, i);
    }

    return tokens;
  }

  // Pause the contract
  function setPaused(bool pause) public onlyOwner {
    if (pause && !paused()) {
      _pause();
    }

    if (!pause && paused()) {
      _unpause();
    }
  }

  // Destroy the smart contract and transfer fund to owner
  function destroySmartContract() public onlyOwner {
    selfdestruct(payable(msg.sender));
  }
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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 8 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

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

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        require(!paused(), "ERC721Pausable: token transfer while paused");
    }
}

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"token","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"uint256","name":"tokenLimit","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint256","name":"timeAt","type":"uint256"}],"name":"_getDropPriceAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_getPricingData","outputs":[{"internalType":"uint256[5]","name":"","type":"uint256[5]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"addAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"destroySmartContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPurchaseLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRoyaltyPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelistAddresses","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"increaseLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"mintTokens","outputs":[],"stateMutability":"nonpayable","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"purchaseToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"removeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":"uint256","name":"limit","type":"uint256"}],"name":"setLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"pause","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"mode","type":"uint8"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"dropOffset","type":"uint256"},{"internalType":"uint256","name":"dropPrice","type":"uint256"},{"internalType":"uint256","name":"floorPrice","type":"uint256"}],"name":"setPricing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"setPurchaseLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setSalePublic","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":"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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"}],"name":"updateBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"royaltyPercent","type":"uint96"}],"name":"updateRoyaltyPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200639d3803806200639d833981810160405281019062000037919062000405565b8383816000908051906020019062000051929190620002c0565b5080600190805190602001906200006a929190620002c0565b5050506200008d62000081620001f260201b60201c565b620001fa60201b60201c565b6000600b60146101000a81548160ff02191690831515021790555081600d9080519060200190620000c0929190620002c0565b5080600e819055506014600f8190555060fa601160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555060006011600c6101000a81548160ff021916908360018111156200012b576200012a620005df565b5b021790555067016345785d8a00006010819055504260178190555061a8c060138190555062015180601681905550662386f26fc10000601481905550662386f26fc100006015819055506001601860006101000a81548160ff0219169083151502179055506001601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050620006ab565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002ce9062000573565b90600052602060002090601f016020900481019282620002f257600085556200033e565b82601f106200030d57805160ff19168380011785556200033e565b828001600101855582156200033e579182015b828111156200033d57825182559160200191906001019062000320565b5b5090506200034d919062000351565b5090565b5b808211156200036c57600081600090555060010162000352565b5090565b6000620003876200038184620004fd565b620004d4565b905082815260208101848484011115620003a657620003a562000671565b5b620003b38482856200053d565b509392505050565b600082601f830112620003d357620003d26200066c565b5b8151620003e584826020860162000370565b91505092915050565b600081519050620003ff8162000691565b92915050565b600080600080608085870312156200042257620004216200067b565b5b600085015167ffffffffffffffff81111562000443576200044262000676565b5b6200045187828801620003bb565b945050602085015167ffffffffffffffff81111562000475576200047462000676565b5b6200048387828801620003bb565b935050604085015167ffffffffffffffff811115620004a757620004a662000676565b5b620004b587828801620003bb565b9250506060620004c887828801620003ee565b91505092959194509250565b6000620004e0620004f3565b9050620004ee8282620005a9565b919050565b6000604051905090565b600067ffffffffffffffff8211156200051b576200051a6200063d565b5b620005268262000680565b9050602081019050919050565b6000819050919050565b60005b838110156200055d57808201518184015260208101905062000540565b838111156200056d576000848401525b50505050565b600060028204905060018216806200058c57607f821691505b60208210811415620005a357620005a26200060e565b5b50919050565b620005b48262000680565b810181811067ffffffffffffffff82111715620005d657620005d56200063d565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200069c8162000533565b8114620006a857600080fd5b50565b615ce280620006bb6000396000f3fe6080604052600436106102725760003560e01c806362adec701161014f57806395364a84116100c1578063b88d4fde1161007a578063b88d4fde1461093b578063c2db2c4214610964578063c87b56dd14610980578063dcc40744146109bd578063e985e9c5146109d4578063f2fde38b14610a1157610272565b806395364a841461084f57806395d89b411461087a57806398d5fdca146108a5578063a22cb465146108d0578063ac446002146108f9578063b295a00e1461091057610272565b806370a082311161011357806370a082311461073f578063715018a61461077c5780638462151c1461079357806384edc116146107d0578063854747281461080d5780638da5cb5b1461082457610272565b806362adec701461065c5780636352211e14610687578063655391c9146106c45780636c5d24c4146106ed5780636edc43881461071657610272565b806327ea6f2b116101e857806342842e0e116101ac57806342842e0e1461054c5780634ba79dfe146105755780634f6ccce71461059e578063578cbd1f146105db5780635c81c157146106065780635c975abb1461063157610272565b806327ea6f2b146104565780632a55205a1461047f5780632f745c59146104bd57806332bf5794146104fa57806338eada1c1461052357610272565b80630adde4871161023a5780630adde4871461036e57806310c5b3281461039957806316c38b3c146103c257806318160ddd146103eb578063199511d11461041657806323b872dd1461042d57610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c5780630aa2871414610345575b600080fd5b34801561028357600080fd5b5061029e60048036038101906102999190614258565b610a3a565b6040516102ab9190614b7a565b60405180910390f35b3480156102c057600080fd5b506102c9610aa3565b6040516102d69190614b95565b60405180910390f35b3480156102eb57600080fd5b50610306600480360381019061030191906142fb565b610b35565b6040516103139190614a8b565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e91906141eb565b610bba565b005b34801561035157600080fd5b5061036c600480360381019061036791906142fb565b610cd2565b005b34801561037a57600080fd5b50610383610d6a565b6040516103909190614f37565b60405180910390f35b3480156103a557600080fd5b506103c060048036038101906103bb9190614328565b610d74565b005b3480156103ce57600080fd5b506103e960048036038101906103e4919061422b565b610e55565b005b3480156103f757600080fd5b50610400610f14565b60405161040d9190614f37565b60405180910390f35b34801561042257600080fd5b5061042b610f21565b005b34801561043957600080fd5b50610454600480360381019061044f91906140d5565b610fba565b005b34801561046257600080fd5b5061047d600480360381019061047891906142fb565b61101a565b005b34801561048b57600080fd5b506104a660048036038101906104a19190614368565b6110a0565b6040516104b4929190614af2565b60405180910390f35b3480156104c957600080fd5b506104e460048036038101906104df91906141eb565b6110f7565b6040516104f19190614f37565b60405180910390f35b34801561050657600080fd5b50610521600480360381019061051c91906143a8565b61119c565b005b34801561052f57600080fd5b5061054a60048036038101906105459190614068565b6112c5565b005b34801561055857600080fd5b50610573600480360381019061056e91906140d5565b6113ff565b005b34801561058157600080fd5b5061059c60048036038101906105979190614068565b61141f565b005b3480156105aa57600080fd5b506105c560048036038101906105c091906142fb565b6114f6565b6040516105d29190614f37565b60405180910390f35b3480156105e757600080fd5b506105f0611567565b6040516105fd9190614b1b565b60405180910390f35b34801561061257600080fd5b5061061b611823565b6040516106289190614b3d565b60405180910390f35b34801561063d57600080fd5b506106466118fc565b6040516106539190614b7a565b60405180910390f35b34801561066857600080fd5b50610671611913565b60405161067e9190614f37565b60405180910390f35b34801561069357600080fd5b506106ae60048036038101906106a991906142fb565b6119bf565b6040516106bb9190614a8b565b60405180910390f35b3480156106d057600080fd5b506106eb60048036038101906106e691906142b2565b611a71565b005b3480156106f957600080fd5b50610714600480360381019061070f9190614435565b611b07565b005b34801561072257600080fd5b5061073d600480360381019061073891906142fb565b611bb7565b005b34801561074b57600080fd5b5061076660048036038101906107619190614068565b611c3d565b6040516107739190614f37565b60405180910390f35b34801561078857600080fd5b50610791611cf5565b005b34801561079f57600080fd5b506107ba60048036038101906107b59190614068565b611d7d565b6040516107c79190614b58565b60405180910390f35b3480156107dc57600080fd5b506107f760048036038101906107f291906142fb565b611e2b565b6040516108049190614f37565b60405180910390f35b34801561081957600080fd5b50610822611eb9565b005b34801561083057600080fd5b50610839611f4e565b6040516108469190614a8b565b60405180910390f35b34801561085b57600080fd5b50610864611f78565b6040516108719190614b7a565b60405180910390f35b34801561088657600080fd5b5061088f611f8f565b60405161089c9190614b95565b60405180910390f35b3480156108b157600080fd5b506108ba612021565b6040516108c79190614f37565b60405180910390f35b3480156108dc57600080fd5b506108f760048036038101906108f291906141ab565b612085565b005b34801561090557600080fd5b5061090e612206565b005b34801561091c57600080fd5b506109256122d1565b6040516109329190614f37565b60405180910390f35b34801561094757600080fd5b50610962600480360381019061095d9190614128565b6122db565b005b61097e600480360381019061097991906142fb565b61233d565b005b34801561098c57600080fd5b506109a760048036038101906109a291906142fb565b612525565b6040516109b49190614b95565b60405180910390f35b3480156109c957600080fd5b506109d2612537565b005b3480156109e057600080fd5b506109fb60048036038101906109f69190614095565b6125d0565b604051610a089190614b7a565b60405180910390f35b348015610a1d57600080fd5b50610a386004803603810190610a339190614068565b612664565b005b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610a925760019050610a9e565b610a9b8261275c565b90505b919050565b606060008054610ab2906152d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ade906152d5565b8015610b2b5780601f10610b0057610100808354040283529160200191610b2b565b820191906000526020600020905b815481529060010190602001808311610b0e57829003601f168201915b5050505050905090565b6000610b40826127d6565b610b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7690614e17565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bc5826119bf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2d90614e97565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c55612842565b73ffffffffffffffffffffffffffffffffffffffff161480610c845750610c8381610c7e612842565b6125d0565b5b610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba90614d37565b60405180910390fd5b610ccd838361284a565b505050565b610cda612842565b73ffffffffffffffffffffffffffffffffffffffff16610cf8611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614610d4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4590614e37565b60405180910390fd5b80600e6000828254610d6091906150bb565b9250508190555050565b6000600f54905090565b610d7c612842565b73ffffffffffffffffffffffffffffffffffffffff16610d9a611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de790614e37565b60405180910390fd5b600e5482610dfc610f14565b610e0691906150bb565b1115610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e90614ef7565b60405180910390fd5b610e518282612903565b5050565b610e5d612842565b73ffffffffffffffffffffffffffffffffffffffff16610e7b611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614610ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec890614e37565b60405180910390fd5b808015610ee35750610ee16118fc565b155b15610ef157610ef06129af565b5b80158015610f035750610f026118fc565b5b15610f1157610f10612a52565b5b50565b6000600980549050905090565b610f29612842565b73ffffffffffffffffffffffffffffffffffffffff16610f47611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614610f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9490614e37565b60405180910390fd5b6000601860006101000a81548160ff021916908315150217905550565b610fcb610fc5612842565b82612af4565b61100a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100190614eb7565b60405180910390fd5b611015838383612bd2565b505050565b611022612842565b73ffffffffffffffffffffffffffffffffffffffff16611040611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108d90614e37565b60405180910390fd5b80600e8190555050565b6000806110ab611f4e565b612710601160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16856110e29190615142565b6110ec9190615111565b915091509250929050565b600061110283611c3d565b8210611143576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113a90614bf7565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6111a4612842565b73ffffffffffffffffffffffffffffffffffffffff166111c2611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120f90614e37565b60405180910390fd5b8560ff16600181111561122e5761122d615410565b5b6011600c6101000a81548160ff0219169083600181111561125257611251615410565b5b02179055508460108190555060018081111561127157611270615410565b5b6011600c9054906101000a900460ff16600181111561129357611292615410565b5b14156112bd5742601281905550836013819055508260168190555081601481905550806015819055505b505050505050565b6112cd612842565b73ffffffffffffffffffffffffffffffffffffffff166112eb611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611341576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133890614e37565b60405180910390fd5b6001601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550601a819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61141a838383604051806020016040528060008152506122db565b505050565b611427612842565b73ffffffffffffffffffffffffffffffffffffffff16611445611f4e565b73ffffffffffffffffffffffffffffffffffffffff161461149b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149290614e37565b60405180910390fd5b6000601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000611500610f14565b8210611541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153890614ed7565b60405180910390fd5b600982815481106115555761155461549d565b5b90600052602060002001549050919050565b6060611571612842565b73ffffffffffffffffffffffffffffffffffffffff1661158f611f4e565b73ffffffffffffffffffffffffffffffffffffffff16146115e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dc90614e37565b60405180910390fd5b600080601a80549050905060005b601a805490508110156116b7576000601a82815481106116165761161561549d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050601960008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166116a357828061169f906152ab565b9350505b5080806116af90615338565b9150506115f3565b5060008167ffffffffffffffff8111156116d4576116d36154cc565b5b6040519080825280602002602001820160405280156117025781602001602082028036833780820191505090505b50905060005b601a80549050811015611819576000601a828154811061172b5761172a61549d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050601960008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561180557808386806117b790615338565b9750815181106117ca576117c961549d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b50808061181190615338565b915050611708565b5080935050505090565b61182b613e30565b611833612842565b73ffffffffffffffffffffffffffffffffffffffff16611851611f4e565b73ffffffffffffffffffffffffffffffffffffffff16146118a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189e90614e37565b60405180910390fd5b6040518060a001604052806011600c9054906101000a900460ff1660018111156118d4576118d3615410565b5b8152602001601354815260200160165481526020016014548152602001601554815250905090565b6000600b60149054906101000a900460ff16905090565b600061191d612842565b73ffffffffffffffffffffffffffffffffffffffff1661193b611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198890614e37565b60405180910390fd5b601160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5f90614d77565b60405180910390fd5b80915050919050565b611a79612842565b73ffffffffffffffffffffffffffffffffffffffff16611a97611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae490614e37565b60405180910390fd5b80600d9080519060200190611b03929190613e52565b5050565b611b0f612842565b73ffffffffffffffffffffffffffffffffffffffff16611b2d611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7a90614e37565b60405180910390fd5b80601160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555050565b611bbf612842565b73ffffffffffffffffffffffffffffffffffffffff16611bdd611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2a90614e37565b60405180910390fd5b80600f8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca590614d57565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611cfd612842565b73ffffffffffffffffffffffffffffffffffffffff16611d1b611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6890614e37565b60405180910390fd5b611d7b6000612e2e565b565b60606000611d8a83611c3d565b905060008167ffffffffffffffff811115611da857611da76154cc565b5b604051908082528060200260200182016040528015611dd65781602001602082028036833780820191505090505b50905060005b82811015611e2057611dee85826110f7565b828281518110611e0157611e0061549d565b5b6020026020010181815250508080611e1890615338565b915050611ddc565b508092505050919050565b6000611e35612842565b73ffffffffffffffffffffffffffffffffffffffff16611e53611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611ea9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea090614e37565b60405180910390fd5b611eb282612ef4565b9050919050565b611ec1612842565b73ffffffffffffffffffffffffffffffffffffffff16611edf611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2c90614e37565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16ff5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000601860009054906101000a900460ff16905090565b606060018054611f9e906152d5565b80601f0160208091040260200160405190810160405280929190818152602001828054611fca906152d5565b80156120175780601f10611fec57610100808354040283529160200191612017565b820191906000526020600020905b815481529060010190602001808311611ffa57829003601f168201915b5050505050905090565b600060018081111561203657612035615410565b5b6011600c9054906101000a900460ff16600181111561205857612057615410565b5b14801561206757506000601254115b1561207c5761207542612ef4565b9050612082565b60105490505b90565b61208d612842565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f290614c97565b60405180910390fd5b8060056000612108612842565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166121b5612842565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121fa9190614b7a565b60405180910390a35050565b61220e612842565b73ffffffffffffffffffffffffffffffffffffffff1661222c611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614612282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227990614e37565b60405180910390fd5b60003390508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156122cd573d6000803e3d6000fd5b5050565b6000600e54905090565b6122ec6122e6612842565b83612af4565b61232b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232290614eb7565b60405180910390fd5b61233784848484612f8c565b50505050565b6123456118fc565b15612385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237c90614f17565b60405180910390fd5b600f548111156123ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c190614cb7565b60405180910390fd5b600e54816123d6610f14565b6123e091906150bb565b1115612421576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241890614ef7565b60405180910390fd5b348161242b612021565b6124359190615142565b1115612476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246d90614db7565b60405180910390fd5b601860009054906101000a900460ff161561251857601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250e90614cd7565b60405180910390fd5b5b6125228133612903565b50565b606061253082612fe8565b9050919050565b61253f612842565b73ffffffffffffffffffffffffffffffffffffffff1661255d611f4e565b73ffffffffffffffffffffffffffffffffffffffff16146125b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125aa90614e37565b60405180910390fd5b6001601860006101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61266c612842565b73ffffffffffffffffffffffffffffffffffffffff1661268a611f4e565b73ffffffffffffffffffffffffffffffffffffffff16146126e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d790614e37565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612750576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274790614c37565b60405180910390fd5b61275981612e2e565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127cf57506127ce8261313a565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128bd836119bf565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5b60008211156129ab578180612918906152ab565b925050612925600c61321c565b6000612931600c613232565b905061293d8282613240565b6129a58161294a8361325e565b6040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250604051602001612991929190614a67565b6040516020818303038152906040526133bf565b50612904565b5050565b6129b76118fc565b156129f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ee90614d17565b60405180910390fd5b6001600b60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612a3b612842565b604051612a489190614a8b565b60405180910390a1565b612a5a6118fc565b612a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9090614bd7565b60405180910390fd5b6000600b60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612add612842565b604051612aea9190614a8b565b60405180910390a1565b6000612aff826127d6565b612b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3590614cf7565b60405180910390fd5b6000612b49836119bf565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612bb857508373ffffffffffffffffffffffffffffffffffffffff16612ba084610b35565b73ffffffffffffffffffffffffffffffffffffffff16145b80612bc95750612bc881856125d0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612bf2826119bf565b73ffffffffffffffffffffffffffffffffffffffff1614612c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3f90614e57565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612caf90614c77565b60405180910390fd5b612cc3838383613433565b612cce60008261284a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d1e919061519c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d7591906150bb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000601654601254612f0691906150bb565b821115612f8157600060135460125460165485612f23919061519c565b612f2d919061519c565b612f379190615111565b9050600060145482612f499190615142565b905080601554612f5991906150bb565b60105411612f6957601554612f78565b80601054612f77919061519c565b5b92505050612f87565b60105490505b919050565b612f97848484612bd2565b612fa384848484613443565b612fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd990614c17565b60405180910390fd5b50505050565b6060612ff3826127d6565b613032576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302990614df7565b60405180910390fd5b6000600660008481526020019081526020016000208054613052906152d5565b80601f016020809104026020016040519081016040528092919081815260200182805461307e906152d5565b80156130cb5780601f106130a0576101008083540402835291602001916130cb565b820191906000526020600020905b8154815290600101906020018083116130ae57829003601f168201915b5050505050905060006130dc6135da565b90506000815114156130f2578192505050613135565b60008251111561312757808260405160200161310f929190614a67565b60405160208183030381529060405292505050613135565b6131308461366c565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061320557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613215575061321482613713565b5b9050919050565b6001816000016000828254019250508190555050565b600081600001549050919050565b61325a82826040518060200160405280600081525061377d565b5050565b606060008214156132a6576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506133ba565b600082905060005b600082146132d85780806132c190615338565b915050600a826132d19190615111565b91506132ae565b60008167ffffffffffffffff8111156132f4576132f36154cc565b5b6040519080825280601f01601f1916602001820160405280156133265781602001600182028036833780820191505090505b5090505b600085146133b35760018261333f919061519c565b9150600a8561334e9190615381565b603061335a91906150bb565b60f81b8183815181106133705761336f61549d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856133ac9190615111565b945061332a565b8093505050505b919050565b6133c8826127d6565b613407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133fe90614d97565b60405180910390fd5b8060066000848152602001908152602001600020908051906020019061342e929190613e52565b505050565b61343e8383836137d8565b505050565b60006134648473ffffffffffffffffffffffffffffffffffffffff16613830565b156135cd578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261348d612842565b8786866040518563ffffffff1660e01b81526004016134af9493929190614aa6565b602060405180830381600087803b1580156134c957600080fd5b505af19250505080156134fa57506040513d601f19601f820116820180604052508101906134f79190614285565b60015b61357d573d806000811461352a576040519150601f19603f3d011682016040523d82523d6000602084013e61352f565b606091505b50600081511415613575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356c90614c17565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135d2565b600190505b949350505050565b6060600d80546135e9906152d5565b80601f0160208091040260200160405190810160405280929190818152602001828054613615906152d5565b80156136625780601f1061363757610100808354040283529160200191613662565b820191906000526020600020905b81548152906001019060200180831161364557829003601f168201915b5050505050905090565b6060613677826127d6565b6136b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136ad90614e77565b60405180910390fd5b60006136c06135da565b905060008151116136e0576040518060200160405280600081525061370b565b806136ea8461325e565b6040516020016136fb929190614a67565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6137878383613843565b6137946000848484613443565b6137d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ca90614c17565b60405180910390fd5b505050565b6137e3838383613a11565b6137eb6118fc565b1561382b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161382290614bb7565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138aa90614dd7565b60405180910390fd5b6138bc816127d6565b156138fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138f390614c57565b60405180910390fd5b61390860008383613433565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461395891906150bb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613a1c838383613b25565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613a5f57613a5a81613b2a565b613a9e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613a9d57613a9c8382613b73565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613ae157613adc81613ce0565b613b20565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613b1f57613b1e8282613db1565b5b5b505050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613b8084611c3d565b613b8a919061519c565b9050600060086000848152602001908152602001600020549050818114613c6f576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613cf4919061519c565b90506000600a6000848152602001908152602001600020549050600060098381548110613d2457613d2361549d565b5b906000526020600020015490508060098381548110613d4657613d4561549d565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613d9557613d9461546e565b5b6001900381819060005260206000200160009055905550505050565b6000613dbc83611c3d565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b6040518060a00160405280600590602082028036833780820191505090505090565b828054613e5e906152d5565b90600052602060002090601f016020900481019282613e805760008555613ec7565b82601f10613e9957805160ff1916838001178555613ec7565b82800160010185558215613ec7579182015b82811115613ec6578251825591602001919060010190613eab565b5b509050613ed49190613ed8565b5090565b5b80821115613ef1576000816000905550600101613ed9565b5090565b6000613f08613f0384614f77565b614f52565b905082815260208101848484011115613f2457613f23615500565b5b613f2f848285615269565b509392505050565b6000613f4a613f4584614fa8565b614f52565b905082815260208101848484011115613f6657613f65615500565b5b613f71848285615269565b509392505050565b600081359050613f8881615c22565b92915050565b600081359050613f9d81615c39565b92915050565b600081359050613fb281615c50565b92915050565b600081519050613fc781615c50565b92915050565b600082601f830112613fe257613fe16154fb565b5b8135613ff2848260208601613ef5565b91505092915050565b600082601f8301126140105761400f6154fb565b5b8135614020848260208601613f37565b91505092915050565b60008135905061403881615c67565b92915050565b60008135905061404d81615c7e565b92915050565b60008135905061406281615c95565b92915050565b60006020828403121561407e5761407d61550a565b5b600061408c84828501613f79565b91505092915050565b600080604083850312156140ac576140ab61550a565b5b60006140ba85828601613f79565b92505060206140cb85828601613f79565b9150509250929050565b6000806000606084860312156140ee576140ed61550a565b5b60006140fc86828701613f79565b935050602061410d86828701613f79565b925050604061411e86828701614029565b9150509250925092565b600080600080608085870312156141425761414161550a565b5b600061415087828801613f79565b945050602061416187828801613f79565b935050604061417287828801614029565b925050606085013567ffffffffffffffff81111561419357614192615505565b5b61419f87828801613fcd565b91505092959194509250565b600080604083850312156141c2576141c161550a565b5b60006141d085828601613f79565b92505060206141e185828601613f8e565b9150509250929050565b600080604083850312156142025761420161550a565b5b600061421085828601613f79565b925050602061422185828601614029565b9150509250929050565b6000602082840312156142415761424061550a565b5b600061424f84828501613f8e565b91505092915050565b60006020828403121561426e5761426d61550a565b5b600061427c84828501613fa3565b91505092915050565b60006020828403121561429b5761429a61550a565b5b60006142a984828501613fb8565b91505092915050565b6000602082840312156142c8576142c761550a565b5b600082013567ffffffffffffffff8111156142e6576142e5615505565b5b6142f284828501613ffb565b91505092915050565b6000602082840312156143115761431061550a565b5b600061431f84828501614029565b91505092915050565b6000806040838503121561433f5761433e61550a565b5b600061434d85828601614029565b925050602061435e85828601613f79565b9150509250929050565b6000806040838503121561437f5761437e61550a565b5b600061438d85828601614029565b925050602061439e85828601614029565b9150509250929050565b60008060008060008060c087890312156143c5576143c461550a565b5b60006143d389828a0161403e565b96505060206143e489828a01614029565b95505060406143f589828a01614029565b945050606061440689828a01614029565b935050608061441789828a01614029565b92505060a061442889828a01614029565b9150509295509295509295565b60006020828403121561444b5761444a61550a565b5b600061445984828501614053565b91505092915050565b600061446e8383614492565b60208301905092915050565b60006144868383614a49565b60208301905092915050565b61449b816151d0565b82525050565b6144aa816151d0565b82525050565b60006144bb82615003565b6144c58185615061565b93506144d083614fd9565b8060005b838110156145015781516144e88882614462565b97506144f38361503a565b9250506001810190506144d4565b5085935050505092915050565b6145178161500e565b6145218184615072565b925061452c82614fe9565b8060005b8381101561455d578151614544878261447a565b965061454f83615047565b925050600181019050614530565b505050505050565b600061457082615019565b61457a818561507d565b935061458583614ff3565b8060005b838110156145b657815161459d888261447a565b97506145a883615054565b925050600181019050614589565b5085935050505092915050565b6145cc816151e2565b82525050565b60006145dd82615024565b6145e7818561508e565b93506145f7818560208601615278565b6146008161550f565b840191505092915050565b60006146168261502f565b614620818561509f565b9350614630818560208601615278565b6146398161550f565b840191505092915050565b600061464f8261502f565b61465981856150b0565b9350614669818560208601615278565b80840191505092915050565b6000614682602b8361509f565b915061468d82615520565b604082019050919050565b60006146a560148361509f565b91506146b08261556f565b602082019050919050565b60006146c8602b8361509f565b91506146d382615598565b604082019050919050565b60006146eb60328361509f565b91506146f6826155e7565b604082019050919050565b600061470e60268361509f565b915061471982615636565b604082019050919050565b6000614731601c8361509f565b915061473c82615685565b602082019050919050565b600061475460248361509f565b915061475f826156ae565b604082019050919050565b600061477760198361509f565b9150614782826156fd565b602082019050919050565b600061479a601d8361509f565b91506147a582615726565b602082019050919050565b60006147bd601d8361509f565b91506147c88261574f565b602082019050919050565b60006147e0602c8361509f565b91506147eb82615778565b604082019050919050565b600061480360108361509f565b915061480e826157c7565b602082019050919050565b600061482660388361509f565b9150614831826157f0565b604082019050919050565b6000614849602a8361509f565b91506148548261583f565b604082019050919050565b600061486c60298361509f565b91506148778261588e565b604082019050919050565b600061488f602e8361509f565b915061489a826158dd565b604082019050919050565b60006148b260128361509f565b91506148bd8261592c565b602082019050919050565b60006148d560208361509f565b91506148e082615955565b602082019050919050565b60006148f860318361509f565b91506149038261597e565b604082019050919050565b600061491b602c8361509f565b9150614926826159cd565b604082019050919050565b600061493e60208361509f565b915061494982615a1c565b602082019050919050565b600061496160298361509f565b915061496c82615a45565b604082019050919050565b6000614984602f8361509f565b915061498f82615a94565b604082019050919050565b60006149a760218361509f565b91506149b282615ae3565b604082019050919050565b60006149ca60318361509f565b91506149d582615b32565b604082019050919050565b60006149ed602c8361509f565b91506149f882615b81565b604082019050919050565b6000614a1060148361509f565b9150614a1b82615bd0565b602082019050919050565b6000614a3360178361509f565b9150614a3e82615bf9565b602082019050919050565b614a528161523a565b82525050565b614a618161523a565b82525050565b6000614a738285614644565b9150614a7f8284614644565b91508190509392505050565b6000602082019050614aa060008301846144a1565b92915050565b6000608082019050614abb60008301876144a1565b614ac860208301866144a1565b614ad56040830185614a58565b8181036060830152614ae781846145d2565b905095945050505050565b6000604082019050614b0760008301856144a1565b614b146020830184614a58565b9392505050565b60006020820190508181036000830152614b3581846144b0565b905092915050565b600060a082019050614b52600083018461450e565b92915050565b60006020820190508181036000830152614b728184614565565b905092915050565b6000602082019050614b8f60008301846145c3565b92915050565b60006020820190508181036000830152614baf818461460b565b905092915050565b60006020820190508181036000830152614bd081614675565b9050919050565b60006020820190508181036000830152614bf081614698565b9050919050565b60006020820190508181036000830152614c10816146bb565b9050919050565b60006020820190508181036000830152614c30816146de565b9050919050565b60006020820190508181036000830152614c5081614701565b9050919050565b60006020820190508181036000830152614c7081614724565b9050919050565b60006020820190508181036000830152614c9081614747565b9050919050565b60006020820190508181036000830152614cb08161476a565b9050919050565b60006020820190508181036000830152614cd08161478d565b9050919050565b60006020820190508181036000830152614cf0816147b0565b9050919050565b60006020820190508181036000830152614d10816147d3565b9050919050565b60006020820190508181036000830152614d30816147f6565b9050919050565b60006020820190508181036000830152614d5081614819565b9050919050565b60006020820190508181036000830152614d708161483c565b9050919050565b60006020820190508181036000830152614d908161485f565b9050919050565b60006020820190508181036000830152614db081614882565b9050919050565b60006020820190508181036000830152614dd0816148a5565b9050919050565b60006020820190508181036000830152614df0816148c8565b9050919050565b60006020820190508181036000830152614e10816148eb565b9050919050565b60006020820190508181036000830152614e308161490e565b9050919050565b60006020820190508181036000830152614e5081614931565b9050919050565b60006020820190508181036000830152614e7081614954565b9050919050565b60006020820190508181036000830152614e9081614977565b9050919050565b60006020820190508181036000830152614eb08161499a565b9050919050565b60006020820190508181036000830152614ed0816149bd565b9050919050565b60006020820190508181036000830152614ef0816149e0565b9050919050565b60006020820190508181036000830152614f1081614a03565b9050919050565b60006020820190508181036000830152614f3081614a26565b9050919050565b6000602082019050614f4c6000830184614a58565b92915050565b6000614f5c614f6d565b9050614f688282615307565b919050565b6000604051905090565b600067ffffffffffffffff821115614f9257614f916154cc565b5b614f9b8261550f565b9050602081019050919050565b600067ffffffffffffffff821115614fc357614fc26154cc565b5b614fcc8261550f565b9050602081019050919050565b6000819050602082019050919050565b6000819050919050565b6000819050602082019050919050565b600081519050919050565b600060059050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006150c68261523a565b91506150d18361523a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615106576151056153b2565b5b828201905092915050565b600061511c8261523a565b91506151278361523a565b925082615137576151366153e1565b5b828204905092915050565b600061514d8261523a565b91506151588361523a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615191576151906153b2565b5b828202905092915050565b60006151a78261523a565b91506151b28361523a565b9250828210156151c5576151c46153b2565b5b828203905092915050565b60006151db8261521a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b8381101561529657808201518184015260208101905061527b565b838111156152a5576000848401525b50505050565b60006152b68261523a565b915060008214156152ca576152c96153b2565b5b600182039050919050565b600060028204905060018216806152ed57607f821691505b602082108114156153015761530061543f565b5b50919050565b6153108261550f565b810181811067ffffffffffffffff8211171561532f5761532e6154cc565b5b80604052505050565b60006153438261523a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615376576153756153b2565b5b600182019050919050565b600061538c8261523a565b91506153978361523a565b9250826153a7576153a66153e1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f546f6b656e732070757263686173652065786365656473206c696d6974000000600082015250565b7f57616c6c65742061646472657373206973206e6f7420616c6c6f776564000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f496e76616c69642045544820616d6f756e740000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f546f6b656e206c696d6974206578636565646564000000000000000000000000600082015250565b7f546f6b656e206d696e74207768696c6520706175736564000000000000000000600082015250565b615c2b816151d0565b8114615c3657600080fd5b50565b615c42816151e2565b8114615c4d57600080fd5b50565b615c59816151ee565b8114615c6457600080fd5b50565b615c708161523a565b8114615c7b57600080fd5b50565b615c8781615244565b8114615c9257600080fd5b50565b615c9e81615251565b8114615ca957600080fd5b5056fea2646970667358221220d1a9bc87da510b1ff86e6adaf5d7cf20a3d2a6ff0c9436d8e22272ad1a90c41664736f6c63430008070033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000d486162626f2041766174617273000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005484142424f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f6e66742d746f6b656e732e686162626f2e636f6d2f617661746172732f6d657461646174612f000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102725760003560e01c806362adec701161014f57806395364a84116100c1578063b88d4fde1161007a578063b88d4fde1461093b578063c2db2c4214610964578063c87b56dd14610980578063dcc40744146109bd578063e985e9c5146109d4578063f2fde38b14610a1157610272565b806395364a841461084f57806395d89b411461087a57806398d5fdca146108a5578063a22cb465146108d0578063ac446002146108f9578063b295a00e1461091057610272565b806370a082311161011357806370a082311461073f578063715018a61461077c5780638462151c1461079357806384edc116146107d0578063854747281461080d5780638da5cb5b1461082457610272565b806362adec701461065c5780636352211e14610687578063655391c9146106c45780636c5d24c4146106ed5780636edc43881461071657610272565b806327ea6f2b116101e857806342842e0e116101ac57806342842e0e1461054c5780634ba79dfe146105755780634f6ccce71461059e578063578cbd1f146105db5780635c81c157146106065780635c975abb1461063157610272565b806327ea6f2b146104565780632a55205a1461047f5780632f745c59146104bd57806332bf5794146104fa57806338eada1c1461052357610272565b80630adde4871161023a5780630adde4871461036e57806310c5b3281461039957806316c38b3c146103c257806318160ddd146103eb578063199511d11461041657806323b872dd1461042d57610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c5780630aa2871414610345575b600080fd5b34801561028357600080fd5b5061029e60048036038101906102999190614258565b610a3a565b6040516102ab9190614b7a565b60405180910390f35b3480156102c057600080fd5b506102c9610aa3565b6040516102d69190614b95565b60405180910390f35b3480156102eb57600080fd5b50610306600480360381019061030191906142fb565b610b35565b6040516103139190614a8b565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e91906141eb565b610bba565b005b34801561035157600080fd5b5061036c600480360381019061036791906142fb565b610cd2565b005b34801561037a57600080fd5b50610383610d6a565b6040516103909190614f37565b60405180910390f35b3480156103a557600080fd5b506103c060048036038101906103bb9190614328565b610d74565b005b3480156103ce57600080fd5b506103e960048036038101906103e4919061422b565b610e55565b005b3480156103f757600080fd5b50610400610f14565b60405161040d9190614f37565b60405180910390f35b34801561042257600080fd5b5061042b610f21565b005b34801561043957600080fd5b50610454600480360381019061044f91906140d5565b610fba565b005b34801561046257600080fd5b5061047d600480360381019061047891906142fb565b61101a565b005b34801561048b57600080fd5b506104a660048036038101906104a19190614368565b6110a0565b6040516104b4929190614af2565b60405180910390f35b3480156104c957600080fd5b506104e460048036038101906104df91906141eb565b6110f7565b6040516104f19190614f37565b60405180910390f35b34801561050657600080fd5b50610521600480360381019061051c91906143a8565b61119c565b005b34801561052f57600080fd5b5061054a60048036038101906105459190614068565b6112c5565b005b34801561055857600080fd5b50610573600480360381019061056e91906140d5565b6113ff565b005b34801561058157600080fd5b5061059c60048036038101906105979190614068565b61141f565b005b3480156105aa57600080fd5b506105c560048036038101906105c091906142fb565b6114f6565b6040516105d29190614f37565b60405180910390f35b3480156105e757600080fd5b506105f0611567565b6040516105fd9190614b1b565b60405180910390f35b34801561061257600080fd5b5061061b611823565b6040516106289190614b3d565b60405180910390f35b34801561063d57600080fd5b506106466118fc565b6040516106539190614b7a565b60405180910390f35b34801561066857600080fd5b50610671611913565b60405161067e9190614f37565b60405180910390f35b34801561069357600080fd5b506106ae60048036038101906106a991906142fb565b6119bf565b6040516106bb9190614a8b565b60405180910390f35b3480156106d057600080fd5b506106eb60048036038101906106e691906142b2565b611a71565b005b3480156106f957600080fd5b50610714600480360381019061070f9190614435565b611b07565b005b34801561072257600080fd5b5061073d600480360381019061073891906142fb565b611bb7565b005b34801561074b57600080fd5b5061076660048036038101906107619190614068565b611c3d565b6040516107739190614f37565b60405180910390f35b34801561078857600080fd5b50610791611cf5565b005b34801561079f57600080fd5b506107ba60048036038101906107b59190614068565b611d7d565b6040516107c79190614b58565b60405180910390f35b3480156107dc57600080fd5b506107f760048036038101906107f291906142fb565b611e2b565b6040516108049190614f37565b60405180910390f35b34801561081957600080fd5b50610822611eb9565b005b34801561083057600080fd5b50610839611f4e565b6040516108469190614a8b565b60405180910390f35b34801561085b57600080fd5b50610864611f78565b6040516108719190614b7a565b60405180910390f35b34801561088657600080fd5b5061088f611f8f565b60405161089c9190614b95565b60405180910390f35b3480156108b157600080fd5b506108ba612021565b6040516108c79190614f37565b60405180910390f35b3480156108dc57600080fd5b506108f760048036038101906108f291906141ab565b612085565b005b34801561090557600080fd5b5061090e612206565b005b34801561091c57600080fd5b506109256122d1565b6040516109329190614f37565b60405180910390f35b34801561094757600080fd5b50610962600480360381019061095d9190614128565b6122db565b005b61097e600480360381019061097991906142fb565b61233d565b005b34801561098c57600080fd5b506109a760048036038101906109a291906142fb565b612525565b6040516109b49190614b95565b60405180910390f35b3480156109c957600080fd5b506109d2612537565b005b3480156109e057600080fd5b506109fb60048036038101906109f69190614095565b6125d0565b604051610a089190614b7a565b60405180910390f35b348015610a1d57600080fd5b50610a386004803603810190610a339190614068565b612664565b005b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610a925760019050610a9e565b610a9b8261275c565b90505b919050565b606060008054610ab2906152d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ade906152d5565b8015610b2b5780601f10610b0057610100808354040283529160200191610b2b565b820191906000526020600020905b815481529060010190602001808311610b0e57829003601f168201915b5050505050905090565b6000610b40826127d6565b610b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7690614e17565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bc5826119bf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2d90614e97565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c55612842565b73ffffffffffffffffffffffffffffffffffffffff161480610c845750610c8381610c7e612842565b6125d0565b5b610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba90614d37565b60405180910390fd5b610ccd838361284a565b505050565b610cda612842565b73ffffffffffffffffffffffffffffffffffffffff16610cf8611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614610d4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4590614e37565b60405180910390fd5b80600e6000828254610d6091906150bb565b9250508190555050565b6000600f54905090565b610d7c612842565b73ffffffffffffffffffffffffffffffffffffffff16610d9a611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de790614e37565b60405180910390fd5b600e5482610dfc610f14565b610e0691906150bb565b1115610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e90614ef7565b60405180910390fd5b610e518282612903565b5050565b610e5d612842565b73ffffffffffffffffffffffffffffffffffffffff16610e7b611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614610ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec890614e37565b60405180910390fd5b808015610ee35750610ee16118fc565b155b15610ef157610ef06129af565b5b80158015610f035750610f026118fc565b5b15610f1157610f10612a52565b5b50565b6000600980549050905090565b610f29612842565b73ffffffffffffffffffffffffffffffffffffffff16610f47611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614610f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9490614e37565b60405180910390fd5b6000601860006101000a81548160ff021916908315150217905550565b610fcb610fc5612842565b82612af4565b61100a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100190614eb7565b60405180910390fd5b611015838383612bd2565b505050565b611022612842565b73ffffffffffffffffffffffffffffffffffffffff16611040611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108d90614e37565b60405180910390fd5b80600e8190555050565b6000806110ab611f4e565b612710601160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16856110e29190615142565b6110ec9190615111565b915091509250929050565b600061110283611c3d565b8210611143576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113a90614bf7565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6111a4612842565b73ffffffffffffffffffffffffffffffffffffffff166111c2611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120f90614e37565b60405180910390fd5b8560ff16600181111561122e5761122d615410565b5b6011600c6101000a81548160ff0219169083600181111561125257611251615410565b5b02179055508460108190555060018081111561127157611270615410565b5b6011600c9054906101000a900460ff16600181111561129357611292615410565b5b14156112bd5742601281905550836013819055508260168190555081601481905550806015819055505b505050505050565b6112cd612842565b73ffffffffffffffffffffffffffffffffffffffff166112eb611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611341576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133890614e37565b60405180910390fd5b6001601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550601a819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61141a838383604051806020016040528060008152506122db565b505050565b611427612842565b73ffffffffffffffffffffffffffffffffffffffff16611445611f4e565b73ffffffffffffffffffffffffffffffffffffffff161461149b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149290614e37565b60405180910390fd5b6000601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000611500610f14565b8210611541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153890614ed7565b60405180910390fd5b600982815481106115555761155461549d565b5b90600052602060002001549050919050565b6060611571612842565b73ffffffffffffffffffffffffffffffffffffffff1661158f611f4e565b73ffffffffffffffffffffffffffffffffffffffff16146115e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dc90614e37565b60405180910390fd5b600080601a80549050905060005b601a805490508110156116b7576000601a82815481106116165761161561549d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050601960008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166116a357828061169f906152ab565b9350505b5080806116af90615338565b9150506115f3565b5060008167ffffffffffffffff8111156116d4576116d36154cc565b5b6040519080825280602002602001820160405280156117025781602001602082028036833780820191505090505b50905060005b601a80549050811015611819576000601a828154811061172b5761172a61549d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050601960008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561180557808386806117b790615338565b9750815181106117ca576117c961549d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b50808061181190615338565b915050611708565b5080935050505090565b61182b613e30565b611833612842565b73ffffffffffffffffffffffffffffffffffffffff16611851611f4e565b73ffffffffffffffffffffffffffffffffffffffff16146118a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189e90614e37565b60405180910390fd5b6040518060a001604052806011600c9054906101000a900460ff1660018111156118d4576118d3615410565b5b8152602001601354815260200160165481526020016014548152602001601554815250905090565b6000600b60149054906101000a900460ff16905090565b600061191d612842565b73ffffffffffffffffffffffffffffffffffffffff1661193b611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198890614e37565b60405180910390fd5b601160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5f90614d77565b60405180910390fd5b80915050919050565b611a79612842565b73ffffffffffffffffffffffffffffffffffffffff16611a97611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae490614e37565b60405180910390fd5b80600d9080519060200190611b03929190613e52565b5050565b611b0f612842565b73ffffffffffffffffffffffffffffffffffffffff16611b2d611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7a90614e37565b60405180910390fd5b80601160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555050565b611bbf612842565b73ffffffffffffffffffffffffffffffffffffffff16611bdd611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2a90614e37565b60405180910390fd5b80600f8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca590614d57565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611cfd612842565b73ffffffffffffffffffffffffffffffffffffffff16611d1b611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6890614e37565b60405180910390fd5b611d7b6000612e2e565b565b60606000611d8a83611c3d565b905060008167ffffffffffffffff811115611da857611da76154cc565b5b604051908082528060200260200182016040528015611dd65781602001602082028036833780820191505090505b50905060005b82811015611e2057611dee85826110f7565b828281518110611e0157611e0061549d565b5b6020026020010181815250508080611e1890615338565b915050611ddc565b508092505050919050565b6000611e35612842565b73ffffffffffffffffffffffffffffffffffffffff16611e53611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611ea9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea090614e37565b60405180910390fd5b611eb282612ef4565b9050919050565b611ec1612842565b73ffffffffffffffffffffffffffffffffffffffff16611edf611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614611f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2c90614e37565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16ff5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000601860009054906101000a900460ff16905090565b606060018054611f9e906152d5565b80601f0160208091040260200160405190810160405280929190818152602001828054611fca906152d5565b80156120175780601f10611fec57610100808354040283529160200191612017565b820191906000526020600020905b815481529060010190602001808311611ffa57829003601f168201915b5050505050905090565b600060018081111561203657612035615410565b5b6011600c9054906101000a900460ff16600181111561205857612057615410565b5b14801561206757506000601254115b1561207c5761207542612ef4565b9050612082565b60105490505b90565b61208d612842565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f290614c97565b60405180910390fd5b8060056000612108612842565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166121b5612842565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121fa9190614b7a565b60405180910390a35050565b61220e612842565b73ffffffffffffffffffffffffffffffffffffffff1661222c611f4e565b73ffffffffffffffffffffffffffffffffffffffff1614612282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227990614e37565b60405180910390fd5b60003390508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156122cd573d6000803e3d6000fd5b5050565b6000600e54905090565b6122ec6122e6612842565b83612af4565b61232b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232290614eb7565b60405180910390fd5b61233784848484612f8c565b50505050565b6123456118fc565b15612385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237c90614f17565b60405180910390fd5b600f548111156123ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c190614cb7565b60405180910390fd5b600e54816123d6610f14565b6123e091906150bb565b1115612421576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241890614ef7565b60405180910390fd5b348161242b612021565b6124359190615142565b1115612476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246d90614db7565b60405180910390fd5b601860009054906101000a900460ff161561251857601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250e90614cd7565b60405180910390fd5b5b6125228133612903565b50565b606061253082612fe8565b9050919050565b61253f612842565b73ffffffffffffffffffffffffffffffffffffffff1661255d611f4e565b73ffffffffffffffffffffffffffffffffffffffff16146125b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125aa90614e37565b60405180910390fd5b6001601860006101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61266c612842565b73ffffffffffffffffffffffffffffffffffffffff1661268a611f4e565b73ffffffffffffffffffffffffffffffffffffffff16146126e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d790614e37565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612750576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274790614c37565b60405180910390fd5b61275981612e2e565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127cf57506127ce8261313a565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128bd836119bf565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5b60008211156129ab578180612918906152ab565b925050612925600c61321c565b6000612931600c613232565b905061293d8282613240565b6129a58161294a8361325e565b6040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250604051602001612991929190614a67565b6040516020818303038152906040526133bf565b50612904565b5050565b6129b76118fc565b156129f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ee90614d17565b60405180910390fd5b6001600b60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612a3b612842565b604051612a489190614a8b565b60405180910390a1565b612a5a6118fc565b612a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9090614bd7565b60405180910390fd5b6000600b60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612add612842565b604051612aea9190614a8b565b60405180910390a1565b6000612aff826127d6565b612b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3590614cf7565b60405180910390fd5b6000612b49836119bf565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612bb857508373ffffffffffffffffffffffffffffffffffffffff16612ba084610b35565b73ffffffffffffffffffffffffffffffffffffffff16145b80612bc95750612bc881856125d0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612bf2826119bf565b73ffffffffffffffffffffffffffffffffffffffff1614612c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3f90614e57565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612caf90614c77565b60405180910390fd5b612cc3838383613433565b612cce60008261284a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d1e919061519c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d7591906150bb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000601654601254612f0691906150bb565b821115612f8157600060135460125460165485612f23919061519c565b612f2d919061519c565b612f379190615111565b9050600060145482612f499190615142565b905080601554612f5991906150bb565b60105411612f6957601554612f78565b80601054612f77919061519c565b5b92505050612f87565b60105490505b919050565b612f97848484612bd2565b612fa384848484613443565b612fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd990614c17565b60405180910390fd5b50505050565b6060612ff3826127d6565b613032576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302990614df7565b60405180910390fd5b6000600660008481526020019081526020016000208054613052906152d5565b80601f016020809104026020016040519081016040528092919081815260200182805461307e906152d5565b80156130cb5780601f106130a0576101008083540402835291602001916130cb565b820191906000526020600020905b8154815290600101906020018083116130ae57829003601f168201915b5050505050905060006130dc6135da565b90506000815114156130f2578192505050613135565b60008251111561312757808260405160200161310f929190614a67565b60405160208183030381529060405292505050613135565b6131308461366c565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061320557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613215575061321482613713565b5b9050919050565b6001816000016000828254019250508190555050565b600081600001549050919050565b61325a82826040518060200160405280600081525061377d565b5050565b606060008214156132a6576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506133ba565b600082905060005b600082146132d85780806132c190615338565b915050600a826132d19190615111565b91506132ae565b60008167ffffffffffffffff8111156132f4576132f36154cc565b5b6040519080825280601f01601f1916602001820160405280156133265781602001600182028036833780820191505090505b5090505b600085146133b35760018261333f919061519c565b9150600a8561334e9190615381565b603061335a91906150bb565b60f81b8183815181106133705761336f61549d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856133ac9190615111565b945061332a565b8093505050505b919050565b6133c8826127d6565b613407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133fe90614d97565b60405180910390fd5b8060066000848152602001908152602001600020908051906020019061342e929190613e52565b505050565b61343e8383836137d8565b505050565b60006134648473ffffffffffffffffffffffffffffffffffffffff16613830565b156135cd578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261348d612842565b8786866040518563ffffffff1660e01b81526004016134af9493929190614aa6565b602060405180830381600087803b1580156134c957600080fd5b505af19250505080156134fa57506040513d601f19601f820116820180604052508101906134f79190614285565b60015b61357d573d806000811461352a576040519150601f19603f3d011682016040523d82523d6000602084013e61352f565b606091505b50600081511415613575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356c90614c17565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135d2565b600190505b949350505050565b6060600d80546135e9906152d5565b80601f0160208091040260200160405190810160405280929190818152602001828054613615906152d5565b80156136625780601f1061363757610100808354040283529160200191613662565b820191906000526020600020905b81548152906001019060200180831161364557829003601f168201915b5050505050905090565b6060613677826127d6565b6136b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136ad90614e77565b60405180910390fd5b60006136c06135da565b905060008151116136e0576040518060200160405280600081525061370b565b806136ea8461325e565b6040516020016136fb929190614a67565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6137878383613843565b6137946000848484613443565b6137d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ca90614c17565b60405180910390fd5b505050565b6137e3838383613a11565b6137eb6118fc565b1561382b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161382290614bb7565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138aa90614dd7565b60405180910390fd5b6138bc816127d6565b156138fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138f390614c57565b60405180910390fd5b61390860008383613433565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461395891906150bb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613a1c838383613b25565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613a5f57613a5a81613b2a565b613a9e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613a9d57613a9c8382613b73565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613ae157613adc81613ce0565b613b20565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613b1f57613b1e8282613db1565b5b5b505050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613b8084611c3d565b613b8a919061519c565b9050600060086000848152602001908152602001600020549050818114613c6f576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613cf4919061519c565b90506000600a6000848152602001908152602001600020549050600060098381548110613d2457613d2361549d565b5b906000526020600020015490508060098381548110613d4657613d4561549d565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613d9557613d9461546e565b5b6001900381819060005260206000200160009055905550505050565b6000613dbc83611c3d565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b6040518060a00160405280600590602082028036833780820191505090505090565b828054613e5e906152d5565b90600052602060002090601f016020900481019282613e805760008555613ec7565b82601f10613e9957805160ff1916838001178555613ec7565b82800160010185558215613ec7579182015b82811115613ec6578251825591602001919060010190613eab565b5b509050613ed49190613ed8565b5090565b5b80821115613ef1576000816000905550600101613ed9565b5090565b6000613f08613f0384614f77565b614f52565b905082815260208101848484011115613f2457613f23615500565b5b613f2f848285615269565b509392505050565b6000613f4a613f4584614fa8565b614f52565b905082815260208101848484011115613f6657613f65615500565b5b613f71848285615269565b509392505050565b600081359050613f8881615c22565b92915050565b600081359050613f9d81615c39565b92915050565b600081359050613fb281615c50565b92915050565b600081519050613fc781615c50565b92915050565b600082601f830112613fe257613fe16154fb565b5b8135613ff2848260208601613ef5565b91505092915050565b600082601f8301126140105761400f6154fb565b5b8135614020848260208601613f37565b91505092915050565b60008135905061403881615c67565b92915050565b60008135905061404d81615c7e565b92915050565b60008135905061406281615c95565b92915050565b60006020828403121561407e5761407d61550a565b5b600061408c84828501613f79565b91505092915050565b600080604083850312156140ac576140ab61550a565b5b60006140ba85828601613f79565b92505060206140cb85828601613f79565b9150509250929050565b6000806000606084860312156140ee576140ed61550a565b5b60006140fc86828701613f79565b935050602061410d86828701613f79565b925050604061411e86828701614029565b9150509250925092565b600080600080608085870312156141425761414161550a565b5b600061415087828801613f79565b945050602061416187828801613f79565b935050604061417287828801614029565b925050606085013567ffffffffffffffff81111561419357614192615505565b5b61419f87828801613fcd565b91505092959194509250565b600080604083850312156141c2576141c161550a565b5b60006141d085828601613f79565b92505060206141e185828601613f8e565b9150509250929050565b600080604083850312156142025761420161550a565b5b600061421085828601613f79565b925050602061422185828601614029565b9150509250929050565b6000602082840312156142415761424061550a565b5b600061424f84828501613f8e565b91505092915050565b60006020828403121561426e5761426d61550a565b5b600061427c84828501613fa3565b91505092915050565b60006020828403121561429b5761429a61550a565b5b60006142a984828501613fb8565b91505092915050565b6000602082840312156142c8576142c761550a565b5b600082013567ffffffffffffffff8111156142e6576142e5615505565b5b6142f284828501613ffb565b91505092915050565b6000602082840312156143115761431061550a565b5b600061431f84828501614029565b91505092915050565b6000806040838503121561433f5761433e61550a565b5b600061434d85828601614029565b925050602061435e85828601613f79565b9150509250929050565b6000806040838503121561437f5761437e61550a565b5b600061438d85828601614029565b925050602061439e85828601614029565b9150509250929050565b60008060008060008060c087890312156143c5576143c461550a565b5b60006143d389828a0161403e565b96505060206143e489828a01614029565b95505060406143f589828a01614029565b945050606061440689828a01614029565b935050608061441789828a01614029565b92505060a061442889828a01614029565b9150509295509295509295565b60006020828403121561444b5761444a61550a565b5b600061445984828501614053565b91505092915050565b600061446e8383614492565b60208301905092915050565b60006144868383614a49565b60208301905092915050565b61449b816151d0565b82525050565b6144aa816151d0565b82525050565b60006144bb82615003565b6144c58185615061565b93506144d083614fd9565b8060005b838110156145015781516144e88882614462565b97506144f38361503a565b9250506001810190506144d4565b5085935050505092915050565b6145178161500e565b6145218184615072565b925061452c82614fe9565b8060005b8381101561455d578151614544878261447a565b965061454f83615047565b925050600181019050614530565b505050505050565b600061457082615019565b61457a818561507d565b935061458583614ff3565b8060005b838110156145b657815161459d888261447a565b97506145a883615054565b925050600181019050614589565b5085935050505092915050565b6145cc816151e2565b82525050565b60006145dd82615024565b6145e7818561508e565b93506145f7818560208601615278565b6146008161550f565b840191505092915050565b60006146168261502f565b614620818561509f565b9350614630818560208601615278565b6146398161550f565b840191505092915050565b600061464f8261502f565b61465981856150b0565b9350614669818560208601615278565b80840191505092915050565b6000614682602b8361509f565b915061468d82615520565b604082019050919050565b60006146a560148361509f565b91506146b08261556f565b602082019050919050565b60006146c8602b8361509f565b91506146d382615598565b604082019050919050565b60006146eb60328361509f565b91506146f6826155e7565b604082019050919050565b600061470e60268361509f565b915061471982615636565b604082019050919050565b6000614731601c8361509f565b915061473c82615685565b602082019050919050565b600061475460248361509f565b915061475f826156ae565b604082019050919050565b600061477760198361509f565b9150614782826156fd565b602082019050919050565b600061479a601d8361509f565b91506147a582615726565b602082019050919050565b60006147bd601d8361509f565b91506147c88261574f565b602082019050919050565b60006147e0602c8361509f565b91506147eb82615778565b604082019050919050565b600061480360108361509f565b915061480e826157c7565b602082019050919050565b600061482660388361509f565b9150614831826157f0565b604082019050919050565b6000614849602a8361509f565b91506148548261583f565b604082019050919050565b600061486c60298361509f565b91506148778261588e565b604082019050919050565b600061488f602e8361509f565b915061489a826158dd565b604082019050919050565b60006148b260128361509f565b91506148bd8261592c565b602082019050919050565b60006148d560208361509f565b91506148e082615955565b602082019050919050565b60006148f860318361509f565b91506149038261597e565b604082019050919050565b600061491b602c8361509f565b9150614926826159cd565b604082019050919050565b600061493e60208361509f565b915061494982615a1c565b602082019050919050565b600061496160298361509f565b915061496c82615a45565b604082019050919050565b6000614984602f8361509f565b915061498f82615a94565b604082019050919050565b60006149a760218361509f565b91506149b282615ae3565b604082019050919050565b60006149ca60318361509f565b91506149d582615b32565b604082019050919050565b60006149ed602c8361509f565b91506149f882615b81565b604082019050919050565b6000614a1060148361509f565b9150614a1b82615bd0565b602082019050919050565b6000614a3360178361509f565b9150614a3e82615bf9565b602082019050919050565b614a528161523a565b82525050565b614a618161523a565b82525050565b6000614a738285614644565b9150614a7f8284614644565b91508190509392505050565b6000602082019050614aa060008301846144a1565b92915050565b6000608082019050614abb60008301876144a1565b614ac860208301866144a1565b614ad56040830185614a58565b8181036060830152614ae781846145d2565b905095945050505050565b6000604082019050614b0760008301856144a1565b614b146020830184614a58565b9392505050565b60006020820190508181036000830152614b3581846144b0565b905092915050565b600060a082019050614b52600083018461450e565b92915050565b60006020820190508181036000830152614b728184614565565b905092915050565b6000602082019050614b8f60008301846145c3565b92915050565b60006020820190508181036000830152614baf818461460b565b905092915050565b60006020820190508181036000830152614bd081614675565b9050919050565b60006020820190508181036000830152614bf081614698565b9050919050565b60006020820190508181036000830152614c10816146bb565b9050919050565b60006020820190508181036000830152614c30816146de565b9050919050565b60006020820190508181036000830152614c5081614701565b9050919050565b60006020820190508181036000830152614c7081614724565b9050919050565b60006020820190508181036000830152614c9081614747565b9050919050565b60006020820190508181036000830152614cb08161476a565b9050919050565b60006020820190508181036000830152614cd08161478d565b9050919050565b60006020820190508181036000830152614cf0816147b0565b9050919050565b60006020820190508181036000830152614d10816147d3565b9050919050565b60006020820190508181036000830152614d30816147f6565b9050919050565b60006020820190508181036000830152614d5081614819565b9050919050565b60006020820190508181036000830152614d708161483c565b9050919050565b60006020820190508181036000830152614d908161485f565b9050919050565b60006020820190508181036000830152614db081614882565b9050919050565b60006020820190508181036000830152614dd0816148a5565b9050919050565b60006020820190508181036000830152614df0816148c8565b9050919050565b60006020820190508181036000830152614e10816148eb565b9050919050565b60006020820190508181036000830152614e308161490e565b9050919050565b60006020820190508181036000830152614e5081614931565b9050919050565b60006020820190508181036000830152614e7081614954565b9050919050565b60006020820190508181036000830152614e9081614977565b9050919050565b60006020820190508181036000830152614eb08161499a565b9050919050565b60006020820190508181036000830152614ed0816149bd565b9050919050565b60006020820190508181036000830152614ef0816149e0565b9050919050565b60006020820190508181036000830152614f1081614a03565b9050919050565b60006020820190508181036000830152614f3081614a26565b9050919050565b6000602082019050614f4c6000830184614a58565b92915050565b6000614f5c614f6d565b9050614f688282615307565b919050565b6000604051905090565b600067ffffffffffffffff821115614f9257614f916154cc565b5b614f9b8261550f565b9050602081019050919050565b600067ffffffffffffffff821115614fc357614fc26154cc565b5b614fcc8261550f565b9050602081019050919050565b6000819050602082019050919050565b6000819050919050565b6000819050602082019050919050565b600081519050919050565b600060059050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006150c68261523a565b91506150d18361523a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615106576151056153b2565b5b828201905092915050565b600061511c8261523a565b91506151278361523a565b925082615137576151366153e1565b5b828204905092915050565b600061514d8261523a565b91506151588361523a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615191576151906153b2565b5b828202905092915050565b60006151a78261523a565b91506151b28361523a565b9250828210156151c5576151c46153b2565b5b828203905092915050565b60006151db8261521a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b8381101561529657808201518184015260208101905061527b565b838111156152a5576000848401525b50505050565b60006152b68261523a565b915060008214156152ca576152c96153b2565b5b600182039050919050565b600060028204905060018216806152ed57607f821691505b602082108114156153015761530061543f565b5b50919050565b6153108261550f565b810181811067ffffffffffffffff8211171561532f5761532e6154cc565b5b80604052505050565b60006153438261523a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615376576153756153b2565b5b600182019050919050565b600061538c8261523a565b91506153978361523a565b9250826153a7576153a66153e1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f546f6b656e732070757263686173652065786365656473206c696d6974000000600082015250565b7f57616c6c65742061646472657373206973206e6f7420616c6c6f776564000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f496e76616c69642045544820616d6f756e740000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f546f6b656e206c696d6974206578636565646564000000000000000000000000600082015250565b7f546f6b656e206d696e74207768696c6520706175736564000000000000000000600082015250565b615c2b816151d0565b8114615c3657600080fd5b50565b615c42816151e2565b8114615c4d57600080fd5b50565b615c59816151ee565b8114615c6457600080fd5b50565b615c708161523a565b8114615c7b57600080fd5b50565b615c8781615244565b8114615c9257600080fd5b50565b615c9e81615251565b8114615ca957600080fd5b5056fea2646970667358221220d1a9bc87da510b1ff86e6adaf5d7cf20a3d2a6ff0c9436d8e22272ad1a90c41664736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000d486162626f2041766174617273000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005484142424f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f6e66742d746f6b656e732e686162626f2e636f6d2f617661746172732f6d657461646174612f000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Habbo Avatars
Arg [1] : token (string): HABBO
Arg [2] : baseTokenURI (string): https://nft-tokens.habbo.com/avatars/metadata/
Arg [3] : tokenLimit (uint256): 1

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [5] : 486162626f204176617461727300000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 484142424f000000000000000000000000000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [9] : 68747470733a2f2f6e66742d746f6b656e732e686162626f2e636f6d2f617661
Arg [10] : 746172732f6d657461646174612f000000000000000000000000000000000000


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.