Contract Address Details

0x1749c3ED28189a4695CBaEe75816a962020408A0

Token
RENDERAI NFT (RENDERAI)
Creator
0xacd320–1fac21 at 0x316ac7–dac933
Balance
0 Doge
Tokens
Fetching tokens...
Transactions
176 Transactions
Transfers
3 Transfers
Gas Used
130,059,411
Last Balance Update
24960109
Contract name:
RenderaiNFT




Optimization enabled
false
Compiler version
v0.8.16+commit.07a7930e




EVM Version
default




Verified at
2022-09-10T15:26:59.154332Z

Constructor Arguments

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000003e9000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f62616679626569636969346b366964767a626a36666a63773733766b686461716464636c72656c6776716d766467647166326d6a6a65787a75346d2e697066732e6e667473746f726167652e6c696e6b2f00000000000000

Arg [0] (string) : https://bafybeicii4k6idvzbj6fjcw73vkhdaqddclrelgvqmvdgdqf2mjjexzu4m.ipfs.nftstorage.link/
Arg [1] (uint256) : 1001

              

Contract source code

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


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

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/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 (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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


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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-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 (last updated v4.6.0) (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 `IERC721Receiver.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 (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        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: invalid token ID");
        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) {
        _requireMinted(tokenId);

        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 overridden 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 token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        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: caller is not token 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: caller is not token 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) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {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 an {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 Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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 {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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

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


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

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: default_workspace/RenderaiNFT.sol


pragma solidity ^0.8.16;










contract RenderaiNFT is ERC721, ERC721Enumerable, Ownable {
    
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIdCounter;

    string public uri;
    uint256 public maxSupply; // 1001

    constructor(string memory _uri, uint256 _maxSupply) ERC721("RENDERAI NFT", "RENDERAI") {
        uri = _uri;
        maxSupply = _maxSupply;
    }

    function safeMint(address to) public onlyOwner returns (uint256) {
        uint256 tokenId = _tokenIdCounter.current();
        require(_tokenIdCounter.current() <= maxSupply, "Max amount minted");
        _tokenIdCounter.increment();
        _safeMint(to, tokenId);
        return tokenId;
    }

    function batchMint(address to, uint256 number) external onlyOwner {
        for(uint256 i=0; i < number; i++) {
        safeMint(to);
        }
    }

    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        string memory json = Base64.encode(abi.encodePacked('{"name": "RENDERAI NFT #', Strings.toString(_tokenId), '","description": "An unpredictable blockchain machine has opened a portal to a parallel world. Those who entered the portal have changed. They are called RENDERAI.","image": "', string(abi.encodePacked(uri, Strings.toString(_tokenId), ".png")), '","attributes": [{ "trait_type": "Genre","value": "AI artwork" },{ "trait_type": "Model","value": "Stable Diffusion" }]}'));
        string memory jsonUri = string(abi.encodePacked("data:application/json;base64,", json));
        return jsonUri;
    }

    function newURI(string memory _uri) external onlyOwner {
        uri = _uri;
    }

    // The following functions are overrides required by Solidity

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
}
        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"string","name":"_uri","internalType":"string"},{"type":"uint256","name":"_maxSupply","internalType":"uint256"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"approved","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approve","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"batchMint","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"number","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"newURI","inputs":[{"type":"string","name":"_uri","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"safeMint","inputs":[{"type":"address","name":"to","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenByIndex","inputs":[{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenOfOwnerByIndex","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"uri","inputs":[]}]
            

Contract Creation Code

0x60806040523480156200001157600080fd5b50604051620042eb380380620042eb8339818101604052810190620000379190620003a6565b6040518060400160405280600c81526020017f52454e4445524149204e465400000000000000000000000000000000000000008152506040518060400160405280600881526020017f52454e44455241490000000000000000000000000000000000000000000000008152508160009081620000b491906200064d565b508060019081620000c691906200064d565b505050620000e9620000dd6200010a60201b60201c565b6200011260201b60201c565b81600c9081620000fa91906200064d565b5080600d81905550505062000734565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200024182620001f6565b810181811067ffffffffffffffff8211171562000263576200026262000207565b5b80604052505050565b600062000278620001d8565b905062000286828262000236565b919050565b600067ffffffffffffffff821115620002a957620002a862000207565b5b620002b482620001f6565b9050602081019050919050565b60005b83811015620002e1578082015181840152602081019050620002c4565b60008484015250505050565b600062000304620002fe846200028b565b6200026c565b905082815260208101848484011115620003235762000322620001f1565b5b62000330848285620002c1565b509392505050565b600082601f83011262000350576200034f620001ec565b5b815162000362848260208601620002ed565b91505092915050565b6000819050919050565b62000380816200036b565b81146200038c57600080fd5b50565b600081519050620003a08162000375565b92915050565b60008060408385031215620003c057620003bf620001e2565b5b600083015167ffffffffffffffff811115620003e157620003e0620001e7565b5b620003ef8582860162000338565b925050602062000402858286016200038f565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200045f57607f821691505b60208210810362000475576200047462000417565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004df7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004a0565b620004eb8683620004a0565b95508019841693508086168417925050509392505050565b6000819050919050565b60006200052e6200052862000522846200036b565b62000503565b6200036b565b9050919050565b6000819050919050565b6200054a836200050d565b62000562620005598262000535565b848454620004ad565b825550505050565b600090565b620005796200056a565b620005868184846200053f565b505050565b5b81811015620005ae57620005a26000826200056f565b6001810190506200058c565b5050565b601f821115620005fd57620005c7816200047b565b620005d28462000490565b81016020851015620005e2578190505b620005fa620005f18562000490565b8301826200058b565b50505b505050565b600082821c905092915050565b6000620006226000198460080262000602565b1980831691505092915050565b60006200063d83836200060f565b9150826002028217905092915050565b62000658826200040c565b67ffffffffffffffff81111562000674576200067362000207565b5b62000680825462000446565b6200068d828285620005b2565b600060209050601f831160018114620006c55760008415620006b0578287015190505b620006bc85826200062f565b8655506200072c565b601f198416620006d5866200047b565b60005b82811015620006ff57848901518255600182019150602085019450602081019050620006d8565b868310156200071f57848901516200071b601f8916826200060f565b8355505b6001600288020188555050505b505050505050565b613ba780620007446000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063c87b56dd1161007c578063c87b56dd146103d7578063d5abeb0114610407578063e985e9c514610425578063eac989f814610455578063f2bf109614610473578063f2fde38b1461048f57610158565b806370a0823114610329578063715018a6146103595780638da5cb5b1461036357806395d89b4114610381578063a22cb4651461039f578063b88d4fde146103bb57610158565b80632f745c59116101155780632f745c591461023157806340d097c31461026157806342842e0e1461029157806343508b05146102ad5780634f6ccce7146102c95780636352211e146102f957610158565b806301ffc9a71461015d57806306fdde031461018d578063081812fc146101ab578063095ea7b3146101db57806318160ddd146101f757806323b872dd14610215575b600080fd5b610177600480360381019061017291906122d3565b6104ab565b604051610184919061231b565b60405180910390f35b6101956104bd565b6040516101a291906123c6565b60405180910390f35b6101c560048036038101906101c0919061241e565b61054f565b6040516101d2919061248c565b60405180910390f35b6101f560048036038101906101f091906124d3565b610595565b005b6101ff6106ac565b60405161020c9190612522565b60405180910390f35b61022f600480360381019061022a919061253d565b6106b9565b005b61024b600480360381019061024691906124d3565b610719565b6040516102589190612522565b60405180910390f35b61027b60048036038101906102769190612590565b6107be565b6040516102889190612522565b60405180910390f35b6102ab60048036038101906102a6919061253d565b610841565b005b6102c760048036038101906102c291906124d3565b610861565b005b6102e360048036038101906102de919061241e565b610896565b6040516102f09190612522565b60405180910390f35b610313600480360381019061030e919061241e565b610907565b604051610320919061248c565b60405180910390f35b610343600480360381019061033e9190612590565b6109b8565b6040516103509190612522565b60405180910390f35b610361610a6f565b005b61036b610a83565b604051610378919061248c565b60405180910390f35b610389610aad565b60405161039691906123c6565b60405180910390f35b6103b960048036038101906103b491906125e9565b610b3f565b005b6103d560048036038101906103d0919061275e565b610b55565b005b6103f160048036038101906103ec919061241e565b610bb7565b6040516103fe91906123c6565b60405180910390f35b61040f610c47565b60405161041c9190612522565b60405180910390f35b61043f600480360381019061043a91906127e1565b610c4d565b60405161044c919061231b565b60405180910390f35b61045d610ce1565b60405161046a91906123c6565b60405180910390f35b61048d600480360381019061048891906128c2565b610d6f565b005b6104a960048036038101906104a49190612590565b610d8a565b005b60006104b682610e0d565b9050919050565b6060600080546104cc9061293a565b80601f01602080910402602001604051908101604052809291908181526020018280546104f89061293a565b80156105455780601f1061051a57610100808354040283529160200191610545565b820191906000526020600020905b81548152906001019060200180831161052857829003601f168201915b5050505050905090565b600061055a82610e87565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105a082610907565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610610576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610607906129dd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661062f610ed2565b73ffffffffffffffffffffffffffffffffffffffff16148061065e575061065d81610658610ed2565b610c4d565b5b61069d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069490612a6f565b60405180910390fd5b6106a78383610eda565b505050565b6000600880549050905090565b6106ca6106c4610ed2565b82610f93565b610709576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070090612b01565b60405180910390fd5b610714838383611028565b505050565b6000610724836109b8565b8210610765576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075c90612b93565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60006107c861128e565b60006107d4600b61130c565b9050600d546107e3600b61130c565b1115610824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081b90612bff565b60405180910390fd5b61082e600b61131a565b6108388382611330565b80915050919050565b61085c83838360405180602001604052806000815250610b55565b505050565b61086961128e565b60005b818110156108915761087d836107be565b50808061088990612c4e565b91505061086c565b505050565b60006108a06106ac565b82106108e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d890612d08565b60405180910390fd5b600882815481106108f5576108f4612d28565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036109af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a690612da3565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1f90612e35565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a7761128e565b610a81600061134e565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610abc9061293a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae89061293a565b8015610b355780601f10610b0a57610100808354040283529160200191610b35565b820191906000526020600020905b815481529060010190602001808311610b1857829003601f168201915b5050505050905090565b610b51610b4a610ed2565b8383611414565b5050565b610b66610b60610ed2565b83610f93565b610ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9c90612b01565b60405180910390fd5b610bb184848484611580565b50505050565b60606000610c17610bc7846115dc565b600c610bd2866115dc565b604051602001610be3929190612f75565b604051602081830303815290604052604051602001610c039291906131b8565b60405160208183030381529060405261173c565b9050600081604051602001610c2c9190613249565b60405160208183030381529060405290508092505050919050565b600d5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c8054610cee9061293a565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1a9061293a565b8015610d675780601f10610d3c57610100808354040283529160200191610d67565b820191906000526020600020905b815481529060010190602001808311610d4a57829003601f168201915b505050505081565b610d7761128e565b80600c9081610d869190613402565b5050565b610d9261128e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df890613546565b60405180910390fd5b610e0a8161134e565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e805750610e7f8261189f565b5b9050919050565b610e9081611981565b610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec690612da3565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16610f4d83610907565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610f9f83610907565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610fe15750610fe08185610c4d565b5b8061101f57508373ffffffffffffffffffffffffffffffffffffffff166110078461054f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661104882610907565b73ffffffffffffffffffffffffffffffffffffffff161461109e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611095906135d8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361110d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111049061366a565b60405180910390fd5b6111188383836119ed565b611123600082610eda565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611173919061368a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111ca91906136be565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112898383836119fd565b505050565b611296610ed2565b73ffffffffffffffffffffffffffffffffffffffff166112b4610a83565b73ffffffffffffffffffffffffffffffffffffffff161461130a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113019061373e565b60405180910390fd5b565b600081600001549050919050565b6001816000016000828254019250508190555050565b61134a828260405180602001604052806000815250611a02565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611482576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611479906137aa565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611573919061231b565b60405180910390a3505050565b61158b848484611028565b61159784848484611a5d565b6115d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cd9061383c565b60405180910390fd5b50505050565b606060008203611623576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611737565b600082905060005b6000821461165557808061163e90612c4e565b915050600a8261164e919061388b565b915061162b565b60008167ffffffffffffffff81111561167157611670612633565b5b6040519080825280601f01601f1916602001820160405280156116a35781602001600182028036833780820191505090505b5090505b60008514611730576001826116bc919061368a565b9150600a856116cb91906138bc565b60306116d791906136be565b60f81b8183815181106116ed576116ec612d28565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611729919061388b565b94506116a7565b8093505050505b919050565b6060600082510361175e5760405180602001604052806000815250905061189a565b6000604051806060016040528060408152602001613b32604091399050600060036002855161178d91906136be565b611797919061388b565b60046117a391906138ed565b67ffffffffffffffff8111156117bc576117bb612633565b5b6040519080825280601f01601f1916602001820160405280156117ee5781602001600182028036833780820191505090505b509050600182016020820185865187015b8082101561185a576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453600184019350506117ff565b5050600386510660018114611876576002811461188957611891565b603d6001830353603d6002830353611891565b603d60018303535b50505080925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061196a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061197a575061197982611be4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6119f8838383611c4e565b505050565b505050565b611a0c8383611d60565b611a196000848484611a5d565b611a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4f9061383c565b60405180910390fd5b505050565b6000611a7e8473ffffffffffffffffffffffffffffffffffffffff16611f39565b15611bd7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611aa7610ed2565b8786866040518563ffffffff1660e01b8152600401611ac9949392919061399c565b6020604051808303816000875af1925050508015611b0557506040513d601f19601f82011682018060405250810190611b0291906139fd565b60015b611b87573d8060008114611b35576040519150601f19603f3d011682016040523d82523d6000602084013e611b3a565b606091505b506000815103611b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b769061383c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611bdc565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611c59838383611f5c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c9b57611c9681611f61565b611cda565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611cd957611cd88382611faa565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d1c57611d1781612117565b611d5b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611d5a57611d5982826121e8565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc690613a76565b60405180910390fd5b611dd881611981565b15611e18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0f90613ae2565b60405180910390fd5b611e24600083836119ed565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e7491906136be565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f35600083836119fd565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001611fb7846109b8565b611fc1919061368a565b90506000600760008481526020019081526020016000205490508181146120a6576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061212b919061368a565b905060006009600084815260200190815260200160002054905060006008838154811061215b5761215a612d28565b5b90600052602060002001549050806008838154811061217d5761217c612d28565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806121cc576121cb613b02565b5b6001900381819060005260206000200160009055905550505050565b60006121f3836109b8565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6122b08161227b565b81146122bb57600080fd5b50565b6000813590506122cd816122a7565b92915050565b6000602082840312156122e9576122e8612271565b5b60006122f7848285016122be565b91505092915050565b60008115159050919050565b61231581612300565b82525050565b6000602082019050612330600083018461230c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612370578082015181840152602081019050612355565b60008484015250505050565b6000601f19601f8301169050919050565b600061239882612336565b6123a28185612341565b93506123b2818560208601612352565b6123bb8161237c565b840191505092915050565b600060208201905081810360008301526123e0818461238d565b905092915050565b6000819050919050565b6123fb816123e8565b811461240657600080fd5b50565b600081359050612418816123f2565b92915050565b60006020828403121561243457612433612271565b5b600061244284828501612409565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006124768261244b565b9050919050565b6124868161246b565b82525050565b60006020820190506124a1600083018461247d565b92915050565b6124b08161246b565b81146124bb57600080fd5b50565b6000813590506124cd816124a7565b92915050565b600080604083850312156124ea576124e9612271565b5b60006124f8858286016124be565b925050602061250985828601612409565b9150509250929050565b61251c816123e8565b82525050565b60006020820190506125376000830184612513565b92915050565b60008060006060848603121561255657612555612271565b5b6000612564868287016124be565b9350506020612575868287016124be565b925050604061258686828701612409565b9150509250925092565b6000602082840312156125a6576125a5612271565b5b60006125b4848285016124be565b91505092915050565b6125c681612300565b81146125d157600080fd5b50565b6000813590506125e3816125bd565b92915050565b60008060408385031215612600576125ff612271565b5b600061260e858286016124be565b925050602061261f858286016125d4565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61266b8261237c565b810181811067ffffffffffffffff8211171561268a57612689612633565b5b80604052505050565b600061269d612267565b90506126a98282612662565b919050565b600067ffffffffffffffff8211156126c9576126c8612633565b5b6126d28261237c565b9050602081019050919050565b82818337600083830152505050565b60006127016126fc846126ae565b612693565b90508281526020810184848401111561271d5761271c61262e565b5b6127288482856126df565b509392505050565b600082601f83011261274557612744612629565b5b81356127558482602086016126ee565b91505092915050565b6000806000806080858703121561277857612777612271565b5b6000612786878288016124be565b9450506020612797878288016124be565b93505060406127a887828801612409565b925050606085013567ffffffffffffffff8111156127c9576127c8612276565b5b6127d587828801612730565b91505092959194509250565b600080604083850312156127f8576127f7612271565b5b6000612806858286016124be565b9250506020612817858286016124be565b9150509250929050565b600067ffffffffffffffff82111561283c5761283b612633565b5b6128458261237c565b9050602081019050919050565b600061286561286084612821565b612693565b9050828152602081018484840111156128815761288061262e565b5b61288c8482856126df565b509392505050565b600082601f8301126128a9576128a8612629565b5b81356128b9848260208601612852565b91505092915050565b6000602082840312156128d8576128d7612271565b5b600082013567ffffffffffffffff8111156128f6576128f5612276565b5b61290284828501612894565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061295257607f821691505b6020821081036129655761296461290b565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006129c7602183612341565b91506129d28261296b565b604082019050919050565b600060208201905081810360008301526129f6816129ba565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612a59603e83612341565b9150612a64826129fd565b604082019050919050565b60006020820190508181036000830152612a8881612a4c565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000612aeb602e83612341565b9150612af682612a8f565b604082019050919050565b60006020820190508181036000830152612b1a81612ade565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000612b7d602b83612341565b9150612b8882612b21565b604082019050919050565b60006020820190508181036000830152612bac81612b70565b9050919050565b7f4d617820616d6f756e74206d696e746564000000000000000000000000000000600082015250565b6000612be9601183612341565b9150612bf482612bb3565b602082019050919050565b60006020820190508181036000830152612c1881612bdc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612c59826123e8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612c8b57612c8a612c1f565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000612cf2602c83612341565b9150612cfd82612c96565b604082019050919050565b60006020820190508181036000830152612d2181612ce5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612d8d601883612341565b9150612d9882612d57565b602082019050919050565b60006020820190508181036000830152612dbc81612d80565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000612e1f602983612341565b9150612e2a82612dc3565b604082019050919050565b60006020820190508181036000830152612e4e81612e12565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154612e828161293a565b612e8c8186612e55565b94506001821660008114612ea75760018114612ebc57612eef565b60ff1983168652811515820286019350612eef565b612ec585612e60565b60005b83811015612ee757815481890152600182019150602081019050612ec8565b838801955050505b50505092915050565b6000612f0382612336565b612f0d8185612e55565b9350612f1d818560208601612352565b80840191505092915050565b7f2e706e6700000000000000000000000000000000000000000000000000000000600082015250565b6000612f5f600483612e55565b9150612f6a82612f29565b600482019050919050565b6000612f818285612e75565b9150612f8d8284612ef8565b9150612f9882612f52565b91508190509392505050565b7f7b226e616d65223a202252454e4445524149204e465420230000000000000000600082015250565b6000612fda601883612e55565b9150612fe582612fa4565b601882019050919050565b7f222c226465736372697074696f6e223a2022416e20756e70726564696374616260008201527f6c6520626c6f636b636861696e206d616368696e6520686173206f70656e656460208201527f206120706f7274616c20746f206120706172616c6c656c20776f726c642e205460408201527f686f73652077686f20656e74657265642074686520706f7274616c206861766560608201527f206368616e6765642e2054686579206172652063616c6c65642052454e44455260808201527f41492e222c22696d616765223a2022000000000000000000000000000000000060a082015250565b60006130e460af83612e55565b91506130ef82612ff0565b60af82019050919050565b7f222c2261747472696275746573223a205b7b202274726169745f74797065223a60008201527f202247656e7265222c2276616c7565223a2022414920617274776f726b22207d60208201527f2c7b202274726169745f74797065223a20224d6f64656c222c2276616c75652260408201527f3a2022537461626c6520446966667573696f6e22207d5d7d0000000000000000606082015250565b60006131a2607883612e55565b91506131ad826130fa565b607882019050919050565b60006131c382612fcd565b91506131cf8285612ef8565b91506131da826130d7565b91506131e68284612ef8565b91506131f182613195565b91508190509392505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000613233601d83612e55565b915061323e826131fd565b601d82019050919050565b600061325482613226565b91506132608284612ef8565b915081905092915050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026132b87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261327b565b6132c2868361327b565b95508019841693508086168417925050509392505050565b6000819050919050565b60006132ff6132fa6132f5846123e8565b6132da565b6123e8565b9050919050565b6000819050919050565b613319836132e4565b61332d61332582613306565b848454613288565b825550505050565b600090565b613342613335565b61334d818484613310565b505050565b5b818110156133715761336660008261333a565b600181019050613353565b5050565b601f8211156133b65761338781612e60565b6133908461326b565b8101602085101561339f578190505b6133b36133ab8561326b565b830182613352565b50505b505050565b600082821c905092915050565b60006133d9600019846008026133bb565b1980831691505092915050565b60006133f283836133c8565b9150826002028217905092915050565b61340b82612336565b67ffffffffffffffff81111561342457613423612633565b5b61342e825461293a565b613439828285613375565b600060209050601f83116001811461346c576000841561345a578287015190505b61346485826133e6565b8655506134cc565b601f19841661347a86612e60565b60005b828110156134a25784890151825560018201915060208501945060208101905061347d565b868310156134bf57848901516134bb601f8916826133c8565b8355505b6001600288020188555050505b505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613530602683612341565b915061353b826134d4565b604082019050919050565b6000602082019050818103600083015261355f81613523565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006135c2602583612341565b91506135cd82613566565b604082019050919050565b600060208201905081810360008301526135f1816135b5565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613654602483612341565b915061365f826135f8565b604082019050919050565b6000602082019050818103600083015261368381613647565b9050919050565b6000613695826123e8565b91506136a0836123e8565b92508282039050818111156136b8576136b7612c1f565b5b92915050565b60006136c9826123e8565b91506136d4836123e8565b92508282019050808211156136ec576136eb612c1f565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613728602083612341565b9150613733826136f2565b602082019050919050565b600060208201905081810360008301526137578161371b565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613794601983612341565b915061379f8261375e565b602082019050919050565b600060208201905081810360008301526137c381613787565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613826603283612341565b9150613831826137ca565b604082019050919050565b6000602082019050818103600083015261385581613819565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613896826123e8565b91506138a1836123e8565b9250826138b1576138b061385c565b5b828204905092915050565b60006138c7826123e8565b91506138d2836123e8565b9250826138e2576138e161385c565b5b828206905092915050565b60006138f8826123e8565b9150613903836123e8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561393c5761393b612c1f565b5b828202905092915050565b600081519050919050565b600082825260208201905092915050565b600061396e82613947565b6139788185613952565b9350613988818560208601612352565b6139918161237c565b840191505092915050565b60006080820190506139b1600083018761247d565b6139be602083018661247d565b6139cb6040830185612513565b81810360608301526139dd8184613963565b905095945050505050565b6000815190506139f7816122a7565b92915050565b600060208284031215613a1357613a12612271565b5b6000613a21848285016139e8565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613a60602083612341565b9150613a6b82613a2a565b602082019050919050565b60006020820190508181036000830152613a8f81613a53565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613acc601c83612341565b9150613ad782613a96565b602082019050919050565b60006020820190508181036000830152613afb81613abf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122075c889c0c8c60fa293f8f4966525b05107a48104f91b98389e1452073f07342364736f6c63430008100033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000003e9000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f62616679626569636969346b366964767a626a36666a63773733766b686461716464636c72656c6776716d766467647166326d6a6a65787a75346d2e697066732e6e667473746f726167652e6c696e6b2f00000000000000

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063c87b56dd1161007c578063c87b56dd146103d7578063d5abeb0114610407578063e985e9c514610425578063eac989f814610455578063f2bf109614610473578063f2fde38b1461048f57610158565b806370a0823114610329578063715018a6146103595780638da5cb5b1461036357806395d89b4114610381578063a22cb4651461039f578063b88d4fde146103bb57610158565b80632f745c59116101155780632f745c591461023157806340d097c31461026157806342842e0e1461029157806343508b05146102ad5780634f6ccce7146102c95780636352211e146102f957610158565b806301ffc9a71461015d57806306fdde031461018d578063081812fc146101ab578063095ea7b3146101db57806318160ddd146101f757806323b872dd14610215575b600080fd5b610177600480360381019061017291906122d3565b6104ab565b604051610184919061231b565b60405180910390f35b6101956104bd565b6040516101a291906123c6565b60405180910390f35b6101c560048036038101906101c0919061241e565b61054f565b6040516101d2919061248c565b60405180910390f35b6101f560048036038101906101f091906124d3565b610595565b005b6101ff6106ac565b60405161020c9190612522565b60405180910390f35b61022f600480360381019061022a919061253d565b6106b9565b005b61024b600480360381019061024691906124d3565b610719565b6040516102589190612522565b60405180910390f35b61027b60048036038101906102769190612590565b6107be565b6040516102889190612522565b60405180910390f35b6102ab60048036038101906102a6919061253d565b610841565b005b6102c760048036038101906102c291906124d3565b610861565b005b6102e360048036038101906102de919061241e565b610896565b6040516102f09190612522565b60405180910390f35b610313600480360381019061030e919061241e565b610907565b604051610320919061248c565b60405180910390f35b610343600480360381019061033e9190612590565b6109b8565b6040516103509190612522565b60405180910390f35b610361610a6f565b005b61036b610a83565b604051610378919061248c565b60405180910390f35b610389610aad565b60405161039691906123c6565b60405180910390f35b6103b960048036038101906103b491906125e9565b610b3f565b005b6103d560048036038101906103d0919061275e565b610b55565b005b6103f160048036038101906103ec919061241e565b610bb7565b6040516103fe91906123c6565b60405180910390f35b61040f610c47565b60405161041c9190612522565b60405180910390f35b61043f600480360381019061043a91906127e1565b610c4d565b60405161044c919061231b565b60405180910390f35b61045d610ce1565b60405161046a91906123c6565b60405180910390f35b61048d600480360381019061048891906128c2565b610d6f565b005b6104a960048036038101906104a49190612590565b610d8a565b005b60006104b682610e0d565b9050919050565b6060600080546104cc9061293a565b80601f01602080910402602001604051908101604052809291908181526020018280546104f89061293a565b80156105455780601f1061051a57610100808354040283529160200191610545565b820191906000526020600020905b81548152906001019060200180831161052857829003601f168201915b5050505050905090565b600061055a82610e87565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105a082610907565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610610576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610607906129dd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661062f610ed2565b73ffffffffffffffffffffffffffffffffffffffff16148061065e575061065d81610658610ed2565b610c4d565b5b61069d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069490612a6f565b60405180910390fd5b6106a78383610eda565b505050565b6000600880549050905090565b6106ca6106c4610ed2565b82610f93565b610709576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070090612b01565b60405180910390fd5b610714838383611028565b505050565b6000610724836109b8565b8210610765576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075c90612b93565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60006107c861128e565b60006107d4600b61130c565b9050600d546107e3600b61130c565b1115610824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081b90612bff565b60405180910390fd5b61082e600b61131a565b6108388382611330565b80915050919050565b61085c83838360405180602001604052806000815250610b55565b505050565b61086961128e565b60005b818110156108915761087d836107be565b50808061088990612c4e565b91505061086c565b505050565b60006108a06106ac565b82106108e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d890612d08565b60405180910390fd5b600882815481106108f5576108f4612d28565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036109af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a690612da3565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1f90612e35565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a7761128e565b610a81600061134e565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610abc9061293a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae89061293a565b8015610b355780601f10610b0a57610100808354040283529160200191610b35565b820191906000526020600020905b815481529060010190602001808311610b1857829003601f168201915b5050505050905090565b610b51610b4a610ed2565b8383611414565b5050565b610b66610b60610ed2565b83610f93565b610ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9c90612b01565b60405180910390fd5b610bb184848484611580565b50505050565b60606000610c17610bc7846115dc565b600c610bd2866115dc565b604051602001610be3929190612f75565b604051602081830303815290604052604051602001610c039291906131b8565b60405160208183030381529060405261173c565b9050600081604051602001610c2c9190613249565b60405160208183030381529060405290508092505050919050565b600d5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c8054610cee9061293a565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1a9061293a565b8015610d675780601f10610d3c57610100808354040283529160200191610d67565b820191906000526020600020905b815481529060010190602001808311610d4a57829003601f168201915b505050505081565b610d7761128e565b80600c9081610d869190613402565b5050565b610d9261128e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df890613546565b60405180910390fd5b610e0a8161134e565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e805750610e7f8261189f565b5b9050919050565b610e9081611981565b610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec690612da3565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16610f4d83610907565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610f9f83610907565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610fe15750610fe08185610c4d565b5b8061101f57508373ffffffffffffffffffffffffffffffffffffffff166110078461054f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661104882610907565b73ffffffffffffffffffffffffffffffffffffffff161461109e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611095906135d8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361110d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111049061366a565b60405180910390fd5b6111188383836119ed565b611123600082610eda565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611173919061368a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111ca91906136be565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112898383836119fd565b505050565b611296610ed2565b73ffffffffffffffffffffffffffffffffffffffff166112b4610a83565b73ffffffffffffffffffffffffffffffffffffffff161461130a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113019061373e565b60405180910390fd5b565b600081600001549050919050565b6001816000016000828254019250508190555050565b61134a828260405180602001604052806000815250611a02565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611482576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611479906137aa565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611573919061231b565b60405180910390a3505050565b61158b848484611028565b61159784848484611a5d565b6115d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cd9061383c565b60405180910390fd5b50505050565b606060008203611623576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611737565b600082905060005b6000821461165557808061163e90612c4e565b915050600a8261164e919061388b565b915061162b565b60008167ffffffffffffffff81111561167157611670612633565b5b6040519080825280601f01601f1916602001820160405280156116a35781602001600182028036833780820191505090505b5090505b60008514611730576001826116bc919061368a565b9150600a856116cb91906138bc565b60306116d791906136be565b60f81b8183815181106116ed576116ec612d28565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611729919061388b565b94506116a7565b8093505050505b919050565b6060600082510361175e5760405180602001604052806000815250905061189a565b6000604051806060016040528060408152602001613b32604091399050600060036002855161178d91906136be565b611797919061388b565b60046117a391906138ed565b67ffffffffffffffff8111156117bc576117bb612633565b5b6040519080825280601f01601f1916602001820160405280156117ee5781602001600182028036833780820191505090505b509050600182016020820185865187015b8082101561185a576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453600184019350506117ff565b5050600386510660018114611876576002811461188957611891565b603d6001830353603d6002830353611891565b603d60018303535b50505080925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061196a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061197a575061197982611be4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6119f8838383611c4e565b505050565b505050565b611a0c8383611d60565b611a196000848484611a5d565b611a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4f9061383c565b60405180910390fd5b505050565b6000611a7e8473ffffffffffffffffffffffffffffffffffffffff16611f39565b15611bd7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611aa7610ed2565b8786866040518563ffffffff1660e01b8152600401611ac9949392919061399c565b6020604051808303816000875af1925050508015611b0557506040513d601f19601f82011682018060405250810190611b0291906139fd565b60015b611b87573d8060008114611b35576040519150601f19603f3d011682016040523d82523d6000602084013e611b3a565b606091505b506000815103611b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b769061383c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611bdc565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611c59838383611f5c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c9b57611c9681611f61565b611cda565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611cd957611cd88382611faa565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d1c57611d1781612117565b611d5b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611d5a57611d5982826121e8565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc690613a76565b60405180910390fd5b611dd881611981565b15611e18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0f90613ae2565b60405180910390fd5b611e24600083836119ed565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e7491906136be565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f35600083836119fd565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001611fb7846109b8565b611fc1919061368a565b90506000600760008481526020019081526020016000205490508181146120a6576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061212b919061368a565b905060006009600084815260200190815260200160002054905060006008838154811061215b5761215a612d28565b5b90600052602060002001549050806008838154811061217d5761217c612d28565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806121cc576121cb613b02565b5b6001900381819060005260206000200160009055905550505050565b60006121f3836109b8565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6122b08161227b565b81146122bb57600080fd5b50565b6000813590506122cd816122a7565b92915050565b6000602082840312156122e9576122e8612271565b5b60006122f7848285016122be565b91505092915050565b60008115159050919050565b61231581612300565b82525050565b6000602082019050612330600083018461230c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612370578082015181840152602081019050612355565b60008484015250505050565b6000601f19601f8301169050919050565b600061239882612336565b6123a28185612341565b93506123b2818560208601612352565b6123bb8161237c565b840191505092915050565b600060208201905081810360008301526123e0818461238d565b905092915050565b6000819050919050565b6123fb816123e8565b811461240657600080fd5b50565b600081359050612418816123f2565b92915050565b60006020828403121561243457612433612271565b5b600061244284828501612409565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006124768261244b565b9050919050565b6124868161246b565b82525050565b60006020820190506124a1600083018461247d565b92915050565b6124b08161246b565b81146124bb57600080fd5b50565b6000813590506124cd816124a7565b92915050565b600080604083850312156124ea576124e9612271565b5b60006124f8858286016124be565b925050602061250985828601612409565b9150509250929050565b61251c816123e8565b82525050565b60006020820190506125376000830184612513565b92915050565b60008060006060848603121561255657612555612271565b5b6000612564868287016124be565b9350506020612575868287016124be565b925050604061258686828701612409565b9150509250925092565b6000602082840312156125a6576125a5612271565b5b60006125b4848285016124be565b91505092915050565b6125c681612300565b81146125d157600080fd5b50565b6000813590506125e3816125bd565b92915050565b60008060408385031215612600576125ff612271565b5b600061260e858286016124be565b925050602061261f858286016125d4565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61266b8261237c565b810181811067ffffffffffffffff8211171561268a57612689612633565b5b80604052505050565b600061269d612267565b90506126a98282612662565b919050565b600067ffffffffffffffff8211156126c9576126c8612633565b5b6126d28261237c565b9050602081019050919050565b82818337600083830152505050565b60006127016126fc846126ae565b612693565b90508281526020810184848401111561271d5761271c61262e565b5b6127288482856126df565b509392505050565b600082601f83011261274557612744612629565b5b81356127558482602086016126ee565b91505092915050565b6000806000806080858703121561277857612777612271565b5b6000612786878288016124be565b9450506020612797878288016124be565b93505060406127a887828801612409565b925050606085013567ffffffffffffffff8111156127c9576127c8612276565b5b6127d587828801612730565b91505092959194509250565b600080604083850312156127f8576127f7612271565b5b6000612806858286016124be565b9250506020612817858286016124be565b9150509250929050565b600067ffffffffffffffff82111561283c5761283b612633565b5b6128458261237c565b9050602081019050919050565b600061286561286084612821565b612693565b9050828152602081018484840111156128815761288061262e565b5b61288c8482856126df565b509392505050565b600082601f8301126128a9576128a8612629565b5b81356128b9848260208601612852565b91505092915050565b6000602082840312156128d8576128d7612271565b5b600082013567ffffffffffffffff8111156128f6576128f5612276565b5b61290284828501612894565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061295257607f821691505b6020821081036129655761296461290b565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006129c7602183612341565b91506129d28261296b565b604082019050919050565b600060208201905081810360008301526129f6816129ba565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612a59603e83612341565b9150612a64826129fd565b604082019050919050565b60006020820190508181036000830152612a8881612a4c565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000612aeb602e83612341565b9150612af682612a8f565b604082019050919050565b60006020820190508181036000830152612b1a81612ade565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000612b7d602b83612341565b9150612b8882612b21565b604082019050919050565b60006020820190508181036000830152612bac81612b70565b9050919050565b7f4d617820616d6f756e74206d696e746564000000000000000000000000000000600082015250565b6000612be9601183612341565b9150612bf482612bb3565b602082019050919050565b60006020820190508181036000830152612c1881612bdc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612c59826123e8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612c8b57612c8a612c1f565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000612cf2602c83612341565b9150612cfd82612c96565b604082019050919050565b60006020820190508181036000830152612d2181612ce5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612d8d601883612341565b9150612d9882612d57565b602082019050919050565b60006020820190508181036000830152612dbc81612d80565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000612e1f602983612341565b9150612e2a82612dc3565b604082019050919050565b60006020820190508181036000830152612e4e81612e12565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154612e828161293a565b612e8c8186612e55565b94506001821660008114612ea75760018114612ebc57612eef565b60ff1983168652811515820286019350612eef565b612ec585612e60565b60005b83811015612ee757815481890152600182019150602081019050612ec8565b838801955050505b50505092915050565b6000612f0382612336565b612f0d8185612e55565b9350612f1d818560208601612352565b80840191505092915050565b7f2e706e6700000000000000000000000000000000000000000000000000000000600082015250565b6000612f5f600483612e55565b9150612f6a82612f29565b600482019050919050565b6000612f818285612e75565b9150612f8d8284612ef8565b9150612f9882612f52565b91508190509392505050565b7f7b226e616d65223a202252454e4445524149204e465420230000000000000000600082015250565b6000612fda601883612e55565b9150612fe582612fa4565b601882019050919050565b7f222c226465736372697074696f6e223a2022416e20756e70726564696374616260008201527f6c6520626c6f636b636861696e206d616368696e6520686173206f70656e656460208201527f206120706f7274616c20746f206120706172616c6c656c20776f726c642e205460408201527f686f73652077686f20656e74657265642074686520706f7274616c206861766560608201527f206368616e6765642e2054686579206172652063616c6c65642052454e44455260808201527f41492e222c22696d616765223a2022000000000000000000000000000000000060a082015250565b60006130e460af83612e55565b91506130ef82612ff0565b60af82019050919050565b7f222c2261747472696275746573223a205b7b202274726169745f74797065223a60008201527f202247656e7265222c2276616c7565223a2022414920617274776f726b22207d60208201527f2c7b202274726169745f74797065223a20224d6f64656c222c2276616c75652260408201527f3a2022537461626c6520446966667573696f6e22207d5d7d0000000000000000606082015250565b60006131a2607883612e55565b91506131ad826130fa565b607882019050919050565b60006131c382612fcd565b91506131cf8285612ef8565b91506131da826130d7565b91506131e68284612ef8565b91506131f182613195565b91508190509392505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000613233601d83612e55565b915061323e826131fd565b601d82019050919050565b600061325482613226565b91506132608284612ef8565b915081905092915050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026132b87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261327b565b6132c2868361327b565b95508019841693508086168417925050509392505050565b6000819050919050565b60006132ff6132fa6132f5846123e8565b6132da565b6123e8565b9050919050565b6000819050919050565b613319836132e4565b61332d61332582613306565b848454613288565b825550505050565b600090565b613342613335565b61334d818484613310565b505050565b5b818110156133715761336660008261333a565b600181019050613353565b5050565b601f8211156133b65761338781612e60565b6133908461326b565b8101602085101561339f578190505b6133b36133ab8561326b565b830182613352565b50505b505050565b600082821c905092915050565b60006133d9600019846008026133bb565b1980831691505092915050565b60006133f283836133c8565b9150826002028217905092915050565b61340b82612336565b67ffffffffffffffff81111561342457613423612633565b5b61342e825461293a565b613439828285613375565b600060209050601f83116001811461346c576000841561345a578287015190505b61346485826133e6565b8655506134cc565b601f19841661347a86612e60565b60005b828110156134a25784890151825560018201915060208501945060208101905061347d565b868310156134bf57848901516134bb601f8916826133c8565b8355505b6001600288020188555050505b505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613530602683612341565b915061353b826134d4565b604082019050919050565b6000602082019050818103600083015261355f81613523565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006135c2602583612341565b91506135cd82613566565b604082019050919050565b600060208201905081810360008301526135f1816135b5565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613654602483612341565b915061365f826135f8565b604082019050919050565b6000602082019050818103600083015261368381613647565b9050919050565b6000613695826123e8565b91506136a0836123e8565b92508282039050818111156136b8576136b7612c1f565b5b92915050565b60006136c9826123e8565b91506136d4836123e8565b92508282019050808211156136ec576136eb612c1f565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613728602083612341565b9150613733826136f2565b602082019050919050565b600060208201905081810360008301526137578161371b565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613794601983612341565b915061379f8261375e565b602082019050919050565b600060208201905081810360008301526137c381613787565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613826603283612341565b9150613831826137ca565b604082019050919050565b6000602082019050818103600083015261385581613819565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613896826123e8565b91506138a1836123e8565b9250826138b1576138b061385c565b5b828204905092915050565b60006138c7826123e8565b91506138d2836123e8565b9250826138e2576138e161385c565b5b828206905092915050565b60006138f8826123e8565b9150613903836123e8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561393c5761393b612c1f565b5b828202905092915050565b600081519050919050565b600082825260208201905092915050565b600061396e82613947565b6139788185613952565b9350613988818560208601612352565b6139918161237c565b840191505092915050565b60006080820190506139b1600083018761247d565b6139be602083018661247d565b6139cb6040830185612513565b81810360608301526139dd8184613963565b905095945050505050565b6000815190506139f7816122a7565b92915050565b600060208284031215613a1357613a12612271565b5b6000613a21848285016139e8565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613a60602083612341565b9150613a6b82613a2a565b602082019050919050565b60006020820190508181036000830152613a8f81613a53565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613acc601c83612341565b9150613ad782613a96565b602082019050919050565b60006020820190508181036000830152613afb81613abf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122075c889c0c8c60fa293f8f4966525b05107a48104f91b98389e1452073f07342364736f6c63430008100033