ETH Price: $3,395.92 (-1.08%)

Token

Geohashes (GEOH)
 

Overview

Max Total Supply

0 GEOH

Holders

277

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
drewaustin.eth
Balance
10 GEOH
0x49ca963ef75bceba8e4a5f4ceab5fd326bef6123
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:
Geohashes

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 14 : Geohashes.sol
// contracts/Box.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";

contract Geohashes is ERC721URIStorage, Ownable, Pausable {
    constructor() ERC721("Geohashes", "GEOH") {}

    function claim(uint256 tokenId) public payable whenNotPaused {
        require(tokenId > 0 && tokenId < 1048576, "Token ID invalid");
        require(
            msg.value >= 8888000000000000,
            "Not enough ETH sent; check prices!"
        );
        _safeMint(_msgSender(), tokenId);
    }

    function claimByGeohash(string calldata hash) public payable whenNotPaused {
        uint256 tokenId = geohashToIndex(hash);
        string memory message = concatenate(
            "Token ID invalid:",
            toString(tokenId)
        );
        require(tokenId > 0 && tokenId < 1048576, message);
        require(
            msg.value >= 8888000000000000,
            "Not enough ETH sent; check price!"
        );
        _safeMint(_msgSender(), tokenId);
    }

    function tokenURI(uint256 tokenId)
        public
        pure
        override
        returns (string memory)
    {
        string memory geohash = indexToGeohash(tokenId, 4);
        string[7] memory parts;
        parts[
            0
        ] = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 512 512">';
        parts[1] = '<rect fill="#FFFFFF" width="512" height="512" />';
        parts[
            2
        ] = '<circle stroke="#202A88" fill="#FFFFFF" stroke-width="3" cx="258.5" cy="255.5" r="178" />';
        parts[
            3
        ] = '<text fill-rule="nonzero" x="50%" y="53%" text-anchor="middle" font-family="HelveticaNeue-Medium, Helvetica Neue" font-size="64" font-weight="400" fill="#212B88">';
        parts[4] = geohash;
        parts[5] = "</text>";
        parts[6] = "</svg>";

        string memory output = string(
            abi.encodePacked(parts[0], parts[1], parts[2], parts[3], parts[4])
        );
        output = string(abi.encodePacked(output, parts[5], parts[6]));
        string memory json = encode(
            bytes(
                string(
                    abi.encodePacked(
                        '{"name": "Geohash: ',
                        geohash,
                        '", "description": "A geohash encodes a geographic location into a short string of letters and digits stored on chain. Images and places are intentionally omitted for others to interpret and incorporate.", "image": "data:image/svg+xml;base64,',
                        encode(bytes(output)),
                        '", "geohash": "',
                        geohash,
                        '" }'
                    )
                )
            )
        );
        output = string(
            abi.encodePacked("data:application/json;base64,", json)
        );
        return output;
    }

    function getTokenIdAsString(uint256 tokenId)
        internal
        pure
        returns (string memory)
    {
        string memory output = toString(tokenId);
        return output;
    }

    bytes private constant chars = "0123456789bcdefghjkmnpqrstuvwxyz";

    function geohashToIndex(string calldata geohash)
        public
        pure
        returns (uint256)
    {
        uint256 index = 0;
        bytes memory geohashb = bytes(geohash);

        for (uint256 i = 0; i < geohashb.length; i++) {
            int256 arri = -1;
            for (uint256 j = 0; j < chars.length; j++) {
                if (geohashb[i] == chars[j]) {
                    arri = int256(j);
                    break;
                }
            }

            if (arri >= 0) {
                if (i < geohashb.length - 1) {
                    uint256 powx = geohashb.length - i - 1;
                    uint256 l = uint256(arri) * (chars.length**powx);
                    index += l;
                } else {
                    index += uint256(arri);
                }
            } else {
                index = 0;
                break;
            }
        }
        return index;
    }

    function indexToGeohash(uint256 tokenId, uint256 digits)
        public
        pure
        returns (string memory)
    {
        string memory hash = "";
        for (uint256 i = 0; i < digits; i++) {
            uint256 d = pow(32, digits - i - 1);
            uint256 x = tokenId / d;

            bytes1 c = chars[x];
            bytes memory ba = new bytes(1);
            ba[0] = c;

            hash = concatenate(hash, string(ba));

            uint256 sub = x * d;
            tokenId -= sub;
        }
        return hash;
    }

    function pow(uint256 base, uint256 exponent) public pure returns (uint256) {
        if (exponent == 0) {
            return 1;
        } else if (exponent == 1) {
            return base;
        } else if (base == 0 && exponent != 0) {
            return 0;
        } else {
            uint256 z = base;
            for (uint256 i = 1; i < exponent; i++) z = SafeMath.mul(z, base);
            return z;
        }
    }

    function burn(uint256 tokenId) public onlyOwner {
        require(tokenId > 0 && tokenId <= 1048576, "Token ID invalid");
        _burn(tokenId);
    }

    function payout() public onlyOwner {
        uint256 balance = address(this).balance;
        address payable ownerp = payable(owner());
        ownerp.transfer(balance);
    }

    function pauseToken() public onlyOwner {
        require(!paused(), "Token already paused!");
        _pause();
    }

    function unpauseToken() public onlyOwner {
        require(paused(), "Token not paused!");
        _unpause();
    }

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

    // from Brecht Devos Base64, MIT
    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;
    }

    function concatenate(string memory s1, string memory s2)
        public
        pure
        returns (string memory)
    {
        return string(abi.encodePacked(s1, s2));
    }

    function compare(string memory s1, string memory s2)
        public
        pure
        returns (bool)
    {
        return
            keccak256(abi.encodePacked(s1)) == keccak256(abi.encodePacked(s2));
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 14 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

File 4 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 7 of 14 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";

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

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

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

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

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

        return super.tokenURI(tokenId);
    }

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

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

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

File 8 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 14 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 11 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 12 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

Settings
{
  "evmVersion": "berlin",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"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":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"hash","type":"string"}],"name":"claimByGeohash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"s1","type":"string"},{"internalType":"string","name":"s2","type":"string"}],"name":"compare","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"string","name":"s1","type":"string"},{"internalType":"string","name":"s2","type":"string"}],"name":"concatenate","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"string","name":"geohash","type":"string"}],"name":"geohashToIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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"},{"internalType":"uint256","name":"digits","type":"uint256"}],"name":"indexToGeohash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payout","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"base","type":"uint256"},{"internalType":"uint256","name":"exponent","type":"uint256"}],"name":"pow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpauseToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600981526020017f47656f68617368657300000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f47454f4800000000000000000000000000000000000000000000000000000000815250816000908051906020019062000096929190620001c1565b508060019080519060200190620000af929190620001c1565b505050620000d2620000c6620000f360201b60201c565b620000fb60201b60201c565b6000600760146101000a81548160ff021916908315150217905550620002d6565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001cf9062000271565b90600052602060002090601f016020900481019282620001f357600085556200023f565b82601f106200020e57805160ff19168380011785556200023f565b828001600101855582156200023f579182015b828111156200023e57825182559160200191906001019062000221565b5b5090506200024e919062000252565b5090565b5b808211156200026d57600081600090555060010162000253565b5090565b600060028204905060018216806200028a57607f821691505b60208210811415620002a157620002a0620002a7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614c2180620002e66000396000f3fe6080604052600436106101b75760003560e01c80635c975abb116100ec57806395d89b411161008a578063c87b56dd11610064578063c87b56dd146105da578063e604997e14610617578063e985e9c514610654578063f2fde38b14610691576101b7565b806395d89b411461055d578063a22cb46514610588578063b88d4fde146105b1576101b7565b80636aff2e2f116100c65780636aff2e2f146104a157806370a08231146104de578063715018a61461051b5780638da5cb5b14610532576101b7565b80635c975abb146104225780636352211e1461044d57806363bd1d4a1461048a576101b7565b80632c349627116101595780633a96fdd7116101335780633a96fdd71461037c57806342842e0e146103b957806342966c68146103e257806350669a031461040b576101b7565b80632c3496271461030c5780632e4c697f14610323578063379607f514610360576101b7565b8063081812fc11610195578063081812fc14610240578063095ea7b31461027d57806323b872dd146102a6578063266001d3146102cf576101b7565b806301ffc9a7146101bc57806305ec4ff6146101f957806306fdde0314610215575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de91906131ab565b6106ba565b6040516101f09190613955565b60405180910390f35b610213600480360381019061020e9190613205565b61079c565b005b34801561022157600080fd5b5061022a6108f3565b6040516102379190613970565b60405180910390f35b34801561024c57600080fd5b50610267600480360381019061026291906132ca565b610985565b60405161027491906138ee565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f919061316b565b610a0a565b005b3480156102b257600080fd5b506102cd60048036038101906102c89190613055565b610b22565b005b3480156102db57600080fd5b506102f660048036038101906102f19190613252565b610b82565b6040516103039190613970565b60405180910390f35b34801561031857600080fd5b50610321610bae565b005b34801561032f57600080fd5b5061034a600480360381019061034591906132f7565b610c7c565b6040516103579190613c52565b60405180910390f35b61037a600480360381019061037591906132ca565b610cfe565b005b34801561038857600080fd5b506103a3600480360381019061039e9190613252565b610df5565b6040516103b09190613955565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190613055565b610e4e565b005b3480156103ee57600080fd5b50610409600480360381019061040491906132ca565b610e6e565b005b34801561041757600080fd5b50610420610f48565b005b34801561042e57600080fd5b50610437611015565b6040516104449190613955565b60405180910390f35b34801561045957600080fd5b50610474600480360381019061046f91906132ca565b61102c565b60405161048191906138ee565b60405180910390f35b34801561049657600080fd5b5061049f6110de565b005b3480156104ad57600080fd5b506104c860048036038101906104c391906132f7565b6111b6565b6040516104d59190613970565b60405180910390f35b3480156104ea57600080fd5b5061050560048036038101906105009190612fe8565b611347565b6040516105129190613c52565b60405180910390f35b34801561052757600080fd5b506105306113ff565b005b34801561053e57600080fd5b50610547611487565b60405161055491906138ee565b60405180910390f35b34801561056957600080fd5b506105726114b1565b60405161057f9190613970565b60405180910390f35b34801561059457600080fd5b506105af60048036038101906105aa919061312b565b611543565b005b3480156105bd57600080fd5b506105d860048036038101906105d391906130a8565b6116c4565b005b3480156105e657600080fd5b5061060160048036038101906105fc91906132ca565b611726565b60405161060e9190613970565b60405180910390f35b34801561062357600080fd5b5061063e60048036038101906106399190613205565b611a34565b60405161064b9190613c52565b60405180910390f35b34801561066057600080fd5b5061067b60048036038101906106769190613015565b611cab565b6040516106889190613955565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b39190612fe8565b611d3f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061078557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610795575061079482611e37565b5b9050919050565b6107a4611015565b156107e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107db90613a92565b60405180910390fd5b60006107f08383611a34565b9050600061083b6040518060400160405280601181526020017f546f6b656e20494420696e76616c69643a00000000000000000000000000000081525061083684611ea1565b610b82565b905060008211801561084f57506210000082105b8190610891576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108889190613970565b60405180910390fd5b50661f9396c2c380003410156108dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d390613c32565b60405180910390fd5b6108ed6108e7612002565b8361200a565b50505050565b60606000805461090290614073565b80601f016020809104026020016040519081016040528092919081815260200182805461092e90614073565b801561097b5780601f106109505761010080835404028352916020019161097b565b820191906000526020600020905b81548152906001019060200180831161095e57829003601f168201915b5050505050905090565b600061099082612028565b6109cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c690613b32565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a158261102c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7d90613bf2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa5612002565b73ffffffffffffffffffffffffffffffffffffffff161480610ad45750610ad381610ace612002565b611cab565b5b610b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0a90613ab2565b60405180910390fd5b610b1d8383612094565b505050565b610b33610b2d612002565b8261214d565b610b72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6990613c12565b60405180910390fd5b610b7d83838361222b565b505050565b60608282604051602001610b979291906137cf565b604051602081830303815290604052905092915050565b610bb6612002565b73ffffffffffffffffffffffffffffffffffffffff16610bd4611487565b73ffffffffffffffffffffffffffffffffffffffff1614610c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2190613b52565b60405180910390fd5b610c32611015565b15610c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6990613b72565b60405180910390fd5b610c7a612487565b565b600080821415610c8f5760019050610cf8565b6001821415610ca057829050610cf8565b600083148015610cb1575060008214155b15610cbf5760009050610cf8565b60008390506000600190505b83811015610cf257610cdd828661252a565b91508080610cea906140d6565b915050610ccb565b50809150505b92915050565b610d06611015565b15610d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90613a92565b60405180910390fd5b600081118015610d5857506210000081105b610d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8e90613b92565b60405180910390fd5b661f9396c2c38000341015610de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd890613bd2565b60405180910390fd5b610df2610dec612002565b8261200a565b50565b600081604051602001610e0891906137b8565b6040516020818303038152906040528051906020012083604051602001610e2f91906137b8565b6040516020818303038152906040528051906020012014905092915050565b610e69838383604051806020016040528060008152506116c4565b505050565b610e76612002565b73ffffffffffffffffffffffffffffffffffffffff16610e94611487565b73ffffffffffffffffffffffffffffffffffffffff1614610eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee190613b52565b60405180910390fd5b600081118015610efd5750621000008111155b610f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3390613b92565b60405180910390fd5b610f4581612540565b50565b610f50612002565b73ffffffffffffffffffffffffffffffffffffffff16610f6e611487565b73ffffffffffffffffffffffffffffffffffffffff1614610fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbb90613b52565b60405180910390fd5b610fcc611015565b61100b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100290613a72565b60405180910390fd5b611013612593565b565b6000600760149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cc90613af2565b60405180910390fd5b80915050919050565b6110e6612002565b73ffffffffffffffffffffffffffffffffffffffff16611104611487565b73ffffffffffffffffffffffffffffffffffffffff161461115a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115190613b52565b60405180910390fd5b60004790506000611169611487565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156111b1573d6000803e3d6000fd5b505050565b6060600060405180602001604052806000815250905060005b8381101561133c5760006111fb6020600184886111ec9190613f89565b6111f69190613f89565b610c7c565b90506000818761120b9190613d8d565b905060006040518060400160405280602081526020017f30313233343536373839626364656667686a6b6d6e707172737475767778797a8152508281518110611257576112566141dd565b5b602001015160f81c60f81b90506000600167ffffffffffffffff8111156112815761128061420c565b5b6040519080825280601f01601f1916602001820160405280156112b35781602001600182028036833780820191505090505b50905081816000815181106112cb576112ca6141dd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506113048682610b82565b9550600084846113149190613f2f565b9050808a6113229190613f89565b995050505050508080611334906140d6565b9150506111cf565b508091505092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113af90613ad2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611407612002565b73ffffffffffffffffffffffffffffffffffffffff16611425611487565b73ffffffffffffffffffffffffffffffffffffffff161461147b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147290613b52565b60405180910390fd5b6114856000612635565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114c090614073565b80601f01602080910402602001604051908101604052809291908181526020018280546114ec90614073565b80156115395780601f1061150e57610100808354040283529160200191611539565b820191906000526020600020905b81548152906001019060200180831161151c57829003601f168201915b5050505050905090565b61154b612002565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b090613a32565b60405180910390fd5b80600560006115c6612002565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611673612002565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116b89190613955565b60405180910390a35050565b6116d56116cf612002565b8361214d565b611714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170b90613c12565b60405180910390fd5b611720848484846126fb565b50505050565b606060006117358360046111b6565b905061173f612dc5565b6040518060a0016040528060628152602001614a8f606291398160006007811061176c5761176b6141dd565b5b6020020181905250604051806060016040528060308152602001614a5f60309139816001600781106117a1576117a06141dd565b5b6020020181905250604051806080016040528060598152602001614af160599139816002600781106117d6576117d56141dd565b5b60200201819052506040518060e0016040528060a28152602001614b4a60a291398160036007811061180b5761180a6141dd565b5b60200201819052508181600460078110611828576118276141dd565b5b60200201819052506040518060400160405280600781526020017f3c2f746578743e000000000000000000000000000000000000000000000000008152508160056007811061187a576118796141dd565b5b60200201819052506040518060400160405280600681526020017f3c2f7376673e0000000000000000000000000000000000000000000000000000815250816006600781106118cc576118cb6141dd565b5b60200201819052506000816000600781106118ea576118e96141dd565b5b602002015182600160078110611903576119026141dd565b5b60200201518360026007811061191c5761191b6141dd565b5b602002015184600360078110611935576119346141dd565b5b60200201518560046007811061194e5761194d6141dd565b5b6020020151604051602001611967959493929190613824565b6040516020818303038152906040529050808260056007811061198d5761198c6141dd565b5b6020020151836006600781106119a6576119a56141dd565b5b60200201516040516020016119bd939291906137f3565b60405160208183030381529060405290506000611a04846119dd84612757565b866040516020016119f09392919061386f565b604051602081830303815290604052612757565b905080604051602001611a1791906138cc565b604051602081830303815290604052915081945050505050919050565b60008060009050600084848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050905060005b8151811015611c9f5760007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905060005b6040518060400160405280602081526020017f30313233343536373839626364656667686a6b6d6e707172737475767778797a81525051811015611bcc576040518060400160405280602081526020017f30313233343536373839626364656667686a6b6d6e707172737475767778797a8152508181518110611b3e57611b3d6141dd565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916848481518110611b7e57611b7d6141dd565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611bb957809150611bcc565b8080611bc4906140d6565b915050611ab8565b5060008112611c815760018351611be39190613f89565b821015611c6d5760006001838551611bfb9190613f89565b611c059190613f89565b90506000816040518060400160405280602081526020017f30313233343536373839626364656667686a6b6d6e707172737475767778797a81525051611c4b9190613e11565b83611c569190613f2f565b90508086611c649190613d37565b95505050611c7c565b8084611c799190613d37565b93505b611c8b565b6000935050611c9f565b508080611c97906140d6565b915050611a87565b50819250505092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d47612002565b73ffffffffffffffffffffffffffffffffffffffff16611d65611487565b73ffffffffffffffffffffffffffffffffffffffff1614611dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db290613b52565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e22906139d2565b60405180910390fd5b611e3481612635565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611ee9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611ffd565b600082905060005b60008214611f1b578080611f04906140d6565b915050600a82611f149190613d8d565b9150611ef1565b60008167ffffffffffffffff811115611f3757611f3661420c565b5b6040519080825280601f01601f191660200182016040528015611f695781602001600182028036833780820191505090505b5090505b60008514611ff657600182611f829190613f89565b9150600a85611f91919061411f565b6030611f9d9190613d37565b60f81b818381518110611fb357611fb26141dd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611fef9190613d8d565b9450611f6d565b8093505050505b919050565b600033905090565b6120248282604051806020016040528060008152506128dc565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121078361102c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061215882612028565b612197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218e90613a52565b60405180910390fd5b60006121a28361102c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061221157508373ffffffffffffffffffffffffffffffffffffffff166121f984610985565b73ffffffffffffffffffffffffffffffffffffffff16145b8061222257506122218185611cab565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661224b8261102c565b73ffffffffffffffffffffffffffffffffffffffff16146122a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229890613bb2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612311576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230890613a12565b60405180910390fd5b61231c838383612937565b612327600082612094565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123779190613f89565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123ce9190613d37565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61248f611015565b156124cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c690613a92565b60405180910390fd5b6001600760146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612513612002565b60405161252091906138ee565b60405180910390a1565b600081836125389190613f2f565b905092915050565b6125498161293c565b600060066000838152602001908152602001600020805461256990614073565b9050146125905760066000828152602001908152602001600020600061258f9190612dec565b5b50565b61259b611015565b6125da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d190613992565b60405180910390fd5b6000600760146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61261e612002565b60405161262b91906138ee565b60405180910390a1565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61270684848461222b565b61271284848484612a4d565b612751576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612748906139b2565b60405180910390fd5b50505050565b606060008251141561277a576040518060200160405280600081525090506128d7565b6000604051806060016040528060408152602001614a1f60409139905060006003600285516127a99190613d37565b6127b39190613d8d565b60046127bf9190613f2f565b905060006020826127d09190613d37565b67ffffffffffffffff8111156127e9576127e861420c565b5b6040519080825280601f01601f19166020018201604052801561281b5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612896576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b82526001820191505061282f565b6003895106600181146128b057600281146128c0576128cb565b613d3d60f01b60028303526128cb565b603d60f81b60018303525b50505050508093505050505b919050565b6128e68383612be4565b6128f36000848484612a4d565b612932576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612929906139b2565b60405180910390fd5b505050565b505050565b60006129478261102c565b905061295581600084612937565b612960600083612094565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129b09190613f89565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000612a6e8473ffffffffffffffffffffffffffffffffffffffff16612db2565b15612bd7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a97612002565b8786866040518563ffffffff1660e01b8152600401612ab99493929190613909565b602060405180830381600087803b158015612ad357600080fd5b505af1925050508015612b0457506040513d601f19601f82011682018060405250810190612b0191906131d8565b60015b612b87573d8060008114612b34576040519150601f19603f3d011682016040523d82523d6000602084013e612b39565b606091505b50600081511415612b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b76906139b2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612bdc565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4b90613b12565b60405180910390fd5b612c5d81612028565b15612c9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c94906139f2565b60405180910390fd5b612ca960008383612937565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cf99190613d37565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6040518060e001604052806007905b6060815260200190600190039081612dd45790505090565b508054612df890614073565b6000825580601f10612e0a5750612e29565b601f016020900490600052602060002090810190612e289190612e2c565b5b50565b5b80821115612e45576000816000905550600101612e2d565b5090565b6000612e5c612e5784613c92565b613c6d565b905082815260208101848484011115612e7857612e7761424a565b5b612e83848285614031565b509392505050565b6000612e9e612e9984613cc3565b613c6d565b905082815260208101848484011115612eba57612eb961424a565b5b612ec5848285614031565b509392505050565b600081359050612edc816149c2565b92915050565b600081359050612ef1816149d9565b92915050565b600081359050612f06816149f0565b92915050565b600081519050612f1b816149f0565b92915050565b600082601f830112612f3657612f35614240565b5b8135612f46848260208601612e49565b91505092915050565b60008083601f840112612f6557612f64614240565b5b8235905067ffffffffffffffff811115612f8257612f8161423b565b5b602083019150836001820283011115612f9e57612f9d614245565b5b9250929050565b600082601f830112612fba57612fb9614240565b5b8135612fca848260208601612e8b565b91505092915050565b600081359050612fe281614a07565b92915050565b600060208284031215612ffe57612ffd614254565b5b600061300c84828501612ecd565b91505092915050565b6000806040838503121561302c5761302b614254565b5b600061303a85828601612ecd565b925050602061304b85828601612ecd565b9150509250929050565b60008060006060848603121561306e5761306d614254565b5b600061307c86828701612ecd565b935050602061308d86828701612ecd565b925050604061309e86828701612fd3565b9150509250925092565b600080600080608085870312156130c2576130c1614254565b5b60006130d087828801612ecd565b94505060206130e187828801612ecd565b93505060406130f287828801612fd3565b925050606085013567ffffffffffffffff8111156131135761311261424f565b5b61311f87828801612f21565b91505092959194509250565b6000806040838503121561314257613141614254565b5b600061315085828601612ecd565b925050602061316185828601612ee2565b9150509250929050565b6000806040838503121561318257613181614254565b5b600061319085828601612ecd565b92505060206131a185828601612fd3565b9150509250929050565b6000602082840312156131c1576131c0614254565b5b60006131cf84828501612ef7565b91505092915050565b6000602082840312156131ee576131ed614254565b5b60006131fc84828501612f0c565b91505092915050565b6000806020838503121561321c5761321b614254565b5b600083013567ffffffffffffffff81111561323a5761323961424f565b5b61324685828601612f4f565b92509250509250929050565b6000806040838503121561326957613268614254565b5b600083013567ffffffffffffffff8111156132875761328661424f565b5b61329385828601612fa5565b925050602083013567ffffffffffffffff8111156132b4576132b361424f565b5b6132c085828601612fa5565b9150509250929050565b6000602082840312156132e0576132df614254565b5b60006132ee84828501612fd3565b91505092915050565b6000806040838503121561330e5761330d614254565b5b600061331c85828601612fd3565b925050602061332d85828601612fd3565b9150509250929050565b61334081613fbd565b82525050565b61334f81613fcf565b82525050565b600061336082613cf4565b61336a8185613d0a565b935061337a818560208601614040565b61338381614259565b840191505092915050565b600061339982613cff565b6133a38185613d1b565b93506133b3818560208601614040565b6133bc81614259565b840191505092915050565b60006133d282613cff565b6133dc8185613d2c565b93506133ec818560208601614040565b80840191505092915050565b6000613405601483613d1b565b915061341082614277565b602082019050919050565b6000613428601383613d2c565b9150613433826142a0565b601382019050919050565b600061344b603283613d1b565b9150613456826142c9565b604082019050919050565b600061346e602683613d1b565b915061347982614318565b604082019050919050565b6000613491601c83613d1b565b915061349c82614367565b602082019050919050565b60006134b4602483613d1b565b91506134bf82614390565b604082019050919050565b60006134d7601983613d1b565b91506134e2826143df565b602082019050919050565b60006134fa600383613d2c565b915061350582614408565b600382019050919050565b600061351d602c83613d1b565b915061352882614431565b604082019050919050565b6000613540601183613d1b565b915061354b82614480565b602082019050919050565b6000613563601083613d1b565b915061356e826144a9565b602082019050919050565b6000613586603883613d1b565b9150613591826144d2565b604082019050919050565b60006135a9602a83613d1b565b91506135b482614521565b604082019050919050565b60006135cc602983613d1b565b91506135d782614570565b604082019050919050565b60006135ef60f183613d2c565b91506135fa826145bf565b60f182019050919050565b6000613612602083613d1b565b915061361d826146f2565b602082019050919050565b6000613635600f83613d2c565b91506136408261471b565b600f82019050919050565b6000613658602c83613d1b565b915061366382614744565b604082019050919050565b600061367b602083613d1b565b915061368682614793565b602082019050919050565b600061369e601583613d1b565b91506136a9826147bc565b602082019050919050565b60006136c1601083613d1b565b91506136cc826147e5565b602082019050919050565b60006136e4602983613d1b565b91506136ef8261480e565b604082019050919050565b6000613707602283613d1b565b91506137128261485d565b604082019050919050565b600061372a602183613d1b565b9150613735826148ac565b604082019050919050565b600061374d601d83613d2c565b9150613758826148fb565b601d82019050919050565b6000613770603183613d1b565b915061377b82614924565b604082019050919050565b6000613793602183613d1b565b915061379e82614973565b604082019050919050565b6137b281614027565b82525050565b60006137c482846133c7565b915081905092915050565b60006137db82856133c7565b91506137e782846133c7565b91508190509392505050565b60006137ff82866133c7565b915061380b82856133c7565b915061381782846133c7565b9150819050949350505050565b600061383082886133c7565b915061383c82876133c7565b915061384882866133c7565b915061385482856133c7565b915061386082846133c7565b91508190509695505050505050565b600061387a8261341b565b915061388682866133c7565b9150613891826135e2565b915061389d82856133c7565b91506138a882613628565b91506138b482846133c7565b91506138bf826134ed565b9150819050949350505050565b60006138d782613740565b91506138e382846133c7565b915081905092915050565b60006020820190506139036000830184613337565b92915050565b600060808201905061391e6000830187613337565b61392b6020830186613337565b61393860408301856137a9565b818103606083015261394a8184613355565b905095945050505050565b600060208201905061396a6000830184613346565b92915050565b6000602082019050818103600083015261398a818461338e565b905092915050565b600060208201905081810360008301526139ab816133f8565b9050919050565b600060208201905081810360008301526139cb8161343e565b9050919050565b600060208201905081810360008301526139eb81613461565b9050919050565b60006020820190508181036000830152613a0b81613484565b9050919050565b60006020820190508181036000830152613a2b816134a7565b9050919050565b60006020820190508181036000830152613a4b816134ca565b9050919050565b60006020820190508181036000830152613a6b81613510565b9050919050565b60006020820190508181036000830152613a8b81613533565b9050919050565b60006020820190508181036000830152613aab81613556565b9050919050565b60006020820190508181036000830152613acb81613579565b9050919050565b60006020820190508181036000830152613aeb8161359c565b9050919050565b60006020820190508181036000830152613b0b816135bf565b9050919050565b60006020820190508181036000830152613b2b81613605565b9050919050565b60006020820190508181036000830152613b4b8161364b565b9050919050565b60006020820190508181036000830152613b6b8161366e565b9050919050565b60006020820190508181036000830152613b8b81613691565b9050919050565b60006020820190508181036000830152613bab816136b4565b9050919050565b60006020820190508181036000830152613bcb816136d7565b9050919050565b60006020820190508181036000830152613beb816136fa565b9050919050565b60006020820190508181036000830152613c0b8161371d565b9050919050565b60006020820190508181036000830152613c2b81613763565b9050919050565b60006020820190508181036000830152613c4b81613786565b9050919050565b6000602082019050613c6760008301846137a9565b92915050565b6000613c77613c88565b9050613c8382826140a5565b919050565b6000604051905090565b600067ffffffffffffffff821115613cad57613cac61420c565b5b613cb682614259565b9050602081019050919050565b600067ffffffffffffffff821115613cde57613cdd61420c565b5b613ce782614259565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613d4282614027565b9150613d4d83614027565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d8257613d81614150565b5b828201905092915050565b6000613d9882614027565b9150613da383614027565b925082613db357613db261417f565b5b828204905092915050565b6000808291508390505b6001851115613e0857808604811115613de457613de3614150565b5b6001851615613df35780820291505b8081029050613e018561426a565b9450613dc8565b94509492505050565b6000613e1c82614027565b9150613e2783614027565b9250613e547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484613e5c565b905092915050565b600082613e6c5760019050613f28565b81613e7a5760009050613f28565b8160018114613e905760028114613e9a57613ec9565b6001915050613f28565b60ff841115613eac57613eab614150565b5b8360020a915084821115613ec357613ec2614150565b5b50613f28565b5060208310610133831016604e8410600b8410161715613efe5782820a905083811115613ef957613ef8614150565b5b613f28565b613f0b8484846001613dbe565b92509050818404811115613f2257613f21614150565b5b81810290505b9392505050565b6000613f3a82614027565b9150613f4583614027565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f7e57613f7d614150565b5b828202905092915050565b6000613f9482614027565b9150613f9f83614027565b925082821015613fb257613fb1614150565b5b828203905092915050565b6000613fc882614007565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561405e578082015181840152602081019050614043565b8381111561406d576000848401525b50505050565b6000600282049050600182168061408b57607f821691505b6020821081141561409f5761409e6141ae565b5b50919050565b6140ae82614259565b810181811067ffffffffffffffff821117156140cd576140cc61420c565b5b80604052505050565b60006140e182614027565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561411457614113614150565b5b600182019050919050565b600061412a82614027565b915061413583614027565b9250826141455761414461417f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f7b226e616d65223a202247656f686173683a2000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f22207d0000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f546f6b656e206e6f742070617573656421000000000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f222c20226465736372697074696f6e223a2022412067656f6861736820656e6360008201527f6f64657320612067656f67726170686963206c6f636174696f6e20696e746f2060208201527f612073686f727420737472696e67206f66206c65747465727320616e6420646960408201527f676974732073746f726564206f6e20636861696e2e20496d6167657320616e6460608201527f20706c616365732061726520696e74656e74696f6e616c6c79206f6d6974746560808201527f6420666f72206f746865727320746f20696e7465727072657420616e6420696e60a08201527f636f72706f726174652e222c2022696d616765223a2022646174613a696d616760c08201527f652f7376672b786d6c3b6261736536342c00000000000000000000000000000060e082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f222c202267656f68617368223a20220000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f546f6b656e20616c726561647920706175736564210000000000000000000000600082015250565b7f546f6b656e20494420696e76616c696400000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768204554482073656e743b20636865636b20707269636560008201527f7321000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768204554482073656e743b20636865636b20707269636560008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b6149cb81613fbd565b81146149d657600080fd5b50565b6149e281613fcf565b81146149ed57600080fd5b50565b6149f981613fdb565b8114614a0457600080fd5b50565b614a1081614027565b8114614a1b57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c726563742066696c6c3d2223464646464646222077696474683d2235313222206865696768743d2235313222202f3e3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302035313220353132223e3c636972636c65207374726f6b653d2223323032413838222066696c6c3d222346464646464622207374726f6b652d77696474683d2233222063783d223235382e35222063793d223235352e352220723d2231373822202f3e3c746578742066696c6c2d72756c653d226e6f6e7a65726f2220783d223530252220793d223533252220746578742d616e63686f723d226d6964646c652220666f6e742d66616d696c793d2248656c7665746963614e6575652d4d656469756d2c2048656c766574696361204e6575652220666f6e742d73697a653d2236342220666f6e742d7765696768743d22343030222066696c6c3d2223323132423838223ea2646970667358221220eed5d5d3ea84bff8aff14150c24f4161d31762d65d9d5d3a7c7f2d60af8f74d464736f6c63430008060033

Deployed Bytecode

0x6080604052600436106101b75760003560e01c80635c975abb116100ec57806395d89b411161008a578063c87b56dd11610064578063c87b56dd146105da578063e604997e14610617578063e985e9c514610654578063f2fde38b14610691576101b7565b806395d89b411461055d578063a22cb46514610588578063b88d4fde146105b1576101b7565b80636aff2e2f116100c65780636aff2e2f146104a157806370a08231146104de578063715018a61461051b5780638da5cb5b14610532576101b7565b80635c975abb146104225780636352211e1461044d57806363bd1d4a1461048a576101b7565b80632c349627116101595780633a96fdd7116101335780633a96fdd71461037c57806342842e0e146103b957806342966c68146103e257806350669a031461040b576101b7565b80632c3496271461030c5780632e4c697f14610323578063379607f514610360576101b7565b8063081812fc11610195578063081812fc14610240578063095ea7b31461027d57806323b872dd146102a6578063266001d3146102cf576101b7565b806301ffc9a7146101bc57806305ec4ff6146101f957806306fdde0314610215575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de91906131ab565b6106ba565b6040516101f09190613955565b60405180910390f35b610213600480360381019061020e9190613205565b61079c565b005b34801561022157600080fd5b5061022a6108f3565b6040516102379190613970565b60405180910390f35b34801561024c57600080fd5b50610267600480360381019061026291906132ca565b610985565b60405161027491906138ee565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f919061316b565b610a0a565b005b3480156102b257600080fd5b506102cd60048036038101906102c89190613055565b610b22565b005b3480156102db57600080fd5b506102f660048036038101906102f19190613252565b610b82565b6040516103039190613970565b60405180910390f35b34801561031857600080fd5b50610321610bae565b005b34801561032f57600080fd5b5061034a600480360381019061034591906132f7565b610c7c565b6040516103579190613c52565b60405180910390f35b61037a600480360381019061037591906132ca565b610cfe565b005b34801561038857600080fd5b506103a3600480360381019061039e9190613252565b610df5565b6040516103b09190613955565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190613055565b610e4e565b005b3480156103ee57600080fd5b50610409600480360381019061040491906132ca565b610e6e565b005b34801561041757600080fd5b50610420610f48565b005b34801561042e57600080fd5b50610437611015565b6040516104449190613955565b60405180910390f35b34801561045957600080fd5b50610474600480360381019061046f91906132ca565b61102c565b60405161048191906138ee565b60405180910390f35b34801561049657600080fd5b5061049f6110de565b005b3480156104ad57600080fd5b506104c860048036038101906104c391906132f7565b6111b6565b6040516104d59190613970565b60405180910390f35b3480156104ea57600080fd5b5061050560048036038101906105009190612fe8565b611347565b6040516105129190613c52565b60405180910390f35b34801561052757600080fd5b506105306113ff565b005b34801561053e57600080fd5b50610547611487565b60405161055491906138ee565b60405180910390f35b34801561056957600080fd5b506105726114b1565b60405161057f9190613970565b60405180910390f35b34801561059457600080fd5b506105af60048036038101906105aa919061312b565b611543565b005b3480156105bd57600080fd5b506105d860048036038101906105d391906130a8565b6116c4565b005b3480156105e657600080fd5b5061060160048036038101906105fc91906132ca565b611726565b60405161060e9190613970565b60405180910390f35b34801561062357600080fd5b5061063e60048036038101906106399190613205565b611a34565b60405161064b9190613c52565b60405180910390f35b34801561066057600080fd5b5061067b60048036038101906106769190613015565b611cab565b6040516106889190613955565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b39190612fe8565b611d3f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061078557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610795575061079482611e37565b5b9050919050565b6107a4611015565b156107e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107db90613a92565b60405180910390fd5b60006107f08383611a34565b9050600061083b6040518060400160405280601181526020017f546f6b656e20494420696e76616c69643a00000000000000000000000000000081525061083684611ea1565b610b82565b905060008211801561084f57506210000082105b8190610891576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108889190613970565b60405180910390fd5b50661f9396c2c380003410156108dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d390613c32565b60405180910390fd5b6108ed6108e7612002565b8361200a565b50505050565b60606000805461090290614073565b80601f016020809104026020016040519081016040528092919081815260200182805461092e90614073565b801561097b5780601f106109505761010080835404028352916020019161097b565b820191906000526020600020905b81548152906001019060200180831161095e57829003601f168201915b5050505050905090565b600061099082612028565b6109cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c690613b32565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a158261102c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7d90613bf2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa5612002565b73ffffffffffffffffffffffffffffffffffffffff161480610ad45750610ad381610ace612002565b611cab565b5b610b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0a90613ab2565b60405180910390fd5b610b1d8383612094565b505050565b610b33610b2d612002565b8261214d565b610b72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6990613c12565b60405180910390fd5b610b7d83838361222b565b505050565b60608282604051602001610b979291906137cf565b604051602081830303815290604052905092915050565b610bb6612002565b73ffffffffffffffffffffffffffffffffffffffff16610bd4611487565b73ffffffffffffffffffffffffffffffffffffffff1614610c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2190613b52565b60405180910390fd5b610c32611015565b15610c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6990613b72565b60405180910390fd5b610c7a612487565b565b600080821415610c8f5760019050610cf8565b6001821415610ca057829050610cf8565b600083148015610cb1575060008214155b15610cbf5760009050610cf8565b60008390506000600190505b83811015610cf257610cdd828661252a565b91508080610cea906140d6565b915050610ccb565b50809150505b92915050565b610d06611015565b15610d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90613a92565b60405180910390fd5b600081118015610d5857506210000081105b610d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8e90613b92565b60405180910390fd5b661f9396c2c38000341015610de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd890613bd2565b60405180910390fd5b610df2610dec612002565b8261200a565b50565b600081604051602001610e0891906137b8565b6040516020818303038152906040528051906020012083604051602001610e2f91906137b8565b6040516020818303038152906040528051906020012014905092915050565b610e69838383604051806020016040528060008152506116c4565b505050565b610e76612002565b73ffffffffffffffffffffffffffffffffffffffff16610e94611487565b73ffffffffffffffffffffffffffffffffffffffff1614610eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee190613b52565b60405180910390fd5b600081118015610efd5750621000008111155b610f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3390613b92565b60405180910390fd5b610f4581612540565b50565b610f50612002565b73ffffffffffffffffffffffffffffffffffffffff16610f6e611487565b73ffffffffffffffffffffffffffffffffffffffff1614610fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbb90613b52565b60405180910390fd5b610fcc611015565b61100b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100290613a72565b60405180910390fd5b611013612593565b565b6000600760149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cc90613af2565b60405180910390fd5b80915050919050565b6110e6612002565b73ffffffffffffffffffffffffffffffffffffffff16611104611487565b73ffffffffffffffffffffffffffffffffffffffff161461115a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115190613b52565b60405180910390fd5b60004790506000611169611487565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156111b1573d6000803e3d6000fd5b505050565b6060600060405180602001604052806000815250905060005b8381101561133c5760006111fb6020600184886111ec9190613f89565b6111f69190613f89565b610c7c565b90506000818761120b9190613d8d565b905060006040518060400160405280602081526020017f30313233343536373839626364656667686a6b6d6e707172737475767778797a8152508281518110611257576112566141dd565b5b602001015160f81c60f81b90506000600167ffffffffffffffff8111156112815761128061420c565b5b6040519080825280601f01601f1916602001820160405280156112b35781602001600182028036833780820191505090505b50905081816000815181106112cb576112ca6141dd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506113048682610b82565b9550600084846113149190613f2f565b9050808a6113229190613f89565b995050505050508080611334906140d6565b9150506111cf565b508091505092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113af90613ad2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611407612002565b73ffffffffffffffffffffffffffffffffffffffff16611425611487565b73ffffffffffffffffffffffffffffffffffffffff161461147b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147290613b52565b60405180910390fd5b6114856000612635565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114c090614073565b80601f01602080910402602001604051908101604052809291908181526020018280546114ec90614073565b80156115395780601f1061150e57610100808354040283529160200191611539565b820191906000526020600020905b81548152906001019060200180831161151c57829003601f168201915b5050505050905090565b61154b612002565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b090613a32565b60405180910390fd5b80600560006115c6612002565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611673612002565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116b89190613955565b60405180910390a35050565b6116d56116cf612002565b8361214d565b611714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170b90613c12565b60405180910390fd5b611720848484846126fb565b50505050565b606060006117358360046111b6565b905061173f612dc5565b6040518060a0016040528060628152602001614a8f606291398160006007811061176c5761176b6141dd565b5b6020020181905250604051806060016040528060308152602001614a5f60309139816001600781106117a1576117a06141dd565b5b6020020181905250604051806080016040528060598152602001614af160599139816002600781106117d6576117d56141dd565b5b60200201819052506040518060e0016040528060a28152602001614b4a60a291398160036007811061180b5761180a6141dd565b5b60200201819052508181600460078110611828576118276141dd565b5b60200201819052506040518060400160405280600781526020017f3c2f746578743e000000000000000000000000000000000000000000000000008152508160056007811061187a576118796141dd565b5b60200201819052506040518060400160405280600681526020017f3c2f7376673e0000000000000000000000000000000000000000000000000000815250816006600781106118cc576118cb6141dd565b5b60200201819052506000816000600781106118ea576118e96141dd565b5b602002015182600160078110611903576119026141dd565b5b60200201518360026007811061191c5761191b6141dd565b5b602002015184600360078110611935576119346141dd565b5b60200201518560046007811061194e5761194d6141dd565b5b6020020151604051602001611967959493929190613824565b6040516020818303038152906040529050808260056007811061198d5761198c6141dd565b5b6020020151836006600781106119a6576119a56141dd565b5b60200201516040516020016119bd939291906137f3565b60405160208183030381529060405290506000611a04846119dd84612757565b866040516020016119f09392919061386f565b604051602081830303815290604052612757565b905080604051602001611a1791906138cc565b604051602081830303815290604052915081945050505050919050565b60008060009050600084848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050905060005b8151811015611c9f5760007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905060005b6040518060400160405280602081526020017f30313233343536373839626364656667686a6b6d6e707172737475767778797a81525051811015611bcc576040518060400160405280602081526020017f30313233343536373839626364656667686a6b6d6e707172737475767778797a8152508181518110611b3e57611b3d6141dd565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916848481518110611b7e57611b7d6141dd565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611bb957809150611bcc565b8080611bc4906140d6565b915050611ab8565b5060008112611c815760018351611be39190613f89565b821015611c6d5760006001838551611bfb9190613f89565b611c059190613f89565b90506000816040518060400160405280602081526020017f30313233343536373839626364656667686a6b6d6e707172737475767778797a81525051611c4b9190613e11565b83611c569190613f2f565b90508086611c649190613d37565b95505050611c7c565b8084611c799190613d37565b93505b611c8b565b6000935050611c9f565b508080611c97906140d6565b915050611a87565b50819250505092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d47612002565b73ffffffffffffffffffffffffffffffffffffffff16611d65611487565b73ffffffffffffffffffffffffffffffffffffffff1614611dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db290613b52565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e22906139d2565b60405180910390fd5b611e3481612635565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611ee9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611ffd565b600082905060005b60008214611f1b578080611f04906140d6565b915050600a82611f149190613d8d565b9150611ef1565b60008167ffffffffffffffff811115611f3757611f3661420c565b5b6040519080825280601f01601f191660200182016040528015611f695781602001600182028036833780820191505090505b5090505b60008514611ff657600182611f829190613f89565b9150600a85611f91919061411f565b6030611f9d9190613d37565b60f81b818381518110611fb357611fb26141dd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611fef9190613d8d565b9450611f6d565b8093505050505b919050565b600033905090565b6120248282604051806020016040528060008152506128dc565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121078361102c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061215882612028565b612197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218e90613a52565b60405180910390fd5b60006121a28361102c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061221157508373ffffffffffffffffffffffffffffffffffffffff166121f984610985565b73ffffffffffffffffffffffffffffffffffffffff16145b8061222257506122218185611cab565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661224b8261102c565b73ffffffffffffffffffffffffffffffffffffffff16146122a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229890613bb2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612311576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230890613a12565b60405180910390fd5b61231c838383612937565b612327600082612094565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123779190613f89565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123ce9190613d37565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61248f611015565b156124cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c690613a92565b60405180910390fd5b6001600760146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612513612002565b60405161252091906138ee565b60405180910390a1565b600081836125389190613f2f565b905092915050565b6125498161293c565b600060066000838152602001908152602001600020805461256990614073565b9050146125905760066000828152602001908152602001600020600061258f9190612dec565b5b50565b61259b611015565b6125da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d190613992565b60405180910390fd5b6000600760146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61261e612002565b60405161262b91906138ee565b60405180910390a1565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61270684848461222b565b61271284848484612a4d565b612751576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612748906139b2565b60405180910390fd5b50505050565b606060008251141561277a576040518060200160405280600081525090506128d7565b6000604051806060016040528060408152602001614a1f60409139905060006003600285516127a99190613d37565b6127b39190613d8d565b60046127bf9190613f2f565b905060006020826127d09190613d37565b67ffffffffffffffff8111156127e9576127e861420c565b5b6040519080825280601f01601f19166020018201604052801561281b5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612896576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b82526001820191505061282f565b6003895106600181146128b057600281146128c0576128cb565b613d3d60f01b60028303526128cb565b603d60f81b60018303525b50505050508093505050505b919050565b6128e68383612be4565b6128f36000848484612a4d565b612932576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612929906139b2565b60405180910390fd5b505050565b505050565b60006129478261102c565b905061295581600084612937565b612960600083612094565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129b09190613f89565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000612a6e8473ffffffffffffffffffffffffffffffffffffffff16612db2565b15612bd7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a97612002565b8786866040518563ffffffff1660e01b8152600401612ab99493929190613909565b602060405180830381600087803b158015612ad357600080fd5b505af1925050508015612b0457506040513d601f19601f82011682018060405250810190612b0191906131d8565b60015b612b87573d8060008114612b34576040519150601f19603f3d011682016040523d82523d6000602084013e612b39565b606091505b50600081511415612b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b76906139b2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612bdc565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4b90613b12565b60405180910390fd5b612c5d81612028565b15612c9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c94906139f2565b60405180910390fd5b612ca960008383612937565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cf99190613d37565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6040518060e001604052806007905b6060815260200190600190039081612dd45790505090565b508054612df890614073565b6000825580601f10612e0a5750612e29565b601f016020900490600052602060002090810190612e289190612e2c565b5b50565b5b80821115612e45576000816000905550600101612e2d565b5090565b6000612e5c612e5784613c92565b613c6d565b905082815260208101848484011115612e7857612e7761424a565b5b612e83848285614031565b509392505050565b6000612e9e612e9984613cc3565b613c6d565b905082815260208101848484011115612eba57612eb961424a565b5b612ec5848285614031565b509392505050565b600081359050612edc816149c2565b92915050565b600081359050612ef1816149d9565b92915050565b600081359050612f06816149f0565b92915050565b600081519050612f1b816149f0565b92915050565b600082601f830112612f3657612f35614240565b5b8135612f46848260208601612e49565b91505092915050565b60008083601f840112612f6557612f64614240565b5b8235905067ffffffffffffffff811115612f8257612f8161423b565b5b602083019150836001820283011115612f9e57612f9d614245565b5b9250929050565b600082601f830112612fba57612fb9614240565b5b8135612fca848260208601612e8b565b91505092915050565b600081359050612fe281614a07565b92915050565b600060208284031215612ffe57612ffd614254565b5b600061300c84828501612ecd565b91505092915050565b6000806040838503121561302c5761302b614254565b5b600061303a85828601612ecd565b925050602061304b85828601612ecd565b9150509250929050565b60008060006060848603121561306e5761306d614254565b5b600061307c86828701612ecd565b935050602061308d86828701612ecd565b925050604061309e86828701612fd3565b9150509250925092565b600080600080608085870312156130c2576130c1614254565b5b60006130d087828801612ecd565b94505060206130e187828801612ecd565b93505060406130f287828801612fd3565b925050606085013567ffffffffffffffff8111156131135761311261424f565b5b61311f87828801612f21565b91505092959194509250565b6000806040838503121561314257613141614254565b5b600061315085828601612ecd565b925050602061316185828601612ee2565b9150509250929050565b6000806040838503121561318257613181614254565b5b600061319085828601612ecd565b92505060206131a185828601612fd3565b9150509250929050565b6000602082840312156131c1576131c0614254565b5b60006131cf84828501612ef7565b91505092915050565b6000602082840312156131ee576131ed614254565b5b60006131fc84828501612f0c565b91505092915050565b6000806020838503121561321c5761321b614254565b5b600083013567ffffffffffffffff81111561323a5761323961424f565b5b61324685828601612f4f565b92509250509250929050565b6000806040838503121561326957613268614254565b5b600083013567ffffffffffffffff8111156132875761328661424f565b5b61329385828601612fa5565b925050602083013567ffffffffffffffff8111156132b4576132b361424f565b5b6132c085828601612fa5565b9150509250929050565b6000602082840312156132e0576132df614254565b5b60006132ee84828501612fd3565b91505092915050565b6000806040838503121561330e5761330d614254565b5b600061331c85828601612fd3565b925050602061332d85828601612fd3565b9150509250929050565b61334081613fbd565b82525050565b61334f81613fcf565b82525050565b600061336082613cf4565b61336a8185613d0a565b935061337a818560208601614040565b61338381614259565b840191505092915050565b600061339982613cff565b6133a38185613d1b565b93506133b3818560208601614040565b6133bc81614259565b840191505092915050565b60006133d282613cff565b6133dc8185613d2c565b93506133ec818560208601614040565b80840191505092915050565b6000613405601483613d1b565b915061341082614277565b602082019050919050565b6000613428601383613d2c565b9150613433826142a0565b601382019050919050565b600061344b603283613d1b565b9150613456826142c9565b604082019050919050565b600061346e602683613d1b565b915061347982614318565b604082019050919050565b6000613491601c83613d1b565b915061349c82614367565b602082019050919050565b60006134b4602483613d1b565b91506134bf82614390565b604082019050919050565b60006134d7601983613d1b565b91506134e2826143df565b602082019050919050565b60006134fa600383613d2c565b915061350582614408565b600382019050919050565b600061351d602c83613d1b565b915061352882614431565b604082019050919050565b6000613540601183613d1b565b915061354b82614480565b602082019050919050565b6000613563601083613d1b565b915061356e826144a9565b602082019050919050565b6000613586603883613d1b565b9150613591826144d2565b604082019050919050565b60006135a9602a83613d1b565b91506135b482614521565b604082019050919050565b60006135cc602983613d1b565b91506135d782614570565b604082019050919050565b60006135ef60f183613d2c565b91506135fa826145bf565b60f182019050919050565b6000613612602083613d1b565b915061361d826146f2565b602082019050919050565b6000613635600f83613d2c565b91506136408261471b565b600f82019050919050565b6000613658602c83613d1b565b915061366382614744565b604082019050919050565b600061367b602083613d1b565b915061368682614793565b602082019050919050565b600061369e601583613d1b565b91506136a9826147bc565b602082019050919050565b60006136c1601083613d1b565b91506136cc826147e5565b602082019050919050565b60006136e4602983613d1b565b91506136ef8261480e565b604082019050919050565b6000613707602283613d1b565b91506137128261485d565b604082019050919050565b600061372a602183613d1b565b9150613735826148ac565b604082019050919050565b600061374d601d83613d2c565b9150613758826148fb565b601d82019050919050565b6000613770603183613d1b565b915061377b82614924565b604082019050919050565b6000613793602183613d1b565b915061379e82614973565b604082019050919050565b6137b281614027565b82525050565b60006137c482846133c7565b915081905092915050565b60006137db82856133c7565b91506137e782846133c7565b91508190509392505050565b60006137ff82866133c7565b915061380b82856133c7565b915061381782846133c7565b9150819050949350505050565b600061383082886133c7565b915061383c82876133c7565b915061384882866133c7565b915061385482856133c7565b915061386082846133c7565b91508190509695505050505050565b600061387a8261341b565b915061388682866133c7565b9150613891826135e2565b915061389d82856133c7565b91506138a882613628565b91506138b482846133c7565b91506138bf826134ed565b9150819050949350505050565b60006138d782613740565b91506138e382846133c7565b915081905092915050565b60006020820190506139036000830184613337565b92915050565b600060808201905061391e6000830187613337565b61392b6020830186613337565b61393860408301856137a9565b818103606083015261394a8184613355565b905095945050505050565b600060208201905061396a6000830184613346565b92915050565b6000602082019050818103600083015261398a818461338e565b905092915050565b600060208201905081810360008301526139ab816133f8565b9050919050565b600060208201905081810360008301526139cb8161343e565b9050919050565b600060208201905081810360008301526139eb81613461565b9050919050565b60006020820190508181036000830152613a0b81613484565b9050919050565b60006020820190508181036000830152613a2b816134a7565b9050919050565b60006020820190508181036000830152613a4b816134ca565b9050919050565b60006020820190508181036000830152613a6b81613510565b9050919050565b60006020820190508181036000830152613a8b81613533565b9050919050565b60006020820190508181036000830152613aab81613556565b9050919050565b60006020820190508181036000830152613acb81613579565b9050919050565b60006020820190508181036000830152613aeb8161359c565b9050919050565b60006020820190508181036000830152613b0b816135bf565b9050919050565b60006020820190508181036000830152613b2b81613605565b9050919050565b60006020820190508181036000830152613b4b8161364b565b9050919050565b60006020820190508181036000830152613b6b8161366e565b9050919050565b60006020820190508181036000830152613b8b81613691565b9050919050565b60006020820190508181036000830152613bab816136b4565b9050919050565b60006020820190508181036000830152613bcb816136d7565b9050919050565b60006020820190508181036000830152613beb816136fa565b9050919050565b60006020820190508181036000830152613c0b8161371d565b9050919050565b60006020820190508181036000830152613c2b81613763565b9050919050565b60006020820190508181036000830152613c4b81613786565b9050919050565b6000602082019050613c6760008301846137a9565b92915050565b6000613c77613c88565b9050613c8382826140a5565b919050565b6000604051905090565b600067ffffffffffffffff821115613cad57613cac61420c565b5b613cb682614259565b9050602081019050919050565b600067ffffffffffffffff821115613cde57613cdd61420c565b5b613ce782614259565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613d4282614027565b9150613d4d83614027565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d8257613d81614150565b5b828201905092915050565b6000613d9882614027565b9150613da383614027565b925082613db357613db261417f565b5b828204905092915050565b6000808291508390505b6001851115613e0857808604811115613de457613de3614150565b5b6001851615613df35780820291505b8081029050613e018561426a565b9450613dc8565b94509492505050565b6000613e1c82614027565b9150613e2783614027565b9250613e547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484613e5c565b905092915050565b600082613e6c5760019050613f28565b81613e7a5760009050613f28565b8160018114613e905760028114613e9a57613ec9565b6001915050613f28565b60ff841115613eac57613eab614150565b5b8360020a915084821115613ec357613ec2614150565b5b50613f28565b5060208310610133831016604e8410600b8410161715613efe5782820a905083811115613ef957613ef8614150565b5b613f28565b613f0b8484846001613dbe565b92509050818404811115613f2257613f21614150565b5b81810290505b9392505050565b6000613f3a82614027565b9150613f4583614027565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f7e57613f7d614150565b5b828202905092915050565b6000613f9482614027565b9150613f9f83614027565b925082821015613fb257613fb1614150565b5b828203905092915050565b6000613fc882614007565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561405e578082015181840152602081019050614043565b8381111561406d576000848401525b50505050565b6000600282049050600182168061408b57607f821691505b6020821081141561409f5761409e6141ae565b5b50919050565b6140ae82614259565b810181811067ffffffffffffffff821117156140cd576140cc61420c565b5b80604052505050565b60006140e182614027565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561411457614113614150565b5b600182019050919050565b600061412a82614027565b915061413583614027565b9250826141455761414461417f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f7b226e616d65223a202247656f686173683a2000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f22207d0000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f546f6b656e206e6f742070617573656421000000000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f222c20226465736372697074696f6e223a2022412067656f6861736820656e6360008201527f6f64657320612067656f67726170686963206c6f636174696f6e20696e746f2060208201527f612073686f727420737472696e67206f66206c65747465727320616e6420646960408201527f676974732073746f726564206f6e20636861696e2e20496d6167657320616e6460608201527f20706c616365732061726520696e74656e74696f6e616c6c79206f6d6974746560808201527f6420666f72206f746865727320746f20696e7465727072657420616e6420696e60a08201527f636f72706f726174652e222c2022696d616765223a2022646174613a696d616760c08201527f652f7376672b786d6c3b6261736536342c00000000000000000000000000000060e082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f222c202267656f68617368223a20220000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f546f6b656e20616c726561647920706175736564210000000000000000000000600082015250565b7f546f6b656e20494420696e76616c696400000000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768204554482073656e743b20636865636b20707269636560008201527f7321000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768204554482073656e743b20636865636b20707269636560008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b6149cb81613fbd565b81146149d657600080fd5b50565b6149e281613fcf565b81146149ed57600080fd5b50565b6149f981613fdb565b8114614a0457600080fd5b50565b614a1081614027565b8114614a1b57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c726563742066696c6c3d2223464646464646222077696474683d2235313222206865696768743d2235313222202f3e3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302035313220353132223e3c636972636c65207374726f6b653d2223323032413838222066696c6c3d222346464646464622207374726f6b652d77696474683d2233222063783d223235382e35222063793d223235352e352220723d2231373822202f3e3c746578742066696c6c2d72756c653d226e6f6e7a65726f2220783d223530252220793d223533252220746578742d616e63686f723d226d6964646c652220666f6e742d66616d696c793d2248656c7665746963614e6575652d4d656469756d2c2048656c766574696361204e6575652220666f6e742d73697a653d2236342220666f6e742d7765696768743d22343030222066696c6c3d2223323132423838223ea2646970667358221220eed5d5d3ea84bff8aff14150c24f4161d31762d65d9d5d3a7c7f2d60af8f74d464736f6c63430008060033

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.