ERC-721
Overview
Max Total Supply
2,999 JYP
Holders
629
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 JYPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
JunkyardPuppies
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.0; // SPDX-License-Identifier: MIT import "openzeppelin-solidity/contracts/utils/cryptography/ECDSA.sol"; import "openzeppelin-solidity/contracts/token/erc721/ERC721.sol"; import "openzeppelin-solidity/contracts/access/Ownable.sol"; contract JunkyardPuppies is ERC721, Ownable { string internal uri = "https://api.junkyarddogs.io/puppies?tokenId="; mapping (bytes32 => bool) signatureUsed; uint256 public totalSupply = 0; uint256 public cost = 0.06 ether; uint256 public remainingForSale = 0; event RedeemedPumpkinPass(address redeemer, uint256 passId); constructor() ERC721("JunkyardPuppies", "JYP") {} function buyWithPumpkinPass(uint256 passId, uint256 amount, bytes memory signature) public { require(amount > 0, "You must mint at least 1"); bytes32 messageHash = keccak256(abi.encodePacked("mint puppy", msg.sender, passId, amount)); bytes32 digest = ECDSA.toEthSignedMessageHash(messageHash); require(!signatureUsed[digest], "This signature has already been used"); address signer = ECDSA.recover(digest, signature); require(signer == owner(), "Invalid signature"); signatureUsed[digest] = true; for (uint256 i = 1; i <= amount; i++) { _mint(msg.sender, totalSupply + i); } totalSupply += amount; emit RedeemedPumpkinPass(msg.sender, passId); } function buyWithEth(uint256 amount) public payable { require(amount > 0, "You must mint at least 1"); require(remainingForSale >= amount, "Not enough for sale"); uint256 totalCost = cost * amount; require(totalCost <= msg.value, "You must send enough eth"); remainingForSale -= amount; for (uint256 i = 1; i <= amount; i++) { _mint(msg.sender, totalSupply + i); } totalSupply += amount; } function setCost(uint256 c) public onlyOwner { cost = c; } function setUri(string memory u) public onlyOwner { uri = u; } function setRemaining(uint256 r) public onlyOwner { remainingForSale = r; } function withdraw(address to) public onlyOwner { require(to != address(0), "You must send to a valid address"); uint balance = address(this).balance; payable(to).transfer(balance); } function _baseURI() override internal view virtual returns (string memory) { return uri; } }
// SPDX-License-Identifier: MIT 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 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 pragma solidity ^0.8.0; /** * @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 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 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 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 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 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 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 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 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT 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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "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":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"redeemer","type":"address"},{"indexed":false,"internalType":"uint256","name":"passId","type":"uint256"}],"name":"RedeemedPumpkinPass","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"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":"amount","type":"uint256"}],"name":"buyWithEth","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"passId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"buyWithPumpkinPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingForSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"c","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"r","type":"uint256"}],"name":"setRemaining","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"u","type":"string"}],"name":"setUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060600160405280602c81526020016200444c602c91396007908051906020019062000035929190620001ed565b50600060095566d529ae9e860000600a556000600b553480156200005857600080fd5b506040518060400160405280600f81526020017f4a756e6b796172645075707069657300000000000000000000000000000000008152506040518060400160405280600381526020017f4a595000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000dd929190620001ed565b508060019080519060200190620000f6929190620001ed565b505050620001196200010d6200011f60201b60201c565b6200012760201b60201c565b62000302565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001fb906200029d565b90600052602060002090601f0160209004810192826200021f57600085556200026b565b82601f106200023a57805160ff19168380011785556200026b565b828001600101855582156200026b579182015b828111156200026a5782518255916020019190600101906200024d565b5b5090506200027a91906200027e565b5090565b5b80821115620002995760008160009055506001016200027f565b5090565b60006002820490506001821680620002b657607f821691505b60208210811415620002cd57620002cc620002d3565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61413a80620003126000396000f3fe6080604052600436106101665760003560e01c806370a08231116100d1578063a22cb4651161008a578063e1c1991511610064578063e1c1991514610519578063e985e9c514610542578063ec3c2ea31461057f578063f2fde38b146105a857610166565b8063a22cb4651461048a578063b88d4fde146104b3578063c87b56dd146104dc57610166565b806370a082311461039b578063715018a6146103d85780637649b957146103ef5780638da5cb5b1461040b57806395d89b41146104365780639b642de11461046157610166565b806318160ddd1161012357806318160ddd1461028f57806323b872dd146102ba57806342842e0e146102e357806344a0d68a1461030c57806351cff8d9146103355780636352211e1461035e57610166565b806301ffc9a71461016b57806306fdde03146101a8578063081812fc146101d3578063095ea7b31461021057806313e4930d1461023957806313faede614610264575b600080fd5b34801561017757600080fd5b50610192600480360381019061018d91906129a0565b6105d1565b60405161019f9190613108565b60405180910390f35b3480156101b457600080fd5b506101bd6106b3565b6040516101ca9190613168565b60405180910390f35b3480156101df57600080fd5b506101fa60048036038101906101f59190612a43565b610745565b6040516102079190613078565b60405180910390f35b34801561021c57600080fd5b5061023760048036038101906102329190612960565b6107ca565b005b34801561024557600080fd5b5061024e6108e2565b60405161025b91906134ca565b60405180910390f35b34801561027057600080fd5b506102796108e8565b60405161028691906134ca565b60405180910390f35b34801561029b57600080fd5b506102a46108ee565b6040516102b191906134ca565b60405180910390f35b3480156102c657600080fd5b506102e160048036038101906102dc919061284a565b6108f4565b005b3480156102ef57600080fd5b5061030a6004803603810190610305919061284a565b610954565b005b34801561031857600080fd5b50610333600480360381019061032e9190612a43565b610974565b005b34801561034157600080fd5b5061035c600480360381019061035791906127dd565b6109fa565b005b34801561036a57600080fd5b5061038560048036038101906103809190612a43565b610b36565b6040516103929190613078565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd91906127dd565b610be8565b6040516103cf91906134ca565b60405180910390f35b3480156103e457600080fd5b506103ed610ca0565b005b61040960048036038101906104049190612a43565b610d28565b005b34801561041757600080fd5b50610420610e74565b60405161042d9190613078565b60405180910390f35b34801561044257600080fd5b5061044b610e9e565b6040516104589190613168565b60405180910390f35b34801561046d57600080fd5b50610488600480360381019061048391906129fa565b610f30565b005b34801561049657600080fd5b506104b160048036038101906104ac9190612920565b610fc6565b005b3480156104bf57600080fd5b506104da60048036038101906104d5919061289d565b611147565b005b3480156104e857600080fd5b5061050360048036038101906104fe9190612a43565b6111a9565b6040516105109190613168565b60405180910390f35b34801561052557600080fd5b50610540600480360381019061053b9190612a43565b611250565b005b34801561054e57600080fd5b506105696004803603810190610564919061280a565b6112d6565b6040516105769190613108565b60405180910390f35b34801561058b57600080fd5b506105a660048036038101906105a19190612a70565b61136a565b005b3480156105b457600080fd5b506105cf60048036038101906105ca91906127dd565b61158c565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061069c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106ac57506106ab82611684565b5b9050919050565b6060600080546106c290613791565b80601f01602080910402602001604051908101604052809291908181526020018280546106ee90613791565b801561073b5780601f106107105761010080835404028352916020019161073b565b820191906000526020600020905b81548152906001019060200180831161071e57829003601f168201915b5050505050905090565b6000610750826116ee565b61078f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610786906133ca565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107d582610b36565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083d9061348a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661086561175a565b73ffffffffffffffffffffffffffffffffffffffff16148061089457506108938161088e61175a565b6112d6565b5b6108d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ca9061332a565b60405180910390fd5b6108dd8383611762565b505050565b600b5481565b600a5481565b60095481565b6109056108ff61175a565b8261181b565b610944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093b906134aa565b60405180910390fd5b61094f8383836118f9565b505050565b61096f83838360405180602001604052806000815250611147565b505050565b61097c61175a565b73ffffffffffffffffffffffffffffffffffffffff1661099a610e74565b73ffffffffffffffffffffffffffffffffffffffff16146109f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e7906133ea565b60405180910390fd5b80600a8190555050565b610a0261175a565b73ffffffffffffffffffffffffffffffffffffffff16610a20610e74565b73ffffffffffffffffffffffffffffffffffffffff1614610a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6d906133ea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610add9061330a565b60405180910390fd5b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610b31573d6000803e3d6000fd5b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd69061336a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c509061334a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ca861175a565b73ffffffffffffffffffffffffffffffffffffffff16610cc6610e74565b73ffffffffffffffffffffffffffffffffffffffff1614610d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d13906133ea565b60405180910390fd5b610d266000611b55565b565b60008111610d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d62906131aa565b60405180910390fd5b80600b541015610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da79061328a565b60405180910390fd5b600081600a54610dc09190613636565b905034811115610e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfc9061346a565b60405180910390fd5b81600b6000828254610e179190613690565b925050819055506000600190505b828111610e5657610e433382600954610e3e91906135af565b611c1b565b8080610e4e906137f4565b915050610e25565b508160096000828254610e6991906135af565b925050819055505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610ead90613791565b80601f0160208091040260200160405190810160405280929190818152602001828054610ed990613791565b8015610f265780601f10610efb57610100808354040283529160200191610f26565b820191906000526020600020905b815481529060010190602001808311610f0957829003601f168201915b5050505050905090565b610f3861175a565b73ffffffffffffffffffffffffffffffffffffffff16610f56610e74565b73ffffffffffffffffffffffffffffffffffffffff1614610fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa3906133ea565b60405180910390fd5b8060079080519060200190610fc29291906125f1565b5050565b610fce61175a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561103c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110339061326a565b60405180910390fd5b806005600061104961175a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110f661175a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161113b9190613108565b60405180910390a35050565b61115861115261175a565b8361181b565b611197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118e906134aa565b60405180910390fd5b6111a384848484611de9565b50505050565b60606111b4826116ee565b6111f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ea9061344a565b60405180910390fd5b60006111fd611e45565b9050600081511161121d5760405180602001604052806000815250611248565b8061122784611ed7565b604051602001611238929190612fe6565b6040516020818303038152906040525b915050919050565b61125861175a565b73ffffffffffffffffffffffffffffffffffffffff16611276610e74565b73ffffffffffffffffffffffffffffffffffffffff16146112cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c3906133ea565b60405180910390fd5b80600b8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600082116113ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a4906131aa565b60405180910390fd5b60003384846040516020016113c493929190613030565b60405160208183030381529060405280519060200120905060006113e782612038565b90506008600082815260200190815260200160002060009054906101000a900460ff161561144a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114419061340a565b60405180910390fd5b60006114568285612068565b9050611460610e74565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c4906132aa565b60405180910390fd5b60016008600084815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600190505b8581116115315761151e338260095461151991906135af565b611c1b565b8080611529906137f4565b915050611500565b50846009600082825461154491906135af565b925050819055507f6a946fcad21c8bf257bd92bb205eff496c616992ce5ece57db783daad9014260338760405161157c9291906130df565b60405180910390a1505050505050565b61159461175a565b73ffffffffffffffffffffffffffffffffffffffff166115b2610e74565b73ffffffffffffffffffffffffffffffffffffffff1614611608576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ff906133ea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611678576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166f9061320a565b60405180910390fd5b61168181611b55565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166117d583610b36565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611826826116ee565b611865576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185c906132ea565b60405180910390fd5b600061187083610b36565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806118df57508373ffffffffffffffffffffffffffffffffffffffff166118c784610745565b73ffffffffffffffffffffffffffffffffffffffff16145b806118f057506118ef81856112d6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661191982610b36565b73ffffffffffffffffffffffffffffffffffffffff161461196f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119669061342a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d69061324a565b60405180910390fd5b6119ea83838361208f565b6119f5600082611762565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a459190613690565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a9c91906135af565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c82906133aa565b60405180910390fd5b611c94816116ee565b15611cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccb9061322a565b60405180910390fd5b611ce06000838361208f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d3091906135af565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b611df48484846118f9565b611e0084848484612094565b611e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e36906131ea565b60405180910390fd5b50505050565b606060078054611e5490613791565b80601f0160208091040260200160405190810160405280929190818152602001828054611e8090613791565b8015611ecd5780601f10611ea257610100808354040283529160200191611ecd565b820191906000526020600020905b815481529060010190602001808311611eb057829003601f168201915b5050505050905090565b60606000821415611f1f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612033565b600082905060005b60008214611f51578080611f3a906137f4565b915050600a82611f4a9190613605565b9150611f27565b60008167ffffffffffffffff811115611f6d57611f6c613991565b5b6040519080825280601f01601f191660200182016040528015611f9f5781602001600182028036833780820191505090505b5090505b6000851461202c57600182611fb89190613690565b9150600a85611fc79190613875565b6030611fd391906135af565b60f81b818381518110611fe957611fe8613962565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120259190613605565b9450611fa3565b8093505050505b919050565b60008160405160200161204b919061300a565b604051602081830303815290604052805190602001209050919050565b6000806000612077858561222b565b91509150612084816122ae565b819250505092915050565b505050565b60006120b58473ffffffffffffffffffffffffffffffffffffffff16612483565b1561221e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026120de61175a565b8786866040518563ffffffff1660e01b81526004016121009493929190613093565b602060405180830381600087803b15801561211a57600080fd5b505af192505050801561214b57506040513d601f19601f8201168201806040525081019061214891906129cd565b60015b6121ce573d806000811461217b576040519150601f19603f3d011682016040523d82523d6000602084013e612180565b606091505b506000815114156121c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bd906131ea565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612223565b600190505b949350505050565b60008060418351141561226d5760008060006020860151925060408601519150606086015160001a905061226187828585612496565b945094505050506122a7565b60408351141561229e5760008060208501519150604085015190506122938683836125a3565b9350935050506122a7565b60006002915091505b9250929050565b600060048111156122c2576122c1613904565b5b8160048111156122d5576122d4613904565b5b14156122e057612480565b600160048111156122f4576122f3613904565b5b81600481111561230757612306613904565b5b1415612348576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233f9061318a565b60405180910390fd5b6002600481111561235c5761235b613904565b5b81600481111561236f5761236e613904565b5b14156123b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a7906131ca565b60405180910390fd5b600360048111156123c4576123c3613904565b5b8160048111156123d7576123d6613904565b5b1415612418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240f906132ca565b60405180910390fd5b60048081111561242b5761242a613904565b5b81600481111561243e5761243d613904565b5b141561247f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124769061338a565b60405180910390fd5b5b50565b600080823b905060008111915050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156124d157600060039150915061259a565b601b8560ff16141580156124e95750601c8560ff1614155b156124fb57600060049150915061259a565b6000600187878787604051600081526020016040526040516125209493929190613123565b6020604051602081039080840390855afa158015612542573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125915760006001925092505061259a565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c0190506125e387828885612496565b935093505050935093915050565b8280546125fd90613791565b90600052602060002090601f01602090048101928261261f5760008555612666565b82601f1061263857805160ff1916838001178555612666565b82800160010185558215612666579182015b8281111561266557825182559160200191906001019061264a565b5b5090506126739190612677565b5090565b5b80821115612690576000816000905550600101612678565b5090565b60006126a76126a28461350a565b6134e5565b9050828152602081018484840111156126c3576126c26139c5565b5b6126ce84828561374f565b509392505050565b60006126e96126e48461353b565b6134e5565b905082815260208101848484011115612705576127046139c5565b5b61271084828561374f565b509392505050565b600081359050612727816140a8565b92915050565b60008135905061273c816140bf565b92915050565b600081359050612751816140d6565b92915050565b600081519050612766816140d6565b92915050565b600082601f830112612781576127806139c0565b5b8135612791848260208601612694565b91505092915050565b600082601f8301126127af576127ae6139c0565b5b81356127bf8482602086016126d6565b91505092915050565b6000813590506127d7816140ed565b92915050565b6000602082840312156127f3576127f26139cf565b5b600061280184828501612718565b91505092915050565b60008060408385031215612821576128206139cf565b5b600061282f85828601612718565b925050602061284085828601612718565b9150509250929050565b600080600060608486031215612863576128626139cf565b5b600061287186828701612718565b935050602061288286828701612718565b9250506040612893868287016127c8565b9150509250925092565b600080600080608085870312156128b7576128b66139cf565b5b60006128c587828801612718565b94505060206128d687828801612718565b93505060406128e7878288016127c8565b925050606085013567ffffffffffffffff811115612908576129076139ca565b5b6129148782880161276c565b91505092959194509250565b60008060408385031215612937576129366139cf565b5b600061294585828601612718565b92505060206129568582860161272d565b9150509250929050565b60008060408385031215612977576129766139cf565b5b600061298585828601612718565b9250506020612996858286016127c8565b9150509250929050565b6000602082840312156129b6576129b56139cf565b5b60006129c484828501612742565b91505092915050565b6000602082840312156129e3576129e26139cf565b5b60006129f184828501612757565b91505092915050565b600060208284031215612a1057612a0f6139cf565b5b600082013567ffffffffffffffff811115612a2e57612a2d6139ca565b5b612a3a8482850161279a565b91505092915050565b600060208284031215612a5957612a586139cf565b5b6000612a67848285016127c8565b91505092915050565b600080600060608486031215612a8957612a886139cf565b5b6000612a97868287016127c8565b9350506020612aa8868287016127c8565b925050604084013567ffffffffffffffff811115612ac957612ac86139ca565b5b612ad58682870161276c565b9150509250925092565b612ae8816136c4565b82525050565b612aff612afa826136c4565b61383d565b82525050565b612b0e816136d6565b82525050565b612b1d816136e2565b82525050565b612b34612b2f826136e2565b61384f565b82525050565b6000612b458261356c565b612b4f8185613582565b9350612b5f81856020860161375e565b612b68816139d4565b840191505092915050565b6000612b7e82613577565b612b888185613593565b9350612b9881856020860161375e565b612ba1816139d4565b840191505092915050565b6000612bb782613577565b612bc181856135a4565b9350612bd181856020860161375e565b80840191505092915050565b6000612bea601883613593565b9150612bf5826139f2565b602082019050919050565b6000612c0d601883613593565b9150612c1882613a1b565b602082019050919050565b6000612c30601f83613593565b9150612c3b82613a44565b602082019050919050565b6000612c53601c836135a4565b9150612c5e82613a6d565b601c82019050919050565b6000612c76603283613593565b9150612c8182613a96565b604082019050919050565b6000612c99602683613593565b9150612ca482613ae5565b604082019050919050565b6000612cbc601c83613593565b9150612cc782613b34565b602082019050919050565b6000612cdf600a836135a4565b9150612cea82613b5d565b600a82019050919050565b6000612d02602483613593565b9150612d0d82613b86565b604082019050919050565b6000612d25601983613593565b9150612d3082613bd5565b602082019050919050565b6000612d48601383613593565b9150612d5382613bfe565b602082019050919050565b6000612d6b601183613593565b9150612d7682613c27565b602082019050919050565b6000612d8e602283613593565b9150612d9982613c50565b604082019050919050565b6000612db1602c83613593565b9150612dbc82613c9f565b604082019050919050565b6000612dd4602083613593565b9150612ddf82613cee565b602082019050919050565b6000612df7603883613593565b9150612e0282613d17565b604082019050919050565b6000612e1a602a83613593565b9150612e2582613d66565b604082019050919050565b6000612e3d602983613593565b9150612e4882613db5565b604082019050919050565b6000612e60602283613593565b9150612e6b82613e04565b604082019050919050565b6000612e83602083613593565b9150612e8e82613e53565b602082019050919050565b6000612ea6602c83613593565b9150612eb182613e7c565b604082019050919050565b6000612ec9602083613593565b9150612ed482613ecb565b602082019050919050565b6000612eec602483613593565b9150612ef782613ef4565b604082019050919050565b6000612f0f602983613593565b9150612f1a82613f43565b604082019050919050565b6000612f32602f83613593565b9150612f3d82613f92565b604082019050919050565b6000612f55601883613593565b9150612f6082613fe1565b602082019050919050565b6000612f78602183613593565b9150612f838261400a565b604082019050919050565b6000612f9b603183613593565b9150612fa682614059565b604082019050919050565b612fba81613738565b82525050565b612fd1612fcc82613738565b61386b565b82525050565b612fe081613742565b82525050565b6000612ff28285612bac565b9150612ffe8284612bac565b91508190509392505050565b600061301582612c46565b91506130218284612b23565b60208201915081905092915050565b600061303b82612cd2565b91506130478286612aee565b6014820191506130578285612fc0565b6020820191506130678284612fc0565b602082019150819050949350505050565b600060208201905061308d6000830184612adf565b92915050565b60006080820190506130a86000830187612adf565b6130b56020830186612adf565b6130c26040830185612fb1565b81810360608301526130d48184612b3a565b905095945050505050565b60006040820190506130f46000830185612adf565b6131016020830184612fb1565b9392505050565b600060208201905061311d6000830184612b05565b92915050565b60006080820190506131386000830187612b14565b6131456020830186612fd7565b6131526040830185612b14565b61315f6060830184612b14565b95945050505050565b600060208201905081810360008301526131828184612b73565b905092915050565b600060208201905081810360008301526131a381612bdd565b9050919050565b600060208201905081810360008301526131c381612c00565b9050919050565b600060208201905081810360008301526131e381612c23565b9050919050565b6000602082019050818103600083015261320381612c69565b9050919050565b6000602082019050818103600083015261322381612c8c565b9050919050565b6000602082019050818103600083015261324381612caf565b9050919050565b6000602082019050818103600083015261326381612cf5565b9050919050565b6000602082019050818103600083015261328381612d18565b9050919050565b600060208201905081810360008301526132a381612d3b565b9050919050565b600060208201905081810360008301526132c381612d5e565b9050919050565b600060208201905081810360008301526132e381612d81565b9050919050565b6000602082019050818103600083015261330381612da4565b9050919050565b6000602082019050818103600083015261332381612dc7565b9050919050565b6000602082019050818103600083015261334381612dea565b9050919050565b6000602082019050818103600083015261336381612e0d565b9050919050565b6000602082019050818103600083015261338381612e30565b9050919050565b600060208201905081810360008301526133a381612e53565b9050919050565b600060208201905081810360008301526133c381612e76565b9050919050565b600060208201905081810360008301526133e381612e99565b9050919050565b6000602082019050818103600083015261340381612ebc565b9050919050565b6000602082019050818103600083015261342381612edf565b9050919050565b6000602082019050818103600083015261344381612f02565b9050919050565b6000602082019050818103600083015261346381612f25565b9050919050565b6000602082019050818103600083015261348381612f48565b9050919050565b600060208201905081810360008301526134a381612f6b565b9050919050565b600060208201905081810360008301526134c381612f8e565b9050919050565b60006020820190506134df6000830184612fb1565b92915050565b60006134ef613500565b90506134fb82826137c3565b919050565b6000604051905090565b600067ffffffffffffffff82111561352557613524613991565b5b61352e826139d4565b9050602081019050919050565b600067ffffffffffffffff82111561355657613555613991565b5b61355f826139d4565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006135ba82613738565b91506135c583613738565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135fa576135f96138a6565b5b828201905092915050565b600061361082613738565b915061361b83613738565b92508261362b5761362a6138d5565b5b828204905092915050565b600061364182613738565b915061364c83613738565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613685576136846138a6565b5b828202905092915050565b600061369b82613738565b91506136a683613738565b9250828210156136b9576136b86138a6565b5b828203905092915050565b60006136cf82613718565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561377c578082015181840152602081019050613761565b8381111561378b576000848401525b50505050565b600060028204905060018216806137a957607f821691505b602082108114156137bd576137bc613933565b5b50919050565b6137cc826139d4565b810181811067ffffffffffffffff821117156137eb576137ea613991565b5b80604052505050565b60006137ff82613738565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613832576138316138a6565b5b600182019050919050565b600061384882613859565b9050919050565b6000819050919050565b6000613864826139e5565b9050919050565b6000819050919050565b600061388082613738565b915061388b83613738565b92508261389b5761389a6138d5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f596f75206d757374206d696e74206174206c6561737420310000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f6d696e7420707570707900000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f7420656e6f75676820666f722073616c6500000000000000000000000000600082015250565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f596f75206d7573742073656e6420746f20612076616c69642061646472657373600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686973207369676e61747572652068617320616c7265616479206265656e2060008201527f7573656400000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f596f75206d7573742073656e6420656e6f756768206574680000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6140b1816136c4565b81146140bc57600080fd5b50565b6140c8816136d6565b81146140d357600080fd5b50565b6140df816136ec565b81146140ea57600080fd5b50565b6140f681613738565b811461410157600080fd5b5056fea264697066735822122061141fd6ad049ecf43ba71394a9aa3ca8f49173cd04eb657b1d958a496a7a0f564736f6c6343000807003368747470733a2f2f6170692e6a756e6b79617264646f67732e696f2f707570706965733f746f6b656e49643d
Deployed Bytecode
0x6080604052600436106101665760003560e01c806370a08231116100d1578063a22cb4651161008a578063e1c1991511610064578063e1c1991514610519578063e985e9c514610542578063ec3c2ea31461057f578063f2fde38b146105a857610166565b8063a22cb4651461048a578063b88d4fde146104b3578063c87b56dd146104dc57610166565b806370a082311461039b578063715018a6146103d85780637649b957146103ef5780638da5cb5b1461040b57806395d89b41146104365780639b642de11461046157610166565b806318160ddd1161012357806318160ddd1461028f57806323b872dd146102ba57806342842e0e146102e357806344a0d68a1461030c57806351cff8d9146103355780636352211e1461035e57610166565b806301ffc9a71461016b57806306fdde03146101a8578063081812fc146101d3578063095ea7b31461021057806313e4930d1461023957806313faede614610264575b600080fd5b34801561017757600080fd5b50610192600480360381019061018d91906129a0565b6105d1565b60405161019f9190613108565b60405180910390f35b3480156101b457600080fd5b506101bd6106b3565b6040516101ca9190613168565b60405180910390f35b3480156101df57600080fd5b506101fa60048036038101906101f59190612a43565b610745565b6040516102079190613078565b60405180910390f35b34801561021c57600080fd5b5061023760048036038101906102329190612960565b6107ca565b005b34801561024557600080fd5b5061024e6108e2565b60405161025b91906134ca565b60405180910390f35b34801561027057600080fd5b506102796108e8565b60405161028691906134ca565b60405180910390f35b34801561029b57600080fd5b506102a46108ee565b6040516102b191906134ca565b60405180910390f35b3480156102c657600080fd5b506102e160048036038101906102dc919061284a565b6108f4565b005b3480156102ef57600080fd5b5061030a6004803603810190610305919061284a565b610954565b005b34801561031857600080fd5b50610333600480360381019061032e9190612a43565b610974565b005b34801561034157600080fd5b5061035c600480360381019061035791906127dd565b6109fa565b005b34801561036a57600080fd5b5061038560048036038101906103809190612a43565b610b36565b6040516103929190613078565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd91906127dd565b610be8565b6040516103cf91906134ca565b60405180910390f35b3480156103e457600080fd5b506103ed610ca0565b005b61040960048036038101906104049190612a43565b610d28565b005b34801561041757600080fd5b50610420610e74565b60405161042d9190613078565b60405180910390f35b34801561044257600080fd5b5061044b610e9e565b6040516104589190613168565b60405180910390f35b34801561046d57600080fd5b50610488600480360381019061048391906129fa565b610f30565b005b34801561049657600080fd5b506104b160048036038101906104ac9190612920565b610fc6565b005b3480156104bf57600080fd5b506104da60048036038101906104d5919061289d565b611147565b005b3480156104e857600080fd5b5061050360048036038101906104fe9190612a43565b6111a9565b6040516105109190613168565b60405180910390f35b34801561052557600080fd5b50610540600480360381019061053b9190612a43565b611250565b005b34801561054e57600080fd5b506105696004803603810190610564919061280a565b6112d6565b6040516105769190613108565b60405180910390f35b34801561058b57600080fd5b506105a660048036038101906105a19190612a70565b61136a565b005b3480156105b457600080fd5b506105cf60048036038101906105ca91906127dd565b61158c565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061069c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106ac57506106ab82611684565b5b9050919050565b6060600080546106c290613791565b80601f01602080910402602001604051908101604052809291908181526020018280546106ee90613791565b801561073b5780601f106107105761010080835404028352916020019161073b565b820191906000526020600020905b81548152906001019060200180831161071e57829003601f168201915b5050505050905090565b6000610750826116ee565b61078f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610786906133ca565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107d582610b36565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083d9061348a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661086561175a565b73ffffffffffffffffffffffffffffffffffffffff16148061089457506108938161088e61175a565b6112d6565b5b6108d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ca9061332a565b60405180910390fd5b6108dd8383611762565b505050565b600b5481565b600a5481565b60095481565b6109056108ff61175a565b8261181b565b610944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093b906134aa565b60405180910390fd5b61094f8383836118f9565b505050565b61096f83838360405180602001604052806000815250611147565b505050565b61097c61175a565b73ffffffffffffffffffffffffffffffffffffffff1661099a610e74565b73ffffffffffffffffffffffffffffffffffffffff16146109f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e7906133ea565b60405180910390fd5b80600a8190555050565b610a0261175a565b73ffffffffffffffffffffffffffffffffffffffff16610a20610e74565b73ffffffffffffffffffffffffffffffffffffffff1614610a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6d906133ea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610add9061330a565b60405180910390fd5b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610b31573d6000803e3d6000fd5b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd69061336a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c509061334a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ca861175a565b73ffffffffffffffffffffffffffffffffffffffff16610cc6610e74565b73ffffffffffffffffffffffffffffffffffffffff1614610d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d13906133ea565b60405180910390fd5b610d266000611b55565b565b60008111610d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d62906131aa565b60405180910390fd5b80600b541015610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da79061328a565b60405180910390fd5b600081600a54610dc09190613636565b905034811115610e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfc9061346a565b60405180910390fd5b81600b6000828254610e179190613690565b925050819055506000600190505b828111610e5657610e433382600954610e3e91906135af565b611c1b565b8080610e4e906137f4565b915050610e25565b508160096000828254610e6991906135af565b925050819055505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610ead90613791565b80601f0160208091040260200160405190810160405280929190818152602001828054610ed990613791565b8015610f265780601f10610efb57610100808354040283529160200191610f26565b820191906000526020600020905b815481529060010190602001808311610f0957829003601f168201915b5050505050905090565b610f3861175a565b73ffffffffffffffffffffffffffffffffffffffff16610f56610e74565b73ffffffffffffffffffffffffffffffffffffffff1614610fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa3906133ea565b60405180910390fd5b8060079080519060200190610fc29291906125f1565b5050565b610fce61175a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561103c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110339061326a565b60405180910390fd5b806005600061104961175a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110f661175a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161113b9190613108565b60405180910390a35050565b61115861115261175a565b8361181b565b611197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118e906134aa565b60405180910390fd5b6111a384848484611de9565b50505050565b60606111b4826116ee565b6111f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ea9061344a565b60405180910390fd5b60006111fd611e45565b9050600081511161121d5760405180602001604052806000815250611248565b8061122784611ed7565b604051602001611238929190612fe6565b6040516020818303038152906040525b915050919050565b61125861175a565b73ffffffffffffffffffffffffffffffffffffffff16611276610e74565b73ffffffffffffffffffffffffffffffffffffffff16146112cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c3906133ea565b60405180910390fd5b80600b8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600082116113ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a4906131aa565b60405180910390fd5b60003384846040516020016113c493929190613030565b60405160208183030381529060405280519060200120905060006113e782612038565b90506008600082815260200190815260200160002060009054906101000a900460ff161561144a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114419061340a565b60405180910390fd5b60006114568285612068565b9050611460610e74565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c4906132aa565b60405180910390fd5b60016008600084815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600190505b8581116115315761151e338260095461151991906135af565b611c1b565b8080611529906137f4565b915050611500565b50846009600082825461154491906135af565b925050819055507f6a946fcad21c8bf257bd92bb205eff496c616992ce5ece57db783daad9014260338760405161157c9291906130df565b60405180910390a1505050505050565b61159461175a565b73ffffffffffffffffffffffffffffffffffffffff166115b2610e74565b73ffffffffffffffffffffffffffffffffffffffff1614611608576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ff906133ea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611678576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166f9061320a565b60405180910390fd5b61168181611b55565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166117d583610b36565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611826826116ee565b611865576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185c906132ea565b60405180910390fd5b600061187083610b36565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806118df57508373ffffffffffffffffffffffffffffffffffffffff166118c784610745565b73ffffffffffffffffffffffffffffffffffffffff16145b806118f057506118ef81856112d6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661191982610b36565b73ffffffffffffffffffffffffffffffffffffffff161461196f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119669061342a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d69061324a565b60405180910390fd5b6119ea83838361208f565b6119f5600082611762565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a459190613690565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a9c91906135af565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c82906133aa565b60405180910390fd5b611c94816116ee565b15611cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccb9061322a565b60405180910390fd5b611ce06000838361208f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d3091906135af565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b611df48484846118f9565b611e0084848484612094565b611e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e36906131ea565b60405180910390fd5b50505050565b606060078054611e5490613791565b80601f0160208091040260200160405190810160405280929190818152602001828054611e8090613791565b8015611ecd5780601f10611ea257610100808354040283529160200191611ecd565b820191906000526020600020905b815481529060010190602001808311611eb057829003601f168201915b5050505050905090565b60606000821415611f1f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612033565b600082905060005b60008214611f51578080611f3a906137f4565b915050600a82611f4a9190613605565b9150611f27565b60008167ffffffffffffffff811115611f6d57611f6c613991565b5b6040519080825280601f01601f191660200182016040528015611f9f5781602001600182028036833780820191505090505b5090505b6000851461202c57600182611fb89190613690565b9150600a85611fc79190613875565b6030611fd391906135af565b60f81b818381518110611fe957611fe8613962565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120259190613605565b9450611fa3565b8093505050505b919050565b60008160405160200161204b919061300a565b604051602081830303815290604052805190602001209050919050565b6000806000612077858561222b565b91509150612084816122ae565b819250505092915050565b505050565b60006120b58473ffffffffffffffffffffffffffffffffffffffff16612483565b1561221e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026120de61175a565b8786866040518563ffffffff1660e01b81526004016121009493929190613093565b602060405180830381600087803b15801561211a57600080fd5b505af192505050801561214b57506040513d601f19601f8201168201806040525081019061214891906129cd565b60015b6121ce573d806000811461217b576040519150601f19603f3d011682016040523d82523d6000602084013e612180565b606091505b506000815114156121c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bd906131ea565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612223565b600190505b949350505050565b60008060418351141561226d5760008060006020860151925060408601519150606086015160001a905061226187828585612496565b945094505050506122a7565b60408351141561229e5760008060208501519150604085015190506122938683836125a3565b9350935050506122a7565b60006002915091505b9250929050565b600060048111156122c2576122c1613904565b5b8160048111156122d5576122d4613904565b5b14156122e057612480565b600160048111156122f4576122f3613904565b5b81600481111561230757612306613904565b5b1415612348576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233f9061318a565b60405180910390fd5b6002600481111561235c5761235b613904565b5b81600481111561236f5761236e613904565b5b14156123b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a7906131ca565b60405180910390fd5b600360048111156123c4576123c3613904565b5b8160048111156123d7576123d6613904565b5b1415612418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240f906132ca565b60405180910390fd5b60048081111561242b5761242a613904565b5b81600481111561243e5761243d613904565b5b141561247f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124769061338a565b60405180910390fd5b5b50565b600080823b905060008111915050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156124d157600060039150915061259a565b601b8560ff16141580156124e95750601c8560ff1614155b156124fb57600060049150915061259a565b6000600187878787604051600081526020016040526040516125209493929190613123565b6020604051602081039080840390855afa158015612542573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125915760006001925092505061259a565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c0190506125e387828885612496565b935093505050935093915050565b8280546125fd90613791565b90600052602060002090601f01602090048101928261261f5760008555612666565b82601f1061263857805160ff1916838001178555612666565b82800160010185558215612666579182015b8281111561266557825182559160200191906001019061264a565b5b5090506126739190612677565b5090565b5b80821115612690576000816000905550600101612678565b5090565b60006126a76126a28461350a565b6134e5565b9050828152602081018484840111156126c3576126c26139c5565b5b6126ce84828561374f565b509392505050565b60006126e96126e48461353b565b6134e5565b905082815260208101848484011115612705576127046139c5565b5b61271084828561374f565b509392505050565b600081359050612727816140a8565b92915050565b60008135905061273c816140bf565b92915050565b600081359050612751816140d6565b92915050565b600081519050612766816140d6565b92915050565b600082601f830112612781576127806139c0565b5b8135612791848260208601612694565b91505092915050565b600082601f8301126127af576127ae6139c0565b5b81356127bf8482602086016126d6565b91505092915050565b6000813590506127d7816140ed565b92915050565b6000602082840312156127f3576127f26139cf565b5b600061280184828501612718565b91505092915050565b60008060408385031215612821576128206139cf565b5b600061282f85828601612718565b925050602061284085828601612718565b9150509250929050565b600080600060608486031215612863576128626139cf565b5b600061287186828701612718565b935050602061288286828701612718565b9250506040612893868287016127c8565b9150509250925092565b600080600080608085870312156128b7576128b66139cf565b5b60006128c587828801612718565b94505060206128d687828801612718565b93505060406128e7878288016127c8565b925050606085013567ffffffffffffffff811115612908576129076139ca565b5b6129148782880161276c565b91505092959194509250565b60008060408385031215612937576129366139cf565b5b600061294585828601612718565b92505060206129568582860161272d565b9150509250929050565b60008060408385031215612977576129766139cf565b5b600061298585828601612718565b9250506020612996858286016127c8565b9150509250929050565b6000602082840312156129b6576129b56139cf565b5b60006129c484828501612742565b91505092915050565b6000602082840312156129e3576129e26139cf565b5b60006129f184828501612757565b91505092915050565b600060208284031215612a1057612a0f6139cf565b5b600082013567ffffffffffffffff811115612a2e57612a2d6139ca565b5b612a3a8482850161279a565b91505092915050565b600060208284031215612a5957612a586139cf565b5b6000612a67848285016127c8565b91505092915050565b600080600060608486031215612a8957612a886139cf565b5b6000612a97868287016127c8565b9350506020612aa8868287016127c8565b925050604084013567ffffffffffffffff811115612ac957612ac86139ca565b5b612ad58682870161276c565b9150509250925092565b612ae8816136c4565b82525050565b612aff612afa826136c4565b61383d565b82525050565b612b0e816136d6565b82525050565b612b1d816136e2565b82525050565b612b34612b2f826136e2565b61384f565b82525050565b6000612b458261356c565b612b4f8185613582565b9350612b5f81856020860161375e565b612b68816139d4565b840191505092915050565b6000612b7e82613577565b612b888185613593565b9350612b9881856020860161375e565b612ba1816139d4565b840191505092915050565b6000612bb782613577565b612bc181856135a4565b9350612bd181856020860161375e565b80840191505092915050565b6000612bea601883613593565b9150612bf5826139f2565b602082019050919050565b6000612c0d601883613593565b9150612c1882613a1b565b602082019050919050565b6000612c30601f83613593565b9150612c3b82613a44565b602082019050919050565b6000612c53601c836135a4565b9150612c5e82613a6d565b601c82019050919050565b6000612c76603283613593565b9150612c8182613a96565b604082019050919050565b6000612c99602683613593565b9150612ca482613ae5565b604082019050919050565b6000612cbc601c83613593565b9150612cc782613b34565b602082019050919050565b6000612cdf600a836135a4565b9150612cea82613b5d565b600a82019050919050565b6000612d02602483613593565b9150612d0d82613b86565b604082019050919050565b6000612d25601983613593565b9150612d3082613bd5565b602082019050919050565b6000612d48601383613593565b9150612d5382613bfe565b602082019050919050565b6000612d6b601183613593565b9150612d7682613c27565b602082019050919050565b6000612d8e602283613593565b9150612d9982613c50565b604082019050919050565b6000612db1602c83613593565b9150612dbc82613c9f565b604082019050919050565b6000612dd4602083613593565b9150612ddf82613cee565b602082019050919050565b6000612df7603883613593565b9150612e0282613d17565b604082019050919050565b6000612e1a602a83613593565b9150612e2582613d66565b604082019050919050565b6000612e3d602983613593565b9150612e4882613db5565b604082019050919050565b6000612e60602283613593565b9150612e6b82613e04565b604082019050919050565b6000612e83602083613593565b9150612e8e82613e53565b602082019050919050565b6000612ea6602c83613593565b9150612eb182613e7c565b604082019050919050565b6000612ec9602083613593565b9150612ed482613ecb565b602082019050919050565b6000612eec602483613593565b9150612ef782613ef4565b604082019050919050565b6000612f0f602983613593565b9150612f1a82613f43565b604082019050919050565b6000612f32602f83613593565b9150612f3d82613f92565b604082019050919050565b6000612f55601883613593565b9150612f6082613fe1565b602082019050919050565b6000612f78602183613593565b9150612f838261400a565b604082019050919050565b6000612f9b603183613593565b9150612fa682614059565b604082019050919050565b612fba81613738565b82525050565b612fd1612fcc82613738565b61386b565b82525050565b612fe081613742565b82525050565b6000612ff28285612bac565b9150612ffe8284612bac565b91508190509392505050565b600061301582612c46565b91506130218284612b23565b60208201915081905092915050565b600061303b82612cd2565b91506130478286612aee565b6014820191506130578285612fc0565b6020820191506130678284612fc0565b602082019150819050949350505050565b600060208201905061308d6000830184612adf565b92915050565b60006080820190506130a86000830187612adf565b6130b56020830186612adf565b6130c26040830185612fb1565b81810360608301526130d48184612b3a565b905095945050505050565b60006040820190506130f46000830185612adf565b6131016020830184612fb1565b9392505050565b600060208201905061311d6000830184612b05565b92915050565b60006080820190506131386000830187612b14565b6131456020830186612fd7565b6131526040830185612b14565b61315f6060830184612b14565b95945050505050565b600060208201905081810360008301526131828184612b73565b905092915050565b600060208201905081810360008301526131a381612bdd565b9050919050565b600060208201905081810360008301526131c381612c00565b9050919050565b600060208201905081810360008301526131e381612c23565b9050919050565b6000602082019050818103600083015261320381612c69565b9050919050565b6000602082019050818103600083015261322381612c8c565b9050919050565b6000602082019050818103600083015261324381612caf565b9050919050565b6000602082019050818103600083015261326381612cf5565b9050919050565b6000602082019050818103600083015261328381612d18565b9050919050565b600060208201905081810360008301526132a381612d3b565b9050919050565b600060208201905081810360008301526132c381612d5e565b9050919050565b600060208201905081810360008301526132e381612d81565b9050919050565b6000602082019050818103600083015261330381612da4565b9050919050565b6000602082019050818103600083015261332381612dc7565b9050919050565b6000602082019050818103600083015261334381612dea565b9050919050565b6000602082019050818103600083015261336381612e0d565b9050919050565b6000602082019050818103600083015261338381612e30565b9050919050565b600060208201905081810360008301526133a381612e53565b9050919050565b600060208201905081810360008301526133c381612e76565b9050919050565b600060208201905081810360008301526133e381612e99565b9050919050565b6000602082019050818103600083015261340381612ebc565b9050919050565b6000602082019050818103600083015261342381612edf565b9050919050565b6000602082019050818103600083015261344381612f02565b9050919050565b6000602082019050818103600083015261346381612f25565b9050919050565b6000602082019050818103600083015261348381612f48565b9050919050565b600060208201905081810360008301526134a381612f6b565b9050919050565b600060208201905081810360008301526134c381612f8e565b9050919050565b60006020820190506134df6000830184612fb1565b92915050565b60006134ef613500565b90506134fb82826137c3565b919050565b6000604051905090565b600067ffffffffffffffff82111561352557613524613991565b5b61352e826139d4565b9050602081019050919050565b600067ffffffffffffffff82111561355657613555613991565b5b61355f826139d4565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006135ba82613738565b91506135c583613738565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135fa576135f96138a6565b5b828201905092915050565b600061361082613738565b915061361b83613738565b92508261362b5761362a6138d5565b5b828204905092915050565b600061364182613738565b915061364c83613738565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613685576136846138a6565b5b828202905092915050565b600061369b82613738565b91506136a683613738565b9250828210156136b9576136b86138a6565b5b828203905092915050565b60006136cf82613718565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561377c578082015181840152602081019050613761565b8381111561378b576000848401525b50505050565b600060028204905060018216806137a957607f821691505b602082108114156137bd576137bc613933565b5b50919050565b6137cc826139d4565b810181811067ffffffffffffffff821117156137eb576137ea613991565b5b80604052505050565b60006137ff82613738565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613832576138316138a6565b5b600182019050919050565b600061384882613859565b9050919050565b6000819050919050565b6000613864826139e5565b9050919050565b6000819050919050565b600061388082613738565b915061388b83613738565b92508261389b5761389a6138d5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f596f75206d757374206d696e74206174206c6561737420310000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f6d696e7420707570707900000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f7420656e6f75676820666f722073616c6500000000000000000000000000600082015250565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f596f75206d7573742073656e6420746f20612076616c69642061646472657373600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686973207369676e61747572652068617320616c7265616479206265656e2060008201527f7573656400000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f596f75206d7573742073656e6420656e6f756768206574680000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6140b1816136c4565b81146140bc57600080fd5b50565b6140c8816136d6565b81146140d357600080fd5b50565b6140df816136ec565b81146140ea57600080fd5b50565b6140f681613738565b811461410157600080fd5b5056fea264697066735822122061141fd6ad049ecf43ba71394a9aa3ca8f49173cd04eb657b1d958a496a7a0f564736f6c63430008070033
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.