ERC-721
Overview
Max Total Supply
9 HRT
Holders
9
Market
Fully Diluted Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Balance
0 HRTLoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
HeartsNFT
Compiler Version
v0.8.2+commit.661d1103
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; contract HeartsNFT is ERC721, ERC721Enumerable, Pausable, Ownable, ERC721URIStorage{ using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; struct Heart{ string name; uint256 tokenId; string heartId; string heartType; string oldSingleName; string old2SingleName; address engagedWith; uint mintedAt; } mapping(address => Heart) accountHeart; mapping(address => address) engagedAccounts; uint256 constant public HeartEngagePrice = 1*(10**18); constructor() ERC721("HeartNFT", "HRT") { } function withdraw() public onlyOwner { payable(msg.sender).transfer(payable(address(this)).balance); } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function addHeart ( address addr, string memory _heartName, string memory _heartId, string memory _type, uint256 _tokenId, string memory _oldSingleName, string memory _old2SingleName, address engagedWith) private { accountHeart[addr] = Heart(_heartName, _tokenId, _heartId, _type, _oldSingleName,_old2SingleName,engagedWith, block.timestamp); } function removeHeart(address addr) private { delete accountHeart[addr]; } function engageHearts( address addr2, string memory _engagedHeartName, string memory _engagedHeartId, string memory metaURI) public payable { address addr1 = msg.sender; Heart memory h1 = getAccountHeart(addr1); Heart memory h2 = getAccountHeart(addr2); require(keccak256(bytes(h1.heartType)) == keccak256(bytes("single")), "ERC721: You have an engaged heart."); require(keccak256(bytes(h2.heartType)) == keccak256(bytes("single")), "ERC721: Your partner has an engaged heart."); require(!paused(), "Minting paused!"); require(HeartEngagePrice <= msg.value, "Price value is not correct"); // burn and delete single hearts _burn(h1.tokenId); removeHeart(addr1); _burn(h2.tokenId); removeHeart(addr2); // mint and add engaged hearts uint256 tokenId1 = _tokenIdCounter.current(); _tokenIdCounter.increment(); _safeMint(addr1, tokenId1); addHeart(addr1, _engagedHeartName, _engagedHeartId, "engaged", tokenId1, h1.name, h2.name,addr2); uint256 tokenId2 = _tokenIdCounter.current(); _tokenIdCounter.increment(); _safeMint(addr2, tokenId2); addHeart(addr2, _engagedHeartName, _engagedHeartId, "engaged", tokenId2, h2.name, h1.name, addr1); engagedAccounts[addr1] = addr2; engagedAccounts[addr2] = addr1; _setTokenURI(tokenId1, metaURI); _setTokenURI(tokenId2, metaURI); } function disengageHearts() public { address addr1 = msg.sender; address addr2 = engagedAccounts[addr1]; Heart memory h1 = getAccountHeart(addr1); Heart memory h2 = getAccountHeart(addr2); require(keccak256(bytes(h1.heartType)) == keccak256(bytes("engaged")), "ERC721: You are single."); require(keccak256(bytes(h2.heartType)) == keccak256(bytes("engaged")), "ERC721: Your partner is not engaged with you."); require(!paused(), "Minting paused!"); _burn(h1.tokenId); removeHeart(addr1); _burn(h2.tokenId); removeHeart(addr2); delete engagedAccounts[addr1]; delete engagedAccounts[addr2]; } function getAccountHeart(address addr) public view returns (Heart memory heart){ return accountHeart[addr]; } function safeMintSingleHeart( string memory _heartName, string memory _heartId, string memory metaURI) public { Heart memory h1 = getAccountHeart(msg.sender); require(keccak256(bytes(h1.heartType)) == keccak256(bytes("")), "ERC721: You have a heart"); require(!paused(), "Minting paused!"); uint256 tokenId = _tokenIdCounter.current(); _tokenIdCounter.increment(); _safeMint(msg.sender, tokenId); addHeart(msg.sender, _heartName, _heartId, "single", tokenId,"","",address(0)); _setTokenURI(tokenId, metaURI); } function _baseURI() internal view virtual override returns (string memory) { return "https://ipfs.io/ipfs/"; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal whenNotPaused override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } // The following functions are overrides required by Solidity. function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "istanbul", "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":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"HeartEngagePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disengageHearts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr2","type":"address"},{"internalType":"string","name":"_engagedHeartName","type":"string"},{"internalType":"string","name":"_engagedHeartId","type":"string"},{"internalType":"string","name":"metaURI","type":"string"}],"name":"engageHearts","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getAccountHeart","outputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"heartId","type":"string"},{"internalType":"string","name":"heartType","type":"string"},{"internalType":"string","name":"oldSingleName","type":"string"},{"internalType":"string","name":"old2SingleName","type":"string"},{"internalType":"address","name":"engagedWith","type":"address"},{"internalType":"uint256","name":"mintedAt","type":"uint256"}],"internalType":"struct HeartsNFT.Heart","name":"heart","type":"tuple"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_heartName","type":"string"},{"internalType":"string","name":"_heartId","type":"string"},{"internalType":"string","name":"metaURI","type":"string"}],"name":"safeMintSingleHeart","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600881526020017f48656172744e46540000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4852540000000000000000000000000000000000000000000000000000000000815250816000908051906020019062000096929190620001c1565b508060019080519060200190620000af929190620001c1565b5050506000600a60006101000a81548160ff021916908315150217905550620000ed620000e1620000f360201b60201c565b620000fb60201b60201c565b620002d6565b600033905090565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001cf9062000271565b90600052602060002090601f016020900481019282620001f357600085556200023f565b82601f106200020e57805160ff19168380011785556200023f565b828001600101855582156200023f579182015b828111156200023e57825182559160200191906001019062000221565b5b5090506200024e919062000252565b5090565b5b808211156200026d57600081600090555060010162000253565b5090565b600060028204905060018216806200028a57607f821691505b60208210811415620002a157620002a0620002a7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61549680620002e66000396000f3fe6080604052600436106101b75760003560e01c80636e47bada116100ec578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd146105d7578063c969d53814610614578063e985e9c51461062b578063f2fde38b14610668576101b7565b8063a22cb4651461055c578063b88d4fde14610585578063bd5c089c146105ae576101b7565b8063761ac613116100c6578063761ac613146104b25780638456cb59146104ef5780638da5cb5b1461050657806395d89b4114610531576101b7565b80636e47bada1461044257806370a082311461045e578063715018a61461049b576101b7565b80632f745c591161015957806342842e0e1161013357806342842e0e146103745780634f6ccce71461039d5780635c975abb146103da5780636352211e14610405576101b7565b80632f745c59146103095780633ccfd60b146103465780633f4ba83a1461035d576101b7565b8063095ea7b311610195578063095ea7b31461026157806318160ddd1461028a5780631ea26918146102b557806323b872dd146102e0576101b7565b806301ffc9a7146101bc57806306fdde03146101f9578063081812fc14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de9190613cf6565b610691565b6040516101f0919061447d565b60405180910390f35b34801561020557600080fd5b5061020e6106a3565b60405161021b9190614498565b60405180910390f35b34801561023057600080fd5b5061024b60048036038101906102469190613ddf565b610735565b6040516102589190614416565b60405180910390f35b34801561026d57600080fd5b5061028860048036038101906102839190613cba565b6107ba565b005b34801561029657600080fd5b5061029f6108d2565b6040516102ac919061487c565b60405180910390f35b3480156102c157600080fd5b506102ca6108df565b6040516102d7919061487c565b60405180910390f35b3480156102ec57600080fd5b5061030760048036038101906103029190613b09565b6108eb565b005b34801561031557600080fd5b50610330600480360381019061032b9190613cba565b61094b565b60405161033d919061487c565b60405180910390f35b34801561035257600080fd5b5061035b6109f0565b005b34801561036957600080fd5b50610372610acc565b005b34801561038057600080fd5b5061039b60048036038101906103969190613b09565b610b52565b005b3480156103a957600080fd5b506103c460048036038101906103bf9190613ddf565b610b72565b6040516103d1919061487c565b60405180910390f35b3480156103e657600080fd5b506103ef610c09565b6040516103fc919061447d565b60405180910390f35b34801561041157600080fd5b5061042c60048036038101906104279190613ddf565b610c20565b6040516104399190614416565b60405180910390f35b61045c60048036038101906104579190613c0f565b610cd2565b005b34801561046a57600080fd5b5061048560048036038101906104809190613aa4565b6110bb565b604051610492919061487c565b60405180910390f35b3480156104a757600080fd5b506104b0611173565b005b3480156104be57600080fd5b506104d960048036038101906104d49190613aa4565b6111fb565b6040516104e6919061485a565b60405180910390f35b3480156104fb57600080fd5b50610504611599565b005b34801561051257600080fd5b5061051b61161f565b6040516105289190614416565b60405180910390f35b34801561053d57600080fd5b50610546611649565b6040516105539190614498565b60405180910390f35b34801561056857600080fd5b50610583600480360381019061057e9190613bd3565b6116db565b005b34801561059157600080fd5b506105ac60048036038101906105a79190613b58565b6116f1565b005b3480156105ba57600080fd5b506105d560048036038101906105d09190613d48565b611753565b005b3480156105e357600080fd5b506105fe60048036038101906105f99190613ddf565b6118a2565b60405161060b9190614498565b60405180910390f35b34801561062057600080fd5b506106296118b4565b005b34801561063757600080fd5b50610652600480360381019061064d9190613acd565b611b87565b60405161065f919061447d565b60405180910390f35b34801561067457600080fd5b5061068f600480360381019061068a9190613aa4565b611c1b565b005b600061069c82611d13565b9050919050565b6060600080546106b290614ae3565b80601f01602080910402602001604051908101604052809291908181526020018280546106de90614ae3565b801561072b5780601f106107005761010080835404028352916020019161072b565b820191906000526020600020905b81548152906001019060200180831161070e57829003601f168201915b5050505050905090565b600061074082611d8d565b61077f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107769061473a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107c582610c20565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082d906147da565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610855611df9565b73ffffffffffffffffffffffffffffffffffffffff16148061088457506108838161087e611df9565b611b87565b5b6108c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ba9061465a565b60405180910390fd5b6108cd8383611e01565b505050565b6000600880549050905090565b670de0b6b3a764000081565b6108fc6108f6611df9565b82611eba565b61093b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610932906147fa565b60405180910390fd5b610946838383611f98565b505050565b6000610956836110bb565b8210610997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098e906144fa565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6109f8611df9565b73ffffffffffffffffffffffffffffffffffffffff16610a1661161f565b73ffffffffffffffffffffffffffffffffffffffff1614610a6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a639061475a565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050158015610ac9573d6000803e3d6000fd5b50565b610ad4611df9565b73ffffffffffffffffffffffffffffffffffffffff16610af261161f565b73ffffffffffffffffffffffffffffffffffffffff1614610b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3f9061475a565b60405180910390fd5b610b506121f4565b565b610b6d838383604051806020016040528060008152506116f1565b505050565b6000610b7c6108d2565b8210610bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb49061483a565b60405180910390fd5b60088281548110610bf7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000600a60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc09061469a565b60405180910390fd5b80915050919050565b60003390506000610ce2826111fb565b90506000610cef876111fb565b90506040518060400160405280600681526020017f73696e676c6500000000000000000000000000000000000000000000000000008152508051906020012082606001518051906020012014610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d719061455a565b60405180910390fd5b6040518060400160405280600681526020017f73696e676c6500000000000000000000000000000000000000000000000000008152508051906020012081606001518051906020012014610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa9061461a565b60405180910390fd5b610e0b610c09565b15610e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e42906147ba565b60405180910390fd5b34670de0b6b3a76400001115610e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8d9061453a565b60405180910390fd5b610ea38260200151612296565b610eac836122a2565b610eb98160200151612296565b610ec2876122a2565b6000610ece600c61236e565b9050610eda600c61237c565b610ee48482612392565b610f318488886040518060400160405280600781526020017f656e67616765640000000000000000000000000000000000000000000000000081525085886000015188600001518f6123b0565b6000610f3d600c61236e565b9050610f49600c61237c565b610f538982612392565b610fa08989896040518060400160405280600781526020017f656e6761676564000000000000000000000000000000000000000000000000008152508588600001518a600001518c6123b0565b88600e60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600e60008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506110a68287612538565b6110b08187612538565b505050505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561112c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111239061467a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61117b611df9565b73ffffffffffffffffffffffffffffffffffffffff1661119961161f565b73ffffffffffffffffffffffffffffffffffffffff16146111ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e69061475a565b60405180910390fd5b6111f960006125ac565b565b61120361382d565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518061010001604052908160008201805461125e90614ae3565b80601f016020809104026020016040519081016040528092919081815260200182805461128a90614ae3565b80156112d75780601f106112ac576101008083540402835291602001916112d7565b820191906000526020600020905b8154815290600101906020018083116112ba57829003601f168201915b50505050508152602001600182015481526020016002820180546112fa90614ae3565b80601f016020809104026020016040519081016040528092919081815260200182805461132690614ae3565b80156113735780601f1061134857610100808354040283529160200191611373565b820191906000526020600020905b81548152906001019060200180831161135657829003601f168201915b5050505050815260200160038201805461138c90614ae3565b80601f01602080910402602001604051908101604052809291908181526020018280546113b890614ae3565b80156114055780601f106113da57610100808354040283529160200191611405565b820191906000526020600020905b8154815290600101906020018083116113e857829003601f168201915b5050505050815260200160048201805461141e90614ae3565b80601f016020809104026020016040519081016040528092919081815260200182805461144a90614ae3565b80156114975780601f1061146c57610100808354040283529160200191611497565b820191906000526020600020905b81548152906001019060200180831161147a57829003601f168201915b505050505081526020016005820180546114b090614ae3565b80601f01602080910402602001604051908101604052809291908181526020018280546114dc90614ae3565b80156115295780601f106114fe57610100808354040283529160200191611529565b820191906000526020600020905b81548152906001019060200180831161150c57829003601f168201915b505050505081526020016006820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016007820154815250509050919050565b6115a1611df9565b73ffffffffffffffffffffffffffffffffffffffff166115bf61161f565b73ffffffffffffffffffffffffffffffffffffffff1614611615576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160c9061475a565b60405180910390fd5b61161d612672565b565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461165890614ae3565b80601f016020809104026020016040519081016040528092919081815260200182805461168490614ae3565b80156116d15780601f106116a6576101008083540402835291602001916116d1565b820191906000526020600020905b8154815290600101906020018083116116b457829003601f168201915b5050505050905090565b6116ed6116e6611df9565b8383612715565b5050565b6117026116fc611df9565b83611eba565b611741576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611738906147fa565b60405180910390fd5b61174d84848484612882565b50505050565b600061175e336111fb565b90506040518060200160405280600081525080519060200120816060015180519060200120146117c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ba9061481a565b60405180910390fd5b6117cb610c09565b1561180b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611802906147ba565b60405180910390fd5b6000611817600c61236e565b9050611823600c61237c565b61182d3382612392565b6118913386866040518060400160405280600681526020017f73696e676c65000000000000000000000000000000000000000000000000000081525085604051806020016040528060008152506040518060200160405280600081525060006123b0565b61189b8184612538565b5050505050565b60606118ad826128de565b9050919050565b60003390506000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000611928836111fb565b90506000611935836111fb565b90506040518060400160405280600781526020017f656e67616765640000000000000000000000000000000000000000000000000081525080519060200120826060015180519060200120146119c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b7906144ba565b60405180910390fd5b6040518060400160405280600781526020017f656e6761676564000000000000000000000000000000000000000000000000008152508051906020012081606001518051906020012014611a49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a40906146da565b60405180910390fd5b611a51610c09565b15611a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a88906147ba565b60405180910390fd5b611a9e8260200151612296565b611aa7846122a2565b611ab48160200151612296565b611abd836122a2565b600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c23611df9565b73ffffffffffffffffffffffffffffffffffffffff16611c4161161f565b73ffffffffffffffffffffffffffffffffffffffff1614611c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8e9061475a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe9061457a565b60405180910390fd5b611d10816125ac565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d865750611d8582612a30565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e7483610c20565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ec582611d8d565b611f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efb906145fa565b60405180910390fd5b6000611f0f83610c20565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f7e57508373ffffffffffffffffffffffffffffffffffffffff16611f6684610735565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f8f5750611f8e8185611b87565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fb882610c20565b73ffffffffffffffffffffffffffffffffffffffff161461200e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120059061477a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561207e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612075906145ba565b60405180910390fd5b612089838383612b12565b612094600082611e01565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120e491906149f9565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461213b9190614972565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6121fc610c09565b61223b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612232906144da565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61227f611df9565b60405161228c9190614416565b60405180910390a1565b61229f81612b6a565b50565b600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160006122f29190613888565b600182016000905560028201600061230a9190613888565b60038201600061231a9190613888565b60048201600061232a9190613888565b60058201600061233a9190613888565b6006820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556007820160009055505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6123ac828260405180602001604052806000815250612bbd565b5050565b6040518061010001604052808881526020018581526020018781526020018681526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200142815250600d60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001908051906020019061245b9291906138c8565b506020820151816001015560408201518160020190805190602001906124829291906138c8565b50606082015181600301908051906020019061249f9291906138c8565b5060808201518160040190805190602001906124bc9291906138c8565b5060a08201518160050190805190602001906124d99291906138c8565b5060c08201518160060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060e082015181600701559050505050505050505050565b61254182611d8d565b612580576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612577906146ba565b60405180910390fd5b80600b600084815260200190815260200160002090805190602001906125a79291906138c8565b505050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61267a610c09565b156126ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b19061463a565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126fe611df9565b60405161270b9190614416565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277b906145da565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612875919061447d565b60405180910390a3505050565b61288d848484611f98565b61289984848484612c18565b6128d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128cf9061451a565b60405180910390fd5b50505050565b60606128e982611d8d565b612928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291f9061471a565b60405180910390fd5b6000600b6000848152602001908152602001600020805461294890614ae3565b80601f016020809104026020016040519081016040528092919081815260200182805461297490614ae3565b80156129c15780601f10612996576101008083540402835291602001916129c1565b820191906000526020600020905b8154815290600101906020018083116129a457829003601f168201915b5050505050905060006129d2612daf565b90506000815114156129e8578192505050612a2b565b600082511115612a1d578082604051602001612a059291906143f2565b60405160208183030381529060405292505050612a2b565b612a2684612dec565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612afb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612b0b5750612b0a82612e93565b5b9050919050565b612b1a610c09565b15612b5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b519061463a565b60405180910390fd5b612b65838383612efd565b505050565b612b7381613011565b6000600b60008381526020019081526020016000208054612b9390614ae3565b905014612bba57600b60008281526020019081526020016000206000612bb99190613888565b5b50565b612bc78383613122565b612bd46000848484612c18565b612c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0a9061451a565b60405180910390fd5b505050565b6000612c398473ffffffffffffffffffffffffffffffffffffffff166132f0565b15612da2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c62611df9565b8786866040518563ffffffff1660e01b8152600401612c849493929190614431565b602060405180830381600087803b158015612c9e57600080fd5b505af1925050508015612ccf57506040513d601f19601f82011682018060405250810190612ccc9190613d1f565b60015b612d52573d8060008114612cff576040519150601f19603f3d011682016040523d82523d6000602084013e612d04565b606091505b50600081511415612d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d419061451a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612da7565b600190505b949350505050565b60606040518060400160405280601581526020017f68747470733a2f2f697066732e696f2f697066732f0000000000000000000000815250905090565b6060612df782611d8d565b612e36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2d9061479a565b60405180910390fd5b6000612e40612daf565b90506000815111612e605760405180602001604052806000815250612e8b565b80612e6a84613303565b604051602001612e7b9291906143f2565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f088383836134b0565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f4b57612f46816134b5565b612f8a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f8957612f8883826134fe565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612fcd57612fc88161366b565b61300c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461300b5761300a82826137ae565b5b5b505050565b600061301c82610c20565b905061302a81600084612b12565b613035600083611e01565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461308591906149f9565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613192576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613189906146fa565b60405180910390fd5b61319b81611d8d565b156131db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d29061459a565b60405180910390fd5b6131e760008383612b12565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132379190614972565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6060600082141561334b576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506134ab565b600082905060005b6000821461337d57808061336690614b46565b915050600a8261337691906149c8565b9150613353565b60008167ffffffffffffffff8111156133bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156133f15781602001600182028036833780820191505090505b5090505b600085146134a45760018261340a91906149f9565b9150600a856134199190614b8f565b60306134259190614972565b60f81b818381518110613461577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561349d91906149c8565b94506133f5565b8093505050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161350b846110bb565b61351591906149f9565b90506000600760008481526020019081526020016000205490508181146135fa576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061367f91906149f9565b90506000600960008481526020019081526020016000205490506000600883815481106136d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061371d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613792577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006137b9836110bb565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b604051806101000160405280606081526020016000815260200160608152602001606081526020016060815260200160608152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b50805461389490614ae3565b6000825580601f106138a657506138c5565b601f0160209004906000526020600020908101906138c4919061394e565b5b50565b8280546138d490614ae3565b90600052602060002090601f0160209004810192826138f6576000855561393d565b82601f1061390f57805160ff191683800117855561393d565b8280016001018555821561393d579182015b8281111561393c578251825591602001919060010190613921565b5b50905061394a919061394e565b5090565b5b8082111561396757600081600090555060010161394f565b5090565b600061397e613979846148bc565b614897565b90508281526020810184848401111561399657600080fd5b6139a1848285614aa1565b509392505050565b60006139bc6139b7846148ed565b614897565b9050828152602081018484840111156139d457600080fd5b6139df848285614aa1565b509392505050565b6000813590506139f681615404565b92915050565b600081359050613a0b8161541b565b92915050565b600081359050613a2081615432565b92915050565b600081519050613a3581615432565b92915050565b600082601f830112613a4c57600080fd5b8135613a5c84826020860161396b565b91505092915050565b600082601f830112613a7657600080fd5b8135613a868482602086016139a9565b91505092915050565b600081359050613a9e81615449565b92915050565b600060208284031215613ab657600080fd5b6000613ac4848285016139e7565b91505092915050565b60008060408385031215613ae057600080fd5b6000613aee858286016139e7565b9250506020613aff858286016139e7565b9150509250929050565b600080600060608486031215613b1e57600080fd5b6000613b2c868287016139e7565b9350506020613b3d868287016139e7565b9250506040613b4e86828701613a8f565b9150509250925092565b60008060008060808587031215613b6e57600080fd5b6000613b7c878288016139e7565b9450506020613b8d878288016139e7565b9350506040613b9e87828801613a8f565b925050606085013567ffffffffffffffff811115613bbb57600080fd5b613bc787828801613a3b565b91505092959194509250565b60008060408385031215613be657600080fd5b6000613bf4858286016139e7565b9250506020613c05858286016139fc565b9150509250929050565b60008060008060808587031215613c2557600080fd5b6000613c33878288016139e7565b945050602085013567ffffffffffffffff811115613c5057600080fd5b613c5c87828801613a65565b935050604085013567ffffffffffffffff811115613c7957600080fd5b613c8587828801613a65565b925050606085013567ffffffffffffffff811115613ca257600080fd5b613cae87828801613a65565b91505092959194509250565b60008060408385031215613ccd57600080fd5b6000613cdb858286016139e7565b9250506020613cec85828601613a8f565b9150509250929050565b600060208284031215613d0857600080fd5b6000613d1684828501613a11565b91505092915050565b600060208284031215613d3157600080fd5b6000613d3f84828501613a26565b91505092915050565b600080600060608486031215613d5d57600080fd5b600084013567ffffffffffffffff811115613d7757600080fd5b613d8386828701613a65565b935050602084013567ffffffffffffffff811115613da057600080fd5b613dac86828701613a65565b925050604084013567ffffffffffffffff811115613dc957600080fd5b613dd586828701613a65565b9150509250925092565b600060208284031215613df157600080fd5b6000613dff84828501613a8f565b91505092915050565b613e1181614a2d565b82525050565b613e2081614a2d565b82525050565b613e2f81614a3f565b82525050565b6000613e408261491e565b613e4a8185614934565b9350613e5a818560208601614ab0565b613e6381614c7c565b840191505092915050565b6000613e7982614929565b613e838185614945565b9350613e93818560208601614ab0565b613e9c81614c7c565b840191505092915050565b6000613eb282614929565b613ebc8185614956565b9350613ecc818560208601614ab0565b613ed581614c7c565b840191505092915050565b6000613eeb82614929565b613ef58185614967565b9350613f05818560208601614ab0565b80840191505092915050565b6000613f1e601783614956565b9150613f2982614c8d565b602082019050919050565b6000613f41601483614956565b9150613f4c82614cb6565b602082019050919050565b6000613f64602b83614956565b9150613f6f82614cdf565b604082019050919050565b6000613f87603283614956565b9150613f9282614d2e565b604082019050919050565b6000613faa601a83614956565b9150613fb582614d7d565b602082019050919050565b6000613fcd602283614956565b9150613fd882614da6565b604082019050919050565b6000613ff0602683614956565b9150613ffb82614df5565b604082019050919050565b6000614013601c83614956565b915061401e82614e44565b602082019050919050565b6000614036602483614956565b915061404182614e6d565b604082019050919050565b6000614059601983614956565b915061406482614ebc565b602082019050919050565b600061407c602c83614956565b915061408782614ee5565b604082019050919050565b600061409f602a83614956565b91506140aa82614f34565b604082019050919050565b60006140c2601083614956565b91506140cd82614f83565b602082019050919050565b60006140e5603883614956565b91506140f082614fac565b604082019050919050565b6000614108602a83614956565b915061411382614ffb565b604082019050919050565b600061412b602983614956565b91506141368261504a565b604082019050919050565b600061414e602e83614956565b915061415982615099565b604082019050919050565b6000614171602d83614956565b915061417c826150e8565b604082019050919050565b6000614194602083614956565b915061419f82615137565b602082019050919050565b60006141b7603183614956565b91506141c282615160565b604082019050919050565b60006141da602c83614956565b91506141e5826151af565b604082019050919050565b60006141fd602083614956565b9150614208826151fe565b602082019050919050565b6000614220602983614956565b915061422b82615227565b604082019050919050565b6000614243602f83614956565b915061424e82615276565b604082019050919050565b6000614266600f83614956565b9150614271826152c5565b602082019050919050565b6000614289602183614956565b9150614294826152ee565b604082019050919050565b60006142ac603183614956565b91506142b78261533d565b604082019050919050565b60006142cf601883614956565b91506142da8261538c565b602082019050919050565b60006142f2602c83614956565b91506142fd826153b5565b604082019050919050565b60006101008301600083015184820360008601526143268282613e6e565b915050602083015161433b60208601826143d4565b50604083015184820360408601526143538282613e6e565b9150506060830151848203606086015261436d8282613e6e565b915050608083015184820360808601526143878282613e6e565b91505060a083015184820360a08601526143a18282613e6e565b91505060c08301516143b660c0860182613e08565b5060e08301516143c960e08601826143d4565b508091505092915050565b6143dd81614a97565b82525050565b6143ec81614a97565b82525050565b60006143fe8285613ee0565b915061440a8284613ee0565b91508190509392505050565b600060208201905061442b6000830184613e17565b92915050565b60006080820190506144466000830187613e17565b6144536020830186613e17565b61446060408301856143e3565b81810360608301526144728184613e35565b905095945050505050565b60006020820190506144926000830184613e26565b92915050565b600060208201905081810360008301526144b28184613ea7565b905092915050565b600060208201905081810360008301526144d381613f11565b9050919050565b600060208201905081810360008301526144f381613f34565b9050919050565b6000602082019050818103600083015261451381613f57565b9050919050565b6000602082019050818103600083015261453381613f7a565b9050919050565b6000602082019050818103600083015261455381613f9d565b9050919050565b6000602082019050818103600083015261457381613fc0565b9050919050565b6000602082019050818103600083015261459381613fe3565b9050919050565b600060208201905081810360008301526145b381614006565b9050919050565b600060208201905081810360008301526145d381614029565b9050919050565b600060208201905081810360008301526145f38161404c565b9050919050565b600060208201905081810360008301526146138161406f565b9050919050565b6000602082019050818103600083015261463381614092565b9050919050565b60006020820190508181036000830152614653816140b5565b9050919050565b60006020820190508181036000830152614673816140d8565b9050919050565b60006020820190508181036000830152614693816140fb565b9050919050565b600060208201905081810360008301526146b38161411e565b9050919050565b600060208201905081810360008301526146d381614141565b9050919050565b600060208201905081810360008301526146f381614164565b9050919050565b6000602082019050818103600083015261471381614187565b9050919050565b60006020820190508181036000830152614733816141aa565b9050919050565b60006020820190508181036000830152614753816141cd565b9050919050565b60006020820190508181036000830152614773816141f0565b9050919050565b6000602082019050818103600083015261479381614213565b9050919050565b600060208201905081810360008301526147b381614236565b9050919050565b600060208201905081810360008301526147d381614259565b9050919050565b600060208201905081810360008301526147f38161427c565b9050919050565b600060208201905081810360008301526148138161429f565b9050919050565b60006020820190508181036000830152614833816142c2565b9050919050565b60006020820190508181036000830152614853816142e5565b9050919050565b600060208201905081810360008301526148748184614308565b905092915050565b600060208201905061489160008301846143e3565b92915050565b60006148a16148b2565b90506148ad8282614b15565b919050565b6000604051905090565b600067ffffffffffffffff8211156148d7576148d6614c4d565b5b6148e082614c7c565b9050602081019050919050565b600067ffffffffffffffff82111561490857614907614c4d565b5b61491182614c7c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061497d82614a97565b915061498883614a97565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149bd576149bc614bc0565b5b828201905092915050565b60006149d382614a97565b91506149de83614a97565b9250826149ee576149ed614bef565b5b828204905092915050565b6000614a0482614a97565b9150614a0f83614a97565b925082821015614a2257614a21614bc0565b5b828203905092915050565b6000614a3882614a77565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614ace578082015181840152602081019050614ab3565b83811115614add576000848401525b50505050565b60006002820490506001821680614afb57607f821691505b60208210811415614b0f57614b0e614c1e565b5b50919050565b614b1e82614c7c565b810181811067ffffffffffffffff82111715614b3d57614b3c614c4d565b5b80604052505050565b6000614b5182614a97565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b8457614b83614bc0565b5b600182019050919050565b6000614b9a82614a97565b9150614ba583614a97565b925082614bb557614bb4614bef565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a20596f75206172652073696e676c652e000000000000000000600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f50726963652076616c7565206973206e6f7420636f7272656374000000000000600082015250565b7f4552433732313a20596f75206861766520616e20656e6761676564206865617260008201527f742e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20596f757220706172746e65722068617320616e20656e676160008201527f6765642068656172742e00000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a20596f757220706172746e6572206973206e6f7420656e676160008201527f676564207769746820796f752e00000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4d696e74696e6720706175736564210000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4552433732313a20596f75206861766520612068656172740000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61540d81614a2d565b811461541857600080fd5b50565b61542481614a3f565b811461542f57600080fd5b50565b61543b81614a4b565b811461544657600080fd5b50565b61545281614a97565b811461545d57600080fd5b5056fea26469706673582212205c1496cab14a498ffc22c87f08d50273fdd17296c7418c0cd515441d970fa6ce64736f6c63430008020033
Deployed Bytecode
0x6080604052600436106101b75760003560e01c80636e47bada116100ec578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd146105d7578063c969d53814610614578063e985e9c51461062b578063f2fde38b14610668576101b7565b8063a22cb4651461055c578063b88d4fde14610585578063bd5c089c146105ae576101b7565b8063761ac613116100c6578063761ac613146104b25780638456cb59146104ef5780638da5cb5b1461050657806395d89b4114610531576101b7565b80636e47bada1461044257806370a082311461045e578063715018a61461049b576101b7565b80632f745c591161015957806342842e0e1161013357806342842e0e146103745780634f6ccce71461039d5780635c975abb146103da5780636352211e14610405576101b7565b80632f745c59146103095780633ccfd60b146103465780633f4ba83a1461035d576101b7565b8063095ea7b311610195578063095ea7b31461026157806318160ddd1461028a5780631ea26918146102b557806323b872dd146102e0576101b7565b806301ffc9a7146101bc57806306fdde03146101f9578063081812fc14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de9190613cf6565b610691565b6040516101f0919061447d565b60405180910390f35b34801561020557600080fd5b5061020e6106a3565b60405161021b9190614498565b60405180910390f35b34801561023057600080fd5b5061024b60048036038101906102469190613ddf565b610735565b6040516102589190614416565b60405180910390f35b34801561026d57600080fd5b5061028860048036038101906102839190613cba565b6107ba565b005b34801561029657600080fd5b5061029f6108d2565b6040516102ac919061487c565b60405180910390f35b3480156102c157600080fd5b506102ca6108df565b6040516102d7919061487c565b60405180910390f35b3480156102ec57600080fd5b5061030760048036038101906103029190613b09565b6108eb565b005b34801561031557600080fd5b50610330600480360381019061032b9190613cba565b61094b565b60405161033d919061487c565b60405180910390f35b34801561035257600080fd5b5061035b6109f0565b005b34801561036957600080fd5b50610372610acc565b005b34801561038057600080fd5b5061039b60048036038101906103969190613b09565b610b52565b005b3480156103a957600080fd5b506103c460048036038101906103bf9190613ddf565b610b72565b6040516103d1919061487c565b60405180910390f35b3480156103e657600080fd5b506103ef610c09565b6040516103fc919061447d565b60405180910390f35b34801561041157600080fd5b5061042c60048036038101906104279190613ddf565b610c20565b6040516104399190614416565b60405180910390f35b61045c60048036038101906104579190613c0f565b610cd2565b005b34801561046a57600080fd5b5061048560048036038101906104809190613aa4565b6110bb565b604051610492919061487c565b60405180910390f35b3480156104a757600080fd5b506104b0611173565b005b3480156104be57600080fd5b506104d960048036038101906104d49190613aa4565b6111fb565b6040516104e6919061485a565b60405180910390f35b3480156104fb57600080fd5b50610504611599565b005b34801561051257600080fd5b5061051b61161f565b6040516105289190614416565b60405180910390f35b34801561053d57600080fd5b50610546611649565b6040516105539190614498565b60405180910390f35b34801561056857600080fd5b50610583600480360381019061057e9190613bd3565b6116db565b005b34801561059157600080fd5b506105ac60048036038101906105a79190613b58565b6116f1565b005b3480156105ba57600080fd5b506105d560048036038101906105d09190613d48565b611753565b005b3480156105e357600080fd5b506105fe60048036038101906105f99190613ddf565b6118a2565b60405161060b9190614498565b60405180910390f35b34801561062057600080fd5b506106296118b4565b005b34801561063757600080fd5b50610652600480360381019061064d9190613acd565b611b87565b60405161065f919061447d565b60405180910390f35b34801561067457600080fd5b5061068f600480360381019061068a9190613aa4565b611c1b565b005b600061069c82611d13565b9050919050565b6060600080546106b290614ae3565b80601f01602080910402602001604051908101604052809291908181526020018280546106de90614ae3565b801561072b5780601f106107005761010080835404028352916020019161072b565b820191906000526020600020905b81548152906001019060200180831161070e57829003601f168201915b5050505050905090565b600061074082611d8d565b61077f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107769061473a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107c582610c20565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082d906147da565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610855611df9565b73ffffffffffffffffffffffffffffffffffffffff16148061088457506108838161087e611df9565b611b87565b5b6108c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ba9061465a565b60405180910390fd5b6108cd8383611e01565b505050565b6000600880549050905090565b670de0b6b3a764000081565b6108fc6108f6611df9565b82611eba565b61093b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610932906147fa565b60405180910390fd5b610946838383611f98565b505050565b6000610956836110bb565b8210610997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098e906144fa565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6109f8611df9565b73ffffffffffffffffffffffffffffffffffffffff16610a1661161f565b73ffffffffffffffffffffffffffffffffffffffff1614610a6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a639061475a565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050158015610ac9573d6000803e3d6000fd5b50565b610ad4611df9565b73ffffffffffffffffffffffffffffffffffffffff16610af261161f565b73ffffffffffffffffffffffffffffffffffffffff1614610b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3f9061475a565b60405180910390fd5b610b506121f4565b565b610b6d838383604051806020016040528060008152506116f1565b505050565b6000610b7c6108d2565b8210610bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb49061483a565b60405180910390fd5b60088281548110610bf7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000600a60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc09061469a565b60405180910390fd5b80915050919050565b60003390506000610ce2826111fb565b90506000610cef876111fb565b90506040518060400160405280600681526020017f73696e676c6500000000000000000000000000000000000000000000000000008152508051906020012082606001518051906020012014610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d719061455a565b60405180910390fd5b6040518060400160405280600681526020017f73696e676c6500000000000000000000000000000000000000000000000000008152508051906020012081606001518051906020012014610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa9061461a565b60405180910390fd5b610e0b610c09565b15610e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e42906147ba565b60405180910390fd5b34670de0b6b3a76400001115610e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8d9061453a565b60405180910390fd5b610ea38260200151612296565b610eac836122a2565b610eb98160200151612296565b610ec2876122a2565b6000610ece600c61236e565b9050610eda600c61237c565b610ee48482612392565b610f318488886040518060400160405280600781526020017f656e67616765640000000000000000000000000000000000000000000000000081525085886000015188600001518f6123b0565b6000610f3d600c61236e565b9050610f49600c61237c565b610f538982612392565b610fa08989896040518060400160405280600781526020017f656e6761676564000000000000000000000000000000000000000000000000008152508588600001518a600001518c6123b0565b88600e60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600e60008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506110a68287612538565b6110b08187612538565b505050505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561112c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111239061467a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61117b611df9565b73ffffffffffffffffffffffffffffffffffffffff1661119961161f565b73ffffffffffffffffffffffffffffffffffffffff16146111ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e69061475a565b60405180910390fd5b6111f960006125ac565b565b61120361382d565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518061010001604052908160008201805461125e90614ae3565b80601f016020809104026020016040519081016040528092919081815260200182805461128a90614ae3565b80156112d75780601f106112ac576101008083540402835291602001916112d7565b820191906000526020600020905b8154815290600101906020018083116112ba57829003601f168201915b50505050508152602001600182015481526020016002820180546112fa90614ae3565b80601f016020809104026020016040519081016040528092919081815260200182805461132690614ae3565b80156113735780601f1061134857610100808354040283529160200191611373565b820191906000526020600020905b81548152906001019060200180831161135657829003601f168201915b5050505050815260200160038201805461138c90614ae3565b80601f01602080910402602001604051908101604052809291908181526020018280546113b890614ae3565b80156114055780601f106113da57610100808354040283529160200191611405565b820191906000526020600020905b8154815290600101906020018083116113e857829003601f168201915b5050505050815260200160048201805461141e90614ae3565b80601f016020809104026020016040519081016040528092919081815260200182805461144a90614ae3565b80156114975780601f1061146c57610100808354040283529160200191611497565b820191906000526020600020905b81548152906001019060200180831161147a57829003601f168201915b505050505081526020016005820180546114b090614ae3565b80601f01602080910402602001604051908101604052809291908181526020018280546114dc90614ae3565b80156115295780601f106114fe57610100808354040283529160200191611529565b820191906000526020600020905b81548152906001019060200180831161150c57829003601f168201915b505050505081526020016006820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016007820154815250509050919050565b6115a1611df9565b73ffffffffffffffffffffffffffffffffffffffff166115bf61161f565b73ffffffffffffffffffffffffffffffffffffffff1614611615576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160c9061475a565b60405180910390fd5b61161d612672565b565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461165890614ae3565b80601f016020809104026020016040519081016040528092919081815260200182805461168490614ae3565b80156116d15780601f106116a6576101008083540402835291602001916116d1565b820191906000526020600020905b8154815290600101906020018083116116b457829003601f168201915b5050505050905090565b6116ed6116e6611df9565b8383612715565b5050565b6117026116fc611df9565b83611eba565b611741576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611738906147fa565b60405180910390fd5b61174d84848484612882565b50505050565b600061175e336111fb565b90506040518060200160405280600081525080519060200120816060015180519060200120146117c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ba9061481a565b60405180910390fd5b6117cb610c09565b1561180b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611802906147ba565b60405180910390fd5b6000611817600c61236e565b9050611823600c61237c565b61182d3382612392565b6118913386866040518060400160405280600681526020017f73696e676c65000000000000000000000000000000000000000000000000000081525085604051806020016040528060008152506040518060200160405280600081525060006123b0565b61189b8184612538565b5050505050565b60606118ad826128de565b9050919050565b60003390506000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000611928836111fb565b90506000611935836111fb565b90506040518060400160405280600781526020017f656e67616765640000000000000000000000000000000000000000000000000081525080519060200120826060015180519060200120146119c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b7906144ba565b60405180910390fd5b6040518060400160405280600781526020017f656e6761676564000000000000000000000000000000000000000000000000008152508051906020012081606001518051906020012014611a49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a40906146da565b60405180910390fd5b611a51610c09565b15611a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a88906147ba565b60405180910390fd5b611a9e8260200151612296565b611aa7846122a2565b611ab48160200151612296565b611abd836122a2565b600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c23611df9565b73ffffffffffffffffffffffffffffffffffffffff16611c4161161f565b73ffffffffffffffffffffffffffffffffffffffff1614611c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8e9061475a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe9061457a565b60405180910390fd5b611d10816125ac565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d865750611d8582612a30565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e7483610c20565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ec582611d8d565b611f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efb906145fa565b60405180910390fd5b6000611f0f83610c20565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f7e57508373ffffffffffffffffffffffffffffffffffffffff16611f6684610735565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f8f5750611f8e8185611b87565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fb882610c20565b73ffffffffffffffffffffffffffffffffffffffff161461200e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120059061477a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561207e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612075906145ba565b60405180910390fd5b612089838383612b12565b612094600082611e01565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120e491906149f9565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461213b9190614972565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6121fc610c09565b61223b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612232906144da565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61227f611df9565b60405161228c9190614416565b60405180910390a1565b61229f81612b6a565b50565b600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160006122f29190613888565b600182016000905560028201600061230a9190613888565b60038201600061231a9190613888565b60048201600061232a9190613888565b60058201600061233a9190613888565b6006820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556007820160009055505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6123ac828260405180602001604052806000815250612bbd565b5050565b6040518061010001604052808881526020018581526020018781526020018681526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200142815250600d60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001908051906020019061245b9291906138c8565b506020820151816001015560408201518160020190805190602001906124829291906138c8565b50606082015181600301908051906020019061249f9291906138c8565b5060808201518160040190805190602001906124bc9291906138c8565b5060a08201518160050190805190602001906124d99291906138c8565b5060c08201518160060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060e082015181600701559050505050505050505050565b61254182611d8d565b612580576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612577906146ba565b60405180910390fd5b80600b600084815260200190815260200160002090805190602001906125a79291906138c8565b505050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61267a610c09565b156126ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b19061463a565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126fe611df9565b60405161270b9190614416565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277b906145da565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612875919061447d565b60405180910390a3505050565b61288d848484611f98565b61289984848484612c18565b6128d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128cf9061451a565b60405180910390fd5b50505050565b60606128e982611d8d565b612928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291f9061471a565b60405180910390fd5b6000600b6000848152602001908152602001600020805461294890614ae3565b80601f016020809104026020016040519081016040528092919081815260200182805461297490614ae3565b80156129c15780601f10612996576101008083540402835291602001916129c1565b820191906000526020600020905b8154815290600101906020018083116129a457829003601f168201915b5050505050905060006129d2612daf565b90506000815114156129e8578192505050612a2b565b600082511115612a1d578082604051602001612a059291906143f2565b60405160208183030381529060405292505050612a2b565b612a2684612dec565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612afb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612b0b5750612b0a82612e93565b5b9050919050565b612b1a610c09565b15612b5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b519061463a565b60405180910390fd5b612b65838383612efd565b505050565b612b7381613011565b6000600b60008381526020019081526020016000208054612b9390614ae3565b905014612bba57600b60008281526020019081526020016000206000612bb99190613888565b5b50565b612bc78383613122565b612bd46000848484612c18565b612c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0a9061451a565b60405180910390fd5b505050565b6000612c398473ffffffffffffffffffffffffffffffffffffffff166132f0565b15612da2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c62611df9565b8786866040518563ffffffff1660e01b8152600401612c849493929190614431565b602060405180830381600087803b158015612c9e57600080fd5b505af1925050508015612ccf57506040513d601f19601f82011682018060405250810190612ccc9190613d1f565b60015b612d52573d8060008114612cff576040519150601f19603f3d011682016040523d82523d6000602084013e612d04565b606091505b50600081511415612d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d419061451a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612da7565b600190505b949350505050565b60606040518060400160405280601581526020017f68747470733a2f2f697066732e696f2f697066732f0000000000000000000000815250905090565b6060612df782611d8d565b612e36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2d9061479a565b60405180910390fd5b6000612e40612daf565b90506000815111612e605760405180602001604052806000815250612e8b565b80612e6a84613303565b604051602001612e7b9291906143f2565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f088383836134b0565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f4b57612f46816134b5565b612f8a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f8957612f8883826134fe565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612fcd57612fc88161366b565b61300c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461300b5761300a82826137ae565b5b5b505050565b600061301c82610c20565b905061302a81600084612b12565b613035600083611e01565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461308591906149f9565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613192576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613189906146fa565b60405180910390fd5b61319b81611d8d565b156131db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d29061459a565b60405180910390fd5b6131e760008383612b12565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132379190614972565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6060600082141561334b576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506134ab565b600082905060005b6000821461337d57808061336690614b46565b915050600a8261337691906149c8565b9150613353565b60008167ffffffffffffffff8111156133bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156133f15781602001600182028036833780820191505090505b5090505b600085146134a45760018261340a91906149f9565b9150600a856134199190614b8f565b60306134259190614972565b60f81b818381518110613461577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561349d91906149c8565b94506133f5565b8093505050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161350b846110bb565b61351591906149f9565b90506000600760008481526020019081526020016000205490508181146135fa576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061367f91906149f9565b90506000600960008481526020019081526020016000205490506000600883815481106136d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061371d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613792577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006137b9836110bb565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b604051806101000160405280606081526020016000815260200160608152602001606081526020016060815260200160608152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b50805461389490614ae3565b6000825580601f106138a657506138c5565b601f0160209004906000526020600020908101906138c4919061394e565b5b50565b8280546138d490614ae3565b90600052602060002090601f0160209004810192826138f6576000855561393d565b82601f1061390f57805160ff191683800117855561393d565b8280016001018555821561393d579182015b8281111561393c578251825591602001919060010190613921565b5b50905061394a919061394e565b5090565b5b8082111561396757600081600090555060010161394f565b5090565b600061397e613979846148bc565b614897565b90508281526020810184848401111561399657600080fd5b6139a1848285614aa1565b509392505050565b60006139bc6139b7846148ed565b614897565b9050828152602081018484840111156139d457600080fd5b6139df848285614aa1565b509392505050565b6000813590506139f681615404565b92915050565b600081359050613a0b8161541b565b92915050565b600081359050613a2081615432565b92915050565b600081519050613a3581615432565b92915050565b600082601f830112613a4c57600080fd5b8135613a5c84826020860161396b565b91505092915050565b600082601f830112613a7657600080fd5b8135613a868482602086016139a9565b91505092915050565b600081359050613a9e81615449565b92915050565b600060208284031215613ab657600080fd5b6000613ac4848285016139e7565b91505092915050565b60008060408385031215613ae057600080fd5b6000613aee858286016139e7565b9250506020613aff858286016139e7565b9150509250929050565b600080600060608486031215613b1e57600080fd5b6000613b2c868287016139e7565b9350506020613b3d868287016139e7565b9250506040613b4e86828701613a8f565b9150509250925092565b60008060008060808587031215613b6e57600080fd5b6000613b7c878288016139e7565b9450506020613b8d878288016139e7565b9350506040613b9e87828801613a8f565b925050606085013567ffffffffffffffff811115613bbb57600080fd5b613bc787828801613a3b565b91505092959194509250565b60008060408385031215613be657600080fd5b6000613bf4858286016139e7565b9250506020613c05858286016139fc565b9150509250929050565b60008060008060808587031215613c2557600080fd5b6000613c33878288016139e7565b945050602085013567ffffffffffffffff811115613c5057600080fd5b613c5c87828801613a65565b935050604085013567ffffffffffffffff811115613c7957600080fd5b613c8587828801613a65565b925050606085013567ffffffffffffffff811115613ca257600080fd5b613cae87828801613a65565b91505092959194509250565b60008060408385031215613ccd57600080fd5b6000613cdb858286016139e7565b9250506020613cec85828601613a8f565b9150509250929050565b600060208284031215613d0857600080fd5b6000613d1684828501613a11565b91505092915050565b600060208284031215613d3157600080fd5b6000613d3f84828501613a26565b91505092915050565b600080600060608486031215613d5d57600080fd5b600084013567ffffffffffffffff811115613d7757600080fd5b613d8386828701613a65565b935050602084013567ffffffffffffffff811115613da057600080fd5b613dac86828701613a65565b925050604084013567ffffffffffffffff811115613dc957600080fd5b613dd586828701613a65565b9150509250925092565b600060208284031215613df157600080fd5b6000613dff84828501613a8f565b91505092915050565b613e1181614a2d565b82525050565b613e2081614a2d565b82525050565b613e2f81614a3f565b82525050565b6000613e408261491e565b613e4a8185614934565b9350613e5a818560208601614ab0565b613e6381614c7c565b840191505092915050565b6000613e7982614929565b613e838185614945565b9350613e93818560208601614ab0565b613e9c81614c7c565b840191505092915050565b6000613eb282614929565b613ebc8185614956565b9350613ecc818560208601614ab0565b613ed581614c7c565b840191505092915050565b6000613eeb82614929565b613ef58185614967565b9350613f05818560208601614ab0565b80840191505092915050565b6000613f1e601783614956565b9150613f2982614c8d565b602082019050919050565b6000613f41601483614956565b9150613f4c82614cb6565b602082019050919050565b6000613f64602b83614956565b9150613f6f82614cdf565b604082019050919050565b6000613f87603283614956565b9150613f9282614d2e565b604082019050919050565b6000613faa601a83614956565b9150613fb582614d7d565b602082019050919050565b6000613fcd602283614956565b9150613fd882614da6565b604082019050919050565b6000613ff0602683614956565b9150613ffb82614df5565b604082019050919050565b6000614013601c83614956565b915061401e82614e44565b602082019050919050565b6000614036602483614956565b915061404182614e6d565b604082019050919050565b6000614059601983614956565b915061406482614ebc565b602082019050919050565b600061407c602c83614956565b915061408782614ee5565b604082019050919050565b600061409f602a83614956565b91506140aa82614f34565b604082019050919050565b60006140c2601083614956565b91506140cd82614f83565b602082019050919050565b60006140e5603883614956565b91506140f082614fac565b604082019050919050565b6000614108602a83614956565b915061411382614ffb565b604082019050919050565b600061412b602983614956565b91506141368261504a565b604082019050919050565b600061414e602e83614956565b915061415982615099565b604082019050919050565b6000614171602d83614956565b915061417c826150e8565b604082019050919050565b6000614194602083614956565b915061419f82615137565b602082019050919050565b60006141b7603183614956565b91506141c282615160565b604082019050919050565b60006141da602c83614956565b91506141e5826151af565b604082019050919050565b60006141fd602083614956565b9150614208826151fe565b602082019050919050565b6000614220602983614956565b915061422b82615227565b604082019050919050565b6000614243602f83614956565b915061424e82615276565b604082019050919050565b6000614266600f83614956565b9150614271826152c5565b602082019050919050565b6000614289602183614956565b9150614294826152ee565b604082019050919050565b60006142ac603183614956565b91506142b78261533d565b604082019050919050565b60006142cf601883614956565b91506142da8261538c565b602082019050919050565b60006142f2602c83614956565b91506142fd826153b5565b604082019050919050565b60006101008301600083015184820360008601526143268282613e6e565b915050602083015161433b60208601826143d4565b50604083015184820360408601526143538282613e6e565b9150506060830151848203606086015261436d8282613e6e565b915050608083015184820360808601526143878282613e6e565b91505060a083015184820360a08601526143a18282613e6e565b91505060c08301516143b660c0860182613e08565b5060e08301516143c960e08601826143d4565b508091505092915050565b6143dd81614a97565b82525050565b6143ec81614a97565b82525050565b60006143fe8285613ee0565b915061440a8284613ee0565b91508190509392505050565b600060208201905061442b6000830184613e17565b92915050565b60006080820190506144466000830187613e17565b6144536020830186613e17565b61446060408301856143e3565b81810360608301526144728184613e35565b905095945050505050565b60006020820190506144926000830184613e26565b92915050565b600060208201905081810360008301526144b28184613ea7565b905092915050565b600060208201905081810360008301526144d381613f11565b9050919050565b600060208201905081810360008301526144f381613f34565b9050919050565b6000602082019050818103600083015261451381613f57565b9050919050565b6000602082019050818103600083015261453381613f7a565b9050919050565b6000602082019050818103600083015261455381613f9d565b9050919050565b6000602082019050818103600083015261457381613fc0565b9050919050565b6000602082019050818103600083015261459381613fe3565b9050919050565b600060208201905081810360008301526145b381614006565b9050919050565b600060208201905081810360008301526145d381614029565b9050919050565b600060208201905081810360008301526145f38161404c565b9050919050565b600060208201905081810360008301526146138161406f565b9050919050565b6000602082019050818103600083015261463381614092565b9050919050565b60006020820190508181036000830152614653816140b5565b9050919050565b60006020820190508181036000830152614673816140d8565b9050919050565b60006020820190508181036000830152614693816140fb565b9050919050565b600060208201905081810360008301526146b38161411e565b9050919050565b600060208201905081810360008301526146d381614141565b9050919050565b600060208201905081810360008301526146f381614164565b9050919050565b6000602082019050818103600083015261471381614187565b9050919050565b60006020820190508181036000830152614733816141aa565b9050919050565b60006020820190508181036000830152614753816141cd565b9050919050565b60006020820190508181036000830152614773816141f0565b9050919050565b6000602082019050818103600083015261479381614213565b9050919050565b600060208201905081810360008301526147b381614236565b9050919050565b600060208201905081810360008301526147d381614259565b9050919050565b600060208201905081810360008301526147f38161427c565b9050919050565b600060208201905081810360008301526148138161429f565b9050919050565b60006020820190508181036000830152614833816142c2565b9050919050565b60006020820190508181036000830152614853816142e5565b9050919050565b600060208201905081810360008301526148748184614308565b905092915050565b600060208201905061489160008301846143e3565b92915050565b60006148a16148b2565b90506148ad8282614b15565b919050565b6000604051905090565b600067ffffffffffffffff8211156148d7576148d6614c4d565b5b6148e082614c7c565b9050602081019050919050565b600067ffffffffffffffff82111561490857614907614c4d565b5b61491182614c7c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061497d82614a97565b915061498883614a97565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149bd576149bc614bc0565b5b828201905092915050565b60006149d382614a97565b91506149de83614a97565b9250826149ee576149ed614bef565b5b828204905092915050565b6000614a0482614a97565b9150614a0f83614a97565b925082821015614a2257614a21614bc0565b5b828203905092915050565b6000614a3882614a77565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614ace578082015181840152602081019050614ab3565b83811115614add576000848401525b50505050565b60006002820490506001821680614afb57607f821691505b60208210811415614b0f57614b0e614c1e565b5b50919050565b614b1e82614c7c565b810181811067ffffffffffffffff82111715614b3d57614b3c614c4d565b5b80604052505050565b6000614b5182614a97565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b8457614b83614bc0565b5b600182019050919050565b6000614b9a82614a97565b9150614ba583614a97565b925082614bb557614bb4614bef565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a20596f75206172652073696e676c652e000000000000000000600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f50726963652076616c7565206973206e6f7420636f7272656374000000000000600082015250565b7f4552433732313a20596f75206861766520616e20656e6761676564206865617260008201527f742e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20596f757220706172746e65722068617320616e20656e676160008201527f6765642068656172742e00000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a20596f757220706172746e6572206973206e6f7420656e676160008201527f676564207769746820796f752e00000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4d696e74696e6720706175736564210000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4552433732313a20596f75206861766520612068656172740000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61540d81614a2d565b811461541857600080fd5b50565b61542481614a3f565b811461542f57600080fd5b50565b61543b81614a4b565b811461544657600080fd5b50565b61545281614a97565b811461545d57600080fd5b5056fea26469706673582212205c1496cab14a498ffc22c87f08d50273fdd17296c7418c0cd515441d970fa6ce64736f6c63430008020033
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.