ETH Price: $2,638.93 (-0.07%)

Token

TheCreepz (CREEPZ)
 

Overview

Max Total Supply

517 CREEPZ

Holders

158

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
kwiss.eth
Balance
1 CREEPZ
0x2f5eba847ccd3a7f4eaf5f618e4dfa26734c90d5
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
TheCreepz

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "./interfaces/ITheCreepz.sol";
import "./interfaces/ITheCreepzDescriptor.sol";


contract TheCreepz is ERC721Enumerable, Ownable, ITheCreepz, ReentrancyGuard {
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIds;
    //
    mapping(uint256 => Creepz) private _detail;
    //
    mapping(bytes32 => bool) private creepz;
    //
    address private immutable _tokenDescriptor;

    uint256 public constant MAX_CREEPZ = 10000;
    uint256 public constant CREEPZ_PRICE = 50000000000000000; //0.05 ETH
    uint256 private constant CREEPZ_PER_TX = 10;
    uint256 private constant PRESALE_MAX_CREEPZ = 64;
    //
    bool private _isPreSaleActive = false;
    bool private _isPublicSaleActive = false;
    //
    event GenerateCreepz( uint256 tokenId );
    //
    enum FounderMemberClaimStatus { Invalid, Unclaimed, Claimed }
    mapping (address => FounderMemberClaimStatus) private _foundingMemberClaims;
    struct Founder {
      address wallet;
      uint8 mintpass;
    }
    mapping(address => Founder) _founders;


    constructor(address _tokenDescriptor_)
      ERC721("TheCreepz", "CREEPZ")
    {
      _tokenDescriptor = _tokenDescriptor_;
    }

    function _baseURI() internal view virtual override returns (string memory) {}
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return ITheCreepzDescriptor(_tokenDescriptor).tokenURI(this, tokenId);
    }

    function details(uint256 tokenId) external view override returns (Creepz memory detail) {
        detail = _detail[tokenId];
    }
    function founders(address wallet) external view returns (Founder memory founder) {
        founder = _founders[wallet];
    }

    function isPreSaleActive() external view returns (bool status) {
        return _isPreSaleActive;
    }
    function togglePreSale() external onlyOwner {
        _isPreSaleActive = !_isPreSaleActive;
    }
    function isPublicSaleActive() external view returns (bool status) {
        return _isPublicSaleActive;
    }
    function togglePublicSale() external onlyOwner {
        _isPublicSaleActive = !_isPublicSaleActive;
    }
    function addFoundingMembers(Founder[] memory members) external onlyOwner {
        for (uint256 i = 0; i < members.length; i++) {
            _foundingMemberClaims[members[i].wallet] = FounderMemberClaimStatus.Unclaimed;
            _founders[members[i].wallet] = members[i];
        }
    }

    function generateCreepz(Creepz memory newCreepz, uint8 path) internal {

      newCreepz.original = copyCreepz(newCreepz);
      require(newCreepz.original, "This Creepz exist allready !");
      //
      _detail[_tokenIds.current()] = newCreepz;
      _safeMint(msg.sender, _tokenIds.current());
      emit GenerateCreepz(_tokenIds.current());
      //
      if(path == 0){
        _founders[msg.sender].mintpass = _founders[msg.sender].mintpass - 1;
        if( _founders[msg.sender].mintpass == 0){
          _foundingMemberClaims[msg.sender] = FounderMemberClaimStatus.Claimed;
        }
      }
    }
    function create(Creepz memory rolls, uint8 path) internal nonReentrant {

        _tokenIds.increment();
        //
        uint8 bgLen;
        bgLen = rolls.bg == 7 ? rolls.bgLen % 6 : rolls.bgLen;
        bgLen = rolls.bg == 8 ? rolls.bgLen % 5 : rolls.bgLen;
        //
        uint8 bgFill;
        bgFill = bgLen == 0 ? 2 : rolls.bgFill;
        bgFill = rolls.bg > 7 ? 1 : rolls.bgFill;
        //
        Creepz memory newCreepz = Creepz({
              bgColor1: rolls.bgColor1,
              bgColor2: rolls.bgColor2,
              bg: rolls.bg,
              bgFill: bgFill,
              bgAnim: rolls.bgAnim,
              bgLen: bgLen,
              body: rolls.body,
              bodyColor1: rolls.bodyColor1,
              bodyColor2: rolls.bodyColor2,
              face: rolls.face,
              faceColor1: rolls.faceColor1,
              faceColor2: rolls.faceColor2,
              faceAnim: rolls.faceAnim,
              typeEye: rolls.typeEye,
              eyes: rolls.eyes,
              pupils: rolls.pupils,
              access: rolls.access,
              original: true,
              timestamp: block.timestamp,
              creator: msg.sender
          });
          //
          generateCreepz(newCreepz,path);
    }

    function mintFoundingMember(Creepz[] memory _rolls) external payable {
        require(_isPreSaleActive, "Pre-sale is not active");
        require(_foundingMemberClaims[msg.sender] != FounderMemberClaimStatus.Claimed, "You've already claimed your Creepz");
        require(_foundingMemberClaims[msg.sender] == FounderMemberClaimStatus.Unclaimed, "You are not a founding member");
        require(totalSupply() + 1 < PRESALE_MAX_CREEPZ);
        require(totalSupply() + 1 <= MAX_CREEPZ);
        //
        for (uint256 i; i < _rolls.length; i++) {
          require(_founders[msg.sender].mintpass > 0,"No more Mintpass");
          require(_verify(_rolls[i]));
          create(_rolls[i],0);
        }
    }

    function mintPublic(Creepz[] memory _rolls ) external payable{
        require(_isPublicSaleActive, "Public sale is not active");
        require(_rolls.length > 0 && _rolls.length <= CREEPZ_PER_TX, "You can't mint that many Creepz");
        require(totalSupply() + _rolls.length <= MAX_CREEPZ, "Mint would exceed max supply of Creepz");
        require(msg.value >= _rolls.length * CREEPZ_PRICE, "You didn't send the right amount of eth");
        //
        for (uint256 i; i < _rolls.length; i++) {
          require(_verify(_rolls[i]));
          create(_rolls[i],1);
        }
    }

    function _verify(Creepz memory newCreepz) internal pure returns (bool){
      require(newCreepz.bgColor1 < 13);
      require(newCreepz.bgColor2 < 13);
      require(newCreepz.bg < 9);
      require(newCreepz.bgFill < 2);
      require(newCreepz.bgAnim < 8);
      require(newCreepz.bgLen < 10);
      require(newCreepz.body < 13);
      require(newCreepz.bodyColor1 < 13);
      require(newCreepz.bodyColor2 < 13);
      require(newCreepz.face < 20);
      require(newCreepz.faceColor1 < 13);
      require(newCreepz.faceColor2 < 13);
      require(newCreepz.faceAnim < 12);
      require(newCreepz.typeEye < 2);
      if(newCreepz.typeEye == 0){
        require(newCreepz.eyes < 15);
        require(newCreepz.pupils < 11);
      }
      if(newCreepz.typeEye == 1){
        require(newCreepz.eyes < 6);
        require(newCreepz.pupils < 8);
      }
      require(newCreepz.access < 8);
      return true;
    }
    function stack(Creepz memory detail) internal pure returns (bytes memory) {
      return abi.encode(
          detail.face,
          detail.faceColor1,
          detail.faceColor2,
          detail.faceAnim,
          detail.typeEye,
          detail.eyes,
          detail.pupils
      );
    }
    function copyCreepz(Creepz memory detail) internal returns (bool) {
        bytes32 hash = keccak256(
            abi.encode(
                detail.bgColor1,
                detail.bgColor2,
                detail.bg,
                detail.bgFill,
                detail.bgAnim,
                detail.bgLen,
                detail.body,
                detail.bodyColor1,
                detail.bodyColor2,
                stack(detail)
            )
        );
        if (!creepz[hash]) {
            creepz[hash] = true;
            return true;
        } else {
            return false;
        }
    }

    function withdraw() public payable onlyOwner {
        uint256 amount = address(this).balance;
        require(payable(0x6A40A7029082AC592546506353f0Cf811a0E8974).send((amount * 30) / 100)); //Dao
        require(payable(0xb5d8cD851d13c06567371498190f4aaA37C8ef5E).send((amount * 35) / 100)); //Artist
        require(payable(0x120698b4fc29B6108aBaAEBc0EA03f88Cc46eC67).send((amount * 35) / 100)); //Dev
    }

}

File 2 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 3 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 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 : ITheCreepz.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

pragma abicoder v2;

/// @title OniiChain NFTs Interface
interface ITheCreepz {
    /// @notice Details about the Onii
    struct Creepz {
        uint8 bgColor1;
        uint8 bgColor2;
        uint8 bg;
        uint8 bgFill;
        uint8 bgAnim;
        uint8 bgLen;
        //
        uint8 body;
        uint8 bodyColor1;
        uint8 bodyColor2;
        //
        uint8 face;
        uint8 faceColor1;
        uint8 faceColor2;
        uint8 faceAnim;
        //
        uint8 typeEye;
        uint8 eyes;
        uint8 pupils;
        //
        uint8 access;
        //
        bool original;
        uint256 timestamp;
        address creator;
    }

    /// @notice Returns the details associated with a given token ID.
    /// @dev Throws if the token ID is not valid.
    /// @param tokenId The ID of the token that represents the Onii
    /// @return detail memory
    function details(uint256 tokenId) external view returns (Creepz memory detail);
}

File 7 of 17 : ITheCreepzDescriptor.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

pragma abicoder v2;

import "./ITheCreepz.sol";

interface ITheCreepzDescriptor {
    function tokenURI(ITheCreepz thecreepz, uint256 tokenId) external view returns (string memory);
}

File 8 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.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 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 : 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 11 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 12 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 13 of 17 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 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 15 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 16 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tokenDescriptor_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"GenerateCreepz","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CREEPZ_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_CREEPZ","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint8","name":"mintpass","type":"uint8"}],"internalType":"struct TheCreepz.Founder[]","name":"members","type":"tuple[]"}],"name":"addFoundingMembers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"details","outputs":[{"components":[{"internalType":"uint8","name":"bgColor1","type":"uint8"},{"internalType":"uint8","name":"bgColor2","type":"uint8"},{"internalType":"uint8","name":"bg","type":"uint8"},{"internalType":"uint8","name":"bgFill","type":"uint8"},{"internalType":"uint8","name":"bgAnim","type":"uint8"},{"internalType":"uint8","name":"bgLen","type":"uint8"},{"internalType":"uint8","name":"body","type":"uint8"},{"internalType":"uint8","name":"bodyColor1","type":"uint8"},{"internalType":"uint8","name":"bodyColor2","type":"uint8"},{"internalType":"uint8","name":"face","type":"uint8"},{"internalType":"uint8","name":"faceColor1","type":"uint8"},{"internalType":"uint8","name":"faceColor2","type":"uint8"},{"internalType":"uint8","name":"faceAnim","type":"uint8"},{"internalType":"uint8","name":"typeEye","type":"uint8"},{"internalType":"uint8","name":"eyes","type":"uint8"},{"internalType":"uint8","name":"pupils","type":"uint8"},{"internalType":"uint8","name":"access","type":"uint8"},{"internalType":"bool","name":"original","type":"bool"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"address","name":"creator","type":"address"}],"internalType":"struct ITheCreepz.Creepz","name":"detail","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"founders","outputs":[{"components":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint8","name":"mintpass","type":"uint8"}],"internalType":"struct TheCreepz.Founder","name":"founder","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPreSaleActive","outputs":[{"internalType":"bool","name":"status","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"status","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint8","name":"bgColor1","type":"uint8"},{"internalType":"uint8","name":"bgColor2","type":"uint8"},{"internalType":"uint8","name":"bg","type":"uint8"},{"internalType":"uint8","name":"bgFill","type":"uint8"},{"internalType":"uint8","name":"bgAnim","type":"uint8"},{"internalType":"uint8","name":"bgLen","type":"uint8"},{"internalType":"uint8","name":"body","type":"uint8"},{"internalType":"uint8","name":"bodyColor1","type":"uint8"},{"internalType":"uint8","name":"bodyColor2","type":"uint8"},{"internalType":"uint8","name":"face","type":"uint8"},{"internalType":"uint8","name":"faceColor1","type":"uint8"},{"internalType":"uint8","name":"faceColor2","type":"uint8"},{"internalType":"uint8","name":"faceAnim","type":"uint8"},{"internalType":"uint8","name":"typeEye","type":"uint8"},{"internalType":"uint8","name":"eyes","type":"uint8"},{"internalType":"uint8","name":"pupils","type":"uint8"},{"internalType":"uint8","name":"access","type":"uint8"},{"internalType":"bool","name":"original","type":"bool"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"address","name":"creator","type":"address"}],"internalType":"struct ITheCreepz.Creepz[]","name":"_rolls","type":"tuple[]"}],"name":"mintFoundingMember","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint8","name":"bgColor1","type":"uint8"},{"internalType":"uint8","name":"bgColor2","type":"uint8"},{"internalType":"uint8","name":"bg","type":"uint8"},{"internalType":"uint8","name":"bgFill","type":"uint8"},{"internalType":"uint8","name":"bgAnim","type":"uint8"},{"internalType":"uint8","name":"bgLen","type":"uint8"},{"internalType":"uint8","name":"body","type":"uint8"},{"internalType":"uint8","name":"bodyColor1","type":"uint8"},{"internalType":"uint8","name":"bodyColor2","type":"uint8"},{"internalType":"uint8","name":"face","type":"uint8"},{"internalType":"uint8","name":"faceColor1","type":"uint8"},{"internalType":"uint8","name":"faceColor2","type":"uint8"},{"internalType":"uint8","name":"faceAnim","type":"uint8"},{"internalType":"uint8","name":"typeEye","type":"uint8"},{"internalType":"uint8","name":"eyes","type":"uint8"},{"internalType":"uint8","name":"pupils","type":"uint8"},{"internalType":"uint8","name":"access","type":"uint8"},{"internalType":"bool","name":"original","type":"bool"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"address","name":"creator","type":"address"}],"internalType":"struct ITheCreepz.Creepz[]","name":"_rolls","type":"tuple[]"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60a06040526000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055503480156200004757600080fd5b50604051620061393803806200613983398181016040528101906200006d919062000308565b6040518060400160405280600981526020017f54686543726565707a00000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f43524545505a00000000000000000000000000000000000000000000000000008152508160009080519060200190620000f192919062000241565b5080600190805190602001906200010a92919062000241565b5050506200012d620001216200017360201b60201c565b6200017b60201b60201c565b6001600b819055508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505050620003e7565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200024f9062000368565b90600052602060002090601f016020900481019282620002735760008555620002bf565b82601f106200028e57805160ff1916838001178555620002bf565b82800160010185558215620002bf579182015b82811115620002be578251825591602001919060010190620002a1565b5b509050620002ce9190620002d2565b5090565b5b80821115620002ed576000816000905550600101620002d3565b5090565b6000815190506200030281620003cd565b92915050565b6000602082840312156200031b57600080fd5b60006200032b84828501620002f1565b91505092915050565b6000620003418262000348565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200038157607f821691505b602082108114156200039857620003976200039e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620003d88162000334565b8114620003e457600080fd5b50565b60805160601c615d336200040660003960006117320152615d336000f3fe6080604052600436106101d85760003560e01c80637b59812d11610102578063c87b56dd11610095578063e222c7f911610064578063e222c7f9146106a4578063e985e9c5146106bb578063ee9059e0146106f8578063f2fde38b14610714576101d8565b8063c87b56dd146105ea578063ca3cb52214610627578063de6746a51461063e578063dfd666ca1461067b576101d8565b80639d044ed3116100d15780639d044ed314610530578063a005ec7a1461055b578063a22cb46514610598578063b88d4fde146105c1576101d8565b80637b59812d146104935780637d6a106c146104af5780638da5cb5b146104da57806395d89b4114610505576101d8565b806323b872dd1161017a5780634f6ccce7116101495780634f6ccce7146103c55780636352211e1461040257806370a082311461043f578063715018a61461047c576101d8565b806323b872dd1461032c5780632f745c59146103555780633ccfd60b1461039257806342842e0e1461039c576101d8565b8063095ea7b3116101b6578063095ea7b31461028257806315230025146102ab57806318160ddd146102d65780631e84c41314610301576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190614390565b61073d565b6040516102119190614b4d565b60405180910390f35b34801561022657600080fd5b5061022f6107b7565b60405161023c9190614b91565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190614423565b610849565b6040516102799190614ae6565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a491906142d2565b6108ce565b005b3480156102b757600080fd5b506102c06109e6565b6040516102cd9190614f6a565b60405180910390f35b3480156102e257600080fd5b506102eb6109f1565b6040516102f89190614f6a565b60405180910390f35b34801561030d57600080fd5b506103166109fe565b6040516103239190614b4d565b60405180910390f35b34801561033857600080fd5b50610353600480360381019061034e91906141cc565b610a15565b005b34801561036157600080fd5b5061037c600480360381019061037791906142d2565b610a75565b6040516103899190614f6a565b60405180910390f35b61039a610b1a565b005b3480156103a857600080fd5b506103c360048036038101906103be91906141cc565b610cdc565b005b3480156103d157600080fd5b506103ec60048036038101906103e79190614423565b610cfc565b6040516103f99190614f6a565b60405180910390f35b34801561040e57600080fd5b5061042960048036038101906104249190614423565b610d93565b6040516104369190614ae6565b60405180910390f35b34801561044b57600080fd5b5061046660048036038101906104619190614167565b610e45565b6040516104739190614f6a565b60405180910390f35b34801561048857600080fd5b50610491610efd565b005b6104ad60048036038101906104a8919061430e565b610f85565b005b3480156104bb57600080fd5b506104c4611194565b6040516104d19190614f6a565b60405180910390f35b3480156104e657600080fd5b506104ef61119a565b6040516104fc9190614ae6565b60405180910390f35b34801561051157600080fd5b5061051a6111c4565b6040516105279190614b91565b60405180910390f35b34801561053c57600080fd5b50610545611256565b6040516105529190614b4d565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d9190614423565b61126d565b60405161058f9190614f33565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba9190614296565b611503565b005b3480156105cd57600080fd5b506105e860048036038101906105e3919061421b565b611684565b005b3480156105f657600080fd5b50610611600480360381019061060c9190614423565b6116e6565b60405161061e9190614b91565b60405180910390f35b34801561063357600080fd5b5061063c6117e7565b005b34801561064a57600080fd5b5061066560048036038101906106609190614167565b61188f565b6040516106729190614f4f565b60405180910390f35b34801561068757600080fd5b506106a2600480360381019061069d919061434f565b61195b565b005b3480156106b057600080fd5b506106b9611bfb565b005b3480156106c757600080fd5b506106e260048036038101906106dd9190614190565b611ca3565b6040516106ef9190614b4d565b60405180910390f35b610712600480360381019061070d919061430e565b611d37565b005b34801561072057600080fd5b5061073b60048036038101906107369190614167565b61211b565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107b057506107af82612213565b5b9050919050565b6060600080546107c6906153de565b80601f01602080910402602001604051908101604052809291908181526020018280546107f2906153de565b801561083f5780601f106108145761010080835404028352916020019161083f565b820191906000526020600020905b81548152906001019060200180831161082257829003601f168201915b5050505050905090565b6000610854826122f5565b610893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088a90614d93565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108d982610d93565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561094a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094190614e33565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610969612361565b73ffffffffffffffffffffffffffffffffffffffff161480610998575061099781610992612361565b611ca3565b5b6109d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ce90614cf3565b60405180910390fd5b6109e18383612369565b505050565b66b1a2bc2ec5000081565b6000600880549050905090565b6000600f60019054906101000a900460ff16905090565b610a26610a20612361565b82612422565b610a65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5c90614e73565b60405180910390fd5b610a70838383612500565b505050565b6000610a8083610e45565b8210610ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab890614bd3565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610b22612361565b73ffffffffffffffffffffffffffffffffffffffff16610b4061119a565b73ffffffffffffffffffffffffffffffffffffffff1614610b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8d90614db3565b60405180910390fd5b6000479050736a40a7029082ac592546506353f0cf811a0e897473ffffffffffffffffffffffffffffffffffffffff166108fc6064601e84610bd89190615235565b610be29190615204565b9081150290604051600060405180830381858888f19350505050610c0557600080fd5b73b5d8cd851d13c06567371498190f4aaa37c8ef5e73ffffffffffffffffffffffffffffffffffffffff166108fc6064602384610c429190615235565b610c4c9190615204565b9081150290604051600060405180830381858888f19350505050610c6f57600080fd5b73120698b4fc29b6108abaaebc0ea03f88cc46ec6773ffffffffffffffffffffffffffffffffffffffff166108fc6064602384610cac9190615235565b610cb69190615204565b9081150290604051600060405180830381858888f19350505050610cd957600080fd5b50565b610cf783838360405180602001604052806000815250611684565b505050565b6000610d066109f1565b8210610d47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3e90614e93565b60405180910390fd5b60088281548110610d81577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3390614d33565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610eb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ead90614d13565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f05612361565b73ffffffffffffffffffffffffffffffffffffffff16610f2361119a565b73ffffffffffffffffffffffffffffffffffffffff1614610f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7090614db3565b60405180910390fd5b610f83600061275c565b565b600f60019054906101000a900460ff16610fd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcb90614d53565b60405180910390fd5b60008151118015610fe75750600a815111155b611026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101d90614cb3565b60405180910390fd5b61271081516110336109f1565b61103d91906151ae565b111561107e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107590614eb3565b60405180910390fd5b66b1a2bc2ec5000081516110929190615235565b3410156110d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cb90614e53565b60405180910390fd5b60005b81518110156111905761112982828151811061111c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612822565b61113257600080fd5b61117d82828151811061116e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160016129d8565b808061118890615441565b9150506110d7565b5050565b61271081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546111d3906153de565b80601f01602080910402602001604051908101604052809291908181526020018280546111ff906153de565b801561124c5780601f106112215761010080835404028352916020019161124c565b820191906000526020600020905b81548152906001019060200180831161122f57829003601f168201915b5050505050905090565b6000600f60009054906101000a900460ff16905090565b611275613bba565b600d6000838152602001908152602001600020604051806102800160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900460ff1660ff1660ff1681526020016000820160039054906101000a900460ff1660ff1660ff1681526020016000820160049054906101000a900460ff1660ff1660ff1681526020016000820160059054906101000a900460ff1660ff1660ff1681526020016000820160069054906101000a900460ff1660ff1660ff1681526020016000820160079054906101000a900460ff1660ff1660ff1681526020016000820160089054906101000a900460ff1660ff1660ff1681526020016000820160099054906101000a900460ff1660ff1660ff16815260200160008201600a9054906101000a900460ff1660ff1660ff16815260200160008201600b9054906101000a900460ff1660ff1660ff16815260200160008201600c9054906101000a900460ff1660ff1660ff16815260200160008201600d9054906101000a900460ff1660ff1660ff16815260200160008201600e9054906101000a900460ff1660ff1660ff16815260200160008201600f9054906101000a900460ff1660ff1660ff1681526020016000820160109054906101000a900460ff1660ff1660ff1681526020016000820160119054906101000a900460ff16151515158152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b61150b612361565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611579576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157090614c93565b60405180910390fd5b8060056000611586612361565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611633612361565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116789190614b4d565b60405180910390a35050565b61169561168f612361565b83612422565b6116d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cb90614e73565b60405180910390fd5b6116e084848484612bf5565b50505050565b60606116f1826122f5565b611730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172790614e13565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e9dc637530846040518363ffffffff1660e01b815260040161178b929190614b68565b60006040518083038186803b1580156117a357600080fd5b505afa1580156117b7573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906117e091906143e2565b9050919050565b6117ef612361565b73ffffffffffffffffffffffffffffffffffffffff1661180d61119a565b73ffffffffffffffffffffffffffffffffffffffff1614611863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185a90614db3565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b611897613c9e565b601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff1660ff1660ff16815250509050919050565b611963612361565b73ffffffffffffffffffffffffffffffffffffffff1661198161119a565b73ffffffffffffffffffffffffffffffffffffffff16146119d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ce90614db3565b60405180910390fd5b60005b8151811015611bf757600160106000848481518110611a22577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690836002811115611ab0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550818181518110611aee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160116000848481518110611b33577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548160ff021916908360ff1602179055509050508080611bef90615441565b9150506119da565b5050565b611c03612361565b73ffffffffffffffffffffffffffffffffffffffff16611c2161119a565b73ffffffffffffffffffffffffffffffffffffffff1614611c77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6e90614db3565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60009054906101000a900460ff16611d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7d90614dd3565b60405180910390fd5b600280811115611dbf577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166002811115611e44577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7c90614c53565b60405180910390fd5b60016002811115611ebf577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166002811115611f44577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7b90614bb3565b60405180910390fd5b60406001611f906109f1565b611f9a91906151ae565b10611fa457600080fd5b6127106001611fb16109f1565b611fbb91906151ae565b1115611fc657600080fd5b60005b8151811015612117576000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160149054906101000a900460ff1660ff1611612067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205e90614f13565b60405180910390fd5b6120b08282815181106120a3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612822565b6120b957600080fd5b6121048282815181106120f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160006129d8565b808061210f90615441565b915050611fc9565b5050565b612123612361565b73ffffffffffffffffffffffffffffffffffffffff1661214161119a565b73ffffffffffffffffffffffffffffffffffffffff1614612197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218e90614db3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fe90614c13565b60405180910390fd5b6122108161275c565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122de57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806122ee57506122ed82612c51565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123dc83610d93565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061242d826122f5565b61246c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246390614cd3565b60405180910390fd5b600061247783610d93565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124e657508373ffffffffffffffffffffffffffffffffffffffff166124ce84610849565b73ffffffffffffffffffffffffffffffffffffffff16145b806124f757506124f68185611ca3565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661252082610d93565b73ffffffffffffffffffffffffffffffffffffffff1614612576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256d90614df3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125dd90614c73565b60405180910390fd5b6125f1838383612cbb565b6125fc600082612369565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461264c919061528f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126a391906151ae565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600d826000015160ff161061283857600080fd5b600d826020015160ff161061284c57600080fd5b6009826040015160ff161061286057600080fd5b6002826060015160ff161061287457600080fd5b6008826080015160ff161061288857600080fd5b600a8260a0015160ff161061289c57600080fd5b600d8260c0015160ff16106128b057600080fd5b600d8260e0015160ff16106128c457600080fd5b600d82610100015160ff16106128d957600080fd5b601482610120015160ff16106128ee57600080fd5b600d82610140015160ff161061290357600080fd5b600d82610160015160ff161061291857600080fd5b600c82610180015160ff161061292d57600080fd5b6002826101a0015160ff161061294257600080fd5b6000826101a0015160ff16141561297e57600f826101c0015160ff161061296857600080fd5b600b826101e0015160ff161061297d57600080fd5b5b6001826101a0015160ff1614156129ba576006826101c0015160ff16106129a457600080fd5b6008826101e0015160ff16106129b957600080fd5b5b600882610200015160ff16106129cf57600080fd5b60019050919050565b6002600b541415612a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1590614ef3565b60405180910390fd5b6002600b81905550612a30600c612dcf565b60006007836040015160ff1614612a4b578260a00151612a5d565b60068360a00151612a5c919061548a565b5b90506008836040015160ff1614612a78578260a00151612a8a565b60058360a00151612a89919061548a565b5b90506000808260ff1614612aa2578360600151612aa5565b60025b90506007846040015160ff1611612ac0578360600151612ac3565b60015b90506000604051806102800160405280866000015160ff168152602001866020015160ff168152602001866040015160ff1681526020018360ff168152602001866080015160ff1681526020018460ff1681526020018660c0015160ff1681526020018660e0015160ff16815260200186610100015160ff16815260200186610120015160ff16815260200186610140015160ff16815260200186610160015160ff16815260200186610180015160ff168152602001866101a0015160ff168152602001866101c0015160ff168152602001866101e0015160ff16815260200186610200015160ff1681526020016001151581526020014281526020013373ffffffffffffffffffffffffffffffffffffffff168152509050612be68185612de5565b5050506001600b819055505050565b612c00848484612500565b612c0c84848484613315565b612c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4290614bf3565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612cc68383836134ac565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d0957612d04816134b1565b612d48565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d4757612d4683826134fa565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d8b57612d8681613667565b612dca565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612dc957612dc882826137aa565b5b5b505050565b6001816000016000828254019250508190555050565b612dee82613829565b82610220019015159081151581525050816102200151612e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3a90614ed3565b60405180910390fd5b81600d6000612e52600c6138fa565b815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548160ff021916908360ff16021790555060408201518160000160026101000a81548160ff021916908360ff16021790555060608201518160000160036101000a81548160ff021916908360ff16021790555060808201518160000160046101000a81548160ff021916908360ff16021790555060a08201518160000160056101000a81548160ff021916908360ff16021790555060c08201518160000160066101000a81548160ff021916908360ff16021790555060e08201518160000160076101000a81548160ff021916908360ff1602179055506101008201518160000160086101000a81548160ff021916908360ff1602179055506101208201518160000160096101000a81548160ff021916908360ff16021790555061014082015181600001600a6101000a81548160ff021916908360ff16021790555061016082015181600001600b6101000a81548160ff021916908360ff16021790555061018082015181600001600c6101000a81548160ff021916908360ff1602179055506101a082015181600001600d6101000a81548160ff021916908360ff1602179055506101c082015181600001600e6101000a81548160ff021916908360ff1602179055506101e082015181600001600f6101000a81548160ff021916908360ff1602179055506102008201518160000160106101000a81548160ff021916908360ff1602179055506102208201518160000160116101000a81548160ff02191690831515021790555061024082015181600101556102608201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509050506131243361311f600c6138fa565b613908565b7fbbfede77fe2cfbbabc1e72031e764cacfbef4d37bdcb20ecb252dc20007a7fbd61314f600c6138fa565b60405161315c9190614f6a565b60405180910390a160008160ff161415613311576001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160149054906101000a900460ff166131cc91906152c3565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160146101000a81548160ff021916908360ff1602179055506000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160149054906101000a900460ff1660ff161415613310576002601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083600281111561330a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055505b5b5050565b60006133368473ffffffffffffffffffffffffffffffffffffffff16613926565b1561349f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261335f612361565b8786866040518563ffffffff1660e01b81526004016133819493929190614b01565b602060405180830381600087803b15801561339b57600080fd5b505af19250505080156133cc57506040513d601f19601f820116820180604052508101906133c991906143b9565b60015b61344f573d80600081146133fc576040519150601f19603f3d011682016040523d82523d6000602084013e613401565b606091505b50600081511415613447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343e90614bf3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506134a4565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161350784610e45565b613511919061528f565b90506000600760008481526020019081526020016000205490508181146135f6576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061367b919061528f565b90506000600960008481526020019081526020016000205490506000600883815481106136d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613719577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061378e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006137b583610e45565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080826000015183602001518460400151856060015186608001518760a001518860c001518960e001518a61010001516138638c613939565b60405160200161387c9a99989796959493929190614ff4565b604051602081830303815290604052805190602001209050600e600082815260200190815260200160002060009054906101000a900460ff166138ef576001600e600083815260200190815260200160002060006101000a81548160ff02191690831515021790555060019150506138f5565b60009150505b919050565b600081600001549050919050565b613922828260405180602001604052806000815250613991565b5050565b600080823b905060008111915050919050565b6060816101200151826101400151836101600151846101800151856101a00151866101c00151876101e0015160405160200161397b9796959493929190614f85565b6040516020818303038152906040529050919050565b61399b83836139ec565b6139a86000848484613315565b6139e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139de90614bf3565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a5390614d73565b60405180910390fd5b613a65816122f5565b15613aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a9c90614c33565b60405180910390fd5b613ab160008383612cbb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b0191906151ae565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b604051806102800160405280600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff16815260200160001515815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600060ff1681525090565b6000613ce4613cdf846150bc565b615097565b9050808382526020820190508285610280860282011115613d0457600080fd5b60005b85811015613d355781613d1a8882613f23565b84526020840193506102808301925050600181019050613d07565b5050509392505050565b6000613d52613d4d846150e8565b615097565b90508083825260208201905082856040860282011115613d7157600080fd5b60005b85811015613da15781613d8788826140f1565b845260208401935060408301925050600181019050613d74565b5050509392505050565b6000613dbe613db984615114565b615097565b905082815260208101848484011115613dd657600080fd5b613de184828561539c565b509392505050565b6000613dfc613df784615145565b615097565b905082815260208101848484011115613e1457600080fd5b613e1f8482856153ab565b509392505050565b600081359050613e3681615c8a565b92915050565b600082601f830112613e4d57600080fd5b8135613e5d848260208601613cd1565b91505092915050565b600082601f830112613e7757600080fd5b8135613e87848260208601613d3f565b91505092915050565b600081359050613e9f81615ca1565b92915050565b600081359050613eb481615cb8565b92915050565b600081519050613ec981615cb8565b92915050565b600082601f830112613ee057600080fd5b8135613ef0848260208601613dab565b91505092915050565b600082601f830112613f0a57600080fd5b8151613f1a848260208601613de9565b91505092915050565b60006102808284031215613f3657600080fd5b613f41610280615097565b90506000613f5184828501614152565b6000830152506020613f6584828501614152565b6020830152506040613f7984828501614152565b6040830152506060613f8d84828501614152565b6060830152506080613fa184828501614152565b60808301525060a0613fb584828501614152565b60a08301525060c0613fc984828501614152565b60c08301525060e0613fdd84828501614152565b60e083015250610100613ff284828501614152565b6101008301525061012061400884828501614152565b6101208301525061014061401e84828501614152565b6101408301525061016061403484828501614152565b6101608301525061018061404a84828501614152565b610180830152506101a061406084828501614152565b6101a0830152506101c061407684828501614152565b6101c0830152506101e061408c84828501614152565b6101e0830152506102006140a284828501614152565b610200830152506102206140b884828501613e90565b610220830152506102406140ce8482850161413d565b610240830152506102606140e484828501613e27565b6102608301525092915050565b60006040828403121561410357600080fd5b61410d6040615097565b9050600061411d84828501613e27565b600083015250602061413184828501614152565b60208301525092915050565b60008135905061414c81615ccf565b92915050565b60008135905061416181615ce6565b92915050565b60006020828403121561417957600080fd5b600061418784828501613e27565b91505092915050565b600080604083850312156141a357600080fd5b60006141b185828601613e27565b92505060206141c285828601613e27565b9150509250929050565b6000806000606084860312156141e157600080fd5b60006141ef86828701613e27565b935050602061420086828701613e27565b92505060406142118682870161413d565b9150509250925092565b6000806000806080858703121561423157600080fd5b600061423f87828801613e27565b945050602061425087828801613e27565b93505060406142618782880161413d565b925050606085013567ffffffffffffffff81111561427e57600080fd5b61428a87828801613ecf565b91505092959194509250565b600080604083850312156142a957600080fd5b60006142b785828601613e27565b92505060206142c885828601613e90565b9150509250929050565b600080604083850312156142e557600080fd5b60006142f385828601613e27565b92505060206143048582860161413d565b9150509250929050565b60006020828403121561432057600080fd5b600082013567ffffffffffffffff81111561433a57600080fd5b61434684828501613e3c565b91505092915050565b60006020828403121561436157600080fd5b600082013567ffffffffffffffff81111561437b57600080fd5b61438784828501613e66565b91505092915050565b6000602082840312156143a257600080fd5b60006143b084828501613ea5565b91505092915050565b6000602082840312156143cb57600080fd5b60006143d984828501613eba565b91505092915050565b6000602082840312156143f457600080fd5b600082015167ffffffffffffffff81111561440e57600080fd5b61441a84828501613ef9565b91505092915050565b60006020828403121561443557600080fd5b60006144438482850161413d565b91505092915050565b614455816152f7565b82525050565b614464816152f7565b82525050565b61447381615309565b82525050565b61448281615309565b82525050565b600061449382615176565b61449d818561518c565b93506144ad8185602086016153ab565b6144b681615577565b840191505092915050565b6144ca81615378565b82525050565b60006144db82615181565b6144e5818561519d565b93506144f58185602086016153ab565b6144fe81615577565b840191505092915050565b6000614516601d8361519d565b915061452182615588565b602082019050919050565b6000614539602b8361519d565b9150614544826155b1565b604082019050919050565b600061455c60328361519d565b915061456782615600565b604082019050919050565b600061457f60268361519d565b915061458a8261564f565b604082019050919050565b60006145a2601c8361519d565b91506145ad8261569e565b602082019050919050565b60006145c560228361519d565b91506145d0826156c7565b604082019050919050565b60006145e860248361519d565b91506145f382615716565b604082019050919050565b600061460b60198361519d565b915061461682615765565b602082019050919050565b600061462e601f8361519d565b91506146398261578e565b602082019050919050565b6000614651602c8361519d565b915061465c826157b7565b604082019050919050565b600061467460388361519d565b915061467f82615806565b604082019050919050565b6000614697602a8361519d565b91506146a282615855565b604082019050919050565b60006146ba60298361519d565b91506146c5826158a4565b604082019050919050565b60006146dd60198361519d565b91506146e8826158f3565b602082019050919050565b600061470060208361519d565b915061470b8261591c565b602082019050919050565b6000614723602c8361519d565b915061472e82615945565b604082019050919050565b600061474660208361519d565b915061475182615994565b602082019050919050565b600061476960168361519d565b9150614774826159bd565b602082019050919050565b600061478c60298361519d565b9150614797826159e6565b604082019050919050565b60006147af602f8361519d565b91506147ba82615a35565b604082019050919050565b60006147d260218361519d565b91506147dd82615a84565b604082019050919050565b60006147f560278361519d565b915061480082615ad3565b604082019050919050565b600061481860318361519d565b915061482382615b22565b604082019050919050565b600061483b602c8361519d565b915061484682615b71565b604082019050919050565b600061485e60268361519d565b915061486982615bc0565b604082019050919050565b6000614881601c8361519d565b915061488c82615c0f565b602082019050919050565b60006148a4601f8361519d565b91506148af82615c38565b602082019050919050565b60006148c760108361519d565b91506148d282615c61565b602082019050919050565b610280820160008201516148f46000850182614ac8565b5060208201516149076020850182614ac8565b50604082015161491a6040850182614ac8565b50606082015161492d6060850182614ac8565b5060808201516149406080850182614ac8565b5060a082015161495360a0850182614ac8565b5060c082015161496660c0850182614ac8565b5060e082015161497960e0850182614ac8565b5061010082015161498e610100850182614ac8565b506101208201516149a3610120850182614ac8565b506101408201516149b8610140850182614ac8565b506101608201516149cd610160850182614ac8565b506101808201516149e2610180850182614ac8565b506101a08201516149f76101a0850182614ac8565b506101c0820151614a0c6101c0850182614ac8565b506101e0820151614a216101e0850182614ac8565b50610200820151614a36610200850182614ac8565b50610220820151614a4b61022085018261446a565b50610240820151614a60610240850182614aaa565b50610260820151614a7561026085018261444c565b50505050565b604082016000820151614a91600085018261444c565b506020820151614aa46020850182614ac8565b50505050565b614ab381615361565b82525050565b614ac281615361565b82525050565b614ad18161536b565b82525050565b614ae08161536b565b82525050565b6000602082019050614afb600083018461445b565b92915050565b6000608082019050614b16600083018761445b565b614b23602083018661445b565b614b306040830185614ab9565b8181036060830152614b428184614488565b905095945050505050565b6000602082019050614b626000830184614479565b92915050565b6000604082019050614b7d60008301856144c1565b614b8a6020830184614ab9565b9392505050565b60006020820190508181036000830152614bab81846144d0565b905092915050565b60006020820190508181036000830152614bcc81614509565b9050919050565b60006020820190508181036000830152614bec8161452c565b9050919050565b60006020820190508181036000830152614c0c8161454f565b9050919050565b60006020820190508181036000830152614c2c81614572565b9050919050565b60006020820190508181036000830152614c4c81614595565b9050919050565b60006020820190508181036000830152614c6c816145b8565b9050919050565b60006020820190508181036000830152614c8c816145db565b9050919050565b60006020820190508181036000830152614cac816145fe565b9050919050565b60006020820190508181036000830152614ccc81614621565b9050919050565b60006020820190508181036000830152614cec81614644565b9050919050565b60006020820190508181036000830152614d0c81614667565b9050919050565b60006020820190508181036000830152614d2c8161468a565b9050919050565b60006020820190508181036000830152614d4c816146ad565b9050919050565b60006020820190508181036000830152614d6c816146d0565b9050919050565b60006020820190508181036000830152614d8c816146f3565b9050919050565b60006020820190508181036000830152614dac81614716565b9050919050565b60006020820190508181036000830152614dcc81614739565b9050919050565b60006020820190508181036000830152614dec8161475c565b9050919050565b60006020820190508181036000830152614e0c8161477f565b9050919050565b60006020820190508181036000830152614e2c816147a2565b9050919050565b60006020820190508181036000830152614e4c816147c5565b9050919050565b60006020820190508181036000830152614e6c816147e8565b9050919050565b60006020820190508181036000830152614e8c8161480b565b9050919050565b60006020820190508181036000830152614eac8161482e565b9050919050565b60006020820190508181036000830152614ecc81614851565b9050919050565b60006020820190508181036000830152614eec81614874565b9050919050565b60006020820190508181036000830152614f0c81614897565b9050919050565b60006020820190508181036000830152614f2c816148ba565b9050919050565b600061028082019050614f4960008301846148dd565b92915050565b6000604082019050614f646000830184614a7b565b92915050565b6000602082019050614f7f6000830184614ab9565b92915050565b600060e082019050614f9a600083018a614ad7565b614fa76020830189614ad7565b614fb46040830188614ad7565b614fc16060830187614ad7565b614fce6080830186614ad7565b614fdb60a0830185614ad7565b614fe860c0830184614ad7565b98975050505050505050565b60006101408201905061500a600083018d614ad7565b615017602083018c614ad7565b615024604083018b614ad7565b615031606083018a614ad7565b61503e6080830189614ad7565b61504b60a0830188614ad7565b61505860c0830187614ad7565b61506560e0830186614ad7565b615073610100830185614ad7565b8181036101208301526150868184614488565b90509b9a5050505050505050505050565b60006150a16150b2565b90506150ad8282615410565b919050565b6000604051905090565b600067ffffffffffffffff8211156150d7576150d6615548565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561510357615102615548565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561512f5761512e615548565b5b61513882615577565b9050602081019050919050565b600067ffffffffffffffff8211156151605761515f615548565b5b61516982615577565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006151b982615361565b91506151c483615361565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156151f9576151f86154bb565b5b828201905092915050565b600061520f82615361565b915061521a83615361565b92508261522a576152296154ea565b5b828204905092915050565b600061524082615361565b915061524b83615361565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615284576152836154bb565b5b828202905092915050565b600061529a82615361565b91506152a583615361565b9250828210156152b8576152b76154bb565b5b828203905092915050565b60006152ce8261536b565b91506152d98361536b565b9250828210156152ec576152eb6154bb565b5b828203905092915050565b600061530282615341565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006153838261538a565b9050919050565b600061539582615341565b9050919050565b82818337600083830152505050565b60005b838110156153c95780820151818401526020810190506153ae565b838111156153d8576000848401525b50505050565b600060028204905060018216806153f657607f821691505b6020821081141561540a57615409615519565b5b50919050565b61541982615577565b810181811067ffffffffffffffff8211171561543857615437615548565b5b80604052505050565b600061544c82615361565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561547f5761547e6154bb565b5b600182019050919050565b60006154958261536b565b91506154a08361536b565b9250826154b0576154af6154ea565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f596f7520617265206e6f74206120666f756e64696e67206d656d626572000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f596f7527766520616c726561647920636c61696d656420796f7572204372656560008201527f707a000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f596f752063616e2774206d696e742074686174206d616e792043726565707a00600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5072652d73616c65206973206e6f742061637469766500000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f596f75206469646e27742073656e642074686520726967687420616d6f756e7460008201527f206f662065746800000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d696e7420776f756c6420657863656564206d617820737570706c79206f662060008201527f43726565707a0000000000000000000000000000000000000000000000000000602082015250565b7f546869732043726565707a20657869737420616c6c7265616479202100000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4e6f206d6f7265204d696e747061737300000000000000000000000000000000600082015250565b615c93816152f7565b8114615c9e57600080fd5b50565b615caa81615309565b8114615cb557600080fd5b50565b615cc181615315565b8114615ccc57600080fd5b50565b615cd881615361565b8114615ce357600080fd5b50565b615cef8161536b565b8114615cfa57600080fd5b5056fea264697066735822122030ef665126899eeb068868a5acf8d6bb8edc6a8827245494fa6f41e8b1cae26c64736f6c634300080400330000000000000000000000008e2c193858038d7cddd9e2c0c89848a0124afb4f

Deployed Bytecode

0x6080604052600436106101d85760003560e01c80637b59812d11610102578063c87b56dd11610095578063e222c7f911610064578063e222c7f9146106a4578063e985e9c5146106bb578063ee9059e0146106f8578063f2fde38b14610714576101d8565b8063c87b56dd146105ea578063ca3cb52214610627578063de6746a51461063e578063dfd666ca1461067b576101d8565b80639d044ed3116100d15780639d044ed314610530578063a005ec7a1461055b578063a22cb46514610598578063b88d4fde146105c1576101d8565b80637b59812d146104935780637d6a106c146104af5780638da5cb5b146104da57806395d89b4114610505576101d8565b806323b872dd1161017a5780634f6ccce7116101495780634f6ccce7146103c55780636352211e1461040257806370a082311461043f578063715018a61461047c576101d8565b806323b872dd1461032c5780632f745c59146103555780633ccfd60b1461039257806342842e0e1461039c576101d8565b8063095ea7b3116101b6578063095ea7b31461028257806315230025146102ab57806318160ddd146102d65780631e84c41314610301576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190614390565b61073d565b6040516102119190614b4d565b60405180910390f35b34801561022657600080fd5b5061022f6107b7565b60405161023c9190614b91565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190614423565b610849565b6040516102799190614ae6565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a491906142d2565b6108ce565b005b3480156102b757600080fd5b506102c06109e6565b6040516102cd9190614f6a565b60405180910390f35b3480156102e257600080fd5b506102eb6109f1565b6040516102f89190614f6a565b60405180910390f35b34801561030d57600080fd5b506103166109fe565b6040516103239190614b4d565b60405180910390f35b34801561033857600080fd5b50610353600480360381019061034e91906141cc565b610a15565b005b34801561036157600080fd5b5061037c600480360381019061037791906142d2565b610a75565b6040516103899190614f6a565b60405180910390f35b61039a610b1a565b005b3480156103a857600080fd5b506103c360048036038101906103be91906141cc565b610cdc565b005b3480156103d157600080fd5b506103ec60048036038101906103e79190614423565b610cfc565b6040516103f99190614f6a565b60405180910390f35b34801561040e57600080fd5b5061042960048036038101906104249190614423565b610d93565b6040516104369190614ae6565b60405180910390f35b34801561044b57600080fd5b5061046660048036038101906104619190614167565b610e45565b6040516104739190614f6a565b60405180910390f35b34801561048857600080fd5b50610491610efd565b005b6104ad60048036038101906104a8919061430e565b610f85565b005b3480156104bb57600080fd5b506104c4611194565b6040516104d19190614f6a565b60405180910390f35b3480156104e657600080fd5b506104ef61119a565b6040516104fc9190614ae6565b60405180910390f35b34801561051157600080fd5b5061051a6111c4565b6040516105279190614b91565b60405180910390f35b34801561053c57600080fd5b50610545611256565b6040516105529190614b4d565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d9190614423565b61126d565b60405161058f9190614f33565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba9190614296565b611503565b005b3480156105cd57600080fd5b506105e860048036038101906105e3919061421b565b611684565b005b3480156105f657600080fd5b50610611600480360381019061060c9190614423565b6116e6565b60405161061e9190614b91565b60405180910390f35b34801561063357600080fd5b5061063c6117e7565b005b34801561064a57600080fd5b5061066560048036038101906106609190614167565b61188f565b6040516106729190614f4f565b60405180910390f35b34801561068757600080fd5b506106a2600480360381019061069d919061434f565b61195b565b005b3480156106b057600080fd5b506106b9611bfb565b005b3480156106c757600080fd5b506106e260048036038101906106dd9190614190565b611ca3565b6040516106ef9190614b4d565b60405180910390f35b610712600480360381019061070d919061430e565b611d37565b005b34801561072057600080fd5b5061073b60048036038101906107369190614167565b61211b565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107b057506107af82612213565b5b9050919050565b6060600080546107c6906153de565b80601f01602080910402602001604051908101604052809291908181526020018280546107f2906153de565b801561083f5780601f106108145761010080835404028352916020019161083f565b820191906000526020600020905b81548152906001019060200180831161082257829003601f168201915b5050505050905090565b6000610854826122f5565b610893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088a90614d93565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108d982610d93565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561094a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094190614e33565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610969612361565b73ffffffffffffffffffffffffffffffffffffffff161480610998575061099781610992612361565b611ca3565b5b6109d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ce90614cf3565b60405180910390fd5b6109e18383612369565b505050565b66b1a2bc2ec5000081565b6000600880549050905090565b6000600f60019054906101000a900460ff16905090565b610a26610a20612361565b82612422565b610a65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5c90614e73565b60405180910390fd5b610a70838383612500565b505050565b6000610a8083610e45565b8210610ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab890614bd3565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610b22612361565b73ffffffffffffffffffffffffffffffffffffffff16610b4061119a565b73ffffffffffffffffffffffffffffffffffffffff1614610b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8d90614db3565b60405180910390fd5b6000479050736a40a7029082ac592546506353f0cf811a0e897473ffffffffffffffffffffffffffffffffffffffff166108fc6064601e84610bd89190615235565b610be29190615204565b9081150290604051600060405180830381858888f19350505050610c0557600080fd5b73b5d8cd851d13c06567371498190f4aaa37c8ef5e73ffffffffffffffffffffffffffffffffffffffff166108fc6064602384610c429190615235565b610c4c9190615204565b9081150290604051600060405180830381858888f19350505050610c6f57600080fd5b73120698b4fc29b6108abaaebc0ea03f88cc46ec6773ffffffffffffffffffffffffffffffffffffffff166108fc6064602384610cac9190615235565b610cb69190615204565b9081150290604051600060405180830381858888f19350505050610cd957600080fd5b50565b610cf783838360405180602001604052806000815250611684565b505050565b6000610d066109f1565b8210610d47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3e90614e93565b60405180910390fd5b60088281548110610d81577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3390614d33565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610eb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ead90614d13565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f05612361565b73ffffffffffffffffffffffffffffffffffffffff16610f2361119a565b73ffffffffffffffffffffffffffffffffffffffff1614610f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7090614db3565b60405180910390fd5b610f83600061275c565b565b600f60019054906101000a900460ff16610fd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcb90614d53565b60405180910390fd5b60008151118015610fe75750600a815111155b611026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101d90614cb3565b60405180910390fd5b61271081516110336109f1565b61103d91906151ae565b111561107e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107590614eb3565b60405180910390fd5b66b1a2bc2ec5000081516110929190615235565b3410156110d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cb90614e53565b60405180910390fd5b60005b81518110156111905761112982828151811061111c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612822565b61113257600080fd5b61117d82828151811061116e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160016129d8565b808061118890615441565b9150506110d7565b5050565b61271081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546111d3906153de565b80601f01602080910402602001604051908101604052809291908181526020018280546111ff906153de565b801561124c5780601f106112215761010080835404028352916020019161124c565b820191906000526020600020905b81548152906001019060200180831161122f57829003601f168201915b5050505050905090565b6000600f60009054906101000a900460ff16905090565b611275613bba565b600d6000838152602001908152602001600020604051806102800160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900460ff1660ff1660ff1681526020016000820160039054906101000a900460ff1660ff1660ff1681526020016000820160049054906101000a900460ff1660ff1660ff1681526020016000820160059054906101000a900460ff1660ff1660ff1681526020016000820160069054906101000a900460ff1660ff1660ff1681526020016000820160079054906101000a900460ff1660ff1660ff1681526020016000820160089054906101000a900460ff1660ff1660ff1681526020016000820160099054906101000a900460ff1660ff1660ff16815260200160008201600a9054906101000a900460ff1660ff1660ff16815260200160008201600b9054906101000a900460ff1660ff1660ff16815260200160008201600c9054906101000a900460ff1660ff1660ff16815260200160008201600d9054906101000a900460ff1660ff1660ff16815260200160008201600e9054906101000a900460ff1660ff1660ff16815260200160008201600f9054906101000a900460ff1660ff1660ff1681526020016000820160109054906101000a900460ff1660ff1660ff1681526020016000820160119054906101000a900460ff16151515158152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b61150b612361565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611579576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157090614c93565b60405180910390fd5b8060056000611586612361565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611633612361565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116789190614b4d565b60405180910390a35050565b61169561168f612361565b83612422565b6116d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cb90614e73565b60405180910390fd5b6116e084848484612bf5565b50505050565b60606116f1826122f5565b611730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172790614e13565b60405180910390fd5b7f0000000000000000000000008e2c193858038d7cddd9e2c0c89848a0124afb4f73ffffffffffffffffffffffffffffffffffffffff1663e9dc637530846040518363ffffffff1660e01b815260040161178b929190614b68565b60006040518083038186803b1580156117a357600080fd5b505afa1580156117b7573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906117e091906143e2565b9050919050565b6117ef612361565b73ffffffffffffffffffffffffffffffffffffffff1661180d61119a565b73ffffffffffffffffffffffffffffffffffffffff1614611863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185a90614db3565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b611897613c9e565b601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff1660ff1660ff16815250509050919050565b611963612361565b73ffffffffffffffffffffffffffffffffffffffff1661198161119a565b73ffffffffffffffffffffffffffffffffffffffff16146119d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ce90614db3565b60405180910390fd5b60005b8151811015611bf757600160106000848481518110611a22577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690836002811115611ab0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550818181518110611aee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160116000848481518110611b33577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548160ff021916908360ff1602179055509050508080611bef90615441565b9150506119da565b5050565b611c03612361565b73ffffffffffffffffffffffffffffffffffffffff16611c2161119a565b73ffffffffffffffffffffffffffffffffffffffff1614611c77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6e90614db3565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60009054906101000a900460ff16611d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7d90614dd3565b60405180910390fd5b600280811115611dbf577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166002811115611e44577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7c90614c53565b60405180910390fd5b60016002811115611ebf577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166002811115611f44577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7b90614bb3565b60405180910390fd5b60406001611f906109f1565b611f9a91906151ae565b10611fa457600080fd5b6127106001611fb16109f1565b611fbb91906151ae565b1115611fc657600080fd5b60005b8151811015612117576000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160149054906101000a900460ff1660ff1611612067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205e90614f13565b60405180910390fd5b6120b08282815181106120a3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612822565b6120b957600080fd5b6121048282815181106120f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160006129d8565b808061210f90615441565b915050611fc9565b5050565b612123612361565b73ffffffffffffffffffffffffffffffffffffffff1661214161119a565b73ffffffffffffffffffffffffffffffffffffffff1614612197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218e90614db3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fe90614c13565b60405180910390fd5b6122108161275c565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122de57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806122ee57506122ed82612c51565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123dc83610d93565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061242d826122f5565b61246c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246390614cd3565b60405180910390fd5b600061247783610d93565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124e657508373ffffffffffffffffffffffffffffffffffffffff166124ce84610849565b73ffffffffffffffffffffffffffffffffffffffff16145b806124f757506124f68185611ca3565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661252082610d93565b73ffffffffffffffffffffffffffffffffffffffff1614612576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256d90614df3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125dd90614c73565b60405180910390fd5b6125f1838383612cbb565b6125fc600082612369565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461264c919061528f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126a391906151ae565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600d826000015160ff161061283857600080fd5b600d826020015160ff161061284c57600080fd5b6009826040015160ff161061286057600080fd5b6002826060015160ff161061287457600080fd5b6008826080015160ff161061288857600080fd5b600a8260a0015160ff161061289c57600080fd5b600d8260c0015160ff16106128b057600080fd5b600d8260e0015160ff16106128c457600080fd5b600d82610100015160ff16106128d957600080fd5b601482610120015160ff16106128ee57600080fd5b600d82610140015160ff161061290357600080fd5b600d82610160015160ff161061291857600080fd5b600c82610180015160ff161061292d57600080fd5b6002826101a0015160ff161061294257600080fd5b6000826101a0015160ff16141561297e57600f826101c0015160ff161061296857600080fd5b600b826101e0015160ff161061297d57600080fd5b5b6001826101a0015160ff1614156129ba576006826101c0015160ff16106129a457600080fd5b6008826101e0015160ff16106129b957600080fd5b5b600882610200015160ff16106129cf57600080fd5b60019050919050565b6002600b541415612a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1590614ef3565b60405180910390fd5b6002600b81905550612a30600c612dcf565b60006007836040015160ff1614612a4b578260a00151612a5d565b60068360a00151612a5c919061548a565b5b90506008836040015160ff1614612a78578260a00151612a8a565b60058360a00151612a89919061548a565b5b90506000808260ff1614612aa2578360600151612aa5565b60025b90506007846040015160ff1611612ac0578360600151612ac3565b60015b90506000604051806102800160405280866000015160ff168152602001866020015160ff168152602001866040015160ff1681526020018360ff168152602001866080015160ff1681526020018460ff1681526020018660c0015160ff1681526020018660e0015160ff16815260200186610100015160ff16815260200186610120015160ff16815260200186610140015160ff16815260200186610160015160ff16815260200186610180015160ff168152602001866101a0015160ff168152602001866101c0015160ff168152602001866101e0015160ff16815260200186610200015160ff1681526020016001151581526020014281526020013373ffffffffffffffffffffffffffffffffffffffff168152509050612be68185612de5565b5050506001600b819055505050565b612c00848484612500565b612c0c84848484613315565b612c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4290614bf3565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612cc68383836134ac565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d0957612d04816134b1565b612d48565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d4757612d4683826134fa565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d8b57612d8681613667565b612dca565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612dc957612dc882826137aa565b5b5b505050565b6001816000016000828254019250508190555050565b612dee82613829565b82610220019015159081151581525050816102200151612e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3a90614ed3565b60405180910390fd5b81600d6000612e52600c6138fa565b815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548160ff021916908360ff16021790555060408201518160000160026101000a81548160ff021916908360ff16021790555060608201518160000160036101000a81548160ff021916908360ff16021790555060808201518160000160046101000a81548160ff021916908360ff16021790555060a08201518160000160056101000a81548160ff021916908360ff16021790555060c08201518160000160066101000a81548160ff021916908360ff16021790555060e08201518160000160076101000a81548160ff021916908360ff1602179055506101008201518160000160086101000a81548160ff021916908360ff1602179055506101208201518160000160096101000a81548160ff021916908360ff16021790555061014082015181600001600a6101000a81548160ff021916908360ff16021790555061016082015181600001600b6101000a81548160ff021916908360ff16021790555061018082015181600001600c6101000a81548160ff021916908360ff1602179055506101a082015181600001600d6101000a81548160ff021916908360ff1602179055506101c082015181600001600e6101000a81548160ff021916908360ff1602179055506101e082015181600001600f6101000a81548160ff021916908360ff1602179055506102008201518160000160106101000a81548160ff021916908360ff1602179055506102208201518160000160116101000a81548160ff02191690831515021790555061024082015181600101556102608201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509050506131243361311f600c6138fa565b613908565b7fbbfede77fe2cfbbabc1e72031e764cacfbef4d37bdcb20ecb252dc20007a7fbd61314f600c6138fa565b60405161315c9190614f6a565b60405180910390a160008160ff161415613311576001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160149054906101000a900460ff166131cc91906152c3565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160146101000a81548160ff021916908360ff1602179055506000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160149054906101000a900460ff1660ff161415613310576002601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083600281111561330a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055505b5b5050565b60006133368473ffffffffffffffffffffffffffffffffffffffff16613926565b1561349f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261335f612361565b8786866040518563ffffffff1660e01b81526004016133819493929190614b01565b602060405180830381600087803b15801561339b57600080fd5b505af19250505080156133cc57506040513d601f19601f820116820180604052508101906133c991906143b9565b60015b61344f573d80600081146133fc576040519150601f19603f3d011682016040523d82523d6000602084013e613401565b606091505b50600081511415613447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343e90614bf3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506134a4565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161350784610e45565b613511919061528f565b90506000600760008481526020019081526020016000205490508181146135f6576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061367b919061528f565b90506000600960008481526020019081526020016000205490506000600883815481106136d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613719577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061378e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006137b583610e45565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080826000015183602001518460400151856060015186608001518760a001518860c001518960e001518a61010001516138638c613939565b60405160200161387c9a99989796959493929190614ff4565b604051602081830303815290604052805190602001209050600e600082815260200190815260200160002060009054906101000a900460ff166138ef576001600e600083815260200190815260200160002060006101000a81548160ff02191690831515021790555060019150506138f5565b60009150505b919050565b600081600001549050919050565b613922828260405180602001604052806000815250613991565b5050565b600080823b905060008111915050919050565b6060816101200151826101400151836101600151846101800151856101a00151866101c00151876101e0015160405160200161397b9796959493929190614f85565b6040516020818303038152906040529050919050565b61399b83836139ec565b6139a86000848484613315565b6139e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139de90614bf3565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a5390614d73565b60405180910390fd5b613a65816122f5565b15613aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a9c90614c33565b60405180910390fd5b613ab160008383612cbb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b0191906151ae565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b604051806102800160405280600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff16815260200160001515815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600060ff1681525090565b6000613ce4613cdf846150bc565b615097565b9050808382526020820190508285610280860282011115613d0457600080fd5b60005b85811015613d355781613d1a8882613f23565b84526020840193506102808301925050600181019050613d07565b5050509392505050565b6000613d52613d4d846150e8565b615097565b90508083825260208201905082856040860282011115613d7157600080fd5b60005b85811015613da15781613d8788826140f1565b845260208401935060408301925050600181019050613d74565b5050509392505050565b6000613dbe613db984615114565b615097565b905082815260208101848484011115613dd657600080fd5b613de184828561539c565b509392505050565b6000613dfc613df784615145565b615097565b905082815260208101848484011115613e1457600080fd5b613e1f8482856153ab565b509392505050565b600081359050613e3681615c8a565b92915050565b600082601f830112613e4d57600080fd5b8135613e5d848260208601613cd1565b91505092915050565b600082601f830112613e7757600080fd5b8135613e87848260208601613d3f565b91505092915050565b600081359050613e9f81615ca1565b92915050565b600081359050613eb481615cb8565b92915050565b600081519050613ec981615cb8565b92915050565b600082601f830112613ee057600080fd5b8135613ef0848260208601613dab565b91505092915050565b600082601f830112613f0a57600080fd5b8151613f1a848260208601613de9565b91505092915050565b60006102808284031215613f3657600080fd5b613f41610280615097565b90506000613f5184828501614152565b6000830152506020613f6584828501614152565b6020830152506040613f7984828501614152565b6040830152506060613f8d84828501614152565b6060830152506080613fa184828501614152565b60808301525060a0613fb584828501614152565b60a08301525060c0613fc984828501614152565b60c08301525060e0613fdd84828501614152565b60e083015250610100613ff284828501614152565b6101008301525061012061400884828501614152565b6101208301525061014061401e84828501614152565b6101408301525061016061403484828501614152565b6101608301525061018061404a84828501614152565b610180830152506101a061406084828501614152565b6101a0830152506101c061407684828501614152565b6101c0830152506101e061408c84828501614152565b6101e0830152506102006140a284828501614152565b610200830152506102206140b884828501613e90565b610220830152506102406140ce8482850161413d565b610240830152506102606140e484828501613e27565b6102608301525092915050565b60006040828403121561410357600080fd5b61410d6040615097565b9050600061411d84828501613e27565b600083015250602061413184828501614152565b60208301525092915050565b60008135905061414c81615ccf565b92915050565b60008135905061416181615ce6565b92915050565b60006020828403121561417957600080fd5b600061418784828501613e27565b91505092915050565b600080604083850312156141a357600080fd5b60006141b185828601613e27565b92505060206141c285828601613e27565b9150509250929050565b6000806000606084860312156141e157600080fd5b60006141ef86828701613e27565b935050602061420086828701613e27565b92505060406142118682870161413d565b9150509250925092565b6000806000806080858703121561423157600080fd5b600061423f87828801613e27565b945050602061425087828801613e27565b93505060406142618782880161413d565b925050606085013567ffffffffffffffff81111561427e57600080fd5b61428a87828801613ecf565b91505092959194509250565b600080604083850312156142a957600080fd5b60006142b785828601613e27565b92505060206142c885828601613e90565b9150509250929050565b600080604083850312156142e557600080fd5b60006142f385828601613e27565b92505060206143048582860161413d565b9150509250929050565b60006020828403121561432057600080fd5b600082013567ffffffffffffffff81111561433a57600080fd5b61434684828501613e3c565b91505092915050565b60006020828403121561436157600080fd5b600082013567ffffffffffffffff81111561437b57600080fd5b61438784828501613e66565b91505092915050565b6000602082840312156143a257600080fd5b60006143b084828501613ea5565b91505092915050565b6000602082840312156143cb57600080fd5b60006143d984828501613eba565b91505092915050565b6000602082840312156143f457600080fd5b600082015167ffffffffffffffff81111561440e57600080fd5b61441a84828501613ef9565b91505092915050565b60006020828403121561443557600080fd5b60006144438482850161413d565b91505092915050565b614455816152f7565b82525050565b614464816152f7565b82525050565b61447381615309565b82525050565b61448281615309565b82525050565b600061449382615176565b61449d818561518c565b93506144ad8185602086016153ab565b6144b681615577565b840191505092915050565b6144ca81615378565b82525050565b60006144db82615181565b6144e5818561519d565b93506144f58185602086016153ab565b6144fe81615577565b840191505092915050565b6000614516601d8361519d565b915061452182615588565b602082019050919050565b6000614539602b8361519d565b9150614544826155b1565b604082019050919050565b600061455c60328361519d565b915061456782615600565b604082019050919050565b600061457f60268361519d565b915061458a8261564f565b604082019050919050565b60006145a2601c8361519d565b91506145ad8261569e565b602082019050919050565b60006145c560228361519d565b91506145d0826156c7565b604082019050919050565b60006145e860248361519d565b91506145f382615716565b604082019050919050565b600061460b60198361519d565b915061461682615765565b602082019050919050565b600061462e601f8361519d565b91506146398261578e565b602082019050919050565b6000614651602c8361519d565b915061465c826157b7565b604082019050919050565b600061467460388361519d565b915061467f82615806565b604082019050919050565b6000614697602a8361519d565b91506146a282615855565b604082019050919050565b60006146ba60298361519d565b91506146c5826158a4565b604082019050919050565b60006146dd60198361519d565b91506146e8826158f3565b602082019050919050565b600061470060208361519d565b915061470b8261591c565b602082019050919050565b6000614723602c8361519d565b915061472e82615945565b604082019050919050565b600061474660208361519d565b915061475182615994565b602082019050919050565b600061476960168361519d565b9150614774826159bd565b602082019050919050565b600061478c60298361519d565b9150614797826159e6565b604082019050919050565b60006147af602f8361519d565b91506147ba82615a35565b604082019050919050565b60006147d260218361519d565b91506147dd82615a84565b604082019050919050565b60006147f560278361519d565b915061480082615ad3565b604082019050919050565b600061481860318361519d565b915061482382615b22565b604082019050919050565b600061483b602c8361519d565b915061484682615b71565b604082019050919050565b600061485e60268361519d565b915061486982615bc0565b604082019050919050565b6000614881601c8361519d565b915061488c82615c0f565b602082019050919050565b60006148a4601f8361519d565b91506148af82615c38565b602082019050919050565b60006148c760108361519d565b91506148d282615c61565b602082019050919050565b610280820160008201516148f46000850182614ac8565b5060208201516149076020850182614ac8565b50604082015161491a6040850182614ac8565b50606082015161492d6060850182614ac8565b5060808201516149406080850182614ac8565b5060a082015161495360a0850182614ac8565b5060c082015161496660c0850182614ac8565b5060e082015161497960e0850182614ac8565b5061010082015161498e610100850182614ac8565b506101208201516149a3610120850182614ac8565b506101408201516149b8610140850182614ac8565b506101608201516149cd610160850182614ac8565b506101808201516149e2610180850182614ac8565b506101a08201516149f76101a0850182614ac8565b506101c0820151614a0c6101c0850182614ac8565b506101e0820151614a216101e0850182614ac8565b50610200820151614a36610200850182614ac8565b50610220820151614a4b61022085018261446a565b50610240820151614a60610240850182614aaa565b50610260820151614a7561026085018261444c565b50505050565b604082016000820151614a91600085018261444c565b506020820151614aa46020850182614ac8565b50505050565b614ab381615361565b82525050565b614ac281615361565b82525050565b614ad18161536b565b82525050565b614ae08161536b565b82525050565b6000602082019050614afb600083018461445b565b92915050565b6000608082019050614b16600083018761445b565b614b23602083018661445b565b614b306040830185614ab9565b8181036060830152614b428184614488565b905095945050505050565b6000602082019050614b626000830184614479565b92915050565b6000604082019050614b7d60008301856144c1565b614b8a6020830184614ab9565b9392505050565b60006020820190508181036000830152614bab81846144d0565b905092915050565b60006020820190508181036000830152614bcc81614509565b9050919050565b60006020820190508181036000830152614bec8161452c565b9050919050565b60006020820190508181036000830152614c0c8161454f565b9050919050565b60006020820190508181036000830152614c2c81614572565b9050919050565b60006020820190508181036000830152614c4c81614595565b9050919050565b60006020820190508181036000830152614c6c816145b8565b9050919050565b60006020820190508181036000830152614c8c816145db565b9050919050565b60006020820190508181036000830152614cac816145fe565b9050919050565b60006020820190508181036000830152614ccc81614621565b9050919050565b60006020820190508181036000830152614cec81614644565b9050919050565b60006020820190508181036000830152614d0c81614667565b9050919050565b60006020820190508181036000830152614d2c8161468a565b9050919050565b60006020820190508181036000830152614d4c816146ad565b9050919050565b60006020820190508181036000830152614d6c816146d0565b9050919050565b60006020820190508181036000830152614d8c816146f3565b9050919050565b60006020820190508181036000830152614dac81614716565b9050919050565b60006020820190508181036000830152614dcc81614739565b9050919050565b60006020820190508181036000830152614dec8161475c565b9050919050565b60006020820190508181036000830152614e0c8161477f565b9050919050565b60006020820190508181036000830152614e2c816147a2565b9050919050565b60006020820190508181036000830152614e4c816147c5565b9050919050565b60006020820190508181036000830152614e6c816147e8565b9050919050565b60006020820190508181036000830152614e8c8161480b565b9050919050565b60006020820190508181036000830152614eac8161482e565b9050919050565b60006020820190508181036000830152614ecc81614851565b9050919050565b60006020820190508181036000830152614eec81614874565b9050919050565b60006020820190508181036000830152614f0c81614897565b9050919050565b60006020820190508181036000830152614f2c816148ba565b9050919050565b600061028082019050614f4960008301846148dd565b92915050565b6000604082019050614f646000830184614a7b565b92915050565b6000602082019050614f7f6000830184614ab9565b92915050565b600060e082019050614f9a600083018a614ad7565b614fa76020830189614ad7565b614fb46040830188614ad7565b614fc16060830187614ad7565b614fce6080830186614ad7565b614fdb60a0830185614ad7565b614fe860c0830184614ad7565b98975050505050505050565b60006101408201905061500a600083018d614ad7565b615017602083018c614ad7565b615024604083018b614ad7565b615031606083018a614ad7565b61503e6080830189614ad7565b61504b60a0830188614ad7565b61505860c0830187614ad7565b61506560e0830186614ad7565b615073610100830185614ad7565b8181036101208301526150868184614488565b90509b9a5050505050505050505050565b60006150a16150b2565b90506150ad8282615410565b919050565b6000604051905090565b600067ffffffffffffffff8211156150d7576150d6615548565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561510357615102615548565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561512f5761512e615548565b5b61513882615577565b9050602081019050919050565b600067ffffffffffffffff8211156151605761515f615548565b5b61516982615577565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006151b982615361565b91506151c483615361565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156151f9576151f86154bb565b5b828201905092915050565b600061520f82615361565b915061521a83615361565b92508261522a576152296154ea565b5b828204905092915050565b600061524082615361565b915061524b83615361565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615284576152836154bb565b5b828202905092915050565b600061529a82615361565b91506152a583615361565b9250828210156152b8576152b76154bb565b5b828203905092915050565b60006152ce8261536b565b91506152d98361536b565b9250828210156152ec576152eb6154bb565b5b828203905092915050565b600061530282615341565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006153838261538a565b9050919050565b600061539582615341565b9050919050565b82818337600083830152505050565b60005b838110156153c95780820151818401526020810190506153ae565b838111156153d8576000848401525b50505050565b600060028204905060018216806153f657607f821691505b6020821081141561540a57615409615519565b5b50919050565b61541982615577565b810181811067ffffffffffffffff8211171561543857615437615548565b5b80604052505050565b600061544c82615361565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561547f5761547e6154bb565b5b600182019050919050565b60006154958261536b565b91506154a08361536b565b9250826154b0576154af6154ea565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f596f7520617265206e6f74206120666f756e64696e67206d656d626572000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f596f7527766520616c726561647920636c61696d656420796f7572204372656560008201527f707a000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f596f752063616e2774206d696e742074686174206d616e792043726565707a00600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5072652d73616c65206973206e6f742061637469766500000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f596f75206469646e27742073656e642074686520726967687420616d6f756e7460008201527f206f662065746800000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d696e7420776f756c6420657863656564206d617820737570706c79206f662060008201527f43726565707a0000000000000000000000000000000000000000000000000000602082015250565b7f546869732043726565707a20657869737420616c6c7265616479202100000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4e6f206d6f7265204d696e747061737300000000000000000000000000000000600082015250565b615c93816152f7565b8114615c9e57600080fd5b50565b615caa81615309565b8114615cb557600080fd5b50565b615cc181615315565b8114615ccc57600080fd5b50565b615cd881615361565b8114615ce357600080fd5b50565b615cef8161536b565b8114615cfa57600080fd5b5056fea264697066735822122030ef665126899eeb068868a5acf8d6bb8edc6a8827245494fa6f41e8b1cae26c64736f6c63430008040033

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

0000000000000000000000008e2c193858038d7cddd9e2c0c89848a0124afb4f

-----Decoded View---------------
Arg [0] : _tokenDescriptor_ (address): 0x8e2C193858038D7cdDD9e2c0C89848a0124Afb4f

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000008e2c193858038d7cddd9e2c0c89848a0124afb4f


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.