Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
37 JPEG
Holders
29
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
JpegGallery
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol"; import '@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol'; import '@openzeppelin/contracts/utils/cryptography/ECDSA.sol'; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; contract JpegGallery is EIP712, ERC721Enumerable, ERC721Burnable, ERC721Pausable, Ownable { using Strings for uint256; using SafeMath for uint256; // Constants uint256 public constant MAX_SUPPLY = 6969; uint256 public constant PURCHASE_LIMIT = 10; uint256 public constant PRICE = 0.069 ether; // Variables bool public whitelistIsOpen = false; bool public saleIsOpen = false; string private tokenBaseURI = ''; mapping(address => uint8) private allowList; // Events event SetBaseURI(string indexed _baseURI); event CreateJpeg(uint256 indexed id); constructor(string memory name, string memory symbol, string memory version, string memory baseURI) ERC721(name, symbol) EIP712(name, version) { setBaseURI(baseURI); pause(true); emit SetBaseURI(baseURI); } function mint(address to, uint256 amount) external payable { uint256 total = totalSupply(); require(saleIsOpen, 'Sale is not open'); require(total < MAX_SUPPLY, 'Max supply exceeded'); require(total + amount <= MAX_SUPPLY, 'Max supply exceeded'); require(amount > 0, 'Amount must be greater than 0'); require(amount <= PURCHASE_LIMIT, 'Max purchase limit exceeded'); require(msg.value >= PRICE.mul(amount), 'Incorrect ether value sent'); for (uint256 i; i < amount; i++) { uint id = totalSupply(); _safeMint(to, id); emit CreateJpeg(id); } } function whitelistMint(uint8 amount) external payable { uint256 total = totalSupply(); require(whitelistIsOpen, 'Whitelist is not open'); require(total < MAX_SUPPLY, 'Max supply exceeded'); require(total + amount <= MAX_SUPPLY, "Purchase would exceed max tokens"); require(amount > 0, 'Amount must be greater than 0'); require(amount <= allowList[_msgSender()], "Whitelist purchase limit exceeded"); require(msg.value >= PRICE.mul(amount), 'Incorrect ether value sent'); allowList[_msgSender()] -= amount; for (uint256 i; i < amount; i++) { uint id = totalSupply(); _safeMint(_msgSender(), id); emit CreateJpeg(id); } } function setWhitelist(address[] calldata addresses, uint8 numAllowedToMint) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { allowList[addresses[i]] = numAllowedToMint; } } function setWhitelistState(bool isOpen) external onlyOwner { whitelistIsOpen = isOpen; } function setSaleState(bool isOpen) external onlyOwner { saleIsOpen = isOpen; } function gift(address[] calldata to) external onlyOwner { uint256 total = totalSupply(); require(total < MAX_SUPPLY, 'Max supply exceeded'); require(total + to.length <= MAX_SUPPLY,'Max supply exceeded'); for(uint256 i; i < to.length; i++) { uint id = totalSupply(); _safeMint(to[i], id); emit CreateJpeg(id); } } function pause(bool pauseContract) public onlyOwner { pauseContract ? _pause() : _unpause(); } function withdrawAll() external payable onlyOwner { uint256 amount = address(this).balance; require(amount > 0); (bool success, ) = _msgSender().call{value: amount}(''); require(success, 'Transfer failed.'); } function walletOfOwner(address owner) public view returns (uint256[] memory) { uint256 tokenCount = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenCount); for (uint256 i; i < tokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(owner, i); } return tokenIds; } function _baseURI() internal view virtual override(ERC721) returns (string memory) { return tokenBaseURI; } function setBaseURI(string memory URI) public onlyOwner { tokenBaseURI = URI; emit SetBaseURI(tokenBaseURI); } function _hash(address account, string memory name) internal view returns (bytes32) { return _hashTypedDataV4(keccak256(abi.encode( keccak256("NFT(address account,string name)"), account, keccak256(bytes(name)) ))); } function verify(address account, uint256 id, string calldata name, bytes calldata signature) external view returns (bool) { address _owner = ECDSA.recover(_hash(account, name), signature); return (_owner == account) && (ownerOf(id) == _owner); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Enumerable, ERC721Pausable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol) pragma solidity ^0.8.0; import "./ECDSA.sol"; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; address private immutable _CACHED_THIS; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _CACHED_THIS = address(this); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Pausable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC721 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC721Pausable is ERC721, Pausable { /** * @dev See {ERC721-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); require(!paused(), "ERC721Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @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(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"CreateJpeg","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"_baseURI","type":"string"}],"name":"SetBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PURCHASE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"pauseContract","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isOpen","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint8","name":"numAllowedToMint","type":"uint8"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isOpen","type":"bool"}],"name":"setWhitelistState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistIsOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"amount","type":"uint8"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6101406040526000600a60156101000a81548160ff0219169083151502179055506000600a60166101000a81548160ff02191690831515021790555060405180602001604052806000815250600b90805190602001906200006292919062000695565b503480156200007057600080fd5b5060405162006d9738038062006d978339818101604052810190620000969190620008e2565b8383858460008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508260e081815250508161010081815250504660a08181525050620001038184846200022c60201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1681525050806101208181525050505050505081600090805190602001906200016492919062000695565b5080600190805190602001906200017d92919062000695565b5050506000600a60006101000a81548160ff021916908315150217905550620001bb620001af6200026860201b60201c565b6200027060201b60201c565b620001cc816200033660201b60201c565b620001de60016200042660201b60201c565b80604051620001ee919062000a1d565b60405180910390207f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa60405160405180910390a25050505062000db0565b600083838346306040516020016200024995949392919062000ab1565b6040516020818303038152906040528051906020012090509392505050565b600033905090565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003466200026860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200036c620004e560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003c5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003bc9062000b6f565b60405180910390fd5b80600b9080519060200190620003dd92919062000695565b50600b604051620003ef919062000c96565b60405180910390207f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa60405160405180910390a250565b620004366200026860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200045c620004e560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620004b5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004ac9062000b6f565b60405180910390fd5b80620004d157620004cb6200050f60201b60201c565b620004e2565b620004e1620005c660201b60201c565b5b50565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6200051f6200067e60201b60201c565b62000561576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005589062000cff565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa620005ad6200026860201b60201c565b604051620005bc919062000d21565b60405180910390a1565b620005d66200067e60201b60201c565b1562000619576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006109062000d8e565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620006656200026860201b60201c565b60405162000674919062000d21565b60405180910390a1565b6000600a60009054906101000a900460ff16905090565b828054620006a39062000bc0565b90600052602060002090601f016020900481019282620006c7576000855562000713565b82601f10620006e257805160ff191683800117855562000713565b8280016001018555821562000713579182015b8281111562000712578251825591602001919060010190620006f5565b5b50905062000722919062000726565b5090565b5b808211156200074157600081600090555060010162000727565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620007ae8262000763565b810181811067ffffffffffffffff82111715620007d057620007cf62000774565b5b80604052505050565b6000620007e562000745565b9050620007f38282620007a3565b919050565b600067ffffffffffffffff82111562000816576200081562000774565b5b620008218262000763565b9050602081019050919050565b60005b838110156200084e57808201518184015260208101905062000831565b838111156200085e576000848401525b50505050565b60006200087b6200087584620007f8565b620007d9565b9050828152602081018484840111156200089a57620008996200075e565b5b620008a78482856200082e565b509392505050565b600082601f830112620008c757620008c662000759565b5b8151620008d984826020860162000864565b91505092915050565b60008060008060808587031215620008ff57620008fe6200074f565b5b600085015167ffffffffffffffff81111562000920576200091f62000754565b5b6200092e87828801620008af565b945050602085015167ffffffffffffffff81111562000952576200095162000754565b5b6200096087828801620008af565b935050604085015167ffffffffffffffff81111562000984576200098362000754565b5b6200099287828801620008af565b925050606085015167ffffffffffffffff811115620009b657620009b562000754565b5b620009c487828801620008af565b91505092959194509250565b600081519050919050565b600081905092915050565b6000620009f382620009d0565b620009ff8185620009db565b935062000a118185602086016200082e565b80840191505092915050565b600062000a2b8284620009e6565b915081905092915050565b6000819050919050565b62000a4b8162000a36565b82525050565b6000819050919050565b62000a668162000a51565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000a998262000a6c565b9050919050565b62000aab8162000a8c565b82525050565b600060a08201905062000ac8600083018862000a40565b62000ad7602083018762000a40565b62000ae6604083018662000a40565b62000af5606083018562000a5b565b62000b04608083018462000aa0565b9695505050505050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000b5760208362000b0e565b915062000b648262000b1f565b602082019050919050565b6000602082019050818103600083015262000b8a8162000b48565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000bd957607f821691505b6020821081141562000bf05762000bef62000b91565b5b50919050565b60008190508160005260206000209050919050565b6000815462000c1a8162000bc0565b62000c268186620009db565b9450600182166000811462000c44576001811462000c565762000c8d565b60ff1983168652818601935062000c8d565b62000c618562000bf6565b60005b8381101562000c855781548189015260018201915060208101905062000c64565b838801955050505b50505092915050565b600062000ca4828462000c0b565b915081905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600062000ce760148362000b0e565b915062000cf48262000caf565b602082019050919050565b6000602082019050818103600083015262000d1a8162000cd8565b9050919050565b600060208201905062000d38600083018462000aa0565b92915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600062000d7660108362000b0e565b915062000d838262000d3e565b602082019050919050565b6000602082019050818103600083015262000da98162000d67565b9050919050565b60805160a05160c05160e0516101005161012051615f9762000e006000396000613564015260006135a601526000613585015260006134ba01526000613510015260006135390152615f976000f3fe60806040526004361061021a5760003560e01c80635c975abb1161012357806395d89b41116100ab578063c87b56dd1161006f578063c87b56dd146107a4578063d75e6110146107e1578063da7eacb91461080c578063e985e9c514610837578063f2fde38b146108745761021a565b806395d89b41146106d557806397495d7114610700578063a22cb46514610729578063b88d4fde14610752578063c4e370951461077b5761021a565b806370a08231116100f257806370a0823114610621578063715018a61461065e578063853828b6146106755780638d859f3e1461067f5780638da5cb5b146106aa5761021a565b80635c975abb1461056057806360e85cde1461058b5780636352211e146105a757806369523e48146105e45761021a565b806323b872dd116101a657806342842e0e1161017557806342842e0e1461046b57806342966c6814610494578063438b6300146104bd5780634f6ccce7146104fa57806355f804b3146105375761021a565b806323b872dd146103be5780632f745c59146103e757806332cb6b0c1461042457806340c10f191461044f5761021a565b8063095ea7b3116101ed578063095ea7b3146102ed5780631211b07614610316578063163e1e611461034157806318160ddd1461036a5780631df0bb8a146103955761021a565b806301ffc9a71461021f57806302329a291461025c57806306fdde0314610285578063081812fc146102b0575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190613cd9565b61089d565b6040516102539190613d21565b60405180910390f35b34801561026857600080fd5b50610283600480360381019061027e9190613d68565b6108af565b005b34801561029157600080fd5b5061029a610949565b6040516102a79190613e2e565b60405180910390f35b3480156102bc57600080fd5b506102d760048036038101906102d29190613e86565b6109db565b6040516102e49190613ef4565b60405180910390f35b3480156102f957600080fd5b50610314600480360381019061030f9190613f3b565b610a60565b005b34801561032257600080fd5b5061032b610b78565b6040516103389190613d21565b60405180910390f35b34801561034d57600080fd5b5061036860048036038101906103639190613fe0565b610b8b565b005b34801561037657600080fd5b5061037f610d3c565b60405161038c919061403c565b60405180910390f35b3480156103a157600080fd5b506103bc60048036038101906103b79190613d68565b610d49565b005b3480156103ca57600080fd5b506103e560048036038101906103e09190614057565b610de2565b005b3480156103f357600080fd5b5061040e60048036038101906104099190613f3b565b610e42565b60405161041b919061403c565b60405180910390f35b34801561043057600080fd5b50610439610ee7565b604051610446919061403c565b60405180910390f35b61046960048036038101906104649190613f3b565b610eed565b005b34801561047757600080fd5b50610492600480360381019061048d9190614057565b611127565b005b3480156104a057600080fd5b506104bb60048036038101906104b69190613e86565b611147565b005b3480156104c957600080fd5b506104e460048036038101906104df91906140aa565b6111a3565b6040516104f19190614195565b60405180910390f35b34801561050657600080fd5b50610521600480360381019061051c9190613e86565b611251565b60405161052e919061403c565b60405180910390f35b34801561054357600080fd5b5061055e600480360381019061055991906142e7565b6112c2565b005b34801561056c57600080fd5b5061057561139b565b6040516105829190613d21565b60405180910390f35b6105a560048036038101906105a09190614369565b6113b2565b005b3480156105b357600080fd5b506105ce60048036038101906105c99190613e86565b6116d0565b6040516105db9190613ef4565b60405180910390f35b3480156105f057600080fd5b5061060b60048036038101906106069190614442565b611782565b6040516106189190613d21565b60405180910390f35b34801561062d57600080fd5b50610648600480360381019061064391906140aa565b61189d565b604051610655919061403c565b60405180910390f35b34801561066a57600080fd5b50610673611955565b005b61067d6119dd565b005b34801561068b57600080fd5b50610694611b22565b6040516106a1919061403c565b60405180910390f35b3480156106b657600080fd5b506106bf611b2d565b6040516106cc9190613ef4565b60405180910390f35b3480156106e157600080fd5b506106ea611b57565b6040516106f79190613e2e565b60405180910390f35b34801561070c57600080fd5b50610727600480360381019061072291906144e9565b611be9565b005b34801561073557600080fd5b50610750600480360381019061074b9190614549565b611d0b565b005b34801561075e57600080fd5b506107796004803603810190610774919061462a565b611d21565b005b34801561078757600080fd5b506107a2600480360381019061079d9190613d68565b611d83565b005b3480156107b057600080fd5b506107cb60048036038101906107c69190613e86565b611e1c565b6040516107d89190613e2e565b60405180910390f35b3480156107ed57600080fd5b506107f6611ec3565b604051610803919061403c565b60405180910390f35b34801561081857600080fd5b50610821611ec8565b60405161082e9190613d21565b60405180910390f35b34801561084357600080fd5b5061085e600480360381019061085991906146ad565b611edb565b60405161086b9190613d21565b60405180910390f35b34801561088057600080fd5b5061089b600480360381019061089691906140aa565b611f6f565b005b60006108a882612067565b9050919050565b6108b76120e1565b73ffffffffffffffffffffffffffffffffffffffff166108d5611b2d565b73ffffffffffffffffffffffffffffffffffffffff161461092b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092290614739565b60405180910390fd5b8061093d576109386120e9565b610946565b61094561218b565b5b50565b60606000805461095890614788565b80601f016020809104026020016040519081016040528092919081815260200182805461098490614788565b80156109d15780601f106109a6576101008083540402835291602001916109d1565b820191906000526020600020905b8154815290600101906020018083116109b457829003601f168201915b5050505050905090565b60006109e68261222e565b610a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1c9061482c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a6b826116d0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad3906148be565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610afb6120e1565b73ffffffffffffffffffffffffffffffffffffffff161480610b2a5750610b2981610b246120e1565b611edb565b5b610b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6090614950565b60405180910390fd5b610b73838361229a565b505050565b600a60169054906101000a900460ff1681565b610b936120e1565b73ffffffffffffffffffffffffffffffffffffffff16610bb1611b2d565b73ffffffffffffffffffffffffffffffffffffffff1614610c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfe90614739565b60405180910390fd5b6000610c11610d3c565b9050611b398110610c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4e906149bc565b60405180910390fd5b611b398383905082610c699190614a0b565b1115610caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca1906149bc565b60405180910390fd5b60005b83839050811015610d36576000610cc2610d3c565b9050610cf5858584818110610cda57610cd9614a61565b5b9050602002016020810190610cef91906140aa565b82612353565b807f6cce90ae022b5992cbad972c2aabb47afcb4718302fb758acd383f1bf9e50a7f60405160405180910390a2508080610d2e90614a90565b915050610cad565b50505050565b6000600880549050905090565b610d516120e1565b73ffffffffffffffffffffffffffffffffffffffff16610d6f611b2d565b73ffffffffffffffffffffffffffffffffffffffff1614610dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbc90614739565b60405180910390fd5b80600a60156101000a81548160ff02191690831515021790555050565b610df3610ded6120e1565b82612371565b610e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2990614b4b565b60405180910390fd5b610e3d83838361244f565b505050565b6000610e4d8361189d565b8210610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8590614bdd565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611b3981565b6000610ef7610d3c565b9050600a60169054906101000a900460ff16610f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3f90614c49565b60405180910390fd5b611b398110610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f83906149bc565b60405180910390fd5b611b398282610f9b9190614a0b565b1115610fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd3906149bc565b60405180910390fd5b6000821161101f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101690614cb5565b60405180910390fd5b600a821115611063576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105a90614d21565b60405180910390fd5b61107d8266f52322698080006126ab90919063ffffffff16565b3410156110bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b690614d8d565b60405180910390fd5b60005b828110156111215760006110d4610d3c565b90506110e08582612353565b807f6cce90ae022b5992cbad972c2aabb47afcb4718302fb758acd383f1bf9e50a7f60405160405180910390a250808061111990614a90565b9150506110c2565b50505050565b61114283838360405180602001604052806000815250611d21565b505050565b6111586111526120e1565b82612371565b611197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118e90614e1f565b60405180910390fd5b6111a0816126c1565b50565b606060006111b08361189d565b905060008167ffffffffffffffff8111156111ce576111cd6141bc565b5b6040519080825280602002602001820160405280156111fc5781602001602082028036833780820191505090505b50905060005b82811015611246576112148582610e42565b82828151811061122757611226614a61565b5b602002602001018181525050808061123e90614a90565b915050611202565b508092505050919050565b600061125b610d3c565b821061129c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129390614eb1565b60405180910390fd5b600882815481106112b0576112af614a61565b5b90600052602060002001549050919050565b6112ca6120e1565b73ffffffffffffffffffffffffffffffffffffffff166112e8611b2d565b73ffffffffffffffffffffffffffffffffffffffff161461133e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133590614739565b60405180910390fd5b80600b9080519060200190611354929190613bca565b50600b6040516113649190614f70565b60405180910390207f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa60405160405180910390a250565b6000600a60009054906101000a900460ff16905090565b60006113bc610d3c565b9050600a60159054906101000a900460ff1661140d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140490614fd3565b60405180910390fd5b611b398110611451576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611448906149bc565b60405180910390fd5b611b398260ff16826114639190614a0b565b11156114a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149b9061503f565b60405180910390fd5b60008260ff16116114ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e190614cb5565b60405180910390fd5b600c60006114f66120e1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff168260ff161115611586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157d906150d1565b60405180910390fd5b6115a38260ff1666f52322698080006126ab90919063ffffffff16565b3410156115e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dc90614d8d565b60405180910390fd5b81600c60006115f26120e1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff1661164791906150f1565b92506101000a81548160ff021916908360ff16021790555060005b8260ff168110156116cb576000611677610d3c565b905061168a6116846120e1565b82612353565b807f6cce90ae022b5992cbad972c2aabb47afcb4718302fb758acd383f1bf9e50a7f60405160405180910390a25080806116c390614a90565b915050611662565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611779576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177090615197565b60405180910390fd5b80915050919050565b6000806118206117d68988888080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506127d2565b85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612836565b90508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614801561189057508073ffffffffffffffffffffffffffffffffffffffff16611878886116d0565b73ffffffffffffffffffffffffffffffffffffffff16145b9150509695505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561190e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190590615229565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61195d6120e1565b73ffffffffffffffffffffffffffffffffffffffff1661197b611b2d565b73ffffffffffffffffffffffffffffffffffffffff16146119d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c890614739565b60405180910390fd5b6119db600061285d565b565b6119e56120e1565b73ffffffffffffffffffffffffffffffffffffffff16611a03611b2d565b73ffffffffffffffffffffffffffffffffffffffff1614611a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5090614739565b60405180910390fd5b600047905060008111611a6b57600080fd5b6000611a756120e1565b73ffffffffffffffffffffffffffffffffffffffff1682604051611a989061527a565b60006040518083038185875af1925050503d8060008114611ad5576040519150601f19603f3d011682016040523d82523d6000602084013e611ada565b606091505b5050905080611b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b15906152db565b60405180910390fd5b5050565b66f523226980800081565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611b6690614788565b80601f0160208091040260200160405190810160405280929190818152602001828054611b9290614788565b8015611bdf5780601f10611bb457610100808354040283529160200191611bdf565b820191906000526020600020905b815481529060010190602001808311611bc257829003601f168201915b5050505050905090565b611bf16120e1565b73ffffffffffffffffffffffffffffffffffffffff16611c0f611b2d565b73ffffffffffffffffffffffffffffffffffffffff1614611c65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5c90614739565b60405180910390fd5b60005b83839050811015611d055781600c6000868685818110611c8b57611c8a614a61565b5b9050602002016020810190611ca091906140aa565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055508080611cfd90614a90565b915050611c68565b50505050565b611d1d611d166120e1565b8383612923565b5050565b611d32611d2c6120e1565b83612371565b611d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6890614b4b565b60405180910390fd5b611d7d84848484612a90565b50505050565b611d8b6120e1565b73ffffffffffffffffffffffffffffffffffffffff16611da9611b2d565b73ffffffffffffffffffffffffffffffffffffffff1614611dff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df690614739565b60405180910390fd5b80600a60166101000a81548160ff02191690831515021790555050565b6060611e278261222e565b611e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5d9061536d565b60405180910390fd5b6000611e70612aec565b90506000815111611e905760405180602001604052806000815250611ebb565b80611e9a84612b7e565b604051602001611eab9291906153be565b6040516020818303038152906040525b915050919050565b600a81565b600a60159054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f776120e1565b73ffffffffffffffffffffffffffffffffffffffff16611f95611b2d565b73ffffffffffffffffffffffffffffffffffffffff1614611feb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe290614739565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561205b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205290615454565b60405180910390fd5b6120648161285d565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806120da57506120d982612cdf565b5b9050919050565b600033905090565b6120f161139b565b612130576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612127906154c0565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6121746120e1565b6040516121819190613ef4565b60405180910390a1565b61219361139b565b156121d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ca9061552c565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586122176120e1565b6040516122249190613ef4565b60405180910390a1565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661230d836116d0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61236d828260405180602001604052806000815250612dc1565b5050565b600061237c8261222e565b6123bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b2906155be565b60405180910390fd5b60006123c6836116d0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061243557508373ffffffffffffffffffffffffffffffffffffffff1661241d846109db565b73ffffffffffffffffffffffffffffffffffffffff16145b8061244657506124458185611edb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661246f826116d0565b73ffffffffffffffffffffffffffffffffffffffff16146124c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124bc90615650565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252c906156e2565b60405180910390fd5b612540838383612e1c565b61254b60008261229a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461259b9190615702565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125f29190614a0b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836126b99190615736565b905092915050565b60006126cc826116d0565b90506126da81600084612e1c565b6126e560008361229a565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127359190615702565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061282e7f71773176ad2e54a07bb9ae800a72ea02fdc378fcb0214d1e9e2029ed79f3e653848480519060200120604051602001612813939291906157a9565b60405160208183030381529060405280519060200120612e2c565b905092915050565b60008060006128458585612e46565b9150915061285281612ec9565b819250505092915050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612992576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129899061582c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612a839190613d21565b60405180910390a3505050565b612a9b84848461244f565b612aa78484848461309e565b612ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612add906158be565b60405180910390fd5b50505050565b6060600b8054612afb90614788565b80601f0160208091040260200160405190810160405280929190818152602001828054612b2790614788565b8015612b745780601f10612b4957610100808354040283529160200191612b74565b820191906000526020600020905b815481529060010190602001808311612b5757829003601f168201915b5050505050905090565b60606000821415612bc6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cda565b600082905060005b60008214612bf8578080612be190614a90565b915050600a82612bf1919061590d565b9150612bce565b60008167ffffffffffffffff811115612c1457612c136141bc565b5b6040519080825280601f01601f191660200182016040528015612c465781602001600182028036833780820191505090505b5090505b60008514612cd357600182612c5f9190615702565b9150600a85612c6e919061593e565b6030612c7a9190614a0b565b60f81b818381518110612c9057612c8f614a61565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ccc919061590d565b9450612c4a565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612daa57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612dba5750612db982613226565b5b9050919050565b612dcb8383613290565b612dd8600084848461309e565b612e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0e906158be565b60405180910390fd5b505050565b612e2783838361345e565b505050565b6000612e3f612e396134b6565b836135d0565b9050919050565b600080604183511415612e885760008060006020860151925060408601519150606086015160001a9050612e7c87828585613603565b94509450505050612ec2565b604083511415612eb9576000806020850151915060408501519050612eae868383613710565b935093505050612ec2565b60006002915091505b9250929050565b60006004811115612edd57612edc61596f565b5b816004811115612ef057612eef61596f565b5b1415612efb5761309b565b60016004811115612f0f57612f0e61596f565b5b816004811115612f2257612f2161596f565b5b1415612f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5a906159ea565b60405180910390fd5b60026004811115612f7757612f7661596f565b5b816004811115612f8a57612f8961596f565b5b1415612fcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc290615a56565b60405180910390fd5b60036004811115612fdf57612fde61596f565b5b816004811115612ff257612ff161596f565b5b1415613033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302a90615ae8565b60405180910390fd5b6004808111156130465761304561596f565b5b8160048111156130595761305861596f565b5b141561309a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309190615b7a565b60405180910390fd5b5b50565b60006130bf8473ffffffffffffffffffffffffffffffffffffffff1661375e565b15613219578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130e86120e1565b8786866040518563ffffffff1660e01b815260040161310a9493929190615bef565b6020604051808303816000875af192505050801561314657506040513d601f19601f820116820180604052508101906131439190615c50565b60015b6131c9573d8060008114613176576040519150601f19603f3d011682016040523d82523d6000602084013e61317b565b606091505b506000815114156131c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b8906158be565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061321e565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f790615cc9565b60405180910390fd5b6133098161222e565b15613349576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334090615d35565b60405180910390fd5b61335560008383612e1c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133a59190614a0b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613469838383613771565b61347161139b565b156134b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134a890615dc7565b60405180910390fd5b505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614801561353257507f000000000000000000000000000000000000000000000000000000000000000046145b1561355f577f000000000000000000000000000000000000000000000000000000000000000090506135cd565b6135ca7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000613885565b90505b90565b600082826040516020016135e5929190615e54565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561363e576000600391509150613707565b601b8560ff16141580156136565750601c8560ff1614155b15613668576000600491509150613707565b60006001878787876040516000815260200160405260405161368d9493929190615e9a565b6020604051602081039080840390855afa1580156136af573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156136fe57600060019250925050613707565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c01905061375087828885613603565b935093505050935093915050565b600080823b905060008111915050919050565b61377c8383836138bf565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137bf576137ba816138c4565b6137fe565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146137fd576137fc838261390d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138415761383c81613a7a565b613880565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461387f5761387e8282613b4b565b5b5b505050565b600083838346306040516020016138a0959493929190615edf565b6040516020818303038152906040528051906020012090509392505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161391a8461189d565b6139249190615702565b9050600060076000848152602001908152602001600020549050818114613a09576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613a8e9190615702565b9050600060096000848152602001908152602001600020549050600060088381548110613abe57613abd614a61565b5b906000526020600020015490508060088381548110613ae057613adf614a61565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613b2f57613b2e615f32565b5b6001900381819060005260206000200160009055905550505050565b6000613b568361189d565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613bd690614788565b90600052602060002090601f016020900481019282613bf85760008555613c3f565b82601f10613c1157805160ff1916838001178555613c3f565b82800160010185558215613c3f579182015b82811115613c3e578251825591602001919060010190613c23565b5b509050613c4c9190613c50565b5090565b5b80821115613c69576000816000905550600101613c51565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613cb681613c81565b8114613cc157600080fd5b50565b600081359050613cd381613cad565b92915050565b600060208284031215613cef57613cee613c77565b5b6000613cfd84828501613cc4565b91505092915050565b60008115159050919050565b613d1b81613d06565b82525050565b6000602082019050613d366000830184613d12565b92915050565b613d4581613d06565b8114613d5057600080fd5b50565b600081359050613d6281613d3c565b92915050565b600060208284031215613d7e57613d7d613c77565b5b6000613d8c84828501613d53565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613dcf578082015181840152602081019050613db4565b83811115613dde576000848401525b50505050565b6000601f19601f8301169050919050565b6000613e0082613d95565b613e0a8185613da0565b9350613e1a818560208601613db1565b613e2381613de4565b840191505092915050565b60006020820190508181036000830152613e488184613df5565b905092915050565b6000819050919050565b613e6381613e50565b8114613e6e57600080fd5b50565b600081359050613e8081613e5a565b92915050565b600060208284031215613e9c57613e9b613c77565b5b6000613eaa84828501613e71565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ede82613eb3565b9050919050565b613eee81613ed3565b82525050565b6000602082019050613f096000830184613ee5565b92915050565b613f1881613ed3565b8114613f2357600080fd5b50565b600081359050613f3581613f0f565b92915050565b60008060408385031215613f5257613f51613c77565b5b6000613f6085828601613f26565b9250506020613f7185828601613e71565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112613fa057613f9f613f7b565b5b8235905067ffffffffffffffff811115613fbd57613fbc613f80565b5b602083019150836020820283011115613fd957613fd8613f85565b5b9250929050565b60008060208385031215613ff757613ff6613c77565b5b600083013567ffffffffffffffff81111561401557614014613c7c565b5b61402185828601613f8a565b92509250509250929050565b61403681613e50565b82525050565b6000602082019050614051600083018461402d565b92915050565b6000806000606084860312156140705761406f613c77565b5b600061407e86828701613f26565b935050602061408f86828701613f26565b92505060406140a086828701613e71565b9150509250925092565b6000602082840312156140c0576140bf613c77565b5b60006140ce84828501613f26565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61410c81613e50565b82525050565b600061411e8383614103565b60208301905092915050565b6000602082019050919050565b6000614142826140d7565b61414c81856140e2565b9350614157836140f3565b8060005b8381101561418857815161416f8882614112565b975061417a8361412a565b92505060018101905061415b565b5085935050505092915050565b600060208201905081810360008301526141af8184614137565b905092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6141f482613de4565b810181811067ffffffffffffffff82111715614213576142126141bc565b5b80604052505050565b6000614226613c6d565b905061423282826141eb565b919050565b600067ffffffffffffffff821115614252576142516141bc565b5b61425b82613de4565b9050602081019050919050565b82818337600083830152505050565b600061428a61428584614237565b61421c565b9050828152602081018484840111156142a6576142a56141b7565b5b6142b1848285614268565b509392505050565b600082601f8301126142ce576142cd613f7b565b5b81356142de848260208601614277565b91505092915050565b6000602082840312156142fd576142fc613c77565b5b600082013567ffffffffffffffff81111561431b5761431a613c7c565b5b614327848285016142b9565b91505092915050565b600060ff82169050919050565b61434681614330565b811461435157600080fd5b50565b6000813590506143638161433d565b92915050565b60006020828403121561437f5761437e613c77565b5b600061438d84828501614354565b91505092915050565b60008083601f8401126143ac576143ab613f7b565b5b8235905067ffffffffffffffff8111156143c9576143c8613f80565b5b6020830191508360018202830111156143e5576143e4613f85565b5b9250929050565b60008083601f84011261440257614401613f7b565b5b8235905067ffffffffffffffff81111561441f5761441e613f80565b5b60208301915083600182028301111561443b5761443a613f85565b5b9250929050565b6000806000806000806080878903121561445f5761445e613c77565b5b600061446d89828a01613f26565b965050602061447e89828a01613e71565b955050604087013567ffffffffffffffff81111561449f5761449e613c7c565b5b6144ab89828a01614396565b9450945050606087013567ffffffffffffffff8111156144ce576144cd613c7c565b5b6144da89828a016143ec565b92509250509295509295509295565b60008060006040848603121561450257614501613c77565b5b600084013567ffffffffffffffff8111156145205761451f613c7c565b5b61452c86828701613f8a565b9350935050602061453f86828701614354565b9150509250925092565b600080604083850312156145605761455f613c77565b5b600061456e85828601613f26565b925050602061457f85828601613d53565b9150509250929050565b600067ffffffffffffffff8211156145a4576145a36141bc565b5b6145ad82613de4565b9050602081019050919050565b60006145cd6145c884614589565b61421c565b9050828152602081018484840111156145e9576145e86141b7565b5b6145f4848285614268565b509392505050565b600082601f83011261461157614610613f7b565b5b81356146218482602086016145ba565b91505092915050565b6000806000806080858703121561464457614643613c77565b5b600061465287828801613f26565b945050602061466387828801613f26565b935050604061467487828801613e71565b925050606085013567ffffffffffffffff81111561469557614694613c7c565b5b6146a1878288016145fc565b91505092959194509250565b600080604083850312156146c4576146c3613c77565b5b60006146d285828601613f26565b92505060206146e385828601613f26565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614723602083613da0565b915061472e826146ed565b602082019050919050565b6000602082019050818103600083015261475281614716565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806147a057607f821691505b602082108114156147b4576147b3614759565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614816602c83613da0565b9150614821826147ba565b604082019050919050565b6000602082019050818103600083015261484581614809565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006148a8602183613da0565b91506148b38261484c565b604082019050919050565b600060208201905081810360008301526148d78161489b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061493a603883613da0565b9150614945826148de565b604082019050919050565b600060208201905081810360008301526149698161492d565b9050919050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b60006149a6601383613da0565b91506149b182614970565b602082019050919050565b600060208201905081810360008301526149d581614999565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614a1682613e50565b9150614a2183613e50565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a5657614a556149dc565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614a9b82613e50565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ace57614acd6149dc565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614b35603183613da0565b9150614b4082614ad9565b604082019050919050565b60006020820190508181036000830152614b6481614b28565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614bc7602b83613da0565b9150614bd282614b6b565b604082019050919050565b60006020820190508181036000830152614bf681614bba565b9050919050565b7f53616c65206973206e6f74206f70656e00000000000000000000000000000000600082015250565b6000614c33601083613da0565b9150614c3e82614bfd565b602082019050919050565b60006020820190508181036000830152614c6281614c26565b9050919050565b7f416d6f756e74206d7573742062652067726561746572207468616e2030000000600082015250565b6000614c9f601d83613da0565b9150614caa82614c69565b602082019050919050565b60006020820190508181036000830152614cce81614c92565b9050919050565b7f4d6178207075726368617365206c696d69742065786365656465640000000000600082015250565b6000614d0b601b83613da0565b9150614d1682614cd5565b602082019050919050565b60006020820190508181036000830152614d3a81614cfe565b9050919050565b7f496e636f72726563742065746865722076616c75652073656e74000000000000600082015250565b6000614d77601a83613da0565b9150614d8282614d41565b602082019050919050565b60006020820190508181036000830152614da681614d6a565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000614e09603083613da0565b9150614e1482614dad565b604082019050919050565b60006020820190508181036000830152614e3881614dfc565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614e9b602c83613da0565b9150614ea682614e3f565b604082019050919050565b60006020820190508181036000830152614eca81614e8e565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614efe81614788565b614f088186614ed1565b94506001821660008114614f235760018114614f3457614f67565b60ff19831686528186019350614f67565b614f3d85614edc565b60005b83811015614f5f57815481890152600182019150602081019050614f40565b838801955050505b50505092915050565b6000614f7c8284614ef1565b915081905092915050565b7f57686974656c697374206973206e6f74206f70656e0000000000000000000000600082015250565b6000614fbd601583613da0565b9150614fc882614f87565b602082019050919050565b60006020820190508181036000830152614fec81614fb0565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73600082015250565b6000615029602083613da0565b915061503482614ff3565b602082019050919050565b600060208201905081810360008301526150588161501c565b9050919050565b7f57686974656c697374207075726368617365206c696d6974206578636565646560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b60006150bb602183613da0565b91506150c68261505f565b604082019050919050565b600060208201905081810360008301526150ea816150ae565b9050919050565b60006150fc82614330565b915061510783614330565b92508282101561511a576151196149dc565b5b828203905092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000615181602983613da0565b915061518c82615125565b604082019050919050565b600060208201905081810360008301526151b081615174565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615213602a83613da0565b915061521e826151b7565b604082019050919050565b6000602082019050818103600083015261524281615206565b9050919050565b600081905092915050565b50565b6000615264600083615249565b915061526f82615254565b600082019050919050565b600061528582615257565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006152c5601083613da0565b91506152d08261528f565b602082019050919050565b600060208201905081810360008301526152f4816152b8565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615357602f83613da0565b9150615362826152fb565b604082019050919050565b600060208201905081810360008301526153868161534a565b9050919050565b600061539882613d95565b6153a28185614ed1565b93506153b2818560208601613db1565b80840191505092915050565b60006153ca828561538d565b91506153d6828461538d565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061543e602683613da0565b9150615449826153e2565b604082019050919050565b6000602082019050818103600083015261546d81615431565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006154aa601483613da0565b91506154b582615474565b602082019050919050565b600060208201905081810360008301526154d98161549d565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000615516601083613da0565b9150615521826154e0565b602082019050919050565b6000602082019050818103600083015261554581615509565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006155a8602c83613da0565b91506155b38261554c565b604082019050919050565b600060208201905081810360008301526155d78161559b565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061563a602983613da0565b9150615645826155de565b604082019050919050565b600060208201905081810360008301526156698161562d565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006156cc602483613da0565b91506156d782615670565b604082019050919050565b600060208201905081810360008301526156fb816156bf565b9050919050565b600061570d82613e50565b915061571883613e50565b92508282101561572b5761572a6149dc565b5b828203905092915050565b600061574182613e50565b915061574c83613e50565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615785576157846149dc565b5b828202905092915050565b6000819050919050565b6157a381615790565b82525050565b60006060820190506157be600083018661579a565b6157cb6020830185613ee5565b6157d8604083018461579a565b949350505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615816601983613da0565b9150615821826157e0565b602082019050919050565b6000602082019050818103600083015261584581615809565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006158a8603283613da0565b91506158b38261584c565b604082019050919050565b600060208201905081810360008301526158d78161589b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061591882613e50565b915061592383613e50565b925082615933576159326158de565b5b828204905092915050565b600061594982613e50565b915061595483613e50565b925082615964576159636158de565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006159d4601883613da0565b91506159df8261599e565b602082019050919050565b60006020820190508181036000830152615a03816159c7565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615a40601f83613da0565b9150615a4b82615a0a565b602082019050919050565b60006020820190508181036000830152615a6f81615a33565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615ad2602283613da0565b9150615add82615a76565b604082019050919050565b60006020820190508181036000830152615b0181615ac5565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615b64602283613da0565b9150615b6f82615b08565b604082019050919050565b60006020820190508181036000830152615b9381615b57565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615bc182615b9a565b615bcb8185615ba5565b9350615bdb818560208601613db1565b615be481613de4565b840191505092915050565b6000608082019050615c046000830187613ee5565b615c116020830186613ee5565b615c1e604083018561402d565b8181036060830152615c308184615bb6565b905095945050505050565b600081519050615c4a81613cad565b92915050565b600060208284031215615c6657615c65613c77565b5b6000615c7484828501615c3b565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615cb3602083613da0565b9150615cbe82615c7d565b602082019050919050565b60006020820190508181036000830152615ce281615ca6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615d1f601c83613da0565b9150615d2a82615ce9565b602082019050919050565b60006020820190508181036000830152615d4e81615d12565b9050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b6000615db1602b83613da0565b9150615dbc82615d55565b604082019050919050565b60006020820190508181036000830152615de081615da4565b9050919050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000615e1d600283614ed1565b9150615e2882615de7565b600282019050919050565b6000819050919050565b615e4e615e4982615790565b615e33565b82525050565b6000615e5f82615e10565b9150615e6b8285615e3d565b602082019150615e7b8284615e3d565b6020820191508190509392505050565b615e9481614330565b82525050565b6000608082019050615eaf600083018761579a565b615ebc6020830186615e8b565b615ec9604083018561579a565b615ed6606083018461579a565b95945050505050565b600060a082019050615ef4600083018861579a565b615f01602083018761579a565b615f0e604083018661579a565b615f1b606083018561402d565b615f286080830184613ee5565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122088e5309bacfcc59a29f7c7220d59becf25fa713d5d06ced78a9b5231a1dbcc9064736f6c634300080b0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000010546865204a5045472047616c6c6572790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a504547000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005312e302e300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061021a5760003560e01c80635c975abb1161012357806395d89b41116100ab578063c87b56dd1161006f578063c87b56dd146107a4578063d75e6110146107e1578063da7eacb91461080c578063e985e9c514610837578063f2fde38b146108745761021a565b806395d89b41146106d557806397495d7114610700578063a22cb46514610729578063b88d4fde14610752578063c4e370951461077b5761021a565b806370a08231116100f257806370a0823114610621578063715018a61461065e578063853828b6146106755780638d859f3e1461067f5780638da5cb5b146106aa5761021a565b80635c975abb1461056057806360e85cde1461058b5780636352211e146105a757806369523e48146105e45761021a565b806323b872dd116101a657806342842e0e1161017557806342842e0e1461046b57806342966c6814610494578063438b6300146104bd5780634f6ccce7146104fa57806355f804b3146105375761021a565b806323b872dd146103be5780632f745c59146103e757806332cb6b0c1461042457806340c10f191461044f5761021a565b8063095ea7b3116101ed578063095ea7b3146102ed5780631211b07614610316578063163e1e611461034157806318160ddd1461036a5780631df0bb8a146103955761021a565b806301ffc9a71461021f57806302329a291461025c57806306fdde0314610285578063081812fc146102b0575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190613cd9565b61089d565b6040516102539190613d21565b60405180910390f35b34801561026857600080fd5b50610283600480360381019061027e9190613d68565b6108af565b005b34801561029157600080fd5b5061029a610949565b6040516102a79190613e2e565b60405180910390f35b3480156102bc57600080fd5b506102d760048036038101906102d29190613e86565b6109db565b6040516102e49190613ef4565b60405180910390f35b3480156102f957600080fd5b50610314600480360381019061030f9190613f3b565b610a60565b005b34801561032257600080fd5b5061032b610b78565b6040516103389190613d21565b60405180910390f35b34801561034d57600080fd5b5061036860048036038101906103639190613fe0565b610b8b565b005b34801561037657600080fd5b5061037f610d3c565b60405161038c919061403c565b60405180910390f35b3480156103a157600080fd5b506103bc60048036038101906103b79190613d68565b610d49565b005b3480156103ca57600080fd5b506103e560048036038101906103e09190614057565b610de2565b005b3480156103f357600080fd5b5061040e60048036038101906104099190613f3b565b610e42565b60405161041b919061403c565b60405180910390f35b34801561043057600080fd5b50610439610ee7565b604051610446919061403c565b60405180910390f35b61046960048036038101906104649190613f3b565b610eed565b005b34801561047757600080fd5b50610492600480360381019061048d9190614057565b611127565b005b3480156104a057600080fd5b506104bb60048036038101906104b69190613e86565b611147565b005b3480156104c957600080fd5b506104e460048036038101906104df91906140aa565b6111a3565b6040516104f19190614195565b60405180910390f35b34801561050657600080fd5b50610521600480360381019061051c9190613e86565b611251565b60405161052e919061403c565b60405180910390f35b34801561054357600080fd5b5061055e600480360381019061055991906142e7565b6112c2565b005b34801561056c57600080fd5b5061057561139b565b6040516105829190613d21565b60405180910390f35b6105a560048036038101906105a09190614369565b6113b2565b005b3480156105b357600080fd5b506105ce60048036038101906105c99190613e86565b6116d0565b6040516105db9190613ef4565b60405180910390f35b3480156105f057600080fd5b5061060b60048036038101906106069190614442565b611782565b6040516106189190613d21565b60405180910390f35b34801561062d57600080fd5b50610648600480360381019061064391906140aa565b61189d565b604051610655919061403c565b60405180910390f35b34801561066a57600080fd5b50610673611955565b005b61067d6119dd565b005b34801561068b57600080fd5b50610694611b22565b6040516106a1919061403c565b60405180910390f35b3480156106b657600080fd5b506106bf611b2d565b6040516106cc9190613ef4565b60405180910390f35b3480156106e157600080fd5b506106ea611b57565b6040516106f79190613e2e565b60405180910390f35b34801561070c57600080fd5b50610727600480360381019061072291906144e9565b611be9565b005b34801561073557600080fd5b50610750600480360381019061074b9190614549565b611d0b565b005b34801561075e57600080fd5b506107796004803603810190610774919061462a565b611d21565b005b34801561078757600080fd5b506107a2600480360381019061079d9190613d68565b611d83565b005b3480156107b057600080fd5b506107cb60048036038101906107c69190613e86565b611e1c565b6040516107d89190613e2e565b60405180910390f35b3480156107ed57600080fd5b506107f6611ec3565b604051610803919061403c565b60405180910390f35b34801561081857600080fd5b50610821611ec8565b60405161082e9190613d21565b60405180910390f35b34801561084357600080fd5b5061085e600480360381019061085991906146ad565b611edb565b60405161086b9190613d21565b60405180910390f35b34801561088057600080fd5b5061089b600480360381019061089691906140aa565b611f6f565b005b60006108a882612067565b9050919050565b6108b76120e1565b73ffffffffffffffffffffffffffffffffffffffff166108d5611b2d565b73ffffffffffffffffffffffffffffffffffffffff161461092b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092290614739565b60405180910390fd5b8061093d576109386120e9565b610946565b61094561218b565b5b50565b60606000805461095890614788565b80601f016020809104026020016040519081016040528092919081815260200182805461098490614788565b80156109d15780601f106109a6576101008083540402835291602001916109d1565b820191906000526020600020905b8154815290600101906020018083116109b457829003601f168201915b5050505050905090565b60006109e68261222e565b610a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1c9061482c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a6b826116d0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad3906148be565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610afb6120e1565b73ffffffffffffffffffffffffffffffffffffffff161480610b2a5750610b2981610b246120e1565b611edb565b5b610b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6090614950565b60405180910390fd5b610b73838361229a565b505050565b600a60169054906101000a900460ff1681565b610b936120e1565b73ffffffffffffffffffffffffffffffffffffffff16610bb1611b2d565b73ffffffffffffffffffffffffffffffffffffffff1614610c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfe90614739565b60405180910390fd5b6000610c11610d3c565b9050611b398110610c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4e906149bc565b60405180910390fd5b611b398383905082610c699190614a0b565b1115610caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca1906149bc565b60405180910390fd5b60005b83839050811015610d36576000610cc2610d3c565b9050610cf5858584818110610cda57610cd9614a61565b5b9050602002016020810190610cef91906140aa565b82612353565b807f6cce90ae022b5992cbad972c2aabb47afcb4718302fb758acd383f1bf9e50a7f60405160405180910390a2508080610d2e90614a90565b915050610cad565b50505050565b6000600880549050905090565b610d516120e1565b73ffffffffffffffffffffffffffffffffffffffff16610d6f611b2d565b73ffffffffffffffffffffffffffffffffffffffff1614610dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbc90614739565b60405180910390fd5b80600a60156101000a81548160ff02191690831515021790555050565b610df3610ded6120e1565b82612371565b610e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2990614b4b565b60405180910390fd5b610e3d83838361244f565b505050565b6000610e4d8361189d565b8210610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8590614bdd565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611b3981565b6000610ef7610d3c565b9050600a60169054906101000a900460ff16610f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3f90614c49565b60405180910390fd5b611b398110610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f83906149bc565b60405180910390fd5b611b398282610f9b9190614a0b565b1115610fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd3906149bc565b60405180910390fd5b6000821161101f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101690614cb5565b60405180910390fd5b600a821115611063576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105a90614d21565b60405180910390fd5b61107d8266f52322698080006126ab90919063ffffffff16565b3410156110bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b690614d8d565b60405180910390fd5b60005b828110156111215760006110d4610d3c565b90506110e08582612353565b807f6cce90ae022b5992cbad972c2aabb47afcb4718302fb758acd383f1bf9e50a7f60405160405180910390a250808061111990614a90565b9150506110c2565b50505050565b61114283838360405180602001604052806000815250611d21565b505050565b6111586111526120e1565b82612371565b611197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118e90614e1f565b60405180910390fd5b6111a0816126c1565b50565b606060006111b08361189d565b905060008167ffffffffffffffff8111156111ce576111cd6141bc565b5b6040519080825280602002602001820160405280156111fc5781602001602082028036833780820191505090505b50905060005b82811015611246576112148582610e42565b82828151811061122757611226614a61565b5b602002602001018181525050808061123e90614a90565b915050611202565b508092505050919050565b600061125b610d3c565b821061129c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129390614eb1565b60405180910390fd5b600882815481106112b0576112af614a61565b5b90600052602060002001549050919050565b6112ca6120e1565b73ffffffffffffffffffffffffffffffffffffffff166112e8611b2d565b73ffffffffffffffffffffffffffffffffffffffff161461133e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133590614739565b60405180910390fd5b80600b9080519060200190611354929190613bca565b50600b6040516113649190614f70565b60405180910390207f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa60405160405180910390a250565b6000600a60009054906101000a900460ff16905090565b60006113bc610d3c565b9050600a60159054906101000a900460ff1661140d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140490614fd3565b60405180910390fd5b611b398110611451576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611448906149bc565b60405180910390fd5b611b398260ff16826114639190614a0b565b11156114a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149b9061503f565b60405180910390fd5b60008260ff16116114ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e190614cb5565b60405180910390fd5b600c60006114f66120e1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff168260ff161115611586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157d906150d1565b60405180910390fd5b6115a38260ff1666f52322698080006126ab90919063ffffffff16565b3410156115e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dc90614d8d565b60405180910390fd5b81600c60006115f26120e1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff1661164791906150f1565b92506101000a81548160ff021916908360ff16021790555060005b8260ff168110156116cb576000611677610d3c565b905061168a6116846120e1565b82612353565b807f6cce90ae022b5992cbad972c2aabb47afcb4718302fb758acd383f1bf9e50a7f60405160405180910390a25080806116c390614a90565b915050611662565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611779576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177090615197565b60405180910390fd5b80915050919050565b6000806118206117d68988888080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506127d2565b85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612836565b90508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614801561189057508073ffffffffffffffffffffffffffffffffffffffff16611878886116d0565b73ffffffffffffffffffffffffffffffffffffffff16145b9150509695505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561190e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190590615229565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61195d6120e1565b73ffffffffffffffffffffffffffffffffffffffff1661197b611b2d565b73ffffffffffffffffffffffffffffffffffffffff16146119d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c890614739565b60405180910390fd5b6119db600061285d565b565b6119e56120e1565b73ffffffffffffffffffffffffffffffffffffffff16611a03611b2d565b73ffffffffffffffffffffffffffffffffffffffff1614611a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5090614739565b60405180910390fd5b600047905060008111611a6b57600080fd5b6000611a756120e1565b73ffffffffffffffffffffffffffffffffffffffff1682604051611a989061527a565b60006040518083038185875af1925050503d8060008114611ad5576040519150601f19603f3d011682016040523d82523d6000602084013e611ada565b606091505b5050905080611b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b15906152db565b60405180910390fd5b5050565b66f523226980800081565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611b6690614788565b80601f0160208091040260200160405190810160405280929190818152602001828054611b9290614788565b8015611bdf5780601f10611bb457610100808354040283529160200191611bdf565b820191906000526020600020905b815481529060010190602001808311611bc257829003601f168201915b5050505050905090565b611bf16120e1565b73ffffffffffffffffffffffffffffffffffffffff16611c0f611b2d565b73ffffffffffffffffffffffffffffffffffffffff1614611c65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5c90614739565b60405180910390fd5b60005b83839050811015611d055781600c6000868685818110611c8b57611c8a614a61565b5b9050602002016020810190611ca091906140aa565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055508080611cfd90614a90565b915050611c68565b50505050565b611d1d611d166120e1565b8383612923565b5050565b611d32611d2c6120e1565b83612371565b611d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6890614b4b565b60405180910390fd5b611d7d84848484612a90565b50505050565b611d8b6120e1565b73ffffffffffffffffffffffffffffffffffffffff16611da9611b2d565b73ffffffffffffffffffffffffffffffffffffffff1614611dff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df690614739565b60405180910390fd5b80600a60166101000a81548160ff02191690831515021790555050565b6060611e278261222e565b611e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5d9061536d565b60405180910390fd5b6000611e70612aec565b90506000815111611e905760405180602001604052806000815250611ebb565b80611e9a84612b7e565b604051602001611eab9291906153be565b6040516020818303038152906040525b915050919050565b600a81565b600a60159054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f776120e1565b73ffffffffffffffffffffffffffffffffffffffff16611f95611b2d565b73ffffffffffffffffffffffffffffffffffffffff1614611feb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe290614739565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561205b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205290615454565b60405180910390fd5b6120648161285d565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806120da57506120d982612cdf565b5b9050919050565b600033905090565b6120f161139b565b612130576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612127906154c0565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6121746120e1565b6040516121819190613ef4565b60405180910390a1565b61219361139b565b156121d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ca9061552c565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586122176120e1565b6040516122249190613ef4565b60405180910390a1565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661230d836116d0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61236d828260405180602001604052806000815250612dc1565b5050565b600061237c8261222e565b6123bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b2906155be565b60405180910390fd5b60006123c6836116d0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061243557508373ffffffffffffffffffffffffffffffffffffffff1661241d846109db565b73ffffffffffffffffffffffffffffffffffffffff16145b8061244657506124458185611edb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661246f826116d0565b73ffffffffffffffffffffffffffffffffffffffff16146124c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124bc90615650565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252c906156e2565b60405180910390fd5b612540838383612e1c565b61254b60008261229a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461259b9190615702565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125f29190614a0b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836126b99190615736565b905092915050565b60006126cc826116d0565b90506126da81600084612e1c565b6126e560008361229a565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127359190615702565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061282e7f71773176ad2e54a07bb9ae800a72ea02fdc378fcb0214d1e9e2029ed79f3e653848480519060200120604051602001612813939291906157a9565b60405160208183030381529060405280519060200120612e2c565b905092915050565b60008060006128458585612e46565b9150915061285281612ec9565b819250505092915050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612992576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129899061582c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612a839190613d21565b60405180910390a3505050565b612a9b84848461244f565b612aa78484848461309e565b612ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612add906158be565b60405180910390fd5b50505050565b6060600b8054612afb90614788565b80601f0160208091040260200160405190810160405280929190818152602001828054612b2790614788565b8015612b745780601f10612b4957610100808354040283529160200191612b74565b820191906000526020600020905b815481529060010190602001808311612b5757829003601f168201915b5050505050905090565b60606000821415612bc6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cda565b600082905060005b60008214612bf8578080612be190614a90565b915050600a82612bf1919061590d565b9150612bce565b60008167ffffffffffffffff811115612c1457612c136141bc565b5b6040519080825280601f01601f191660200182016040528015612c465781602001600182028036833780820191505090505b5090505b60008514612cd357600182612c5f9190615702565b9150600a85612c6e919061593e565b6030612c7a9190614a0b565b60f81b818381518110612c9057612c8f614a61565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ccc919061590d565b9450612c4a565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612daa57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612dba5750612db982613226565b5b9050919050565b612dcb8383613290565b612dd8600084848461309e565b612e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0e906158be565b60405180910390fd5b505050565b612e2783838361345e565b505050565b6000612e3f612e396134b6565b836135d0565b9050919050565b600080604183511415612e885760008060006020860151925060408601519150606086015160001a9050612e7c87828585613603565b94509450505050612ec2565b604083511415612eb9576000806020850151915060408501519050612eae868383613710565b935093505050612ec2565b60006002915091505b9250929050565b60006004811115612edd57612edc61596f565b5b816004811115612ef057612eef61596f565b5b1415612efb5761309b565b60016004811115612f0f57612f0e61596f565b5b816004811115612f2257612f2161596f565b5b1415612f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5a906159ea565b60405180910390fd5b60026004811115612f7757612f7661596f565b5b816004811115612f8a57612f8961596f565b5b1415612fcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc290615a56565b60405180910390fd5b60036004811115612fdf57612fde61596f565b5b816004811115612ff257612ff161596f565b5b1415613033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302a90615ae8565b60405180910390fd5b6004808111156130465761304561596f565b5b8160048111156130595761305861596f565b5b141561309a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309190615b7a565b60405180910390fd5b5b50565b60006130bf8473ffffffffffffffffffffffffffffffffffffffff1661375e565b15613219578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130e86120e1565b8786866040518563ffffffff1660e01b815260040161310a9493929190615bef565b6020604051808303816000875af192505050801561314657506040513d601f19601f820116820180604052508101906131439190615c50565b60015b6131c9573d8060008114613176576040519150601f19603f3d011682016040523d82523d6000602084013e61317b565b606091505b506000815114156131c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b8906158be565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061321e565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f790615cc9565b60405180910390fd5b6133098161222e565b15613349576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334090615d35565b60405180910390fd5b61335560008383612e1c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133a59190614a0b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613469838383613771565b61347161139b565b156134b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134a890615dc7565b60405180910390fd5b505050565b60007f0000000000000000000000005a11a5dce55184cda8604d876ef642aa0482264673ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614801561353257507f000000000000000000000000000000000000000000000000000000000000000146145b1561355f577f2608896117b9060aaf32a57f5142049ef7dcce3cd4fbf765daf887c95220fd6190506135cd565b6135ca7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f5d072fd0b0730067694d51d40c9d9cdf4265242c8542f6515a4c45b56e437e317f06c015bd22b4c69690933c1058878ebdfef31f9aaae40bbe86d8a09fe1b2972c613885565b90505b90565b600082826040516020016135e5929190615e54565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561363e576000600391509150613707565b601b8560ff16141580156136565750601c8560ff1614155b15613668576000600491509150613707565b60006001878787876040516000815260200160405260405161368d9493929190615e9a565b6020604051602081039080840390855afa1580156136af573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156136fe57600060019250925050613707565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c01905061375087828885613603565b935093505050935093915050565b600080823b905060008111915050919050565b61377c8383836138bf565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137bf576137ba816138c4565b6137fe565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146137fd576137fc838261390d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138415761383c81613a7a565b613880565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461387f5761387e8282613b4b565b5b5b505050565b600083838346306040516020016138a0959493929190615edf565b6040516020818303038152906040528051906020012090509392505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161391a8461189d565b6139249190615702565b9050600060076000848152602001908152602001600020549050818114613a09576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613a8e9190615702565b9050600060096000848152602001908152602001600020549050600060088381548110613abe57613abd614a61565b5b906000526020600020015490508060088381548110613ae057613adf614a61565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613b2f57613b2e615f32565b5b6001900381819060005260206000200160009055905550505050565b6000613b568361189d565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613bd690614788565b90600052602060002090601f016020900481019282613bf85760008555613c3f565b82601f10613c1157805160ff1916838001178555613c3f565b82800160010185558215613c3f579182015b82811115613c3e578251825591602001919060010190613c23565b5b509050613c4c9190613c50565b5090565b5b80821115613c69576000816000905550600101613c51565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613cb681613c81565b8114613cc157600080fd5b50565b600081359050613cd381613cad565b92915050565b600060208284031215613cef57613cee613c77565b5b6000613cfd84828501613cc4565b91505092915050565b60008115159050919050565b613d1b81613d06565b82525050565b6000602082019050613d366000830184613d12565b92915050565b613d4581613d06565b8114613d5057600080fd5b50565b600081359050613d6281613d3c565b92915050565b600060208284031215613d7e57613d7d613c77565b5b6000613d8c84828501613d53565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613dcf578082015181840152602081019050613db4565b83811115613dde576000848401525b50505050565b6000601f19601f8301169050919050565b6000613e0082613d95565b613e0a8185613da0565b9350613e1a818560208601613db1565b613e2381613de4565b840191505092915050565b60006020820190508181036000830152613e488184613df5565b905092915050565b6000819050919050565b613e6381613e50565b8114613e6e57600080fd5b50565b600081359050613e8081613e5a565b92915050565b600060208284031215613e9c57613e9b613c77565b5b6000613eaa84828501613e71565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ede82613eb3565b9050919050565b613eee81613ed3565b82525050565b6000602082019050613f096000830184613ee5565b92915050565b613f1881613ed3565b8114613f2357600080fd5b50565b600081359050613f3581613f0f565b92915050565b60008060408385031215613f5257613f51613c77565b5b6000613f6085828601613f26565b9250506020613f7185828601613e71565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112613fa057613f9f613f7b565b5b8235905067ffffffffffffffff811115613fbd57613fbc613f80565b5b602083019150836020820283011115613fd957613fd8613f85565b5b9250929050565b60008060208385031215613ff757613ff6613c77565b5b600083013567ffffffffffffffff81111561401557614014613c7c565b5b61402185828601613f8a565b92509250509250929050565b61403681613e50565b82525050565b6000602082019050614051600083018461402d565b92915050565b6000806000606084860312156140705761406f613c77565b5b600061407e86828701613f26565b935050602061408f86828701613f26565b92505060406140a086828701613e71565b9150509250925092565b6000602082840312156140c0576140bf613c77565b5b60006140ce84828501613f26565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61410c81613e50565b82525050565b600061411e8383614103565b60208301905092915050565b6000602082019050919050565b6000614142826140d7565b61414c81856140e2565b9350614157836140f3565b8060005b8381101561418857815161416f8882614112565b975061417a8361412a565b92505060018101905061415b565b5085935050505092915050565b600060208201905081810360008301526141af8184614137565b905092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6141f482613de4565b810181811067ffffffffffffffff82111715614213576142126141bc565b5b80604052505050565b6000614226613c6d565b905061423282826141eb565b919050565b600067ffffffffffffffff821115614252576142516141bc565b5b61425b82613de4565b9050602081019050919050565b82818337600083830152505050565b600061428a61428584614237565b61421c565b9050828152602081018484840111156142a6576142a56141b7565b5b6142b1848285614268565b509392505050565b600082601f8301126142ce576142cd613f7b565b5b81356142de848260208601614277565b91505092915050565b6000602082840312156142fd576142fc613c77565b5b600082013567ffffffffffffffff81111561431b5761431a613c7c565b5b614327848285016142b9565b91505092915050565b600060ff82169050919050565b61434681614330565b811461435157600080fd5b50565b6000813590506143638161433d565b92915050565b60006020828403121561437f5761437e613c77565b5b600061438d84828501614354565b91505092915050565b60008083601f8401126143ac576143ab613f7b565b5b8235905067ffffffffffffffff8111156143c9576143c8613f80565b5b6020830191508360018202830111156143e5576143e4613f85565b5b9250929050565b60008083601f84011261440257614401613f7b565b5b8235905067ffffffffffffffff81111561441f5761441e613f80565b5b60208301915083600182028301111561443b5761443a613f85565b5b9250929050565b6000806000806000806080878903121561445f5761445e613c77565b5b600061446d89828a01613f26565b965050602061447e89828a01613e71565b955050604087013567ffffffffffffffff81111561449f5761449e613c7c565b5b6144ab89828a01614396565b9450945050606087013567ffffffffffffffff8111156144ce576144cd613c7c565b5b6144da89828a016143ec565b92509250509295509295509295565b60008060006040848603121561450257614501613c77565b5b600084013567ffffffffffffffff8111156145205761451f613c7c565b5b61452c86828701613f8a565b9350935050602061453f86828701614354565b9150509250925092565b600080604083850312156145605761455f613c77565b5b600061456e85828601613f26565b925050602061457f85828601613d53565b9150509250929050565b600067ffffffffffffffff8211156145a4576145a36141bc565b5b6145ad82613de4565b9050602081019050919050565b60006145cd6145c884614589565b61421c565b9050828152602081018484840111156145e9576145e86141b7565b5b6145f4848285614268565b509392505050565b600082601f83011261461157614610613f7b565b5b81356146218482602086016145ba565b91505092915050565b6000806000806080858703121561464457614643613c77565b5b600061465287828801613f26565b945050602061466387828801613f26565b935050604061467487828801613e71565b925050606085013567ffffffffffffffff81111561469557614694613c7c565b5b6146a1878288016145fc565b91505092959194509250565b600080604083850312156146c4576146c3613c77565b5b60006146d285828601613f26565b92505060206146e385828601613f26565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614723602083613da0565b915061472e826146ed565b602082019050919050565b6000602082019050818103600083015261475281614716565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806147a057607f821691505b602082108114156147b4576147b3614759565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614816602c83613da0565b9150614821826147ba565b604082019050919050565b6000602082019050818103600083015261484581614809565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006148a8602183613da0565b91506148b38261484c565b604082019050919050565b600060208201905081810360008301526148d78161489b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061493a603883613da0565b9150614945826148de565b604082019050919050565b600060208201905081810360008301526149698161492d565b9050919050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b60006149a6601383613da0565b91506149b182614970565b602082019050919050565b600060208201905081810360008301526149d581614999565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614a1682613e50565b9150614a2183613e50565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a5657614a556149dc565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614a9b82613e50565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ace57614acd6149dc565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614b35603183613da0565b9150614b4082614ad9565b604082019050919050565b60006020820190508181036000830152614b6481614b28565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614bc7602b83613da0565b9150614bd282614b6b565b604082019050919050565b60006020820190508181036000830152614bf681614bba565b9050919050565b7f53616c65206973206e6f74206f70656e00000000000000000000000000000000600082015250565b6000614c33601083613da0565b9150614c3e82614bfd565b602082019050919050565b60006020820190508181036000830152614c6281614c26565b9050919050565b7f416d6f756e74206d7573742062652067726561746572207468616e2030000000600082015250565b6000614c9f601d83613da0565b9150614caa82614c69565b602082019050919050565b60006020820190508181036000830152614cce81614c92565b9050919050565b7f4d6178207075726368617365206c696d69742065786365656465640000000000600082015250565b6000614d0b601b83613da0565b9150614d1682614cd5565b602082019050919050565b60006020820190508181036000830152614d3a81614cfe565b9050919050565b7f496e636f72726563742065746865722076616c75652073656e74000000000000600082015250565b6000614d77601a83613da0565b9150614d8282614d41565b602082019050919050565b60006020820190508181036000830152614da681614d6a565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000614e09603083613da0565b9150614e1482614dad565b604082019050919050565b60006020820190508181036000830152614e3881614dfc565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614e9b602c83613da0565b9150614ea682614e3f565b604082019050919050565b60006020820190508181036000830152614eca81614e8e565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614efe81614788565b614f088186614ed1565b94506001821660008114614f235760018114614f3457614f67565b60ff19831686528186019350614f67565b614f3d85614edc565b60005b83811015614f5f57815481890152600182019150602081019050614f40565b838801955050505b50505092915050565b6000614f7c8284614ef1565b915081905092915050565b7f57686974656c697374206973206e6f74206f70656e0000000000000000000000600082015250565b6000614fbd601583613da0565b9150614fc882614f87565b602082019050919050565b60006020820190508181036000830152614fec81614fb0565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73600082015250565b6000615029602083613da0565b915061503482614ff3565b602082019050919050565b600060208201905081810360008301526150588161501c565b9050919050565b7f57686974656c697374207075726368617365206c696d6974206578636565646560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b60006150bb602183613da0565b91506150c68261505f565b604082019050919050565b600060208201905081810360008301526150ea816150ae565b9050919050565b60006150fc82614330565b915061510783614330565b92508282101561511a576151196149dc565b5b828203905092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000615181602983613da0565b915061518c82615125565b604082019050919050565b600060208201905081810360008301526151b081615174565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615213602a83613da0565b915061521e826151b7565b604082019050919050565b6000602082019050818103600083015261524281615206565b9050919050565b600081905092915050565b50565b6000615264600083615249565b915061526f82615254565b600082019050919050565b600061528582615257565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006152c5601083613da0565b91506152d08261528f565b602082019050919050565b600060208201905081810360008301526152f4816152b8565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615357602f83613da0565b9150615362826152fb565b604082019050919050565b600060208201905081810360008301526153868161534a565b9050919050565b600061539882613d95565b6153a28185614ed1565b93506153b2818560208601613db1565b80840191505092915050565b60006153ca828561538d565b91506153d6828461538d565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061543e602683613da0565b9150615449826153e2565b604082019050919050565b6000602082019050818103600083015261546d81615431565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006154aa601483613da0565b91506154b582615474565b602082019050919050565b600060208201905081810360008301526154d98161549d565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000615516601083613da0565b9150615521826154e0565b602082019050919050565b6000602082019050818103600083015261554581615509565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006155a8602c83613da0565b91506155b38261554c565b604082019050919050565b600060208201905081810360008301526155d78161559b565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061563a602983613da0565b9150615645826155de565b604082019050919050565b600060208201905081810360008301526156698161562d565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006156cc602483613da0565b91506156d782615670565b604082019050919050565b600060208201905081810360008301526156fb816156bf565b9050919050565b600061570d82613e50565b915061571883613e50565b92508282101561572b5761572a6149dc565b5b828203905092915050565b600061574182613e50565b915061574c83613e50565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615785576157846149dc565b5b828202905092915050565b6000819050919050565b6157a381615790565b82525050565b60006060820190506157be600083018661579a565b6157cb6020830185613ee5565b6157d8604083018461579a565b949350505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615816601983613da0565b9150615821826157e0565b602082019050919050565b6000602082019050818103600083015261584581615809565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006158a8603283613da0565b91506158b38261584c565b604082019050919050565b600060208201905081810360008301526158d78161589b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061591882613e50565b915061592383613e50565b925082615933576159326158de565b5b828204905092915050565b600061594982613e50565b915061595483613e50565b925082615964576159636158de565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006159d4601883613da0565b91506159df8261599e565b602082019050919050565b60006020820190508181036000830152615a03816159c7565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615a40601f83613da0565b9150615a4b82615a0a565b602082019050919050565b60006020820190508181036000830152615a6f81615a33565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615ad2602283613da0565b9150615add82615a76565b604082019050919050565b60006020820190508181036000830152615b0181615ac5565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615b64602283613da0565b9150615b6f82615b08565b604082019050919050565b60006020820190508181036000830152615b9381615b57565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615bc182615b9a565b615bcb8185615ba5565b9350615bdb818560208601613db1565b615be481613de4565b840191505092915050565b6000608082019050615c046000830187613ee5565b615c116020830186613ee5565b615c1e604083018561402d565b8181036060830152615c308184615bb6565b905095945050505050565b600081519050615c4a81613cad565b92915050565b600060208284031215615c6657615c65613c77565b5b6000615c7484828501615c3b565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615cb3602083613da0565b9150615cbe82615c7d565b602082019050919050565b60006020820190508181036000830152615ce281615ca6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615d1f601c83613da0565b9150615d2a82615ce9565b602082019050919050565b60006020820190508181036000830152615d4e81615d12565b9050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b6000615db1602b83613da0565b9150615dbc82615d55565b604082019050919050565b60006020820190508181036000830152615de081615da4565b9050919050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000615e1d600283614ed1565b9150615e2882615de7565b600282019050919050565b6000819050919050565b615e4e615e4982615790565b615e33565b82525050565b6000615e5f82615e10565b9150615e6b8285615e3d565b602082019150615e7b8284615e3d565b6020820191508190509392505050565b615e9481614330565b82525050565b6000608082019050615eaf600083018761579a565b615ebc6020830186615e8b565b615ec9604083018561579a565b615ed6606083018461579a565b95945050505050565b600060a082019050615ef4600083018861579a565b615f01602083018761579a565b615f0e604083018661579a565b615f1b606083018561402d565b615f286080830184613ee5565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122088e5309bacfcc59a29f7c7220d59becf25fa713d5d06ced78a9b5231a1dbcc9064736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000010546865204a5045472047616c6c6572790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a504547000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005312e302e300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): The JPEG Gallery
Arg [1] : symbol (string): JPEG
Arg [2] : version (string): 1.0.0
Arg [3] : baseURI (string):
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [5] : 546865204a5045472047616c6c65727900000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4a50454700000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 312e302e30000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.