ETH Price: $3,290.47 (-10.54%)

Token

Bliomes (BIOME)
 

Overview

Max Total Supply

1,364 BIOME

Holders

534

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
russellberg.eth
Balance
3 BIOME
0x66EEd180Be9a45f28198cC5C5a560Ce6640659c0
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Bliomes

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "base64-sol/base64.sol";

contract Bliomes is ERC721Enumerable, ReentrancyGuard, Ownable {
    ERC721 public constant LOOT =
        ERC721(0x4F8730E0b32B04beaa5757e5aea3aeF970E5B613);

    string[] private atmosphere = [
        "Stimulating",
        "Electrifying",
        "Stormy",
        "Sexy",
        "Horny",
        "Wet",
        "Hot",
        "Raunchy",
        "Vibrating",
        "Kinky",
        "Dripping",
        "Gushing",
        "Pulsating"
    ];
    uint16[] private atmosphereRarities = [
        15,
        15,
        15,
        15,
        15,
        25,
        25,
        12,
        10,
        7,
        4,
        2,
        1
    ];
    uint256 private atmosphereTotal = 0;

    string[] private terrain = [
        "Rocky",
        "Snowy",
        "Swampy",
        "Sandy",
        "Grassy",
        "Urban",
        "Mossy",
        "Concrete",
        "Classy",
        "Hard",
        "Dirty"
    ];
    uint16[] private terrainRarities = [13, 13, 13, 13, 13, 8, 8, 8, 6, 4, 1];
    uint256 private terrainTotal = 0;

    string[] private landmark = [
        "Streets",
        "Motel",
        "Brothel",
        "Hotel",
        "Yacht"
    ];
    uint16[] private landmarkRarities = [40, 20, 10, 10, 2];
    uint256 private landmarkTotal = 0;

    string[] private bliomes = [
        "Desert",
        "Forest",
        "Jungle",
        "City",
        "Ruins",
        "Metropolis",
        "Plains",
        "Mountains",
        "Sea",
        "Tundra"
    ];
    uint16[] private bliomeRarities = [10, 12, 10, 15, 10, 15, 15, 10, 5, 10];
    uint256 private bliomeTotal = 0;

    string[] private planet = [
        "Mars",
        "Venus",
        "Earth",
        "Mercury",
        "Jupiter",
        "Saturn",
        "Uranus",
        "Neptune",
        "Pluto",
        "Sedna"
    ];
    uint16[] private planetRarities = [10, 10, 25, 15, 10, 10, 5, 10, 5, 1];
    uint256 private planetTotal = 0;

    function random(string memory input) internal pure returns (uint256) {
        return uint256(keccak256(abi.encodePacked(input)));
    }

    function getCoordinates(uint256 tokenId)
        public
        pure
        returns (string memory)
    {
        uint256 rand = random(
            string(abi.encodePacked("Coordinates", toString(tokenId)))
        );
        string memory x = string(
            abi.encodePacked(
                toString(rand % 1000),
                ".",
                toString((rand / 1000) % 1000)
            )
        );
        rand = rand / 1000000;
        string memory y = string(
            abi.encodePacked(
                toString(rand % 1000),
                ".",
                toString((rand / 1000) % 1000)
            )
        );

        return string(abi.encodePacked("Coordinates: (", x, ", ", y, ")"));
    }

    function getAtmosphere(uint256 tokenId)
        public
        view
        returns (string memory)
    {
        return
            pluck(
                tokenId,
                "Atmosphere",
                atmosphere,
                atmosphereRarities,
                atmosphereTotal
            );
    }

    function getTerrain(uint256 tokenId) public view returns (string memory) {
        return
            pluck(tokenId, "Terrain", terrain, terrainRarities, terrainTotal);
    }

    function getLandmark(uint256 tokenId) public view returns (string memory) {
        return
            pluck(
                tokenId,
                "Landmark",
                landmark,
                landmarkRarities,
                landmarkTotal
            );
    }

    function getBliome(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "Bliome", bliomes, bliomeRarities, bliomeTotal);
    }

    function getPlanet(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "Planet", planet, planetRarities, planetTotal);
    }

    function pluck(
        uint256 tokenId,
        string memory keyPrefix,
        string[] memory sourceArray,
        uint16[] memory probabilityArray,
        uint256 total
    ) internal pure returns (string memory) {
        uint256 rand = random(
            string(abi.encodePacked(keyPrefix, toString(tokenId)))
        );
        uint256 prob = (rand % total) + 1;
        return
            string(
                abi.encodePacked(
                    keyPrefix,
                    ": ",
                    selector(sourceArray, probabilityArray, prob)
                )
            );
    }

    function selector(
        string[] memory sourceArray,
        uint16[] memory probabilityArray,
        uint256 probability
    ) internal pure returns (string memory) {
        uint256 curr = 0;
        for (uint256 i = 0; i < probabilityArray.length; i++) {
            curr += probabilityArray[i];
            if (curr >= probability) {
                return sourceArray[i];
            }
        }
        revert("No item found!");
    }

    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT license
        // 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);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        string[14] memory parts;
        parts[
            0
        ] = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 350"><style>.base { fill: black; font-family: serif; font-size: 14px; }</style><rect width="100%" height="100%" fill="#01ff01" /><text x="10" y="20" class="base">';

        parts[1] = getBliome(tokenId);
        parts[2] = '</text><text x="10" y="40" class="base">';

        parts[3] = getTerrain(tokenId);
        parts[4] = '</text><text x="10" y="60" class="base">';

        parts[5] = getAtmosphere(tokenId);
        parts[6] = '</text><text x="10" y="80" class="base">';

        parts[7] = getLandmark(tokenId);
        parts[8] = '</text><text x="10" y="100" class="base">';

        parts[9] = getPlanet(tokenId);
        parts[10] = '</text><text x="10" y="120" class="base">';

        parts[11] = getCoordinates(tokenId);
        parts[12] = '</text><text x="10" y="140" class="base">';

        parts[13] = "</text></svg>";

        string memory output = string(
            abi.encodePacked(
                parts[0],
                parts[1],
                parts[2],
                parts[3],
                parts[4],
                parts[5],
                parts[6],
                parts[7],
                parts[8]
            )
        );
        output = string(
            abi.encodePacked(
                output,
                parts[9],
                parts[10],
                parts[11],
                parts[12],
                parts[13]
            )
        );

        string memory json = Base64.encode(
            bytes(
                string(
                    abi.encodePacked(
                        '{"name": "Bliomes #',
                        toString(tokenId),
                        '", "description": "Bliomes are detailed instructions of where to locate your bloot.", "image": "data:image/svg+xml;base64,',
                        Base64.encode(bytes(output)),
                        '"}'
                    )
                )
            )
        );
        output = string(
            abi.encodePacked("data:application/json;base64,", json)
        );

        return output;
    }

    function claim(uint256 tokenId) public nonReentrant {
        require(tokenId >= 8009 && tokenId < 9576, "Token ID invalid");
        _safeMint(_msgSender(), tokenId);
    }

    function claimForLoot(uint256 tokenId) public nonReentrant {
        require(tokenId > 0 && tokenId < 8009, "Token ID invalid");
        require(LOOT.ownerOf(tokenId) == msg.sender, "Not Loot owner");
        _safeMint(_msgSender(), tokenId);
    }

    function ownerClaim(uint256 tokenId) public nonReentrant onlyOwner {
        require(tokenId >= 9576 && tokenId < 9644, "Token ID invalid");
        _safeMint(owner(), tokenId);
    }

    constructor() ERC721("Bliomes", "BIOME") Ownable() {
        for (uint256 i = 0; i < atmosphereRarities.length; i++) {
            atmosphereTotal += uint256(atmosphereRarities[i]);
        }
        for (uint256 i = 0; i < terrainRarities.length; i++) {
            terrainTotal += uint256(terrainRarities[i]);
        }
        for (uint256 i = 0; i < landmarkRarities.length; i++) {
            landmarkTotal += uint256(landmarkRarities[i]);
        }
        for (uint256 i = 0; i < bliomeRarities.length; i++) {
            bliomeTotal += uint256(bliomeRarities[i]);
        }
        for (uint256 i = 0; i < planetRarities.length; i++) {
            planetTotal += uint256(planetRarities[i]);
        }
    }
}

File 2 of 15 : 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 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 4 of 15 : 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 15 : 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 6 of 15 : base64.sol
// SPDX-License-Identifier: MIT

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

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';
        
        // load the table into memory
        string memory table = TABLE;

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

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)
            
            // prepare the lookup table
            let tablePtr := add(table, 1)
            
            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))
            
            // result ptr, jump over length
            let resultPtr := add(result, 32)
            
            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
               dataPtr := add(dataPtr, 3)
               
               // read 3 bytes
               let input := mload(dataPtr)
               
               // write 4 characters
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr( 6, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(        input,  0x3F)))))
               resultPtr := add(resultPtr, 1)
            }
            
            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }
        
        return result;
    }
}

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"LOOT","outputs":[{"internalType":"contract ERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimForLoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getAtmosphere","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getBliome","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getCoordinates","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getLandmark","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getPlanet","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTerrain","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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052604051806101a001604052806040518060400160405280600b81526020017f5374696d756c6174696e6700000000000000000000000000000000000000000081525081526020016040518060400160405280600c81526020017f456c65637472696679696e67000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f53746f726d79000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f536578790000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f486f726e7900000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f576574000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f486f74000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f5261756e6368790000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f566962726174696e67000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4b696e6b7900000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f4472697070696e6700000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f47757368696e670000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f50756c736174696e670000000000000000000000000000000000000000000000815250815250600c90600d6200031f92919062001355565b50604051806101a00160405280600f60ff168152602001600f60ff168152602001600f60ff168152602001600f60ff168152602001600f60ff168152602001601960ff168152602001601960ff168152602001600c60ff168152602001600a60ff168152602001600760ff168152602001600460ff168152602001600260ff168152602001600160ff16815250600d90600d620003be929190620013bc565b506000600e556040518061016001604052806040518060400160405280600581526020017f526f636b7900000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f536e6f777900000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f5377616d7079000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f53616e647900000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f477261737379000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f557262616e00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4d6f73737900000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f436f6e637265746500000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f436c61737379000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f486172640000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4469727479000000000000000000000000000000000000000000000000000000815250815250600f90600b620006699291906200146c565b50604051806101600160405280600d60ff168152602001600d60ff168152602001600d60ff168152602001600d60ff168152602001600d60ff168152602001600860ff168152602001600860ff168152602001600860ff168152602001600660ff168152602001600460ff168152602001600160ff16815250601090600b620006f4929190620014d3565b5060006011556040518060a001604052806040518060400160405280600781526020017f537472656574730000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4d6f74656c00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f42726f7468656c0000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f486f74656c00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f596163687400000000000000000000000000000000000000000000000000000081525081525060129060056200083c92919062001583565b506040518060a00160405280602860ff168152602001601460ff168152602001600a60ff168152602001600a60ff168152602001600260ff1681525060139060056200088a929190620015ea565b5060006014556040518061014001604052806040518060400160405280600681526020017f446573657274000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f466f72657374000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f4a756e676c65000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f436974790000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f5275696e7300000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600a81526020017f4d6574726f706f6c69730000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f506c61696e73000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f4d6f756e7461696e73000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f536561000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f54756e6472610000000000000000000000000000000000000000000000000000815250815250601590600a62000afa9291906200169a565b50604051806101400160405280600a60ff168152602001600c60ff168152602001600a60ff168152602001600f60ff168152602001600a60ff168152602001600f60ff168152602001600f60ff168152602001600a60ff168152602001600560ff168152602001600a60ff16815250601690600a62000b7b92919062001701565b5060006017556040518061014001604052806040518060400160405280600481526020017f4d6172730000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f56656e757300000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f456172746800000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f4d6572637572790000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f4a7570697465720000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f53617475726e000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f5572616e7573000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f4e657074756e650000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f506c75746f00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f5365646e61000000000000000000000000000000000000000000000000000000815250815250601890600a62000deb9291906200169a565b50604051806101400160405280600a60ff168152602001600a60ff168152602001601960ff168152602001600f60ff168152602001600a60ff168152602001600a60ff168152602001600560ff168152602001600a60ff168152602001600560ff168152602001600160ff16815250601990600a62000e6c92919062001701565b506000601a5534801562000e7f57600080fd5b506040518060400160405280600781526020017f426c696f6d6573000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f42494f4d45000000000000000000000000000000000000000000000000000000815250816000908051906020019062000f04929190620017b1565b50806001908051906020019062000f1d929190620017b1565b5050506001600a8190555062000f4862000f3c6200128760201b60201c565b6200128f60201b60201c565b60005b600d8054905081101562000fec57600d818154811062000f94577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff16600e600082825462000fcf9190620018cf565b92505081905550808062000fe3906200196c565b91505062000f4b565b5060005b60108054905081101562001091576010818154811062001039577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff1660116000828254620010749190620018cf565b92505081905550808062001088906200196c565b91505062000ff0565b5060005b601380549050811015620011365760138181548110620010de577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff1660146000828254620011199190620018cf565b9250508190555080806200112d906200196c565b91505062001095565b5060005b601680549050811015620011db576016818154811062001183577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff1660176000828254620011be9190620018cf565b925050819055508080620011d2906200196c565b9150506200113a565b5060005b60198054905081101562001280576019818154811062001228577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff16601a6000828254620012639190620018cf565b92505081905550808062001277906200196c565b915050620011df565b5062001a18565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054828255906000526020600020908101928215620013a9579160200282015b82811115620013a857825182908051906020019062001397929190620017b1565b509160200191906001019062001376565b5b509050620013b8919062001842565b5090565b82805482825590600052602060002090600f01601090048101928215620014595791602002820160005b838211156200142757835183826101000a81548161ffff021916908360ff1602179055509260200192600201602081600101049283019260010302620013e6565b8015620014575782816101000a81549061ffff021916905560020160208160010104928301926001030262001427565b505b5090506200146891906200186a565b5090565b828054828255906000526020600020908101928215620014c0579160200282015b82811115620014bf578251829080519060200190620014ae929190620017b1565b50916020019190600101906200148d565b5b509050620014cf919062001842565b5090565b82805482825590600052602060002090600f01601090048101928215620015705791602002820160005b838211156200153e57835183826101000a81548161ffff021916908360ff1602179055509260200192600201602081600101049283019260010302620014fd565b80156200156e5782816101000a81549061ffff02191690556002016020816001010492830192600103026200153e565b505b5090506200157f91906200186a565b5090565b828054828255906000526020600020908101928215620015d7579160200282015b82811115620015d6578251829080519060200190620015c5929190620017b1565b5091602001919060010190620015a4565b5b509050620015e6919062001842565b5090565b82805482825590600052602060002090600f01601090048101928215620016875791602002820160005b838211156200165557835183826101000a81548161ffff021916908360ff160217905550926020019260020160208160010104928301926001030262001614565b8015620016855782816101000a81549061ffff021916905560020160208160010104928301926001030262001655565b505b5090506200169691906200186a565b5090565b828054828255906000526020600020908101928215620016ee579160200282015b82811115620016ed578251829080519060200190620016dc929190620017b1565b5091602001919060010190620016bb565b5b509050620016fd919062001842565b5090565b82805482825590600052602060002090600f016010900481019282156200179e5791602002820160005b838211156200176c57835183826101000a81548161ffff021916908360ff16021790555092602001926002016020816001010492830192600103026200172b565b80156200179c5782816101000a81549061ffff02191690556002016020816001010492830192600103026200176c565b505b509050620017ad91906200186a565b5090565b828054620017bf9062001936565b90600052602060002090601f016020900481019282620017e357600085556200182f565b82601f10620017fe57805160ff19168380011785556200182f565b828001600101855582156200182f579182015b828111156200182e57825182559160200191906001019062001811565b5b5090506200183e91906200186a565b5090565b5b808211156200186657600081816200185c919062001889565b5060010162001843565b5090565b5b80821115620018855760008160009055506001016200186b565b5090565b508054620018979062001936565b6000825580601f10620018ab5750620018cc565b601f016020900490600052602060002090810190620018cb91906200186a565b5b50565b6000620018dc826200192c565b9150620018e9836200192c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620019215762001920620019ba565b5b828201905092915050565b6000819050919050565b600060028204905060018216806200194f57607f821691505b60208210811415620019665762001965620019e9565b5b50919050565b600062001979826200192c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415620019af57620019ae620019ba565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6157688062001a286000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80635f2216ad1161010457806398054bd8116100a2578063c87b56dd11610071578063c87b56dd14610576578063e985e9c5146105a6578063ebfda085146105d6578063f2fde38b146105f4576101cf565b806398054bd8146104de578063a22cb4651461050e578063b88d4fde1461052a578063bfa5f1f714610546576101cf565b806370a08231116100de57806370a0823114610468578063715018a6146104985780638da5cb5b146104a257806395d89b41146104c0576101cf565b80635f2216ad146103d85780636352211e146104085780636a8f5a5514610438576101cf565b80632f745c591161017157806342842e0e1161014b57806342842e0e14610354578063434f48c41461037057806347d8636a1461038c5780634f6ccce7146103a8576101cf565b80632f745c59146102d857806334efcb8e14610308578063379607f514610338576101cf565b8063095ea7b3116101ad578063095ea7b3146102525780630bf378181461026e57806318160ddd1461029e57806323b872dd146102bc576101cf565b806301ffc9a7146101d457806306fdde0314610204578063081812fc14610222575b600080fd5b6101ee60048036038101906101e99190613dcc565b610610565b6040516101fb9190614608565b60405180910390f35b61020c61068a565b604051610219919061463e565b60405180910390f35b61023c60048036038101906102379190613e1e565b61071c565b60405161024991906145a1565b60405180910390f35b61026c60048036038101906102679190613d90565b6107a1565b005b61028860048036038101906102839190613e1e565b6108b9565b604051610295919061463e565b60405180910390f35b6102a66109e2565b6040516102b39190614900565b60405180910390f35b6102d660048036038101906102d19190613c8a565b6109ef565b005b6102f260048036038101906102ed9190613d90565b610a4f565b6040516102ff9190614900565b60405180910390f35b610322600480360381019061031d9190613e1e565b610af4565b60405161032f919061463e565b60405180910390f35b610352600480360381019061034d9190613e1e565b610c8a565b005b61036e60048036038101906103699190613c8a565b610d46565b005b61038a60048036038101906103859190613e1e565b610d66565b005b6103a660048036038101906103a19190613e1e565b610e9e565b005b6103c260048036038101906103bd9190613e1e565b611062565b6040516103cf9190614900565b60405180910390f35b6103f260048036038101906103ed9190613e1e565b6110f9565b6040516103ff919061463e565b60405180910390f35b610422600480360381019061041d9190613e1e565b61128f565b60405161042f91906145a1565b60405180910390f35b610452600480360381019061044d9190613e1e565b611341565b60405161045f919061463e565b60405180910390f35b610482600480360381019061047d9190613bfc565b6114d7565b60405161048f9190614900565b60405180910390f35b6104a061158f565b005b6104aa611617565b6040516104b791906145a1565b60405180910390f35b6104c8611641565b6040516104d5919061463e565b60405180910390f35b6104f860048036038101906104f39190613e1e565b6116d3565b604051610505919061463e565b60405180910390f35b61052860048036038101906105239190613d54565b611869565b005b610544600480360381019061053f9190613cd9565b6119ea565b005b610560600480360381019061055b9190613e1e565b611a4c565b60405161056d919061463e565b60405180910390f35b610590600480360381019061058b9190613e1e565b611be2565b60405161059d919061463e565b60405180910390f35b6105c060048036038101906105bb9190613c4e565b6124d3565b6040516105cd9190614608565b60405180910390f35b6105de612567565b6040516105eb9190614623565b60405180910390f35b61060e60048036038101906106099190613bfc565b61257f565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610683575061068282612677565b5b9050919050565b60606000805461069990614ba3565b80601f01602080910402602001604051908101604052809291908181526020018280546106c590614ba3565b80156107125780601f106106e757610100808354040283529160200191610712565b820191906000526020600020905b8154815290600101906020018083116106f557829003601f168201915b5050505050905090565b600061072782612759565b610766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90614800565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107ac8261128f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561081d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081490614880565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661083c6127c5565b73ffffffffffffffffffffffffffffffffffffffff16148061086b575061086a816108656127c5565b6124d3565b5b6108aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a190614760565b60405180910390fd5b6108b483836127cd565b505050565b606060006108ed6108c984612886565b6040516020016108d9919061457f565b604051602081830303815290604052612a33565b905060006109076103e8836109029190614c4f565b612886565b6109286103e880856109199190614a0a565b6109239190614c4f565b612886565b604051602001610939929190614475565b6040516020818303038152906040529050620f4240826109599190614a0a565b915060006109736103e88461096e9190614c4f565b612886565b6109946103e880866109859190614a0a565b61098f9190614c4f565b612886565b6040516020016109a5929190614475565b604051602081830303815290604052905081816040516020016109c99291906144d3565b6040516020818303038152906040529350505050919050565b6000600880549050905090565b610a006109fa6127c5565b82612a66565b610a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a36906148a0565b60405180910390fd5b610a4a838383612b44565b505050565b6000610a5a836114d7565b8210610a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9290614660565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6060610c83826040518060400160405280600681526020017f506c616e657400000000000000000000000000000000000000000000000000008152506018805480602002602001604051908101604052809291908181526020016000905b82821015610bfe578382906000526020600020018054610b7190614ba3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9d90614ba3565b8015610bea5780601f10610bbf57610100808354040283529160200191610bea565b820191906000526020600020905b815481529060010190602001808311610bcd57829003601f168201915b505050505081526020019060010190610b52565b505050506019805480602002602001604051908101604052809291908181526020018280548015610c7657602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411610c3d5790505b5050505050601a54612da0565b9050919050565b6002600a541415610cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc7906148e0565b60405180910390fd5b6002600a81905550611f498110158015610ceb575061256881105b610d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2190614840565b60405180910390fd5b610d3b610d356127c5565b82612e2d565b6001600a8190555050565b610d61838383604051806020016040528060008152506119ea565b505050565b6002600a541415610dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da3906148e0565b60405180910390fd5b6002600a81905550610dbc6127c5565b73ffffffffffffffffffffffffffffffffffffffff16610dda611617565b73ffffffffffffffffffffffffffffffffffffffff1614610e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2790614820565b60405180910390fd5b6125688110158015610e4357506125ac81105b610e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7990614840565b60405180910390fd5b610e93610e8d611617565b82612e2d565b6001600a8190555050565b6002600a541415610ee4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edb906148e0565b60405180910390fd5b6002600a81905550600081118015610efd5750611f4981105b610f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3390614840565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16734f8730e0b32b04beaa5757e5aea3aef970e5b61373ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610fa09190614900565b60206040518083038186803b158015610fb857600080fd5b505afa158015610fcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff09190613c25565b73ffffffffffffffffffffffffffffffffffffffff1614611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d906146e0565b60405180910390fd5b6110576110516127c5565b82612e2d565b6001600a8190555050565b600061106c6109e2565b82106110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a4906148c0565b60405180910390fd5b600882815481106110e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6060611288826040518060400160405280600a81526020017f41746d6f73706865726500000000000000000000000000000000000000000000815250600c805480602002602001604051908101604052809291908181526020016000905b8282101561120357838290600052602060002001805461117690614ba3565b80601f01602080910402602001604051908101604052809291908181526020018280546111a290614ba3565b80156111ef5780601f106111c4576101008083540402835291602001916111ef565b820191906000526020600020905b8154815290600101906020018083116111d257829003601f168201915b505050505081526020019060010190611157565b50505050600d80548060200260200160405190810160405280929190818152602001828054801561127b57602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff16815260200190600201906020826001010492830192600103820291508084116112425790505b5050505050600e54612da0565b9050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611338576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132f906147a0565b60405180910390fd5b80915050919050565b60606114d0826040518060400160405280600681526020017f426c696f6d6500000000000000000000000000000000000000000000000000008152506015805480602002602001604051908101604052809291908181526020016000905b8282101561144b5783829060005260206000200180546113be90614ba3565b80601f01602080910402602001604051908101604052809291908181526020018280546113ea90614ba3565b80156114375780601f1061140c57610100808354040283529160200191611437565b820191906000526020600020905b81548152906001019060200180831161141a57829003601f168201915b50505050508152602001906001019061139f565b5050505060168054806020026020016040519081016040528092919081815260200182805480156114c357602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff168152602001906002019060208260010104928301926001038202915080841161148a5790505b5050505050601754612da0565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153f90614780565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115976127c5565b73ffffffffffffffffffffffffffffffffffffffff166115b5611617565b73ffffffffffffffffffffffffffffffffffffffff161461160b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160290614820565b60405180910390fd5b6116156000612e4b565b565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461165090614ba3565b80601f016020809104026020016040519081016040528092919081815260200182805461167c90614ba3565b80156116c95780601f1061169e576101008083540402835291602001916116c9565b820191906000526020600020905b8154815290600101906020018083116116ac57829003601f168201915b5050505050905090565b6060611862826040518060400160405280600781526020017f5465727261696e00000000000000000000000000000000000000000000000000815250600f805480602002602001604051908101604052809291908181526020016000905b828210156117dd57838290600052602060002001805461175090614ba3565b80601f016020809104026020016040519081016040528092919081815260200182805461177c90614ba3565b80156117c95780601f1061179e576101008083540402835291602001916117c9565b820191906000526020600020905b8154815290600101906020018083116117ac57829003601f168201915b505050505081526020019060010190611731565b50505050601080548060200260200160405190810160405280929190818152602001828054801561185557602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff168152602001906002019060208260010104928301926001038202915080841161181c5790505b5050505050601154612da0565b9050919050565b6118716127c5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d690614720565b60405180910390fd5b80600560006118ec6127c5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119996127c5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119de9190614608565b60405180910390a35050565b6119fb6119f56127c5565b83612a66565b611a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a31906148a0565b60405180910390fd5b611a4684848484612f11565b50505050565b6060611bdb826040518060400160405280600881526020017f4c616e646d61726b0000000000000000000000000000000000000000000000008152506012805480602002602001604051908101604052809291908181526020016000905b82821015611b56578382906000526020600020018054611ac990614ba3565b80601f0160208091040260200160405190810160405280929190818152602001828054611af590614ba3565b8015611b425780601f10611b1757610100808354040283529160200191611b42565b820191906000526020600020905b815481529060010190602001808311611b2557829003601f168201915b505050505081526020019060010190611aaa565b505050506013805480602002602001604051908101604052809291908181526020018280548015611bce57602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411611b955790505b5050505050601454612da0565b9050919050565b6060611bec613aee565b60405180610120016040528060ff81526020016155a360ff9139816000600e8110611c40577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250611c5183611341565b816001600e8110611c8b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002018190525060405180606001604052806028815260200161570b60289139816002600e8110611ce6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250611cf7836116d3565b816003600e8110611d31577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002018190525060405180606001604052806028815260200161550160289139816004600e8110611d8c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250611d9d836110f9565b816005600e8110611dd7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002018190525060405180606001604052806028815260200161555260289139816006600e8110611e32577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250611e4383611a4c565b816007600e8110611e7d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002018190525060405180606001604052806029815260200161557a60299139816008600e8110611ed8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250611ee983610af4565b816009600e8110611f23577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201819052506040518060600160405280602981526020016155296029913981600a600e8110611f7e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250611f8f836108b9565b81600b600e8110611fc9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201819052506040518060600160405280602981526020016156a26029913981600c600e8110612024577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201819052506040518060400160405280600d81526020017f3c2f746578743e3c2f7376673e0000000000000000000000000000000000000081525081600d600e811061209c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201819052506000816000600e81106120e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151826001600e811061211f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151836002600e811061215e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151846003600e811061219d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151856004600e81106121dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151866005600e811061221b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151876006600e811061225a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151886007600e8110612299577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151896008600e81106122d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201516040516020016122f5999897969594939291906143f6565b604051602081830303815290604052905080826009600e8110612341577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015183600a600e8110612380577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015184600b600e81106123bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015185600c600e81106123fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015186600d600e811061243d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201516040516020016124579695949392919061439e565b604051602081830303815290604052905060006124a461247686612886565b61247f84612f6d565b604051602001612490929190614518565b604051602081830303815290604052612f6d565b9050806040516020016124b7919061455d565b6040516020818303038152906040529150819350505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b734f8730e0b32b04beaa5757e5aea3aef970e5b61381565b6125876127c5565b73ffffffffffffffffffffffffffffffffffffffff166125a5611617565b73ffffffffffffffffffffffffffffffffffffffff16146125fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f290614820565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561266b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612662906146a0565b60405180910390fd5b61267481612e4b565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061274257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612752575061275182613118565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128408361128f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b606060008214156128ce576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a2e565b600082905060005b600082146129005780806128e990614c06565b915050600a826128f99190614a0a565b91506128d6565b60008167ffffffffffffffff811115612942577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129745781602001600182028036833780820191505090505b5090505b60008514612a275760018261298d9190614a95565b9150600a8561299c9190614c4f565b60306129a891906149b4565b60f81b8183815181106129e4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a209190614a0a565b9450612978565b8093505050505b919050565b600081604051602001612a469190614363565b6040516020818303038152906040528051906020012060001c9050919050565b6000612a7182612759565b612ab0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa790614740565b60405180910390fd5b6000612abb8361128f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b2a57508373ffffffffffffffffffffffffffffffffffffffff16612b128461071c565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b3b5750612b3a81856124d3565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b648261128f565b73ffffffffffffffffffffffffffffffffffffffff1614612bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb190614860565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2190614700565b60405180910390fd5b612c35838383613182565b612c406000826127cd565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c909190614a95565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ce791906149b4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60606000612dd686612db189612886565b604051602001612dc292919061437a565b604051602081830303815290604052612a33565b9050600060018483612de89190614c4f565b612df291906149b4565b905086612e00878784613296565b604051602001612e119291906144a4565b6040516020818303038152906040529250505095945050505050565b612e4782826040518060200160405280600081525061339e565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612f1c848484612b44565b612f28848484846133f9565b612f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5e90614680565b60405180910390fd5b50505050565b6060600082511415612f9057604051806020016040528060008152509050613113565b60006040518060600160405280604081526020016156cb6040913990506000600360028551612fbf91906149b4565b612fc99190614a0a565b6004612fd59190614a3b565b90506000602082612fe691906149b4565b67ffffffffffffffff811115613025577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156130575781602001600182028036833780820191505090505b509050818152600183018586518101602084015b818310156130d2576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b82526001820191505061306b565b6003895106600181146130ec57600281146130fc57613107565b613d3d60f01b6002830352613107565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61318d838383613590565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131d0576131cb81613595565b61320f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461320e5761320d83826135de565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132525761324d8161374b565b613291565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146132905761328f828261388e565b5b5b505050565b60606000805b845181101561335b578481815181106132de577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161ffff16826132f591906149b4565b915083821061334857858181518110613337577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015192505050613397565b808061335390614c06565b91505061329c565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338e906147e0565b60405180910390fd5b9392505050565b6133a8838361390d565b6133b560008484846133f9565b6133f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133eb90614680565b60405180910390fd5b505050565b600061341a8473ffffffffffffffffffffffffffffffffffffffff16613adb565b15613583578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026134436127c5565b8786866040518563ffffffff1660e01b815260040161346594939291906145bc565b602060405180830381600087803b15801561347f57600080fd5b505af19250505080156134b057506040513d601f19601f820116820180604052508101906134ad9190613df5565b60015b613533573d80600081146134e0576040519150601f19603f3d011682016040523d82523d6000602084013e6134e5565b606091505b5060008151141561352b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352290614680565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613588565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016135eb846114d7565b6135f59190614a95565b90506000600760008481526020019081526020016000205490508181146136da576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061375f9190614a95565b90506000600960008481526020019081526020016000205490506000600883815481106137b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106137fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613872577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613899836114d7565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561397d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613974906147c0565b60405180910390fd5b61398681612759565b156139c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139bd906146c0565b60405180910390fd5b6139d260008383613182565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a2291906149b4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b604051806101c00160405280600e905b6060815260200190600190039081613afe5790505090565b6000613b29613b2484614940565b61491b565b905082815260208101848484011115613b4157600080fd5b613b4c848285614b61565b509392505050565b600081359050613b63816154a4565b92915050565b600081519050613b78816154a4565b92915050565b600081359050613b8d816154bb565b92915050565b600081359050613ba2816154d2565b92915050565b600081519050613bb7816154d2565b92915050565b600082601f830112613bce57600080fd5b8135613bde848260208601613b16565b91505092915050565b600081359050613bf6816154e9565b92915050565b600060208284031215613c0e57600080fd5b6000613c1c84828501613b54565b91505092915050565b600060208284031215613c3757600080fd5b6000613c4584828501613b69565b91505092915050565b60008060408385031215613c6157600080fd5b6000613c6f85828601613b54565b9250506020613c8085828601613b54565b9150509250929050565b600080600060608486031215613c9f57600080fd5b6000613cad86828701613b54565b9350506020613cbe86828701613b54565b9250506040613ccf86828701613be7565b9150509250925092565b60008060008060808587031215613cef57600080fd5b6000613cfd87828801613b54565b9450506020613d0e87828801613b54565b9350506040613d1f87828801613be7565b925050606085013567ffffffffffffffff811115613d3c57600080fd5b613d4887828801613bbd565b91505092959194509250565b60008060408385031215613d6757600080fd5b6000613d7585828601613b54565b9250506020613d8685828601613b7e565b9150509250929050565b60008060408385031215613da357600080fd5b6000613db185828601613b54565b9250506020613dc285828601613be7565b9150509250929050565b600060208284031215613dde57600080fd5b6000613dec84828501613b93565b91505092915050565b600060208284031215613e0757600080fd5b6000613e1584828501613ba8565b91505092915050565b600060208284031215613e3057600080fd5b6000613e3e84828501613be7565b91505092915050565b613e5081614ac9565b82525050565b613e5f81614adb565b82525050565b6000613e7082614971565b613e7a8185614987565b9350613e8a818560208601614b70565b613e9381614d3c565b840191505092915050565b613ea781614b3d565b82525050565b6000613eb88261497c565b613ec28185614998565b9350613ed2818560208601614b70565b613edb81614d3c565b840191505092915050565b6000613ef18261497c565b613efb81856149a9565b9350613f0b818560208601614b70565b80840191505092915050565b6000613f24600e836149a9565b9150613f2f82614d4d565b600e82019050919050565b6000613f47602b83614998565b9150613f5282614d76565b604082019050919050565b6000613f6a603283614998565b9150613f7582614dc5565b604082019050919050565b6000613f8d602683614998565b9150613f9882614e14565b604082019050919050565b6000613fb0601c83614998565b9150613fbb82614e63565b602082019050919050565b6000613fd3600e83614998565b9150613fde82614e8c565b602082019050919050565b6000613ff66013836149a9565b915061400182614eb5565b601382019050919050565b6000614019602483614998565b915061402482614ede565b604082019050919050565b600061403c601983614998565b915061404782614f2d565b602082019050919050565b600061405f602c83614998565b915061406a82614f56565b604082019050919050565b60006140826001836149a9565b915061408d82614fa5565b600182019050919050565b60006140a5603883614998565b91506140b082614fce565b604082019050919050565b60006140c86001836149a9565b91506140d38261501d565b600182019050919050565b60006140eb602a83614998565b91506140f682615046565b604082019050919050565b600061410e602983614998565b915061411982615095565b604082019050919050565b60006141316002836149a9565b915061413c826150e4565b600282019050919050565b6000614154602083614998565b915061415f8261510d565b602082019050919050565b6000614177600e83614998565b915061418282615136565b602082019050919050565b600061419a602c83614998565b91506141a58261515f565b604082019050919050565b60006141bd602083614998565b91506141c8826151ae565b602082019050919050565b60006141e0601083614998565b91506141eb826151d7565b602082019050919050565b6000614203602983614998565b915061420e82615200565b604082019050919050565b6000614226602183614998565b91506142318261524f565b604082019050919050565b60006142496002836149a9565b91506142548261529e565b600282019050919050565b600061426c601d836149a9565b9150614277826152c7565b601d82019050919050565b600061428f603183614998565b915061429a826152f0565b604082019050919050565b60006142b2602c83614998565b91506142bd8261533f565b604082019050919050565b60006142d56002836149a9565b91506142e08261538e565b600282019050919050565b60006142f8601f83614998565b9150614303826153b7565b602082019050919050565b600061431b600b836149a9565b9150614326826153e0565b600b82019050919050565b600061433e607a836149a9565b915061434982615409565b607a82019050919050565b61435d81614b33565b82525050565b600061436f8284613ee6565b915081905092915050565b60006143868285613ee6565b91506143928284613ee6565b91508190509392505050565b60006143aa8289613ee6565b91506143b68288613ee6565b91506143c28287613ee6565b91506143ce8286613ee6565b91506143da8285613ee6565b91506143e68284613ee6565b9150819050979650505050505050565b6000614402828c613ee6565b915061440e828b613ee6565b915061441a828a613ee6565b91506144268289613ee6565b91506144328288613ee6565b915061443e8287613ee6565b915061444a8286613ee6565b91506144568285613ee6565b91506144628284613ee6565b91508190509a9950505050505050505050565b60006144818285613ee6565b915061448c826140bb565b91506144988284613ee6565b91508190509392505050565b60006144b08285613ee6565b91506144bb826142c8565b91506144c78284613ee6565b91508190509392505050565b60006144de82613f17565b91506144ea8285613ee6565b91506144f58261423c565b91506145018284613ee6565b915061450c82614075565b91508190509392505050565b600061452382613fe9565b915061452f8285613ee6565b915061453a82614331565b91506145468284613ee6565b915061455182614124565b91508190509392505050565b60006145688261425f565b91506145748284613ee6565b915081905092915050565b600061458a8261430e565b91506145968284613ee6565b915081905092915050565b60006020820190506145b66000830184613e47565b92915050565b60006080820190506145d16000830187613e47565b6145de6020830186613e47565b6145eb6040830185614354565b81810360608301526145fd8184613e65565b905095945050505050565b600060208201905061461d6000830184613e56565b92915050565b60006020820190506146386000830184613e9e565b92915050565b600060208201905081810360008301526146588184613ead565b905092915050565b6000602082019050818103600083015261467981613f3a565b9050919050565b6000602082019050818103600083015261469981613f5d565b9050919050565b600060208201905081810360008301526146b981613f80565b9050919050565b600060208201905081810360008301526146d981613fa3565b9050919050565b600060208201905081810360008301526146f981613fc6565b9050919050565b600060208201905081810360008301526147198161400c565b9050919050565b600060208201905081810360008301526147398161402f565b9050919050565b6000602082019050818103600083015261475981614052565b9050919050565b6000602082019050818103600083015261477981614098565b9050919050565b60006020820190508181036000830152614799816140de565b9050919050565b600060208201905081810360008301526147b981614101565b9050919050565b600060208201905081810360008301526147d981614147565b9050919050565b600060208201905081810360008301526147f98161416a565b9050919050565b600060208201905081810360008301526148198161418d565b9050919050565b60006020820190508181036000830152614839816141b0565b9050919050565b60006020820190508181036000830152614859816141d3565b9050919050565b60006020820190508181036000830152614879816141f6565b9050919050565b6000602082019050818103600083015261489981614219565b9050919050565b600060208201905081810360008301526148b981614282565b9050919050565b600060208201905081810360008301526148d9816142a5565b9050919050565b600060208201905081810360008301526148f9816142eb565b9050919050565b60006020820190506149156000830184614354565b92915050565b6000614925614936565b90506149318282614bd5565b919050565b6000604051905090565b600067ffffffffffffffff82111561495b5761495a614d0d565b5b61496482614d3c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006149bf82614b33565b91506149ca83614b33565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149ff576149fe614c80565b5b828201905092915050565b6000614a1582614b33565b9150614a2083614b33565b925082614a3057614a2f614caf565b5b828204905092915050565b6000614a4682614b33565b9150614a5183614b33565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a8a57614a89614c80565b5b828202905092915050565b6000614aa082614b33565b9150614aab83614b33565b925082821015614abe57614abd614c80565b5b828203905092915050565b6000614ad482614b13565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614b4882614b4f565b9050919050565b6000614b5a82614b13565b9050919050565b82818337600083830152505050565b60005b83811015614b8e578082015181840152602081019050614b73565b83811115614b9d576000848401525b50505050565b60006002820490506001821680614bbb57607f821691505b60208210811415614bcf57614bce614cde565b5b50919050565b614bde82614d3c565b810181811067ffffffffffffffff82111715614bfd57614bfc614d0d565b5b80604052505050565b6000614c1182614b33565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c4457614c43614c80565b5b600182019050919050565b6000614c5a82614b33565b9150614c6583614b33565b925082614c7557614c74614caf565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f436f6f7264696e617465733a2028000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6f74204c6f6f74206f776e6572000000000000000000000000000000000000600082015250565b7f7b226e616d65223a2022426c696f6d6573202300000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2900000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f2e00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f206974656d20666f756e6421000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f546f6b656e20494420696e76616c696400000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f2c20000000000000000000000000000000000000000000000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f3a20000000000000000000000000000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f436f6f7264696e61746573000000000000000000000000000000000000000000600082015250565b7f222c20226465736372697074696f6e223a2022426c696f6d657320617265206460008201527f657461696c656420696e737472756374696f6e73206f6620776865726520746f60208201527f206c6f6361746520796f757220626c6f6f742e222c2022696d616765223a202260408201527f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000606082015250565b6154ad81614ac9565b81146154b857600080fd5b50565b6154c481614adb565b81146154cf57600080fd5b50565b6154db81614ae7565b81146154e657600080fd5b50565b6154f281614b33565b81146154fd57600080fd5b5056fe3c2f746578743e3c7465787420783d2231302220793d2236302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223132302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d2238302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223130302220636c6173733d2262617365223e3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e62617365207b2066696c6c3a20626c61636b3b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d222330316666303122202f3e3c7465787420783d2231302220793d2232302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223134302220636c6173733d2262617365223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c2f746578743e3c7465787420783d2231302220793d2234302220636c6173733d2262617365223ea264697066735822122016c5ca21f7dd8fecc8e5d522ddc3b01d594661a2f25c2634983f640f6f08ed9964736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80635f2216ad1161010457806398054bd8116100a2578063c87b56dd11610071578063c87b56dd14610576578063e985e9c5146105a6578063ebfda085146105d6578063f2fde38b146105f4576101cf565b806398054bd8146104de578063a22cb4651461050e578063b88d4fde1461052a578063bfa5f1f714610546576101cf565b806370a08231116100de57806370a0823114610468578063715018a6146104985780638da5cb5b146104a257806395d89b41146104c0576101cf565b80635f2216ad146103d85780636352211e146104085780636a8f5a5514610438576101cf565b80632f745c591161017157806342842e0e1161014b57806342842e0e14610354578063434f48c41461037057806347d8636a1461038c5780634f6ccce7146103a8576101cf565b80632f745c59146102d857806334efcb8e14610308578063379607f514610338576101cf565b8063095ea7b3116101ad578063095ea7b3146102525780630bf378181461026e57806318160ddd1461029e57806323b872dd146102bc576101cf565b806301ffc9a7146101d457806306fdde0314610204578063081812fc14610222575b600080fd5b6101ee60048036038101906101e99190613dcc565b610610565b6040516101fb9190614608565b60405180910390f35b61020c61068a565b604051610219919061463e565b60405180910390f35b61023c60048036038101906102379190613e1e565b61071c565b60405161024991906145a1565b60405180910390f35b61026c60048036038101906102679190613d90565b6107a1565b005b61028860048036038101906102839190613e1e565b6108b9565b604051610295919061463e565b60405180910390f35b6102a66109e2565b6040516102b39190614900565b60405180910390f35b6102d660048036038101906102d19190613c8a565b6109ef565b005b6102f260048036038101906102ed9190613d90565b610a4f565b6040516102ff9190614900565b60405180910390f35b610322600480360381019061031d9190613e1e565b610af4565b60405161032f919061463e565b60405180910390f35b610352600480360381019061034d9190613e1e565b610c8a565b005b61036e60048036038101906103699190613c8a565b610d46565b005b61038a60048036038101906103859190613e1e565b610d66565b005b6103a660048036038101906103a19190613e1e565b610e9e565b005b6103c260048036038101906103bd9190613e1e565b611062565b6040516103cf9190614900565b60405180910390f35b6103f260048036038101906103ed9190613e1e565b6110f9565b6040516103ff919061463e565b60405180910390f35b610422600480360381019061041d9190613e1e565b61128f565b60405161042f91906145a1565b60405180910390f35b610452600480360381019061044d9190613e1e565b611341565b60405161045f919061463e565b60405180910390f35b610482600480360381019061047d9190613bfc565b6114d7565b60405161048f9190614900565b60405180910390f35b6104a061158f565b005b6104aa611617565b6040516104b791906145a1565b60405180910390f35b6104c8611641565b6040516104d5919061463e565b60405180910390f35b6104f860048036038101906104f39190613e1e565b6116d3565b604051610505919061463e565b60405180910390f35b61052860048036038101906105239190613d54565b611869565b005b610544600480360381019061053f9190613cd9565b6119ea565b005b610560600480360381019061055b9190613e1e565b611a4c565b60405161056d919061463e565b60405180910390f35b610590600480360381019061058b9190613e1e565b611be2565b60405161059d919061463e565b60405180910390f35b6105c060048036038101906105bb9190613c4e565b6124d3565b6040516105cd9190614608565b60405180910390f35b6105de612567565b6040516105eb9190614623565b60405180910390f35b61060e60048036038101906106099190613bfc565b61257f565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610683575061068282612677565b5b9050919050565b60606000805461069990614ba3565b80601f01602080910402602001604051908101604052809291908181526020018280546106c590614ba3565b80156107125780601f106106e757610100808354040283529160200191610712565b820191906000526020600020905b8154815290600101906020018083116106f557829003601f168201915b5050505050905090565b600061072782612759565b610766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90614800565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107ac8261128f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561081d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081490614880565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661083c6127c5565b73ffffffffffffffffffffffffffffffffffffffff16148061086b575061086a816108656127c5565b6124d3565b5b6108aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a190614760565b60405180910390fd5b6108b483836127cd565b505050565b606060006108ed6108c984612886565b6040516020016108d9919061457f565b604051602081830303815290604052612a33565b905060006109076103e8836109029190614c4f565b612886565b6109286103e880856109199190614a0a565b6109239190614c4f565b612886565b604051602001610939929190614475565b6040516020818303038152906040529050620f4240826109599190614a0a565b915060006109736103e88461096e9190614c4f565b612886565b6109946103e880866109859190614a0a565b61098f9190614c4f565b612886565b6040516020016109a5929190614475565b604051602081830303815290604052905081816040516020016109c99291906144d3565b6040516020818303038152906040529350505050919050565b6000600880549050905090565b610a006109fa6127c5565b82612a66565b610a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a36906148a0565b60405180910390fd5b610a4a838383612b44565b505050565b6000610a5a836114d7565b8210610a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9290614660565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6060610c83826040518060400160405280600681526020017f506c616e657400000000000000000000000000000000000000000000000000008152506018805480602002602001604051908101604052809291908181526020016000905b82821015610bfe578382906000526020600020018054610b7190614ba3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9d90614ba3565b8015610bea5780601f10610bbf57610100808354040283529160200191610bea565b820191906000526020600020905b815481529060010190602001808311610bcd57829003601f168201915b505050505081526020019060010190610b52565b505050506019805480602002602001604051908101604052809291908181526020018280548015610c7657602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411610c3d5790505b5050505050601a54612da0565b9050919050565b6002600a541415610cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc7906148e0565b60405180910390fd5b6002600a81905550611f498110158015610ceb575061256881105b610d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2190614840565b60405180910390fd5b610d3b610d356127c5565b82612e2d565b6001600a8190555050565b610d61838383604051806020016040528060008152506119ea565b505050565b6002600a541415610dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da3906148e0565b60405180910390fd5b6002600a81905550610dbc6127c5565b73ffffffffffffffffffffffffffffffffffffffff16610dda611617565b73ffffffffffffffffffffffffffffffffffffffff1614610e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2790614820565b60405180910390fd5b6125688110158015610e4357506125ac81105b610e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7990614840565b60405180910390fd5b610e93610e8d611617565b82612e2d565b6001600a8190555050565b6002600a541415610ee4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edb906148e0565b60405180910390fd5b6002600a81905550600081118015610efd5750611f4981105b610f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3390614840565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16734f8730e0b32b04beaa5757e5aea3aef970e5b61373ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610fa09190614900565b60206040518083038186803b158015610fb857600080fd5b505afa158015610fcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff09190613c25565b73ffffffffffffffffffffffffffffffffffffffff1614611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d906146e0565b60405180910390fd5b6110576110516127c5565b82612e2d565b6001600a8190555050565b600061106c6109e2565b82106110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a4906148c0565b60405180910390fd5b600882815481106110e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6060611288826040518060400160405280600a81526020017f41746d6f73706865726500000000000000000000000000000000000000000000815250600c805480602002602001604051908101604052809291908181526020016000905b8282101561120357838290600052602060002001805461117690614ba3565b80601f01602080910402602001604051908101604052809291908181526020018280546111a290614ba3565b80156111ef5780601f106111c4576101008083540402835291602001916111ef565b820191906000526020600020905b8154815290600101906020018083116111d257829003601f168201915b505050505081526020019060010190611157565b50505050600d80548060200260200160405190810160405280929190818152602001828054801561127b57602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff16815260200190600201906020826001010492830192600103820291508084116112425790505b5050505050600e54612da0565b9050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611338576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132f906147a0565b60405180910390fd5b80915050919050565b60606114d0826040518060400160405280600681526020017f426c696f6d6500000000000000000000000000000000000000000000000000008152506015805480602002602001604051908101604052809291908181526020016000905b8282101561144b5783829060005260206000200180546113be90614ba3565b80601f01602080910402602001604051908101604052809291908181526020018280546113ea90614ba3565b80156114375780601f1061140c57610100808354040283529160200191611437565b820191906000526020600020905b81548152906001019060200180831161141a57829003601f168201915b50505050508152602001906001019061139f565b5050505060168054806020026020016040519081016040528092919081815260200182805480156114c357602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff168152602001906002019060208260010104928301926001038202915080841161148a5790505b5050505050601754612da0565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153f90614780565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115976127c5565b73ffffffffffffffffffffffffffffffffffffffff166115b5611617565b73ffffffffffffffffffffffffffffffffffffffff161461160b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160290614820565b60405180910390fd5b6116156000612e4b565b565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461165090614ba3565b80601f016020809104026020016040519081016040528092919081815260200182805461167c90614ba3565b80156116c95780601f1061169e576101008083540402835291602001916116c9565b820191906000526020600020905b8154815290600101906020018083116116ac57829003601f168201915b5050505050905090565b6060611862826040518060400160405280600781526020017f5465727261696e00000000000000000000000000000000000000000000000000815250600f805480602002602001604051908101604052809291908181526020016000905b828210156117dd57838290600052602060002001805461175090614ba3565b80601f016020809104026020016040519081016040528092919081815260200182805461177c90614ba3565b80156117c95780601f1061179e576101008083540402835291602001916117c9565b820191906000526020600020905b8154815290600101906020018083116117ac57829003601f168201915b505050505081526020019060010190611731565b50505050601080548060200260200160405190810160405280929190818152602001828054801561185557602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff168152602001906002019060208260010104928301926001038202915080841161181c5790505b5050505050601154612da0565b9050919050565b6118716127c5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d690614720565b60405180910390fd5b80600560006118ec6127c5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119996127c5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119de9190614608565b60405180910390a35050565b6119fb6119f56127c5565b83612a66565b611a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a31906148a0565b60405180910390fd5b611a4684848484612f11565b50505050565b6060611bdb826040518060400160405280600881526020017f4c616e646d61726b0000000000000000000000000000000000000000000000008152506012805480602002602001604051908101604052809291908181526020016000905b82821015611b56578382906000526020600020018054611ac990614ba3565b80601f0160208091040260200160405190810160405280929190818152602001828054611af590614ba3565b8015611b425780601f10611b1757610100808354040283529160200191611b42565b820191906000526020600020905b815481529060010190602001808311611b2557829003601f168201915b505050505081526020019060010190611aaa565b505050506013805480602002602001604051908101604052809291908181526020018280548015611bce57602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411611b955790505b5050505050601454612da0565b9050919050565b6060611bec613aee565b60405180610120016040528060ff81526020016155a360ff9139816000600e8110611c40577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250611c5183611341565b816001600e8110611c8b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002018190525060405180606001604052806028815260200161570b60289139816002600e8110611ce6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250611cf7836116d3565b816003600e8110611d31577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002018190525060405180606001604052806028815260200161550160289139816004600e8110611d8c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250611d9d836110f9565b816005600e8110611dd7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002018190525060405180606001604052806028815260200161555260289139816006600e8110611e32577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250611e4383611a4c565b816007600e8110611e7d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002018190525060405180606001604052806029815260200161557a60299139816008600e8110611ed8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250611ee983610af4565b816009600e8110611f23577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201819052506040518060600160405280602981526020016155296029913981600a600e8110611f7e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020181905250611f8f836108b9565b81600b600e8110611fc9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201819052506040518060600160405280602981526020016156a26029913981600c600e8110612024577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201819052506040518060400160405280600d81526020017f3c2f746578743e3c2f7376673e0000000000000000000000000000000000000081525081600d600e811061209c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201819052506000816000600e81106120e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151826001600e811061211f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151836002600e811061215e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151846003600e811061219d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151856004600e81106121dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151866005600e811061221b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151876006600e811061225a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151886007600e8110612299577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151896008600e81106122d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201516040516020016122f5999897969594939291906143f6565b604051602081830303815290604052905080826009600e8110612341577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015183600a600e8110612380577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015184600b600e81106123bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015185600c600e81106123fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015186600d600e811061243d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201516040516020016124579695949392919061439e565b604051602081830303815290604052905060006124a461247686612886565b61247f84612f6d565b604051602001612490929190614518565b604051602081830303815290604052612f6d565b9050806040516020016124b7919061455d565b6040516020818303038152906040529150819350505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b734f8730e0b32b04beaa5757e5aea3aef970e5b61381565b6125876127c5565b73ffffffffffffffffffffffffffffffffffffffff166125a5611617565b73ffffffffffffffffffffffffffffffffffffffff16146125fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f290614820565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561266b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612662906146a0565b60405180910390fd5b61267481612e4b565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061274257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612752575061275182613118565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166128408361128f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b606060008214156128ce576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a2e565b600082905060005b600082146129005780806128e990614c06565b915050600a826128f99190614a0a565b91506128d6565b60008167ffffffffffffffff811115612942577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129745781602001600182028036833780820191505090505b5090505b60008514612a275760018261298d9190614a95565b9150600a8561299c9190614c4f565b60306129a891906149b4565b60f81b8183815181106129e4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a209190614a0a565b9450612978565b8093505050505b919050565b600081604051602001612a469190614363565b6040516020818303038152906040528051906020012060001c9050919050565b6000612a7182612759565b612ab0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa790614740565b60405180910390fd5b6000612abb8361128f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b2a57508373ffffffffffffffffffffffffffffffffffffffff16612b128461071c565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b3b5750612b3a81856124d3565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b648261128f565b73ffffffffffffffffffffffffffffffffffffffff1614612bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb190614860565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2190614700565b60405180910390fd5b612c35838383613182565b612c406000826127cd565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c909190614a95565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ce791906149b4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60606000612dd686612db189612886565b604051602001612dc292919061437a565b604051602081830303815290604052612a33565b9050600060018483612de89190614c4f565b612df291906149b4565b905086612e00878784613296565b604051602001612e119291906144a4565b6040516020818303038152906040529250505095945050505050565b612e4782826040518060200160405280600081525061339e565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612f1c848484612b44565b612f28848484846133f9565b612f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5e90614680565b60405180910390fd5b50505050565b6060600082511415612f9057604051806020016040528060008152509050613113565b60006040518060600160405280604081526020016156cb6040913990506000600360028551612fbf91906149b4565b612fc99190614a0a565b6004612fd59190614a3b565b90506000602082612fe691906149b4565b67ffffffffffffffff811115613025577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156130575781602001600182028036833780820191505090505b509050818152600183018586518101602084015b818310156130d2576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b82526001820191505061306b565b6003895106600181146130ec57600281146130fc57613107565b613d3d60f01b6002830352613107565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61318d838383613590565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131d0576131cb81613595565b61320f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461320e5761320d83826135de565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132525761324d8161374b565b613291565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146132905761328f828261388e565b5b5b505050565b60606000805b845181101561335b578481815181106132de577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161ffff16826132f591906149b4565b915083821061334857858181518110613337577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015192505050613397565b808061335390614c06565b91505061329c565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338e906147e0565b60405180910390fd5b9392505050565b6133a8838361390d565b6133b560008484846133f9565b6133f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133eb90614680565b60405180910390fd5b505050565b600061341a8473ffffffffffffffffffffffffffffffffffffffff16613adb565b15613583578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026134436127c5565b8786866040518563ffffffff1660e01b815260040161346594939291906145bc565b602060405180830381600087803b15801561347f57600080fd5b505af19250505080156134b057506040513d601f19601f820116820180604052508101906134ad9190613df5565b60015b613533573d80600081146134e0576040519150601f19603f3d011682016040523d82523d6000602084013e6134e5565b606091505b5060008151141561352b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352290614680565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613588565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016135eb846114d7565b6135f59190614a95565b90506000600760008481526020019081526020016000205490508181146136da576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061375f9190614a95565b90506000600960008481526020019081526020016000205490506000600883815481106137b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106137fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613872577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613899836114d7565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561397d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613974906147c0565b60405180910390fd5b61398681612759565b156139c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139bd906146c0565b60405180910390fd5b6139d260008383613182565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a2291906149b4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b604051806101c00160405280600e905b6060815260200190600190039081613afe5790505090565b6000613b29613b2484614940565b61491b565b905082815260208101848484011115613b4157600080fd5b613b4c848285614b61565b509392505050565b600081359050613b63816154a4565b92915050565b600081519050613b78816154a4565b92915050565b600081359050613b8d816154bb565b92915050565b600081359050613ba2816154d2565b92915050565b600081519050613bb7816154d2565b92915050565b600082601f830112613bce57600080fd5b8135613bde848260208601613b16565b91505092915050565b600081359050613bf6816154e9565b92915050565b600060208284031215613c0e57600080fd5b6000613c1c84828501613b54565b91505092915050565b600060208284031215613c3757600080fd5b6000613c4584828501613b69565b91505092915050565b60008060408385031215613c6157600080fd5b6000613c6f85828601613b54565b9250506020613c8085828601613b54565b9150509250929050565b600080600060608486031215613c9f57600080fd5b6000613cad86828701613b54565b9350506020613cbe86828701613b54565b9250506040613ccf86828701613be7565b9150509250925092565b60008060008060808587031215613cef57600080fd5b6000613cfd87828801613b54565b9450506020613d0e87828801613b54565b9350506040613d1f87828801613be7565b925050606085013567ffffffffffffffff811115613d3c57600080fd5b613d4887828801613bbd565b91505092959194509250565b60008060408385031215613d6757600080fd5b6000613d7585828601613b54565b9250506020613d8685828601613b7e565b9150509250929050565b60008060408385031215613da357600080fd5b6000613db185828601613b54565b9250506020613dc285828601613be7565b9150509250929050565b600060208284031215613dde57600080fd5b6000613dec84828501613b93565b91505092915050565b600060208284031215613e0757600080fd5b6000613e1584828501613ba8565b91505092915050565b600060208284031215613e3057600080fd5b6000613e3e84828501613be7565b91505092915050565b613e5081614ac9565b82525050565b613e5f81614adb565b82525050565b6000613e7082614971565b613e7a8185614987565b9350613e8a818560208601614b70565b613e9381614d3c565b840191505092915050565b613ea781614b3d565b82525050565b6000613eb88261497c565b613ec28185614998565b9350613ed2818560208601614b70565b613edb81614d3c565b840191505092915050565b6000613ef18261497c565b613efb81856149a9565b9350613f0b818560208601614b70565b80840191505092915050565b6000613f24600e836149a9565b9150613f2f82614d4d565b600e82019050919050565b6000613f47602b83614998565b9150613f5282614d76565b604082019050919050565b6000613f6a603283614998565b9150613f7582614dc5565b604082019050919050565b6000613f8d602683614998565b9150613f9882614e14565b604082019050919050565b6000613fb0601c83614998565b9150613fbb82614e63565b602082019050919050565b6000613fd3600e83614998565b9150613fde82614e8c565b602082019050919050565b6000613ff66013836149a9565b915061400182614eb5565b601382019050919050565b6000614019602483614998565b915061402482614ede565b604082019050919050565b600061403c601983614998565b915061404782614f2d565b602082019050919050565b600061405f602c83614998565b915061406a82614f56565b604082019050919050565b60006140826001836149a9565b915061408d82614fa5565b600182019050919050565b60006140a5603883614998565b91506140b082614fce565b604082019050919050565b60006140c86001836149a9565b91506140d38261501d565b600182019050919050565b60006140eb602a83614998565b91506140f682615046565b604082019050919050565b600061410e602983614998565b915061411982615095565b604082019050919050565b60006141316002836149a9565b915061413c826150e4565b600282019050919050565b6000614154602083614998565b915061415f8261510d565b602082019050919050565b6000614177600e83614998565b915061418282615136565b602082019050919050565b600061419a602c83614998565b91506141a58261515f565b604082019050919050565b60006141bd602083614998565b91506141c8826151ae565b602082019050919050565b60006141e0601083614998565b91506141eb826151d7565b602082019050919050565b6000614203602983614998565b915061420e82615200565b604082019050919050565b6000614226602183614998565b91506142318261524f565b604082019050919050565b60006142496002836149a9565b91506142548261529e565b600282019050919050565b600061426c601d836149a9565b9150614277826152c7565b601d82019050919050565b600061428f603183614998565b915061429a826152f0565b604082019050919050565b60006142b2602c83614998565b91506142bd8261533f565b604082019050919050565b60006142d56002836149a9565b91506142e08261538e565b600282019050919050565b60006142f8601f83614998565b9150614303826153b7565b602082019050919050565b600061431b600b836149a9565b9150614326826153e0565b600b82019050919050565b600061433e607a836149a9565b915061434982615409565b607a82019050919050565b61435d81614b33565b82525050565b600061436f8284613ee6565b915081905092915050565b60006143868285613ee6565b91506143928284613ee6565b91508190509392505050565b60006143aa8289613ee6565b91506143b68288613ee6565b91506143c28287613ee6565b91506143ce8286613ee6565b91506143da8285613ee6565b91506143e68284613ee6565b9150819050979650505050505050565b6000614402828c613ee6565b915061440e828b613ee6565b915061441a828a613ee6565b91506144268289613ee6565b91506144328288613ee6565b915061443e8287613ee6565b915061444a8286613ee6565b91506144568285613ee6565b91506144628284613ee6565b91508190509a9950505050505050505050565b60006144818285613ee6565b915061448c826140bb565b91506144988284613ee6565b91508190509392505050565b60006144b08285613ee6565b91506144bb826142c8565b91506144c78284613ee6565b91508190509392505050565b60006144de82613f17565b91506144ea8285613ee6565b91506144f58261423c565b91506145018284613ee6565b915061450c82614075565b91508190509392505050565b600061452382613fe9565b915061452f8285613ee6565b915061453a82614331565b91506145468284613ee6565b915061455182614124565b91508190509392505050565b60006145688261425f565b91506145748284613ee6565b915081905092915050565b600061458a8261430e565b91506145968284613ee6565b915081905092915050565b60006020820190506145b66000830184613e47565b92915050565b60006080820190506145d16000830187613e47565b6145de6020830186613e47565b6145eb6040830185614354565b81810360608301526145fd8184613e65565b905095945050505050565b600060208201905061461d6000830184613e56565b92915050565b60006020820190506146386000830184613e9e565b92915050565b600060208201905081810360008301526146588184613ead565b905092915050565b6000602082019050818103600083015261467981613f3a565b9050919050565b6000602082019050818103600083015261469981613f5d565b9050919050565b600060208201905081810360008301526146b981613f80565b9050919050565b600060208201905081810360008301526146d981613fa3565b9050919050565b600060208201905081810360008301526146f981613fc6565b9050919050565b600060208201905081810360008301526147198161400c565b9050919050565b600060208201905081810360008301526147398161402f565b9050919050565b6000602082019050818103600083015261475981614052565b9050919050565b6000602082019050818103600083015261477981614098565b9050919050565b60006020820190508181036000830152614799816140de565b9050919050565b600060208201905081810360008301526147b981614101565b9050919050565b600060208201905081810360008301526147d981614147565b9050919050565b600060208201905081810360008301526147f98161416a565b9050919050565b600060208201905081810360008301526148198161418d565b9050919050565b60006020820190508181036000830152614839816141b0565b9050919050565b60006020820190508181036000830152614859816141d3565b9050919050565b60006020820190508181036000830152614879816141f6565b9050919050565b6000602082019050818103600083015261489981614219565b9050919050565b600060208201905081810360008301526148b981614282565b9050919050565b600060208201905081810360008301526148d9816142a5565b9050919050565b600060208201905081810360008301526148f9816142eb565b9050919050565b60006020820190506149156000830184614354565b92915050565b6000614925614936565b90506149318282614bd5565b919050565b6000604051905090565b600067ffffffffffffffff82111561495b5761495a614d0d565b5b61496482614d3c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006149bf82614b33565b91506149ca83614b33565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149ff576149fe614c80565b5b828201905092915050565b6000614a1582614b33565b9150614a2083614b33565b925082614a3057614a2f614caf565b5b828204905092915050565b6000614a4682614b33565b9150614a5183614b33565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a8a57614a89614c80565b5b828202905092915050565b6000614aa082614b33565b9150614aab83614b33565b925082821015614abe57614abd614c80565b5b828203905092915050565b6000614ad482614b13565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614b4882614b4f565b9050919050565b6000614b5a82614b13565b9050919050565b82818337600083830152505050565b60005b83811015614b8e578082015181840152602081019050614b73565b83811115614b9d576000848401525b50505050565b60006002820490506001821680614bbb57607f821691505b60208210811415614bcf57614bce614cde565b5b50919050565b614bde82614d3c565b810181811067ffffffffffffffff82111715614bfd57614bfc614d0d565b5b80604052505050565b6000614c1182614b33565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c4457614c43614c80565b5b600182019050919050565b6000614c5a82614b33565b9150614c6583614b33565b925082614c7557614c74614caf565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f436f6f7264696e617465733a2028000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6f74204c6f6f74206f776e6572000000000000000000000000000000000000600082015250565b7f7b226e616d65223a2022426c696f6d6573202300000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2900000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f2e00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f206974656d20666f756e6421000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f546f6b656e20494420696e76616c696400000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f2c20000000000000000000000000000000000000000000000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f3a20000000000000000000000000000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f436f6f7264696e61746573000000000000000000000000000000000000000000600082015250565b7f222c20226465736372697074696f6e223a2022426c696f6d657320617265206460008201527f657461696c656420696e737472756374696f6e73206f6620776865726520746f60208201527f206c6f6361746520796f757220626c6f6f742e222c2022696d616765223a202260408201527f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000606082015250565b6154ad81614ac9565b81146154b857600080fd5b50565b6154c481614adb565b81146154cf57600080fd5b50565b6154db81614ae7565b81146154e657600080fd5b50565b6154f281614b33565b81146154fd57600080fd5b5056fe3c2f746578743e3c7465787420783d2231302220793d2236302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223132302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d2238302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223130302220636c6173733d2262617365223e3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e62617365207b2066696c6c3a20626c61636b3b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d222330316666303122202f3e3c7465787420783d2231302220793d2232302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223134302220636c6173733d2262617365223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c2f746578743e3c7465787420783d2231302220793d2234302220636c6173733d2262617365223ea264697066735822122016c5ca21f7dd8fecc8e5d522ddc3b01d594661a2f25c2634983f640f6f08ed9964736f6c63430008040033

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.