ETH Price: $2,920.24 (+4.14%)
Gas: 8.11 Gwei
 

Overview

Max Total Supply

343 CTL

Holders

297

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
tofubear.eth
Balance
1 CTL
0xf00e0eacc8784ef5dca078116779435400f20515
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

This project generates Titles/Achievements NFTs based on the sets of tokens an account owns. It is entirely on-chain (nfts, metadata and svgs). No dependencies at all. Visit the website: [https://cryptotitles.io](https://cryptotitles.io)

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TitlesCore

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./TitlesDraw.sol";

uint256 constant MAX_PROJECTS_PER_TITLE = 10;
uint256 constant PRICE_CREATE = 10**18;

struct Title { 
   string name;
   address creator;
   uint256 claims;
   string fColor;
   string bColor;
   uint256 price;
}

contract TitlesCore is ERC721Enumerable, Ownable {
    using Strings for uint256;

    address public drawContract; 

    uint256 public totalTitles = 0;
    uint256 public totalTokens = 0;

    mapping(uint256 => address[]) public titleAddresses;
    mapping(uint256 => uint256[]) public titleMinAssets;
    mapping(uint256 => Title) public titles;

    mapping(uint256 => uint256) public tokenTitle;

    mapping(string => bool) private usedNames;
    mapping(string => uint256) public namesToIds;

    event TitleCreated(string name, address indexed creator);
    event TitleClaimed(uint256 indexed titleId, address indexed creator);

    mapping(address => uint256) public credit;
    event Withdrawn(address payee, uint256 payment);

    constructor(address ownerAddress, address _drawContract) ERC721("CryptoTitles", "CTL")  {
        transferOwnership(ownerAddress);
        drawContract = _drawContract;
    }

    function addTitle(string memory _name, address[] memory _projectAddresses, uint256[] memory _minAssets, string memory _fColor, string memory _bColor, uint256 _price) payable public {
        require(_projectAddresses.length <= MAX_PROJECTS_PER_TITLE && _projectAddresses.length > 0, "Max Projects reached or invalid projects");
        require(_projectAddresses.length == _minAssets.length, "Incomplete input");
        require(TitlesDraw(drawContract).validateName(_name), "Invalid name");
        require(!usedNames[_name], "Name used");
        require (msg.value == PRICE_CREATE, "Insuficient eth");
        require(TitlesDraw(drawContract).validateColor(_fColor) && TitlesDraw(drawContract).validateColor(_bColor), "Invalid color");
                
        totalTitles++;

        for (uint i=0; i<_minAssets.length; i++) {
            require(_minAssets[i] >=1, "At least 1");
        }

        for (uint i=0; i<_projectAddresses.length; i++) {
            ERC721Enumerable(_projectAddresses[i]).balanceOf(msg.sender); //will fail if balanceOf is not there
            ERC721Enumerable(_projectAddresses[i]).name(); //will fail if name is not there
        }

        titleAddresses[totalTitles] = _projectAddresses;
        titleMinAssets[totalTitles] = _minAssets;
        titles[totalTitles] = Title({name: _name, creator:msg.sender, claims: 0, fColor: _fColor, bColor: _bColor, price: _price});

        usedNames[_name] = true;
        namesToIds[_name] = totalTitles;

        credit[owner()] += msg.value;

        emit TitleCreated(_name, msg.sender);
    }

    function claim(uint256 _titleId) payable public {
        require(verifyTitle(_titleId, msg.sender), "Missing tokens");
        require (msg.value == titles[_titleId].price, "Insuficient eth");
        totalTokens++;
        titles[_titleId].claims++;

        tokenTitle[totalTokens] = _titleId;
        _safeMint(msg.sender, totalTokens);

        uint256 amount = msg.value/2;
        credit[titles[_titleId].creator] += amount;
        credit[owner()] += amount;

        emit TitleClaimed(_titleId, msg.sender);
    }

    function tokenURI(uint256 _tokenId) override public view returns (string memory) {
        uint256 title = tokenTitle[_tokenId];
        Title memory titleProps = titles[title];

        string memory svgOut = TitlesDraw(drawContract).getSvg(titleProps.name, titleProps.fColor, titleProps.bColor, verifyTitle(title, ownerOf(_tokenId)));
        
        string memory jsonOut = Base64.encode(bytes(string(abi.encodePacked('{"name": "', titleProps.name, '", "description": "Title type #' , title.toString() ,'. Requirements are ', getRequirements(title), '", "image": "', svgOut , '"}'))));

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

    function getRequirements(uint256 title) public view returns (string memory) {
        return TitlesDraw(drawContract).getRequirements(titleAddresses[title], titleMinAssets[title]);
    }

    function verifyTitle(uint256 _titleId, address _account) public view returns (bool) {
        require(_titleId <= totalTitles, "Title id not found"); 
        require(titleAddresses[_titleId].length > 0, "Title id not found");
        for (uint i=0; i<titleAddresses[_titleId].length; i++) {
            if(IERC721(titleAddresses[_titleId][i]).balanceOf(_account) < titleMinAssets[_titleId][i])
                return false;
        }
        return true;
    }

    //hack to work with collab.land as ERC1155
    function balanceOf(address account, uint256 id2) public view virtual returns (uint256) { 
        require(account != address(0), "ERC721: balance query for the zero address");
        if(verifyTitle(id2, account))
            return 1;
        return 0;
    }

    function withdrawCredit() public { 
        require(credit[msg.sender] > 0, "no credit to withdraw");
        uint256 payment = credit[msg.sender];

        credit[msg.sender] = 0;

        payable(msg.sender).transfer(payment);

        emit Withdrawn(msg.sender, payment);
        
    }

    function setDrawContract(address _drawContract) public onlyOwner {
        drawContract = _drawContract;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 5 of 14 : 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 6 of 14 : TitlesDraw.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract TitlesDraw {
    using Strings for uint256;
    function getSvg(string memory name, string memory fColor, string memory bColor, bool isActive) public pure returns (string memory) {
        string[3] memory svgcomps;
        svgcomps[0] = string(abi.encodePacked('<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 175"><style>.c{fill:' , fColor ,';font-family:Courier New;font-size:16px;font-weight:bold;} .i {fill:gray;text-decoration:line-through;}</style>'));
        
        if (isActive)            
            svgcomps[1] = string(abi.encodePacked('<rect width="100%" height="100%" style="fill:', bColor,';stroke-width:6;stroke:black"/><text class="c" x="50%" y="50%" dominant-baseline="middle" text-anchor="middle">', name));
        else
            svgcomps[1] = '<rect width="100%" height="100%" style="fill:white;stroke-width:6;stroke:black"/><text class="c i" x="50%" y="50%" dominant-baseline="middle" text-anchor="middle">Invalid Title';
        
        svgcomps[2] = '</text></svg>';

       return string(abi.encodePacked("data:image/svg+xml;base64,", Base64.encode(bytes(string(abi.encodePacked(svgcomps[0], svgcomps[1], svgcomps[2]))))));
    }

    function getRequirements(address[] memory titleAddresses, uint256[] memory titleMinAssets) public view returns (string memory) {
        string memory description = '';
        for (uint i=0; i<titleAddresses.length-1; i++) {
            description = string(abi.encodePacked(description, titleMinAssets[i].toString(), 'x ', IERC721Metadata(titleAddresses[i]).name(), ', '));
        }
        description = string(abi.encodePacked(description, titleMinAssets[titleAddresses.length-1].toString(), 'x ', IERC721Metadata(titleAddresses[titleAddresses.length-1]).name()));
        return description;
    }

   function validateName(string memory str) public pure returns (bool){
        bytes memory b = bytes(str);
        if(b.length < 1) return false;
        if(b.length > 35) return false; // Cannot be longer than 36 characters
        if(b[0] == 0x20) return false; // Leading space
        if (b[b.length - 1] == 0x20) return false; // Trailing space
        
        bytes1 lastChar = b[0];

        for(uint i; i<b.length; i++){
            bytes1 char = b[i];

            if (char == 0x20 && lastChar == 0x20) return false; // Cannot contain continous spaces

            if(char == 0x3E || char == 0x3C)
                return false;

            lastChar = char;
        }

        return true;
    }

    function validateColor(string memory color) public pure returns (bool){
        bytes memory b = bytes(color);
        if(b.length < 3) return false;
        if(b.length > 20) return false; // Cannot be longer than 36 characters
        if(b[0] == 0x20) return false; // Leading space
        if (b[b.length - 1] == 0x20) return false; // Trailing space
        
        bytes1 lastChar = b[0];

        for(uint i; i<b.length; i++){
            bytes1 char = b[i];

            if (char == 0x20 && lastChar == 0x20) return false; // Cannot contain continous spaces

            if( char == 0x3E || 
                char == 0x3C ||
                char == 0x2F ||
                char == 0x3B ||
                char == 0x3A ||
                char == 0x7D ||
                char == 0x7B ||
                char == 0x3A
                )
                return false;

            lastChar = char;
        }

        return true;
    }
}

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

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

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

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

        bytes memory table = TABLE;

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

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

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

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

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

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

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

File 7 of 14 : 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 8 of 14 : 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 9 of 14 : 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 10 of 14 : 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 11 of 14 : 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 12 of 14 : 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 13 of 14 : 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 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"_drawContract","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":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":"uint256","name":"titleId","type":"uint256"},{"indexed":true,"internalType":"address","name":"creator","type":"address"}],"name":"TitleClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":true,"internalType":"address","name":"creator","type":"address"}],"name":"TitleCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"payee","type":"address"},{"indexed":false,"internalType":"uint256","name":"payment","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"address[]","name":"_projectAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_minAssets","type":"uint256[]"},{"internalType":"string","name":"_fColor","type":"string"},{"internalType":"string","name":"_bColor","type":"string"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"addTitle","outputs":[],"stateMutability":"payable","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":"account","type":"address"},{"internalType":"uint256","name":"id2","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"_titleId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"credit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"drawContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"title","type":"uint256"}],"name":"getRequirements","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"namesToIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"_drawContract","type":"address"}],"name":"setDrawContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"titleAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"titleMinAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"titles","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"address","name":"creator","type":"address"},{"internalType":"uint256","name":"claims","type":"uint256"},{"internalType":"string","name":"fColor","type":"string"},{"internalType":"string","name":"bColor","type":"string"},{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenTitle","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":[],"name":"totalTitles","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_titleId","type":"uint256"},{"internalType":"address","name":"_account","type":"address"}],"name":"verifyTitle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawCredit","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600c556000600d553480156200001b57600080fd5b506040516200655e3803806200655e833981810160405281019062000041919062000430565b6040518060400160405280600c81526020017f43727970746f5469746c657300000000000000000000000000000000000000008152506040518060400160405280600381526020017f43544c00000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c592919062000369565b508060019080519060200190620000de92919062000369565b50505062000101620000f56200015b60201b60201c565b6200016360201b60201c565b62000112826200022960201b60201c565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000623565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002396200015b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200025f6200033f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002b8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002af906200053d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200032b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000322906200051b565b60405180910390fd5b6200033c816200016360201b60201c565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200037790620005a4565b90600052602060002090601f0160209004810192826200039b5760008555620003e7565b82601f10620003b657805160ff1916838001178555620003e7565b82800160010185558215620003e7579182015b82811115620003e6578251825591602001919060010190620003c9565b5b509050620003f69190620003fa565b5090565b5b8082111562000415576000816000905550600101620003fb565b5090565b6000815190506200042a8162000609565b92915050565b600080604083850312156200044457600080fd5b6000620004548582860162000419565b9250506020620004678582860162000419565b9150509250929050565b6000620004806026836200055f565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000620004e86020836200055f565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006020820190508181036000830152620005368162000471565b9050919050565b600060208201905081810360008301526200055881620004d9565b9050919050565b600082825260208201905092915050565b60006200057d8262000584565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620005bd57607f821691505b60208210811415620005d457620005d3620005da565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620006148162000570565b81146200062057600080fd5b50565b615f2b80620006336000396000f3fe6080604052600436106102035760003560e01c80636352211e11610118578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd146107d0578063d5d44d801461080d578063e814371b1461084a578063e985e9c514610866578063f2fde38b146108a357610203565b8063a22cb4651461072a578063b88d4fde14610753578063c36f38741461077c578063c48dde991461079357610203565b8063869d6e0f116100e7578063869d6e0f146106315780638da5cb5b1461066e57806395d89b41146106995780639fa43475146106c4578063a1d0e6c91461070157610203565b80636352211e1461057557806370a08231146105b2578063715018a6146105ef5780637e1c0c091461060657610203565b806323b872dd1161019b5780633eb7331b1161016a5780633eb7331b1461047c57806342842e0e146104b957806347c2ac9c146104e25780634f6ccce71461050d578063514a5b041461054a57610203565b806323b872dd146103b85780632cda1bf7146103e15780632f745c5914610423578063379607f51461046057610203565b8063095ea7b3116101d7578063095ea7b3146102ea57806310a742481461031357806318160ddd146103505780631ce775401461037b57610203565b8062fdd58e1461020857806301ffc9a71461024557806306fdde0314610282578063081812fc146102ad575b600080fd5b34801561021457600080fd5b5061022f600480360381019061022a919061439f565b6108cc565b60405161023c91906158c1565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190614404565b610960565b6040516102799190615454565b60405180910390f35b34801561028e57600080fd5b506102976109da565b6040516102a4919061546f565b60405180910390f35b3480156102b957600080fd5b506102d460048036038101906102cf91906145d9565b610a6c565b6040516102e1919061538d565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c919061439f565b610af1565b005b34801561031f57600080fd5b5061033a600480360381019061033591906145d9565b610c09565b60405161034791906158c1565b60405180910390f35b34801561035c57600080fd5b50610365610c21565b60405161037291906158c1565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d91906145d9565b610c2e565b6040516103af919061546f565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da9190614299565b610d0d565b005b3480156103ed57600080fd5b50610408600480360381019061040391906145d9565b610d6d565b60405161041a96959493929190615491565b60405180910390f35b34801561042f57600080fd5b5061044a6004803603810190610445919061439f565b610f61565b60405161045791906158c1565b60405180910390f35b61047a600480360381019061047591906145d9565b611006565b005b34801561048857600080fd5b506104a3600480360381019061049e9190614456565b611253565b6040516104b091906158c1565b60405180910390f35b3480156104c557600080fd5b506104e060048036038101906104db9190614299565b611281565b005b3480156104ee57600080fd5b506104f76112a1565b60405161050491906158c1565b60405180910390f35b34801561051957600080fd5b50610534600480360381019061052f91906145d9565b6112a7565b60405161054191906158c1565b60405180910390f35b34801561055657600080fd5b5061055f61133e565b60405161056c919061538d565b60405180910390f35b34801561058157600080fd5b5061059c600480360381019061059791906145d9565b611364565b6040516105a9919061538d565b60405180910390f35b3480156105be57600080fd5b506105d960048036038101906105d49190614234565b611416565b6040516105e691906158c1565b60405180910390f35b3480156105fb57600080fd5b506106046114ce565b005b34801561061257600080fd5b5061061b611556565b60405161062891906158c1565b60405180910390f35b34801561063d57600080fd5b5061065860048036038101906106539190614667565b61155c565b60405161066591906158c1565b60405180910390f35b34801561067a57600080fd5b5061068361158d565b604051610690919061538d565b60405180910390f35b3480156106a557600080fd5b506106ae6115b7565b6040516106bb919061546f565b60405180910390f35b3480156106d057600080fd5b506106eb60048036038101906106e69190614667565b611649565b6040516106f8919061538d565b60405180910390f35b34801561070d57600080fd5b5061072860048036038101906107239190614234565b611697565b005b34801561073657600080fd5b50610751600480360381019061074c9190614363565b611757565b005b34801561075f57600080fd5b5061077a600480360381019061077591906142e8565b6118d8565b005b34801561078857600080fd5b5061079161193a565b005b34801561079f57600080fd5b506107ba60048036038101906107b5919061462b565b611ac8565b6040516107c79190615454565b60405180910390f35b3480156107dc57600080fd5b506107f760048036038101906107f291906145d9565b611d0c565b604051610804919061546f565b60405180910390f35b34801561081957600080fd5b50610834600480360381019061082f9190614234565b6120af565b60405161084191906158c1565b60405180910390f35b610864600480360381019061085f91906144d8565b6120c7565b005b34801561087257600080fd5b5061088d6004803603810190610888919061425d565b612975565b60405161089a9190615454565b60405180910390f35b3480156108af57600080fd5b506108ca60048036038101906108c59190614234565b612a09565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561093d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093490615701565b60405180910390fd5b6109478284611ac8565b15610955576001905061095a565b600090505b92915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109d357506109d282612b01565b5b9050919050565b6060600080546109e990615c79565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1590615c79565b8015610a625780601f10610a3757610100808354040283529160200191610a62565b820191906000526020600020905b815481529060010190602001808311610a4557829003601f168201915b5050505050905090565b6000610a7782612be3565b610ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aad906157a1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610afc82611364565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6490615801565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b8c612c4f565b73ffffffffffffffffffffffffffffffffffffffff161480610bbb5750610bba81610bb5612c4f565b612975565b5b610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf1906156c1565b60405180910390fd5b610c048383612c57565b505050565b60116020528060005260406000206000915090505481565b6000600880549050905090565b6060600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318828f21600e6000858152602001908152602001600020600f60008681526020019081526020016000206040518363ffffffff1660e01b8152600401610cb192919061541d565b60006040518083038186803b158015610cc957600080fd5b505afa158015610cdd573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610d069190614497565b9050919050565b610d1e610d18612c4f565b82612d10565b610d5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5490615821565b60405180910390fd5b610d68838383612dee565b505050565b6010602052806000526040600020600091509050806000018054610d9090615c79565b80601f0160208091040260200160405190810160405280929190818152602001828054610dbc90615c79565b8015610e095780601f10610dde57610100808354040283529160200191610e09565b820191906000526020600020905b815481529060010190602001808311610dec57829003601f168201915b5050505050908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806002015490806003018054610e4a90615c79565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7690615c79565b8015610ec35780601f10610e9857610100808354040283529160200191610ec3565b820191906000526020600020905b815481529060010190602001808311610ea657829003601f168201915b505050505090806004018054610ed890615c79565b80601f0160208091040260200160405190810160405280929190818152602001828054610f0490615c79565b8015610f515780601f10610f2657610100808354040283529160200191610f51565b820191906000526020600020905b815481529060010190602001808311610f3457829003601f168201915b5050505050908060050154905086565b6000610f6c83611416565b8210610fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa490615581565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6110108133611ac8565b61104f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611046906158a1565b60405180910390fd5b601060008281526020019081526020016000206005015434146110a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109e90615781565b60405180910390fd5b600d60008154809291906110ba90615cdf565b91905055506010600082815260200190815260200160002060020160008154809291906110e690615cdf565b91905055508060116000600d5481526020019081526020016000208190555061111133600d5461304a565b60006002346111209190615ada565b905080601460006010600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111a79190615a84565b9250508190555080601460006111bb61158d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112049190615a84565b925050819055503373ffffffffffffffffffffffffffffffffffffffff16827fb6485abc94ef4632aa21007747ce07bbaa9334f934b538531757987f9386ef3b60405160405180910390a35050565b6013818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b61129c838383604051806020016040528060008152506118d8565b505050565b600c5481565b60006112b1610c21565b82106112f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e990615861565b60405180910390fd5b6008828154811061132c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561140d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140490615721565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147e90615701565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114d6612c4f565b73ffffffffffffffffffffffffffffffffffffffff166114f461158d565b73ffffffffffffffffffffffffffffffffffffffff161461154a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611541906157c1565b60405180910390fd5b6115546000613068565b565b600d5481565b600f602052816000526040600020818154811061157857600080fd5b90600052602060002001600091509150505481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115c690615c79565b80601f01602080910402602001604051908101604052809291908181526020018280546115f290615c79565b801561163f5780601f106116145761010080835404028352916020019161163f565b820191906000526020600020905b81548152906001019060200180831161162257829003601f168201915b5050505050905090565b600e602052816000526040600020818154811061166557600080fd5b906000526020600020016000915091509054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61169f612c4f565b73ffffffffffffffffffffffffffffffffffffffff166116bd61158d565b73ffffffffffffffffffffffffffffffffffffffff1614611713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170a906157c1565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61175f612c4f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c490615661565b60405180910390fd5b80600560006117da612c4f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611887612c4f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118cc9190615454565b60405180910390a35050565b6118e96118e3612c4f565b83612d10565b611928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191f90615821565b60405180910390fd5b6119348484848461312e565b50505050565b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116119bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b390615841565b60405180910390fd5b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611a8b573d6000803e3d6000fd5b507f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d53382604051611abd9291906153f4565b60405180910390a150565b6000600c54831115611b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0690615621565b60405180910390fd5b6000600e60008581526020019081526020016000208054905011611b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5f90615621565b60405180910390fd5b60005b600e600085815260200190815260200160002080549050811015611d0057600f60008581526020019081526020016000208181548110611bd4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154600e60008681526020019081526020016000208281548110611c2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401611c8d919061538d565b60206040518083038186803b158015611ca557600080fd5b505afa158015611cb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cdd9190614602565b1015611ced576000915050611d06565b8080611cf890615cdf565b915050611b6b565b50600190505b92915050565b60606000601160008481526020019081526020016000205490506000601060008381526020019081526020016000206040518060c0016040529081600082018054611d5690615c79565b80601f0160208091040260200160405190810160405280929190818152602001828054611d8290615c79565b8015611dcf5780601f10611da457610100808354040283529160200191611dcf565b820191906000526020600020905b815481529060010190602001808311611db257829003601f168201915b505050505081526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382018054611e4890615c79565b80601f0160208091040260200160405190810160405280929190818152602001828054611e7490615c79565b8015611ec15780601f10611e9657610100808354040283529160200191611ec1565b820191906000526020600020905b815481529060010190602001808311611ea457829003601f168201915b50505050508152602001600482018054611eda90615c79565b80601f0160208091040260200160405190810160405280929190818152602001828054611f0690615c79565b8015611f535780601f10611f2857610100808354040283529160200191611f53565b820191906000526020600020905b815481529060010190602001808311611f3657829003601f168201915b5050505050815260200160058201548152505090506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662f368ca836000015184606001518560800151611fc888611fc38c611364565b611ac8565b6040518563ffffffff1660e01b8152600401611fe79493929190615507565b60006040518083038186803b158015611fff57600080fd5b505afa158015612013573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061203c9190614497565b9050600061208283600001516120518661318a565b61205a87610c2e565b8560405160200161206e94939291906152f6565b604051602081830303815290604052613337565b905080604051602001612095919061536b565b604051602081830303815290604052945050505050919050565b60146020528060005260406000206000915090505481565b600a8551111580156120da575060008551115b612119576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612110906156a1565b60405180910390fd5b835185511461215d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215490615601565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639ffdb65a876040518263ffffffff1660e01b81526004016121b8919061546f565b60206040518083038186803b1580156121d057600080fd5b505afa1580156121e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220891906143db565b612247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223e90615561565b60405180910390fd5b60128660405161225791906152df565b908152602001604051809103902060009054906101000a900460ff16156122b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122aa90615741565b60405180910390fd5b670de0b6b3a764000034146122fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f490615781565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a2de4af6846040518263ffffffff1660e01b8152600401612358919061546f565b60206040518083038186803b15801561237057600080fd5b505afa158015612384573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123a891906143db565b801561245b5750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a2de4af6836040518263ffffffff1660e01b815260040161240a919061546f565b60206040518083038186803b15801561242257600080fd5b505afa158015612436573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061245a91906143db565b5b61249a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612491906156e1565b60405180910390fd5b600c60008154809291906124ad90615cdf565b919050555060005b84518110156125555760018582815181106124f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101511015612542576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253990615881565b60405180910390fd5b808061254d90615cdf565b9150506124b5565b5060005b85518110156127035785818151811061259b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016125db919061538d565b60206040518083038186803b1580156125f357600080fd5b505afa158015612607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262b9190614602565b50858181518110612665577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b1580156126b257600080fd5b505afa1580156126c6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906126ef9190614497565b5080806126fb90615cdf565b915050612559565b5084600e6000600c548152602001908152602001600020908051906020019061272d929190613dc3565b5083600f6000600c5481526020019081526020016000209080519060200190612757929190613e4d565b506040518060c001604052808781526020013373ffffffffffffffffffffffffffffffffffffffff168152602001600081526020018481526020018381526020018281525060106000600c54815260200190815260200160002060008201518160000190805190602001906127cd929190613e9a565b5060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020155606082015181600301908051906020019061283b929190613e9a565b506080820151816004019080519060200190612858929190613e9a565b5060a08201518160050155905050600160128760405161287891906152df565b908152602001604051809103902060006101000a81548160ff021916908315150217905550600c546013876040516128b091906152df565b90815260200160405180910390208190555034601460006128cf61158d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129189190615a84565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f0837ab5f509064eca222613f7a413e9089eed1c924485add55d7b19b55aa896987604051612965919061546f565b60405180910390a2505050505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612a11612c4f565b73ffffffffffffffffffffffffffffffffffffffff16612a2f61158d565b73ffffffffffffffffffffffffffffffffffffffff1614612a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7c906157c1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612af5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aec906155c1565b60405180910390fd5b612afe81613068565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612bcc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612bdc5750612bdb826134f5565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612cca83611364565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612d1b82612be3565b612d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5190615681565b60405180910390fd5b6000612d6583611364565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612dd457508373ffffffffffffffffffffffffffffffffffffffff16612dbc84610a6c565b73ffffffffffffffffffffffffffffffffffffffff16145b80612de55750612de48185612975565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e0e82611364565b73ffffffffffffffffffffffffffffffffffffffff1614612e64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5b906157e1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ed4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ecb90615641565b60405180910390fd5b612edf83838361355f565b612eea600082612c57565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f3a9190615b65565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f919190615a84565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b613064828260405180602001604052806000815250613673565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613139848484612dee565b613145848484846136ce565b613184576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317b906155a1565b60405180910390fd5b50505050565b606060008214156131d2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613332565b600082905060005b600082146132045780806131ed90615cdf565b915050600a826131fd9190615ada565b91506131da565b60008167ffffffffffffffff811115613246577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132785781602001600182028036833780820191505090505b5090505b6000851461332b576001826132919190615b65565b9150600a856132a09190615d28565b60306132ac9190615a84565b60f81b8183815181106132e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856133249190615ada565b945061327c565b8093505050505b919050565b6060600082519050600081141561336057604051806020016040528060008152509150506134f0565b600060036002836133719190615a84565b61337b9190615ada565b60046133879190615b0b565b905060006020826133989190615a84565b67ffffffffffffffff8111156133d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156134095781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001615eb6604091399050600181016020830160005b868110156134ad5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050613434565b5060038606600181146134c757600281146134d7576134e2565b613d3d60f01b60028303526134e2565b603d60f81b60018303525b508484525050819450505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61356a838383613865565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135ad576135a88161386a565b6135ec565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146135eb576135ea83826138b3565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561362f5761362a81613a20565b61366e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461366d5761366c8282613b63565b5b5b505050565b61367d8383613be2565b61368a60008484846136ce565b6136c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136c0906155a1565b60405180910390fd5b505050565b60006136ef8473ffffffffffffffffffffffffffffffffffffffff16613db0565b15613858578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613718612c4f565b8786866040518563ffffffff1660e01b815260040161373a94939291906153a8565b602060405180830381600087803b15801561375457600080fd5b505af192505050801561378557506040513d601f19601f82011682018060405250810190613782919061442d565b60015b613808573d80600081146137b5576040519150601f19603f3d011682016040523d82523d6000602084013e6137ba565b606091505b50600081511415613800576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137f7906155a1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061385d565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016138c084611416565b6138ca9190615b65565b90506000600760008481526020019081526020016000205490508181146139af576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613a349190615b65565b9050600060096000848152602001908152602001600020549050600060088381548110613a8a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613ad2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613b47577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613b6e83611416565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c4990615761565b60405180910390fd5b613c5b81612be3565b15613c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c92906155e1565b60405180910390fd5b613ca76000838361355f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613cf79190615a84565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054828255906000526020600020908101928215613e3c579160200282015b82811115613e3b5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613de3565b5b509050613e499190613f20565b5090565b828054828255906000526020600020908101928215613e89579160200282015b82811115613e88578251825591602001919060010190613e6d565b5b509050613e969190613f20565b5090565b828054613ea690615c79565b90600052602060002090601f016020900481019282613ec85760008555613f0f565b82601f10613ee157805160ff1916838001178555613f0f565b82800160010185558215613f0f579182015b82811115613f0e578251825591602001919060010190613ef3565b5b509050613f1c9190613f20565b5090565b5b80821115613f39576000816000905550600101613f21565b5090565b6000613f50613f4b8461590d565b6158dc565b90508083825260208201905082856020860282011115613f6f57600080fd5b60005b85811015613f9f5781613f8588826140cf565b845260208401935060208301925050600181019050613f72565b5050509392505050565b6000613fbc613fb784615939565b6158dc565b90508083825260208201905082856020860282011115613fdb57600080fd5b60005b8581101561400b5781613ff1888261420a565b845260208401935060208301925050600181019050613fde565b5050509392505050565b600061402861402384615965565b6158dc565b90508281526020810184848401111561404057600080fd5b61404b848285615c37565b509392505050565b600061406661406184615995565b6158dc565b90508281526020810184848401111561407e57600080fd5b614089848285615c37565b509392505050565b60006140a461409f84615995565b6158dc565b9050828152602081018484840111156140bc57600080fd5b6140c7848285615c46565b509392505050565b6000813590506140de81615e59565b92915050565b600082601f8301126140f557600080fd5b8135614105848260208601613f3d565b91505092915050565b600082601f83011261411f57600080fd5b813561412f848260208601613fa9565b91505092915050565b60008135905061414781615e70565b92915050565b60008151905061415c81615e70565b92915050565b60008135905061417181615e87565b92915050565b60008151905061418681615e87565b92915050565b600082601f83011261419d57600080fd5b81356141ad848260208601614015565b91505092915050565b600082601f8301126141c757600080fd5b81356141d7848260208601614053565b91505092915050565b600082601f8301126141f157600080fd5b8151614201848260208601614091565b91505092915050565b60008135905061421981615e9e565b92915050565b60008151905061422e81615e9e565b92915050565b60006020828403121561424657600080fd5b6000614254848285016140cf565b91505092915050565b6000806040838503121561427057600080fd5b600061427e858286016140cf565b925050602061428f858286016140cf565b9150509250929050565b6000806000606084860312156142ae57600080fd5b60006142bc868287016140cf565b93505060206142cd868287016140cf565b92505060406142de8682870161420a565b9150509250925092565b600080600080608085870312156142fe57600080fd5b600061430c878288016140cf565b945050602061431d878288016140cf565b935050604061432e8782880161420a565b925050606085013567ffffffffffffffff81111561434b57600080fd5b6143578782880161418c565b91505092959194509250565b6000806040838503121561437657600080fd5b6000614384858286016140cf565b925050602061439585828601614138565b9150509250929050565b600080604083850312156143b257600080fd5b60006143c0858286016140cf565b92505060206143d18582860161420a565b9150509250929050565b6000602082840312156143ed57600080fd5b60006143fb8482850161414d565b91505092915050565b60006020828403121561441657600080fd5b600061442484828501614162565b91505092915050565b60006020828403121561443f57600080fd5b600061444d84828501614177565b91505092915050565b60006020828403121561446857600080fd5b600082013567ffffffffffffffff81111561448257600080fd5b61448e848285016141b6565b91505092915050565b6000602082840312156144a957600080fd5b600082015167ffffffffffffffff8111156144c357600080fd5b6144cf848285016141e0565b91505092915050565b60008060008060008060c087890312156144f157600080fd5b600087013567ffffffffffffffff81111561450b57600080fd5b61451789828a016141b6565b965050602087013567ffffffffffffffff81111561453457600080fd5b61454089828a016140e4565b955050604087013567ffffffffffffffff81111561455d57600080fd5b61456989828a0161410e565b945050606087013567ffffffffffffffff81111561458657600080fd5b61459289828a016141b6565b935050608087013567ffffffffffffffff8111156145af57600080fd5b6145bb89828a016141b6565b92505060a06145cc89828a0161420a565b9150509295509295509295565b6000602082840312156145eb57600080fd5b60006145f98482850161420a565b91505092915050565b60006020828403121561461457600080fd5b60006146228482850161421f565b91505092915050565b6000806040838503121561463e57600080fd5b600061464c8582860161420a565b925050602061465d858286016140cf565b9150509250929050565b6000806040838503121561467a57600080fd5b60006146888582860161420a565b92505060206146998582860161420a565b9150509250929050565b60006146af83836146d3565b60208301905092915050565b60006146c783836152c1565b60208301905092915050565b6146dc81615bc3565b82525050565b6146eb81615bc3565b82525050565b60006146fc826159ef565b6147068185615a35565b9350614711836159c5565b8060005b838110156147495761472682615e15565b61473088826146a3565b975061473b83615a1b565b925050600181019050614715565b5085935050505092915050565b6000614761826159fa565b61476b8185615a46565b9350614776836159da565b8060005b838110156147ae5761478b82615e28565b61479588826146bb565b97506147a083615a28565b92505060018101905061477a565b5085935050505092915050565b6147c481615bd5565b82525050565b60006147d582615a05565b6147df8185615a57565b93506147ef818560208601615c46565b6147f881615e3b565b840191505092915050565b600061480e82615a10565b6148188185615a68565b9350614828818560208601615c46565b61483181615e3b565b840191505092915050565b600061484782615a10565b6148518185615a79565b9350614861818560208601615c46565b80840191505092915050565b600061487a600c83615a68565b91507f496e76616c6964206e616d6500000000000000000000000000000000000000006000830152602082019050919050565b60006148ba602b83615a68565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000614920603283615a68565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614986602683615a68565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006149ec601c83615a68565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000614a2c601083615a68565b91507f496e636f6d706c65746520696e707574000000000000000000000000000000006000830152602082019050919050565b6000614a6c601283615a68565b91507f5469746c65206964206e6f7420666f756e6400000000000000000000000000006000830152602082019050919050565b6000614aac601f83615a79565b91507f222c20226465736372697074696f6e223a20225469746c6520747970652023006000830152601f82019050919050565b6000614aec602483615a68565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b52601983615a68565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614b92602c83615a68565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614bf8602883615a68565b91507f4d61782050726f6a656374732072656163686564206f7220696e76616c69642060008301527f70726f6a656374730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614c5e603883615a68565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614cc4600d83615a68565b91507f496e76616c696420636f6c6f72000000000000000000000000000000000000006000830152602082019050919050565b6000614d04602a83615a68565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614d6a602983615a68565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614dd0600983615a68565b91507f4e616d65207573656400000000000000000000000000000000000000000000006000830152602082019050919050565b6000614e10600283615a79565b91507f227d0000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b6000614e50602083615a68565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614e90600f83615a68565b91507f496e737566696369656e742065746800000000000000000000000000000000006000830152602082019050919050565b6000614ed0600d83615a79565b91507f222c2022696d616765223a2022000000000000000000000000000000000000006000830152600d82019050919050565b6000614f10602c83615a68565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614f76602083615a68565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614fb6602983615a68565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061501c600a83615a79565b91507f7b226e616d65223a2022000000000000000000000000000000000000000000006000830152600a82019050919050565b600061505c602183615a68565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006150c2601d83615a79565b91507f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006000830152601d82019050919050565b6000615102603183615a68565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000615168601583615a68565b91507f6e6f2063726564697420746f20776974686472617700000000000000000000006000830152602082019050919050565b60006151a8602c83615a68565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b600061520e601383615a79565b91507f2e20526571756972656d656e74732061726520000000000000000000000000006000830152601382019050919050565b600061524e600a83615a68565b91507f4174206c656173742031000000000000000000000000000000000000000000006000830152602082019050919050565b600061528e600e83615a68565b91507f4d697373696e6720746f6b656e730000000000000000000000000000000000006000830152602082019050919050565b6152ca81615c2d565b82525050565b6152d981615c2d565b82525050565b60006152eb828461483c565b915081905092915050565b60006153018261500f565b915061530d828761483c565b915061531882614a9f565b9150615324828661483c565b915061532f82615201565b915061533b828561483c565b915061534682614ec3565b9150615352828461483c565b915061535d82614e03565b915081905095945050505050565b6000615376826150b5565b9150615382828461483c565b915081905092915050565b60006020820190506153a260008301846146e2565b92915050565b60006080820190506153bd60008301876146e2565b6153ca60208301866146e2565b6153d760408301856152d0565b81810360608301526153e981846147ca565b905095945050505050565b600060408201905061540960008301856146e2565b61541660208301846152d0565b9392505050565b6000604082019050818103600083015261543781856146f1565b9050818103602083015261544b8184614756565b90509392505050565b600060208201905061546960008301846147bb565b92915050565b600060208201905081810360008301526154898184614803565b905092915050565b600060c08201905081810360008301526154ab8189614803565b90506154ba60208301886146e2565b6154c760408301876152d0565b81810360608301526154d98186614803565b905081810360808301526154ed8185614803565b90506154fc60a08301846152d0565b979650505050505050565b600060808201905081810360008301526155218187614803565b905081810360208301526155358186614803565b905081810360408301526155498185614803565b905061555860608301846147bb565b95945050505050565b6000602082019050818103600083015261557a8161486d565b9050919050565b6000602082019050818103600083015261559a816148ad565b9050919050565b600060208201905081810360008301526155ba81614913565b9050919050565b600060208201905081810360008301526155da81614979565b9050919050565b600060208201905081810360008301526155fa816149df565b9050919050565b6000602082019050818103600083015261561a81614a1f565b9050919050565b6000602082019050818103600083015261563a81614a5f565b9050919050565b6000602082019050818103600083015261565a81614adf565b9050919050565b6000602082019050818103600083015261567a81614b45565b9050919050565b6000602082019050818103600083015261569a81614b85565b9050919050565b600060208201905081810360008301526156ba81614beb565b9050919050565b600060208201905081810360008301526156da81614c51565b9050919050565b600060208201905081810360008301526156fa81614cb7565b9050919050565b6000602082019050818103600083015261571a81614cf7565b9050919050565b6000602082019050818103600083015261573a81614d5d565b9050919050565b6000602082019050818103600083015261575a81614dc3565b9050919050565b6000602082019050818103600083015261577a81614e43565b9050919050565b6000602082019050818103600083015261579a81614e83565b9050919050565b600060208201905081810360008301526157ba81614f03565b9050919050565b600060208201905081810360008301526157da81614f69565b9050919050565b600060208201905081810360008301526157fa81614fa9565b9050919050565b6000602082019050818103600083015261581a8161504f565b9050919050565b6000602082019050818103600083015261583a816150f5565b9050919050565b6000602082019050818103600083015261585a8161515b565b9050919050565b6000602082019050818103600083015261587a8161519b565b9050919050565b6000602082019050818103600083015261589a81615241565b9050919050565b600060208201905081810360008301526158ba81615281565b9050919050565b60006020820190506158d660008301846152d0565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561590357615902615de6565b5b8060405250919050565b600067ffffffffffffffff82111561592857615927615de6565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561595457615953615de6565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156159805761597f615de6565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156159b0576159af615de6565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b60008190508160005260206000209050919050565b600081549050919050565b600081549050919050565b600081519050919050565b600081519050919050565b6000600182019050919050565b6000600182019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615a8f82615c2d565b9150615a9a83615c2d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615acf57615ace615d59565b5b828201905092915050565b6000615ae582615c2d565b9150615af083615c2d565b925082615b0057615aff615d88565b5b828204905092915050565b6000615b1682615c2d565b9150615b2183615c2d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615b5a57615b59615d59565b5b828202905092915050565b6000615b7082615c2d565b9150615b7b83615c2d565b925082821015615b8e57615b8d615d59565b5b828203905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000615bce82615c0d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015615c64578082015181840152602081019050615c49565b83811115615c73576000848401525b50505050565b60006002820490506001821680615c9157607f821691505b60208210811415615ca557615ca4615db7565b5b50919050565b6000615cbe615cb983615e4c565b615b99565b9050919050565b6000615cd8615cd383615e4c565b615bb9565b9050919050565b6000615cea82615c2d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615d1d57615d1c615d59565b5b600182019050919050565b6000615d3382615c2d565b9150615d3e83615c2d565b925082615d4e57615d4d615d88565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000615e218254615cab565b9050919050565b6000615e348254615cc5565b9050919050565b6000601f19601f8301169050919050565b60008160001c9050919050565b615e6281615bc3565b8114615e6d57600080fd5b50565b615e7981615bd5565b8114615e8457600080fd5b50565b615e9081615be1565b8114615e9b57600080fd5b50565b615ea781615c2d565b8114615eb257600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220b8af4a709f54ea1f7724f0f5a2f21fc15141b41c1b547bf6bc81a5c100b2282764736f6c63430008000033000000000000000000000000f2de13954cc05c91d4058db09e94100006bf5c9c0000000000000000000000000472984a90ef2b84e99eccd0e97a0f493e137a4e

Deployed Bytecode

0x6080604052600436106102035760003560e01c80636352211e11610118578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd146107d0578063d5d44d801461080d578063e814371b1461084a578063e985e9c514610866578063f2fde38b146108a357610203565b8063a22cb4651461072a578063b88d4fde14610753578063c36f38741461077c578063c48dde991461079357610203565b8063869d6e0f116100e7578063869d6e0f146106315780638da5cb5b1461066e57806395d89b41146106995780639fa43475146106c4578063a1d0e6c91461070157610203565b80636352211e1461057557806370a08231146105b2578063715018a6146105ef5780637e1c0c091461060657610203565b806323b872dd1161019b5780633eb7331b1161016a5780633eb7331b1461047c57806342842e0e146104b957806347c2ac9c146104e25780634f6ccce71461050d578063514a5b041461054a57610203565b806323b872dd146103b85780632cda1bf7146103e15780632f745c5914610423578063379607f51461046057610203565b8063095ea7b3116101d7578063095ea7b3146102ea57806310a742481461031357806318160ddd146103505780631ce775401461037b57610203565b8062fdd58e1461020857806301ffc9a71461024557806306fdde0314610282578063081812fc146102ad575b600080fd5b34801561021457600080fd5b5061022f600480360381019061022a919061439f565b6108cc565b60405161023c91906158c1565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190614404565b610960565b6040516102799190615454565b60405180910390f35b34801561028e57600080fd5b506102976109da565b6040516102a4919061546f565b60405180910390f35b3480156102b957600080fd5b506102d460048036038101906102cf91906145d9565b610a6c565b6040516102e1919061538d565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c919061439f565b610af1565b005b34801561031f57600080fd5b5061033a600480360381019061033591906145d9565b610c09565b60405161034791906158c1565b60405180910390f35b34801561035c57600080fd5b50610365610c21565b60405161037291906158c1565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d91906145d9565b610c2e565b6040516103af919061546f565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da9190614299565b610d0d565b005b3480156103ed57600080fd5b50610408600480360381019061040391906145d9565b610d6d565b60405161041a96959493929190615491565b60405180910390f35b34801561042f57600080fd5b5061044a6004803603810190610445919061439f565b610f61565b60405161045791906158c1565b60405180910390f35b61047a600480360381019061047591906145d9565b611006565b005b34801561048857600080fd5b506104a3600480360381019061049e9190614456565b611253565b6040516104b091906158c1565b60405180910390f35b3480156104c557600080fd5b506104e060048036038101906104db9190614299565b611281565b005b3480156104ee57600080fd5b506104f76112a1565b60405161050491906158c1565b60405180910390f35b34801561051957600080fd5b50610534600480360381019061052f91906145d9565b6112a7565b60405161054191906158c1565b60405180910390f35b34801561055657600080fd5b5061055f61133e565b60405161056c919061538d565b60405180910390f35b34801561058157600080fd5b5061059c600480360381019061059791906145d9565b611364565b6040516105a9919061538d565b60405180910390f35b3480156105be57600080fd5b506105d960048036038101906105d49190614234565b611416565b6040516105e691906158c1565b60405180910390f35b3480156105fb57600080fd5b506106046114ce565b005b34801561061257600080fd5b5061061b611556565b60405161062891906158c1565b60405180910390f35b34801561063d57600080fd5b5061065860048036038101906106539190614667565b61155c565b60405161066591906158c1565b60405180910390f35b34801561067a57600080fd5b5061068361158d565b604051610690919061538d565b60405180910390f35b3480156106a557600080fd5b506106ae6115b7565b6040516106bb919061546f565b60405180910390f35b3480156106d057600080fd5b506106eb60048036038101906106e69190614667565b611649565b6040516106f8919061538d565b60405180910390f35b34801561070d57600080fd5b5061072860048036038101906107239190614234565b611697565b005b34801561073657600080fd5b50610751600480360381019061074c9190614363565b611757565b005b34801561075f57600080fd5b5061077a600480360381019061077591906142e8565b6118d8565b005b34801561078857600080fd5b5061079161193a565b005b34801561079f57600080fd5b506107ba60048036038101906107b5919061462b565b611ac8565b6040516107c79190615454565b60405180910390f35b3480156107dc57600080fd5b506107f760048036038101906107f291906145d9565b611d0c565b604051610804919061546f565b60405180910390f35b34801561081957600080fd5b50610834600480360381019061082f9190614234565b6120af565b60405161084191906158c1565b60405180910390f35b610864600480360381019061085f91906144d8565b6120c7565b005b34801561087257600080fd5b5061088d6004803603810190610888919061425d565b612975565b60405161089a9190615454565b60405180910390f35b3480156108af57600080fd5b506108ca60048036038101906108c59190614234565b612a09565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561093d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093490615701565b60405180910390fd5b6109478284611ac8565b15610955576001905061095a565b600090505b92915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109d357506109d282612b01565b5b9050919050565b6060600080546109e990615c79565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1590615c79565b8015610a625780601f10610a3757610100808354040283529160200191610a62565b820191906000526020600020905b815481529060010190602001808311610a4557829003601f168201915b5050505050905090565b6000610a7782612be3565b610ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aad906157a1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610afc82611364565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6490615801565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b8c612c4f565b73ffffffffffffffffffffffffffffffffffffffff161480610bbb5750610bba81610bb5612c4f565b612975565b5b610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf1906156c1565b60405180910390fd5b610c048383612c57565b505050565b60116020528060005260406000206000915090505481565b6000600880549050905090565b6060600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318828f21600e6000858152602001908152602001600020600f60008681526020019081526020016000206040518363ffffffff1660e01b8152600401610cb192919061541d565b60006040518083038186803b158015610cc957600080fd5b505afa158015610cdd573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610d069190614497565b9050919050565b610d1e610d18612c4f565b82612d10565b610d5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5490615821565b60405180910390fd5b610d68838383612dee565b505050565b6010602052806000526040600020600091509050806000018054610d9090615c79565b80601f0160208091040260200160405190810160405280929190818152602001828054610dbc90615c79565b8015610e095780601f10610dde57610100808354040283529160200191610e09565b820191906000526020600020905b815481529060010190602001808311610dec57829003601f168201915b5050505050908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806002015490806003018054610e4a90615c79565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7690615c79565b8015610ec35780601f10610e9857610100808354040283529160200191610ec3565b820191906000526020600020905b815481529060010190602001808311610ea657829003601f168201915b505050505090806004018054610ed890615c79565b80601f0160208091040260200160405190810160405280929190818152602001828054610f0490615c79565b8015610f515780601f10610f2657610100808354040283529160200191610f51565b820191906000526020600020905b815481529060010190602001808311610f3457829003601f168201915b5050505050908060050154905086565b6000610f6c83611416565b8210610fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa490615581565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6110108133611ac8565b61104f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611046906158a1565b60405180910390fd5b601060008281526020019081526020016000206005015434146110a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109e90615781565b60405180910390fd5b600d60008154809291906110ba90615cdf565b91905055506010600082815260200190815260200160002060020160008154809291906110e690615cdf565b91905055508060116000600d5481526020019081526020016000208190555061111133600d5461304a565b60006002346111209190615ada565b905080601460006010600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111a79190615a84565b9250508190555080601460006111bb61158d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112049190615a84565b925050819055503373ffffffffffffffffffffffffffffffffffffffff16827fb6485abc94ef4632aa21007747ce07bbaa9334f934b538531757987f9386ef3b60405160405180910390a35050565b6013818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b61129c838383604051806020016040528060008152506118d8565b505050565b600c5481565b60006112b1610c21565b82106112f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e990615861565b60405180910390fd5b6008828154811061132c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561140d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140490615721565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147e90615701565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114d6612c4f565b73ffffffffffffffffffffffffffffffffffffffff166114f461158d565b73ffffffffffffffffffffffffffffffffffffffff161461154a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611541906157c1565b60405180910390fd5b6115546000613068565b565b600d5481565b600f602052816000526040600020818154811061157857600080fd5b90600052602060002001600091509150505481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115c690615c79565b80601f01602080910402602001604051908101604052809291908181526020018280546115f290615c79565b801561163f5780601f106116145761010080835404028352916020019161163f565b820191906000526020600020905b81548152906001019060200180831161162257829003601f168201915b5050505050905090565b600e602052816000526040600020818154811061166557600080fd5b906000526020600020016000915091509054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61169f612c4f565b73ffffffffffffffffffffffffffffffffffffffff166116bd61158d565b73ffffffffffffffffffffffffffffffffffffffff1614611713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170a906157c1565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61175f612c4f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c490615661565b60405180910390fd5b80600560006117da612c4f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611887612c4f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118cc9190615454565b60405180910390a35050565b6118e96118e3612c4f565b83612d10565b611928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191f90615821565b60405180910390fd5b6119348484848461312e565b50505050565b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116119bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b390615841565b60405180910390fd5b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611a8b573d6000803e3d6000fd5b507f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d53382604051611abd9291906153f4565b60405180910390a150565b6000600c54831115611b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0690615621565b60405180910390fd5b6000600e60008581526020019081526020016000208054905011611b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5f90615621565b60405180910390fd5b60005b600e600085815260200190815260200160002080549050811015611d0057600f60008581526020019081526020016000208181548110611bd4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154600e60008681526020019081526020016000208281548110611c2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401611c8d919061538d565b60206040518083038186803b158015611ca557600080fd5b505afa158015611cb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cdd9190614602565b1015611ced576000915050611d06565b8080611cf890615cdf565b915050611b6b565b50600190505b92915050565b60606000601160008481526020019081526020016000205490506000601060008381526020019081526020016000206040518060c0016040529081600082018054611d5690615c79565b80601f0160208091040260200160405190810160405280929190818152602001828054611d8290615c79565b8015611dcf5780601f10611da457610100808354040283529160200191611dcf565b820191906000526020600020905b815481529060010190602001808311611db257829003601f168201915b505050505081526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382018054611e4890615c79565b80601f0160208091040260200160405190810160405280929190818152602001828054611e7490615c79565b8015611ec15780601f10611e9657610100808354040283529160200191611ec1565b820191906000526020600020905b815481529060010190602001808311611ea457829003601f168201915b50505050508152602001600482018054611eda90615c79565b80601f0160208091040260200160405190810160405280929190818152602001828054611f0690615c79565b8015611f535780601f10611f2857610100808354040283529160200191611f53565b820191906000526020600020905b815481529060010190602001808311611f3657829003601f168201915b5050505050815260200160058201548152505090506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662f368ca836000015184606001518560800151611fc888611fc38c611364565b611ac8565b6040518563ffffffff1660e01b8152600401611fe79493929190615507565b60006040518083038186803b158015611fff57600080fd5b505afa158015612013573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061203c9190614497565b9050600061208283600001516120518661318a565b61205a87610c2e565b8560405160200161206e94939291906152f6565b604051602081830303815290604052613337565b905080604051602001612095919061536b565b604051602081830303815290604052945050505050919050565b60146020528060005260406000206000915090505481565b600a8551111580156120da575060008551115b612119576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612110906156a1565b60405180910390fd5b835185511461215d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215490615601565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639ffdb65a876040518263ffffffff1660e01b81526004016121b8919061546f565b60206040518083038186803b1580156121d057600080fd5b505afa1580156121e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220891906143db565b612247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223e90615561565b60405180910390fd5b60128660405161225791906152df565b908152602001604051809103902060009054906101000a900460ff16156122b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122aa90615741565b60405180910390fd5b670de0b6b3a764000034146122fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f490615781565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a2de4af6846040518263ffffffff1660e01b8152600401612358919061546f565b60206040518083038186803b15801561237057600080fd5b505afa158015612384573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123a891906143db565b801561245b5750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a2de4af6836040518263ffffffff1660e01b815260040161240a919061546f565b60206040518083038186803b15801561242257600080fd5b505afa158015612436573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061245a91906143db565b5b61249a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612491906156e1565b60405180910390fd5b600c60008154809291906124ad90615cdf565b919050555060005b84518110156125555760018582815181106124f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101511015612542576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253990615881565b60405180910390fd5b808061254d90615cdf565b9150506124b5565b5060005b85518110156127035785818151811061259b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016125db919061538d565b60206040518083038186803b1580156125f357600080fd5b505afa158015612607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262b9190614602565b50858181518110612665577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b1580156126b257600080fd5b505afa1580156126c6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906126ef9190614497565b5080806126fb90615cdf565b915050612559565b5084600e6000600c548152602001908152602001600020908051906020019061272d929190613dc3565b5083600f6000600c5481526020019081526020016000209080519060200190612757929190613e4d565b506040518060c001604052808781526020013373ffffffffffffffffffffffffffffffffffffffff168152602001600081526020018481526020018381526020018281525060106000600c54815260200190815260200160002060008201518160000190805190602001906127cd929190613e9a565b5060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020155606082015181600301908051906020019061283b929190613e9a565b506080820151816004019080519060200190612858929190613e9a565b5060a08201518160050155905050600160128760405161287891906152df565b908152602001604051809103902060006101000a81548160ff021916908315150217905550600c546013876040516128b091906152df565b90815260200160405180910390208190555034601460006128cf61158d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129189190615a84565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f0837ab5f509064eca222613f7a413e9089eed1c924485add55d7b19b55aa896987604051612965919061546f565b60405180910390a2505050505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612a11612c4f565b73ffffffffffffffffffffffffffffffffffffffff16612a2f61158d565b73ffffffffffffffffffffffffffffffffffffffff1614612a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7c906157c1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612af5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aec906155c1565b60405180910390fd5b612afe81613068565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612bcc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612bdc5750612bdb826134f5565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612cca83611364565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612d1b82612be3565b612d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5190615681565b60405180910390fd5b6000612d6583611364565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612dd457508373ffffffffffffffffffffffffffffffffffffffff16612dbc84610a6c565b73ffffffffffffffffffffffffffffffffffffffff16145b80612de55750612de48185612975565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e0e82611364565b73ffffffffffffffffffffffffffffffffffffffff1614612e64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5b906157e1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ed4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ecb90615641565b60405180910390fd5b612edf83838361355f565b612eea600082612c57565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f3a9190615b65565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f919190615a84565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b613064828260405180602001604052806000815250613673565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613139848484612dee565b613145848484846136ce565b613184576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317b906155a1565b60405180910390fd5b50505050565b606060008214156131d2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613332565b600082905060005b600082146132045780806131ed90615cdf565b915050600a826131fd9190615ada565b91506131da565b60008167ffffffffffffffff811115613246577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132785781602001600182028036833780820191505090505b5090505b6000851461332b576001826132919190615b65565b9150600a856132a09190615d28565b60306132ac9190615a84565b60f81b8183815181106132e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856133249190615ada565b945061327c565b8093505050505b919050565b6060600082519050600081141561336057604051806020016040528060008152509150506134f0565b600060036002836133719190615a84565b61337b9190615ada565b60046133879190615b0b565b905060006020826133989190615a84565b67ffffffffffffffff8111156133d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156134095781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001615eb6604091399050600181016020830160005b868110156134ad5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050613434565b5060038606600181146134c757600281146134d7576134e2565b613d3d60f01b60028303526134e2565b603d60f81b60018303525b508484525050819450505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61356a838383613865565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135ad576135a88161386a565b6135ec565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146135eb576135ea83826138b3565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561362f5761362a81613a20565b61366e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461366d5761366c8282613b63565b5b5b505050565b61367d8383613be2565b61368a60008484846136ce565b6136c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136c0906155a1565b60405180910390fd5b505050565b60006136ef8473ffffffffffffffffffffffffffffffffffffffff16613db0565b15613858578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613718612c4f565b8786866040518563ffffffff1660e01b815260040161373a94939291906153a8565b602060405180830381600087803b15801561375457600080fd5b505af192505050801561378557506040513d601f19601f82011682018060405250810190613782919061442d565b60015b613808573d80600081146137b5576040519150601f19603f3d011682016040523d82523d6000602084013e6137ba565b606091505b50600081511415613800576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137f7906155a1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061385d565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016138c084611416565b6138ca9190615b65565b90506000600760008481526020019081526020016000205490508181146139af576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613a349190615b65565b9050600060096000848152602001908152602001600020549050600060088381548110613a8a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613ad2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613b47577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613b6e83611416565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c4990615761565b60405180910390fd5b613c5b81612be3565b15613c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c92906155e1565b60405180910390fd5b613ca76000838361355f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613cf79190615a84565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054828255906000526020600020908101928215613e3c579160200282015b82811115613e3b5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613de3565b5b509050613e499190613f20565b5090565b828054828255906000526020600020908101928215613e89579160200282015b82811115613e88578251825591602001919060010190613e6d565b5b509050613e969190613f20565b5090565b828054613ea690615c79565b90600052602060002090601f016020900481019282613ec85760008555613f0f565b82601f10613ee157805160ff1916838001178555613f0f565b82800160010185558215613f0f579182015b82811115613f0e578251825591602001919060010190613ef3565b5b509050613f1c9190613f20565b5090565b5b80821115613f39576000816000905550600101613f21565b5090565b6000613f50613f4b8461590d565b6158dc565b90508083825260208201905082856020860282011115613f6f57600080fd5b60005b85811015613f9f5781613f8588826140cf565b845260208401935060208301925050600181019050613f72565b5050509392505050565b6000613fbc613fb784615939565b6158dc565b90508083825260208201905082856020860282011115613fdb57600080fd5b60005b8581101561400b5781613ff1888261420a565b845260208401935060208301925050600181019050613fde565b5050509392505050565b600061402861402384615965565b6158dc565b90508281526020810184848401111561404057600080fd5b61404b848285615c37565b509392505050565b600061406661406184615995565b6158dc565b90508281526020810184848401111561407e57600080fd5b614089848285615c37565b509392505050565b60006140a461409f84615995565b6158dc565b9050828152602081018484840111156140bc57600080fd5b6140c7848285615c46565b509392505050565b6000813590506140de81615e59565b92915050565b600082601f8301126140f557600080fd5b8135614105848260208601613f3d565b91505092915050565b600082601f83011261411f57600080fd5b813561412f848260208601613fa9565b91505092915050565b60008135905061414781615e70565b92915050565b60008151905061415c81615e70565b92915050565b60008135905061417181615e87565b92915050565b60008151905061418681615e87565b92915050565b600082601f83011261419d57600080fd5b81356141ad848260208601614015565b91505092915050565b600082601f8301126141c757600080fd5b81356141d7848260208601614053565b91505092915050565b600082601f8301126141f157600080fd5b8151614201848260208601614091565b91505092915050565b60008135905061421981615e9e565b92915050565b60008151905061422e81615e9e565b92915050565b60006020828403121561424657600080fd5b6000614254848285016140cf565b91505092915050565b6000806040838503121561427057600080fd5b600061427e858286016140cf565b925050602061428f858286016140cf565b9150509250929050565b6000806000606084860312156142ae57600080fd5b60006142bc868287016140cf565b93505060206142cd868287016140cf565b92505060406142de8682870161420a565b9150509250925092565b600080600080608085870312156142fe57600080fd5b600061430c878288016140cf565b945050602061431d878288016140cf565b935050604061432e8782880161420a565b925050606085013567ffffffffffffffff81111561434b57600080fd5b6143578782880161418c565b91505092959194509250565b6000806040838503121561437657600080fd5b6000614384858286016140cf565b925050602061439585828601614138565b9150509250929050565b600080604083850312156143b257600080fd5b60006143c0858286016140cf565b92505060206143d18582860161420a565b9150509250929050565b6000602082840312156143ed57600080fd5b60006143fb8482850161414d565b91505092915050565b60006020828403121561441657600080fd5b600061442484828501614162565b91505092915050565b60006020828403121561443f57600080fd5b600061444d84828501614177565b91505092915050565b60006020828403121561446857600080fd5b600082013567ffffffffffffffff81111561448257600080fd5b61448e848285016141b6565b91505092915050565b6000602082840312156144a957600080fd5b600082015167ffffffffffffffff8111156144c357600080fd5b6144cf848285016141e0565b91505092915050565b60008060008060008060c087890312156144f157600080fd5b600087013567ffffffffffffffff81111561450b57600080fd5b61451789828a016141b6565b965050602087013567ffffffffffffffff81111561453457600080fd5b61454089828a016140e4565b955050604087013567ffffffffffffffff81111561455d57600080fd5b61456989828a0161410e565b945050606087013567ffffffffffffffff81111561458657600080fd5b61459289828a016141b6565b935050608087013567ffffffffffffffff8111156145af57600080fd5b6145bb89828a016141b6565b92505060a06145cc89828a0161420a565b9150509295509295509295565b6000602082840312156145eb57600080fd5b60006145f98482850161420a565b91505092915050565b60006020828403121561461457600080fd5b60006146228482850161421f565b91505092915050565b6000806040838503121561463e57600080fd5b600061464c8582860161420a565b925050602061465d858286016140cf565b9150509250929050565b6000806040838503121561467a57600080fd5b60006146888582860161420a565b92505060206146998582860161420a565b9150509250929050565b60006146af83836146d3565b60208301905092915050565b60006146c783836152c1565b60208301905092915050565b6146dc81615bc3565b82525050565b6146eb81615bc3565b82525050565b60006146fc826159ef565b6147068185615a35565b9350614711836159c5565b8060005b838110156147495761472682615e15565b61473088826146a3565b975061473b83615a1b565b925050600181019050614715565b5085935050505092915050565b6000614761826159fa565b61476b8185615a46565b9350614776836159da565b8060005b838110156147ae5761478b82615e28565b61479588826146bb565b97506147a083615a28565b92505060018101905061477a565b5085935050505092915050565b6147c481615bd5565b82525050565b60006147d582615a05565b6147df8185615a57565b93506147ef818560208601615c46565b6147f881615e3b565b840191505092915050565b600061480e82615a10565b6148188185615a68565b9350614828818560208601615c46565b61483181615e3b565b840191505092915050565b600061484782615a10565b6148518185615a79565b9350614861818560208601615c46565b80840191505092915050565b600061487a600c83615a68565b91507f496e76616c6964206e616d6500000000000000000000000000000000000000006000830152602082019050919050565b60006148ba602b83615a68565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000614920603283615a68565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614986602683615a68565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006149ec601c83615a68565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000614a2c601083615a68565b91507f496e636f6d706c65746520696e707574000000000000000000000000000000006000830152602082019050919050565b6000614a6c601283615a68565b91507f5469746c65206964206e6f7420666f756e6400000000000000000000000000006000830152602082019050919050565b6000614aac601f83615a79565b91507f222c20226465736372697074696f6e223a20225469746c6520747970652023006000830152601f82019050919050565b6000614aec602483615a68565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b52601983615a68565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614b92602c83615a68565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614bf8602883615a68565b91507f4d61782050726f6a656374732072656163686564206f7220696e76616c69642060008301527f70726f6a656374730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614c5e603883615a68565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614cc4600d83615a68565b91507f496e76616c696420636f6c6f72000000000000000000000000000000000000006000830152602082019050919050565b6000614d04602a83615a68565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614d6a602983615a68565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614dd0600983615a68565b91507f4e616d65207573656400000000000000000000000000000000000000000000006000830152602082019050919050565b6000614e10600283615a79565b91507f227d0000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b6000614e50602083615a68565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614e90600f83615a68565b91507f496e737566696369656e742065746800000000000000000000000000000000006000830152602082019050919050565b6000614ed0600d83615a79565b91507f222c2022696d616765223a2022000000000000000000000000000000000000006000830152600d82019050919050565b6000614f10602c83615a68565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614f76602083615a68565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614fb6602983615a68565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061501c600a83615a79565b91507f7b226e616d65223a2022000000000000000000000000000000000000000000006000830152600a82019050919050565b600061505c602183615a68565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006150c2601d83615a79565b91507f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006000830152601d82019050919050565b6000615102603183615a68565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000615168601583615a68565b91507f6e6f2063726564697420746f20776974686472617700000000000000000000006000830152602082019050919050565b60006151a8602c83615a68565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b600061520e601383615a79565b91507f2e20526571756972656d656e74732061726520000000000000000000000000006000830152601382019050919050565b600061524e600a83615a68565b91507f4174206c656173742031000000000000000000000000000000000000000000006000830152602082019050919050565b600061528e600e83615a68565b91507f4d697373696e6720746f6b656e730000000000000000000000000000000000006000830152602082019050919050565b6152ca81615c2d565b82525050565b6152d981615c2d565b82525050565b60006152eb828461483c565b915081905092915050565b60006153018261500f565b915061530d828761483c565b915061531882614a9f565b9150615324828661483c565b915061532f82615201565b915061533b828561483c565b915061534682614ec3565b9150615352828461483c565b915061535d82614e03565b915081905095945050505050565b6000615376826150b5565b9150615382828461483c565b915081905092915050565b60006020820190506153a260008301846146e2565b92915050565b60006080820190506153bd60008301876146e2565b6153ca60208301866146e2565b6153d760408301856152d0565b81810360608301526153e981846147ca565b905095945050505050565b600060408201905061540960008301856146e2565b61541660208301846152d0565b9392505050565b6000604082019050818103600083015261543781856146f1565b9050818103602083015261544b8184614756565b90509392505050565b600060208201905061546960008301846147bb565b92915050565b600060208201905081810360008301526154898184614803565b905092915050565b600060c08201905081810360008301526154ab8189614803565b90506154ba60208301886146e2565b6154c760408301876152d0565b81810360608301526154d98186614803565b905081810360808301526154ed8185614803565b90506154fc60a08301846152d0565b979650505050505050565b600060808201905081810360008301526155218187614803565b905081810360208301526155358186614803565b905081810360408301526155498185614803565b905061555860608301846147bb565b95945050505050565b6000602082019050818103600083015261557a8161486d565b9050919050565b6000602082019050818103600083015261559a816148ad565b9050919050565b600060208201905081810360008301526155ba81614913565b9050919050565b600060208201905081810360008301526155da81614979565b9050919050565b600060208201905081810360008301526155fa816149df565b9050919050565b6000602082019050818103600083015261561a81614a1f565b9050919050565b6000602082019050818103600083015261563a81614a5f565b9050919050565b6000602082019050818103600083015261565a81614adf565b9050919050565b6000602082019050818103600083015261567a81614b45565b9050919050565b6000602082019050818103600083015261569a81614b85565b9050919050565b600060208201905081810360008301526156ba81614beb565b9050919050565b600060208201905081810360008301526156da81614c51565b9050919050565b600060208201905081810360008301526156fa81614cb7565b9050919050565b6000602082019050818103600083015261571a81614cf7565b9050919050565b6000602082019050818103600083015261573a81614d5d565b9050919050565b6000602082019050818103600083015261575a81614dc3565b9050919050565b6000602082019050818103600083015261577a81614e43565b9050919050565b6000602082019050818103600083015261579a81614e83565b9050919050565b600060208201905081810360008301526157ba81614f03565b9050919050565b600060208201905081810360008301526157da81614f69565b9050919050565b600060208201905081810360008301526157fa81614fa9565b9050919050565b6000602082019050818103600083015261581a8161504f565b9050919050565b6000602082019050818103600083015261583a816150f5565b9050919050565b6000602082019050818103600083015261585a8161515b565b9050919050565b6000602082019050818103600083015261587a8161519b565b9050919050565b6000602082019050818103600083015261589a81615241565b9050919050565b600060208201905081810360008301526158ba81615281565b9050919050565b60006020820190506158d660008301846152d0565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561590357615902615de6565b5b8060405250919050565b600067ffffffffffffffff82111561592857615927615de6565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561595457615953615de6565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156159805761597f615de6565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156159b0576159af615de6565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b60008190508160005260206000209050919050565b600081549050919050565b600081549050919050565b600081519050919050565b600081519050919050565b6000600182019050919050565b6000600182019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615a8f82615c2d565b9150615a9a83615c2d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615acf57615ace615d59565b5b828201905092915050565b6000615ae582615c2d565b9150615af083615c2d565b925082615b0057615aff615d88565b5b828204905092915050565b6000615b1682615c2d565b9150615b2183615c2d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615b5a57615b59615d59565b5b828202905092915050565b6000615b7082615c2d565b9150615b7b83615c2d565b925082821015615b8e57615b8d615d59565b5b828203905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000615bce82615c0d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015615c64578082015181840152602081019050615c49565b83811115615c73576000848401525b50505050565b60006002820490506001821680615c9157607f821691505b60208210811415615ca557615ca4615db7565b5b50919050565b6000615cbe615cb983615e4c565b615b99565b9050919050565b6000615cd8615cd383615e4c565b615bb9565b9050919050565b6000615cea82615c2d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615d1d57615d1c615d59565b5b600182019050919050565b6000615d3382615c2d565b9150615d3e83615c2d565b925082615d4e57615d4d615d88565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000615e218254615cab565b9050919050565b6000615e348254615cc5565b9050919050565b6000601f19601f8301169050919050565b60008160001c9050919050565b615e6281615bc3565b8114615e6d57600080fd5b50565b615e7981615bd5565b8114615e8457600080fd5b50565b615e9081615be1565b8114615e9b57600080fd5b50565b615ea781615c2d565b8114615eb257600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220b8af4a709f54ea1f7724f0f5a2f21fc15141b41c1b547bf6bc81a5c100b2282764736f6c63430008000033

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

000000000000000000000000f2de13954cc05c91d4058db09e94100006bf5c9c0000000000000000000000000472984a90ef2b84e99eccd0e97a0f493e137a4e

-----Decoded View---------------
Arg [0] : ownerAddress (address): 0xf2de13954Cc05c91d4058db09e94100006Bf5C9c
Arg [1] : _drawContract (address): 0x0472984a90eF2b84E99ECCD0E97a0f493E137A4E

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000f2de13954cc05c91d4058db09e94100006bf5c9c
Arg [1] : 0000000000000000000000000472984a90ef2b84e99eccd0e97a0f493e137a4e


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.