Address io12h9u098h2alr66mc0sq55cru8ymnvvhtgnx4sv

Contract Overview

Balance:
0 IOTX

IOTX Value:
$ 0

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
1a85300d27c60ed12685b924a47d3ee14cfc1573e4534e019fc8bcf3bed24a90 24095397 2023-06-07 23:03:25 +0000 UTC 11 months ago io1ulrfdvduy9x40n7j468cg5wlj44efc8qanhga9  IN    Contract: TheIotexsons 0 IOTX 0.085776
ada3af42806d816fdd2d7360a1a4918f5ea5796a0ddd7c9539f7c43251e4b88c 24095393 2023-06-07 23:03:05 +0000 UTC 11 months ago io1ulrfdvduy9x40n7j468cg5wlj44efc8qanhga9  IN    Contract: TheIotexsons 0 IOTX 0.096231
7e57baa7b8f2e3fcf149ca315047eae95c1370faca80464d8a6f52e41315a6ea 24095343 2023-06-07 22:58:55 +0000 UTC 11 months ago io1ulrfdvduy9x40n7j468cg5wlj44efc8qanhga9  IN    Contract: TheIotexsons 0 IOTX 0.083931
1a25f10a2bedb44311ba85bcfeb77552f5ff4d033a99077c01f602a16e669daf 24095341 2023-06-07 22:58:45 +0000 UTC 11 months ago io1ulrfdvduy9x40n7j468cg5wlj44efc8qanhga9  IN    Contract: TheIotexsons 0 IOTX 0.083931
bd5c760c6da2e3e461866a708a3bedd3a1262921911460d23d59e633170604ac 24095025 2023-06-07 22:32:25 +0000 UTC 11 months ago io1ulrfdvduy9x40n7j468cg5wlj44efc8qanhga9  IN    Contract: TheIotexsons 0 IOTX 0.083931
0c732be82ca2861207bc91586b1fa2236258d60639a313f8c2601865631f69ea 24095022 2023-06-07 22:32:10 +0000 UTC 11 months ago io1ulrfdvduy9x40n7j468cg5wlj44efc8qanhga9  IN    Contract: TheIotexsons 0 IOTX 0.085776
16257072e4c276db3df4a0390bd6b68219233a24e65f45d9be48475a3901c34b 21516733 2023-01-09 11:11:30 +0000 UTC one year ago io1jmsa2etmcjd7scadk8w54gzajzl54qt8n8sefk  IN    Contract: TheIotexsons 0 IOTX 0.069732
f7041fa5826da23283a609079c25e14faf1c9822da54a9a1afd6f5942de5b261 21516724 2023-01-09 11:10:45 +0000 UTC one year ago io1jmsa2etmcjd7scadk8w54gzajzl54qt8n8sefk  IN    Contract: TheIotexsons 0 IOTX 0.069732
60442a53031195ddeb3436fe10011bab64a8ba41e0bedd4cd6557adb840bf5d6 18437068 2022-07-14 21:39:40 +0000 UTC 2 years ago io1hpdsx8cuzewx004xudcy5d38g25kx7kwr4p0tp  IN    Contract: TheIotexsons 0 IOTX 0.064476
10161081fe35171661eae8fc049b548f9a286edc322e5b09f67a60820a4a32d8 17478012 2022-05-20 06:35:25 +0000 UTC 2 years ago io1td70c7rhhrrzfgw6smf46qg059dfp4np8hr9kr  IN    Contract: TheIotexsons 0 IOTX 0.075731
4eb09d1dc58f88b17aaa46401774b0b212b7f6564c5cb8f4d7139dc67427782b 16633145 2022-04-01 07:11:05 +0000 UTC 2 years ago io1x2z6gzh676qa4snv43wh0f66r7mstx9wdspywt  IN    Contract: TheIotexsons 0 IOTX 0.068676
a50c1f555f9f1bd4f356bc70b45900e841171f1106199061b9ea2bc4ebcdc035 16606619 2022-03-30 18:18:05 +0000 UTC 2 years ago io14g97mxl4lmuyhsdke32y6zg3rew5895w0ry696  IN    Contract: TheIotexsons 500 IOTX 0.015214
7133b79cee23c40983a685f6a52a53166770b3cd899a866e11a0661c8389a08b 16602046 2022-03-30 11:56:35 +0000 UTC 2 years ago io1zw4a8e99rcdq9kkwpt8depumjfy7cq4mkfq066  IN    Contract: TheIotexsons 0 IOTX 0.068676
754039b27e682e3a618a89bc7f660ee0ae1e80b151ac12fdf863388337b54ddf 16600679 2022-03-30 10:02:40 +0000 UTC 2 years ago io14g97mxl4lmuyhsdke32y6zg3rew5895w0ry696  IN    Contract: TheIotexsons 250 IOTX 0.015214
5890d311de1356fe49f96f66cb73562ace6281805ded21484a358323754fb51e 16600636 2022-03-30 09:59:05 +0000 UTC 2 years ago io14g97mxl4lmuyhsdke32y6zg3rew5895w0ry696  IN    Contract: TheIotexsons 500 IOTX 0.015214
ed1570f695f036552b1c280e155510bf751120943e4bb6e34feec34eb96277eb 16600596 2022-03-30 09:55:45 +0000 UTC 2 years ago io14g97mxl4lmuyhsdke32y6zg3rew5895w0ry696  IN    Contract: TheIotexsons 500 IOTX 0.015214
67832870437de22a0a7d60f704524d89c660d695de0e1b2a17c4459e1850aa7d 16600564 2022-03-30 09:53:05 +0000 UTC 2 years ago io14g97mxl4lmuyhsdke32y6zg3rew5895w0ry696  IN    Contract: TheIotexsons 500 IOTX 0.015214
9c851af78b21f1d559e2cc2003983ab84fc4ca32c6bb174734f48ad173b524e7 16596058 2022-03-30 03:21:55 +0000 UTC 2 years ago io1x2z6gzh676qa4snv43wh0f66r7mstx9wdspywt  IN    Contract: TheIotexsons 0 IOTX 0.020888
5d024bafbb211315a7f2260d2c3022ea307ea6011a183a8c6b8f0e9b08edfed7 16596057 2022-03-30 03:21:50 +0000 UTC 2 years ago io1x2z6gzh676qa4snv43wh0f66r7mstx9wdspywt  IN    Contract: TheIotexsons 0 IOTX 0.028697
485fd8b1ca247b13ca98f54429109e54f2bd0bed6490e5bdde6ffb0176398f5d 16564891 2022-03-28 08:03:45 +0000 UTC 2 years ago io1tpsz8t5wkrwwhckr3mv7gaka6uha2hw0lnur5r  IN    Contract: TheIotexsons 250 IOTX 0.157276
260f5994049cedebbd11ba83efd98ebc591dc8173852842fd213cf4c214e0ddf 16552681 2022-03-27 15:05:45 +0000 UTC 2 years ago io1x2z6gzh676qa4snv43wh0f66r7mstx9wdspywt  IN    Contract: TheIotexsons 0 IOTX 0.028697
152d1565ebcd58a1c6545418cf2c9e2c16ea9d9182034caeb46049c46194ee82 16544439 2022-03-27 03:35:10 +0000 UTC 2 years ago io1p2leascsqxdjaq8s9yn3cvvrh9m365wnl8r8yr  IN    Contract: TheIotexsons 250 IOTX 0.146476
fc5224f56daf472d13affab7237a4c9332e4aa6bf50273ff44679835b70809d4 16544410 2022-03-27 03:32:45 +0000 UTC 2 years ago io1p2leascsqxdjaq8s9yn3cvvrh9m365wnl8r8yr  IN    Contract: TheIotexsons 250 IOTX 0.146476
281d17e0748c49f85b793d9509d29f5724e8512e374ec5e11046876ad679c6ab 16544286 2022-03-27 03:22:25 +0000 UTC 2 years ago io1p2leascsqxdjaq8s9yn3cvvrh9m365wnl8r8yr  IN    Contract: TheIotexsons 250 IOTX 0.146476
f9cd97d21d6779385fe92b2f2534c71277bd2b23de923b56c79522d5676a81dd 16544277 2022-03-27 03:21:40 +0000 UTC 2 years ago io1p2leascsqxdjaq8s9yn3cvvrh9m365wnl8r8yr  IN    Contract: TheIotexsons 250 IOTX 0.146476
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TheIotexsons

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: new1.sol

//SPDX-License-Identifier: MIT

pragma solidity >=0.7.0 <0.9.0;




contract TheIotexsons is ERC721Enumerable, Ownable {
  using Strings for uint256;

  string public baseURI;
  string public baseExtension = ".json";
  string public notRevealedUri;
  uint256 public cost = 0.0079625 ether;
  uint256 public maxSupply = 5000;
  uint256 public nftPerAddressLimit = 1000;
  bool public paused = true;
  bool public revealed = true;
  mapping(address => uint256) public addressMintedBalance;
  address payable private devguy = payable(0x7518ff412a3370A9014256488bF616f80DfdeFd6);
  constructor() ERC721("The Iotexsons", "TIOS") {}

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

  // public mint
  function mint(uint256 _mintAmount) public payable {
    require(!paused, "the mint is paused");
    uint256 supply = totalSupply();
    //require(_mintAmount > 0, "need to mint at least 1 NFT");
    require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded");

    if (msg.sender != owner()) {
        require(addressMintedBalance[msg.sender] + _mintAmount <= nftPerAddressLimit, "max NFT per address exceeded");
        require(msg.value >= cost * _mintAmount, "insufficient funds");
    }
    
    for (uint256 i = 1; i <= _mintAmount; i++) {
      addressMintedBalance[msg.sender]++;
      _safeMint(msg.sender, supply + i);
    }
  }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory tokenIds = new uint256[](ownerTokenCount);
    for (uint256 i; i < ownerTokenCount; i++) {
      tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
    }
    return tokenIds;
  }

  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );
    
    if(revealed == false) {
        return notRevealedUri;
    }

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

  //only owner
  function reveal() public onlyOwner {
      revealed = true;
  }
  
  function setNftPerAddressLimit(uint256 _limit) public onlyOwner {
    nftPerAddressLimit = _limit;
  }
  
  function setCost(uint256 _newCost) public onlyOwner {
    cost = _newCost;
  }

  function setBaseURI(string memory _newBaseURI) public onlyOwner {
    baseURI = _newBaseURI;
  }

  function setBaseExtension(string memory _newBaseExtension) public onlyOwner {
    baseExtension = _newBaseExtension;
  }
  
  function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
    notRevealedUri = _notRevealedURI;
  }

  function pause(bool _state) public onlyOwner {
    paused = _state;
  }
 
  function withdraw() external onlyOwner {
    uint part = address(this).balance / 100 * 50;
    devguy.transfer(part);
   
    payable(owner()).transfer(address(this).balance);
  }
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","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":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Contract Creation Code

6080604052600436106102255760003560e01c80636352211e11610123578063b88d4fde116100ab578063d5abeb011161006f578063d5abeb01146107fa578063da3ef23f14610825578063e985e9c51461084e578063f2c4ce1e1461088b578063f2fde38b146108b457610225565b8063b88d4fde14610715578063ba7d2c761461073e578063c668286214610769578063c87b56dd14610794578063d0eb26b0146107d157610225565b80638da5cb5b116100f25780638da5cb5b1461066357806395d89b411461068e578063a0712d68146106b9578063a22cb465146106d5578063a475b5dd146106fe57610225565b80636352211e146105a75780636c0360eb146105e457806370a082311461060f578063715018a61461064c57610225565b806323b872dd116101b157806344a0d68a1161017557806344a0d68a146104c25780634f6ccce7146104eb578063518302271461052857806355f804b3146105535780635c975abb1461057c57610225565b806323b872dd146103df5780632f745c59146104085780633ccfd60b1461044557806342842e0e1461045c578063438b63001461048557610225565b8063081c8c44116101f8578063081c8c44146102f8578063095ea7b31461032357806313faede61461034c57806318160ddd1461037757806318cae269146103a257610225565b806301ffc9a71461022a57806302329a291461026757806306fdde0314610290578063081812fc146102bb575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906133a6565b6108dd565b60405161025e9190613a06565b60405180910390f35b34801561027357600080fd5b5061028e60048036038101906102899190613379565b610957565b005b34801561029c57600080fd5b506102a56109f0565b6040516102b29190613a21565b60405180910390f35b3480156102c757600080fd5b506102e260048036038101906102dd9190613449565b610a82565b6040516102ef919061397d565b60405180910390f35b34801561030457600080fd5b5061030d610b07565b60405161031a9190613a21565b60405180910390f35b34801561032f57600080fd5b5061034a60048036038101906103459190613339565b610b95565b005b34801561035857600080fd5b50610361610cad565b60405161036e9190613d03565b60405180910390f35b34801561038357600080fd5b5061038c610cb3565b6040516103999190613d03565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c491906131b6565b610cc0565b6040516103d69190613d03565b60405180910390f35b3480156103eb57600080fd5b5061040660048036038101906104019190613223565b610cd8565b005b34801561041457600080fd5b5061042f600480360381019061042a9190613339565b610d38565b60405161043c9190613d03565b60405180910390f35b34801561045157600080fd5b5061045a610ddd565b005b34801561046857600080fd5b50610483600480360381019061047e9190613223565b610f30565b005b34801561049157600080fd5b506104ac60048036038101906104a791906131b6565b610f50565b6040516104b991906139e4565b60405180910390f35b3480156104ce57600080fd5b506104e960048036038101906104e49190613449565b610ffe565b005b3480156104f757600080fd5b50610512600480360381019061050d9190613449565b611084565b60405161051f9190613d03565b60405180910390f35b34801561053457600080fd5b5061053d6110f5565b60405161054a9190613a06565b60405180910390f35b34801561055f57600080fd5b5061057a60048036038101906105759190613400565b611108565b005b34801561058857600080fd5b5061059161119e565b60405161059e9190613a06565b60405180910390f35b3480156105b357600080fd5b506105ce60048036038101906105c99190613449565b6111b1565b6040516105db919061397d565b60405180910390f35b3480156105f057600080fd5b506105f9611263565b6040516106069190613a21565b60405180910390f35b34801561061b57600080fd5b50610636600480360381019061063191906131b6565b6112f1565b6040516106439190613d03565b60405180910390f35b34801561065857600080fd5b506106616113a9565b005b34801561066f57600080fd5b50610678611431565b604051610685919061397d565b60405180910390f35b34801561069a57600080fd5b506106a361145b565b6040516106b09190613a21565b60405180910390f35b6106d360048036038101906106ce9190613449565b6114ed565b005b3480156106e157600080fd5b506106fc60048036038101906106f791906132f9565b611743565b005b34801561070a57600080fd5b50610713611759565b005b34801561072157600080fd5b5061073c60048036038101906107379190613276565b6117f2565b005b34801561074a57600080fd5b50610753611854565b6040516107609190613d03565b60405180910390f35b34801561077557600080fd5b5061077e61185a565b60405161078b9190613a21565b60405180910390f35b3480156107a057600080fd5b506107bb60048036038101906107b69190613449565b6118e8565b6040516107c89190613a21565b60405180910390f35b3480156107dd57600080fd5b506107f860048036038101906107f39190613449565b611a41565b005b34801561080657600080fd5b5061080f611ac7565b60405161081c9190613d03565b60405180910390f35b34801561083157600080fd5b5061084c60048036038101906108479190613400565b611acd565b005b34801561085a57600080fd5b50610875600480360381019061087091906131e3565b611b63565b6040516108829190613a06565b60405180910390f35b34801561089757600080fd5b506108b260048036038101906108ad9190613400565b611bf7565b005b3480156108c057600080fd5b506108db60048036038101906108d691906131b6565b611c8d565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610950575061094f82611d85565b5b9050919050565b61095f611e67565b73ffffffffffffffffffffffffffffffffffffffff1661097d611431565b73ffffffffffffffffffffffffffffffffffffffff16146109d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ca90613c03565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b6060600080546109ff90614001565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2b90614001565b8015610a785780601f10610a4d57610100808354040283529160200191610a78565b820191906000526020600020905b815481529060010190602001808311610a5b57829003601f168201915b5050505050905090565b6000610a8d82611e6f565b610acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac390613be3565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600d8054610b1490614001565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4090614001565b8015610b8d5780601f10610b6257610100808354040283529160200191610b8d565b820191906000526020600020905b815481529060010190602001808311610b7057829003601f168201915b505050505081565b6000610ba0826111b1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0890613c63565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c30611e67565b73ffffffffffffffffffffffffffffffffffffffff161480610c5f5750610c5e81610c59611e67565b611b63565b5b610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9590613b43565b60405180910390fd5b610ca88383611edb565b505050565b600e5481565b6000600880549050905090565b60126020528060005260406000206000915090505481565b610ce9610ce3611e67565b82611f94565b610d28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1f90613cc3565b60405180910390fd5b610d33838383612072565b505050565b6000610d43836112f1565b8210610d84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7b90613a43565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610de5611e67565b73ffffffffffffffffffffffffffffffffffffffff16610e03611431565b73ffffffffffffffffffffffffffffffffffffffff1614610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5090613c03565b60405180910390fd5b60006032606447610e6a9190613e8c565b610e749190613ebd565b9050601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610ede573d6000803e3d6000fd5b50610ee7611431565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f2c573d6000803e3d6000fd5b5050565b610f4b838383604051806020016040528060008152506117f2565b505050565b60606000610f5d836112f1565b905060008167ffffffffffffffff811115610f7b57610f7a6141c9565b5b604051908082528060200260200182016040528015610fa95781602001602082028036833780820191505090505b50905060005b82811015610ff357610fc18582610d38565b828281518110610fd457610fd361419a565b5b6020026020010181815250508080610feb90614064565b915050610faf565b508092505050919050565b611006611e67565b73ffffffffffffffffffffffffffffffffffffffff16611024611431565b73ffffffffffffffffffffffffffffffffffffffff161461107a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107190613c03565b60405180910390fd5b80600e8190555050565b600061108e610cb3565b82106110cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c690613ce3565b60405180910390fd5b600882815481106110e3576110e261419a565b5b90600052602060002001549050919050565b601160019054906101000a900460ff1681565b611110611e67565b73ffffffffffffffffffffffffffffffffffffffff1661112e611431565b73ffffffffffffffffffffffffffffffffffffffff1614611184576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117b90613c03565b60405180910390fd5b80600b908051906020019061119a929190612fca565b5050565b601160009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561125a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125190613b83565b60405180910390fd5b80915050919050565b600b805461127090614001565b80601f016020809104026020016040519081016040528092919081815260200182805461129c90614001565b80156112e95780601f106112be576101008083540402835291602001916112e9565b820191906000526020600020905b8154815290600101906020018083116112cc57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611362576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135990613b63565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113b1611e67565b73ffffffffffffffffffffffffffffffffffffffff166113cf611431565b73ffffffffffffffffffffffffffffffffffffffff1614611425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141c90613c03565b60405180910390fd5b61142f60006122ce565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461146a90614001565b80601f016020809104026020016040519081016040528092919081815260200182805461149690614001565b80156114e35780601f106114b8576101008083540402835291602001916114e3565b820191906000526020600020905b8154815290600101906020018083116114c657829003601f168201915b5050505050905090565b601160009054906101000a900460ff161561153d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153490613c83565b60405180910390fd5b6000611547610cb3565b9050600f5482826115589190613e36565b1115611599576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159090613ba3565b60405180910390fd5b6115a1611431565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146116b35760105482601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116219190613e36565b1115611662576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165990613ac3565b60405180910390fd5b81600e546116709190613ebd565b3410156116b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a990613ca3565b60405180910390fd5b5b6000600190505b82811161173e57601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061171190614064565b919050555061172b3382846117269190613e36565b612394565b808061173690614064565b9150506116ba565b505050565b61175561174e611e67565b83836123b2565b5050565b611761611e67565b73ffffffffffffffffffffffffffffffffffffffff1661177f611431565b73ffffffffffffffffffffffffffffffffffffffff16146117d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cc90613c03565b60405180910390fd5b6001601160016101000a81548160ff021916908315150217905550565b6118036117fd611e67565b83611f94565b611842576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183990613cc3565b60405180910390fd5b61184e8484848461251f565b50505050565b60105481565b600c805461186790614001565b80601f016020809104026020016040519081016040528092919081815260200182805461189390614001565b80156118e05780601f106118b5576101008083540402835291602001916118e0565b820191906000526020600020905b8154815290600101906020018083116118c357829003601f168201915b505050505081565b60606118f382611e6f565b611932576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192990613c43565b60405180910390fd5b60001515601160019054906101000a900460ff16151514156119e057600d805461195b90614001565b80601f016020809104026020016040519081016040528092919081815260200182805461198790614001565b80156119d45780601f106119a9576101008083540402835291602001916119d4565b820191906000526020600020905b8154815290600101906020018083116119b757829003601f168201915b50505050509050611a3c565b60006119ea61257b565b90506000815111611a0a5760405180602001604052806000815250611a38565b80611a148461260d565b600c604051602001611a289392919061394c565b6040516020818303038152906040525b9150505b919050565b611a49611e67565b73ffffffffffffffffffffffffffffffffffffffff16611a67611431565b73ffffffffffffffffffffffffffffffffffffffff1614611abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab490613c03565b60405180910390fd5b8060108190555050565b600f5481565b611ad5611e67565b73ffffffffffffffffffffffffffffffffffffffff16611af3611431565b73ffffffffffffffffffffffffffffffffffffffff1614611b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4090613c03565b60405180910390fd5b80600c9080519060200190611b5f929190612fca565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611bff611e67565b73ffffffffffffffffffffffffffffffffffffffff16611c1d611431565b73ffffffffffffffffffffffffffffffffffffffff1614611c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6a90613c03565b60405180910390fd5b80600d9080519060200190611c89929190612fca565b5050565b611c95611e67565b73ffffffffffffffffffffffffffffffffffffffff16611cb3611431565b73ffffffffffffffffffffffffffffffffffffffff1614611d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0090613c03565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7090613a83565b60405180910390fd5b611d82816122ce565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e5057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e605750611e5f8261276e565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f4e836111b1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f9f82611e6f565b611fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd590613b23565b60405180910390fd5b6000611fe9836111b1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061205857508373ffffffffffffffffffffffffffffffffffffffff1661204084610a82565b73ffffffffffffffffffffffffffffffffffffffff16145b8061206957506120688185611b63565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612092826111b1565b73ffffffffffffffffffffffffffffffffffffffff16146120e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120df90613c23565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214f90613ae3565b60405180910390fd5b6121638383836127d8565b61216e600082611edb565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121be9190613f17565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122159190613e36565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123ae8282604051806020016040528060008152506128ec565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612421576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241890613b03565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125129190613a06565b60405180910390a3505050565b61252a848484612072565b61253684848484612947565b612575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256c90613a63565b60405180910390fd5b50505050565b6060600b805461258a90614001565b80601f01602080910402602001604051908101604052809291908181526020018280546125b690614001565b80156126035780601f106125d857610100808354040283529160200191612603565b820191906000526020600020905b8154815290600101906020018083116125e657829003601f168201915b5050505050905090565b60606000821415612655576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612769565b600082905060005b6000821461268757808061267090614064565b915050600a826126809190613e8c565b915061265d565b60008167ffffffffffffffff8111156126a3576126a26141c9565b5b6040519080825280601f01601f1916602001820160405280156126d55781602001600182028036833780820191505090505b5090505b60008514612762576001826126ee9190613f17565b9150600a856126fd91906140ad565b60306127099190613e36565b60f81b81838151811061271f5761271e61419a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561275b9190613e8c565b94506126d9565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6127e3838383612ade565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128265761282181612ae3565b612865565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612864576128638382612b2c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128a8576128a381612c99565b6128e7565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146128e6576128e58282612d6a565b5b5b505050565b6128f68383612de9565b6129036000848484612947565b612942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293990613a63565b60405180910390fd5b505050565b60006129688473ffffffffffffffffffffffffffffffffffffffff16612fb7565b15612ad1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612991611e67565b8786866040518563ffffffff1660e01b81526004016129b39493929190613998565b602060405180830381600087803b1580156129cd57600080fd5b505af19250505080156129fe57506040513d601f19601f820116820180604052508101906129fb91906133d3565b60015b612a81573d8060008114612a2e576040519150601f19603f3d011682016040523d82523d6000602084013e612a33565b606091505b50600081511415612a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7090613a63565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ad6565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612b39846112f1565b612b439190613f17565b9050600060076000848152602001908152602001600020549050818114612c28576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612cad9190613f17565b9050600060096000848152602001908152602001600020549050600060088381548110612cdd57612cdc61419a565b5b906000526020600020015490508060088381548110612cff57612cfe61419a565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612d4e57612d4d61416b565b5b6001900381819060005260206000200160009055905550505050565b6000612d75836112f1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5090613bc3565b60405180910390fd5b612e6281611e6f565b15612ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9990613aa3565b60405180910390fd5b612eae600083836127d8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612efe9190613e36565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612fd690614001565b90600052602060002090601f016020900481019282612ff8576000855561303f565b82601f1061301157805160ff191683800117855561303f565b8280016001018555821561303f579182015b8281111561303e578251825591602001919060010190613023565b5b50905061304c9190613050565b5090565b5b80821115613069576000816000905550600101613051565b5090565b600061308061307b84613d43565b613d1e565b90508281526020810184848401111561309c5761309b6141fd565b5b6130a7848285613fbf565b509392505050565b60006130c26130bd84613d74565b613d1e565b9050828152602081018484840111156130de576130dd6141fd565b5b6130e9848285613fbf565b509392505050565b600081359050613100816147b7565b92915050565b600081359050613115816147ce565b92915050565b60008135905061312a816147e5565b92915050565b60008151905061313f816147e5565b92915050565b600082601f83011261315a576131596141f8565b5b813561316a84826020860161306d565b91505092915050565b600082601f830112613188576131876141f8565b5b81356131988482602086016130af565b91505092915050565b6000813590506131b0816147fc565b92915050565b6000602082840312156131cc576131cb614207565b5b60006131da848285016130f1565b91505092915050565b600080604083850312156131fa576131f9614207565b5b6000613208858286016130f1565b9250506020613219858286016130f1565b9150509250929050565b60008060006060848603121561323c5761323b614207565b5b600061324a868287016130f1565b935050602061325b868287016130f1565b925050604061326c868287016131a1565b9150509250925092565b600080600080608085870312156132905761328f614207565b5b600061329e878288016130f1565b94505060206132af878288016130f1565b93505060406132c0878288016131a1565b925050606085013567ffffffffffffffff8111156132e1576132e0614202565b5b6132ed87828801613145565b91505092959194509250565b600080604083850312156133105761330f614207565b5b600061331e858286016130f1565b925050602061332f85828601613106565b9150509250929050565b600080604083850312156133505761334f614207565b5b600061335e858286016130f1565b925050602061336f858286016131a1565b9150509250929050565b60006020828403121561338f5761338e614207565b5b600061339d84828501613106565b91505092915050565b6000602082840312156133bc576133bb614207565b5b60006133ca8482850161311b565b91505092915050565b6000602082840312156133e9576133e8614207565b5b60006133f784828501613130565b91505092915050565b60006020828403121561341657613415614207565b5b600082013567ffffffffffffffff81111561343457613433614202565b5b61344084828501613173565b91505092915050565b60006020828403121561345f5761345e614207565b5b600061346d848285016131a1565b91505092915050565b6000613482838361392e565b60208301905092915050565b61349781613f4b565b82525050565b60006134a882613dca565b6134b28185613df8565b93506134bd83613da5565b8060005b838110156134ee5781516134d58882613476565b97506134e083613deb565b9250506001810190506134c1565b5085935050505092915050565b61350481613f5d565b82525050565b600061351582613dd5565b61351f8185613e09565b935061352f818560208601613fce565b6135388161420c565b840191505092915050565b600061354e82613de0565b6135588185613e1a565b9350613568818560208601613fce565b6135718161420c565b840191505092915050565b600061358782613de0565b6135918185613e2b565b93506135a1818560208601613fce565b80840191505092915050565b600081546135ba81614001565b6135c48186613e2b565b945060018216600081146135df57600181146135f057613623565b60ff19831686528186019350613623565b6135f985613db5565b60005b8381101561361b578154818901526001820191506020810190506135fc565b838801955050505b50505092915050565b6000613639602b83613e1a565b91506136448261421d565b604082019050919050565b600061365c603283613e1a565b91506136678261426c565b604082019050919050565b600061367f602683613e1a565b915061368a826142bb565b604082019050919050565b60006136a2601c83613e1a565b91506136ad8261430a565b602082019050919050565b60006136c5601c83613e1a565b91506136d082614333565b602082019050919050565b60006136e8602483613e1a565b91506136f38261435c565b604082019050919050565b600061370b601983613e1a565b9150613716826143ab565b602082019050919050565b600061372e602c83613e1a565b9150613739826143d4565b604082019050919050565b6000613751603883613e1a565b915061375c82614423565b604082019050919050565b6000613774602a83613e1a565b915061377f82614472565b604082019050919050565b6000613797602983613e1a565b91506137a2826144c1565b604082019050919050565b60006137ba601683613e1a565b91506137c582614510565b602082019050919050565b60006137dd602083613e1a565b91506137e882614539565b602082019050919050565b6000613800602c83613e1a565b915061380b82614562565b604082019050919050565b6000613823602083613e1a565b915061382e826145b1565b602082019050919050565b6000613846602983613e1a565b9150613851826145da565b604082019050919050565b6000613869602f83613e1a565b915061387482614629565b604082019050919050565b600061388c602183613e1a565b915061389782614678565b604082019050919050565b60006138af601283613e1a565b91506138ba826146c7565b602082019050919050565b60006138d2601283613e1a565b91506138dd826146f0565b602082019050919050565b60006138f5603183613e1a565b915061390082614719565b604082019050919050565b6000613918602c83613e1a565b915061392382614768565b604082019050919050565b61393781613fb5565b82525050565b61394681613fb5565b82525050565b6000613958828661357c565b9150613964828561357c565b915061397082846135ad565b9150819050949350505050565b6000602082019050613992600083018461348e565b92915050565b60006080820190506139ad600083018761348e565b6139ba602083018661348e565b6139c7604083018561393d565b81810360608301526139d9818461350a565b905095945050505050565b600060208201905081810360008301526139fe818461349d565b905092915050565b6000602082019050613a1b60008301846134fb565b92915050565b60006020820190508181036000830152613a3b8184613543565b905092915050565b60006020820190508181036000830152613a5c8161362c565b9050919050565b60006020820190508181036000830152613a7c8161364f565b9050919050565b60006020820190508181036000830152613a9c81613672565b9050919050565b60006020820190508181036000830152613abc81613695565b9050919050565b60006020820190508181036000830152613adc816136b8565b9050919050565b60006020820190508181036000830152613afc816136db565b9050919050565b60006020820190508181036000830152613b1c816136fe565b9050919050565b60006020820190508181036000830152613b3c81613721565b9050919050565b60006020820190508181036000830152613b5c81613744565b9050919050565b60006020820190508181036000830152613b7c81613767565b9050919050565b60006020820190508181036000830152613b9c8161378a565b9050919050565b60006020820190508181036000830152613bbc816137ad565b9050919050565b60006020820190508181036000830152613bdc816137d0565b9050919050565b60006020820190508181036000830152613bfc816137f3565b9050919050565b60006020820190508181036000830152613c1c81613816565b9050919050565b60006020820190508181036000830152613c3c81613839565b9050919050565b60006020820190508181036000830152613c5c8161385c565b9050919050565b60006020820190508181036000830152613c7c8161387f565b9050919050565b60006020820190508181036000830152613c9c816138a2565b9050919050565b60006020820190508181036000830152613cbc816138c5565b9050919050565b60006020820190508181036000830152613cdc816138e8565b9050919050565b60006020820190508181036000830152613cfc8161390b565b9050919050565b6000602082019050613d18600083018461393d565b92915050565b6000613d28613d39565b9050613d348282614033565b919050565b6000604051905090565b600067ffffffffffffffff821115613d5e57613d5d6141c9565b5b613d678261420c565b9050602081019050919050565b600067ffffffffffffffff821115613d8f57613d8e6141c9565b5b613d988261420c565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613e4182613fb5565b9150613e4c83613fb5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e8157613e806140de565b5b828201905092915050565b6000613e9782613fb5565b9150613ea283613fb5565b925082613eb257613eb161410d565b5b828204905092915050565b6000613ec882613fb5565b9150613ed383613fb5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f0c57613f0b6140de565b5b828202905092915050565b6000613f2282613fb5565b9150613f2d83613fb5565b925082821015613f4057613f3f6140de565b5b828203905092915050565b6000613f5682613f95565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613fec578082015181840152602081019050613fd1565b83811115613ffb576000848401525b50505050565b6000600282049050600182168061401957607f821691505b6020821081141561402d5761402c61413c565b5b50919050565b61403c8261420c565b810181811067ffffffffffffffff8211171561405b5761405a6141c9565b5b80604052505050565b600061406f82613fb5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156140a2576140a16140de565b5b600182019050919050565b60006140b882613fb5565b91506140c383613fb5565b9250826140d3576140d261410d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f746865206d696e74206973207061757365640000000000000000000000000000600082015250565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6147c081613f4b565b81146147cb57600080fd5b50565b6147d781613f5d565b81146147e257600080fd5b50565b6147ee81613f69565b81146147f957600080fd5b50565b61480581613fb5565b811461481057600080fd5b5056fea2646970667358221220ae7a3ee136a45dc1a1d3d6b5c54a8bf0432b9770a6a9544e2806390b3d269df364736f6c63430008070033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.