Contract 0x0197374B08702ee7bd26112abd8b174C068051Bb 3

 
 
Txn Hash
Method
Block
From
To
Value
0x989fdbf88fe08525f67e3c46fa579daa63be5f6a7f1cdd937c2fae77cb582a7eTransfer From153119982022-08-10 3:28:031 day 8 hrs ago0x246598cb364ea89a06d0bef294b7db8707bfea39 IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00097677 16.‍95489924
0x774222f757025bd7d9e8563b7f4c1ed181897499472680d28cc871f8efe21028Set Approval For...153116082022-08-10 2:01:511 day 9 hrs ago0xd93a20524af96ca6d3c362f549b8e93448f7e93f IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00056162 12.‍17565987
0x72d76414e4dce39bab8bf172e9a8f2ab2a89a578067cfa0fc867a802c91e92b3Transfer From153089362022-08-09 15:59:151 day 19 hrs ago0x8cc5ae2f0bd11fc617651eb618a30f032182380d IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00133803 23.‍22098303
0x38d38aa1a7ae100b0e7d48a728960dc588fe4cec3d5c1562b0ddf1983a152fbbSet Approval For...153067582022-08-09 7:49:202 days 4 hrs agoENS Name keenz.eth IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00041589 9
0x3a50be8e498e8bde57ffc9a7e028b0a5a0a165f8319498370289cb7990e610e6Set Approval For...153033502022-08-08 19:11:272 days 16 hrs agoENS Name yuyue.eth IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00092422 20
0x78c0cb9068bd417dc5c57656c52a2433a9b125055a729390c36359f509f9cce0Set Approval For...152992472022-08-08 3:35:093 days 8 hrs ago0x447d86b51b61960a9fc9286fcbe9127a7764b68a IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00047262 10.‍24619256
0x18bb251dbe1808316c4e3fbd338945517cb7c6d76a6f2ea77fbeda79e056de35Set Approval For...152973722022-08-07 20:31:303 days 15 hrs ago0xf031b7acf961a8a55a0bcac0c2fda4c2e0186559 IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00042495 9.‍21261212
0x081bdeae65998e07cbf6bc79415e0663ec566e3df55fcf175ca4d8684bf08263Set Approval For...152969392022-08-07 18:53:423 days 17 hrs ago0x6795c05743f2dcd224ee839125e3b5147744fe7e IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00022038 9.‍06989451
0x0c71ef5c7a37f52fbe6ef8fb4fd3fbf7105570fa5f089bae3ffa880faa432365Set Approval For...152927632022-08-07 3:35:264 days 8 hrs ago0xf0b1298073733038d6463bf70cb6638a7077f327 IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00058969 12.‍78425607
0x25ae3ed490197aa3089051effb1230a1b1a7fc859cca142c337d7b9b1625b4f5Set Approval For...152900282022-08-06 17:21:104 days 18 hrs ago0x1a96e84004a53812ab781fba7ba5c89ad0533b28 IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍0008654 18.‍76125579
0xc0d1e3a1a9c70816048649ed1231a1e0105dc5c6a0558d2e359687cd6ce8eb13Set Approval For...152884382022-08-06 11:25:495 days 28 mins ago0x8d85d37c53aea6e51a4863104299830161d06130 IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00013838 3
0x0d965231814ee07d21d26ee4fc57d8d102a4ebc9c971609641925bd52c7f32c2Set Approval For...152880712022-08-06 10:03:555 days 1 hr ago0xc2efab500cac49915053efe38f5e162edf1689e2 IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00032007 6.‍93890916
0x70fb26f3f5ae510f9f849cfe8cdd578bb113d78b7e3269308406fcd0fac8fe3dSet Approval For...152879602022-08-06 9:40:005 days 2 hrs ago0x335d527c8da4c725cb5e374535c667b0137cdebe IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00017363 7.‍14560076
0x966e181e78d8adb1204b6614b627f0a5eac52e0e4eb31aa44068e4c59a8f167eSet Approval For...152802242022-08-05 4:41:556 days 7 hrs agoENS Name stilpo.eth IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00071745 15.‍55380617
0xb437c3b351ff5b1356b0b00d72cbb3d12d14590f8d902d1b54b043d50dada988Set Approval For...152788792022-08-04 23:47:516 days 12 hrs ago0xee182cf9aaf7fd885237b1ccfeb5f6d13caf591b IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00020686 8.‍51338819
0x7faf829248e0b8bb08d17dd55f0c5485f30393c12615454b334d0e83cc2f0b36Set Approval For...152787752022-08-04 23:25:196 days 12 hrs ago0xee182cf9aaf7fd885237b1ccfeb5f6d13caf591b IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00044037 9.‍52972121
0x407310a90ddd73e906f896b3fe1406d5ab14c2ac8f8b1666c8e5e2b463c772b0Set Approval For...152679482022-08-03 6:41:108 days 5 hrs ago0x82abda7ddc8097cc7c77781cb87b686d281c9e50 IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00030167 6.‍54016081
0xe38df0671b28d6df9ce3be23fc1ed00cbb6b996ed45e245e2ac776ed7f68060dSet Approval For...152667872022-08-03 2:12:288 days 9 hrs agoENS Name sv3nsei.eth IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00020638 8.‍49352609
0xe4fe9bf62f127ec7306e85fb2520b43bb3936602bcebea61fd115e4fc14c886fSet Approval For...152631362022-08-02 12:33:448 days 23 hrs ago0xe70f4c1eda8955f7306c25fe3fa1635297a7f95c IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00041091 8.‍89217376
0x3dd34a94ae1a912d9d053411de0b9ca615b9a4ab954ab5c0d76646a85cb4738fSet Approval For...152614002022-08-02 6:12:379 days 5 hrs ago0xdc6dca2b6977b6192f3bfb8cea95efa2ff9bd997 IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00027676 6
0xbb61ce4d86fc80818d1b84b5468a407d88b1847cf39d2ff378ecff4328f4b70dTransfer From152586932022-08-01 20:00:309 days 15 hrs ago0x206e7498111462b13155a39e28642651c9715412 IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00083325 14.‍46065739
0xe32344a2b10c2724aaa38874f68af50a01f69bb93d012a0e423ee765633a4ae3Set Approval For...152523172022-07-31 20:10:3810 days 15 hrs ago0xba21a83f49dbe14640c5a365713a93858397b598 IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00066714 14.‍46313059
0x186b6de395697a4021a617eab79f111b27d8c907e09cf4ea3e19b898d35f1589Set Approval For...152464532022-07-30 22:22:3111 days 13 hrs ago0x07c2e12b139689bf164d733942fadd97b7561efe IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00039528 8.‍56940334
0x4be764280e5188a5d0044b6fdfc445547c72161401cb1b7e03ecc3ddd7c100d7Set Approval For...152436912022-07-30 12:07:5511 days 23 hrs ago0x622c47d4cfc7aca8bed7e72ffdd0e9f845d9d314 IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00029643 6.‍4264156
0xa97c1716471022945b465c1ee961100657807420b73c78f71a0742be650d3fcdSet Approval For...152396732022-07-29 20:56:5412 days 14 hrs ago0xdcb6a79adcda176acd549fb95c5d34a395fe622b IN  0x0197374b08702ee7bd26112abd8b174c068051bb0 Ether0.‍00053742 11.‍65097328
[ Download CSV Export 
Latest 6 internal transactions
Parent Txn Hash Block From To Value
0x5f298102a5059c3cd371eda84e3db8fab64ecf5b408d0e31af02107c44347467148673202022-05-29 15:48:2873 days 20 hrs ago 0x0197374b08702ee7bd26112abd8b174c068051bb0xc3e1431bb86cdb07570c5f5efdc1b2939625070c14.‍24 Ether
0x23ef5b5e32c6c65edc2e7f7369e2e360b2d87451fdbb204cfe8e18c5993f7996148489992022-05-26 16:28:5976 days 19 hrs ago 0x0197374b08702ee7bd26112abd8b174c068051bb0xc3e1431bb86cdb07570c5f5efdc1b2939625070c2.‍3 Ether
0x07e35a19bc307b4e008f8cffd950865649b03eb431014f66baae37bedca923db141714682022-02-09 10:51:04183 days 1 hr ago 0x0197374b08702ee7bd26112abd8b174c068051bb0xc3e1431bb86cdb07570c5f5efdc1b2939625070c0.‍35 Ether
0xc1fd40e508bf3e20ad4f99948f65d05b08fdbd2c425b03362ef36d12d012d8eb141356402022-02-03 22:13:33188 days 13 hrs ago 0x0197374b08702ee7bd26112abd8b174c068051bb0xc3e1431bb86cdb07570c5f5efdc1b2939625070c23.‍97 Ether
0x940507ad4b48a4c1c6b870fedca03bb1e031c2f22155f69ad06be13c0ca5c55f139580902022-01-07 11:35:16216 days 18 mins ago 0x0197374b08702ee7bd26112abd8b174c068051bb0xc3e1431bb86cdb07570c5f5efdc1b2939625070c17.‍79 Ether
0xa01e09ef846ccaa8ae92faf41904abf52b8421894badd6cba3a0c274d56093fb138569542021-12-22 19:48:06231 days 16 hrs ago 0x0197374b08702ee7bd26112abd8b174c068051bb0xc3e1431bb86cdb07570c5f5efdc1b2939625070c0.‍64 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CryptoDoctors

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 2021-11-01
*/

/**
 *Submitted for verification at Etherscan.io on 2021-10-02
*/

/**
 *Submitted for verification at Etherscan.io on 2021-09-30
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.7;



// Part: Address

// Part: Address

// Part: Address

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// Part: Context

// Part: Context

// Part: Context

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

// Part: Counters

// Part: Counters

// Part: Counters

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// Part: IERC165

// Part: IERC165

// Part: IERC165

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

// Part: IERC721Receiver

// Part: IERC721Receiver

// Part: IERC721Receiver

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

// Part: ReentrancyGuard

// Part: ReentrancyGuard

// Part: ReentrancyGuard

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// Part: SafeMath

// Part: SafeMath

// Part: SafeMath

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// Part: Strings

// Part: Strings

// Part: Strings

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

// Part: ERC165

// Part: ERC165

// Part: ERC165

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

// Part: IERC721

// Part: IERC721

// Part: IERC721

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

// Part: Ownable

// Part: Ownable

// Part: Ownable

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

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

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

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

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

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

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


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

// Part: IERC721Metadata

// Part: IERC721Metadata

// Part: IERC721Metadata

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

// Part: ERC721

// Part: ERC721

// Part: ERC721

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

// File: main.sol

// File: main.sol

// File: main.sol

contract CryptoDoctors is ERC721, Ownable, ReentrancyGuard {
  using Counters for Counters.Counter;
  using SafeMath for uint256;
  Counters.Counter public _tokenIds;
  uint256 public _mintCost = 0.04 ether;
  uint256 public _maxSupply = 502;
  bool public _isPublicMintEnabled = true;
  string public _baseTokenURI = "https://cryptodoctors.io/doctors/metamadness/";
  
  /**
  * @dev Initializes the contract setting the `tokenName` and `symbol` of the nft, `cost` of each mint call, and maximum `supply` of the nft.
  * Note: `cost` is in wei. 
  */
  constructor() ERC721("Crypto Doctors", "CD") {
  }

    /*
    * Pause sale if active, make active if paused
    */
  function flipSaleState() public onlyOwner {
    _isPublicMintEnabled = !_isPublicMintEnabled;
  }

  /**
  * @dev Mint `count` tokens if requirements are satisfied.
  * 
  */
  function mintTokens(uint256 count)
  public
  payable
  nonReentrant{
    require(_isPublicMintEnabled, "Mint disabled");
    require(count > 0 && count <= 10, "Min 1, Max 10 is allowed per tx");
    require(count.add(_tokenIds.current()) < _maxSupply, "Exceeds max supply");
    require(owner() == msg.sender || msg.value >= _mintCost.mul(count),
           "Ether value sent is below the price");
    for(uint i=0; i<count; i++){
        _mint(msg.sender);
     }
  }


  /**
  * @dev Update the cost to mint a token.
  * Can only be called by the current owner.
  */
  function setCost(uint256 cost) public onlyOwner{
    _mintCost = cost;
  }

  /**
  * @dev Update the max supply.
  * Can only be called by the current owner.
  */
  function setMaxSupply(uint256 max) public onlyOwner{
    _maxSupply = max;
  }

  function setBaseTokenURI(string memory __baseTokenURI) public onlyOwner {
    _baseTokenURI = __baseTokenURI;
  }


  /**
  * @dev Transfers contract balance to contract owner.
  * Can only be called by the current owner.
  */
  function setApprovalForWithdraw() public onlyOwner{
    payable(owner()).transfer(address(this).balance);
  }
  
  

  /**
  * @dev Used by public mint functions and by owner functions.
  * Can only be called internally by other functions.
  */
  function _mint(address to) internal virtual returns (uint256){
    _tokenIds.increment();
    uint256 id = _tokenIds.current();
    _safeMint(to, id);

    return id;
  }

  function getCost() public view returns (uint256){
    return _mintCost;
  }
  function totalSupply() public view returns (uint256){
    return _maxSupply;
  }
  function getCurrentSupply() public view returns (uint256){
    return _tokenIds.current();
  }
  function getMintStatus() public view returns (bool) {
    return _isPublicMintEnabled;
  }

  /**
  * @dev Returns a URI for a given token ID's metadata
  */
  function tokenURI(uint256 _tokenId) public view override returns (string memory) {
    return string(abi.encodePacked(_baseTokenURI, Strings.toString(_tokenId), ".json"));
  }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isPublicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenIds","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mintTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setApprovalForWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

668e1bc9bf0400006009556101f6600a55600b805460ff1916600117905560e0604052602d60808181529062001ff860a03980516200004791600c916020909101906200013a565b503480156200005557600080fd5b50604080518082018252600e81526d43727970746f20446f63746f727360901b60208083019182528351808501909452600284526110d160f21b908401528151919291620000a6916000916200013a565b508051620000bc9060019060208401906200013a565b505050620000d9620000d3620000e460201b60201c565b620000e8565b60016007556200021d565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014890620001e0565b90600052602060002090601f0160209004810192826200016c5760008555620001b7565b82601f106200018757805160ff1916838001178555620001b7565b82800160010185558215620001b7579182015b82811115620001b75782518255916020019190600101906200019a565b50620001c5929150620001c9565b5090565b5b80821115620001c55760008155600101620001ca565b600181811c90821680620001f557607f821691505b602082108114156200021757634e487b7160e01b600052602260045260246000fd5b50919050565b611dcb806200022d6000396000f3fe6080604052600436106101d85760003560e01c806370a0823111610102578063aa46a40011610095578063c87b56dd11610064578063c87b56dd146104f1578063cfc86f7b14610511578063e985e9c514610526578063f2fde38b1461056f57600080fd5b8063aa46a40014610490578063b88d4fde146104a7578063bd3e19d4146104c7578063c6336728146104dc57600080fd5b8063941ada0e116100d1578063941ada0e1461043057806395d89b411461044857806397304ced1461045d578063a22cb4651461047057600080fd5b806370a08231146103c7578063715018a6146103e75780638c148eb0146103fc5780638da5cb5b1461041257600080fd5b806323b872dd1161017a57806344a0d68a1161014957806344a0d68a146103525780634f3e1efc146103725780636352211e146103875780636f8b44b0146103a757600080fd5b806323b872dd146102dd57806330176e13146102fd57806334918dfd1461031d57806342842e0e1461033257600080fd5b8063095ea7b3116101b6578063095ea7b31461026c578063152cdf041461028e57806318160ddd146102a857806322f4596f146102c757600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611968565b61058f565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b506102276105e1565b6040516102099190611b44565b34801561024057600080fd5b5061025461024f3660046119eb565b610673565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c61028736600461193e565b61070d565b005b34801561029a57600080fd5b50600b546101fd9060ff1681565b3480156102b457600080fd5b50600a545b604051908152602001610209565b3480156102d357600080fd5b506102b9600a5481565b3480156102e957600080fd5b5061028c6102f836600461184a565b610823565b34801561030957600080fd5b5061028c6103183660046119a2565b610854565b34801561032957600080fd5b5061028c610895565b34801561033e57600080fd5b5061028c61034d36600461184a565b6108d3565b34801561035e57600080fd5b5061028c61036d3660046119eb565b6108ee565b34801561037e57600080fd5b506102b961091d565b34801561039357600080fd5b506102546103a23660046119eb565b61092d565b3480156103b357600080fd5b5061028c6103c23660046119eb565b6109a4565b3480156103d357600080fd5b506102b96103e23660046117fc565b6109d3565b3480156103f357600080fd5b5061028c610a5a565b34801561040857600080fd5b506102b960095481565b34801561041e57600080fd5b506006546001600160a01b0316610254565b34801561043c57600080fd5b50600b5460ff166101fd565b34801561045457600080fd5b50610227610a90565b61028c61046b3660046119eb565b610a9f565b34801561047c57600080fd5b5061028c61048b366004611902565b610caa565b34801561049c57600080fd5b506008546102b99081565b3480156104b357600080fd5b5061028c6104c2366004611886565b610d6f565b3480156104d357600080fd5b506009546102b9565b3480156104e857600080fd5b5061028c610da7565b3480156104fd57600080fd5b5061022761050c3660046119eb565b610e0d565b34801561051d57600080fd5b50610227610e41565b34801561053257600080fd5b506101fd610541366004611817565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561057b57600080fd5b5061028c61058a3660046117fc565b610ecf565b60006001600160e01b031982166380ac58cd60e01b14806105c057506001600160e01b03198216635b5e139f60e01b145b806105db57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546105f090611cbd565b80601f016020809104026020016040519081016040528092919081815260200182805461061c90611cbd565b80156106695780601f1061063e57610100808354040283529160200191610669565b820191906000526020600020905b81548152906001019060200180831161064c57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106f15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107188261092d565b9050806001600160a01b0316836001600160a01b031614156107865760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106e8565b336001600160a01b03821614806107a257506107a28133610541565b6108145760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106e8565b61081e8383610f67565b505050565b61082d3382610fd5565b6108495760405162461bcd60e51b81526004016106e890611bde565b61081e8383836110cc565b6006546001600160a01b0316331461087e5760405162461bcd60e51b81526004016106e890611ba9565b805161089190600c9060208401906116d1565b5050565b6006546001600160a01b031633146108bf5760405162461bcd60e51b81526004016106e890611ba9565b600b805460ff19811660ff90911615179055565b61081e83838360405180602001604052806000815250610d6f565b6006546001600160a01b031633146109185760405162461bcd60e51b81526004016106e890611ba9565b600955565b600061092860085490565b905090565b6000818152600260205260408120546001600160a01b0316806105db5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106e8565b6006546001600160a01b031633146109ce5760405162461bcd60e51b81526004016106e890611ba9565b600a55565b60006001600160a01b038216610a3e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106e8565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610a845760405162461bcd60e51b81526004016106e890611ba9565b610a8e600061126c565b565b6060600180546105f090611cbd565b60026007541415610af25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106e8565b6002600755600b5460ff16610b395760405162461bcd60e51b815260206004820152600d60248201526c135a5b9d08191a5cd8589b1959609a1b60448201526064016106e8565b600081118015610b4a5750600a8111155b610b965760405162461bcd60e51b815260206004820152601f60248201527f4d696e20312c204d617820313020697320616c6c6f776564207065722074780060448201526064016106e8565b600a54610bac610ba560085490565b83906112be565b10610bee5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016106e8565b33610c016006546001600160a01b031690565b6001600160a01b03161480610c225750600954610c1e90826112d1565b3410155b610c7a5760405162461bcd60e51b815260206004820152602360248201527f45746865722076616c75652073656e742069732062656c6f772074686520707260448201526269636560e81b60648201526084016106e8565b60005b81811015610ca157610c8e336112dd565b5080610c9981611cf8565b915050610c7d565b50506001600755565b6001600160a01b038216331415610d035760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106e8565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d793383610fd5565b610d955760405162461bcd60e51b81526004016106e890611bde565b610da184848484611304565b50505050565b6006546001600160a01b03163314610dd15760405162461bcd60e51b81526004016106e890611ba9565b6006546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610e0a573d6000803e3d6000fd5b50565b6060600c610e1a83611337565b604051602001610e2b929190611a4c565b6040516020818303038152906040529050919050565b600c8054610e4e90611cbd565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7a90611cbd565b8015610ec75780601f10610e9c57610100808354040283529160200191610ec7565b820191906000526020600020905b815481529060010190602001808311610eaa57829003601f168201915b505050505081565b6006546001600160a01b03163314610ef95760405162461bcd60e51b81526004016106e890611ba9565b6001600160a01b038116610f5e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106e8565b610e0a8161126c565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f9c8261092d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661104e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106e8565b60006110598361092d565b9050806001600160a01b0316846001600160a01b031614806110945750836001600160a01b031661108984610673565b6001600160a01b0316145b806110c457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166110df8261092d565b6001600160a01b0316146111475760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106e8565b6001600160a01b0382166111a95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106e8565b6111b4600082610f67565b6001600160a01b03831660009081526003602052604081208054600192906111dd908490611c7a565b90915550506001600160a01b038216600090815260036020526040812080546001929061120b908490611c2f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006112ca8284611c2f565b9392505050565b60006112ca8284611c5b565b60006112ed600880546001019055565b60006112f860085490565b90506105db8382611435565b61130f8484846110cc565b61131b8484848461144f565b610da15760405162461bcd60e51b81526004016106e890611b57565b60608161135b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611385578061136f81611cf8565b915061137e9050600a83611c47565b915061135f565b60008167ffffffffffffffff8111156113a0576113a0611d69565b6040519080825280601f01601f1916602001820160405280156113ca576020820181803683370190505b5090505b84156110c4576113df600183611c7a565b91506113ec600a86611d13565b6113f7906030611c2f565b60f81b81838151811061140c5761140c611d53565b60200101906001600160f81b031916908160001a90535061142e600a86611c47565b94506113ce565b61089182826040518060200160405280600081525061155c565b60006001600160a01b0384163b1561155157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611493903390899088908890600401611b07565b602060405180830381600087803b1580156114ad57600080fd5b505af19250505080156114dd575060408051601f3d908101601f191682019092526114da91810190611985565b60015b611537573d80801561150b576040519150601f19603f3d011682016040523d82523d6000602084013e611510565b606091505b50805161152f5760405162461bcd60e51b81526004016106e890611b57565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110c4565b506001949350505050565b611566838361158f565b611573600084848461144f565b61081e5760405162461bcd60e51b81526004016106e890611b57565b6001600160a01b0382166115e55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106e8565b6000818152600260205260409020546001600160a01b03161561164a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106e8565b6001600160a01b0382166000908152600360205260408120805460019290611673908490611c2f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546116dd90611cbd565b90600052602060002090601f0160209004810192826116ff5760008555611745565b82601f1061171857805160ff1916838001178555611745565b82800160010185558215611745579182015b8281111561174557825182559160200191906001019061172a565b50611751929150611755565b5090565b5b808211156117515760008155600101611756565b600067ffffffffffffffff8084111561178557611785611d69565b604051601f8501601f19908116603f011681019082821181831017156117ad576117ad611d69565b816040528093508581528686860111156117c657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146117f757600080fd5b919050565b60006020828403121561180e57600080fd5b6112ca826117e0565b6000806040838503121561182a57600080fd5b611833836117e0565b9150611841602084016117e0565b90509250929050565b60008060006060848603121561185f57600080fd5b611868846117e0565b9250611876602085016117e0565b9150604084013590509250925092565b6000806000806080858703121561189c57600080fd5b6118a5856117e0565b93506118b3602086016117e0565b925060408501359150606085013567ffffffffffffffff8111156118d657600080fd5b8501601f810187136118e757600080fd5b6118f68782356020840161176a565b91505092959194509250565b6000806040838503121561191557600080fd5b61191e836117e0565b91506020830135801515811461193357600080fd5b809150509250929050565b6000806040838503121561195157600080fd5b61195a836117e0565b946020939093013593505050565b60006020828403121561197a57600080fd5b81356112ca81611d7f565b60006020828403121561199757600080fd5b81516112ca81611d7f565b6000602082840312156119b457600080fd5b813567ffffffffffffffff8111156119cb57600080fd5b8201601f810184136119dc57600080fd5b6110c48482356020840161176a565b6000602082840312156119fd57600080fd5b5035919050565b60008151808452611a1c816020860160208601611c91565b601f01601f19169290920160200192915050565b60008151611a42818560208601611c91565b9290920192915050565b600080845481600182811c915080831680611a6857607f831692505b6020808410821415611a8857634e487b7160e01b86526022600452602486fd5b818015611a9c5760018114611aad57611ada565b60ff19861689528489019650611ada565b60008b81526020902060005b86811015611ad25781548b820152908501908301611ab9565b505084890196505b505050505050611afe611aed8286611a30565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b3a90830184611a04565b9695505050505050565b6020815260006112ca6020830184611a04565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611c4257611c42611d27565b500190565b600082611c5657611c56611d3d565b500490565b6000816000190483118215151615611c7557611c75611d27565b500290565b600082821015611c8c57611c8c611d27565b500390565b60005b83811015611cac578181015183820152602001611c94565b83811115610da15750506000910152565b600181811c90821680611cd157607f821691505b60208210811415611cf257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611d0c57611d0c611d27565b5060010190565b600082611d2257611d22611d3d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e0a57600080fdfea264697066735822122057fabff10318b4397b5d7e83acfdee4913da6d048430470a6ba833bce4cfc7d664736f6c6343000807003368747470733a2f2f63727970746f646f63746f72732e696f2f646f63746f72732f6d6574616d61646e6573732f

Deployed ByteCode Sourcemap

45790:3020:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33598:305;;;;;;;;;;-1:-1:-1;33598:305:0;;;;;:::i;:::-;;:::i;:::-;;;6785:14:1;;6778:22;6760:41;;6748:2;6733:18;33598:305:0;;;;;;;;34543:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;36104:221::-;;;;;;;;;;-1:-1:-1;36104:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6083:32:1;;;6065:51;;6053:2;6038:18;36104:221:0;5919:203:1;35627:411:0;;;;;;;;;;-1:-1:-1;35627:411:0;;;;;:::i;:::-;;:::i;:::-;;46041:39;;;;;;;;;;-1:-1:-1;46041:39:0;;;;;;;;48275:82;;;;;;;;;;-1:-1:-1;48341:10:0;;48275:82;;;14961:25:1;;;14949:2;14934:18;48275:82:0;14815:177:1;46005:31:0;;;;;;;;;;;;;;;;36994:339;;;;;;;;;;-1:-1:-1;36994:339:0;;;;;:::i;:::-;;:::i;47517:115::-;;;;;;;;;;-1:-1:-1;47517:115:0;;;;;:::i;:::-;;:::i;46481:99::-;;;;;;;;;;;;;:::i;37404:185::-;;;;;;;;;;-1:-1:-1;37404:185:0;;;;;:::i;:::-;;:::i;47257:76::-;;;;;;;;;;-1:-1:-1;47257:76:0;;;;;:::i;:::-;;:::i;48361:96::-;;;;;;;;;;;;;:::i;34237:239::-;;;;;;;;;;-1:-1:-1;34237:239:0;;;;;:::i;:::-;;:::i;47431:80::-;;;;;;;;;;-1:-1:-1;47431:80:0;;;;;:::i;:::-;;:::i;33967:208::-;;;;;;;;;;-1:-1:-1;33967:208:0;;;;;:::i;:::-;;:::i;30979:94::-;;;;;;;;;;;;;:::i;45963:37::-;;;;;;;;;;;;;;;;30328:87;;;;;;;;;;-1:-1:-1;30401:6:0;;-1:-1:-1;;;;;30401:6:0;30328:87;;48461:92;;;;;;;;;;-1:-1:-1;48527:20:0;;;;48461:92;;34712:104;;;;;;;;;;;;;:::i;46666:481::-;;;;;;:::i;:::-;;:::i;36397:295::-;;;;;;;;;;-1:-1:-1;36397:295:0;;;;;:::i;:::-;;:::i;45925:33::-;;;;;;;;;;-1:-1:-1;45925:33:0;;;;;;37660:328;;;;;;;;;;-1:-1:-1;37660:328:0;;;;;:::i;:::-;;:::i;48194:77::-;;;;;;;;;;-1:-1:-1;48256:9:0;;48194:77;;47755:111;;;;;;;;;;;;;:::i;48628:177::-;;;;;;;;;;-1:-1:-1;48628:177:0;;;;;:::i;:::-;;:::i;46085:77::-;;;;;;;;;;;;;:::i;36763:164::-;;;;;;;;;;-1:-1:-1;36763:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;36884:25:0;;;36860:4;36884:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;36763:164;31228:192;;;;;;;;;;-1:-1:-1;31228:192:0;;;;;:::i;:::-;;:::i;33598:305::-;33700:4;-1:-1:-1;;;;;;33737:40:0;;-1:-1:-1;;;33737:40:0;;:105;;-1:-1:-1;;;;;;;33794:48:0;;-1:-1:-1;;;33794:48:0;33737:105;:158;;;-1:-1:-1;;;;;;;;;;24536:40:0;;;33859:36;33717:178;33598:305;-1:-1:-1;;33598:305:0:o;34543:100::-;34597:13;34630:5;34623:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34543:100;:::o;36104:221::-;36180:7;39587:16;;;:7;:16;;;;;;-1:-1:-1;;;;;39587:16:0;36200:73;;;;-1:-1:-1;;;36200:73:0;;12311:2:1;36200:73:0;;;12293:21:1;12350:2;12330:18;;;12323:30;12389:34;12369:18;;;12362:62;-1:-1:-1;;;12440:18:1;;;12433:42;12492:19;;36200:73:0;;;;;;;;;-1:-1:-1;36293:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;36293:24:0;;36104:221::o;35627:411::-;35708:13;35724:23;35739:7;35724:14;:23::i;:::-;35708:39;;35772:5;-1:-1:-1;;;;;35766:11:0;:2;-1:-1:-1;;;;;35766:11:0;;;35758:57;;;;-1:-1:-1;;;35758:57:0;;13495:2:1;35758:57:0;;;13477:21:1;13534:2;13514:18;;;13507:30;13573:34;13553:18;;;13546:62;-1:-1:-1;;;13624:18:1;;;13617:31;13665:19;;35758:57:0;13293:397:1;35758:57:0;8741:10;-1:-1:-1;;;;;35850:21:0;;;;:62;;-1:-1:-1;35875:37:0;35892:5;8741:10;36763:164;:::i;35875:37::-;35828:168;;;;-1:-1:-1;;;35828:168:0;;9593:2:1;35828:168:0;;;9575:21:1;9632:2;9612:18;;;9605:30;9671:34;9651:18;;;9644:62;9742:26;9722:18;;;9715:54;9786:19;;35828:168:0;9391:420:1;35828:168:0;36009:21;36018:2;36022:7;36009:8;:21::i;:::-;35697:341;35627:411;;:::o;36994:339::-;37189:41;8741:10;37222:7;37189:18;:41::i;:::-;37181:103;;;;-1:-1:-1;;;37181:103:0;;;;;;;:::i;:::-;37297:28;37307:4;37313:2;37317:7;37297:9;:28::i;47517:115::-;30401:6;;-1:-1:-1;;;;;30401:6:0;8741:10;30548:23;30540:68;;;;-1:-1:-1;;;30540:68:0;;;;;;;:::i;:::-;47596:30;;::::1;::::0;:13:::1;::::0;:30:::1;::::0;::::1;::::0;::::1;:::i;:::-;;47517:115:::0;:::o;46481:99::-;30401:6;;-1:-1:-1;;;;;30401:6:0;8741:10;30548:23;30540:68;;;;-1:-1:-1;;;30540:68:0;;;;;;;:::i;:::-;46554:20:::1;::::0;;-1:-1:-1;;46530:44:0;::::1;46554:20;::::0;;::::1;46553:21;46530:44;::::0;;46481:99::o;37404:185::-;37542:39;37559:4;37565:2;37569:7;37542:39;;;;;;;;;;;;:16;:39::i;47257:76::-;30401:6;;-1:-1:-1;;;;;30401:6:0;8741:10;30548:23;30540:68;;;;-1:-1:-1;;;30540:68:0;;;;;;;:::i;:::-;47311:9:::1;:16:::0;47257:76::o;48361:96::-;48410:7;48432:19;:9;9761:14;;9669:114;48432:19;48425:26;;48361:96;:::o;34237:239::-;34309:7;34345:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34345:16:0;34380:19;34372:73;;;;-1:-1:-1;;;34372:73:0;;10789:2:1;34372:73:0;;;10771:21:1;10828:2;10808:18;;;10801:30;10867:34;10847:18;;;10840:62;-1:-1:-1;;;10918:18:1;;;10911:39;10967:19;;34372:73:0;10587:405:1;47431:80:0;30401:6;;-1:-1:-1;;;;;30401:6:0;8741:10;30548:23;30540:68;;;;-1:-1:-1;;;30540:68:0;;;;;;;:::i;:::-;47489:10:::1;:16:::0;47431:80::o;33967:208::-;34039:7;-1:-1:-1;;;;;34067:19:0;;34059:74;;;;-1:-1:-1;;;34059:74:0;;10378:2:1;34059:74:0;;;10360:21:1;10417:2;10397:18;;;10390:30;10456:34;10436:18;;;10429:62;-1:-1:-1;;;10507:18:1;;;10500:40;10557:19;;34059:74:0;10176:406:1;34059:74:0;-1:-1:-1;;;;;;34151:16:0;;;;;:9;:16;;;;;;;33967:208::o;30979:94::-;30401:6;;-1:-1:-1;;;;;30401:6:0;8741:10;30548:23;30540:68;;;;-1:-1:-1;;;30540:68:0;;;;;;;:::i;:::-;31044:21:::1;31062:1;31044:9;:21::i;:::-;30979:94::o:0;34712:104::-;34768:13;34801:7;34794:14;;;;;:::i;46666:481::-;13753:1;14349:7;;:19;;14341:63;;;;-1:-1:-1;;;14341:63:0;;14657:2:1;14341:63:0;;;14639:21:1;14696:2;14676:18;;;14669:30;14735:33;14715:18;;;14708:61;14786:18;;14341:63:0;14455:355:1;14341:63:0;13753:1;14482:7;:18;46752:20:::1;::::0;::::1;;46744:46;;;::::0;-1:-1:-1;;;46744:46:0;;14315:2:1;46744:46:0::1;::::0;::::1;14297:21:1::0;14354:2;14334:18;;;14327:30;-1:-1:-1;;;14373:18:1;;;14366:43;14426:18;;46744:46:0::1;14113:337:1::0;46744:46:0::1;46813:1;46805:5;:9;:24;;;;;46827:2;46818:5;:11;;46805:24;46797:68;;;::::0;-1:-1:-1;;;46797:68:0;;10018:2:1;46797:68:0::1;::::0;::::1;10000:21:1::0;10057:2;10037:18;;;10030:30;10096:33;10076:18;;;10069:61;10147:18;;46797:68:0::1;9816:355:1::0;46797:68:0::1;46913:10;;46880:30;46890:19;:9;9761:14:::0;;9669:114;46890:19:::1;46880:5:::0;;:9:::1;:30::i;:::-;:43;46872:74;;;::::0;-1:-1:-1;;;46872:74:0;;11199:2:1;46872:74:0::1;::::0;::::1;11181:21:1::0;11238:2;11218:18;;;11211:30;-1:-1:-1;;;11257:18:1;;;11250:48;11315:18;;46872:74:0::1;10997:342:1::0;46872:74:0::1;46972:10;46961:7;30401:6:::0;;-1:-1:-1;;;;;30401:6:0;;30328:87;46961:7:::1;-1:-1:-1::0;;;;;46961:21:0::1;;:58;;;-1:-1:-1::0;46999:9:0::1;::::0;:20:::1;::::0;47013:5;46999:13:::1;:20::i;:::-;46986:9;:33;;46961:58;46953:118;;;::::0;-1:-1:-1;;;46953:118:0;;11546:2:1;46953:118:0::1;::::0;::::1;11528:21:1::0;11585:2;11565:18;;;11558:30;11624:34;11604:18;;;11597:62;-1:-1:-1;;;11675:18:1;;;11668:33;11718:19;;46953:118:0::1;11344:399:1::0;46953:118:0::1;47082:6;47078:64;47094:5;47092:1;:7;47078:64;;;47116:17;47122:10;47116:5;:17::i;:::-;-1:-1:-1::0;47101:3:0;::::1;::::0;::::1;:::i;:::-;;;;47078:64;;;-1:-1:-1::0;;13709:1:0;14661:7;:22;46666:481::o;36397:295::-;-1:-1:-1;;;;;36500:24:0;;8741:10;36500:24;;36492:62;;;;-1:-1:-1;;;36492:62:0;;8826:2:1;36492:62:0;;;8808:21:1;8865:2;8845:18;;;8838:30;8904:27;8884:18;;;8877:55;8949:18;;36492:62:0;8624:349:1;36492:62:0;8741:10;36567:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;36567:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;36567:53:0;;;;;;;;;;36636:48;;6760:41:1;;;36567:42:0;;8741:10;36636:48;;6733:18:1;36636:48:0;;;;;;;36397:295;;:::o;37660:328::-;37835:41;8741:10;37868:7;37835:18;:41::i;:::-;37827:103;;;;-1:-1:-1;;;37827:103:0;;;;;;;:::i;:::-;37941:39;37955:4;37961:2;37965:7;37974:5;37941:13;:39::i;:::-;37660:328;;;;:::o;47755:111::-;30401:6;;-1:-1:-1;;;;;30401:6:0;8741:10;30548:23;30540:68;;;;-1:-1:-1;;;30540:68:0;;;;;;;:::i;:::-;30401:6;;47812:48:::1;::::0;-1:-1:-1;;;;;30401:6:0;;;;47838:21:::1;47812:48:::0;::::1;;;::::0;::::1;::::0;;;47838:21;30401:6;47812:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;47755:111::o:0;48628:177::-;48694:13;48747;48762:26;48779:8;48762:16;:26::i;:::-;48730:68;;;;;;;;;:::i;:::-;;;;;;;;;;;;;48716:83;;48628:177;;;:::o;46085:77::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;31228:192::-;30401:6;;-1:-1:-1;;;;;30401:6:0;8741:10;30548:23;30540:68;;;;-1:-1:-1;;;30540:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;31317:22:0;::::1;31309:73;;;::::0;-1:-1:-1;;;31309:73:0;;7657:2:1;31309:73:0::1;::::0;::::1;7639:21:1::0;7696:2;7676:18;;;7669:30;7735:34;7715:18;;;7708:62;-1:-1:-1;;;7786:18:1;;;7779:36;7832:19;;31309:73:0::1;7455:402:1::0;31309:73:0::1;31393:19;31403:8;31393:9;:19::i;43480:174::-:0;43555:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;43555:29:0;-1:-1:-1;;;;;43555:29:0;;;;;;;;:24;;43609:23;43555:24;43609:14;:23::i;:::-;-1:-1:-1;;;;;43600:46:0;;;;;;;;;;;43480:174;;:::o;39792:348::-;39885:4;39587:16;;;:7;:16;;;;;;-1:-1:-1;;;;;39587:16:0;39902:73;;;;-1:-1:-1;;;39902:73:0;;9180:2:1;39902:73:0;;;9162:21:1;9219:2;9199:18;;;9192:30;9258:34;9238:18;;;9231:62;-1:-1:-1;;;9309:18:1;;;9302:42;9361:19;;39902:73:0;8978:408:1;39902:73:0;39986:13;40002:23;40017:7;40002:14;:23::i;:::-;39986:39;;40055:5;-1:-1:-1;;;;;40044:16:0;:7;-1:-1:-1;;;;;40044:16:0;;:51;;;;40088:7;-1:-1:-1;;;;;40064:31:0;:20;40076:7;40064:11;:20::i;:::-;-1:-1:-1;;;;;40064:31:0;;40044:51;:87;;;-1:-1:-1;;;;;;36884:25:0;;;36860:4;36884:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;40099:32;40036:96;39792:348;-1:-1:-1;;;;39792:348:0:o;42784:578::-;42943:4;-1:-1:-1;;;;;42916:31:0;:23;42931:7;42916:14;:23::i;:::-;-1:-1:-1;;;;;42916:31:0;;42908:85;;;;-1:-1:-1;;;42908:85:0;;13085:2:1;42908:85:0;;;13067:21:1;13124:2;13104:18;;;13097:30;13163:34;13143:18;;;13136:62;-1:-1:-1;;;13214:18:1;;;13207:39;13263:19;;42908:85:0;12883:405:1;42908:85:0;-1:-1:-1;;;;;43012:16:0;;43004:65;;;;-1:-1:-1;;;43004:65:0;;8421:2:1;43004:65:0;;;8403:21:1;8460:2;8440:18;;;8433:30;8499:34;8479:18;;;8472:62;-1:-1:-1;;;8550:18:1;;;8543:34;8594:19;;43004:65:0;8219:400:1;43004:65:0;43186:29;43203:1;43207:7;43186:8;:29::i;:::-;-1:-1:-1;;;;;43228:15:0;;;;;;:9;:15;;;;;:20;;43247:1;;43228:15;:20;;43247:1;;43228:20;:::i;:::-;;;;-1:-1:-1;;;;;;;43259:13:0;;;;;;:9;:13;;;;;:18;;43276:1;;43259:13;:18;;43276:1;;43259:18;:::i;:::-;;;;-1:-1:-1;;43288:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;43288:21:0;-1:-1:-1;;;;;43288:21:0;;;;;;;;;43327:27;;43288:16;;43327:27;;;;;;;42784:578;;;:::o;31430:173::-;31505:6;;;-1:-1:-1;;;;;31522:17:0;;;-1:-1:-1;;;;;;31522:17:0;;;;;;;31555:40;;31505:6;;;31522:17;31505:6;;31555:40;;31486:16;;31555:40;31475:128;31430:173;:::o;17462:98::-;17520:7;17547:5;17551:1;17547;:5;:::i;:::-;17540:12;17462:98;-1:-1:-1;;;17462:98:0:o;18200:::-;18258:7;18285:5;18289:1;18285;:5;:::i;48012:176::-;48065:7;48080:21;:9;9880:19;;9898:1;9880:19;;;9791:127;48080:21;48108:10;48121:19;:9;9761:14;;9669:114;48121:19;48108:32;;48147:17;48157:2;48161;48147:9;:17::i;38870:315::-;39027:28;39037:4;39043:2;39047:7;39027:9;:28::i;:::-;39074:48;39097:4;39103:2;39107:7;39116:5;39074:22;:48::i;:::-;39066:111;;;;-1:-1:-1;;;39066:111:0;;;;;;;:::i;21913:723::-;21969:13;22190:10;22186:53;;-1:-1:-1;;22217:10:0;;;;;;;;;;;;-1:-1:-1;;;22217:10:0;;;;;21913:723::o;22186:53::-;22264:5;22249:12;22305:78;22312:9;;22305:78;;22338:8;;;;:::i;:::-;;-1:-1:-1;22361:10:0;;-1:-1:-1;22369:2:0;22361:10;;:::i;:::-;;;22305:78;;;22393:19;22425:6;22415:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22415:17:0;;22393:39;;22443:154;22450:10;;22443:154;;22477:11;22487:1;22477:11;;:::i;:::-;;-1:-1:-1;22546:10:0;22554:2;22546:5;:10;:::i;:::-;22533:24;;:2;:24;:::i;:::-;22520:39;;22503:6;22510;22503:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;22503:56:0;;;;;;;;-1:-1:-1;22574:11:0;22583:2;22574:11;;:::i;:::-;;;22443:154;;40482:110;40558:26;40568:2;40572:7;40558:26;;;;;;;;;;;;:9;:26::i;44219:803::-;44374:4;-1:-1:-1;;;;;44395:13:0;;1271:20;1319:8;44391:624;;44431:72;;-1:-1:-1;;;44431:72:0;;-1:-1:-1;;;;;44431:36:0;;;;;:72;;8741:10;;44482:4;;44488:7;;44497:5;;44431:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44431:72:0;;;;;;;;-1:-1:-1;;44431:72:0;;;;;;;;;;;;:::i;:::-;;;44427:533;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44677:13:0;;44673:272;;44720:60;;-1:-1:-1;;;44720:60:0;;;;;;;:::i;44673:272::-;44895:6;44889:13;44880:6;44876:2;44872:15;44865:38;44427:533;-1:-1:-1;;;;;;44554:55:0;-1:-1:-1;;;44554:55:0;;-1:-1:-1;44547:62:0;;44391:624;-1:-1:-1;44999:4:0;44219:803;;;;;;:::o;40819:321::-;40949:18;40955:2;40959:7;40949:5;:18::i;:::-;41000:54;41031:1;41035:2;41039:7;41048:5;41000:22;:54::i;:::-;40978:154;;;;-1:-1:-1;;;40978:154:0;;;;;;;:::i;41476:382::-;-1:-1:-1;;;;;41556:16:0;;41548:61;;;;-1:-1:-1;;;41548:61:0;;11950:2:1;41548:61:0;;;11932:21:1;;;11969:18;;;11962:30;12028:34;12008:18;;;12001:62;12080:18;;41548:61:0;11748:356:1;41548:61:0;39563:4;39587:16;;;:7;:16;;;;;;-1:-1:-1;;;;;39587:16:0;:30;41620:58;;;;-1:-1:-1;;;41620:58:0;;8064:2:1;41620:58:0;;;8046:21:1;8103:2;8083:18;;;8076:30;8142;8122:18;;;8115:58;8190:18;;41620:58:0;7862:352:1;41620:58:0;-1:-1:-1;;;;;41749:13:0;;;;;;:9;:13;;;;;:18;;41766:1;;41749:13;:18;;41766:1;;41749:18;:::i;:::-;;;;-1:-1:-1;;41778:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;41778:21:0;-1:-1:-1;;;;;41778:21:0;;;;;;;;41817:33;;41778:16;;;41817:33;;41778:16;;41817:33;41476:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:1;;3858:180;-1:-1:-1;3858:180:1:o;4043:257::-;4084:3;4122:5;4116:12;4149:6;4144:3;4137:19;4165:63;4221:6;4214:4;4209:3;4205:14;4198:4;4191:5;4187:16;4165:63;:::i;:::-;4282:2;4261:15;-1:-1:-1;;4257:29:1;4248:39;;;;4289:4;4244:50;;4043:257;-1:-1:-1;;4043:257:1:o;4305:185::-;4347:3;4385:5;4379:12;4400:52;4445:6;4440:3;4433:4;4426:5;4422:16;4400:52;:::i;:::-;4468:16;;;;;4305:185;-1:-1:-1;;4305:185:1:o;4613:1301::-;4890:3;4919:1;4952:6;4946:13;4982:3;5004:1;5032:9;5028:2;5024:18;5014:28;;5092:2;5081:9;5077:18;5114;5104:61;;5158:4;5150:6;5146:17;5136:27;;5104:61;5184:2;5232;5224:6;5221:14;5201:18;5198:38;5195:165;;;-1:-1:-1;;;5259:33:1;;5315:4;5312:1;5305:15;5345:4;5266:3;5333:17;5195:165;5376:18;5403:104;;;;5521:1;5516:320;;;;5369:467;;5403:104;-1:-1:-1;;5436:24:1;;5424:37;;5481:16;;;;-1:-1:-1;5403:104:1;;5516:320;15070:1;15063:14;;;15107:4;15094:18;;5611:1;5625:165;5639:6;5636:1;5633:13;5625:165;;;5717:14;;5704:11;;;5697:35;5760:16;;;;5654:10;;5625:165;;;5629:3;;5819:6;5814:3;5810:16;5803:23;;5369:467;;;;;;;5852:56;5877:30;5903:3;5895:6;5877:30;:::i;:::-;-1:-1:-1;;;4555:20:1;;4600:1;4591:11;;4495:113;5852:56;5845:63;4613:1301;-1:-1:-1;;;;;4613:1301:1:o;6127:488::-;-1:-1:-1;;;;;6396:15:1;;;6378:34;;6448:15;;6443:2;6428:18;;6421:43;6495:2;6480:18;;6473:34;;;6543:3;6538:2;6523:18;;6516:31;;;6321:4;;6564:45;;6589:19;;6581:6;6564:45;:::i;:::-;6556:53;6127:488;-1:-1:-1;;;;;;6127:488:1:o;6812:219::-;6961:2;6950:9;6943:21;6924:4;6981:44;7021:2;7010:9;7006:18;6998:6;6981:44;:::i;7036:414::-;7238:2;7220:21;;;7277:2;7257:18;;;7250:30;7316:34;7311:2;7296:18;;7289:62;-1:-1:-1;;;7382:2:1;7367:18;;7360:48;7440:3;7425:19;;7036:414::o;12522:356::-;12724:2;12706:21;;;12743:18;;;12736:30;12802:34;12797:2;12782:18;;12775:62;12869:2;12854:18;;12522:356::o;13695:413::-;13897:2;13879:21;;;13936:2;13916:18;;;13909:30;13975:34;13970:2;13955:18;;13948:62;-1:-1:-1;;;14041:2:1;14026:18;;14019:47;14098:3;14083:19;;13695:413::o;15123:128::-;15163:3;15194:1;15190:6;15187:1;15184:13;15181:39;;;15200:18;;:::i;:::-;-1:-1:-1;15236:9:1;;15123:128::o;15256:120::-;15296:1;15322;15312:35;;15327:18;;:::i;:::-;-1:-1:-1;15361:9:1;;15256:120::o;15381:168::-;15421:7;15487:1;15483;15479:6;15475:14;15472:1;15469:21;15464:1;15457:9;15450:17;15446:45;15443:71;;;15494:18;;:::i;:::-;-1:-1:-1;15534:9:1;;15381:168::o;15554:125::-;15594:4;15622:1;15619;15616:8;15613:34;;;15627:18;;:::i;:::-;-1:-1:-1;15664:9:1;;15554:125::o;15684:258::-;15756:1;15766:113;15780:6;15777:1;15774:13;15766:113;;;15856:11;;;15850:18;15837:11;;;15830:39;15802:2;15795:10;15766:113;;;15897:6;15894:1;15891:13;15888:48;;;-1:-1:-1;;15932:1:1;15914:16;;15907:27;15684:258::o;15947:380::-;16026:1;16022:12;;;;16069;;;16090:61;;16144:4;16136:6;16132:17;16122:27;;16090:61;16197:2;16189:6;16186:14;16166:18;16163:38;16160:161;;;16243:10;16238:3;16234:20;16231:1;16224:31;16278:4;16275:1;16268:15;16306:4;16303:1;16296:15;16160:161;;15947:380;;;:::o;16332:135::-;16371:3;-1:-1:-1;;16392:17:1;;16389:43;;;16412:18;;:::i;:::-;-1:-1:-1;16459:1:1;16448:13;;16332:135::o;16472:112::-;16504:1;16530;16520:35;;16535:18;;:::i;:::-;-1:-1:-1;16569:9:1;;16472:112::o;16589:127::-;16650:10;16645:3;16641:20;16638:1;16631:31;16681:4;16678:1;16671:15;16705:4;16702:1;16695:15;16721:127;16782:10;16777:3;16773:20;16770:1;16763:31;16813:4;16810:1;16803:15;16837:4;16834:1;16827:15;16853:127;16914:10;16909:3;16905:20;16902:1;16895:31;16945:4;16942:1;16935:15;16969:4;16966:1;16959:15;16985:127;17046:10;17041:3;17037:20;17034:1;17027:31;17077:4;17074:1;17067:15;17101:4;17098:1;17091:15;17117:131;-1:-1:-1;;;;;;17191:32:1;;17181:43;;17171:71;;17238:1;17235;17228:12

Swarm Source

ipfs://57fabff10318b4397b5d7e83acfdee4913da6d048430470a6ba833bce4cfc7d6
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.