Contract Address Details
contract

0x229a02238453B4CC85131aebe58296C75af1232B

Contract Name
uyyu
Creator
0x2b9c56–fe5072 at 0x1c0ec2–cf349c
Balance
0 BRISE ( )
Tokens
Fetching tokens...
Transactions
0 Transactions
Transfers
0 Transfers
Gas Used
Fetching gas used...
Last Balance Update
7337644
Contract name:
uyyu




Optimization enabled
true
Compiler version
v0.8.15+commit.e14f2714




Optimization runs
200
Verified at
2023-05-08T10:14:51.635588Z

Contract source code

// created by cryptodo.app
//   _____                      _          _____         
//  / ____|                    | |        |  __ \        
// | |      _ __  _   _  _ __  | |_  ___  | |  | |  ___  
// | |     | '__|| | | || '_ \ | __|/ _ \ | |  | | / _ \ 
// | |____ | |   | |_| || |_) || |_| (_) || |__| || (_) |
//  \_____||_|    \__, || .__/  \__|\___/ |_____/  \___/ 
//                 __/ || |                              
//                |___/ |_|      

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	uint256 private _status;

	constructor() {
		_status = _NOT_ENTERED;
	}

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

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

		_;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// Token name
	string private _name;

	// Token symbol
	string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

		_approve(to, tokenId);
	}

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

		return _tokenApprovals[tokenId];
	}

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

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

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

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

		_transfer(from, to, tokenId);
	}

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

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

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

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

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

	/**
	 * @dev Safely mints `tokenId` and transfers it to `to`.
	 *
	 * Requirements:
	 *
	 * - `tokenId` must not exist.
	 * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
	 *
	 * Emits a {Transfer} event.
	 */
	function _safeMint(address to, uint256 tokenId) internal virtual {
		_safeMint(to, tokenId, "");
	}
/**
	 * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
	 * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
	 */
	function _safeMint(
		address to,
		uint256 tokenId,
		bytes memory _data
	) internal virtual {
		_mint(to, tokenId);
		require(
			_checkOnERC721Received(address(0), to, tokenId, _data),
			"ERC721: transfer to non ERC721Receiver implementer"
		);
	}

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

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

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

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

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

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

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

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

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

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

		_beforeTokenTransfer(from, to, tokenId);

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

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

		emit Transfer(from, to, tokenId);
	}

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

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

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

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

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

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

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

contract uyyu is ERC721Enumerable, Ownable, ReentrancyGuard {

	uint256 public TOKEN_MAX_AMOUNT = 1000;
	uint256 public TOKEN_PER_TX = 10;
	uint256 public TOKEN_PER_WALLET = 20;
	uint256 public PRICE = 1 ether;
	uint256 public constant TIME_FOR_GROWN = 1686737305000;
	address public founder = 0x2b9C5699E04b3D1225b57A585deC7c6C2bFE5072;

	uint256 public mintedPresaleCount;

	mapping (uint256 => uint256) private _entityBirthdays;
	mapping (address => uint256) private _availableClaims;
	mapping (uint256 => string) private _ipfsHash;
	string private _simpleIpfsHash;

	bool private _isPublicSaleActive = false;
	bool private _isPreSaleActive = false;
	bool private _isSimpleIpfsHash = false;

	string public tokenURIPrefix = "ipfs://";
	string public tokenURISuffix = "/metadata.json";

	string private _name = "utrrrg";
	string private _symbol = "FDF";
	string private _baseTokenURI = "https://lab.cryptodo.app/ru/create?type=ERC721_CONTRACT&network=BITGERT";

	event SendETH(address indexed to, uint256 amount);
	event SetNewPercent(address indexed to, uint256 percent);
	event SetNewValue(string nameValue, uint256 oldValue, uint256 newValue);

	constructor () ERC721(_name, _symbol) {	}

	

	function mintPublic(uint256 amount) external payable nonReentrant() {
		require(_isPublicSaleActive, "Public sale is not active");
		require(amount <= TOKEN_PER_TX, "You can't mint that many tokens");
		require(totalSupply() + amount <= TOKEN_MAX_AMOUNT, "Mint would exceed max supply of tokens");
		require(msg.value == amount * PRICE, "You didn't send the right amount of eth");

		_mintMultiple(msg.sender, amount);
	}

	function _mintMultiple(address owner, uint256 amount) private {
		require(balanceOf(owner) + amount <= TOKEN_PER_WALLET, "Mint would exceed max tokens per wallet");
		for (uint256 i = 0; i < amount; i++) {
			uint256 tokenId = totalSupply();
			_entityBirthdays[tokenId] = block.timestamp;
			_safeMint(owner, tokenId);
		}
	}

	function enableClaimFoundingMembers(address[] memory members, uint256[] memory amounts) external onlyOwner {
		require(amounts.length == members.length, "miscellaneous number of elements");
		for (uint256 i = 0; i < members.length; i++) {
			require(members[i] != address(0), "member is the zero address");
			require(amounts[i] <= TOKEN_PER_TX, "amount is more than the allowable");
			_availableClaims[members[i]] = amounts[i];
		}
	}

	function setIpfsHash(string[] memory ipfsHashs, uint256[] memory idTokens) external onlyOwner {
		require(ipfsHashs.length == idTokens.length, "miscellaneous number of elements");
		if(_isSimpleIpfsHash) {
			_simpleIpfsHash = ipfsHashs[0];
			return;
		}
		for (uint256 i = 0; i < idTokens.length; i++) {
			bytes memory tempHash = bytes(_ipfsHash[idTokens[i]]);
			require(tempHash.length == 0, "IPFS hash can be set only once");
			require(idTokens[i] <= TOKEN_MAX_AMOUNT, "id is more than the allowable");
			_ipfsHash[idTokens[i]] = ipfsHashs[i];
		}
	}

	function isAvailableForClaim() public view returns (bool) {
		return _availableClaims[msg.sender] > 0;
	}

	function mintPresaleMember() external payable nonReentrant() {
		uint256 amount = _availableClaims[msg.sender];
		makePresaleMemberMint(amount, msg.value);
	}

	function mintPresaleMemberWithAmount(uint256 amount) external payable nonReentrant() {
		makePresaleMemberMint(amount, msg.value);
	}

	function makePresaleMemberMint(uint256 tokenAmount, uint256 etherAmount) private {
		uint256 availableAmount = _availableClaims[msg.sender];
		require(availableAmount >= tokenAmount, "Wrong amount");

		require(_isPreSaleActive, "Pre-sale is not active");
		require(isAvailableForClaim(), "You've not claimed your token");
		require(totalSupply() + tokenAmount <= TOKEN_MAX_AMOUNT, "Mint would exceed max supply of tokens");
		require(mintedPresaleCount + tokenAmount <= TOKEN_MAX_AMOUNT, "Mint would exceed max pre-sale tokens");
		require(etherAmount == tokenAmount*PRICE, "You didn't send the right amount of eth");

		mintedPresaleCount += tokenAmount;
		_availableClaims[msg.sender] -= tokenAmount;
		_mintMultiple(msg.sender, tokenAmount);
	}

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

	function setEntityBirthdaysPrice(uint256 newPrice) public onlyOwner {
		require(newPrice > 0, "Wrong price");
		emit SetNewValue("PRICE", PRICE, newPrice);
		PRICE = newPrice;
	}

	function setEntityBirthdaysPerTx(uint256 newPerTx) public onlyOwner {
		require(newPerTx > 0, "Wrong per tx");
		emit SetNewValue("TOKEN_PER_TX", TOKEN_PER_TX, newPerTx);
		TOKEN_PER_TX = newPerTx;
	}

	function setTokenPerWallet(uint256 newPerWallet) public onlyOwner {
		require(newPerWallet > 0, "Wrong amount per wallet");
		emit SetNewValue("TOKEN_PER_WALLET", TOKEN_PER_WALLET, newPerWallet);
		TOKEN_PER_WALLET = newPerWallet;
	}

	function claimETH() external {
		require(owner() == _msgSender() || founder == _msgSender(), "You have no right to it");
		sendETH(payable(founder), getContractBalance());
	}

	function sendETH(address payable to, uint256 amount) private nonReentrant() {
		uint256 balance = getContractBalance();
		amount = amount > balance ? balance : amount;
		(bool sent, ) = to.call{value: amount}("");
		require(sent, "Failed to send ETH");
		emit SendETH(to, amount);
	}

	function getContractBalance() public view returns (uint256) {
		return address(this).balance;
	}

	function tokensOfOwner(address user) external view returns (uint256[] memory ownerTokens) {
		uint256 tokenCount = balanceOf(user);
		if (tokenCount == 0) {
			return new uint256[](0);
		} else {
			uint256[] memory output = new uint256[](tokenCount);
			for (uint256 index = 0; index < tokenCount; index++) {
				output[index] = tokenOfOwnerByIndex(user, index);
			}
			return output;
		}
	}

	function getBirthday(uint256 tokenId) public view returns (uint256) {
		require(tokenId < totalSupply(), "That entity has not been make yet");
		return _entityBirthdays[tokenId];
	}

	function getIpfsTokenUri(uint256 tokenId) external view returns (string memory) {
		require(tokenId < totalSupply(), "That entity has not been make yet");
		require(getBirthday(tokenId) < block.timestamp + TIME_FOR_GROWN, "That entity has not grown yet");
		return string(abi.encodePacked(tokenURIPrefix, _ipfsHash[tokenId], tokenURISuffix));
	}

	function getIpfsHash(uint256 tokenId) external onlyOwner view returns (string memory) {
		require(tokenId < totalSupply(), "That entity has not been make yet");
		if(_isSimpleIpfsHash) {
			return _simpleIpfsHash;
		} else {
			return _ipfsHash[tokenId];
		}
	}

	function togglePublicSale() external onlyOwner {
		_isPublicSaleActive = !_isPublicSaleActive;
	}

	function togglePreSale() external onlyOwner {
		_isPreSaleActive = !_isPreSaleActive;
	}

	function isPublicSaleActive() external view returns (bool status) {
		return _isPublicSaleActive;
	}

	function isPreSaleActive() external view returns (bool status) {
		return _isPreSaleActive;
	}

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

	function _setTokenURIPrefix(string memory _tokenURIPrefix) external onlyOwner {
		tokenURIPrefix = _tokenURIPrefix;
	}

	function _setTokenURISuffix(string memory _tokenURISuffix) external onlyOwner {
		tokenURISuffix = _tokenURISuffix;
	}
}
        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"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":"SendETH","inputs":[{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetNewPercent","inputs":[{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"percent","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetNewValue","inputs":[{"type":"string","name":"nameValue","internalType":"string","indexed":false},{"type":"uint256","name":"oldValue","internalType":"uint256","indexed":false},{"type":"uint256","name":"newValue","internalType":"uint256","indexed":false}],"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":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"PRICE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"TIME_FOR_GROWN","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"TOKEN_MAX_AMOUNT","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"TOKEN_PER_TX","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"TOKEN_PER_WALLET","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"_setTokenURIPrefix","inputs":[{"type":"string","name":"_tokenURIPrefix","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"_setTokenURISuffix","inputs":[{"type":"string","name":"_tokenURISuffix","internalType":"string"}]},{"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":"claimETH","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"enableClaimFoundingMembers","inputs":[{"type":"address[]","name":"members","internalType":"address[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"founder","inputs":[]},{"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":"uint256","name":"","internalType":"uint256"}],"name":"getBirthday","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getContractBalance","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"getIpfsHash","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"getIpfsTokenUri","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":"bool","name":"","internalType":"bool"}],"name":"isAvailableForClaim","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"status","internalType":"bool"}],"name":"isPreSaleActive","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"status","internalType":"bool"}],"name":"isPublicSaleActive","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[],"name":"mintPresaleMember","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[],"name":"mintPresaleMemberWithAmount","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"mintPublic","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"mintedPresaleCount","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"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":[],"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":"nonpayable","outputs":[],"name":"setBaseTokenURI","inputs":[{"type":"string","name":"baseTokenURI","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setEntityBirthdaysPerTx","inputs":[{"type":"uint256","name":"newPerTx","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setEntityBirthdaysPrice","inputs":[{"type":"uint256","name":"newPrice","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setIpfsHash","inputs":[{"type":"string[]","name":"ipfsHashs","internalType":"string[]"},{"type":"uint256[]","name":"idTokens","internalType":"uint256[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTokenPerWallet","inputs":[{"type":"uint256","name":"newPerWallet","internalType":"uint256"}]},{"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":"nonpayable","outputs":[],"name":"togglePreSale","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"togglePublicSale","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":"string","name":"","internalType":"string"}],"name":"tokenURIPrefix","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURISuffix","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256[]","name":"ownerTokens","internalType":"uint256[]"}],"name":"tokensOfOwner","inputs":[{"type":"address","name":"user","internalType":"address"}]},{"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"}]}]
              

Contract Creation Code

0x6103e8600c55600a600d556014600e55670de0b6b3a7640000600f55601080546001600160a01b031916732b9c5699e04b3d1225b57a585dec7c6c2bfe50721790556016805462ffffff1916905560c06040526007608090815266697066733a2f2f60c81b60a052601790620000769082620003ab565b5060408051808201909152600e81526d17b6b2ba30b230ba30973539b7b760911b6020820152601890620000ab9082620003ab565b5060408051808201909152600681526575747272726760d01b6020820152601990620000d89082620003ab565b5060408051808201909152600381526223222360e91b6020820152601a90620001029082620003ab565b5060405180608001604052806047815260200162003b3460479139601b906200012c9082620003ab565b503480156200013a57600080fd5b50601980546200014a906200031c565b80601f016020809104026020016040519081016040528092919081815260200182805462000178906200031c565b8015620001c95780601f106200019d57610100808354040283529160200191620001c9565b820191906000526020600020905b815481529060010190602001808311620001ab57829003601f168201915b5050505050601a8054620001dd906200031c565b80601f01602080910402602001604051908101604052809291908181526020018280546200020b906200031c565b80156200025c5780601f1062000230576101008083540402835291602001916200025c565b820191906000526020600020905b8154815290600101906020018083116200023e57829003601f168201915b50505050508160009081620002729190620003ab565b506001620002818282620003ab565b505050620002a9732b9c5699e04b3d1225b57a585dec7c6c2bfe5072620002b460201b60201c565b6001600b5562000477565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200033157607f821691505b6020821081036200035257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003a657600081815260208120601f850160051c81016020861015620003815750805b601f850160051c820191505b81811015620003a2578281556001016200038d565b5050505b505050565b81516001600160401b03811115620003c757620003c762000306565b620003df81620003d884546200031c565b8462000358565b602080601f831160018114620004175760008415620003fe5750858301515b600019600386901b1c1916600185901b178555620003a2565b600085815260208120601f198616915b82811015620004485788860151825594840194600190910190840162000427565b5085821015620004675787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6136ad80620004876000396000f3fe6080604052600436106102c95760003560e01c80638da5cb5b11610175578063c87b56dd116100dc578063dbbc853b11610095578063e985e9c51161006f578063e985e9c514610815578063efd0cbf91461085e578063f2fde38b14610871578063f4d2a2181461089157600080fd5b8063dbbc853b146107cb578063de49e4db146107e0578063e222c7f91461080057600080fd5b8063c87b56dd14610716578063c8d2524c14610736578063ca3cb52214610756578063cf9c89db1461076b578063d121a61b1461078b578063d450fbc9146107ab57600080fd5b8063a22cb4651161012e578063a22cb46514610671578063a584606414610691578063aca50b92146106b1578063b4f3c570146106cb578063b88d4fde146106e1578063c0ac99831461070157600080fd5b80638da5cb5b146105c75780639045a2df146105e5578063942ba2df1461060957806395d89b41146106295780639d044ed31461063e5780639e5ac7f11461065b57600080fd5b80634d853ee5116102345780636f9fb98a116101ed578063715018a6116101c7578063715018a6146105595780638462151c1461056e5780638d0b2cbd1461059b5780638d859f3e146105b157600080fd5b80636f9fb98a14610506578063704150331461051957806370a082311461053957600080fd5b80634d853ee51461045e5780634f6ccce71461047e5780636352211e1461049e578063657fc38d146104be57806367272999146104de5780636739a520146104f357600080fd5b80631f80f257116102865780631f80f257146103b657806323b872dd146103be5780632f745c59146103de57806330176e13146103fe5780633f5645081461041e57806342842e0e1461043e57600080fd5b806301ffc9a7146102ce57806306fdde0314610303578063081812fc14610325578063095ea7b31461035d57806318160ddd1461037f5780631e84c4131461039e575b600080fd5b3480156102da57600080fd5b506102ee6102e9366004612be6565b6108a7565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b506103186108d2565b6040516102fa9190612c5b565b34801561033157600080fd5b50610345610340366004612c6e565b610964565b6040516001600160a01b0390911681526020016102fa565b34801561036957600080fd5b5061037d610378366004612c9e565b6109fe565b005b34801561038b57600080fd5b506008545b6040519081526020016102fa565b3480156103aa57600080fd5b5060165460ff166102ee565b61037d610b13565b3480156103ca57600080fd5b5061037d6103d9366004612cc8565b610b5c565b3480156103ea57600080fd5b506103906103f9366004612c9e565b610b8d565b34801561040a57600080fd5b5061037d610419366004612dc3565b610c23565b34801561042a57600080fd5b5061037d610439366004612dc3565b610c5d565b34801561044a57600080fd5b5061037d610459366004612cc8565b610c93565b34801561046a57600080fd5b50601054610345906001600160a01b031681565b34801561048a57600080fd5b50610390610499366004612c6e565b610cae565b3480156104aa57600080fd5b506103456104b9366004612c6e565b610d41565b3480156104ca57600080fd5b5061037d6104d9366004612dc3565b610db8565b3480156104ea57600080fd5b5061037d610dee565b61037d610501366004612c6e565b610e75565b34801561051257600080fd5b5047610390565b34801561052557600080fd5b50610318610534366004612c6e565b610ea6565b34801561054557600080fd5b50610390610554366004612df8565b610f74565b34801561056557600080fd5b5061037d610ffb565b34801561057a57600080fd5b5061058e610589366004612df8565b61102f565b6040516102fa9190612e13565b3480156105a757600080fd5b50610390600e5481565b3480156105bd57600080fd5b50610390600f5481565b3480156105d357600080fd5b50600a546001600160a01b0316610345565b3480156105f157600080fd5b503360009081526013602052604090205415156102ee565b34801561061557600080fd5b5061037d610624366004612c6e565b6110f1565b34801561063557600080fd5b506103186111d5565b34801561064a57600080fd5b50601654610100900460ff166102ee565b34801561066757600080fd5b50610390600c5481565b34801561067d57600080fd5b5061037d61068c366004612e57565b6111e4565b34801561069d57600080fd5b5061037d6106ac366004612c6e565b6112a8565b3480156106bd57600080fd5b50610390650188b960bda881565b3480156106d757600080fd5b5061039060115481565b3480156106ed57600080fd5b5061037d6106fc366004612e93565b611377565b34801561070d57600080fd5b506103186113af565b34801561072257600080fd5b50610318610731366004612c6e565b61143d565b34801561074257600080fd5b50610390610751366004612c6e565b611518565b34801561076257600080fd5b5061037d611554565b34801561077757600080fd5b5061037d610786366004612f9e565b61159b565b34801561079757600080fd5b5061037d6107a6366004612c6e565b611781565b3480156107b757600080fd5b506103186107c6366004612c6e565b611848565b3480156107d757600080fd5b50610318611957565b3480156107ec57600080fd5b5061037d6107fb36600461305e565b611964565b34801561080c57600080fd5b5061037d611c01565b34801561082157600080fd5b506102ee61083036600461311b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61037d61086c366004612c6e565b611c3f565b34801561087d57600080fd5b5061037d61088c366004612df8565b611d74565b34801561089d57600080fd5b50610390600d5481565b60006001600160e01b0319821663780e9d6360e01b14806108cc57506108cc82611e0f565b92915050565b6060600080546108e19061314e565b80601f016020809104026020016040519081016040528092919081815260200182805461090d9061314e565b801561095a5780601f1061092f5761010080835404028352916020019161095a565b820191906000526020600020905b81548152906001019060200180831161093d57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109e25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a0982610d41565b9050806001600160a01b0316836001600160a01b031603610a765760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109d9565b336001600160a01b0382161480610a925750610a928133610830565b610b045760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109d9565b610b0e8383611e5f565b505050565b6002600b5403610b355760405162461bcd60e51b81526004016109d990613182565b6002600b5533600090815260136020526040902054610b548134611ecd565b506001600b55565b610b6633826120db565b610b825760405162461bcd60e51b81526004016109d9906131b9565b610b0e8383836121d2565b6000610b9883610f74565b8210610bfa5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109d9565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610c4d5760405162461bcd60e51b81526004016109d99061320a565b601b610c59828261328d565b5050565b600a546001600160a01b03163314610c875760405162461bcd60e51b81526004016109d99061320a565b6017610c59828261328d565b610b0e83838360405180602001604052806000815250611377565b6000610cb960085490565b8210610d1c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109d9565b60088281548110610d2f57610d2f61334d565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806108cc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109d9565b600a546001600160a01b03163314610de25760405162461bcd60e51b81526004016109d99061320a565b6018610c59828261328d565b600a546001600160a01b0316331480610e1157506010546001600160a01b031633145b610e5d5760405162461bcd60e51b815260206004820152601760248201527f596f752068617665206e6f20726967687420746f20697400000000000000000060448201526064016109d9565b601054610e73906001600160a01b03164761237d565b565b6002600b5403610e975760405162461bcd60e51b81526004016109d990613182565b6002600b55610b548134611ecd565b6060610eb160085490565b8210610ecf5760405162461bcd60e51b81526004016109d990613363565b610edf650188b960bda8426133ba565b610ee883611518565b10610f355760405162461bcd60e51b815260206004820152601d60248201527f5468617420656e7469747920686173206e6f742067726f776e2079657400000060448201526064016109d9565b6017601460008481526020019081526020016000206018604051602001610f5e93929190613445565b6040516020818303038152906040529050919050565b60006001600160a01b038216610fdf5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109d9565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146110255760405162461bcd60e51b81526004016109d99061320a565b610e73600061249c565b6060600061103c83610f74565b9050806000036110605760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff81111561107b5761107b612d04565b6040519080825280602002602001820160405280156110a4578160200160208202803683370190505b50905060005b82811015611058576110bc8582610b8d565b8282815181106110ce576110ce61334d565b6020908102919091010152806110e38161346c565b9150506110aa565b50919050565b600a546001600160a01b0316331461111b5760405162461bcd60e51b81526004016109d99061320a565b6000811161116b5760405162461bcd60e51b815260206004820152601760248201527f57726f6e6720616d6f756e74207065722077616c6c657400000000000000000060448201526064016109d9565b600e546040805160608082526010908201526f1513d2d15397d4115497d5d05313115560821b6080820152602081019290925281018290527f0d072220716df8d505ad38ae8dbfe77b968e2c80bb73f08c38a08d5fe4f9911a9060a00160405180910390a1600e55565b6060600180546108e19061314e565b336001600160a01b0383160361123c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109d9565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146112d25760405162461bcd60e51b81526004016109d99061320a565b600081116113115760405162461bcd60e51b815260206004820152600c60248201526b0aee4dedcce40e0cae440e8f60a31b60448201526064016109d9565b600d54604080516060808252600c908201526b0a89e968a9cbea08aa4bea8b60a31b6080820152602081019290925281018290527f0d072220716df8d505ad38ae8dbfe77b968e2c80bb73f08c38a08d5fe4f9911a9060a00160405180910390a1600d55565b61138133836120db565b61139d5760405162461bcd60e51b81526004016109d9906131b9565b6113a9848484846124ee565b50505050565b601780546113bc9061314e565b80601f01602080910402602001604051908101604052809291908181526020018280546113e89061314e565b80156114355780601f1061140a57610100808354040283529160200191611435565b820191906000526020600020905b81548152906001019060200180831161141857829003601f168201915b505050505081565b6000818152600260205260409020546060906001600160a01b03166114bc5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109d9565b60006114c6612521565b905060008151116114e65760405180602001604052806000815250611511565b806114f084612530565b604051602001611501929190613485565b6040516020818303038152906040525b9392505050565b600061152360085490565b82106115415760405162461bcd60e51b81526004016109d990613363565b5060009081526012602052604090205490565b600a546001600160a01b0316331461157e5760405162461bcd60e51b81526004016109d99061320a565b6016805461ff001981166101009182900460ff1615909102179055565b600a546001600160a01b031633146115c55760405162461bcd60e51b81526004016109d99061320a565b81518151146116165760405162461bcd60e51b815260206004820181905260248201527f6d697363656c6c616e656f7573206e756d626572206f6620656c656d656e747360448201526064016109d9565b60005b8251811015610b0e5760006001600160a01b031683828151811061163f5761163f61334d565b60200260200101516001600160a01b03160361169d5760405162461bcd60e51b815260206004820152601a60248201527f6d656d62657220697320746865207a65726f206164647265737300000000000060448201526064016109d9565b600d548282815181106116b2576116b261334d565b602002602001015111156117125760405162461bcd60e51b815260206004820152602160248201527f616d6f756e74206973206d6f7265207468616e2074686520616c6c6f7761626c6044820152606560f81b60648201526084016109d9565b8181815181106117245761172461334d565b6020026020010151601360008584815181106117425761174261334d565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000208190555080806117799061346c565b915050611619565b600a546001600160a01b031633146117ab5760405162461bcd60e51b81526004016109d99061320a565b600081116117e95760405162461bcd60e51b815260206004820152600b60248201526a57726f6e6720707269636560a81b60448201526064016109d9565b600f5460408051606080825260059082015264505249434560d81b6080820152602081019290925281018290527f0d072220716df8d505ad38ae8dbfe77b968e2c80bb73f08c38a08d5fe4f9911a9060a00160405180910390a1600f55565b600a546060906001600160a01b031633146118755760405162461bcd60e51b81526004016109d99061320a565b60085482106118965760405162461bcd60e51b81526004016109d990613363565b60165462010000900460ff161561193957601580546118b49061314e565b80601f01602080910402602001604051908101604052809291908181526020018280546118e09061314e565b801561192d5780601f106119025761010080835404028352916020019161192d565b820191906000526020600020905b81548152906001019060200180831161191057829003601f168201915b50505050509050919050565b600082815260146020526040902080546118b49061314e565b919050565b601880546113bc9061314e565b600a546001600160a01b0316331461198e5760405162461bcd60e51b81526004016109d99061320a565b80518251146119df5760405162461bcd60e51b815260206004820181905260248201527f6d697363656c6c616e656f7573206e756d626572206f6620656c656d656e747360448201526064016109d9565b60165462010000900460ff1615611a195781600081518110611a0357611a0361334d565b602002602001015160159081610b0e919061328d565b60005b8151811015610b0e57600060146000848481518110611a3d57611a3d61334d565b602002602001015181526020019081526020016000208054611a5e9061314e565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8a9061314e565b8015611ad75780601f10611aac57610100808354040283529160200191611ad7565b820191906000526020600020905b815481529060010190602001808311611aba57829003601f168201915b505050505090508051600014611b2f5760405162461bcd60e51b815260206004820152601e60248201527f4950465320686173682063616e20626520736574206f6e6c79206f6e6365000060448201526064016109d9565b600c54838381518110611b4457611b4461334d565b60200260200101511115611b9a5760405162461bcd60e51b815260206004820152601d60248201527f6964206973206d6f7265207468616e2074686520616c6c6f7761626c6500000060448201526064016109d9565b838281518110611bac57611bac61334d565b602002602001015160146000858581518110611bca57611bca61334d565b602002602001015181526020019081526020016000209081611bec919061328d565b50508080611bf99061346c565b915050611a1c565b600a546001600160a01b03163314611c2b5760405162461bcd60e51b81526004016109d99061320a565b6016805460ff19811660ff90911615179055565b6002600b5403611c615760405162461bcd60e51b81526004016109d990613182565b6002600b5560165460ff16611cb85760405162461bcd60e51b815260206004820152601960248201527f5075626c69632073616c65206973206e6f74206163746976650000000000000060448201526064016109d9565b600d54811115611d0a5760405162461bcd60e51b815260206004820152601f60248201527f596f752063616e2774206d696e742074686174206d616e7920746f6b656e730060448201526064016109d9565b600c5481611d1760085490565b611d2191906133ba565b1115611d3f5760405162461bcd60e51b81526004016109d9906134b4565b600f54611d4c90826134fa565b3414611d6a5760405162461bcd60e51b81526004016109d990613519565b610b543382612631565b600a546001600160a01b03163314611d9e5760405162461bcd60e51b81526004016109d99061320a565b6001600160a01b038116611e035760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d9565b611e0c8161249c565b50565b60006001600160e01b031982166380ac58cd60e01b1480611e4057506001600160e01b03198216635b5e139f60e01b145b806108cc57506301ffc9a760e01b6001600160e01b03198316146108cc565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611e9482610d41565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b3360009081526013602052604090205482811015611f1c5760405162461bcd60e51b815260206004820152600c60248201526b15dc9bdb99c8185b5bdd5b9d60a21b60448201526064016109d9565b601654610100900460ff16611f6c5760405162461bcd60e51b81526020600482015260166024820152755072652d73616c65206973206e6f742061637469766560501b60448201526064016109d9565b33600090815260136020526040902054611fc85760405162461bcd60e51b815260206004820152601d60248201527f596f75277665206e6f7420636c61696d656420796f757220746f6b656e00000060448201526064016109d9565b600c5483611fd560085490565b611fdf91906133ba565b1115611ffd5760405162461bcd60e51b81526004016109d9906134b4565b600c548360115461200e91906133ba565b111561206a5760405162461bcd60e51b815260206004820152602560248201527f4d696e7420776f756c6420657863656564206d6178207072652d73616c6520746044820152646f6b656e7360d81b60648201526084016109d9565b600f5461207790846134fa565b82146120955760405162461bcd60e51b81526004016109d990613519565b82601160008282546120a791906133ba565b909155505033600090815260136020526040812080548592906120cb908490613560565b90915550610b0e90503384612631565b6000818152600260205260408120546001600160a01b03166121545760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109d9565b600061215f83610d41565b9050806001600160a01b0316846001600160a01b0316148061219a5750836001600160a01b031661218f84610964565b6001600160a01b0316145b806121ca57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166121e582610d41565b6001600160a01b03161461224d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109d9565b6001600160a01b0382166122af5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109d9565b6122ba8383836126ec565b6122c5600082611e5f565b6001600160a01b03831660009081526003602052604081208054600192906122ee908490613560565b90915550506001600160a01b038216600090815260036020526040812080546001929061231c9084906133ba565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6002600b540361239f5760405162461bcd60e51b81526004016109d990613182565b6002600b55478082116123b257816123b4565b805b91506000836001600160a01b03168360405160006040518083038185875af1925050503d8060008114612403576040519150601f19603f3d011682016040523d82523d6000602084013e612408565b606091505b505090508061244e5760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b60448201526064016109d9565b836001600160a01b03167f2d7972e635b540e3a7d69ab075a726bac4112e45f631bde1b551cb069dcad6df8460405161248991815260200190565b60405180910390a250506001600b555050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6124f98484846121d2565b612505848484846127a4565b6113a95760405162461bcd60e51b81526004016109d990613577565b6060601b80546108e19061314e565b6060816000036125575750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612581578061256b8161346c565b915061257a9050600a836135df565b915061255b565b60008167ffffffffffffffff81111561259c5761259c612d04565b6040519080825280601f01601f1916602001820160405280156125c6576020820181803683370190505b5090505b84156121ca576125db600183613560565b91506125e8600a866135f3565b6125f39060306133ba565b60f81b8183815181106126085761260861334d565b60200101906001600160f81b031916908160001a90535061262a600a866135df565b94506125ca565b600e548161263e84610f74565b61264891906133ba565b11156126a65760405162461bcd60e51b815260206004820152602760248201527f4d696e7420776f756c6420657863656564206d617820746f6b656e7320706572604482015266081dd85b1b195d60ca1b60648201526084016109d9565b60005b81811015610b0e5760006126bc60085490565b600081815260126020526040902042905590506126d984826128a5565b50806126e48161346c565b9150506126a9565b6001600160a01b0383166127475761274281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61276a565b816001600160a01b0316836001600160a01b03161461276a5761276a83826128bf565b6001600160a01b03821661278157610b0e8161295c565b826001600160a01b0316826001600160a01b031614610b0e57610b0e8282612a0b565b60006001600160a01b0384163b1561289a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906127e8903390899088908890600401613607565b6020604051808303816000875af1925050508015612823575060408051601f3d908101601f1916820190925261282091810190613644565b60015b612880573d808015612851576040519150601f19603f3d011682016040523d82523d6000602084013e612856565b606091505b5080516000036128785760405162461bcd60e51b81526004016109d990613577565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506121ca565b506001949350505050565b610c59828260405180602001604052806000815250612a4f565b600060016128cc84610f74565b6128d69190613560565b600083815260076020526040902054909150808214612929576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061296e90600190613560565b600083815260096020526040812054600880549394509092849081106129965761299661334d565b9060005260206000200154905080600883815481106129b7576129b761334d565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806129ef576129ef613661565b6001900381819060005260206000200160009055905550505050565b6000612a1683610f74565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b612a598383612a82565b612a6660008484846127a4565b610b0e5760405162461bcd60e51b81526004016109d990613577565b6001600160a01b038216612ad85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109d9565b6000818152600260205260409020546001600160a01b031615612b3d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109d9565b612b49600083836126ec565b6001600160a01b0382166000908152600360205260408120805460019290612b729084906133ba565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114611e0c57600080fd5b600060208284031215612bf857600080fd5b813561151181612bd0565b60005b83811015612c1e578181015183820152602001612c06565b838111156113a95750506000910152565b60008151808452612c47816020860160208601612c03565b601f01601f19169290920160200192915050565b6020815260006115116020830184612c2f565b600060208284031215612c8057600080fd5b5035919050565b80356001600160a01b038116811461195257600080fd5b60008060408385031215612cb157600080fd5b612cba83612c87565b946020939093013593505050565b600080600060608486031215612cdd57600080fd5b612ce684612c87565b9250612cf460208501612c87565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612d4357612d43612d04565b604052919050565b600067ffffffffffffffff831115612d6557612d65612d04565b612d78601f8401601f1916602001612d1a565b9050828152838383011115612d8c57600080fd5b828260208301376000602084830101529392505050565b600082601f830112612db457600080fd5b61151183833560208501612d4b565b600060208284031215612dd557600080fd5b813567ffffffffffffffff811115612dec57600080fd5b6121ca84828501612da3565b600060208284031215612e0a57600080fd5b61151182612c87565b6020808252825182820181905260009190848201906040850190845b81811015612e4b57835183529284019291840191600101612e2f565b50909695505050505050565b60008060408385031215612e6a57600080fd5b612e7383612c87565b915060208301358015158114612e8857600080fd5b809150509250929050565b60008060008060808587031215612ea957600080fd5b612eb285612c87565b9350612ec060208601612c87565b925060408501359150606085013567ffffffffffffffff811115612ee357600080fd5b8501601f81018713612ef457600080fd5b612f0387823560208401612d4b565b91505092959194509250565b600067ffffffffffffffff821115612f2957612f29612d04565b5060051b60200190565b600082601f830112612f4457600080fd5b81356020612f59612f5483612f0f565b612d1a565b82815260059290921b84018101918181019086841115612f7857600080fd5b8286015b84811015612f935780358352918301918301612f7c565b509695505050505050565b60008060408385031215612fb157600080fd5b823567ffffffffffffffff80821115612fc957600080fd5b818501915085601f830112612fdd57600080fd5b81356020612fed612f5483612f0f565b82815260059290921b8401810191818101908984111561300c57600080fd5b948201945b838610156130315761302286612c87565b82529482019490820190613011565b9650508601359250508082111561304757600080fd5b5061305485828601612f33565b9150509250929050565b6000806040838503121561307157600080fd5b823567ffffffffffffffff8082111561308957600080fd5b818501915085601f83011261309d57600080fd5b813560206130ad612f5483612f0f565b82815260059290921b840181019181810190898411156130cc57600080fd5b8286015b84811015613104578035868111156130e85760008081fd5b6130f68c86838b0101612da3565b8452509183019183016130d0565b509650508601359250508082111561304757600080fd5b6000806040838503121561312e57600080fd5b61313783612c87565b915061314560208401612c87565b90509250929050565b600181811c9082168061316257607f821691505b6020821081036110eb57634e487b7160e01b600052602260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f821115610b0e57600081815260208120601f850160051c810160208610156132665750805b601f850160051c820191505b8181101561328557828155600101613272565b505050505050565b815167ffffffffffffffff8111156132a7576132a7612d04565b6132bb816132b5845461314e565b8461323f565b602080601f8311600181146132f057600084156132d85750858301515b600019600386901b1c1916600185901b178555613285565b600085815260208120601f198616915b8281101561331f57888601518255948401946001909101908401613300565b508582101561333d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b60208082526021908201527f5468617420656e7469747920686173206e6f74206265656e206d616b652079656040820152601d60fa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082198211156133cd576133cd6133a4565b500190565b600081546133df8161314e565b600182811680156133f7576001811461340c5761343b565b60ff198416875282151583028701945061343b565b8560005260208060002060005b858110156134325781548a820152908401908201613419565b50505082870194505b5050505092915050565b600061346361345d61345784886133d2565b866133d2565b846133d2565b95945050505050565b60006001820161347e5761347e6133a4565b5060010190565b60008351613497818460208801612c03565b8351908301906134ab818360208801612c03565b01949350505050565b60208082526026908201527f4d696e7420776f756c6420657863656564206d617820737570706c79206f6620604082015265746f6b656e7360d01b606082015260800190565b6000816000190483118215151615613514576135146133a4565b500290565b60208082526027908201527f596f75206469646e27742073656e642074686520726967687420616d6f756e74604082015266040decc40cae8d60cb1b606082015260800190565b600082821015613572576135726133a4565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b6000826135ee576135ee6135c9565b500490565b600082613602576136026135c9565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061363a90830184612c2f565b9695505050505050565b60006020828403121561365657600080fd5b815161151181612bd0565b634e487b7160e01b600052603160045260246000fdfea26469706673582212204a7d0aedfacd5a1fb528a5220e9a593c774c4733a94dbec203433d5da3568e9f64736f6c634300080f003368747470733a2f2f6c61622e63727970746f646f2e6170702f72752f6372656174653f747970653d4552433732315f434f4e5452414354266e6574776f726b3d42495447455254

Deployed ByteCode

0x6080604052600436106102c95760003560e01c80638da5cb5b11610175578063c87b56dd116100dc578063dbbc853b11610095578063e985e9c51161006f578063e985e9c514610815578063efd0cbf91461085e578063f2fde38b14610871578063f4d2a2181461089157600080fd5b8063dbbc853b146107cb578063de49e4db146107e0578063e222c7f91461080057600080fd5b8063c87b56dd14610716578063c8d2524c14610736578063ca3cb52214610756578063cf9c89db1461076b578063d121a61b1461078b578063d450fbc9146107ab57600080fd5b8063a22cb4651161012e578063a22cb46514610671578063a584606414610691578063aca50b92146106b1578063b4f3c570146106cb578063b88d4fde146106e1578063c0ac99831461070157600080fd5b80638da5cb5b146105c75780639045a2df146105e5578063942ba2df1461060957806395d89b41146106295780639d044ed31461063e5780639e5ac7f11461065b57600080fd5b80634d853ee5116102345780636f9fb98a116101ed578063715018a6116101c7578063715018a6146105595780638462151c1461056e5780638d0b2cbd1461059b5780638d859f3e146105b157600080fd5b80636f9fb98a14610506578063704150331461051957806370a082311461053957600080fd5b80634d853ee51461045e5780634f6ccce71461047e5780636352211e1461049e578063657fc38d146104be57806367272999146104de5780636739a520146104f357600080fd5b80631f80f257116102865780631f80f257146103b657806323b872dd146103be5780632f745c59146103de57806330176e13146103fe5780633f5645081461041e57806342842e0e1461043e57600080fd5b806301ffc9a7146102ce57806306fdde0314610303578063081812fc14610325578063095ea7b31461035d57806318160ddd1461037f5780631e84c4131461039e575b600080fd5b3480156102da57600080fd5b506102ee6102e9366004612be6565b6108a7565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b506103186108d2565b6040516102fa9190612c5b565b34801561033157600080fd5b50610345610340366004612c6e565b610964565b6040516001600160a01b0390911681526020016102fa565b34801561036957600080fd5b5061037d610378366004612c9e565b6109fe565b005b34801561038b57600080fd5b506008545b6040519081526020016102fa565b3480156103aa57600080fd5b5060165460ff166102ee565b61037d610b13565b3480156103ca57600080fd5b5061037d6103d9366004612cc8565b610b5c565b3480156103ea57600080fd5b506103906103f9366004612c9e565b610b8d565b34801561040a57600080fd5b5061037d610419366004612dc3565b610c23565b34801561042a57600080fd5b5061037d610439366004612dc3565b610c5d565b34801561044a57600080fd5b5061037d610459366004612cc8565b610c93565b34801561046a57600080fd5b50601054610345906001600160a01b031681565b34801561048a57600080fd5b50610390610499366004612c6e565b610cae565b3480156104aa57600080fd5b506103456104b9366004612c6e565b610d41565b3480156104ca57600080fd5b5061037d6104d9366004612dc3565b610db8565b3480156104ea57600080fd5b5061037d610dee565b61037d610501366004612c6e565b610e75565b34801561051257600080fd5b5047610390565b34801561052557600080fd5b50610318610534366004612c6e565b610ea6565b34801561054557600080fd5b50610390610554366004612df8565b610f74565b34801561056557600080fd5b5061037d610ffb565b34801561057a57600080fd5b5061058e610589366004612df8565b61102f565b6040516102fa9190612e13565b3480156105a757600080fd5b50610390600e5481565b3480156105bd57600080fd5b50610390600f5481565b3480156105d357600080fd5b50600a546001600160a01b0316610345565b3480156105f157600080fd5b503360009081526013602052604090205415156102ee565b34801561061557600080fd5b5061037d610624366004612c6e565b6110f1565b34801561063557600080fd5b506103186111d5565b34801561064a57600080fd5b50601654610100900460ff166102ee565b34801561066757600080fd5b50610390600c5481565b34801561067d57600080fd5b5061037d61068c366004612e57565b6111e4565b34801561069d57600080fd5b5061037d6106ac366004612c6e565b6112a8565b3480156106bd57600080fd5b50610390650188b960bda881565b3480156106d757600080fd5b5061039060115481565b3480156106ed57600080fd5b5061037d6106fc366004612e93565b611377565b34801561070d57600080fd5b506103186113af565b34801561072257600080fd5b50610318610731366004612c6e565b61143d565b34801561074257600080fd5b50610390610751366004612c6e565b611518565b34801561076257600080fd5b5061037d611554565b34801561077757600080fd5b5061037d610786366004612f9e565b61159b565b34801561079757600080fd5b5061037d6107a6366004612c6e565b611781565b3480156107b757600080fd5b506103186107c6366004612c6e565b611848565b3480156107d757600080fd5b50610318611957565b3480156107ec57600080fd5b5061037d6107fb36600461305e565b611964565b34801561080c57600080fd5b5061037d611c01565b34801561082157600080fd5b506102ee61083036600461311b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61037d61086c366004612c6e565b611c3f565b34801561087d57600080fd5b5061037d61088c366004612df8565b611d74565b34801561089d57600080fd5b50610390600d5481565b60006001600160e01b0319821663780e9d6360e01b14806108cc57506108cc82611e0f565b92915050565b6060600080546108e19061314e565b80601f016020809104026020016040519081016040528092919081815260200182805461090d9061314e565b801561095a5780601f1061092f5761010080835404028352916020019161095a565b820191906000526020600020905b81548152906001019060200180831161093d57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109e25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a0982610d41565b9050806001600160a01b0316836001600160a01b031603610a765760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109d9565b336001600160a01b0382161480610a925750610a928133610830565b610b045760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109d9565b610b0e8383611e5f565b505050565b6002600b5403610b355760405162461bcd60e51b81526004016109d990613182565b6002600b5533600090815260136020526040902054610b548134611ecd565b506001600b55565b610b6633826120db565b610b825760405162461bcd60e51b81526004016109d9906131b9565b610b0e8383836121d2565b6000610b9883610f74565b8210610bfa5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109d9565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610c4d5760405162461bcd60e51b81526004016109d99061320a565b601b610c59828261328d565b5050565b600a546001600160a01b03163314610c875760405162461bcd60e51b81526004016109d99061320a565b6017610c59828261328d565b610b0e83838360405180602001604052806000815250611377565b6000610cb960085490565b8210610d1c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109d9565b60088281548110610d2f57610d2f61334d565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806108cc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109d9565b600a546001600160a01b03163314610de25760405162461bcd60e51b81526004016109d99061320a565b6018610c59828261328d565b600a546001600160a01b0316331480610e1157506010546001600160a01b031633145b610e5d5760405162461bcd60e51b815260206004820152601760248201527f596f752068617665206e6f20726967687420746f20697400000000000000000060448201526064016109d9565b601054610e73906001600160a01b03164761237d565b565b6002600b5403610e975760405162461bcd60e51b81526004016109d990613182565b6002600b55610b548134611ecd565b6060610eb160085490565b8210610ecf5760405162461bcd60e51b81526004016109d990613363565b610edf650188b960bda8426133ba565b610ee883611518565b10610f355760405162461bcd60e51b815260206004820152601d60248201527f5468617420656e7469747920686173206e6f742067726f776e2079657400000060448201526064016109d9565b6017601460008481526020019081526020016000206018604051602001610f5e93929190613445565b6040516020818303038152906040529050919050565b60006001600160a01b038216610fdf5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109d9565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146110255760405162461bcd60e51b81526004016109d99061320a565b610e73600061249c565b6060600061103c83610f74565b9050806000036110605760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff81111561107b5761107b612d04565b6040519080825280602002602001820160405280156110a4578160200160208202803683370190505b50905060005b82811015611058576110bc8582610b8d565b8282815181106110ce576110ce61334d565b6020908102919091010152806110e38161346c565b9150506110aa565b50919050565b600a546001600160a01b0316331461111b5760405162461bcd60e51b81526004016109d99061320a565b6000811161116b5760405162461bcd60e51b815260206004820152601760248201527f57726f6e6720616d6f756e74207065722077616c6c657400000000000000000060448201526064016109d9565b600e546040805160608082526010908201526f1513d2d15397d4115497d5d05313115560821b6080820152602081019290925281018290527f0d072220716df8d505ad38ae8dbfe77b968e2c80bb73f08c38a08d5fe4f9911a9060a00160405180910390a1600e55565b6060600180546108e19061314e565b336001600160a01b0383160361123c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109d9565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146112d25760405162461bcd60e51b81526004016109d99061320a565b600081116113115760405162461bcd60e51b815260206004820152600c60248201526b0aee4dedcce40e0cae440e8f60a31b60448201526064016109d9565b600d54604080516060808252600c908201526b0a89e968a9cbea08aa4bea8b60a31b6080820152602081019290925281018290527f0d072220716df8d505ad38ae8dbfe77b968e2c80bb73f08c38a08d5fe4f9911a9060a00160405180910390a1600d55565b61138133836120db565b61139d5760405162461bcd60e51b81526004016109d9906131b9565b6113a9848484846124ee565b50505050565b601780546113bc9061314e565b80601f01602080910402602001604051908101604052809291908181526020018280546113e89061314e565b80156114355780601f1061140a57610100808354040283529160200191611435565b820191906000526020600020905b81548152906001019060200180831161141857829003601f168201915b505050505081565b6000818152600260205260409020546060906001600160a01b03166114bc5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109d9565b60006114c6612521565b905060008151116114e65760405180602001604052806000815250611511565b806114f084612530565b604051602001611501929190613485565b6040516020818303038152906040525b9392505050565b600061152360085490565b82106115415760405162461bcd60e51b81526004016109d990613363565b5060009081526012602052604090205490565b600a546001600160a01b0316331461157e5760405162461bcd60e51b81526004016109d99061320a565b6016805461ff001981166101009182900460ff1615909102179055565b600a546001600160a01b031633146115c55760405162461bcd60e51b81526004016109d99061320a565b81518151146116165760405162461bcd60e51b815260206004820181905260248201527f6d697363656c6c616e656f7573206e756d626572206f6620656c656d656e747360448201526064016109d9565b60005b8251811015610b0e5760006001600160a01b031683828151811061163f5761163f61334d565b60200260200101516001600160a01b03160361169d5760405162461bcd60e51b815260206004820152601a60248201527f6d656d62657220697320746865207a65726f206164647265737300000000000060448201526064016109d9565b600d548282815181106116b2576116b261334d565b602002602001015111156117125760405162461bcd60e51b815260206004820152602160248201527f616d6f756e74206973206d6f7265207468616e2074686520616c6c6f7761626c6044820152606560f81b60648201526084016109d9565b8181815181106117245761172461334d565b6020026020010151601360008584815181106117425761174261334d565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000208190555080806117799061346c565b915050611619565b600a546001600160a01b031633146117ab5760405162461bcd60e51b81526004016109d99061320a565b600081116117e95760405162461bcd60e51b815260206004820152600b60248201526a57726f6e6720707269636560a81b60448201526064016109d9565b600f5460408051606080825260059082015264505249434560d81b6080820152602081019290925281018290527f0d072220716df8d505ad38ae8dbfe77b968e2c80bb73f08c38a08d5fe4f9911a9060a00160405180910390a1600f55565b600a546060906001600160a01b031633146118755760405162461bcd60e51b81526004016109d99061320a565b60085482106118965760405162461bcd60e51b81526004016109d990613363565b60165462010000900460ff161561193957601580546118b49061314e565b80601f01602080910402602001604051908101604052809291908181526020018280546118e09061314e565b801561192d5780601f106119025761010080835404028352916020019161192d565b820191906000526020600020905b81548152906001019060200180831161191057829003601f168201915b50505050509050919050565b600082815260146020526040902080546118b49061314e565b919050565b601880546113bc9061314e565b600a546001600160a01b0316331461198e5760405162461bcd60e51b81526004016109d99061320a565b80518251146119df5760405162461bcd60e51b815260206004820181905260248201527f6d697363656c6c616e656f7573206e756d626572206f6620656c656d656e747360448201526064016109d9565b60165462010000900460ff1615611a195781600081518110611a0357611a0361334d565b602002602001015160159081610b0e919061328d565b60005b8151811015610b0e57600060146000848481518110611a3d57611a3d61334d565b602002602001015181526020019081526020016000208054611a5e9061314e565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8a9061314e565b8015611ad75780601f10611aac57610100808354040283529160200191611ad7565b820191906000526020600020905b815481529060010190602001808311611aba57829003601f168201915b505050505090508051600014611b2f5760405162461bcd60e51b815260206004820152601e60248201527f4950465320686173682063616e20626520736574206f6e6c79206f6e6365000060448201526064016109d9565b600c54838381518110611b4457611b4461334d565b60200260200101511115611b9a5760405162461bcd60e51b815260206004820152601d60248201527f6964206973206d6f7265207468616e2074686520616c6c6f7761626c6500000060448201526064016109d9565b838281518110611bac57611bac61334d565b602002602001015160146000858581518110611bca57611bca61334d565b602002602001015181526020019081526020016000209081611bec919061328d565b50508080611bf99061346c565b915050611a1c565b600a546001600160a01b03163314611c2b5760405162461bcd60e51b81526004016109d99061320a565b6016805460ff19811660ff90911615179055565b6002600b5403611c615760405162461bcd60e51b81526004016109d990613182565b6002600b5560165460ff16611cb85760405162461bcd60e51b815260206004820152601960248201527f5075626c69632073616c65206973206e6f74206163746976650000000000000060448201526064016109d9565b600d54811115611d0a5760405162461bcd60e51b815260206004820152601f60248201527f596f752063616e2774206d696e742074686174206d616e7920746f6b656e730060448201526064016109d9565b600c5481611d1760085490565b611d2191906133ba565b1115611d3f5760405162461bcd60e51b81526004016109d9906134b4565b600f54611d4c90826134fa565b3414611d6a5760405162461bcd60e51b81526004016109d990613519565b610b543382612631565b600a546001600160a01b03163314611d9e5760405162461bcd60e51b81526004016109d99061320a565b6001600160a01b038116611e035760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d9565b611e0c8161249c565b50565b60006001600160e01b031982166380ac58cd60e01b1480611e4057506001600160e01b03198216635b5e139f60e01b145b806108cc57506301ffc9a760e01b6001600160e01b03198316146108cc565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611e9482610d41565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b3360009081526013602052604090205482811015611f1c5760405162461bcd60e51b815260206004820152600c60248201526b15dc9bdb99c8185b5bdd5b9d60a21b60448201526064016109d9565b601654610100900460ff16611f6c5760405162461bcd60e51b81526020600482015260166024820152755072652d73616c65206973206e6f742061637469766560501b60448201526064016109d9565b33600090815260136020526040902054611fc85760405162461bcd60e51b815260206004820152601d60248201527f596f75277665206e6f7420636c61696d656420796f757220746f6b656e00000060448201526064016109d9565b600c5483611fd560085490565b611fdf91906133ba565b1115611ffd5760405162461bcd60e51b81526004016109d9906134b4565b600c548360115461200e91906133ba565b111561206a5760405162461bcd60e51b815260206004820152602560248201527f4d696e7420776f756c6420657863656564206d6178207072652d73616c6520746044820152646f6b656e7360d81b60648201526084016109d9565b600f5461207790846134fa565b82146120955760405162461bcd60e51b81526004016109d990613519565b82601160008282546120a791906133ba565b909155505033600090815260136020526040812080548592906120cb908490613560565b90915550610b0e90503384612631565b6000818152600260205260408120546001600160a01b03166121545760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109d9565b600061215f83610d41565b9050806001600160a01b0316846001600160a01b0316148061219a5750836001600160a01b031661218f84610964565b6001600160a01b0316145b806121ca57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166121e582610d41565b6001600160a01b03161461224d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109d9565b6001600160a01b0382166122af5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109d9565b6122ba8383836126ec565b6122c5600082611e5f565b6001600160a01b03831660009081526003602052604081208054600192906122ee908490613560565b90915550506001600160a01b038216600090815260036020526040812080546001929061231c9084906133ba565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6002600b540361239f5760405162461bcd60e51b81526004016109d990613182565b6002600b55478082116123b257816123b4565b805b91506000836001600160a01b03168360405160006040518083038185875af1925050503d8060008114612403576040519150601f19603f3d011682016040523d82523d6000602084013e612408565b606091505b505090508061244e5760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b60448201526064016109d9565b836001600160a01b03167f2d7972e635b540e3a7d69ab075a726bac4112e45f631bde1b551cb069dcad6df8460405161248991815260200190565b60405180910390a250506001600b555050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6124f98484846121d2565b612505848484846127a4565b6113a95760405162461bcd60e51b81526004016109d990613577565b6060601b80546108e19061314e565b6060816000036125575750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612581578061256b8161346c565b915061257a9050600a836135df565b915061255b565b60008167ffffffffffffffff81111561259c5761259c612d04565b6040519080825280601f01601f1916602001820160405280156125c6576020820181803683370190505b5090505b84156121ca576125db600183613560565b91506125e8600a866135f3565b6125f39060306133ba565b60f81b8183815181106126085761260861334d565b60200101906001600160f81b031916908160001a90535061262a600a866135df565b94506125ca565b600e548161263e84610f74565b61264891906133ba565b11156126a65760405162461bcd60e51b815260206004820152602760248201527f4d696e7420776f756c6420657863656564206d617820746f6b656e7320706572604482015266081dd85b1b195d60ca1b60648201526084016109d9565b60005b81811015610b0e5760006126bc60085490565b600081815260126020526040902042905590506126d984826128a5565b50806126e48161346c565b9150506126a9565b6001600160a01b0383166127475761274281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61276a565b816001600160a01b0316836001600160a01b03161461276a5761276a83826128bf565b6001600160a01b03821661278157610b0e8161295c565b826001600160a01b0316826001600160a01b031614610b0e57610b0e8282612a0b565b60006001600160a01b0384163b1561289a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906127e8903390899088908890600401613607565b6020604051808303816000875af1925050508015612823575060408051601f3d908101601f1916820190925261282091810190613644565b60015b612880573d808015612851576040519150601f19603f3d011682016040523d82523d6000602084013e612856565b606091505b5080516000036128785760405162461bcd60e51b81526004016109d990613577565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506121ca565b506001949350505050565b610c59828260405180602001604052806000815250612a4f565b600060016128cc84610f74565b6128d69190613560565b600083815260076020526040902054909150808214612929576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061296e90600190613560565b600083815260096020526040812054600880549394509092849081106129965761299661334d565b9060005260206000200154905080600883815481106129b7576129b761334d565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806129ef576129ef613661565b6001900381819060005260206000200160009055905550505050565b6000612a1683610f74565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b612a598383612a82565b612a6660008484846127a4565b610b0e5760405162461bcd60e51b81526004016109d990613577565b6001600160a01b038216612ad85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109d9565b6000818152600260205260409020546001600160a01b031615612b3d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109d9565b612b49600083836126ec565b6001600160a01b0382166000908152600360205260408120805460019290612b729084906133ba565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114611e0c57600080fd5b600060208284031215612bf857600080fd5b813561151181612bd0565b60005b83811015612c1e578181015183820152602001612c06565b838111156113a95750506000910152565b60008151808452612c47816020860160208601612c03565b601f01601f19169290920160200192915050565b6020815260006115116020830184612c2f565b600060208284031215612c8057600080fd5b5035919050565b80356001600160a01b038116811461195257600080fd5b60008060408385031215612cb157600080fd5b612cba83612c87565b946020939093013593505050565b600080600060608486031215612cdd57600080fd5b612ce684612c87565b9250612cf460208501612c87565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612d4357612d43612d04565b604052919050565b600067ffffffffffffffff831115612d6557612d65612d04565b612d78601f8401601f1916602001612d1a565b9050828152838383011115612d8c57600080fd5b828260208301376000602084830101529392505050565b600082601f830112612db457600080fd5b61151183833560208501612d4b565b600060208284031215612dd557600080fd5b813567ffffffffffffffff811115612dec57600080fd5b6121ca84828501612da3565b600060208284031215612e0a57600080fd5b61151182612c87565b6020808252825182820181905260009190848201906040850190845b81811015612e4b57835183529284019291840191600101612e2f565b50909695505050505050565b60008060408385031215612e6a57600080fd5b612e7383612c87565b915060208301358015158114612e8857600080fd5b809150509250929050565b60008060008060808587031215612ea957600080fd5b612eb285612c87565b9350612ec060208601612c87565b925060408501359150606085013567ffffffffffffffff811115612ee357600080fd5b8501601f81018713612ef457600080fd5b612f0387823560208401612d4b565b91505092959194509250565b600067ffffffffffffffff821115612f2957612f29612d04565b5060051b60200190565b600082601f830112612f4457600080fd5b81356020612f59612f5483612f0f565b612d1a565b82815260059290921b84018101918181019086841115612f7857600080fd5b8286015b84811015612f935780358352918301918301612f7c565b509695505050505050565b60008060408385031215612fb157600080fd5b823567ffffffffffffffff80821115612fc957600080fd5b818501915085601f830112612fdd57600080fd5b81356020612fed612f5483612f0f565b82815260059290921b8401810191818101908984111561300c57600080fd5b948201945b838610156130315761302286612c87565b82529482019490820190613011565b9650508601359250508082111561304757600080fd5b5061305485828601612f33565b9150509250929050565b6000806040838503121561307157600080fd5b823567ffffffffffffffff8082111561308957600080fd5b818501915085601f83011261309d57600080fd5b813560206130ad612f5483612f0f565b82815260059290921b840181019181810190898411156130cc57600080fd5b8286015b84811015613104578035868111156130e85760008081fd5b6130f68c86838b0101612da3565b8452509183019183016130d0565b509650508601359250508082111561304757600080fd5b6000806040838503121561312e57600080fd5b61313783612c87565b915061314560208401612c87565b90509250929050565b600181811c9082168061316257607f821691505b6020821081036110eb57634e487b7160e01b600052602260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f821115610b0e57600081815260208120601f850160051c810160208610156132665750805b601f850160051c820191505b8181101561328557828155600101613272565b505050505050565b815167ffffffffffffffff8111156132a7576132a7612d04565b6132bb816132b5845461314e565b8461323f565b602080601f8311600181146132f057600084156132d85750858301515b600019600386901b1c1916600185901b178555613285565b600085815260208120601f198616915b8281101561331f57888601518255948401946001909101908401613300565b508582101561333d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b60208082526021908201527f5468617420656e7469747920686173206e6f74206265656e206d616b652079656040820152601d60fa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082198211156133cd576133cd6133a4565b500190565b600081546133df8161314e565b600182811680156133f7576001811461340c5761343b565b60ff198416875282151583028701945061343b565b8560005260208060002060005b858110156134325781548a820152908401908201613419565b50505082870194505b5050505092915050565b600061346361345d61345784886133d2565b866133d2565b846133d2565b95945050505050565b60006001820161347e5761347e6133a4565b5060010190565b60008351613497818460208801612c03565b8351908301906134ab818360208801612c03565b01949350505050565b60208082526026908201527f4d696e7420776f756c6420657863656564206d617820737570706c79206f6620604082015265746f6b656e7360d01b606082015260800190565b6000816000190483118215151615613514576135146133a4565b500290565b60208082526027908201527f596f75206469646e27742073656e642074686520726967687420616d6f756e74604082015266040decc40cae8d60cb1b606082015260800190565b600082821015613572576135726133a4565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b6000826135ee576135ee6135c9565b500490565b600082613602576136026135c9565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061363a90830184612c2f565b9695505050505050565b60006020828403121561365657600080fd5b815161151181612bd0565b634e487b7160e01b600052603160045260246000fdfea26469706673582212204a7d0aedfacd5a1fb528a5220e9a593c774c4733a94dbec203433d5da3568e9f64736f6c634300080f0033