ETH Price: $3,301.88 (-0.44%)

Token

On-Chain Party Hats (PHats)
 

Overview

Max Total Supply

623 PHats

Holders

144

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 PHats
0x67b9A49baB1aEd81B54bE26b6A335325f492bb86
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:
phats

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

//A Public Domain Project; as a nod to the 2001 RS Christmas Event.
//All the art is on-chain. The crackers will break on any transfer.
//Once transfered, the token burns and a new one is created.
//Between the sender and reciever, only one of them will get the new party hat token (random).
//Party Hats are safely transferable and sellable by default.
//The point of these is to share them with a friend. You can't send them to yourself.
//The Crackers will be safely transferable 12/25/22 via SafeTransferFrom in case you want to collect them.
//S/O to OnChainMonkeys, their contract helped me figure this out.


/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>

library Base64 {
    bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

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

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

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

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)
            for {
                let i := 0
            } lt(i, len) {
            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)
                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
                out := shl(224, out)
                mstore(resultPtr, out)
                resultPtr := add(resultPtr, 4)
            }
            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }
            mstore(result, encodedLen)
        }
        return string(result);
    }
}

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 * QGdhcGVyYXJ0bmZ0
 * 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);
}

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

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

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

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

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
        
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

contract phats is ERC721, ReentrancyGuard, Ownable {
    using Strings for uint256;
    uint256 public numClaimed = 0;
    uint256 public pCs = 10000;

    string[] private hatColor = ["Cyan","Fuchsia","Gold","Blue","Navy","Teal","Green","Lime","Purple","Salmon","Red","Coral","Plum","Tan","Pink","Orange","Yellow","Indigo","Violet","Maroon","Turquoise"];
    string[] private p = ['<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg"><path style="fill:',
    '" d="m387.6 209.5-66-66-65.8 65.8-65.8-65.8-65.8 65.8-65.8-65.8v225h395.2v-225z"/><path style="fill:',
    '" d="M58.4 292.3h395.2v38.1H58.4z"/></svg>'];
    string [] private c = ['<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg"><style>.st0{fill:#ed1c24}</style><path class="st0" d="M137.1 374.7H71.3v32.8h32.9l.1.2.2.1v32.9h32.8v-65.8h-.2z"/><path class="st0" d="M374.7 137.1h-65.8L137.1 308.9v65.8h.2v.2h65.8l171.8-171.8v-65.8h-.2z"/><path class="st0" d="m407.7 104.3-.2-.1V71.3h-32.8v65.8h.2v.2h65.8v-32.8h-32.9z"/><path d="M137.1 374.7h.3v.3h-.3zm237.6-237.6h.3v.3h-.3z"/><path d="m146.843 299.147 19.516-19.516 66.045 66.042-19.516 19.517zm132.746-132.82 19.516-19.517 66.045 66.043-19.516 19.516z" style="fill:#fff200"/></svg>'];

    string private p1='{"description": "A nice hat from a cracker.","attributes": [{"trait_type": "Hat","value": "';
    string private p2='"},{"trait_type": "Ribbon","value": "';
    string private p3='"}],"image": "data:image/svg+xml;base64,';
    string private p4='{"description": "I need to transfer this.","attributes": [{"trait_type": "Cracker","value":"Share Me';
    string private e1='"}';
    string private e2='data:application/json;base64,';
       constructor() ERC721("On-Chain Party Hats", "PHats") Ownable() {
       
}

    struct Hat { 
        uint8 color;
        uint8 ribbon;
    }
    function totalSupply() external view returns (uint) {
            return numClaimed;
        }

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

    function random1(uint256 tokenId) internal view returns (uint) {
            uint rand = uint(keccak256(abi.encodePacked(msg.sender,block.timestamp,tokenId)));
            return rand % 2;
        }

    function randomOne(uint256 tokenId) internal pure returns (Hat memory) {
        Hat memory hat;
        hat.color = uint8(random(string(abi.encodePacked("maxcashstack",tokenId.toString()))) % 21);
        hat.ribbon = uint8(random(string(abi.encodePacked("buyinggf",tokenId.toString()))) % 21);
        return hat;
    }

    function getTraits(Hat memory hat) internal view returns (string memory) {
        string memory o=string(abi.encodePacked(p1,hatColor[hat.color],p2,hatColor[hat.ribbon]));
        return string(abi.encodePacked(o,p3));
    }

    function genPHat(Hat memory hat) internal view returns (string memory) {
        string memory output = string(abi.encodePacked(p[0],hatColor[hat.color],p[1],hatColor[hat.ribbon],p[2]));
        return string(abi.encodePacked(output));
    }

    function genCCracker() internal view returns (string memory) {
        string memory CCrackerOutput = string(abi.encodePacked(c[0]));
        return string(abi.encodePacked(CCrackerOutput));
    }

    function tokenURI(uint256 tokenId) override public view returns (string memory) {
        Hat memory hat = randomOne(tokenId);
        if (tokenId > 10000){
            return string(abi.encodePacked(e2,Base64.encode(bytes(string(abi.encodePacked(getTraits(hat),Base64.encode(bytes(genPHat(hat))),e1))))));
        }else{
            return string(abi.encodePacked(e2,Base64.encode(bytes(string(abi.encodePacked(p4,p3,Base64.encode(bytes(genCCracker())),e1))))));

        }
    }

    function claim(uint256 quantity) public nonReentrant {
        require(numClaimed >= 0 && numClaimed < 9501, "invalid claim");
        require(numClaimed + quantity < 9501);
        require(quantity < 6);
        for(uint256 i = 0; i < quantity; i++) {
                _safeMint(_msgSender(), numClaimed + 1);
                numClaimed += 1;
            }
    }


  function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        require(to != from);
        if (tokenId < 10000 && random1(tokenId) == 1){
        _burn(tokenId);
        _safeMint(to, pCs + 1); }   
        else if (tokenId < 10000 && random1(tokenId) == 0){
        _burn(tokenId);
        _safeMint(from, pCs + 1); }   
        else{
        _transfer(from, to, tokenId);} 
        
        pCs += 1;
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        require(block.timestamp > 1671944400);
        safeTransferFrom(from, to, tokenId, "");
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(block.timestamp > 1671944400);
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"quantity","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"numClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pCs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600855612710600955604051806102a001604052806040518060400160405280600481526020017f4379616e0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f467563687369610000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f476f6c640000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f426c75650000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4e6176790000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f5465616c0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f477265656e00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4c696d650000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f507572706c65000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f53616c6d6f6e000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f526564000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f436f72616c00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f506c756d0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f54616e000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f50696e6b0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f4f72616e6765000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f59656c6c6f77000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f496e6469676f000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f56696f6c6574000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f4d61726f6f6e000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f54757271756f6973650000000000000000000000000000000000000000000000815250815250600a90601562000502929190620008c8565b5060405180606001604052806040518060800160405280605381526020016200471e6053913981526020016040518060a0016040528060648152602001620044026064913981526020016040518060600160405280602a8152602001620043d8602a9139815250600b9060036200057b9291906200092f565b5060405180602001604052806040518061026001604052806102388152602001620044666102389139815250600c906001620005b992919062000996565b506040518060800160405280605b8152602001620046c3605b9139600d9080519060200190620005eb929190620009fd565b506040518060600160405280602581526020016200469e60259139600e90805190602001906200061d929190620009fd565b50604051806060016040528060288152602001620043b060289139600f90805190602001906200064f929190620009fd565b506040518060a001604052806064815260200162004771606491396010908051906020019062000681929190620009fd565b506040518060400160405280600281526020017f227d00000000000000000000000000000000000000000000000000000000000081525060119080519060200190620006cf929190620009fd565b506040518060400160405280601d81526020017f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815250601290805190602001906200071d929190620009fd565b503480156200072b57600080fd5b506040518060400160405280601381526020017f4f6e2d436861696e2050617274792048617473000000000000000000000000008152506040518060400160405280600581526020017f50486174730000000000000000000000000000000000000000000000000000008152508160009080519060200190620007b0929190620009fd565b508060019080519060200190620007c9929190620009fd565b5050506001600681905550620007f4620007e8620007fa60201b60201c565b6200080260201b60201c565b62000b80565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280548282559060005260206000209081019282156200091c579160200282015b828111156200091b5782518290805190602001906200090a929190620009fd565b5091602001919060010190620008e9565b5b5090506200092b919062000a8e565b5090565b82805482825590600052602060002090810192821562000983579160200282015b828111156200098257825182908051906020019062000971929190620009fd565b509160200191906001019062000950565b5b50905062000992919062000a8e565b5090565b828054828255906000526020600020908101928215620009ea579160200282015b82811115620009e9578251829080519060200190620009d8929190620009fd565b5091602001919060010190620009b7565b5b509050620009f9919062000a8e565b5090565b82805462000a0b9062000b1b565b90600052602060002090601f01602090048101928262000a2f576000855562000a7b565b82601f1062000a4a57805160ff191683800117855562000a7b565b8280016001018555821562000a7b579182015b8281111562000a7a57825182559160200191906001019062000a5d565b5b50905062000a8a919062000ab6565b5090565b5b8082111562000ab2576000818162000aa8919062000ad5565b5060010162000a8f565b5090565b5b8082111562000ad157600081600090555060010162000ab7565b5090565b50805462000ae39062000b1b565b6000825580601f1062000af7575062000b18565b601f01602090049060005260206000209081019062000b17919062000ab6565b5b50565b6000600282049050600182168062000b3457607f821691505b6020821081141562000b4b5762000b4a62000b51565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6138208062000b906000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063b88d4fde11610071578063b88d4fde1461031d578063c87b56dd14610339578063e985e9c514610369578063f2fde38b14610399578063f58d2295146103b55761012c565b8063715018a61461029d5780638da5cb5b146102a757806395d89b41146102c55780639c2f2a42146102e3578063a22cb465146103015761012c565b806323b872dd116100f457806323b872dd146101e9578063379607f51461020557806342842e0e146102215780636352211e1461023d57806370a082311461026d5761012c565b806301ffc9a71461013157806306fdde0314610161578063081812fc1461017f578063095ea7b3146101af57806318160ddd146101cb575b600080fd5b61014b60048036038101906101469190612495565b6103d3565b6040516101589190612b88565b60405180910390f35b6101696104b5565b6040516101769190612ba3565b60405180910390f35b610199600480360381019061019491906124ef565b610547565b6040516101a69190612b21565b60405180910390f35b6101c960048036038101906101c49190612455565b6105cc565b005b6101d36106e4565b6040516101e09190612de5565b60405180910390f35b61020360048036038101906101fe919061233f565b6106ee565b005b61021f600480360381019061021a91906124ef565b61082b565b005b61023b6004803603810190610236919061233f565b610959565b005b610257600480360381019061025291906124ef565b610989565b6040516102649190612b21565b60405180910390f35b610287600480360381019061028291906122d2565b610a3b565b6040516102949190612de5565b60405180910390f35b6102a5610af3565b005b6102af610b7b565b6040516102bc9190612b21565b60405180910390f35b6102cd610ba5565b6040516102da9190612ba3565b60405180910390f35b6102eb610c37565b6040516102f89190612de5565b60405180910390f35b61031b60048036038101906103169190612415565b610c3d565b005b61033760048036038101906103329190612392565b610dbe565b005b610353600480360381019061034e91906124ef565b610e30565b6040516103609190612ba3565b60405180910390f35b610383600480360381019061037e91906122ff565b610f23565b6040516103909190612b88565b60405180910390f35b6103b360048036038101906103ae91906122d2565b610fb7565b005b6103bd6110af565b6040516103ca9190612de5565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061049e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104ae57506104ad826110b5565b5b9050919050565b6060600080546104c490613079565b80601f01602080910402602001604051908101604052809291908181526020018280546104f090613079565b801561053d5780601f106105125761010080835404028352916020019161053d565b820191906000526020600020905b81548152906001019060200180831161052057829003601f168201915b5050505050905090565b60006105528261111f565b610591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058890612d05565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105d782610989565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063f90612d65565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661066761118b565b73ffffffffffffffffffffffffffffffffffffffff16148061069657506106958161069061118b565b610f23565b5b6106d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106cc90612c85565b60405180910390fd5b6106df8383611193565b505050565b6000600854905090565b6106ff6106f961118b565b8261124c565b61073e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073590612d85565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561077757600080fd5b612710811080156107905750600161078e8261132a565b145b156107bb5761079e81611372565b6107b68260016009546107b19190612eae565b611483565b61080c565b612710811080156107d4575060006107d28261132a565b145b156107ff576107e281611372565b6107fa8360016009546107f59190612eae565b611483565b61080b565b61080a8383836114a1565b5b5b60016009600082825461081f9190612eae565b92505081905550505050565b60026006541415610871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086890612dc5565b60405180910390fd5b600260068190555060006008541015801561088f575061251d600854105b6108ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c590612da5565b60405180910390fd5b61251d816008546108df9190612eae565b106108e957600080fd5b600681106108f657600080fd5b60005b8181101561094d5761092061090c61118b565b600160085461091b9190612eae565b611483565b6001600860008282546109339190612eae565b925050819055508080610945906130dc565b9150506108f9565b50600160068190555050565b6363a7d8d0421161096957600080fd5b61098483838360405180602001604052806000815250610dbe565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610a32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2990612cc5565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa390612ca5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610afb61118b565b73ffffffffffffffffffffffffffffffffffffffff16610b19610b7b565b73ffffffffffffffffffffffffffffffffffffffff1614610b6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6690612d25565b60405180910390fd5b610b7960006116fd565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610bb490613079565b80601f0160208091040260200160405190810160405280929190818152602001828054610be090613079565b8015610c2d5780601f10610c0257610100808354040283529160200191610c2d565b820191906000526020600020905b815481529060010190602001808311610c1057829003601f168201915b5050505050905090565b60085481565b610c4561118b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caa90612c45565b60405180910390fd5b8060056000610cc061118b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610d6d61118b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610db29190612b88565b60405180910390a35050565b6363a7d8d04211610dce57600080fd5b610ddf610dd961118b565b8361124c565b610e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1590612d85565b60405180910390fd5b610e2a848484846117c3565b50505050565b60606000610e3d8361181f565b9050612710831115610eb8576012610e90610e57836118d2565b610e68610e6385611973565b611a6b565b6011604051602001610e7c93929190612986565b604051602081830303815290604052611a6b565b604051602001610ea19291906129f2565b604051602081830303815290604052915050610f1e565b6012610efa6010600f610ed1610ecc611c03565b611a6b565b6011604051602001610ee69493929190612a16565b604051602081830303815290604052611a6b565b604051602001610f0b9291906129f2565b6040516020818303038152906040529150505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610fbf61118b565b73ffffffffffffffffffffffffffffffffffffffff16610fdd610b7b565b73ffffffffffffffffffffffffffffffffffffffff1614611033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102a90612d25565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a90612be5565b60405180910390fd5b6110ac816116fd565b50565b60095481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661120683610989565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006112578261111f565b611296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128d90612c65565b60405180910390fd5b60006112a183610989565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061131057508373ffffffffffffffffffffffffffffffffffffffff166112f884610547565b73ffffffffffffffffffffffffffffffffffffffff16145b8061132157506113208185610f23565b5b91505092915050565b60008033428460405160200161134293929190612932565b6040516020818303038152906040528051906020012060001c905060028161136a9190613153565b915050919050565b600061137d82610989565b905061138b81600084611c6d565b611396600083611193565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113e69190612f8f565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61149d828260405180602001604052806000815250611c72565b5050565b8273ffffffffffffffffffffffffffffffffffffffff166114c182610989565b73ffffffffffffffffffffffffffffffffffffffff1614611517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150e90612d45565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611587576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157e90612c25565b60405180910390fd5b611592838383611c6d565b61159d600082611193565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115ed9190612f8f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116449190612eae565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6117ce8484846114a1565b6117da84848484611ccd565b611819576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181090612bc5565b60405180910390fd5b50505050565b6118276121d9565b61182f6121d9565b601561186161183d85611e64565b60405160200161184d9190612add565b604051602081830303815290604052611fc5565b61186b9190613153565b816000019060ff16908160ff168152505060156118ae61188a85611e64565b60405160200161189a9190612aff565b604051602081830303815290604052611fc5565b6118b89190613153565b816020019060ff16908160ff168152505080915050919050565b60606000600d600a846000015160ff16815481106118f3576118f2613211565b5b90600052602060002001600e600a866020015160ff168154811061191a57611919613211565b5b906000526020600020016040516020016119379493929190612a54565b604051602081830303815290604052905080600f60405160200161195c9291906129b7565b604051602081830303815290604052915050919050565b60606000600b60008154811061198c5761198b613211565b5b90600052602060002001600a846000015160ff16815481106119b1576119b0613211565b5b90600052602060002001600b6001815481106119d0576119cf613211565b5b90600052602060002001600a866020015160ff16815481106119f5576119f4613211565b5b90600052602060002001600b600281548110611a1457611a13613211565b5b90600052602060002001604051602001611a32959493929190612a92565b604051602081830303815290604052905080604051602001611a54919061296f565b604051602081830303815290604052915050919050565b60606000825190506000811415611a945760405180602001604052806000815250915050611bfe565b60006003600283611aa59190612eae565b611aaf9190612f04565b6004611abb9190612f35565b90506000602082611acc9190612eae565b67ffffffffffffffff811115611ae557611ae4613240565b5b6040519080825280601f01601f191660200182016040528015611b175781602001600182028036833780820191505090505b50905060006040518060600160405280604081526020016137ab604091399050600181016020830160005b86811015611bbb5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050611b42565b506003860660018114611bd55760028114611be557611bf0565b613d3d60f01b6002830352611bf0565b603d60f81b60018303525b508484525050819450505050505b919050565b60606000600c600081548110611c1c57611c1b613211565b5b90600052602060002001604051602001611c3691906129db565b604051602081830303815290604052905080604051602001611c58919061296f565b60405160208183030381529060405291505090565b505050565b611c7c8383611ff8565b611c896000848484611ccd565b611cc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbf90612bc5565b60405180910390fd5b505050565b6000611cee8473ffffffffffffffffffffffffffffffffffffffff166121c6565b15611e57578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611d1761118b565b8786866040518563ffffffff1660e01b8152600401611d399493929190612b3c565b602060405180830381600087803b158015611d5357600080fd5b505af1925050508015611d8457506040513d601f19601f82011682018060405250810190611d8191906124c2565b60015b611e07573d8060008114611db4576040519150601f19603f3d011682016040523d82523d6000602084013e611db9565b606091505b50600081511415611dff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df690612bc5565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611e5c565b600190505b949350505050565b60606000821415611eac576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611fc0565b600082905060005b60008214611ede578080611ec7906130dc565b915050600a82611ed79190612f04565b9150611eb4565b60008167ffffffffffffffff811115611efa57611ef9613240565b5b6040519080825280601f01601f191660200182016040528015611f2c5781602001600182028036833780820191505090505b5090505b60008514611fb957600182611f459190612f8f565b9150600a85611f549190613153565b6030611f609190612eae565b60f81b818381518110611f7657611f75613211565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611fb29190612f04565b9450611f30565b8093505050505b919050565b600081604051602001611fd8919061296f565b6040516020818303038152906040528051906020012060001c9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205f90612ce5565b60405180910390fd5b6120718161111f565b156120b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a890612c05565b60405180910390fd5b6120bd60008383611c6d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461210d9190612eae565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6040518060400160405280600060ff168152602001600060ff1681525090565b600061220c61220784612e25565b612e00565b90508281526020810184848401111561222857612227613274565b5b612233848285613037565b509392505050565b60008135905061224a8161374e565b92915050565b60008135905061225f81613765565b92915050565b6000813590506122748161377c565b92915050565b6000815190506122898161377c565b92915050565b600082601f8301126122a4576122a361326f565b5b81356122b48482602086016121f9565b91505092915050565b6000813590506122cc81613793565b92915050565b6000602082840312156122e8576122e761327e565b5b60006122f68482850161223b565b91505092915050565b600080604083850312156123165761231561327e565b5b60006123248582860161223b565b92505060206123358582860161223b565b9150509250929050565b6000806000606084860312156123585761235761327e565b5b60006123668682870161223b565b93505060206123778682870161223b565b9250506040612388868287016122bd565b9150509250925092565b600080600080608085870312156123ac576123ab61327e565b5b60006123ba8782880161223b565b94505060206123cb8782880161223b565b93505060406123dc878288016122bd565b925050606085013567ffffffffffffffff8111156123fd576123fc613279565b5b6124098782880161228f565b91505092959194509250565b6000806040838503121561242c5761242b61327e565b5b600061243a8582860161223b565b925050602061244b85828601612250565b9150509250929050565b6000806040838503121561246c5761246b61327e565b5b600061247a8582860161223b565b925050602061248b858286016122bd565b9150509250929050565b6000602082840312156124ab576124aa61327e565b5b60006124b984828501612265565b91505092915050565b6000602082840312156124d8576124d761327e565b5b60006124e68482850161227a565b91505092915050565b6000602082840312156125055761250461327e565b5b6000612513848285016122bd565b91505092915050565b61252581612fc3565b82525050565b61253c61253782612fc3565b613125565b82525050565b61254b81612fd5565b82525050565b600061255c82612e6b565b6125668185612e81565b9350612576818560208601613046565b61257f81613283565b840191505092915050565b600061259582612e76565b61259f8185612e92565b93506125af818560208601613046565b6125b881613283565b840191505092915050565b60006125ce82612e76565b6125d88185612ea3565b93506125e8818560208601613046565b80840191505092915050565b6000815461260181613079565b61260b8186612ea3565b9450600182166000811461262657600181146126375761266a565b60ff1983168652818601935061266a565b61264085612e56565b60005b8381101561266257815481890152600182019150602081019050612643565b838801955050505b50505092915050565b6000612680603283612e92565b915061268b826132a1565b604082019050919050565b60006126a3602683612e92565b91506126ae826132f0565b604082019050919050565b60006126c6601c83612e92565b91506126d18261333f565b602082019050919050565b60006126e9600c83612ea3565b91506126f482613368565b600c82019050919050565b600061270c602483612e92565b915061271782613391565b604082019050919050565b600061272f601983612e92565b915061273a826133e0565b602082019050919050565b6000612752602c83612e92565b915061275d82613409565b604082019050919050565b6000612775603883612e92565b915061278082613458565b604082019050919050565b6000612798602a83612e92565b91506127a3826134a7565b604082019050919050565b60006127bb602983612e92565b91506127c6826134f6565b604082019050919050565b60006127de602083612e92565b91506127e982613545565b602082019050919050565b6000612801602c83612e92565b915061280c8261356e565b604082019050919050565b6000612824602083612e92565b915061282f826135bd565b602082019050919050565b6000612847602983612e92565b9150612852826135e6565b604082019050919050565b600061286a602183612e92565b915061287582613635565b604082019050919050565b600061288d603183612e92565b915061289882613684565b604082019050919050565b60006128b0600883612ea3565b91506128bb826136d3565b600882019050919050565b60006128d3600d83612e92565b91506128de826136fc565b602082019050919050565b60006128f6601f83612e92565b915061290182613725565b602082019050919050565b6129158161302d565b82525050565b61292c6129278261302d565b613149565b82525050565b600061293e828661252b565b60148201915061294e828561291b565b60208201915061295e828461291b565b602082019150819050949350505050565b600061297b82846125c3565b915081905092915050565b600061299282866125c3565b915061299e82856125c3565b91506129aa82846125f4565b9150819050949350505050565b60006129c382856125c3565b91506129cf82846125f4565b91508190509392505050565b60006129e782846125f4565b915081905092915050565b60006129fe82856125f4565b9150612a0a82846125c3565b91508190509392505050565b6000612a2282876125f4565b9150612a2e82866125f4565b9150612a3a82856125c3565b9150612a4682846125f4565b915081905095945050505050565b6000612a6082876125f4565b9150612a6c82866125f4565b9150612a7882856125f4565b9150612a8482846125f4565b915081905095945050505050565b6000612a9e82886125f4565b9150612aaa82876125f4565b9150612ab682866125f4565b9150612ac282856125f4565b9150612ace82846125f4565b91508190509695505050505050565b6000612ae8826126dc565b9150612af482846125c3565b915081905092915050565b6000612b0a826128a3565b9150612b1682846125c3565b915081905092915050565b6000602082019050612b36600083018461251c565b92915050565b6000608082019050612b51600083018761251c565b612b5e602083018661251c565b612b6b604083018561290c565b8181036060830152612b7d8184612551565b905095945050505050565b6000602082019050612b9d6000830184612542565b92915050565b60006020820190508181036000830152612bbd818461258a565b905092915050565b60006020820190508181036000830152612bde81612673565b9050919050565b60006020820190508181036000830152612bfe81612696565b9050919050565b60006020820190508181036000830152612c1e816126b9565b9050919050565b60006020820190508181036000830152612c3e816126ff565b9050919050565b60006020820190508181036000830152612c5e81612722565b9050919050565b60006020820190508181036000830152612c7e81612745565b9050919050565b60006020820190508181036000830152612c9e81612768565b9050919050565b60006020820190508181036000830152612cbe8161278b565b9050919050565b60006020820190508181036000830152612cde816127ae565b9050919050565b60006020820190508181036000830152612cfe816127d1565b9050919050565b60006020820190508181036000830152612d1e816127f4565b9050919050565b60006020820190508181036000830152612d3e81612817565b9050919050565b60006020820190508181036000830152612d5e8161283a565b9050919050565b60006020820190508181036000830152612d7e8161285d565b9050919050565b60006020820190508181036000830152612d9e81612880565b9050919050565b60006020820190508181036000830152612dbe816128c6565b9050919050565b60006020820190508181036000830152612dde816128e9565b9050919050565b6000602082019050612dfa600083018461290c565b92915050565b6000612e0a612e1b565b9050612e1682826130ab565b919050565b6000604051905090565b600067ffffffffffffffff821115612e4057612e3f613240565b5b612e4982613283565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612eb98261302d565b9150612ec48361302d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612ef957612ef8613184565b5b828201905092915050565b6000612f0f8261302d565b9150612f1a8361302d565b925082612f2a57612f296131b3565b5b828204905092915050565b6000612f408261302d565b9150612f4b8361302d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612f8457612f83613184565b5b828202905092915050565b6000612f9a8261302d565b9150612fa58361302d565b925082821015612fb857612fb7613184565b5b828203905092915050565b6000612fce8261300d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613064578082015181840152602081019050613049565b83811115613073576000848401525b50505050565b6000600282049050600182168061309157607f821691505b602082108114156130a5576130a46131e2565b5b50919050565b6130b482613283565b810181811067ffffffffffffffff821117156130d3576130d2613240565b5b80604052505050565b60006130e78261302d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561311a57613119613184565b5b600182019050919050565b600061313082613137565b9050919050565b600061314282613294565b9050919050565b6000819050919050565b600061315e8261302d565b91506131698361302d565b925082613179576131786131b3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f6d617863617368737461636b0000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f627579696e676766000000000000000000000000000000000000000000000000600082015250565b7f696e76616c696420636c61696d00000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b61375781612fc3565b811461376257600080fd5b50565b61376e81612fd5565b811461377957600080fd5b50565b61378581612fe1565b811461379057600080fd5b50565b61379c8161302d565b81146137a757600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220e6a2f9b4d900087c9d9c9317bd7f3b0a253a91d1a711e7fd400d7f5fa7f59c6864736f6c63430008070033227d5d2c22696d616765223a2022646174613a696d6167652f7376672b786d6c3b6261736536342c2220643d224d35382e34203239322e33683339352e327633382e314835382e347a222f3e3c2f7376673e2220643d226d3338372e36203230392e352d36362d36362d36352e382036352e382d36352e382d36352e382d36352e382036352e382d36352e382d36352e3876323235683339352e32762d3232357a222f3e3c70617468207374796c653d2266696c6c3a3c7376672077696474683d2235313222206865696768743d223531322220786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667223e3c7374796c653e2e7374307b66696c6c3a236564316332347d3c2f7374796c653e3c7061746820636c6173733d227374302220643d224d3133372e31203337342e374837312e337633322e386833322e396c2e312e322e322e317633322e396833322e38762d36352e38682d2e327a222f3e3c7061746820636c6173733d227374302220643d224d3337342e37203133372e31682d36352e384c3133372e31203330382e397636352e38682e32762e326836352e386c3137312e382d3137312e38762d36352e38682d2e327a222f3e3c7061746820636c6173733d227374302220643d226d3430372e37203130342e332d2e322d2e315637312e33682d33322e387636352e38682e32762e326836352e38762d33322e38682d33322e397a222f3e3c7061746820643d224d3133372e31203337342e37682e33762e33682d2e337a6d3233372e362d3233372e36682e33762e33682d2e337a222f3e3c7061746820643d226d3134362e383433203239392e3134372031392e3531362d31392e3531362036362e3034352036362e3034322d31392e3531362031392e3531377a6d3133322e3734362d3133322e38322031392e3531362d31392e3531372036362e3034352036362e3034332d31392e3531362031392e3531367a22207374796c653d2266696c6c3a23666666323030222f3e3c2f7376673e227d2c7b2274726169745f74797065223a2022526962626f6e222c2276616c7565223a20227b226465736372697074696f6e223a202241206e696365206861742066726f6d206120637261636b65722e222c2261747472696275746573223a205b7b2274726169745f74797065223a2022486174222c2276616c7565223a20223c7376672077696474683d2235313222206865696768743d223531322220786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667223e3c70617468207374796c653d2266696c6c3a7b226465736372697074696f6e223a202249206e65656420746f207472616e7366657220746869732e222c2261747472696275746573223a205b7b2274726169745f74797065223a2022437261636b6572222c2276616c7565223a225368617265204d65

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063b88d4fde11610071578063b88d4fde1461031d578063c87b56dd14610339578063e985e9c514610369578063f2fde38b14610399578063f58d2295146103b55761012c565b8063715018a61461029d5780638da5cb5b146102a757806395d89b41146102c55780639c2f2a42146102e3578063a22cb465146103015761012c565b806323b872dd116100f457806323b872dd146101e9578063379607f51461020557806342842e0e146102215780636352211e1461023d57806370a082311461026d5761012c565b806301ffc9a71461013157806306fdde0314610161578063081812fc1461017f578063095ea7b3146101af57806318160ddd146101cb575b600080fd5b61014b60048036038101906101469190612495565b6103d3565b6040516101589190612b88565b60405180910390f35b6101696104b5565b6040516101769190612ba3565b60405180910390f35b610199600480360381019061019491906124ef565b610547565b6040516101a69190612b21565b60405180910390f35b6101c960048036038101906101c49190612455565b6105cc565b005b6101d36106e4565b6040516101e09190612de5565b60405180910390f35b61020360048036038101906101fe919061233f565b6106ee565b005b61021f600480360381019061021a91906124ef565b61082b565b005b61023b6004803603810190610236919061233f565b610959565b005b610257600480360381019061025291906124ef565b610989565b6040516102649190612b21565b60405180910390f35b610287600480360381019061028291906122d2565b610a3b565b6040516102949190612de5565b60405180910390f35b6102a5610af3565b005b6102af610b7b565b6040516102bc9190612b21565b60405180910390f35b6102cd610ba5565b6040516102da9190612ba3565b60405180910390f35b6102eb610c37565b6040516102f89190612de5565b60405180910390f35b61031b60048036038101906103169190612415565b610c3d565b005b61033760048036038101906103329190612392565b610dbe565b005b610353600480360381019061034e91906124ef565b610e30565b6040516103609190612ba3565b60405180910390f35b610383600480360381019061037e91906122ff565b610f23565b6040516103909190612b88565b60405180910390f35b6103b360048036038101906103ae91906122d2565b610fb7565b005b6103bd6110af565b6040516103ca9190612de5565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061049e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104ae57506104ad826110b5565b5b9050919050565b6060600080546104c490613079565b80601f01602080910402602001604051908101604052809291908181526020018280546104f090613079565b801561053d5780601f106105125761010080835404028352916020019161053d565b820191906000526020600020905b81548152906001019060200180831161052057829003601f168201915b5050505050905090565b60006105528261111f565b610591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058890612d05565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105d782610989565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063f90612d65565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661066761118b565b73ffffffffffffffffffffffffffffffffffffffff16148061069657506106958161069061118b565b610f23565b5b6106d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106cc90612c85565b60405180910390fd5b6106df8383611193565b505050565b6000600854905090565b6106ff6106f961118b565b8261124c565b61073e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073590612d85565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561077757600080fd5b612710811080156107905750600161078e8261132a565b145b156107bb5761079e81611372565b6107b68260016009546107b19190612eae565b611483565b61080c565b612710811080156107d4575060006107d28261132a565b145b156107ff576107e281611372565b6107fa8360016009546107f59190612eae565b611483565b61080b565b61080a8383836114a1565b5b5b60016009600082825461081f9190612eae565b92505081905550505050565b60026006541415610871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086890612dc5565b60405180910390fd5b600260068190555060006008541015801561088f575061251d600854105b6108ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c590612da5565b60405180910390fd5b61251d816008546108df9190612eae565b106108e957600080fd5b600681106108f657600080fd5b60005b8181101561094d5761092061090c61118b565b600160085461091b9190612eae565b611483565b6001600860008282546109339190612eae565b925050819055508080610945906130dc565b9150506108f9565b50600160068190555050565b6363a7d8d0421161096957600080fd5b61098483838360405180602001604052806000815250610dbe565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610a32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2990612cc5565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa390612ca5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610afb61118b565b73ffffffffffffffffffffffffffffffffffffffff16610b19610b7b565b73ffffffffffffffffffffffffffffffffffffffff1614610b6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6690612d25565b60405180910390fd5b610b7960006116fd565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610bb490613079565b80601f0160208091040260200160405190810160405280929190818152602001828054610be090613079565b8015610c2d5780601f10610c0257610100808354040283529160200191610c2d565b820191906000526020600020905b815481529060010190602001808311610c1057829003601f168201915b5050505050905090565b60085481565b610c4561118b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caa90612c45565b60405180910390fd5b8060056000610cc061118b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610d6d61118b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610db29190612b88565b60405180910390a35050565b6363a7d8d04211610dce57600080fd5b610ddf610dd961118b565b8361124c565b610e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1590612d85565b60405180910390fd5b610e2a848484846117c3565b50505050565b60606000610e3d8361181f565b9050612710831115610eb8576012610e90610e57836118d2565b610e68610e6385611973565b611a6b565b6011604051602001610e7c93929190612986565b604051602081830303815290604052611a6b565b604051602001610ea19291906129f2565b604051602081830303815290604052915050610f1e565b6012610efa6010600f610ed1610ecc611c03565b611a6b565b6011604051602001610ee69493929190612a16565b604051602081830303815290604052611a6b565b604051602001610f0b9291906129f2565b6040516020818303038152906040529150505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610fbf61118b565b73ffffffffffffffffffffffffffffffffffffffff16610fdd610b7b565b73ffffffffffffffffffffffffffffffffffffffff1614611033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102a90612d25565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a90612be5565b60405180910390fd5b6110ac816116fd565b50565b60095481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661120683610989565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006112578261111f565b611296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128d90612c65565b60405180910390fd5b60006112a183610989565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061131057508373ffffffffffffffffffffffffffffffffffffffff166112f884610547565b73ffffffffffffffffffffffffffffffffffffffff16145b8061132157506113208185610f23565b5b91505092915050565b60008033428460405160200161134293929190612932565b6040516020818303038152906040528051906020012060001c905060028161136a9190613153565b915050919050565b600061137d82610989565b905061138b81600084611c6d565b611396600083611193565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113e69190612f8f565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61149d828260405180602001604052806000815250611c72565b5050565b8273ffffffffffffffffffffffffffffffffffffffff166114c182610989565b73ffffffffffffffffffffffffffffffffffffffff1614611517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150e90612d45565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611587576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157e90612c25565b60405180910390fd5b611592838383611c6d565b61159d600082611193565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115ed9190612f8f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116449190612eae565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6117ce8484846114a1565b6117da84848484611ccd565b611819576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181090612bc5565b60405180910390fd5b50505050565b6118276121d9565b61182f6121d9565b601561186161183d85611e64565b60405160200161184d9190612add565b604051602081830303815290604052611fc5565b61186b9190613153565b816000019060ff16908160ff168152505060156118ae61188a85611e64565b60405160200161189a9190612aff565b604051602081830303815290604052611fc5565b6118b89190613153565b816020019060ff16908160ff168152505080915050919050565b60606000600d600a846000015160ff16815481106118f3576118f2613211565b5b90600052602060002001600e600a866020015160ff168154811061191a57611919613211565b5b906000526020600020016040516020016119379493929190612a54565b604051602081830303815290604052905080600f60405160200161195c9291906129b7565b604051602081830303815290604052915050919050565b60606000600b60008154811061198c5761198b613211565b5b90600052602060002001600a846000015160ff16815481106119b1576119b0613211565b5b90600052602060002001600b6001815481106119d0576119cf613211565b5b90600052602060002001600a866020015160ff16815481106119f5576119f4613211565b5b90600052602060002001600b600281548110611a1457611a13613211565b5b90600052602060002001604051602001611a32959493929190612a92565b604051602081830303815290604052905080604051602001611a54919061296f565b604051602081830303815290604052915050919050565b60606000825190506000811415611a945760405180602001604052806000815250915050611bfe565b60006003600283611aa59190612eae565b611aaf9190612f04565b6004611abb9190612f35565b90506000602082611acc9190612eae565b67ffffffffffffffff811115611ae557611ae4613240565b5b6040519080825280601f01601f191660200182016040528015611b175781602001600182028036833780820191505090505b50905060006040518060600160405280604081526020016137ab604091399050600181016020830160005b86811015611bbb5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050611b42565b506003860660018114611bd55760028114611be557611bf0565b613d3d60f01b6002830352611bf0565b603d60f81b60018303525b508484525050819450505050505b919050565b60606000600c600081548110611c1c57611c1b613211565b5b90600052602060002001604051602001611c3691906129db565b604051602081830303815290604052905080604051602001611c58919061296f565b60405160208183030381529060405291505090565b505050565b611c7c8383611ff8565b611c896000848484611ccd565b611cc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbf90612bc5565b60405180910390fd5b505050565b6000611cee8473ffffffffffffffffffffffffffffffffffffffff166121c6565b15611e57578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611d1761118b565b8786866040518563ffffffff1660e01b8152600401611d399493929190612b3c565b602060405180830381600087803b158015611d5357600080fd5b505af1925050508015611d8457506040513d601f19601f82011682018060405250810190611d8191906124c2565b60015b611e07573d8060008114611db4576040519150601f19603f3d011682016040523d82523d6000602084013e611db9565b606091505b50600081511415611dff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df690612bc5565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611e5c565b600190505b949350505050565b60606000821415611eac576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611fc0565b600082905060005b60008214611ede578080611ec7906130dc565b915050600a82611ed79190612f04565b9150611eb4565b60008167ffffffffffffffff811115611efa57611ef9613240565b5b6040519080825280601f01601f191660200182016040528015611f2c5781602001600182028036833780820191505090505b5090505b60008514611fb957600182611f459190612f8f565b9150600a85611f549190613153565b6030611f609190612eae565b60f81b818381518110611f7657611f75613211565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611fb29190612f04565b9450611f30565b8093505050505b919050565b600081604051602001611fd8919061296f565b6040516020818303038152906040528051906020012060001c9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205f90612ce5565b60405180910390fd5b6120718161111f565b156120b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a890612c05565b60405180910390fd5b6120bd60008383611c6d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461210d9190612eae565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6040518060400160405280600060ff168152602001600060ff1681525090565b600061220c61220784612e25565b612e00565b90508281526020810184848401111561222857612227613274565b5b612233848285613037565b509392505050565b60008135905061224a8161374e565b92915050565b60008135905061225f81613765565b92915050565b6000813590506122748161377c565b92915050565b6000815190506122898161377c565b92915050565b600082601f8301126122a4576122a361326f565b5b81356122b48482602086016121f9565b91505092915050565b6000813590506122cc81613793565b92915050565b6000602082840312156122e8576122e761327e565b5b60006122f68482850161223b565b91505092915050565b600080604083850312156123165761231561327e565b5b60006123248582860161223b565b92505060206123358582860161223b565b9150509250929050565b6000806000606084860312156123585761235761327e565b5b60006123668682870161223b565b93505060206123778682870161223b565b9250506040612388868287016122bd565b9150509250925092565b600080600080608085870312156123ac576123ab61327e565b5b60006123ba8782880161223b565b94505060206123cb8782880161223b565b93505060406123dc878288016122bd565b925050606085013567ffffffffffffffff8111156123fd576123fc613279565b5b6124098782880161228f565b91505092959194509250565b6000806040838503121561242c5761242b61327e565b5b600061243a8582860161223b565b925050602061244b85828601612250565b9150509250929050565b6000806040838503121561246c5761246b61327e565b5b600061247a8582860161223b565b925050602061248b858286016122bd565b9150509250929050565b6000602082840312156124ab576124aa61327e565b5b60006124b984828501612265565b91505092915050565b6000602082840312156124d8576124d761327e565b5b60006124e68482850161227a565b91505092915050565b6000602082840312156125055761250461327e565b5b6000612513848285016122bd565b91505092915050565b61252581612fc3565b82525050565b61253c61253782612fc3565b613125565b82525050565b61254b81612fd5565b82525050565b600061255c82612e6b565b6125668185612e81565b9350612576818560208601613046565b61257f81613283565b840191505092915050565b600061259582612e76565b61259f8185612e92565b93506125af818560208601613046565b6125b881613283565b840191505092915050565b60006125ce82612e76565b6125d88185612ea3565b93506125e8818560208601613046565b80840191505092915050565b6000815461260181613079565b61260b8186612ea3565b9450600182166000811461262657600181146126375761266a565b60ff1983168652818601935061266a565b61264085612e56565b60005b8381101561266257815481890152600182019150602081019050612643565b838801955050505b50505092915050565b6000612680603283612e92565b915061268b826132a1565b604082019050919050565b60006126a3602683612e92565b91506126ae826132f0565b604082019050919050565b60006126c6601c83612e92565b91506126d18261333f565b602082019050919050565b60006126e9600c83612ea3565b91506126f482613368565b600c82019050919050565b600061270c602483612e92565b915061271782613391565b604082019050919050565b600061272f601983612e92565b915061273a826133e0565b602082019050919050565b6000612752602c83612e92565b915061275d82613409565b604082019050919050565b6000612775603883612e92565b915061278082613458565b604082019050919050565b6000612798602a83612e92565b91506127a3826134a7565b604082019050919050565b60006127bb602983612e92565b91506127c6826134f6565b604082019050919050565b60006127de602083612e92565b91506127e982613545565b602082019050919050565b6000612801602c83612e92565b915061280c8261356e565b604082019050919050565b6000612824602083612e92565b915061282f826135bd565b602082019050919050565b6000612847602983612e92565b9150612852826135e6565b604082019050919050565b600061286a602183612e92565b915061287582613635565b604082019050919050565b600061288d603183612e92565b915061289882613684565b604082019050919050565b60006128b0600883612ea3565b91506128bb826136d3565b600882019050919050565b60006128d3600d83612e92565b91506128de826136fc565b602082019050919050565b60006128f6601f83612e92565b915061290182613725565b602082019050919050565b6129158161302d565b82525050565b61292c6129278261302d565b613149565b82525050565b600061293e828661252b565b60148201915061294e828561291b565b60208201915061295e828461291b565b602082019150819050949350505050565b600061297b82846125c3565b915081905092915050565b600061299282866125c3565b915061299e82856125c3565b91506129aa82846125f4565b9150819050949350505050565b60006129c382856125c3565b91506129cf82846125f4565b91508190509392505050565b60006129e782846125f4565b915081905092915050565b60006129fe82856125f4565b9150612a0a82846125c3565b91508190509392505050565b6000612a2282876125f4565b9150612a2e82866125f4565b9150612a3a82856125c3565b9150612a4682846125f4565b915081905095945050505050565b6000612a6082876125f4565b9150612a6c82866125f4565b9150612a7882856125f4565b9150612a8482846125f4565b915081905095945050505050565b6000612a9e82886125f4565b9150612aaa82876125f4565b9150612ab682866125f4565b9150612ac282856125f4565b9150612ace82846125f4565b91508190509695505050505050565b6000612ae8826126dc565b9150612af482846125c3565b915081905092915050565b6000612b0a826128a3565b9150612b1682846125c3565b915081905092915050565b6000602082019050612b36600083018461251c565b92915050565b6000608082019050612b51600083018761251c565b612b5e602083018661251c565b612b6b604083018561290c565b8181036060830152612b7d8184612551565b905095945050505050565b6000602082019050612b9d6000830184612542565b92915050565b60006020820190508181036000830152612bbd818461258a565b905092915050565b60006020820190508181036000830152612bde81612673565b9050919050565b60006020820190508181036000830152612bfe81612696565b9050919050565b60006020820190508181036000830152612c1e816126b9565b9050919050565b60006020820190508181036000830152612c3e816126ff565b9050919050565b60006020820190508181036000830152612c5e81612722565b9050919050565b60006020820190508181036000830152612c7e81612745565b9050919050565b60006020820190508181036000830152612c9e81612768565b9050919050565b60006020820190508181036000830152612cbe8161278b565b9050919050565b60006020820190508181036000830152612cde816127ae565b9050919050565b60006020820190508181036000830152612cfe816127d1565b9050919050565b60006020820190508181036000830152612d1e816127f4565b9050919050565b60006020820190508181036000830152612d3e81612817565b9050919050565b60006020820190508181036000830152612d5e8161283a565b9050919050565b60006020820190508181036000830152612d7e8161285d565b9050919050565b60006020820190508181036000830152612d9e81612880565b9050919050565b60006020820190508181036000830152612dbe816128c6565b9050919050565b60006020820190508181036000830152612dde816128e9565b9050919050565b6000602082019050612dfa600083018461290c565b92915050565b6000612e0a612e1b565b9050612e1682826130ab565b919050565b6000604051905090565b600067ffffffffffffffff821115612e4057612e3f613240565b5b612e4982613283565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612eb98261302d565b9150612ec48361302d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612ef957612ef8613184565b5b828201905092915050565b6000612f0f8261302d565b9150612f1a8361302d565b925082612f2a57612f296131b3565b5b828204905092915050565b6000612f408261302d565b9150612f4b8361302d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612f8457612f83613184565b5b828202905092915050565b6000612f9a8261302d565b9150612fa58361302d565b925082821015612fb857612fb7613184565b5b828203905092915050565b6000612fce8261300d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613064578082015181840152602081019050613049565b83811115613073576000848401525b50505050565b6000600282049050600182168061309157607f821691505b602082108114156130a5576130a46131e2565b5b50919050565b6130b482613283565b810181811067ffffffffffffffff821117156130d3576130d2613240565b5b80604052505050565b60006130e78261302d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561311a57613119613184565b5b600182019050919050565b600061313082613137565b9050919050565b600061314282613294565b9050919050565b6000819050919050565b600061315e8261302d565b91506131698361302d565b925082613179576131786131b3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f6d617863617368737461636b0000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f627579696e676766000000000000000000000000000000000000000000000000600082015250565b7f696e76616c696420636c61696d00000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b61375781612fc3565b811461376257600080fd5b50565b61376e81612fd5565b811461377957600080fd5b50565b61378581612fe1565b811461379057600080fd5b50565b61379c8161302d565b81146137a757600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220e6a2f9b4d900087c9d9c9317bd7f3b0a253a91d1a711e7fd400d7f5fa7f59c6864736f6c63430008070033

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.