ETH Price: $2,617.15 (-0.38%)

Token

Wormzzz (WRMZ)
 

Overview

Max Total Supply

1,012 WRMZ

Holders

106

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
10 WRMZ
0x537C058BF30c8ADEf2aBE4e90fA420c8dE0372c2
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:
Wormzzz

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 2 : Wormzzz.sol
// SPDX-License-Identifier: Unlicensed

pragma solidity ^0.8.4;

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


// File @openzeppelin/contracts/token/ERC721/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

/**
 * @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`.
     *
     * 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 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 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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


// File @openzeppelin/contracts/token/ERC721/[email protected]


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.4;

/**
 * @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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.4;

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

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

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


// File @openzeppelin/contracts/utils/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.4;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.4;

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

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


// File @openzeppelin/contracts/utils/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.4;

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

    /**
     * @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 Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}


// File @openzeppelin/contracts/utils/introspection/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.4;

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

pragma solidity ^0.8.4;


error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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 override virtual {}

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }
    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 {
        _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 {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned;
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     *   {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex != end);

            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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 {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal returns (bool) {
        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 TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}


// File @openzeppelin/contracts/access/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.4;

/**
 * @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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// File contracts/MerkleProof.sol


// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.4;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

pragma solidity ^0.8.4;


/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

pragma solidity ^0.8.4;


/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

import '@openzeppelin/contracts/security/ReentrancyGuard.sol';

pragma solidity ^0.8.4;

contract Wormzzz is  Ownable, ERC721A, ReentrancyGuard, ERC2981 {

    uint256 public mintPrice;
    uint256 public maxSupply;
    uint256 public freeSupply;
    uint256 public maxPerWallet;
    uint256 public startTime;
    uint256 public aliveCount;
    bool public isPublicMintEnabled;
    string internal baseTokenURI;
    string internal baseHatchTokenURI;
    string internal baseDeadTokenURI;
    address payable public withdrawWallet;
    bool public isEarningEnabled;
    mapping(address => uint256) public walletMints;
    mapping(uint256 => uint256) public wormLevel;
    mapping(uint256 => bool) public wormActive;

    constructor() ERC721A("Wormzzz", "WRMZ") {
        mintPrice = 0.004 ether;
        aliveCount = 3000;
        maxSupply = 3000;
        maxPerWallet = 10;
        freeSupply = 1000;
        startTime= block.timestamp;
        //set withdraw wallet address
    }
    function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) public onlyOwner {
      _setDefaultRoyalty(_receiver, _feeNumerator);
    }
    function supportsInterface( bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) {
        return 
            ERC721A.supportsInterface(interfaceId) || 
            ERC2981.supportsInterface(interfaceId);
    }
    function setMintEnabled(bool isPublicMintEnabled_) external onlyOwner {
        isPublicMintEnabled = isPublicMintEnabled_;
    }
    function setEarningEnabled(bool isEarningEnabled_) external onlyOwner {
        isEarningEnabled = isEarningEnabled_;
    }

    function setBaseTokenUri(string calldata baseTokenURI_, string calldata baseHatchTokenURI_,string calldata baseDeadTokenURI_) external onlyOwner{
        baseTokenURI = baseTokenURI_;
        baseHatchTokenURI = baseHatchTokenURI_;
        baseDeadTokenURI = baseDeadTokenURI_;
    }

    function tokenURI(uint tokenId_) public view override returns (string memory){
        require(_exists(tokenId_),'token does not exist');
        if (wormActive[tokenId_]){
            return string(abi.encodePacked(baseTokenURI, Strings.toString(tokenId_),".json"));
        }
        else {
            if (wormLevel[tokenId_] > 0 )
                return string(abi.encodePacked(baseDeadTokenURI, Strings.toString(tokenId_),".json"));
            else{
                return string(abi.encodePacked(baseHatchTokenURI, Strings.toString(tokenId_),".json"));
            }
        }
        
    }
    function hatch(uint256 tokenId_) public {
        require(wormLevel[tokenId_] == 0, 'Already hatched');
        require(msg.sender == ownerOf(tokenId_), 'sender not the owner of NFT');
        wormLevel[tokenId_] = ((block.timestamp - startTime) / 86400) + 1 + (block.timestamp % 4) ;
        wormActive[tokenId_] = true;
    }

    function consume(uint256 consumerId_, uint256 targetId_) public {
        require(msg.sender == ownerOf(consumerId_), 'sender not the owner of NFT');
        require(wormActive[consumerId_] == true, 'your worm is dead/unhatched lol');
        require(wormActive[targetId_] == true, 'Target Worm is not active');
        require(wormLevel[consumerId_] > wormLevel[targetId_], 'Your worm is not big enough');
        wormLevel[consumerId_] = wormLevel[consumerId_] + wormLevel[targetId_];
        wormActive[targetId_] = false;
        aliveCount--;
        if (isEarningEnabled== true){
            payable(msg.sender).transfer(address(this).balance /(aliveCount));
        }
    }

    function sacrifice(uint256 sacrifice_, uint256 predator_) public {
        require(msg.sender == ownerOf(sacrifice_), 'sender not the owner of NFT');
        require(wormActive[sacrifice_] == true, 'your worm is dead/unhatched lol');
        require(wormActive[predator_] == true, 'Target Worm is not active');
        require(wormLevel[sacrifice_] < wormLevel[predator_], 'Your worm is not big enough');
        wormLevel[predator_] = wormLevel[predator_] - wormLevel[sacrifice_];
        wormActive[sacrifice_] = false;
        aliveCount--;
        if (isEarningEnabled== true){
            payable(msg.sender).transfer(address(this).balance /(aliveCount));
        }
    }

    function withdraw() public onlyOwner nonReentrant{
        (bool os,) = payable(owner()).call{value: address(this).balance}('');
        require(os);
    }

    function mint(uint256 quantity_) public payable {
        require(isPublicMintEnabled, 'minting not enabled');
        //require(msg.value>=quantity_ * mintPrice, 'insufficient funds!');
        require(totalSupply() + quantity_ <= maxSupply, 'sold out');
        require(walletMints[msg.sender] + quantity_ <= maxPerWallet,'exceed max wallet');

        if (totalSupply() >= freeSupply) {
          //require(msg.value > 0, "Max free supply exceeded!");
          require( msg.value >= quantity_ * mintPrice, 'insufficient funds!');
          _safeMint(msg.sender, quantity_);
        }
        else{
            _safeMint(msg.sender, quantity_);
        }

        walletMints[msg.sender] += quantity_;
        
    }
    function mintFromOwner(uint256 quantity_, address receiver_) external onlyOwner {
        require(totalSupply() + quantity_ <= maxSupply, 'exceeds max supply');
        _safeMint(receiver_, quantity_);
    }
}

File 2 of 2 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"aliveCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"consumerId_","type":"uint256"},{"internalType":"uint256","name":"targetId_","type":"uint256"}],"name":"consume","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"hatch","outputs":[],"stateMutability":"nonpayable","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":"isEarningEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity_","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity_","type":"uint256"},{"internalType":"address","name":"receiver_","type":"address"}],"name":"mintFromOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"sacrifice_","type":"uint256"},{"internalType":"uint256","name":"predator_","type":"uint256"}],"name":"sacrifice","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":"string","name":"baseTokenURI_","type":"string"},{"internalType":"string","name":"baseHatchTokenURI_","type":"string"},{"internalType":"string","name":"baseDeadTokenURI_","type":"string"}],"name":"setBaseTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isEarningEnabled_","type":"bool"}],"name":"setEarningEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isPublicMintEnabled_","type":"bool"}],"name":"setMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wormActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wormLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600781526020017f576f726d7a7a7a000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f57524d5a000000000000000000000000000000000000000000000000000000008152506200009e620000926200012e60201b60201c565b6200013660201b60201c565b8160039080519060200190620000b6929190620001ff565b508060049080519060200190620000cf929190620001ff565b50620000e0620001fa60201b60201c565b60018190555050506001600981905550660e35fa931a0000600c81905550610bb8601181905550610bb8600d81905550600a600f819055506103e8600e819055504260108190555062000314565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b8280546200020d90620002af565b90600052602060002090601f0160209004810192826200023157600085556200027d565b82601f106200024c57805160ff19168380011785556200027d565b828001600101855582156200027d579182015b828111156200027c5782518255916020019190600101906200025f565b5b5090506200028c919062000290565b5090565b5b80821115620002ab57600081600090555060010162000291565b5090565b60006002820490506001821680620002c857607f821691505b60208210811415620002df57620002de620002e5565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61472980620003246000396000f3fe60806040526004361061023a5760003560e01c8063715018a61161012e578063c8c18842116100ab578063e985e9c51161006f578063e985e9c514610850578063f0293fd31461088d578063f2fde38b146108ca578063f46a04eb146108f3578063fb5ff7b31461091c5761023a565b8063c8c188421461077f578063c9144ddb146107a8578063d16ab07d146107d3578063d4c9b922146107fc578063d5abeb01146108255761023a565b806395d89b41116100f257806395d89b41146106a9578063a0712d68146106d4578063a22cb465146106f0578063b88d4fde14610719578063c87b56dd146107425761023a565b8063715018a6146105e857806378e97925146105ff5780637b25e04c1461062a57806385d178f4146106535780638da5cb5b1461067e5761023a565b806323b872dd116101bc578063453c231011610180578063453c2310146104ef5780634eeea7ad1461051a5780636352211e146105435780636817c76c1461058057806370a08231146105ab5761023a565b806323b872dd1461041d57806324a6ab0c146104465780632a55205a146104715780633ccfd60b146104af57806342842e0e146104c65761023a565b806306fdde031161020357806306fdde0314610338578063081812fc14610363578063095ea7b3146103a05780630d6bc400146103c957806318160ddd146103f25761023a565b8062fa75831461023f5780630116bc2d1461027c5780630145a938146102a757806301ffc9a7146102d257806304634d8d1461030f575b600080fd5b34801561024b57600080fd5b506102666004803603810190610261919061373a565b610959565b6040516102739190613edb565b60405180910390f35b34801561028857600080fd5b50610291610971565b60405161029e9190613c9e565b60405180910390f35b3480156102b357600080fd5b506102bc610984565b6040516102c99190613edb565b60405180910390f35b3480156102de57600080fd5b506102f960048036038101906102f49190613644565b61098a565b6040516103069190613c9e565b60405180910390f35b34801561031b57600080fd5b50610336600480360381019061033191906135df565b6109ac565b005b34801561034457600080fd5b5061034d6109c2565b60405161035a9190613cb9565b60405180910390f35b34801561036f57600080fd5b5061038a6004803603810190610385919061373a565b610a54565b6040516103979190613bf3565b60405180910390f35b3480156103ac57600080fd5b506103c760048036038101906103c291906135a3565b610ad0565b005b3480156103d557600080fd5b506103f060048036038101906103eb9190613696565b610ad4565b005b3480156103fe57600080fd5b50610407610b1a565b6040516104149190613edb565b60405180910390f35b34801561042957600080fd5b50610444600480360381019061043f919061349d565b610b31565b005b34801561045257600080fd5b5061045b610b41565b6040516104689190613edb565b60405180910390f35b34801561047d57600080fd5b506104986004803603810190610493919061379f565b610b47565b6040516104a6929190613c75565b60405180910390f35b3480156104bb57600080fd5b506104c4610d32565b005b3480156104d257600080fd5b506104ed60048036038101906104e8919061349d565b610e10565b005b3480156104fb57600080fd5b50610504610e30565b6040516105119190613edb565b60405180910390f35b34801561052657600080fd5b50610541600480360381019061053c919061379f565b610e36565b005b34801561054f57600080fd5b5061056a6004803603810190610565919061373a565b6110e4565b6040516105779190613bf3565b60405180910390f35b34801561058c57600080fd5b506105956110fa565b6040516105a29190613edb565b60405180910390f35b3480156105b757600080fd5b506105d260048036038101906105cd9190613438565b611100565b6040516105df9190613edb565b60405180910390f35b3480156105f457600080fd5b506105fd6111d0565b005b34801561060b57600080fd5b506106146111e4565b6040516106219190613edb565b60405180910390f35b34801561063657600080fd5b50610651600480360381019061064c919061379f565b6111ea565b005b34801561065f57600080fd5b50610668611498565b6040516106759190613c0e565b60405180910390f35b34801561068a57600080fd5b506106936114be565b6040516106a09190613bf3565b60405180910390f35b3480156106b557600080fd5b506106be6114e7565b6040516106cb9190613cb9565b60405180910390f35b6106ee60048036038101906106e9919061373a565b611579565b005b3480156106fc57600080fd5b5061071760048036038101906107129190613567565b611781565b005b34801561072557600080fd5b50610740600480360381019061073b91906134ec565b6118f9565b005b34801561074e57600080fd5b506107696004803603810190610764919061373a565b611975565b6040516107769190613cb9565b60405180910390f35b34801561078b57600080fd5b506107a660048036038101906107a1919061373a565b611a98565b005b3480156107b457600080fd5b506107bd611be9565b6040516107ca9190613c9e565b60405180910390f35b3480156107df57600080fd5b506107fa60048036038101906107f5919061361b565b611bfc565b005b34801561080857600080fd5b50610823600480360381019061081e9190613763565b611c21565b005b34801561083157600080fd5b5061083a611c8e565b6040516108479190613edb565b60405180910390f35b34801561085c57600080fd5b5061087760048036038101906108729190613461565b611c94565b6040516108849190613c9e565b60405180910390f35b34801561089957600080fd5b506108b460048036038101906108af9190613438565b611d28565b6040516108c19190613edb565b60405180910390f35b3480156108d657600080fd5b506108f160048036038101906108ec9190613438565b611d40565b005b3480156108ff57600080fd5b5061091a6004803603810190610915919061361b565b611dc4565b005b34801561092857600080fd5b50610943600480360381019061093e919061373a565b611de9565b6040516109509190613c9e565b60405180910390f35b60186020528060005260406000206000915090505481565b601260009054906101000a900460ff1681565b60115481565b600061099582611e09565b806109a557506109a482611eeb565b5b9050919050565b6109b4611f65565b6109be8282611fe3565b5050565b6060600380546109d1906141ce565b80601f01602080910402602001604051908101604052809291908181526020018280546109fd906141ce565b8015610a4a5780601f10610a1f57610100808354040283529160200191610a4a565b820191906000526020600020905b815481529060010190602001808311610a2d57829003601f168201915b5050505050905090565b6000610a5f82612179565b610a95576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5050565b610adc611f65565b858560139190610aed929190613222565b50838360149190610aff929190613222565b50818160159190610b11929190613222565b50505050505050565b6000610b246121c7565b6002546001540303905090565b610b3c8383836121cc565b505050565b600e5481565b6000806000600b60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610cdd57600a6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610ce7612682565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d139190614036565b610d1d9190614005565b90508160000151819350935050509250929050565b610d3a611f65565b60026009541415610d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7790613e5b565b60405180910390fd5b60026009819055506000610d926114be565b73ffffffffffffffffffffffffffffffffffffffff1647604051610db590613bde565b60006040518083038185875af1925050503d8060008114610df2576040519150601f19603f3d011682016040523d82523d6000602084013e610df7565b606091505b5050905080610e0557600080fd5b506001600981905550565b610e2b838383604051806020016040528060008152506118f9565b505050565b600f5481565b610e3f826110e4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea390613ebb565b60405180910390fd5b600115156019600084815260200190815260200160002060009054906101000a900460ff16151514610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a90613d7b565b60405180910390fd5b600115156019600083815260200190815260200160002060009054906101000a900460ff16151514610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7190613ddb565b60405180910390fd5b6018600082815260200190815260200160002054601860008481526020019081526020016000205411610fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd990613e3b565b60405180910390fd5b601860008281526020019081526020016000205460186000848152602001908152602001600020546110149190613faf565b601860008481526020019081526020016000208190555060006019600083815260200190815260200160002060006101000a81548160ff0219169083151502179055506011600081548092919061106a906141a4565b919050555060011515601660149054906101000a900460ff16151514156110e0573373ffffffffffffffffffffffffffffffffffffffff166108fc601154476110b39190614005565b9081150290604051600060405180830381858888f193505050501580156110de573d6000803e3d6000fd5b505b5050565b60006110ef8261268c565b600001519050919050565b600c5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611168576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6111d8611f65565b6111e2600061291b565b565b60105481565b6111f3826110e4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125790613ebb565b60405180910390fd5b600115156019600084815260200190815260200160002060009054906101000a900460ff161515146112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112be90613d7b565b60405180910390fd5b600115156019600083815260200190815260200160002060009054906101000a900460ff1615151461132e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132590613ddb565b60405180910390fd5b6018600082815260200190815260200160002054601860008481526020019081526020016000205410611396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138d90613e3b565b60405180910390fd5b601860008381526020019081526020016000205460186000838152602001908152602001600020546113c89190614090565b601860008381526020019081526020016000208190555060006019600084815260200190815260200160002060006101000a81548160ff0219169083151502179055506011600081548092919061141e906141a4565b919050555060011515601660149054906101000a900460ff1615151415611494573373ffffffffffffffffffffffffffffffffffffffff166108fc601154476114679190614005565b9081150290604051600060405180830381858888f19350505050158015611492573d6000803e3d6000fd5b505b5050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546114f6906141ce565b80601f0160208091040260200160405190810160405280929190818152602001828054611522906141ce565b801561156f5780601f106115445761010080835404028352916020019161156f565b820191906000526020600020905b81548152906001019060200180831161155257829003601f168201915b5050505050905090565b601260009054906101000a900460ff166115c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bf90613cfb565b60405180910390fd5b600d54816115d4610b1a565b6115de9190613faf565b111561161f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161690613d3b565b60405180910390fd5b600f5481601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461166d9190613faf565b11156116ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a590613d9b565b60405180910390fd5b600e546116b9610b1a565b1061171d57600c54816116cc9190614036565b34101561170e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170590613cdb565b60405180910390fd5b61171833826129df565b611728565b61172733826129df565b5b80601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117779190613faf565b9250508190555050565b6117896129fd565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117ee576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006117fb6129fd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118a86129fd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118ed9190613c9e565b60405180910390a35050565b6119048484846121cc565b6119238373ffffffffffffffffffffffffffffffffffffffff16612a05565b8015611938575061193684848484612a28565b155b1561196f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061198082612179565b6119bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b690613e7b565b60405180910390fd5b6019600083815260200190815260200160002060009054906101000a900460ff1615611a175760136119f083612b88565b604051602001611a01929190613baf565b6040516020818303038152906040529050611a93565b600060186000848152602001908152602001600020541115611a65576015611a3e83612b88565b604051602001611a4f929190613baf565b6040516020818303038152906040529050611a93565b6014611a7083612b88565b604051602001611a81929190613baf565b60405160208183030381529060405290505b919050565b6000601860008381526020019081526020016000205414611aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae590613e1b565b60405180910390fd5b611af7816110e4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5b90613ebb565b60405180910390fd5b600442611b71919061427a565b60016201518060105442611b859190614090565b611b8f9190614005565b611b999190613faf565b611ba39190613faf565b601860008381526020019081526020016000208190555060016019600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b601660149054906101000a900460ff1681565b611c04611f65565b80601660146101000a81548160ff02191690831515021790555050565b611c29611f65565b600d5482611c35610b1a565b611c3f9190613faf565b1115611c80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7790613d5b565b60405180910390fd5b611c8a81836129df565b5050565b600d5481565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60176020528060005260406000206000915090505481565b611d48611f65565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611daf90613d1b565b60405180910390fd5b611dc18161291b565b50565b611dcc611f65565b80601260006101000a81548160ff02191690831515021790555050565b60196020528060005260406000206000915054906101000a900460ff1681565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ed457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ee45750611ee382612d35565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f5e5750611f5d82611e09565b5b9050919050565b611f6d6129fd565b73ffffffffffffffffffffffffffffffffffffffff16611f8b6114be565b73ffffffffffffffffffffffffffffffffffffffff1614611fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd890613dbb565b60405180910390fd5b565b611feb612682565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612049576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204090613dfb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b090613e9b565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600a60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000816121846121c7565b11158015612193575060015482105b80156121c0575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600090565b60006121d78261268c565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612242576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166122636129fd565b73ffffffffffffffffffffffffffffffffffffffff16148061229257506122918561228c6129fd565b611c94565b5b806122d757506122a06129fd565b73ffffffffffffffffffffffffffffffffffffffff166122bf84610a54565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612310576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612377576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123848585856001612d9f565b61239060008487612da5565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600560008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600560008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561261057600154821461260f57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461267b8585856001612e57565b5050505050565b6000612710905090565b6126946132a8565b6000829050806126a26121c7565b111580156126b1575060015481105b156128e4576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516128e257600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127c6578092505050612916565b5b6001156128e157818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146128dc578092505050612916565b6127c7565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6129f9828260405180602001604052806000815250612e5d565b5050565b600033905090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a4e6129fd565b8786866040518563ffffffff1660e01b8152600401612a709493929190613c29565b602060405180830381600087803b158015612a8a57600080fd5b505af1925050508015612abb57506040513d601f19601f82011682018060405250810190612ab8919061366d565b60015b612b35573d8060008114612aeb576040519150601f19603f3d011682016040523d82523d6000602084013e612af0565b606091505b50600081511415612b2d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612bd0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d30565b600082905060005b60008214612c02578080612beb90614231565b915050600a82612bfb9190614005565b9150612bd8565b60008167ffffffffffffffff811115612c44577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c765781602001600182028036833780820191505090505b5090505b60008514612d2957600182612c8f9190614090565b9150600a85612c9e919061427a565b6030612caa9190613faf565b60f81b818381518110612ce6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d229190614005565b9450612c7a565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b50505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ecb576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415612f06576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612f136000858386612d9f565b82600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600084820190506130d48673ffffffffffffffffffffffffffffffffffffffff16612a05565b1561319a575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131496000878480600101955087612a28565b61317f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156130da57826001541461319557600080fd5b613206565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561319b575b81600181905550505061321c6000858386612e57565b50505050565b82805461322e906141ce565b90600052602060002090601f0160209004810192826132505760008555613297565b82601f1061326957803560ff1916838001178555613297565b82800160010185558215613297579182015b8281111561329657823582559160200191906001019061327b565b5b5090506132a491906132eb565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156133045760008160009055506001016132ec565b5090565b600061331b61331684613f1b565b613ef6565b90508281526020810184848401111561333357600080fd5b61333e848285614162565b509392505050565b60008135905061335581614680565b92915050565b60008135905061336a81614697565b92915050565b60008135905061337f816146ae565b92915050565b600081519050613394816146ae565b92915050565b600082601f8301126133ab57600080fd5b81356133bb848260208601613308565b91505092915050565b60008083601f8401126133d657600080fd5b8235905067ffffffffffffffff8111156133ef57600080fd5b60208301915083600182028301111561340757600080fd5b9250929050565b60008135905061341d816146c5565b92915050565b600081359050613432816146dc565b92915050565b60006020828403121561344a57600080fd5b600061345884828501613346565b91505092915050565b6000806040838503121561347457600080fd5b600061348285828601613346565b925050602061349385828601613346565b9150509250929050565b6000806000606084860312156134b257600080fd5b60006134c086828701613346565b93505060206134d186828701613346565b92505060406134e28682870161340e565b9150509250925092565b6000806000806080858703121561350257600080fd5b600061351087828801613346565b945050602061352187828801613346565b93505060406135328782880161340e565b925050606085013567ffffffffffffffff81111561354f57600080fd5b61355b8782880161339a565b91505092959194509250565b6000806040838503121561357a57600080fd5b600061358885828601613346565b92505060206135998582860161335b565b9150509250929050565b600080604083850312156135b657600080fd5b60006135c485828601613346565b92505060206135d58582860161340e565b9150509250929050565b600080604083850312156135f257600080fd5b600061360085828601613346565b925050602061361185828601613423565b9150509250929050565b60006020828403121561362d57600080fd5b600061363b8482850161335b565b91505092915050565b60006020828403121561365657600080fd5b600061366484828501613370565b91505092915050565b60006020828403121561367f57600080fd5b600061368d84828501613385565b91505092915050565b600080600080600080606087890312156136af57600080fd5b600087013567ffffffffffffffff8111156136c957600080fd5b6136d589828a016133c4565b9650965050602087013567ffffffffffffffff8111156136f457600080fd5b61370089828a016133c4565b9450945050604087013567ffffffffffffffff81111561371f57600080fd5b61372b89828a016133c4565b92509250509295509295509295565b60006020828403121561374c57600080fd5b600061375a8482850161340e565b91505092915050565b6000806040838503121561377657600080fd5b60006137848582860161340e565b925050602061379585828601613346565b9150509250929050565b600080604083850312156137b257600080fd5b60006137c08582860161340e565b92505060206137d18582860161340e565b9150509250929050565b6137e4816140d6565b82525050565b6137f3816140c4565b82525050565b613802816140e8565b82525050565b600061381382613f61565b61381d8185613f77565b935061382d818560208601614171565b61383681614367565b840191505092915050565b600061384c82613f6c565b6138568185613f93565b9350613866818560208601614171565b61386f81614367565b840191505092915050565b600061388582613f6c565b61388f8185613fa4565b935061389f818560208601614171565b80840191505092915050565b600081546138b8816141ce565b6138c28186613fa4565b945060018216600081146138dd57600181146138ee57613921565b60ff19831686528186019350613921565b6138f785613f4c565b60005b83811015613919578154818901526001820191506020810190506138fa565b838801955050505b50505092915050565b6000613937601383613f93565b915061394282614378565b602082019050919050565b600061395a601383613f93565b9150613965826143a1565b602082019050919050565b600061397d602683613f93565b9150613988826143ca565b604082019050919050565b60006139a0600883613f93565b91506139ab82614419565b602082019050919050565b60006139c3601283613f93565b91506139ce82614442565b602082019050919050565b60006139e6601f83613f93565b91506139f18261446b565b602082019050919050565b6000613a09600583613fa4565b9150613a1482614494565b600582019050919050565b6000613a2c601183613f93565b9150613a37826144bd565b602082019050919050565b6000613a4f602083613f93565b9150613a5a826144e6565b602082019050919050565b6000613a72601983613f93565b9150613a7d8261450f565b602082019050919050565b6000613a95600083613f88565b9150613aa082614538565b600082019050919050565b6000613ab8602a83613f93565b9150613ac38261453b565b604082019050919050565b6000613adb600f83613f93565b9150613ae68261458a565b602082019050919050565b6000613afe601b83613f93565b9150613b09826145b3565b602082019050919050565b6000613b21601f83613f93565b9150613b2c826145dc565b602082019050919050565b6000613b44601483613f93565b9150613b4f82614605565b602082019050919050565b6000613b67601983613f93565b9150613b728261462e565b602082019050919050565b6000613b8a601b83613f93565b9150613b9582614657565b602082019050919050565b613ba981614140565b82525050565b6000613bbb82856138ab565b9150613bc7828461387a565b9150613bd2826139fc565b91508190509392505050565b6000613be982613a88565b9150819050919050565b6000602082019050613c0860008301846137ea565b92915050565b6000602082019050613c2360008301846137db565b92915050565b6000608082019050613c3e60008301876137ea565b613c4b60208301866137ea565b613c586040830185613ba0565b8181036060830152613c6a8184613808565b905095945050505050565b6000604082019050613c8a60008301856137ea565b613c976020830184613ba0565b9392505050565b6000602082019050613cb360008301846137f9565b92915050565b60006020820190508181036000830152613cd38184613841565b905092915050565b60006020820190508181036000830152613cf48161392a565b9050919050565b60006020820190508181036000830152613d148161394d565b9050919050565b60006020820190508181036000830152613d3481613970565b9050919050565b60006020820190508181036000830152613d5481613993565b9050919050565b60006020820190508181036000830152613d74816139b6565b9050919050565b60006020820190508181036000830152613d94816139d9565b9050919050565b60006020820190508181036000830152613db481613a1f565b9050919050565b60006020820190508181036000830152613dd481613a42565b9050919050565b60006020820190508181036000830152613df481613a65565b9050919050565b60006020820190508181036000830152613e1481613aab565b9050919050565b60006020820190508181036000830152613e3481613ace565b9050919050565b60006020820190508181036000830152613e5481613af1565b9050919050565b60006020820190508181036000830152613e7481613b14565b9050919050565b60006020820190508181036000830152613e9481613b37565b9050919050565b60006020820190508181036000830152613eb481613b5a565b9050919050565b60006020820190508181036000830152613ed481613b7d565b9050919050565b6000602082019050613ef06000830184613ba0565b92915050565b6000613f00613f11565b9050613f0c8282614200565b919050565b6000604051905090565b600067ffffffffffffffff821115613f3657613f35614338565b5b613f3f82614367565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613fba82614140565b9150613fc583614140565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ffa57613ff96142ab565b5b828201905092915050565b600061401082614140565b915061401b83614140565b92508261402b5761402a6142da565b5b828204905092915050565b600061404182614140565b915061404c83614140565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614085576140846142ab565b5b828202905092915050565b600061409b82614140565b91506140a683614140565b9250828210156140b9576140b86142ab565b5b828203905092915050565b60006140cf82614120565b9050919050565b60006140e182614120565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b8381101561418f578082015181840152602081019050614174565b8381111561419e576000848401525b50505050565b60006141af82614140565b915060008214156141c3576141c26142ab565b5b600182039050919050565b600060028204905060018216806141e657607f821691505b602082108114156141fa576141f9614309565b5b50919050565b61420982614367565b810181811067ffffffffffffffff8211171561422857614227614338565b5b80604052505050565b600061423c82614140565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561426f5761426e6142ab565b5b600182019050919050565b600061428582614140565b915061429083614140565b9250826142a05761429f6142da565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f696e73756666696369656e742066756e64732100000000000000000000000000600082015250565b7f6d696e74696e67206e6f7420656e61626c656400000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f736f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f65786365656473206d617820737570706c790000000000000000000000000000600082015250565b7f796f757220776f726d20697320646561642f756e68617463686564206c6f6c00600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f657863656564206d61782077616c6c6574000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54617267657420576f726d206973206e6f742061637469766500000000000000600082015250565b50565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f416c726561647920686174636865640000000000000000000000000000000000600082015250565b7f596f757220776f726d206973206e6f742062696720656e6f7567680000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f746f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b7f73656e646572206e6f7420746865206f776e6572206f66204e46540000000000600082015250565b614689816140c4565b811461469457600080fd5b50565b6146a0816140e8565b81146146ab57600080fd5b50565b6146b7816140f4565b81146146c257600080fd5b50565b6146ce81614140565b81146146d957600080fd5b50565b6146e58161414a565b81146146f057600080fd5b5056fea264697066735822122040254710fd4c21608910b8e5f8d5d5766ca0976adc8c1766873d6677a29c376a64736f6c63430008040033

Deployed Bytecode

0x60806040526004361061023a5760003560e01c8063715018a61161012e578063c8c18842116100ab578063e985e9c51161006f578063e985e9c514610850578063f0293fd31461088d578063f2fde38b146108ca578063f46a04eb146108f3578063fb5ff7b31461091c5761023a565b8063c8c188421461077f578063c9144ddb146107a8578063d16ab07d146107d3578063d4c9b922146107fc578063d5abeb01146108255761023a565b806395d89b41116100f257806395d89b41146106a9578063a0712d68146106d4578063a22cb465146106f0578063b88d4fde14610719578063c87b56dd146107425761023a565b8063715018a6146105e857806378e97925146105ff5780637b25e04c1461062a57806385d178f4146106535780638da5cb5b1461067e5761023a565b806323b872dd116101bc578063453c231011610180578063453c2310146104ef5780634eeea7ad1461051a5780636352211e146105435780636817c76c1461058057806370a08231146105ab5761023a565b806323b872dd1461041d57806324a6ab0c146104465780632a55205a146104715780633ccfd60b146104af57806342842e0e146104c65761023a565b806306fdde031161020357806306fdde0314610338578063081812fc14610363578063095ea7b3146103a05780630d6bc400146103c957806318160ddd146103f25761023a565b8062fa75831461023f5780630116bc2d1461027c5780630145a938146102a757806301ffc9a7146102d257806304634d8d1461030f575b600080fd5b34801561024b57600080fd5b506102666004803603810190610261919061373a565b610959565b6040516102739190613edb565b60405180910390f35b34801561028857600080fd5b50610291610971565b60405161029e9190613c9e565b60405180910390f35b3480156102b357600080fd5b506102bc610984565b6040516102c99190613edb565b60405180910390f35b3480156102de57600080fd5b506102f960048036038101906102f49190613644565b61098a565b6040516103069190613c9e565b60405180910390f35b34801561031b57600080fd5b50610336600480360381019061033191906135df565b6109ac565b005b34801561034457600080fd5b5061034d6109c2565b60405161035a9190613cb9565b60405180910390f35b34801561036f57600080fd5b5061038a6004803603810190610385919061373a565b610a54565b6040516103979190613bf3565b60405180910390f35b3480156103ac57600080fd5b506103c760048036038101906103c291906135a3565b610ad0565b005b3480156103d557600080fd5b506103f060048036038101906103eb9190613696565b610ad4565b005b3480156103fe57600080fd5b50610407610b1a565b6040516104149190613edb565b60405180910390f35b34801561042957600080fd5b50610444600480360381019061043f919061349d565b610b31565b005b34801561045257600080fd5b5061045b610b41565b6040516104689190613edb565b60405180910390f35b34801561047d57600080fd5b506104986004803603810190610493919061379f565b610b47565b6040516104a6929190613c75565b60405180910390f35b3480156104bb57600080fd5b506104c4610d32565b005b3480156104d257600080fd5b506104ed60048036038101906104e8919061349d565b610e10565b005b3480156104fb57600080fd5b50610504610e30565b6040516105119190613edb565b60405180910390f35b34801561052657600080fd5b50610541600480360381019061053c919061379f565b610e36565b005b34801561054f57600080fd5b5061056a6004803603810190610565919061373a565b6110e4565b6040516105779190613bf3565b60405180910390f35b34801561058c57600080fd5b506105956110fa565b6040516105a29190613edb565b60405180910390f35b3480156105b757600080fd5b506105d260048036038101906105cd9190613438565b611100565b6040516105df9190613edb565b60405180910390f35b3480156105f457600080fd5b506105fd6111d0565b005b34801561060b57600080fd5b506106146111e4565b6040516106219190613edb565b60405180910390f35b34801561063657600080fd5b50610651600480360381019061064c919061379f565b6111ea565b005b34801561065f57600080fd5b50610668611498565b6040516106759190613c0e565b60405180910390f35b34801561068a57600080fd5b506106936114be565b6040516106a09190613bf3565b60405180910390f35b3480156106b557600080fd5b506106be6114e7565b6040516106cb9190613cb9565b60405180910390f35b6106ee60048036038101906106e9919061373a565b611579565b005b3480156106fc57600080fd5b5061071760048036038101906107129190613567565b611781565b005b34801561072557600080fd5b50610740600480360381019061073b91906134ec565b6118f9565b005b34801561074e57600080fd5b506107696004803603810190610764919061373a565b611975565b6040516107769190613cb9565b60405180910390f35b34801561078b57600080fd5b506107a660048036038101906107a1919061373a565b611a98565b005b3480156107b457600080fd5b506107bd611be9565b6040516107ca9190613c9e565b60405180910390f35b3480156107df57600080fd5b506107fa60048036038101906107f5919061361b565b611bfc565b005b34801561080857600080fd5b50610823600480360381019061081e9190613763565b611c21565b005b34801561083157600080fd5b5061083a611c8e565b6040516108479190613edb565b60405180910390f35b34801561085c57600080fd5b5061087760048036038101906108729190613461565b611c94565b6040516108849190613c9e565b60405180910390f35b34801561089957600080fd5b506108b460048036038101906108af9190613438565b611d28565b6040516108c19190613edb565b60405180910390f35b3480156108d657600080fd5b506108f160048036038101906108ec9190613438565b611d40565b005b3480156108ff57600080fd5b5061091a6004803603810190610915919061361b565b611dc4565b005b34801561092857600080fd5b50610943600480360381019061093e919061373a565b611de9565b6040516109509190613c9e565b60405180910390f35b60186020528060005260406000206000915090505481565b601260009054906101000a900460ff1681565b60115481565b600061099582611e09565b806109a557506109a482611eeb565b5b9050919050565b6109b4611f65565b6109be8282611fe3565b5050565b6060600380546109d1906141ce565b80601f01602080910402602001604051908101604052809291908181526020018280546109fd906141ce565b8015610a4a5780601f10610a1f57610100808354040283529160200191610a4a565b820191906000526020600020905b815481529060010190602001808311610a2d57829003601f168201915b5050505050905090565b6000610a5f82612179565b610a95576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5050565b610adc611f65565b858560139190610aed929190613222565b50838360149190610aff929190613222565b50818160159190610b11929190613222565b50505050505050565b6000610b246121c7565b6002546001540303905090565b610b3c8383836121cc565b505050565b600e5481565b6000806000600b60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610cdd57600a6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610ce7612682565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d139190614036565b610d1d9190614005565b90508160000151819350935050509250929050565b610d3a611f65565b60026009541415610d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7790613e5b565b60405180910390fd5b60026009819055506000610d926114be565b73ffffffffffffffffffffffffffffffffffffffff1647604051610db590613bde565b60006040518083038185875af1925050503d8060008114610df2576040519150601f19603f3d011682016040523d82523d6000602084013e610df7565b606091505b5050905080610e0557600080fd5b506001600981905550565b610e2b838383604051806020016040528060008152506118f9565b505050565b600f5481565b610e3f826110e4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea390613ebb565b60405180910390fd5b600115156019600084815260200190815260200160002060009054906101000a900460ff16151514610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a90613d7b565b60405180910390fd5b600115156019600083815260200190815260200160002060009054906101000a900460ff16151514610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7190613ddb565b60405180910390fd5b6018600082815260200190815260200160002054601860008481526020019081526020016000205411610fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd990613e3b565b60405180910390fd5b601860008281526020019081526020016000205460186000848152602001908152602001600020546110149190613faf565b601860008481526020019081526020016000208190555060006019600083815260200190815260200160002060006101000a81548160ff0219169083151502179055506011600081548092919061106a906141a4565b919050555060011515601660149054906101000a900460ff16151514156110e0573373ffffffffffffffffffffffffffffffffffffffff166108fc601154476110b39190614005565b9081150290604051600060405180830381858888f193505050501580156110de573d6000803e3d6000fd5b505b5050565b60006110ef8261268c565b600001519050919050565b600c5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611168576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6111d8611f65565b6111e2600061291b565b565b60105481565b6111f3826110e4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125790613ebb565b60405180910390fd5b600115156019600084815260200190815260200160002060009054906101000a900460ff161515146112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112be90613d7b565b60405180910390fd5b600115156019600083815260200190815260200160002060009054906101000a900460ff1615151461132e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132590613ddb565b60405180910390fd5b6018600082815260200190815260200160002054601860008481526020019081526020016000205410611396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138d90613e3b565b60405180910390fd5b601860008381526020019081526020016000205460186000838152602001908152602001600020546113c89190614090565b601860008381526020019081526020016000208190555060006019600084815260200190815260200160002060006101000a81548160ff0219169083151502179055506011600081548092919061141e906141a4565b919050555060011515601660149054906101000a900460ff1615151415611494573373ffffffffffffffffffffffffffffffffffffffff166108fc601154476114679190614005565b9081150290604051600060405180830381858888f19350505050158015611492573d6000803e3d6000fd5b505b5050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546114f6906141ce565b80601f0160208091040260200160405190810160405280929190818152602001828054611522906141ce565b801561156f5780601f106115445761010080835404028352916020019161156f565b820191906000526020600020905b81548152906001019060200180831161155257829003601f168201915b5050505050905090565b601260009054906101000a900460ff166115c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bf90613cfb565b60405180910390fd5b600d54816115d4610b1a565b6115de9190613faf565b111561161f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161690613d3b565b60405180910390fd5b600f5481601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461166d9190613faf565b11156116ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a590613d9b565b60405180910390fd5b600e546116b9610b1a565b1061171d57600c54816116cc9190614036565b34101561170e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170590613cdb565b60405180910390fd5b61171833826129df565b611728565b61172733826129df565b5b80601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117779190613faf565b9250508190555050565b6117896129fd565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117ee576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006117fb6129fd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118a86129fd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118ed9190613c9e565b60405180910390a35050565b6119048484846121cc565b6119238373ffffffffffffffffffffffffffffffffffffffff16612a05565b8015611938575061193684848484612a28565b155b1561196f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061198082612179565b6119bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b690613e7b565b60405180910390fd5b6019600083815260200190815260200160002060009054906101000a900460ff1615611a175760136119f083612b88565b604051602001611a01929190613baf565b6040516020818303038152906040529050611a93565b600060186000848152602001908152602001600020541115611a65576015611a3e83612b88565b604051602001611a4f929190613baf565b6040516020818303038152906040529050611a93565b6014611a7083612b88565b604051602001611a81929190613baf565b60405160208183030381529060405290505b919050565b6000601860008381526020019081526020016000205414611aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae590613e1b565b60405180910390fd5b611af7816110e4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5b90613ebb565b60405180910390fd5b600442611b71919061427a565b60016201518060105442611b859190614090565b611b8f9190614005565b611b999190613faf565b611ba39190613faf565b601860008381526020019081526020016000208190555060016019600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b601660149054906101000a900460ff1681565b611c04611f65565b80601660146101000a81548160ff02191690831515021790555050565b611c29611f65565b600d5482611c35610b1a565b611c3f9190613faf565b1115611c80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7790613d5b565b60405180910390fd5b611c8a81836129df565b5050565b600d5481565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60176020528060005260406000206000915090505481565b611d48611f65565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611daf90613d1b565b60405180910390fd5b611dc18161291b565b50565b611dcc611f65565b80601260006101000a81548160ff02191690831515021790555050565b60196020528060005260406000206000915054906101000a900460ff1681565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ed457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ee45750611ee382612d35565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f5e5750611f5d82611e09565b5b9050919050565b611f6d6129fd565b73ffffffffffffffffffffffffffffffffffffffff16611f8b6114be565b73ffffffffffffffffffffffffffffffffffffffff1614611fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd890613dbb565b60405180910390fd5b565b611feb612682565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612049576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204090613dfb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b090613e9b565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600a60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000816121846121c7565b11158015612193575060015482105b80156121c0575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600090565b60006121d78261268c565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612242576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166122636129fd565b73ffffffffffffffffffffffffffffffffffffffff16148061229257506122918561228c6129fd565b611c94565b5b806122d757506122a06129fd565b73ffffffffffffffffffffffffffffffffffffffff166122bf84610a54565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612310576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612377576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123848585856001612d9f565b61239060008487612da5565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600560008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600560008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561261057600154821461260f57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461267b8585856001612e57565b5050505050565b6000612710905090565b6126946132a8565b6000829050806126a26121c7565b111580156126b1575060015481105b156128e4576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516128e257600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127c6578092505050612916565b5b6001156128e157818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146128dc578092505050612916565b6127c7565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6129f9828260405180602001604052806000815250612e5d565b5050565b600033905090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a4e6129fd565b8786866040518563ffffffff1660e01b8152600401612a709493929190613c29565b602060405180830381600087803b158015612a8a57600080fd5b505af1925050508015612abb57506040513d601f19601f82011682018060405250810190612ab8919061366d565b60015b612b35573d8060008114612aeb576040519150601f19603f3d011682016040523d82523d6000602084013e612af0565b606091505b50600081511415612b2d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612bd0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d30565b600082905060005b60008214612c02578080612beb90614231565b915050600a82612bfb9190614005565b9150612bd8565b60008167ffffffffffffffff811115612c44577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c765781602001600182028036833780820191505090505b5090505b60008514612d2957600182612c8f9190614090565b9150600a85612c9e919061427a565b6030612caa9190613faf565b60f81b818381518110612ce6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d229190614005565b9450612c7a565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b50505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ecb576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415612f06576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612f136000858386612d9f565b82600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600084820190506130d48673ffffffffffffffffffffffffffffffffffffffff16612a05565b1561319a575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131496000878480600101955087612a28565b61317f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156130da57826001541461319557600080fd5b613206565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561319b575b81600181905550505061321c6000858386612e57565b50505050565b82805461322e906141ce565b90600052602060002090601f0160209004810192826132505760008555613297565b82601f1061326957803560ff1916838001178555613297565b82800160010185558215613297579182015b8281111561329657823582559160200191906001019061327b565b5b5090506132a491906132eb565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156133045760008160009055506001016132ec565b5090565b600061331b61331684613f1b565b613ef6565b90508281526020810184848401111561333357600080fd5b61333e848285614162565b509392505050565b60008135905061335581614680565b92915050565b60008135905061336a81614697565b92915050565b60008135905061337f816146ae565b92915050565b600081519050613394816146ae565b92915050565b600082601f8301126133ab57600080fd5b81356133bb848260208601613308565b91505092915050565b60008083601f8401126133d657600080fd5b8235905067ffffffffffffffff8111156133ef57600080fd5b60208301915083600182028301111561340757600080fd5b9250929050565b60008135905061341d816146c5565b92915050565b600081359050613432816146dc565b92915050565b60006020828403121561344a57600080fd5b600061345884828501613346565b91505092915050565b6000806040838503121561347457600080fd5b600061348285828601613346565b925050602061349385828601613346565b9150509250929050565b6000806000606084860312156134b257600080fd5b60006134c086828701613346565b93505060206134d186828701613346565b92505060406134e28682870161340e565b9150509250925092565b6000806000806080858703121561350257600080fd5b600061351087828801613346565b945050602061352187828801613346565b93505060406135328782880161340e565b925050606085013567ffffffffffffffff81111561354f57600080fd5b61355b8782880161339a565b91505092959194509250565b6000806040838503121561357a57600080fd5b600061358885828601613346565b92505060206135998582860161335b565b9150509250929050565b600080604083850312156135b657600080fd5b60006135c485828601613346565b92505060206135d58582860161340e565b9150509250929050565b600080604083850312156135f257600080fd5b600061360085828601613346565b925050602061361185828601613423565b9150509250929050565b60006020828403121561362d57600080fd5b600061363b8482850161335b565b91505092915050565b60006020828403121561365657600080fd5b600061366484828501613370565b91505092915050565b60006020828403121561367f57600080fd5b600061368d84828501613385565b91505092915050565b600080600080600080606087890312156136af57600080fd5b600087013567ffffffffffffffff8111156136c957600080fd5b6136d589828a016133c4565b9650965050602087013567ffffffffffffffff8111156136f457600080fd5b61370089828a016133c4565b9450945050604087013567ffffffffffffffff81111561371f57600080fd5b61372b89828a016133c4565b92509250509295509295509295565b60006020828403121561374c57600080fd5b600061375a8482850161340e565b91505092915050565b6000806040838503121561377657600080fd5b60006137848582860161340e565b925050602061379585828601613346565b9150509250929050565b600080604083850312156137b257600080fd5b60006137c08582860161340e565b92505060206137d18582860161340e565b9150509250929050565b6137e4816140d6565b82525050565b6137f3816140c4565b82525050565b613802816140e8565b82525050565b600061381382613f61565b61381d8185613f77565b935061382d818560208601614171565b61383681614367565b840191505092915050565b600061384c82613f6c565b6138568185613f93565b9350613866818560208601614171565b61386f81614367565b840191505092915050565b600061388582613f6c565b61388f8185613fa4565b935061389f818560208601614171565b80840191505092915050565b600081546138b8816141ce565b6138c28186613fa4565b945060018216600081146138dd57600181146138ee57613921565b60ff19831686528186019350613921565b6138f785613f4c565b60005b83811015613919578154818901526001820191506020810190506138fa565b838801955050505b50505092915050565b6000613937601383613f93565b915061394282614378565b602082019050919050565b600061395a601383613f93565b9150613965826143a1565b602082019050919050565b600061397d602683613f93565b9150613988826143ca565b604082019050919050565b60006139a0600883613f93565b91506139ab82614419565b602082019050919050565b60006139c3601283613f93565b91506139ce82614442565b602082019050919050565b60006139e6601f83613f93565b91506139f18261446b565b602082019050919050565b6000613a09600583613fa4565b9150613a1482614494565b600582019050919050565b6000613a2c601183613f93565b9150613a37826144bd565b602082019050919050565b6000613a4f602083613f93565b9150613a5a826144e6565b602082019050919050565b6000613a72601983613f93565b9150613a7d8261450f565b602082019050919050565b6000613a95600083613f88565b9150613aa082614538565b600082019050919050565b6000613ab8602a83613f93565b9150613ac38261453b565b604082019050919050565b6000613adb600f83613f93565b9150613ae68261458a565b602082019050919050565b6000613afe601b83613f93565b9150613b09826145b3565b602082019050919050565b6000613b21601f83613f93565b9150613b2c826145dc565b602082019050919050565b6000613b44601483613f93565b9150613b4f82614605565b602082019050919050565b6000613b67601983613f93565b9150613b728261462e565b602082019050919050565b6000613b8a601b83613f93565b9150613b9582614657565b602082019050919050565b613ba981614140565b82525050565b6000613bbb82856138ab565b9150613bc7828461387a565b9150613bd2826139fc565b91508190509392505050565b6000613be982613a88565b9150819050919050565b6000602082019050613c0860008301846137ea565b92915050565b6000602082019050613c2360008301846137db565b92915050565b6000608082019050613c3e60008301876137ea565b613c4b60208301866137ea565b613c586040830185613ba0565b8181036060830152613c6a8184613808565b905095945050505050565b6000604082019050613c8a60008301856137ea565b613c976020830184613ba0565b9392505050565b6000602082019050613cb360008301846137f9565b92915050565b60006020820190508181036000830152613cd38184613841565b905092915050565b60006020820190508181036000830152613cf48161392a565b9050919050565b60006020820190508181036000830152613d148161394d565b9050919050565b60006020820190508181036000830152613d3481613970565b9050919050565b60006020820190508181036000830152613d5481613993565b9050919050565b60006020820190508181036000830152613d74816139b6565b9050919050565b60006020820190508181036000830152613d94816139d9565b9050919050565b60006020820190508181036000830152613db481613a1f565b9050919050565b60006020820190508181036000830152613dd481613a42565b9050919050565b60006020820190508181036000830152613df481613a65565b9050919050565b60006020820190508181036000830152613e1481613aab565b9050919050565b60006020820190508181036000830152613e3481613ace565b9050919050565b60006020820190508181036000830152613e5481613af1565b9050919050565b60006020820190508181036000830152613e7481613b14565b9050919050565b60006020820190508181036000830152613e9481613b37565b9050919050565b60006020820190508181036000830152613eb481613b5a565b9050919050565b60006020820190508181036000830152613ed481613b7d565b9050919050565b6000602082019050613ef06000830184613ba0565b92915050565b6000613f00613f11565b9050613f0c8282614200565b919050565b6000604051905090565b600067ffffffffffffffff821115613f3657613f35614338565b5b613f3f82614367565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613fba82614140565b9150613fc583614140565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ffa57613ff96142ab565b5b828201905092915050565b600061401082614140565b915061401b83614140565b92508261402b5761402a6142da565b5b828204905092915050565b600061404182614140565b915061404c83614140565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614085576140846142ab565b5b828202905092915050565b600061409b82614140565b91506140a683614140565b9250828210156140b9576140b86142ab565b5b828203905092915050565b60006140cf82614120565b9050919050565b60006140e182614120565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b8381101561418f578082015181840152602081019050614174565b8381111561419e576000848401525b50505050565b60006141af82614140565b915060008214156141c3576141c26142ab565b5b600182039050919050565b600060028204905060018216806141e657607f821691505b602082108114156141fa576141f9614309565b5b50919050565b61420982614367565b810181811067ffffffffffffffff8211171561422857614227614338565b5b80604052505050565b600061423c82614140565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561426f5761426e6142ab565b5b600182019050919050565b600061428582614140565b915061429083614140565b9250826142a05761429f6142da565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f696e73756666696369656e742066756e64732100000000000000000000000000600082015250565b7f6d696e74696e67206e6f7420656e61626c656400000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f736f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f65786365656473206d617820737570706c790000000000000000000000000000600082015250565b7f796f757220776f726d20697320646561642f756e68617463686564206c6f6c00600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f657863656564206d61782077616c6c6574000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54617267657420576f726d206973206e6f742061637469766500000000000000600082015250565b50565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f416c726561647920686174636865640000000000000000000000000000000000600082015250565b7f596f757220776f726d206973206e6f742062696720656e6f7567680000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f746f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b7f73656e646572206e6f7420746865206f776e6572206f66204e46540000000000600082015250565b614689816140c4565b811461469457600080fd5b50565b6146a0816140e8565b81146146ab57600080fd5b50565b6146b7816140f4565b81146146c257600080fd5b50565b6146ce81614140565b81146146d957600080fd5b50565b6146e58161414a565b81146146f057600080fd5b5056fea264697066735822122040254710fd4c21608910b8e5f8d5d5766ca0976adc8c1766873d6677a29c376a64736f6c63430008040033

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.