Contract 0xD5745FB5CFb5c3B36475042C3CF10E1689412987

 
 
Txn Hash
Method
Block
From
To
Value
0x8bd5831dfc56d1f67a3180f8363b401058fbf60b4aaedc784e7d0a81f184593aSet Approval For...159570452022-11-12 22:52:5921 days 12 hrs ago0xaec661a58928e60f52976f1886cd27845789d90f IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.0002561 10.50151412
0x938525fc575844d35c9ec47db7e2d00bc8cdbd4d041667a76dd44fec564ba1ffSet Approval For...159570432022-11-12 22:52:3521 days 12 hrs ago0xaec661a58928e60f52976f1886cd27845789d90f IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00027301 11.19505867
0xb2a74b439f1ddfacc6bb10bc77745fe232d0bab4c434e7e09c328e7b57e69c7bSet Approval For...159408142022-11-10 16:28:5923 days 18 hrs ago0xe0bf8759462e9a1a3c46b8f6fc2fb229e3163ba9 IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00216442 46.83374631
0x7c5a652282b2fb0af6b319809ec0402cb33d27f93c0de1a287ca30d34f5ceddfTransfer From159406442022-11-10 15:54:5923 days 19 hrs ago0xa5fa5d90ce4e1c41ea0da1d116ba6d3b270a12bf IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00321633 38.44113989
0x0190d8b82934f76d3b078502b9ef74d505f1bc2050a42aa6209d1f88f71be10eSafe Transfer Fr...159401882022-11-10 14:23:1123 days 20 hrs ago0x8f9975fd356fc888e2a4697938331bd6a2af0a9d IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00437523 50.53930964
0x4e94bc50527b2c1170f7b8604807d410b5cf2dc39b4d6b1a436070bf1c2f2e6dSet Approval For...158979312022-11-04 16:45:2329 days 18 hrs ago0x8f9975fd356fc888e2a4697938331bd6a2af0a9d IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00084084 18.19425549
0xb689cc1504901f2b2247da342f166f6f57e1e2894301a438b5e3b0d2348b522bSet Approval For...158690002022-10-31 15:40:5933 days 19 hrs ago0xb2bcb7e414a1c540e9e4e2c8ff2ed7dfadf057d0 IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00092321 19.97657199
0x9f2feb19b1091b0fb4cb87dca8156bdf04e4b18185a91c7c4af912bd6968bcbcSafe Transfer Fr...158299312022-10-26 4:43:1139 days 6 hrs ago0xaf9114785d8ec810902407b75ad86ac76092af2c IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.0010888 12.57705925
0xaca86a04f06617fdb7ed285f1c11db2f11b2edd66b5bca2f504fa349a4d6c717Set Approval For...158184222022-10-24 14:00:4740 days 20 hrs ago0x47daf1530cc25acb4e6227ac3a98a62bfdeea086 IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00324919 70.3061419
0xe0cb41aaef7d7d6f6a92d9f8f3c0f985004cd41876d058a1ac8674160a4d23f1Set Approval For...157502862022-10-15 1:39:4750 days 9 hrs ago0x97edfb417b1f54fae929e03bf80854580ddbe9c7 IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00070361 15.22480387
0x6bdc9444dd727c7e05e8c53b0631fe871323dbeb47b9dde3d56851eb4af9393eSet Approval For...157269862022-10-11 19:34:3553 days 15 hrs ago0xf2d29d5a87096847ea61a818ec2486ad323c3f62 IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00132815 28.73865292
0x075d77581d43e9872c0e8bc42fa41026747cdf3f80ca153d5033bfe0731f425aTransfer From157191332022-10-10 17:16:4754 days 17 hrs ago0x63b172b884c05e9a559bd341099690142eb5f6d2 IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00344736 41.20240426
0x489236e8117973779d27b3e57a253b716f7569c7a125c12695c41e5ec1a379c1Set Approval For...156796362022-10-05 4:51:3560 days 6 hrs ago0x63b172b884c05e9a559bd341099690142eb5f6d2 IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00031855 6.89289463
0x58ab44d4b798a5d34fe689cd845037e7615b0b950171b0db52b382546886c007Set Approval For...155743482022-09-20 11:18:4774 days 23 hrs ago0x52c95781f4898eadf59c8c53ce408b4154184045 IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00023383 5.0597972
0x391bd419688faa8a85e7101d8663df55ab101797593d03a97ca058b6d75a31baSet Approval For...155306012022-09-14 2:57:5181 days 7 hrs ago0x02cb50d53b14ca37217a90ee0191e6a9a8bb1fc9 IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00076502 16.55367276
0xc3faa9c73074aacd75c53345ffe82d4d1a3c7a123b0eb701b35fdcecd5f5affdSet Approval For...154953262022-09-08 7:38:5787 days 3 hrs ago0xd4468aba62f1b994a04792d50ce72c4fbd46a661 IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00145432 31.46876995
0xa64e1d3f609f276858fcab3339f6304785c19d16029c8e2ffc0b6896c18df1b4Set Approval For...154950462022-09-08 6:31:3987 days 4 hrs ago0xd8607088ca79046baceb0ffe8e2e8081006f5d36 IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00057737 12.49325261
0xc74d27d108e5dc416fa76d45bcfb5619f3dc1b6e3ecee92aa2dd7659151e3cb4Set Approval For...154948472022-09-08 5:45:2787 days 5 hrs ago0x28a2a52105cdd5591d875df7cc9cb4aca5a04a1c IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00053761 11.63281819
0xe03fa742e3c8562cae32a6592a11d115904ab0dcd8dbfcabfd4183839258d89eSafe Transfer Fr...154825802022-09-06 6:53:5289 days 4 hrs ago0x3ae4ba4b387b00d57e82486ed486fc3ab7dd3164 IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00050667 5.85353447
0x2c6789828277bfa54fe80f83887ef0c074532b6d7bd42cec3368d3c7208c6149Set Approval For...154200482022-08-27 6:36:3999 days 4 hrs ago0x81e87ce7d7a32bba25e992ff7a0df5b83eeb68d5 IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00042614 9.22084476
0x36e935efa4a4b04c9fa4f34c008275f2b17d133f67ef25c4e2cd17f2f1532bb1Set Approval For...153273752022-08-12 13:57:18113 days 20 hrs ago0x1f5499d5f75e4b1d69f19143f0d0df17de398abe IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00076778 16.61328914
0x19c8812a4cbb7b42eec0c0d78bd50b9049b2a342487112c794560ef408c83ddaSafe Transfer Fr...152578722022-08-01 16:59:59124 days 17 hrs ago0x4f325fcd7fad208c7e77b477b73a6123834d8094 IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00254976 29.4528367
0xfb4d3800e882208a52f7c03aa5ccffcd74a23fbcc3ff90a5e052ac153ed1608dSet Approval For...152207872022-07-26 22:27:58130 days 12 hrs ago0xd3ca1f5677616687f40abe5f2f3dd722a1d5e9be IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00038152 15.64459691
0x167567779e3ebf419c819456e414d5988b49e90b59d80af60da04d387fcfe06dSet Approval For...152103622022-07-25 7:35:58132 days 3 hrs ago0x73025951373bc0ff72f7a69d6f62007a194ad8e6 IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00034965 7.56581483
0xc8a9a3869c8444dd6b6de9da611e0a18b73141228cac749604eebaabb04637b6Set Approval For...151676392022-07-18 16:11:32138 days 18 hrs ago0xaec661a58928e60f52976f1886cd27845789d90f IN  0xd5745fb5cfb5c3b36475042c3cf10e16894129870 Ether0.00564297 122.10274778
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NFCHEESE

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-02-11
*/

/*
https://nf-cheese.art
https://www.stiltonmusk.com
https://t.me/stiltonmusk
*/






// File: contracts/IMintableNft.sol

interface IMintableNft{
    /// @dev mint item (only for factories)
    /// @param toAddress receiving address
    function mint(
        address toAddress
    ) external;
}
// File: @openzeppelin/contracts/utils/Strings.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol


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

pragma solidity ^0.8.1;

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


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

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


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

pragma solidity ^0.8.0;


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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


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

pragma solidity ^0.8.0;


/**
 * @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/Context.sol


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

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/token/ERC721/ERC721.sol


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

pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol


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

pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

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

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _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/NFCHEESE.sol





contract NFCHEESE is Ownable, ERC721Enumerable, IMintableNft {
    uint256 public constant maxMintCount = 150;
    uint256 _mintedCount;
    mapping(address => bool) public factories; // factories, that can mint tokens
    string public baseURI;
    string public secretMetaURI =
        "ipfs://QmXwum8EBnxYuoxjEpaaqEd6NDWEyseAe16LKTyEW1dQDE";
    bool public mintEnable;

    constructor() ERC721("NFCHEESE", "NFCHEESE") {}

    function setFactory(address addr, bool isFactory) external onlyOwner {
        factories[addr] = isFactory;
    }

    /// @dev mint item (only for factories)
    /// @param toAddress receiving address
    function mint(address toAddress) external override {
        require(factories[msg.sender], "only for factories");
        require(_mintedCount < maxMintCount, "all tokens are minted");
        require(mintEnable, "mint is not enabled");
        _mint(toAddress, ++_mintedCount);
    }

    function setBaseURI(string calldata newBaseURI) external onlyOwner {
        baseURI = newBaseURI;
    }

    function resetBaseUrl() external onlyOwner {
        baseURI = "";
    }

    function setSecretMetaURI(string calldata newSecretMetaURI)
        external
        onlyOwner
    {
        secretMetaURI = newSecretMetaURI;
    }

    function setMintEnable(bool newMintEnable) external onlyOwner {
        mintEnable = newMintEnable;
    }

    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }

    function mintedCount() external view returns (uint256) {
        return _mintedCount;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        if (bytes(baseURI).length == 0) return secretMetaURI;
        else return super.tokenURI(tokenId);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"factories","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"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":"maxMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"toAddress","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintEnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedCount","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":[],"name":"resetBaseUrl","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":[],"name":"secretMetaURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isFactory","type":"bool"}],"name":"setFactory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newMintEnable","type":"bool"}],"name":"setMintEnable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newSecretMetaURI","type":"string"}],"name":"setSecretMetaURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e060405260356080818152906200221d60a03980516200002991600e916020909101906200011c565b503480156200003757600080fd5b50604051806040016040528060088152602001674e4643484545534560c01b815250604051806040016040528060088152602001674e4643484545534560c01b815250620000946200008e620000c860201b60201c565b620000cc565b8151620000a99060019060208501906200011c565b508051620000bf9060029060208401906200011c565b505050620001ff565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200012a90620001c2565b90600052602060002090601f0160209004810192826200014e576000855562000199565b82601f106200016957805160ff191683800117855562000199565b8280016001018555821562000199579182015b82811115620001995782518255916020019190600101906200017c565b50620001a7929150620001ab565b5090565b5b80821115620001a75760008155600101620001ac565b600181811c90821680620001d757607f821691505b60208210811415620001f957634e487b7160e01b600052602260045260246000fd5b50919050565b61200e806200020f6000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80636c0360eb1161010f578063b88d4fde116100a2578063d02cbdb511610071578063d02cbdb5146103d1578063e985e9c5146103d9578063f2fde38b14610415578063fab526891461042857600080fd5b8063b88d4fde14610396578063c1e1ce29146103a9578063c87b56dd146103b6578063cf721b15146103c957600080fd5b80638da5cb5b116100de5780638da5cb5b1461035757806395d89b4114610368578063981fb04714610370578063a22cb4651461038357600080fd5b80636c0360eb1461032157806370a082311461032957806371013c101461033c578063715018a61461034f57600080fd5b806323b872dd116101875780634f6ccce7116101565780634f6ccce7146102d557806355f804b3146102e85780636352211e146102fb5780636a6278421461030e57600080fd5b806323b872dd146102945780632f745c59146102a757806332c60eef146102ba57806342842e0e146102c257600080fd5b8063081812fc116101c3578063081812fc1461023c578063095ea7b31461026757806318160ddd1461027a5780631b5714b71461028c57600080fd5b806301912133146101ea57806301ffc9a7146101ff57806306fdde0314610227575b600080fd5b6101fd6101f8366004611c6d565b61044b565b005b61021261020d366004611c33565b61048f565b60405190151581526020015b60405180910390f35b61022f6104ba565b60405161021e9190611d90565b61024f61024a366004611cdf565b61054c565b6040516001600160a01b03909116815260200161021e565b6101fd610275366004611bee565b6105e1565b6009545b60405190815260200161021e565b61022f6106f2565b6101fd6102a2366004611aac565b610780565b61027e6102b5366004611bee565b6107b1565b61027e609681565b6101fd6102d0366004611aac565b610847565b61027e6102e3366004611cdf565b610862565b6101fd6102f6366004611c6d565b6108f5565b61024f610309366004611cdf565b61092b565b6101fd61031c366004611a5e565b6109a2565b61022f610aa8565b61027e610337366004611a5e565b610ab5565b6101fd61034a366004611bc4565b610b3c565b6101fd610b91565b6000546001600160a01b031661024f565b61022f610bc7565b6101fd61037e366004611c18565b610bd6565b6101fd610391366004611bc4565b610c13565b6101fd6103a4366004611ae8565b610c22565b600f546102129060ff1681565b61022f6103c4366004611cdf565b610c5a565b600b5461027e565b6101fd610d11565b6102126103e7366004611a79565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6101fd610423366004611a5e565b610d59565b610212610436366004611a5e565b600c6020526000908152604090205460ff1681565b6000546001600160a01b0316331461047e5760405162461bcd60e51b815260040161047590611df5565b60405180910390fd5b61048a600e838361192a565b505050565b60006001600160e01b0319821663780e9d6360e01b14806104b457506104b482610df1565b92915050565b6060600180546104c990611eea565b80601f01602080910402602001604051908101604052809291908181526020018280546104f590611eea565b80156105425780601f1061051757610100808354040283529160200191610542565b820191906000526020600020905b81548152906001019060200180831161052557829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b03166105c55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610475565b506000908152600560205260409020546001600160a01b031690565b60006105ec8261092b565b9050806001600160a01b0316836001600160a01b0316141561065a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610475565b336001600160a01b0382161480610676575061067681336103e7565b6106e85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610475565b61048a8383610e41565b600e80546106ff90611eea565b80601f016020809104026020016040519081016040528092919081815260200182805461072b90611eea565b80156107785780601f1061074d57610100808354040283529160200191610778565b820191906000526020600020905b81548152906001019060200180831161075b57829003601f168201915b505050505081565b61078a3382610eaf565b6107a65760405162461bcd60e51b815260040161047590611e2a565b61048a838383610fa6565b60006107bc83610ab5565b821061081e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610475565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b61048a83838360405180602001604052806000815250610c22565b600061086d60095490565b82106108d05760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610475565b600982815481106108e3576108e3611f96565b90600052602060002001549050919050565b6000546001600160a01b0316331461091f5760405162461bcd60e51b815260040161047590611df5565b61048a600d838361192a565b6000818152600360205260408120546001600160a01b0316806104b45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610475565b336000908152600c602052604090205460ff166109f65760405162461bcd60e51b81526020600482015260126024820152716f6e6c7920666f7220666163746f7269657360701b6044820152606401610475565b6096600b5410610a405760405162461bcd60e51b8152602060048201526015602482015274185b1b081d1bdad95b9cc8185c99481b5a5b9d1959605a1b6044820152606401610475565b600f5460ff16610a885760405162461bcd60e51b81526020600482015260136024820152721b5a5b9d081a5cc81b9bdd08195b98589b1959606a1b6044820152606401610475565b610aa581600b60008154610a9b90611f25565b918290555061114d565b50565b600d80546106ff90611eea565b60006001600160a01b038216610b205760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610475565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610b665760405162461bcd60e51b815260040161047590611df5565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314610bbb5760405162461bcd60e51b815260040161047590611df5565b610bc5600061129b565b565b6060600280546104c990611eea565b6000546001600160a01b03163314610c005760405162461bcd60e51b815260040161047590611df5565b600f805460ff1916911515919091179055565b610c1e3383836112eb565b5050565b610c2c3383610eaf565b610c485760405162461bcd60e51b815260040161047590611e2a565b610c54848484846113ba565b50505050565b6060600d8054610c6990611eea565b15159050610d0357600e8054610c7e90611eea565b80601f0160208091040260200160405190810160405280929190818152602001828054610caa90611eea565b8015610cf75780601f10610ccc57610100808354040283529160200191610cf7565b820191906000526020600020905b815481529060010190602001808311610cda57829003601f168201915b50505050509050919050565b6104b4826113ed565b919050565b6000546001600160a01b03163314610d3b5760405162461bcd60e51b815260040161047590611df5565b604080516020810191829052600090819052610aa591600d916119ae565b6000546001600160a01b03163314610d835760405162461bcd60e51b815260040161047590611df5565b6001600160a01b038116610de85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610475565b610aa58161129b565b60006001600160e01b031982166380ac58cd60e01b1480610e2257506001600160e01b03198216635b5e139f60e01b145b806104b457506301ffc9a760e01b6001600160e01b03198316146104b4565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e768261092b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b0316610f285760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610475565b6000610f338361092b565b9050806001600160a01b0316846001600160a01b03161480610f6e5750836001600160a01b0316610f638461054c565b6001600160a01b0316145b80610f9e57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610fb98261092b565b6001600160a01b03161461101d5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610475565b6001600160a01b03821661107f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610475565b61108a8383836114c8565b611095600082610e41565b6001600160a01b03831660009081526004602052604081208054600192906110be908490611ea7565b90915550506001600160a01b03821660009081526004602052604081208054600192906110ec908490611e7b565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166111a35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610475565b6000818152600360205260409020546001600160a01b0316156112085760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610475565b611214600083836114c8565b6001600160a01b038216600090815260046020526040812080546001929061123d908490611e7b565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b0316141561134d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610475565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6113c5848484610fa6565b6113d184848484611580565b610c545760405162461bcd60e51b815260040161047590611da3565b6000818152600360205260409020546060906001600160a01b031661146c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610475565b600061147661168d565b9050600081511161149657604051806020016040528060008152506114c1565b806114a08461169c565b6040516020016114b1929190611d24565b6040516020818303038152906040525b9392505050565b6001600160a01b0383166115235761151e81600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b611546565b816001600160a01b0316836001600160a01b03161461154657611546838261179a565b6001600160a01b03821661155d5761048a81611837565b826001600160a01b0316826001600160a01b03161461048a5761048a82826118e6565b60006001600160a01b0384163b1561168257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115c4903390899088908890600401611d53565b602060405180830381600087803b1580156115de57600080fd5b505af192505050801561160e575060408051601f3d908101601f1916820190925261160b91810190611c50565b60015b611668573d80801561163c576040519150601f19603f3d011682016040523d82523d6000602084013e611641565b606091505b5080516116605760405162461bcd60e51b815260040161047590611da3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f9e565b506001949350505050565b6060600d80546104c990611eea565b6060816116c05750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116ea57806116d481611f25565b91506116e39050600a83611e93565b91506116c4565b60008167ffffffffffffffff81111561170557611705611fac565b6040519080825280601f01601f19166020018201604052801561172f576020820181803683370190505b5090505b8415610f9e57611744600183611ea7565b9150611751600a86611f40565b61175c906030611e7b565b60f81b81838151811061177157611771611f96565b60200101906001600160f81b031916908160001a905350611793600a86611e93565b9450611733565b600060016117a784610ab5565b6117b19190611ea7565b600083815260086020526040902054909150808214611804576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061184990600190611ea7565b6000838152600a60205260408120546009805493945090928490811061187157611871611f96565b90600052602060002001549050806009838154811061189257611892611f96565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806118ca576118ca611f80565b6001900381819060005260206000200160009055905550505050565b60006118f183610ab5565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b82805461193690611eea565b90600052602060002090601f016020900481019282611958576000855561199e565b82601f106119715782800160ff1982351617855561199e565b8280016001018555821561199e579182015b8281111561199e578235825591602001919060010190611983565b506119aa929150611a22565b5090565b8280546119ba90611eea565b90600052602060002090601f0160209004810192826119dc576000855561199e565b82601f106119f557805160ff191683800117855561199e565b8280016001018555821561199e579182015b8281111561199e578251825591602001919060010190611a07565b5b808211156119aa5760008155600101611a23565b80356001600160a01b0381168114610d0c57600080fd5b80358015158114610d0c57600080fd5b600060208284031215611a7057600080fd5b6114c182611a37565b60008060408385031215611a8c57600080fd5b611a9583611a37565b9150611aa360208401611a37565b90509250929050565b600080600060608486031215611ac157600080fd5b611aca84611a37565b9250611ad860208501611a37565b9150604084013590509250925092565b60008060008060808587031215611afe57600080fd5b611b0785611a37565b9350611b1560208601611a37565b925060408501359150606085013567ffffffffffffffff80821115611b3957600080fd5b818701915087601f830112611b4d57600080fd5b813581811115611b5f57611b5f611fac565b604051601f8201601f19908116603f01168101908382118183101715611b8757611b87611fac565b816040528281528a6020848701011115611ba057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611bd757600080fd5b611be083611a37565b9150611aa360208401611a4e565b60008060408385031215611c0157600080fd5b611c0a83611a37565b946020939093013593505050565b600060208284031215611c2a57600080fd5b6114c182611a4e565b600060208284031215611c4557600080fd5b81356114c181611fc2565b600060208284031215611c6257600080fd5b81516114c181611fc2565b60008060208385031215611c8057600080fd5b823567ffffffffffffffff80821115611c9857600080fd5b818501915085601f830112611cac57600080fd5b813581811115611cbb57600080fd5b866020828501011115611ccd57600080fd5b60209290920196919550909350505050565b600060208284031215611cf157600080fd5b5035919050565b60008151808452611d10816020860160208601611ebe565b601f01601f19169290920160200192915050565b60008351611d36818460208801611ebe565b835190830190611d4a818360208801611ebe565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d8690830184611cf8565b9695505050505050565b6020815260006114c16020830184611cf8565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611e8e57611e8e611f54565b500190565b600082611ea257611ea2611f6a565b500490565b600082821015611eb957611eb9611f54565b500390565b60005b83811015611ed9578181015183820152602001611ec1565b83811115610c545750506000910152565b600181811c90821680611efe57607f821691505b60208210811415611f1f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611f3957611f39611f54565b5060010190565b600082611f4f57611f4f611f6a565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610aa557600080fdfea26469706673582212209c3be4b6e1ac213315077c1749f654b5ed346da1bdd5fa283fdf0e966243212a64736f6c63430008070033697066733a2f2f516d5877756d3845426e7859756f786a45706161714564364e445745797365416531364c4b547945573164514445

Deployed ByteCode Sourcemap

45823:1891:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46971:153;;;;;;:::i;:::-;;:::i;:::-;;37102:224;;;;;;:::i;:::-;;:::i;:::-;;;5881:14:1;;5874:22;5856:41;;5844:2;5829:18;37102:224:0;;;;;;;;23922:100;;;:::i;:::-;;;;;;;:::i;25481:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5179:32:1;;;5161:51;;5149:2;5134:18;25481:221:0;5015:203:1;25004:411:0;;;;;;:::i;:::-;;:::i;37742:113::-;37830:10;:17;37742:113;;;14526:25:1;;;14514:2;14499:18;37742:113:0;14380:177:1;46078:94:0;;;:::i;26231:339::-;;;;;;:::i;:::-;;:::i;37410:256::-;;;;;;:::i;:::-;;:::i;45891:42::-;;45930:3;45891:42;;26641:185;;;;;;:::i;:::-;;:::i;37932:233::-;;;;;;:::i;:::-;;:::i;46775:106::-;;;;;;:::i;:::-;;:::i;23616:239::-;;;;;;:::i;:::-;;:::i;46477:290::-;;;;;;:::i;:::-;;:::i;46050:21::-;;;:::i;23346:208::-;;;;;;:::i;:::-;;:::i;46265:115::-;;;;;;:::i;:::-;;:::i;44963:103::-;;;:::i;44312:87::-;44358:7;44385:6;-1:-1:-1;;;;;44385:6:0;44312:87;;24091:104;;;:::i;47132:107::-;;;;;;:::i;:::-;;:::i;25774:155::-;;;;;;:::i;:::-;;:::i;26897:328::-;;;;;;:::i;:::-;;:::i;46179:22::-;;;;;;;;;47456:255;;;;;;:::i;:::-;;:::i;47355:93::-;47428:12;;47355:93;;46889:74;;;:::i;26000:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;26121:25:0;;;26097:4;26121:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26000:164;45221:201;;;;;;:::i;:::-;;:::i;45967:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;46971:153;44358:7;44385:6;-1:-1:-1;;;;;44385:6:0;21436:10;44532:23;44524:68;;;;-1:-1:-1;;;44524:68:0;;;;;;;:::i;:::-;;;;;;;;;47084:32:::1;:13;47100:16:::0;;47084:32:::1;:::i;:::-;;46971:153:::0;;:::o;37102:224::-;37204:4;-1:-1:-1;;;;;;37228:50:0;;-1:-1:-1;;;37228:50:0;;:90;;;37282:36;37306:11;37282:23;:36::i;:::-;37221:97;37102:224;-1:-1:-1;;37102:224:0:o;23922:100::-;23976:13;24009:5;24002:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23922:100;:::o;25481:221::-;25557:7;28824:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28824:16:0;25577:73;;;;-1:-1:-1;;;25577:73:0;;12159:2:1;25577:73:0;;;12141:21:1;12198:2;12178:18;;;12171:30;12237:34;12217:18;;;12210:62;-1:-1:-1;;;12288:18:1;;;12281:42;12340:19;;25577:73:0;11957:408:1;25577:73:0;-1:-1:-1;25670:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25670:24:0;;25481:221::o;25004:411::-;25085:13;25101:23;25116:7;25101:14;:23::i;:::-;25085:39;;25149:5;-1:-1:-1;;;;;25143:11:0;:2;-1:-1:-1;;;;;25143:11:0;;;25135:57;;;;-1:-1:-1;;;25135:57:0;;13349:2:1;25135:57:0;;;13331:21:1;13388:2;13368:18;;;13361:30;13427:34;13407:18;;;13400:62;-1:-1:-1;;;13478:18:1;;;13471:31;13519:19;;25135:57:0;13147:397:1;25135:57:0;21436:10;-1:-1:-1;;;;;25227:21:0;;;;:62;;-1:-1:-1;25252:37:0;25269:5;21436:10;26000:164;:::i;25252:37::-;25205:168;;;;-1:-1:-1;;;25205:168:0;;10205:2:1;25205:168:0;;;10187:21:1;10244:2;10224:18;;;10217:30;10283:34;10263:18;;;10256:62;10354:26;10334:18;;;10327:54;10398:19;;25205:168:0;10003:420:1;25205:168:0;25386:21;25395:2;25399:7;25386:8;:21::i;46078:94::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;26231:339::-;26426:41;21436:10;26459:7;26426:18;:41::i;:::-;26418:103;;;;-1:-1:-1;;;26418:103:0;;;;;;;:::i;:::-;26534:28;26544:4;26550:2;26554:7;26534:9;:28::i;37410:256::-;37507:7;37543:23;37560:5;37543:16;:23::i;:::-;37535:5;:31;37527:87;;;;-1:-1:-1;;;37527:87:0;;6334:2:1;37527:87:0;;;6316:21:1;6373:2;6353:18;;;6346:30;6412:34;6392:18;;;6385:62;-1:-1:-1;;;6463:18:1;;;6456:41;6514:19;;37527:87:0;6132:407:1;37527:87:0;-1:-1:-1;;;;;;37632:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;37410:256::o;26641:185::-;26779:39;26796:4;26802:2;26806:7;26779:39;;;;;;;;;;;;:16;:39::i;37932:233::-;38007:7;38043:30;37830:10;:17;;37742:113;38043:30;38035:5;:38;38027:95;;;;-1:-1:-1;;;38027:95:0;;14169:2:1;38027:95:0;;;14151:21:1;14208:2;14188:18;;;14181:30;14247:34;14227:18;;;14220:62;-1:-1:-1;;;14298:18:1;;;14291:42;14350:19;;38027:95:0;13967:408:1;38027:95:0;38140:10;38151:5;38140:17;;;;;;;;:::i;:::-;;;;;;;;;38133:24;;37932:233;;;:::o;46775:106::-;44358:7;44385:6;-1:-1:-1;;;;;44385:6:0;21436:10;44532:23;44524:68;;;;-1:-1:-1;;;44524:68:0;;;;;;;:::i;:::-;46853:20:::1;:7;46863:10:::0;;46853:20:::1;:::i;23616:239::-:0;23688:7;23724:16;;;:7;:16;;;;;;-1:-1:-1;;;;;23724:16:0;23759:19;23751:73;;;;-1:-1:-1;;;23751:73:0;;11041:2:1;23751:73:0;;;11023:21:1;11080:2;11060:18;;;11053:30;11119:34;11099:18;;;11092:62;-1:-1:-1;;;11170:18:1;;;11163:39;11219:19;;23751:73:0;10839:405:1;46477:290:0;46557:10;46547:21;;;;:9;:21;;;;;;;;46539:52;;;;-1:-1:-1;;;46539:52:0;;11812:2:1;46539:52:0;;;11794:21:1;11851:2;11831:18;;;11824:30;-1:-1:-1;;;11870:18:1;;;11863:48;11928:18;;46539:52:0;11610:342:1;46539:52:0;45930:3;46610:12;;:27;46602:61;;;;-1:-1:-1;;;46602:61:0;;9094:2:1;46602:61:0;;;9076:21:1;9133:2;9113:18;;;9106:30;-1:-1:-1;;;9152:18:1;;;9145:51;9213:18;;46602:61:0;8892:345:1;46602:61:0;46682:10;;;;46674:42;;;;-1:-1:-1;;;46674:42:0;;9857:2:1;46674:42:0;;;9839:21:1;9896:2;9876:18;;;9869:30;-1:-1:-1;;;9915:18:1;;;9908:49;9974:18;;46674:42:0;9655:343:1;46674:42:0;46727:32;46733:9;46746:12;;46744:14;;;;;:::i;:::-;;;;;-1:-1:-1;46727:5:0;:32::i;:::-;46477:290;:::o;46050:21::-;;;;;;;:::i;23346:208::-;23418:7;-1:-1:-1;;;;;23446:19:0;;23438:74;;;;-1:-1:-1;;;23438:74:0;;10630:2:1;23438:74:0;;;10612:21:1;10669:2;10649:18;;;10642:30;10708:34;10688:18;;;10681:62;-1:-1:-1;;;10759:18:1;;;10752:40;10809:19;;23438:74:0;10428:406:1;23438:74:0;-1:-1:-1;;;;;;23530:16:0;;;;;:9;:16;;;;;;;23346:208::o;46265:115::-;44358:7;44385:6;-1:-1:-1;;;;;44385:6:0;21436:10;44532:23;44524:68;;;;-1:-1:-1;;;44524:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;46345:15:0;;;::::1;;::::0;;;:9:::1;:15;::::0;;;;:27;;-1:-1:-1;;46345:27:0::1;::::0;::::1;;::::0;;;::::1;::::0;;46265:115::o;44963:103::-;44358:7;44385:6;-1:-1:-1;;;;;44385:6:0;21436:10;44532:23;44524:68;;;;-1:-1:-1;;;44524:68:0;;;;;;;:::i;:::-;45028:30:::1;45055:1;45028:18;:30::i;:::-;44963:103::o:0;24091:104::-;24147:13;24180:7;24173:14;;;;;:::i;47132:107::-;44358:7;44385:6;-1:-1:-1;;;;;44385:6:0;21436:10;44532:23;44524:68;;;;-1:-1:-1;;;44524:68:0;;;;;;;:::i;:::-;47205:10:::1;:26:::0;;-1:-1:-1;;47205:26:0::1;::::0;::::1;;::::0;;;::::1;::::0;;47132:107::o;25774:155::-;25869:52;21436:10;25902:8;25912;25869:18;:52::i;:::-;25774:155;;:::o;26897:328::-;27072:41;21436:10;27105:7;27072:18;:41::i;:::-;27064:103;;;;-1:-1:-1;;;27064:103:0;;;;;;;:::i;:::-;27178:39;27192:4;27198:2;27202:7;27211:5;27178:13;:39::i;:::-;26897:328;;;;:::o;47456:255::-;47574:13;47615:7;47609:21;;;;;:::i;:::-;:26;47605:98;;-1:-1:-1;47605:98:0;;47644:13;47637:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47456:255;;;:::o;47605:98::-;47680:23;47695:7;47680:14;:23::i;47605:98::-;47456:255;;;:::o;46889:74::-;44358:7;44385:6;-1:-1:-1;;;;;44385:6:0;21436:10;44532:23;44524:68;;;;-1:-1:-1;;;44524:68:0;;;;;;;:::i;:::-;46943:12:::1;::::0;;::::1;::::0;::::1;::::0;;;;-1:-1:-1;46943:12:0;;;;::::1;::::0;:7:::1;::::0;:12:::1;:::i;45221:201::-:0;44358:7;44385:6;-1:-1:-1;;;;;44385:6:0;21436:10;44532:23;44524:68;;;;-1:-1:-1;;;44524:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;45310:22:0;::::1;45302:73;;;::::0;-1:-1:-1;;;45302:73:0;;7165:2:1;45302:73:0::1;::::0;::::1;7147:21:1::0;7204:2;7184:18;;;7177:30;7243:34;7223:18;;;7216:62;-1:-1:-1;;;7294:18:1;;;7287:36;7340:19;;45302:73:0::1;6963:402:1::0;45302:73:0::1;45386:28;45405:8;45386:18;:28::i;22977:305::-:0;23079:4;-1:-1:-1;;;;;;23116:40:0;;-1:-1:-1;;;23116:40:0;;:105;;-1:-1:-1;;;;;;;23173:48:0;;-1:-1:-1;;;23173:48:0;23116:105;:158;;;-1:-1:-1;;;;;;;;;;13867:40:0;;;23238:36;13758:157;32881:174;32956:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;32956:29:0;-1:-1:-1;;;;;32956:29:0;;;;;;;;:24;;33010:23;32956:24;33010:14;:23::i;:::-;-1:-1:-1;;;;;33001:46:0;;;;;;;;;;;32881:174;;:::o;29029:348::-;29122:4;28824:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28824:16:0;29139:73;;;;-1:-1:-1;;;29139:73:0;;9444:2:1;29139:73:0;;;9426:21:1;9483:2;9463:18;;;9456:30;9522:34;9502:18;;;9495:62;-1:-1:-1;;;9573:18:1;;;9566:42;9625:19;;29139:73:0;9242:408:1;29139:73:0;29223:13;29239:23;29254:7;29239:14;:23::i;:::-;29223:39;;29292:5;-1:-1:-1;;;;;29281:16:0;:7;-1:-1:-1;;;;;29281:16:0;;:51;;;;29325:7;-1:-1:-1;;;;;29301:31:0;:20;29313:7;29301:11;:20::i;:::-;-1:-1:-1;;;;;29301:31:0;;29281:51;:87;;;-1:-1:-1;;;;;;26121:25:0;;;26097:4;26121:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;29336:32;29273:96;29029:348;-1:-1:-1;;;;29029:348:0:o;32138:625::-;32297:4;-1:-1:-1;;;;;32270:31:0;:23;32285:7;32270:14;:23::i;:::-;-1:-1:-1;;;;;32270:31:0;;32262:81;;;;-1:-1:-1;;;32262:81:0;;7572:2:1;32262:81:0;;;7554:21:1;7611:2;7591:18;;;7584:30;7650:34;7630:18;;;7623:62;-1:-1:-1;;;7701:18:1;;;7694:35;7746:19;;32262:81:0;7370:401:1;32262:81:0;-1:-1:-1;;;;;32362:16:0;;32354:65;;;;-1:-1:-1;;;32354:65:0;;8335:2:1;32354:65:0;;;8317:21:1;8374:2;8354:18;;;8347:30;8413:34;8393:18;;;8386:62;-1:-1:-1;;;8464:18:1;;;8457:34;8508:19;;32354:65:0;8133:400:1;32354:65:0;32432:39;32453:4;32459:2;32463:7;32432:20;:39::i;:::-;32536:29;32553:1;32557:7;32536:8;:29::i;:::-;-1:-1:-1;;;;;32578:15:0;;;;;;:9;:15;;;;;:20;;32597:1;;32578:15;:20;;32597:1;;32578:20;:::i;:::-;;;;-1:-1:-1;;;;;;;32609:13:0;;;;;;:9;:13;;;;;:18;;32626:1;;32609:13;:18;;32626:1;;32609:18;:::i;:::-;;;;-1:-1:-1;;32638:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;32638:21:0;-1:-1:-1;;;;;32638:21:0;;;;;;;;;32677:27;;32638:16;;32677:27;;;;;;;47084:32:::1;46971:153:::0;;:::o;30713:439::-;-1:-1:-1;;;;;30793:16:0;;30785:61;;;;-1:-1:-1;;;30785:61:0;;11451:2:1;30785:61:0;;;11433:21:1;;;11470:18;;;11463:30;11529:34;11509:18;;;11502:62;11581:18;;30785:61:0;11249:356:1;30785:61:0;28800:4;28824:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28824:16:0;:30;30857:58;;;;-1:-1:-1;;;30857:58:0;;7978:2:1;30857:58:0;;;7960:21:1;8017:2;7997:18;;;7990:30;8056;8036:18;;;8029:58;8104:18;;30857:58:0;7776:352:1;30857:58:0;30928:45;30957:1;30961:2;30965:7;30928:20;:45::i;:::-;-1:-1:-1;;;;;30986:13:0;;;;;;:9;:13;;;;;:18;;31003:1;;30986:13;:18;;31003:1;;30986:18;:::i;:::-;;;;-1:-1:-1;;31015:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31015:21:0;-1:-1:-1;;;;;31015:21:0;;;;;;;;31054:33;;31015:16;;;31054:33;;31015:16;;31054:33;25774:155;;:::o;45582:191::-;45656:16;45675:6;;-1:-1:-1;;;;;45692:17:0;;;-1:-1:-1;;;;;;45692:17:0;;;;;;45725:40;;45675:6;;;;;;;45725:40;;45656:16;45725:40;45645:128;45582:191;:::o;33197:315::-;33352:8;-1:-1:-1;;;;;33343:17:0;:5;-1:-1:-1;;;;;33343:17:0;;;33335:55;;;;-1:-1:-1;;;33335:55:0;;8740:2:1;33335:55:0;;;8722:21:1;8779:2;8759:18;;;8752:30;8818:27;8798:18;;;8791:55;8863:18;;33335:55:0;8538:349:1;33335:55:0;-1:-1:-1;;;;;33401:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;33401:46:0;;;;;;;;;;33463:41;;5856::1;;;33463::0;;5829:18:1;33463:41:0;;;;;;;33197:315;;;:::o;28107:::-;28264:28;28274:4;28280:2;28284:7;28264:9;:28::i;:::-;28311:48;28334:4;28340:2;28344:7;28353:5;28311:22;:48::i;:::-;28303:111;;;;-1:-1:-1;;;28303:111:0;;;;;;;:::i;24266:334::-;28800:4;28824:16;;;:7;:16;;;;;;24339:13;;-1:-1:-1;;;;;28824:16:0;24365:76;;;;-1:-1:-1;;;24365:76:0;;12933:2:1;24365:76:0;;;12915:21:1;12972:2;12952:18;;;12945:30;13011:34;12991:18;;;12984:62;-1:-1:-1;;;13062:18:1;;;13055:45;13117:19;;24365:76:0;12731:411:1;24365:76:0;24454:21;24478:10;:8;:10::i;:::-;24454:34;;24530:1;24512:7;24506:21;:25;:86;;;;;;;;;;;;;;;;;24558:7;24567:18;:7;:16;:18::i;:::-;24541:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;24506:86;24499:93;24266:334;-1:-1:-1;;;24266:334:0:o;38778:589::-;-1:-1:-1;;;;;38984:18:0;;38980:187;;39019:40;39051:7;40194:10;:17;;40167:24;;;;:15;:24;;;;;:44;;;40222:24;;;;;;;;;;;;40090:164;39019:40;38980:187;;;39089:2;-1:-1:-1;;;;;39081:10:0;:4;-1:-1:-1;;;;;39081:10:0;;39077:90;;39108:47;39141:4;39147:7;39108:32;:47::i;:::-;-1:-1:-1;;;;;39181:16:0;;39177:183;;39214:45;39251:7;39214:36;:45::i;39177:183::-;39287:4;-1:-1:-1;;;;;39281:10:0;:2;-1:-1:-1;;;;;39281:10:0;;39277:83;;39308:40;39336:2;39340:7;39308:27;:40::i;34077:799::-;34232:4;-1:-1:-1;;;;;34253:13:0;;3970:19;:23;34249:620;;34289:72;;-1:-1:-1;;;34289:72:0;;-1:-1:-1;;;;;34289:36:0;;;;;:72;;21436:10;;34340:4;;34346:7;;34355:5;;34289:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34289:72:0;;;;;;;;-1:-1:-1;;34289:72:0;;;;;;;;;;;;:::i;:::-;;;34285:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34531:13:0;;34527:272;;34574:60;;-1:-1:-1;;;34574:60:0;;;;;;;:::i;34527:272::-;34749:6;34743:13;34734:6;34730:2;34726:15;34719:38;34285:529;-1:-1:-1;;;;;;34412:51:0;-1:-1:-1;;;34412:51:0;;-1:-1:-1;34405:58:0;;34249:620;-1:-1:-1;34853:4:0;34077:799;;;;;;:::o;47247:100::-;47299:13;47332:7;47325:14;;;;;:::i;683:723::-;739:13;960:10;956:53;;-1:-1:-1;;987:10:0;;;;;;;;;;;;-1:-1:-1;;;987:10:0;;;;;683:723::o;956:53::-;1034:5;1019:12;1075:78;1082:9;;1075:78;;1108:8;;;;:::i;:::-;;-1:-1:-1;1131:10:0;;-1:-1:-1;1139:2:0;1131:10;;:::i;:::-;;;1075:78;;;1163:19;1195:6;1185:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1185:17:0;;1163:39;;1213:154;1220:10;;1213:154;;1247:11;1257:1;1247:11;;:::i;:::-;;-1:-1:-1;1316:10:0;1324:2;1316:5;:10;:::i;:::-;1303:24;;:2;:24;:::i;:::-;1290:39;;1273:6;1280;1273:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1273:56:0;;;;;;;;-1:-1:-1;1344:11:0;1353:2;1344:11;;:::i;:::-;;;1213:154;;40881:988;41147:22;41197:1;41172:22;41189:4;41172:16;:22::i;:::-;:26;;;;:::i;:::-;41209:18;41230:26;;;:17;:26;;;;;;41147:51;;-1:-1:-1;41363:28:0;;;41359:328;;-1:-1:-1;;;;;41430:18:0;;41408:19;41430:18;;;:12;:18;;;;;;;;:34;;;;;;;;;41481:30;;;;;;:44;;;41598:30;;:17;:30;;;;;:43;;;41359:328;-1:-1:-1;41783:26:0;;;;:17;:26;;;;;;;;41776:33;;;-1:-1:-1;;;;;41827:18:0;;;;;:12;:18;;;;;:34;;;;;;;41820:41;40881:988::o;42164:1079::-;42442:10;:17;42417:22;;42442:21;;42462:1;;42442:21;:::i;:::-;42474:18;42495:24;;;:15;:24;;;;;;42868:10;:26;;42417:46;;-1:-1:-1;42495:24:0;;42417:46;;42868:26;;;;;;:::i;:::-;;;;;;;;;42846:48;;42932:11;42907:10;42918;42907:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;43012:28;;;:15;:28;;;;;;;:41;;;43184:24;;;;;43177:31;43219:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;42235:1008;;;42164:1079;:::o;39668:221::-;39753:14;39770:20;39787:2;39770:16;:20::i;:::-;-1:-1:-1;;;;;39801:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;39846:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;39668:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;192:160;257:20;;313:13;;306:21;296:32;;286:60;;342:1;339;332:12;357:186;416:6;469:2;457:9;448:7;444:23;440:32;437:52;;;485:1;482;475:12;437:52;508:29;527:9;508:29;:::i;548:260::-;616:6;624;677:2;665:9;656:7;652:23;648:32;645:52;;;693:1;690;683:12;645:52;716:29;735:9;716:29;:::i;:::-;706:39;;764:38;798:2;787:9;783:18;764:38;:::i;:::-;754:48;;548:260;;;;;:::o;813:328::-;890:6;898;906;959:2;947:9;938:7;934:23;930:32;927:52;;;975:1;972;965:12;927:52;998:29;1017:9;998:29;:::i;:::-;988:39;;1046:38;1080:2;1069:9;1065:18;1046:38;:::i;:::-;1036:48;;1131:2;1120:9;1116:18;1103:32;1093:42;;813:328;;;;;:::o;1146:1138::-;1241:6;1249;1257;1265;1318:3;1306:9;1297:7;1293:23;1289:33;1286:53;;;1335:1;1332;1325:12;1286:53;1358:29;1377:9;1358:29;:::i;:::-;1348:39;;1406:38;1440:2;1429:9;1425:18;1406:38;:::i;:::-;1396:48;;1491:2;1480:9;1476:18;1463:32;1453:42;;1546:2;1535:9;1531:18;1518:32;1569:18;1610:2;1602:6;1599:14;1596:34;;;1626:1;1623;1616:12;1596:34;1664:6;1653:9;1649:22;1639:32;;1709:7;1702:4;1698:2;1694:13;1690:27;1680:55;;1731:1;1728;1721:12;1680:55;1767:2;1754:16;1789:2;1785;1782:10;1779:36;;;1795:18;;:::i;:::-;1870:2;1864:9;1838:2;1924:13;;-1:-1:-1;;1920:22:1;;;1944:2;1916:31;1912:40;1900:53;;;1968:18;;;1988:22;;;1965:46;1962:72;;;2014:18;;:::i;:::-;2054:10;2050:2;2043:22;2089:2;2081:6;2074:18;2129:7;2124:2;2119;2115;2111:11;2107:20;2104:33;2101:53;;;2150:1;2147;2140:12;2101:53;2206:2;2201;2197;2193:11;2188:2;2180:6;2176:15;2163:46;2251:1;2246:2;2241;2233:6;2229:15;2225:24;2218:35;2272:6;2262:16;;;;;;;1146:1138;;;;;;;:::o;2289:254::-;2354:6;2362;2415:2;2403:9;2394:7;2390:23;2386:32;2383:52;;;2431:1;2428;2421:12;2383:52;2454:29;2473:9;2454:29;:::i;:::-;2444:39;;2502:35;2533:2;2522:9;2518:18;2502:35;:::i;2548:254::-;2616:6;2624;2677:2;2665:9;2656:7;2652:23;2648:32;2645:52;;;2693:1;2690;2683:12;2645:52;2716:29;2735:9;2716:29;:::i;:::-;2706:39;2792:2;2777:18;;;;2764:32;;-1:-1:-1;;;2548:254:1:o;2807:180::-;2863:6;2916:2;2904:9;2895:7;2891:23;2887:32;2884:52;;;2932:1;2929;2922:12;2884:52;2955:26;2971:9;2955:26;:::i;2992:245::-;3050:6;3103:2;3091:9;3082:7;3078:23;3074:32;3071:52;;;3119:1;3116;3109:12;3071:52;3158:9;3145:23;3177:30;3201:5;3177:30;:::i;3242:249::-;3311:6;3364:2;3352:9;3343:7;3339:23;3335:32;3332:52;;;3380:1;3377;3370:12;3332:52;3412:9;3406:16;3431:30;3455:5;3431:30;:::i;3496:592::-;3567:6;3575;3628:2;3616:9;3607:7;3603:23;3599:32;3596:52;;;3644:1;3641;3634:12;3596:52;3684:9;3671:23;3713:18;3754:2;3746:6;3743:14;3740:34;;;3770:1;3767;3760:12;3740:34;3808:6;3797:9;3793:22;3783:32;;3853:7;3846:4;3842:2;3838:13;3834:27;3824:55;;3875:1;3872;3865:12;3824:55;3915:2;3902:16;3941:2;3933:6;3930:14;3927:34;;;3957:1;3954;3947:12;3927:34;4002:7;3997:2;3988:6;3984:2;3980:15;3976:24;3973:37;3970:57;;;4023:1;4020;4013:12;3970:57;4054:2;4046:11;;;;;4076:6;;-1:-1:-1;3496:592:1;;-1:-1:-1;;;;3496:592:1:o;4093:180::-;4152:6;4205:2;4193:9;4184:7;4180:23;4176:32;4173:52;;;4221:1;4218;4211:12;4173:52;-1:-1:-1;4244:23:1;;4093:180;-1:-1:-1;4093:180:1:o;4278:257::-;4319:3;4357:5;4351:12;4384:6;4379:3;4372:19;4400:63;4456:6;4449:4;4444:3;4440:14;4433:4;4426:5;4422:16;4400:63;:::i;:::-;4517:2;4496:15;-1:-1:-1;;4492:29:1;4483:39;;;;4524:4;4479:50;;4278:257;-1:-1:-1;;4278:257:1:o;4540:470::-;4719:3;4757:6;4751:13;4773:53;4819:6;4814:3;4807:4;4799:6;4795:17;4773:53;:::i;:::-;4889:13;;4848:16;;;;4911:57;4889:13;4848:16;4945:4;4933:17;;4911:57;:::i;:::-;4984:20;;4540:470;-1:-1:-1;;;;4540:470:1:o;5223:488::-;-1:-1:-1;;;;;5492:15:1;;;5474:34;;5544:15;;5539:2;5524:18;;5517:43;5591:2;5576:18;;5569:34;;;5639:3;5634:2;5619:18;;5612:31;;;5417:4;;5660:45;;5685:19;;5677:6;5660:45;:::i;:::-;5652:53;5223:488;-1:-1:-1;;;;;;5223:488:1:o;5908:219::-;6057:2;6046:9;6039:21;6020:4;6077:44;6117:2;6106:9;6102:18;6094:6;6077:44;:::i;6544:414::-;6746:2;6728:21;;;6785:2;6765:18;;;6758:30;6824:34;6819:2;6804:18;;6797:62;-1:-1:-1;;;6890:2:1;6875:18;;6868:48;6948:3;6933:19;;6544:414::o;12370:356::-;12572:2;12554:21;;;12591:18;;;12584:30;12650:34;12645:2;12630:18;;12623:62;12717:2;12702:18;;12370:356::o;13549:413::-;13751:2;13733:21;;;13790:2;13770:18;;;13763:30;13829:34;13824:2;13809:18;;13802:62;-1:-1:-1;;;13895:2:1;13880:18;;13873:47;13952:3;13937:19;;13549:413::o;14562:128::-;14602:3;14633:1;14629:6;14626:1;14623:13;14620:39;;;14639:18;;:::i;:::-;-1:-1:-1;14675:9:1;;14562:128::o;14695:120::-;14735:1;14761;14751:35;;14766:18;;:::i;:::-;-1:-1:-1;14800:9:1;;14695:120::o;14820:125::-;14860:4;14888:1;14885;14882:8;14879:34;;;14893:18;;:::i;:::-;-1:-1:-1;14930:9:1;;14820:125::o;14950:258::-;15022:1;15032:113;15046:6;15043:1;15040:13;15032:113;;;15122:11;;;15116:18;15103:11;;;15096:39;15068:2;15061:10;15032:113;;;15163:6;15160:1;15157:13;15154:48;;;-1:-1:-1;;15198:1:1;15180:16;;15173:27;14950:258::o;15213:380::-;15292:1;15288:12;;;;15335;;;15356:61;;15410:4;15402:6;15398:17;15388:27;;15356:61;15463:2;15455:6;15452:14;15432:18;15429:38;15426:161;;;15509:10;15504:3;15500:20;15497:1;15490:31;15544:4;15541:1;15534:15;15572:4;15569:1;15562:15;15426:161;;15213:380;;;:::o;15598:135::-;15637:3;-1:-1:-1;;15658:17:1;;15655:43;;;15678:18;;:::i;:::-;-1:-1:-1;15725:1:1;15714:13;;15598:135::o;15738:112::-;15770:1;15796;15786:35;;15801:18;;:::i;:::-;-1:-1:-1;15835:9:1;;15738:112::o;15855:127::-;15916:10;15911:3;15907:20;15904:1;15897:31;15947:4;15944:1;15937:15;15971:4;15968:1;15961:15;15987:127;16048:10;16043:3;16039:20;16036:1;16029:31;16079:4;16076:1;16069:15;16103:4;16100:1;16093:15;16119:127;16180:10;16175:3;16171:20;16168:1;16161:31;16211:4;16208:1;16201:15;16235:4;16232:1;16225:15;16251:127;16312:10;16307:3;16303:20;16300:1;16293:31;16343:4;16340:1;16333:15;16367:4;16364:1;16357:15;16383:127;16444:10;16439:3;16435:20;16432:1;16425:31;16475:4;16472:1;16465:15;16499:4;16496:1;16489:15;16515:131;-1:-1:-1;;;;;;16589:32:1;;16579:43;;16569:71;;16636:1;16633;16626:12

Swarm Source

ipfs://9c3be4b6e1ac213315077c1749f654b5ed346da1bdd5fa283fdf0e966243212a
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.