Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
341 CNC
Holders
316
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CNCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CryptoNomadsClub
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; contract CryptoNomadsClub is ERC721, ERC2981, ERC721Enumerable, ERC721URIStorage, Ownable, ReentrancyGuard { uint256 private constant MAX_TOKENS = 3000; // PUBLIC TOKENS AMOUNT = 2900; // SOUL BOUND TOKENS AMOUNT = 100; uint256 private publicAmount; uint256 private soulBoundCounter; uint256 public availableToMint; uint256 public price; address public allowList; mapping(string => bool) public CITIES; constructor() ERC721("Crypto Nomads Club", "CNC") { soulBoundCounter = 2900; // create a map of city names so we know which names can be minted CITIES["AMSTERDAM"] = true; CITIES["AUSTIN"] = true; CITIES["BALI"] = true; CITIES["BARCELONA"] = true; CITIES["BUENOS_AIRES"] = true; CITIES["DENVER"] = true; CITIES["DUBAI"] = true; CITIES["LISBON"] = true; CITIES["LONDON"] = true; CITIES["LOS_ANGELES"] = true; CITIES["MIAMI"] = true; CITIES["NEW_YORK"] = true; CITIES["PARIS"] = true; CITIES["RIO_DE_JANEIRO"] = true; CITIES["SINGAPORE"] = true; } function setSaleBatch( uint256 batchSize, uint256 batchPrice, address batchAllowList ) external onlyOwner { availableToMint = batchSize; price = batchPrice; allowList = batchAllowList; } function mint(string[] memory cities) external payable nonReentrant { require( availableToMint >= cities.length, "Not enough available to mint" ); require( cities.length > 0 && cities.length <= 5, "Invalid amount of cities selected" ); require( publicAmount + cities.length < 2900, "Not enough public tokens available" ); require(price * cities.length <= msg.value, "Insufficient ETH"); require( allowList == address(0) || ERC721(allowList).balanceOf(msg.sender) > 0, "Requires allow list NFT" ); for (uint256 i = 0; i < cities.length; i++) { require(CITIES[cities[i]], "Invalid city"); _safeMint(msg.sender, publicAmount + i); string memory finalTokenURI = string( abi.encodePacked(cities[i], ".json") ); _setTokenURI(publicAmount + i, finalTokenURI); } publicAmount += cities.length; availableToMint -= cities.length; } function gift(address receiver, string memory city) external onlyOwner { require(soulBoundCounter < 3000, "Run out of soul bound tokens"); require(CITIES[city], "Invalid city"); _mint(receiver, soulBoundCounter); string memory finalTokenURI = string(abi.encodePacked(city, ".json")); _setTokenURI(soulBoundCounter, finalTokenURI); soulBoundCounter++; } function withdrawAll() external { payable(owner()).transfer(address(this).balance); } function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) external onlyOwner { _setDefaultRoyalty(_receiver, _feeNumerator); } // Overriding _baseURI function _baseURI() internal view virtual override(ERC721) returns (string memory) { return "ipfs://QmRgvuYv5Y4qjQfXz7KshzQpSne1kM5dP4jAWuFyyTzZGH/"; } // Overriding transfer hook to check for soulbound function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) { // if sender is a 0 address, this is a mint transaction, not a transfer require( tokenId < 2900 || from == address(0), "ERROR: TOKEN IS SOUL BOUND" ); super._beforeTokenTransfer(from, to, tokenId); } // Necessary overrides for interface extensions 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, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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) { _requireMinted(tokenId); 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 See {ERC721-_burn}. This override additionally checks to see if a * token-specific URI was set for the token, and if so, it deletes the token URI from * the storage mapping. */ 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.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.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); /** * @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 (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"CITIES","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowList","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"availableToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"string","name":"city","type":"string"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string[]","name":"cities","type":"string[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"batchSize","type":"uint256"},{"internalType":"uint256","name":"batchPrice","type":"uint256"},{"internalType":"address","name":"batchAllowList","type":"address"}],"name":"setSaleBatch","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":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280601281526020017f43727970746f204e6f6d61647320436c756200000000000000000000000000008152506040518060400160405280600381526020017f434e430000000000000000000000000000000000000000000000000000000000815250816000908051906020019062000096929190620004f0565b508060019080519060200190620000af929190620004f0565b505050620000d2620000c66200042260201b60201c565b6200042a60201b60201c565b6001600e81905550610b5460108190555060016014604051620000f590620005fb565b908152602001604051809103902060006101000a81548160ff021916908315150217905550600160146040516200012c9062000662565b908152602001604051809103902060006101000a81548160ff021916908315150217905550600160146040516200016390620006c9565b908152602001604051809103902060006101000a81548160ff021916908315150217905550600160146040516200019a9062000730565b908152602001604051809103902060006101000a81548160ff02191690831515021790555060016014604051620001d19062000797565b908152602001604051809103902060006101000a81548160ff021916908315150217905550600160146040516200020890620007fe565b908152602001604051809103902060006101000a81548160ff021916908315150217905550600160146040516200023f9062000865565b908152602001604051809103902060006101000a81548160ff021916908315150217905550600160146040516200027690620008cc565b908152602001604051809103902060006101000a81548160ff02191690831515021790555060016014604051620002ad9062000933565b908152602001604051809103902060006101000a81548160ff02191690831515021790555060016014604051620002e4906200099a565b908152602001604051809103902060006101000a81548160ff021916908315150217905550600160146040516200031b9062000a01565b908152602001604051809103902060006101000a81548160ff02191690831515021790555060016014604051620003529062000a68565b908152602001604051809103902060006101000a81548160ff02191690831515021790555060016014604051620003899062000acf565b908152602001604051809103902060006101000a81548160ff02191690831515021790555060016014604051620003c09062000b36565b908152602001604051809103902060006101000a81548160ff02191690831515021790555060016014604051620003f79062000b9d565b908152602001604051809103902060006101000a81548160ff02191690831515021790555062000c18565b600033905090565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620004fe9062000be3565b90600052602060002090601f0160209004810192826200052257600085556200056e565b82601f106200053d57805160ff19168380011785556200056e565b828001600101855582156200056e579182015b828111156200056d57825182559160200191906001019062000550565b5b5090506200057d919062000581565b5090565b5b808211156200059c57600081600090555060010162000582565b5090565b600081905092915050565b7f414d5354455244414d0000000000000000000000000000000000000000000000600082015250565b6000620005e3600983620005a0565b9150620005f082620005ab565b600982019050919050565b60006200060882620005d4565b9150819050919050565b7f41555354494e0000000000000000000000000000000000000000000000000000600082015250565b60006200064a600683620005a0565b9150620006578262000612565b600682019050919050565b60006200066f826200063b565b9150819050919050565b7f42414c4900000000000000000000000000000000000000000000000000000000600082015250565b6000620006b1600483620005a0565b9150620006be8262000679565b600482019050919050565b6000620006d682620006a2565b9150819050919050565b7f42415243454c4f4e410000000000000000000000000000000000000000000000600082015250565b600062000718600983620005a0565b91506200072582620006e0565b600982019050919050565b60006200073d8262000709565b9150819050919050565b7f4255454e4f535f41495245530000000000000000000000000000000000000000600082015250565b60006200077f600c83620005a0565b91506200078c8262000747565b600c82019050919050565b6000620007a48262000770565b9150819050919050565b7f44454e5645520000000000000000000000000000000000000000000000000000600082015250565b6000620007e6600683620005a0565b9150620007f382620007ae565b600682019050919050565b60006200080b82620007d7565b9150819050919050565b7f4455424149000000000000000000000000000000000000000000000000000000600082015250565b60006200084d600583620005a0565b91506200085a8262000815565b600582019050919050565b600062000872826200083e565b9150819050919050565b7f4c4953424f4e0000000000000000000000000000000000000000000000000000600082015250565b6000620008b4600683620005a0565b9150620008c1826200087c565b600682019050919050565b6000620008d982620008a5565b9150819050919050565b7f4c4f4e444f4e0000000000000000000000000000000000000000000000000000600082015250565b60006200091b600683620005a0565b91506200092882620008e3565b600682019050919050565b600062000940826200090c565b9150819050919050565b7f4c4f535f414e47454c4553000000000000000000000000000000000000000000600082015250565b600062000982600b83620005a0565b91506200098f826200094a565b600b82019050919050565b6000620009a78262000973565b9150819050919050565b7f4d49414d49000000000000000000000000000000000000000000000000000000600082015250565b6000620009e9600583620005a0565b9150620009f682620009b1565b600582019050919050565b600062000a0e82620009da565b9150819050919050565b7f4e45575f594f524b000000000000000000000000000000000000000000000000600082015250565b600062000a50600883620005a0565b915062000a5d8262000a18565b600882019050919050565b600062000a758262000a41565b9150819050919050565b7f5041524953000000000000000000000000000000000000000000000000000000600082015250565b600062000ab7600583620005a0565b915062000ac48262000a7f565b600582019050919050565b600062000adc8262000aa8565b9150819050919050565b7f52494f5f44455f4a414e4549524f000000000000000000000000000000000000600082015250565b600062000b1e600e83620005a0565b915062000b2b8262000ae6565b600e82019050919050565b600062000b438262000b0f565b9150819050919050565b7f53494e4741504f52450000000000000000000000000000000000000000000000600082015250565b600062000b85600983620005a0565b915062000b928262000b4d565b600982019050919050565b600062000baa8262000b76565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000bfc57607f821691505b60208210810362000c125762000c1162000bb4565b5b50919050565b614aed8062000c286000396000f3fe6080604052600436106101c25760003560e01c806370a08231116100f757806395d89b4111610095578063c31a0f8111610064578063c31a0f8114610632578063c87b56dd1461066f578063e985e9c5146106ac578063f2fde38b146106e9576101c2565b806395d89b411461058a578063a035b1fe146105b5578063a22cb465146105e0578063b88d4fde14610609576101c2565b806378cc27a7116100d157806378cc27a7146104f4578063853828b61461051d57806387b9d25c146105345780638da5cb5b1461055f576101c2565b806370a0823114610475578063715018a6146104b257806374601c3c146104c9576101c2565b806323b872dd1161016457806342842e0e1161013e57806342842e0e146103b65780634f6ccce7146103df5780635768f2711461041c5780636352211e14610438576101c2565b806323b872dd146103125780632a55205a1461033b5780632f745c5914610379576101c2565b8063081812fc116101a0578063081812fc14610258578063095ea7b314610295578063107d2660146102be57806318160ddd146102e7576101c2565b806301ffc9a7146101c757806304634d8d1461020457806306fdde031461022d575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190612f49565b610712565b6040516101fb9190612f91565b60405180910390f35b34801561021057600080fd5b5061022b6004803603810190610226919061304e565b610724565b005b34801561023957600080fd5b5061024261073a565b60405161024f9190613127565b60405180910390f35b34801561026457600080fd5b5061027f600480360381019061027a919061317f565b6107cc565b60405161028c91906131bb565b60405180910390f35b3480156102a157600080fd5b506102bc60048036038101906102b791906131d6565b610812565b005b3480156102ca57600080fd5b506102e560048036038101906102e0919061334b565b610929565b005b3480156102f357600080fd5b506102fc610a3b565b60405161030991906133b6565b60405180910390f35b34801561031e57600080fd5b50610339600480360381019061033491906133d1565b610a48565b005b34801561034757600080fd5b50610362600480360381019061035d9190613424565b610aa8565b604051610370929190613464565b60405180910390f35b34801561038557600080fd5b506103a0600480360381019061039b91906131d6565b610c92565b6040516103ad91906133b6565b60405180910390f35b3480156103c257600080fd5b506103dd60048036038101906103d891906133d1565b610d37565b005b3480156103eb57600080fd5b506104066004803603810190610401919061317f565b610d57565b60405161041391906133b6565b60405180910390f35b61043660048036038101906104319190613573565b610dc8565b005b34801561044457600080fd5b5061045f600480360381019061045a919061317f565b6111d8565b60405161046c91906131bb565b60405180910390f35b34801561048157600080fd5b5061049c600480360381019061049791906135bc565b611289565b6040516104a991906133b6565b60405180910390f35b3480156104be57600080fd5b506104c7611340565b005b3480156104d557600080fd5b506104de611354565b6040516104eb91906133b6565b60405180910390f35b34801561050057600080fd5b5061051b600480360381019061051691906135e9565b61135a565b005b34801561052957600080fd5b506105326113b6565b005b34801561054057600080fd5b50610549611406565b60405161055691906131bb565b60405180910390f35b34801561056b57600080fd5b5061057461142c565b60405161058191906131bb565b60405180910390f35b34801561059657600080fd5b5061059f611456565b6040516105ac9190613127565b60405180910390f35b3480156105c157600080fd5b506105ca6114e8565b6040516105d791906133b6565b60405180910390f35b3480156105ec57600080fd5b5061060760048036038101906106029190613668565b6114ee565b005b34801561061557600080fd5b50610630600480360381019061062b9190613749565b611504565b005b34801561063e57600080fd5b50610659600480360381019061065491906137cc565b611566565b6040516106669190612f91565b60405180910390f35b34801561067b57600080fd5b506106966004803603810190610691919061317f565b61159c565b6040516106a39190613127565b60405180910390f35b3480156106b857600080fd5b506106d360048036038101906106ce9190613815565b6115ae565b6040516106e09190612f91565b60405180910390f35b3480156106f557600080fd5b50610710600480360381019061070b91906135bc565b611642565b005b600061071d826116c5565b9050919050565b61072c61173f565b61073682826117bd565b5050565b60606000805461074990613884565b80601f016020809104026020016040519081016040528092919081815260200182805461077590613884565b80156107c25780601f10610797576101008083540402835291602001916107c2565b820191906000526020600020905b8154815290600101906020018083116107a557829003601f168201915b5050505050905090565b60006107d782611952565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061081d826111d8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361088d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088490613927565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108ac61199d565b73ffffffffffffffffffffffffffffffffffffffff1614806108db57506108da816108d561199d565b6115ae565b5b61091a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610911906139b9565b60405180910390fd5b61092483836119a5565b505050565b61093161173f565b610bb860105410610977576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096e90613a25565b60405180910390fd5b6014816040516109879190613a81565b908152602001604051809103902060009054906101000a900460ff166109e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d990613ae4565b60405180910390fd5b6109ee82601054611a5e565b600081604051602001610a019190613b50565b6040516020818303038152906040529050610a1e60105482611c37565b60106000815480929190610a3190613ba1565b9190505550505050565b6000600a80549050905090565b610a59610a5361199d565b82611cab565b610a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8f90613c5b565b60405180910390fd5b610aa3838383611d40565b505050565b6000806000600760008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610c3d5760066040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610c47611fa6565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610c739190613c7b565b610c7d9190613d04565b90508160000151819350935050509250929050565b6000610c9d83611289565b8210610cde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd590613da7565b60405180910390fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d5283838360405180602001604052806000815250611504565b505050565b6000610d61610a3b565b8210610da2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9990613e39565b60405180910390fd5b600a8281548110610db657610db5613e59565b5b90600052602060002001549050919050565b6002600e5403610e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0490613ed4565b60405180910390fd5b6002600e8190555080516011541015610e5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5290613f40565b60405180910390fd5b60008151118015610e6e57506005815111155b610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea490613fd2565b60405180910390fd5b610b548151600f54610ebf9190613ff2565b10610eff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef6906140ba565b60405180910390fd5b348151601254610f0f9190613c7b565b1115610f50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4790614126565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061104857506000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161100591906131bb565b602060405180830381865afa158015611022573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611046919061415b565b115b611087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107e906141d4565b60405180910390fd5b60005b81518110156111985760148282815181106110a8576110a7613e59565b5b60200260200101516040516110bd9190613a81565b908152602001604051809103902060009054906101000a900460ff16611118576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110f90613ae4565b60405180910390fd5b61112f3382600f5461112a9190613ff2565b611fb0565b600082828151811061114457611143613e59565b5b602002602001015160405160200161115c9190613b50565b604051602081830303815290604052905061118482600f5461117e9190613ff2565b82611c37565b50808061119090613ba1565b91505061108a565b508051600f60008282546111ac9190613ff2565b925050819055508051601160008282546111c691906141f4565b925050819055506001600e8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127790614274565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f090614306565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61134861173f565b6113526000611fce565b565b60115481565b61136261173f565b826011819055508160128190555080601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b6113be61142c565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611403573d6000803e3d6000fd5b50565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461146590613884565b80601f016020809104026020016040519081016040528092919081815260200182805461149190613884565b80156114de5780601f106114b3576101008083540402835291602001916114de565b820191906000526020600020905b8154815290600101906020018083116114c157829003601f168201915b5050505050905090565b60125481565b6115006114f961199d565b8383612094565b5050565b61151561150f61199d565b83611cab565b611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b90613c5b565b60405180910390fd5b61156084848484612200565b50505050565b6014818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b60606115a78261225c565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61164a61173f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036116b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b090614398565b60405180910390fd5b6116c281611fce565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061173857506117378261236e565b5b9050919050565b61174761199d565b73ffffffffffffffffffffffffffffffffffffffff1661176561142c565b73ffffffffffffffffffffffffffffffffffffffff16146117bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b290614404565b60405180910390fd5b565b6117c5611fa6565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181a90614496565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188990614502565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600660008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b61195b816123e8565b61199a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199190614274565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a18836111d8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac49061456e565b60405180910390fd5b611ad6816123e8565b15611b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0d906145da565b60405180910390fd5b611b2260008383612454565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b729190613ff2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c33600083836124df565b5050565b611c40826123e8565b611c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c769061466c565b60405180910390fd5b80600c60008481526020019081526020016000209080519060200190611ca6929190612e3a565b505050565b600080611cb7836111d8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611cf95750611cf881856115ae565b5b80611d3757508373ffffffffffffffffffffffffffffffffffffffff16611d1f846107cc565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d60826111d8565b73ffffffffffffffffffffffffffffffffffffffff1614611db6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dad906146fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1c90614790565b60405180910390fd5b611e30838383612454565b611e3b6000826119a5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e8b91906141f4565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ee29190613ff2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fa18383836124df565b505050565b6000612710905090565b611fca8282604051806020016040528060008152506124e4565b5050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f9906147fc565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121f39190612f91565b60405180910390a3505050565b61220b848484611d40565b6122178484848461253f565b612256576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224d9061488e565b60405180910390fd5b50505050565b606061226782611952565b6000600c6000848152602001908152602001600020805461228790613884565b80601f01602080910402602001604051908101604052809291908181526020018280546122b390613884565b80156123005780601f106122d557610100808354040283529160200191612300565b820191906000526020600020905b8154815290600101906020018083116122e357829003601f168201915b5050505050905060006123116126c6565b90506000815103612326578192505050612369565b60008251111561235b5780826040516020016123439291906148ae565b60405160208183030381529060405292505050612369565b612364846126e6565b925050505b919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123e157506123e08261274e565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b610b548110806124905750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b6124cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c69061491e565b60405180910390fd5b6124da838383612830565b505050565b505050565b6124ee8383611a5e565b6124fb600084848461253f565b61253a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125319061488e565b60405180910390fd5b505050565b60006125608473ffffffffffffffffffffffffffffffffffffffff16612942565b156126b9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261258961199d565b8786866040518563ffffffff1660e01b81526004016125ab9493929190614993565b6020604051808303816000875af19250505080156125e757506040513d601f19601f820116820180604052508101906125e491906149f4565b60015b612669573d8060008114612617576040519150601f19603f3d011682016040523d82523d6000602084013e61261c565b606091505b506000815103612661576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126589061488e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506126be565b600190505b949350505050565b6060604051806060016040528060368152602001614a8260369139905090565b60606126f182611952565b60006126fb6126c6565b9050600081511161271b5760405180602001604052806000815250612746565b8061272584612965565b6040516020016127369291906148ae565b6040516020818303038152906040525b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061281957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612829575061282882612ac5565b5b9050919050565b61283b838383612b2f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361287d5761287881612b34565b6128bc565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146128bb576128ba8382612b7d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128fe576128f981612cea565b61293d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461293c5761293b8282612dbb565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060600082036129ac576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ac0565b600082905060005b600082146129de5780806129c790613ba1565b915050600a826129d79190613d04565b91506129b4565b60008167ffffffffffffffff8111156129fa576129f9613220565b5b6040519080825280601f01601f191660200182016040528015612a2c5781602001600182028036833780820191505090505b5090505b60008514612ab957600182612a4591906141f4565b9150600a85612a549190614a21565b6030612a609190613ff2565b60f81b818381518110612a7657612a75613e59565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ab29190613d04565b9450612a30565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b600a80549050600b600083815260200190815260200160002081905550600a81908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612b8a84611289565b612b9491906141f4565b9050600060096000848152602001908152602001600020549050818114612c79576000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816009600083815260200190815260200160002081905550505b6009600084815260200190815260200160002060009055600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600a80549050612cfe91906141f4565b90506000600b60008481526020019081526020016000205490506000600a8381548110612d2e57612d2d613e59565b5b9060005260206000200154905080600a8381548110612d5057612d4f613e59565b5b906000526020600020018190555081600b600083815260200190815260200160002081905550600b600085815260200190815260200160002060009055600a805480612d9f57612d9e614a52565b5b6001900381819060005260206000200160009055905550505050565b6000612dc683611289565b905081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806009600084815260200190815260200160002081905550505050565b828054612e4690613884565b90600052602060002090601f016020900481019282612e685760008555612eaf565b82601f10612e8157805160ff1916838001178555612eaf565b82800160010185558215612eaf579182015b82811115612eae578251825591602001919060010190612e93565b5b509050612ebc9190612ec0565b5090565b5b80821115612ed9576000816000905550600101612ec1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f2681612ef1565b8114612f3157600080fd5b50565b600081359050612f4381612f1d565b92915050565b600060208284031215612f5f57612f5e612ee7565b5b6000612f6d84828501612f34565b91505092915050565b60008115159050919050565b612f8b81612f76565b82525050565b6000602082019050612fa66000830184612f82565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612fd782612fac565b9050919050565b612fe781612fcc565b8114612ff257600080fd5b50565b60008135905061300481612fde565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61302b8161300a565b811461303657600080fd5b50565b60008135905061304881613022565b92915050565b6000806040838503121561306557613064612ee7565b5b600061307385828601612ff5565b925050602061308485828601613039565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156130c85780820151818401526020810190506130ad565b838111156130d7576000848401525b50505050565b6000601f19601f8301169050919050565b60006130f98261308e565b6131038185613099565b93506131138185602086016130aa565b61311c816130dd565b840191505092915050565b6000602082019050818103600083015261314181846130ee565b905092915050565b6000819050919050565b61315c81613149565b811461316757600080fd5b50565b60008135905061317981613153565b92915050565b60006020828403121561319557613194612ee7565b5b60006131a38482850161316a565b91505092915050565b6131b581612fcc565b82525050565b60006020820190506131d060008301846131ac565b92915050565b600080604083850312156131ed576131ec612ee7565b5b60006131fb85828601612ff5565b925050602061320c8582860161316a565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613258826130dd565b810181811067ffffffffffffffff8211171561327757613276613220565b5b80604052505050565b600061328a612edd565b9050613296828261324f565b919050565b600067ffffffffffffffff8211156132b6576132b5613220565b5b6132bf826130dd565b9050602081019050919050565b82818337600083830152505050565b60006132ee6132e98461329b565b613280565b90508281526020810184848401111561330a5761330961321b565b5b6133158482856132cc565b509392505050565b600082601f83011261333257613331613216565b5b81356133428482602086016132db565b91505092915050565b6000806040838503121561336257613361612ee7565b5b600061337085828601612ff5565b925050602083013567ffffffffffffffff81111561339157613390612eec565b5b61339d8582860161331d565b9150509250929050565b6133b081613149565b82525050565b60006020820190506133cb60008301846133a7565b92915050565b6000806000606084860312156133ea576133e9612ee7565b5b60006133f886828701612ff5565b935050602061340986828701612ff5565b925050604061341a8682870161316a565b9150509250925092565b6000806040838503121561343b5761343a612ee7565b5b60006134498582860161316a565b925050602061345a8582860161316a565b9150509250929050565b600060408201905061347960008301856131ac565b61348660208301846133a7565b9392505050565b600067ffffffffffffffff8211156134a8576134a7613220565b5b602082029050602081019050919050565b600080fd5b60006134d16134cc8461348d565b613280565b905080838252602082019050602084028301858111156134f4576134f36134b9565b5b835b8181101561353b57803567ffffffffffffffff81111561351957613518613216565b5b808601613526898261331d565b855260208501945050506020810190506134f6565b5050509392505050565b600082601f83011261355a57613559613216565b5b813561356a8482602086016134be565b91505092915050565b60006020828403121561358957613588612ee7565b5b600082013567ffffffffffffffff8111156135a7576135a6612eec565b5b6135b384828501613545565b91505092915050565b6000602082840312156135d2576135d1612ee7565b5b60006135e084828501612ff5565b91505092915050565b60008060006060848603121561360257613601612ee7565b5b60006136108682870161316a565b93505060206136218682870161316a565b925050604061363286828701612ff5565b9150509250925092565b61364581612f76565b811461365057600080fd5b50565b6000813590506136628161363c565b92915050565b6000806040838503121561367f5761367e612ee7565b5b600061368d85828601612ff5565b925050602061369e85828601613653565b9150509250929050565b600067ffffffffffffffff8211156136c3576136c2613220565b5b6136cc826130dd565b9050602081019050919050565b60006136ec6136e7846136a8565b613280565b9050828152602081018484840111156137085761370761321b565b5b6137138482856132cc565b509392505050565b600082601f8301126137305761372f613216565b5b81356137408482602086016136d9565b91505092915050565b6000806000806080858703121561376357613762612ee7565b5b600061377187828801612ff5565b945050602061378287828801612ff5565b93505060406137938782880161316a565b925050606085013567ffffffffffffffff8111156137b4576137b3612eec565b5b6137c08782880161371b565b91505092959194509250565b6000602082840312156137e2576137e1612ee7565b5b600082013567ffffffffffffffff811115613800576137ff612eec565b5b61380c8482850161331d565b91505092915050565b6000806040838503121561382c5761382b612ee7565b5b600061383a85828601612ff5565b925050602061384b85828601612ff5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061389c57607f821691505b6020821081036138af576138ae613855565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613911602183613099565b915061391c826138b5565b604082019050919050565b6000602082019050818103600083015261394081613904565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006139a3603e83613099565b91506139ae82613947565b604082019050919050565b600060208201905081810360008301526139d281613996565b9050919050565b7f52756e206f7574206f6620736f756c20626f756e6420746f6b656e7300000000600082015250565b6000613a0f601c83613099565b9150613a1a826139d9565b602082019050919050565b60006020820190508181036000830152613a3e81613a02565b9050919050565b600081905092915050565b6000613a5b8261308e565b613a658185613a45565b9350613a758185602086016130aa565b80840191505092915050565b6000613a8d8284613a50565b915081905092915050565b7f496e76616c696420636974790000000000000000000000000000000000000000600082015250565b6000613ace600c83613099565b9150613ad982613a98565b602082019050919050565b60006020820190508181036000830152613afd81613ac1565b9050919050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613b3a600583613a45565b9150613b4582613b04565b600582019050919050565b6000613b5c8284613a50565b9150613b6782613b2d565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613bac82613149565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613bde57613bdd613b72565b5b600182019050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613c45602e83613099565b9150613c5082613be9565b604082019050919050565b60006020820190508181036000830152613c7481613c38565b9050919050565b6000613c8682613149565b9150613c9183613149565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613cca57613cc9613b72565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d0f82613149565b9150613d1a83613149565b925082613d2a57613d29613cd5565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613d91602b83613099565b9150613d9c82613d35565b604082019050919050565b60006020820190508181036000830152613dc081613d84565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613e23602c83613099565b9150613e2e82613dc7565b604082019050919050565b60006020820190508181036000830152613e5281613e16565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613ebe601f83613099565b9150613ec982613e88565b602082019050919050565b60006020820190508181036000830152613eed81613eb1565b9050919050565b7f4e6f7420656e6f75676820617661696c61626c6520746f206d696e7400000000600082015250565b6000613f2a601c83613099565b9150613f3582613ef4565b602082019050919050565b60006020820190508181036000830152613f5981613f1d565b9050919050565b7f496e76616c696420616d6f756e74206f66206369746965732073656c6563746560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000613fbc602183613099565b9150613fc782613f60565b604082019050919050565b60006020820190508181036000830152613feb81613faf565b9050919050565b6000613ffd82613149565b915061400883613149565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561403d5761403c613b72565b5b828201905092915050565b7f4e6f7420656e6f756768207075626c696320746f6b656e7320617661696c616260008201527f6c65000000000000000000000000000000000000000000000000000000000000602082015250565b60006140a4602283613099565b91506140af82614048565b604082019050919050565b600060208201905081810360008301526140d381614097565b9050919050565b7f496e73756666696369656e742045544800000000000000000000000000000000600082015250565b6000614110601083613099565b915061411b826140da565b602082019050919050565b6000602082019050818103600083015261413f81614103565b9050919050565b60008151905061415581613153565b92915050565b60006020828403121561417157614170612ee7565b5b600061417f84828501614146565b91505092915050565b7f526571756972657320616c6c6f77206c697374204e4654000000000000000000600082015250565b60006141be601783613099565b91506141c982614188565b602082019050919050565b600060208201905081810360008301526141ed816141b1565b9050919050565b60006141ff82613149565b915061420a83613149565b92508282101561421d5761421c613b72565b5b828203905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061425e601883613099565b915061426982614228565b602082019050919050565b6000602082019050818103600083015261428d81614251565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006142f0602983613099565b91506142fb82614294565b604082019050919050565b6000602082019050818103600083015261431f816142e3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614382602683613099565b915061438d82614326565b604082019050919050565b600060208201905081810360008301526143b181614375565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006143ee602083613099565b91506143f9826143b8565b602082019050919050565b6000602082019050818103600083015261441d816143e1565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614480602a83613099565b915061448b82614424565b604082019050919050565b600060208201905081810360008301526144af81614473565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006144ec601983613099565b91506144f7826144b6565b602082019050919050565b6000602082019050818103600083015261451b816144df565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614558602083613099565b915061456382614522565b602082019050919050565b600060208201905081810360008301526145878161454b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006145c4601c83613099565b91506145cf8261458e565b602082019050919050565b600060208201905081810360008301526145f3816145b7565b9050919050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614656602e83613099565b9150614661826145fa565b604082019050919050565b6000602082019050818103600083015261468581614649565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006146e8602583613099565b91506146f38261468c565b604082019050919050565b60006020820190508181036000830152614717816146db565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061477a602483613099565b91506147858261471e565b604082019050919050565b600060208201905081810360008301526147a98161476d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006147e6601983613099565b91506147f1826147b0565b602082019050919050565b60006020820190508181036000830152614815816147d9565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614878603283613099565b91506148838261481c565b604082019050919050565b600060208201905081810360008301526148a78161486b565b9050919050565b60006148ba8285613a50565b91506148c68284613a50565b91508190509392505050565b7f4552524f523a20544f4b454e20495320534f554c20424f554e44000000000000600082015250565b6000614908601a83613099565b9150614913826148d2565b602082019050919050565b60006020820190508181036000830152614937816148fb565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149658261493e565b61496f8185614949565b935061497f8185602086016130aa565b614988816130dd565b840191505092915050565b60006080820190506149a860008301876131ac565b6149b560208301866131ac565b6149c260408301856133a7565b81810360608301526149d4818461495a565b905095945050505050565b6000815190506149ee81612f1d565b92915050565b600060208284031215614a0a57614a09612ee7565b5b6000614a18848285016149df565b91505092915050565b6000614a2c82613149565b9150614a3783613149565b925082614a4757614a46613cd5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe697066733a2f2f516d526776755976355934716a5166587a374b73687a5170536e65316b4d356450346a415775467979547a5a47482fa26469706673582212201620ff048984aaefd0b169a0f14b3ab21ff8a82ce561117a1bef7b41a8c6fa1864736f6c634300080d0033
Deployed Bytecode
0x6080604052600436106101c25760003560e01c806370a08231116100f757806395d89b4111610095578063c31a0f8111610064578063c31a0f8114610632578063c87b56dd1461066f578063e985e9c5146106ac578063f2fde38b146106e9576101c2565b806395d89b411461058a578063a035b1fe146105b5578063a22cb465146105e0578063b88d4fde14610609576101c2565b806378cc27a7116100d157806378cc27a7146104f4578063853828b61461051d57806387b9d25c146105345780638da5cb5b1461055f576101c2565b806370a0823114610475578063715018a6146104b257806374601c3c146104c9576101c2565b806323b872dd1161016457806342842e0e1161013e57806342842e0e146103b65780634f6ccce7146103df5780635768f2711461041c5780636352211e14610438576101c2565b806323b872dd146103125780632a55205a1461033b5780632f745c5914610379576101c2565b8063081812fc116101a0578063081812fc14610258578063095ea7b314610295578063107d2660146102be57806318160ddd146102e7576101c2565b806301ffc9a7146101c757806304634d8d1461020457806306fdde031461022d575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190612f49565b610712565b6040516101fb9190612f91565b60405180910390f35b34801561021057600080fd5b5061022b6004803603810190610226919061304e565b610724565b005b34801561023957600080fd5b5061024261073a565b60405161024f9190613127565b60405180910390f35b34801561026457600080fd5b5061027f600480360381019061027a919061317f565b6107cc565b60405161028c91906131bb565b60405180910390f35b3480156102a157600080fd5b506102bc60048036038101906102b791906131d6565b610812565b005b3480156102ca57600080fd5b506102e560048036038101906102e0919061334b565b610929565b005b3480156102f357600080fd5b506102fc610a3b565b60405161030991906133b6565b60405180910390f35b34801561031e57600080fd5b50610339600480360381019061033491906133d1565b610a48565b005b34801561034757600080fd5b50610362600480360381019061035d9190613424565b610aa8565b604051610370929190613464565b60405180910390f35b34801561038557600080fd5b506103a0600480360381019061039b91906131d6565b610c92565b6040516103ad91906133b6565b60405180910390f35b3480156103c257600080fd5b506103dd60048036038101906103d891906133d1565b610d37565b005b3480156103eb57600080fd5b506104066004803603810190610401919061317f565b610d57565b60405161041391906133b6565b60405180910390f35b61043660048036038101906104319190613573565b610dc8565b005b34801561044457600080fd5b5061045f600480360381019061045a919061317f565b6111d8565b60405161046c91906131bb565b60405180910390f35b34801561048157600080fd5b5061049c600480360381019061049791906135bc565b611289565b6040516104a991906133b6565b60405180910390f35b3480156104be57600080fd5b506104c7611340565b005b3480156104d557600080fd5b506104de611354565b6040516104eb91906133b6565b60405180910390f35b34801561050057600080fd5b5061051b600480360381019061051691906135e9565b61135a565b005b34801561052957600080fd5b506105326113b6565b005b34801561054057600080fd5b50610549611406565b60405161055691906131bb565b60405180910390f35b34801561056b57600080fd5b5061057461142c565b60405161058191906131bb565b60405180910390f35b34801561059657600080fd5b5061059f611456565b6040516105ac9190613127565b60405180910390f35b3480156105c157600080fd5b506105ca6114e8565b6040516105d791906133b6565b60405180910390f35b3480156105ec57600080fd5b5061060760048036038101906106029190613668565b6114ee565b005b34801561061557600080fd5b50610630600480360381019061062b9190613749565b611504565b005b34801561063e57600080fd5b50610659600480360381019061065491906137cc565b611566565b6040516106669190612f91565b60405180910390f35b34801561067b57600080fd5b506106966004803603810190610691919061317f565b61159c565b6040516106a39190613127565b60405180910390f35b3480156106b857600080fd5b506106d360048036038101906106ce9190613815565b6115ae565b6040516106e09190612f91565b60405180910390f35b3480156106f557600080fd5b50610710600480360381019061070b91906135bc565b611642565b005b600061071d826116c5565b9050919050565b61072c61173f565b61073682826117bd565b5050565b60606000805461074990613884565b80601f016020809104026020016040519081016040528092919081815260200182805461077590613884565b80156107c25780601f10610797576101008083540402835291602001916107c2565b820191906000526020600020905b8154815290600101906020018083116107a557829003601f168201915b5050505050905090565b60006107d782611952565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061081d826111d8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361088d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088490613927565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108ac61199d565b73ffffffffffffffffffffffffffffffffffffffff1614806108db57506108da816108d561199d565b6115ae565b5b61091a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610911906139b9565b60405180910390fd5b61092483836119a5565b505050565b61093161173f565b610bb860105410610977576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096e90613a25565b60405180910390fd5b6014816040516109879190613a81565b908152602001604051809103902060009054906101000a900460ff166109e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d990613ae4565b60405180910390fd5b6109ee82601054611a5e565b600081604051602001610a019190613b50565b6040516020818303038152906040529050610a1e60105482611c37565b60106000815480929190610a3190613ba1565b9190505550505050565b6000600a80549050905090565b610a59610a5361199d565b82611cab565b610a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8f90613c5b565b60405180910390fd5b610aa3838383611d40565b505050565b6000806000600760008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610c3d5760066040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610c47611fa6565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610c739190613c7b565b610c7d9190613d04565b90508160000151819350935050509250929050565b6000610c9d83611289565b8210610cde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd590613da7565b60405180910390fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d5283838360405180602001604052806000815250611504565b505050565b6000610d61610a3b565b8210610da2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9990613e39565b60405180910390fd5b600a8281548110610db657610db5613e59565b5b90600052602060002001549050919050565b6002600e5403610e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0490613ed4565b60405180910390fd5b6002600e8190555080516011541015610e5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5290613f40565b60405180910390fd5b60008151118015610e6e57506005815111155b610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea490613fd2565b60405180910390fd5b610b548151600f54610ebf9190613ff2565b10610eff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef6906140ba565b60405180910390fd5b348151601254610f0f9190613c7b565b1115610f50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4790614126565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061104857506000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161100591906131bb565b602060405180830381865afa158015611022573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611046919061415b565b115b611087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107e906141d4565b60405180910390fd5b60005b81518110156111985760148282815181106110a8576110a7613e59565b5b60200260200101516040516110bd9190613a81565b908152602001604051809103902060009054906101000a900460ff16611118576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110f90613ae4565b60405180910390fd5b61112f3382600f5461112a9190613ff2565b611fb0565b600082828151811061114457611143613e59565b5b602002602001015160405160200161115c9190613b50565b604051602081830303815290604052905061118482600f5461117e9190613ff2565b82611c37565b50808061119090613ba1565b91505061108a565b508051600f60008282546111ac9190613ff2565b925050819055508051601160008282546111c691906141f4565b925050819055506001600e8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127790614274565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f090614306565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61134861173f565b6113526000611fce565b565b60115481565b61136261173f565b826011819055508160128190555080601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b6113be61142c565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611403573d6000803e3d6000fd5b50565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461146590613884565b80601f016020809104026020016040519081016040528092919081815260200182805461149190613884565b80156114de5780601f106114b3576101008083540402835291602001916114de565b820191906000526020600020905b8154815290600101906020018083116114c157829003601f168201915b5050505050905090565b60125481565b6115006114f961199d565b8383612094565b5050565b61151561150f61199d565b83611cab565b611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b90613c5b565b60405180910390fd5b61156084848484612200565b50505050565b6014818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b60606115a78261225c565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61164a61173f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036116b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b090614398565b60405180910390fd5b6116c281611fce565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061173857506117378261236e565b5b9050919050565b61174761199d565b73ffffffffffffffffffffffffffffffffffffffff1661176561142c565b73ffffffffffffffffffffffffffffffffffffffff16146117bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b290614404565b60405180910390fd5b565b6117c5611fa6565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181a90614496565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188990614502565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600660008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b61195b816123e8565b61199a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199190614274565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a18836111d8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac49061456e565b60405180910390fd5b611ad6816123e8565b15611b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0d906145da565b60405180910390fd5b611b2260008383612454565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b729190613ff2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c33600083836124df565b5050565b611c40826123e8565b611c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c769061466c565b60405180910390fd5b80600c60008481526020019081526020016000209080519060200190611ca6929190612e3a565b505050565b600080611cb7836111d8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611cf95750611cf881856115ae565b5b80611d3757508373ffffffffffffffffffffffffffffffffffffffff16611d1f846107cc565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d60826111d8565b73ffffffffffffffffffffffffffffffffffffffff1614611db6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dad906146fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1c90614790565b60405180910390fd5b611e30838383612454565b611e3b6000826119a5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e8b91906141f4565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ee29190613ff2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fa18383836124df565b505050565b6000612710905090565b611fca8282604051806020016040528060008152506124e4565b5050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f9906147fc565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121f39190612f91565b60405180910390a3505050565b61220b848484611d40565b6122178484848461253f565b612256576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224d9061488e565b60405180910390fd5b50505050565b606061226782611952565b6000600c6000848152602001908152602001600020805461228790613884565b80601f01602080910402602001604051908101604052809291908181526020018280546122b390613884565b80156123005780601f106122d557610100808354040283529160200191612300565b820191906000526020600020905b8154815290600101906020018083116122e357829003601f168201915b5050505050905060006123116126c6565b90506000815103612326578192505050612369565b60008251111561235b5780826040516020016123439291906148ae565b60405160208183030381529060405292505050612369565b612364846126e6565b925050505b919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123e157506123e08261274e565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b610b548110806124905750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b6124cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c69061491e565b60405180910390fd5b6124da838383612830565b505050565b505050565b6124ee8383611a5e565b6124fb600084848461253f565b61253a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125319061488e565b60405180910390fd5b505050565b60006125608473ffffffffffffffffffffffffffffffffffffffff16612942565b156126b9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261258961199d565b8786866040518563ffffffff1660e01b81526004016125ab9493929190614993565b6020604051808303816000875af19250505080156125e757506040513d601f19601f820116820180604052508101906125e491906149f4565b60015b612669573d8060008114612617576040519150601f19603f3d011682016040523d82523d6000602084013e61261c565b606091505b506000815103612661576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126589061488e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506126be565b600190505b949350505050565b6060604051806060016040528060368152602001614a8260369139905090565b60606126f182611952565b60006126fb6126c6565b9050600081511161271b5760405180602001604052806000815250612746565b8061272584612965565b6040516020016127369291906148ae565b6040516020818303038152906040525b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061281957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612829575061282882612ac5565b5b9050919050565b61283b838383612b2f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361287d5761287881612b34565b6128bc565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146128bb576128ba8382612b7d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128fe576128f981612cea565b61293d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461293c5761293b8282612dbb565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060600082036129ac576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ac0565b600082905060005b600082146129de5780806129c790613ba1565b915050600a826129d79190613d04565b91506129b4565b60008167ffffffffffffffff8111156129fa576129f9613220565b5b6040519080825280601f01601f191660200182016040528015612a2c5781602001600182028036833780820191505090505b5090505b60008514612ab957600182612a4591906141f4565b9150600a85612a549190614a21565b6030612a609190613ff2565b60f81b818381518110612a7657612a75613e59565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ab29190613d04565b9450612a30565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b600a80549050600b600083815260200190815260200160002081905550600a81908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612b8a84611289565b612b9491906141f4565b9050600060096000848152602001908152602001600020549050818114612c79576000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816009600083815260200190815260200160002081905550505b6009600084815260200190815260200160002060009055600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600a80549050612cfe91906141f4565b90506000600b60008481526020019081526020016000205490506000600a8381548110612d2e57612d2d613e59565b5b9060005260206000200154905080600a8381548110612d5057612d4f613e59565b5b906000526020600020018190555081600b600083815260200190815260200160002081905550600b600085815260200190815260200160002060009055600a805480612d9f57612d9e614a52565b5b6001900381819060005260206000200160009055905550505050565b6000612dc683611289565b905081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806009600084815260200190815260200160002081905550505050565b828054612e4690613884565b90600052602060002090601f016020900481019282612e685760008555612eaf565b82601f10612e8157805160ff1916838001178555612eaf565b82800160010185558215612eaf579182015b82811115612eae578251825591602001919060010190612e93565b5b509050612ebc9190612ec0565b5090565b5b80821115612ed9576000816000905550600101612ec1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f2681612ef1565b8114612f3157600080fd5b50565b600081359050612f4381612f1d565b92915050565b600060208284031215612f5f57612f5e612ee7565b5b6000612f6d84828501612f34565b91505092915050565b60008115159050919050565b612f8b81612f76565b82525050565b6000602082019050612fa66000830184612f82565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612fd782612fac565b9050919050565b612fe781612fcc565b8114612ff257600080fd5b50565b60008135905061300481612fde565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61302b8161300a565b811461303657600080fd5b50565b60008135905061304881613022565b92915050565b6000806040838503121561306557613064612ee7565b5b600061307385828601612ff5565b925050602061308485828601613039565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156130c85780820151818401526020810190506130ad565b838111156130d7576000848401525b50505050565b6000601f19601f8301169050919050565b60006130f98261308e565b6131038185613099565b93506131138185602086016130aa565b61311c816130dd565b840191505092915050565b6000602082019050818103600083015261314181846130ee565b905092915050565b6000819050919050565b61315c81613149565b811461316757600080fd5b50565b60008135905061317981613153565b92915050565b60006020828403121561319557613194612ee7565b5b60006131a38482850161316a565b91505092915050565b6131b581612fcc565b82525050565b60006020820190506131d060008301846131ac565b92915050565b600080604083850312156131ed576131ec612ee7565b5b60006131fb85828601612ff5565b925050602061320c8582860161316a565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613258826130dd565b810181811067ffffffffffffffff8211171561327757613276613220565b5b80604052505050565b600061328a612edd565b9050613296828261324f565b919050565b600067ffffffffffffffff8211156132b6576132b5613220565b5b6132bf826130dd565b9050602081019050919050565b82818337600083830152505050565b60006132ee6132e98461329b565b613280565b90508281526020810184848401111561330a5761330961321b565b5b6133158482856132cc565b509392505050565b600082601f83011261333257613331613216565b5b81356133428482602086016132db565b91505092915050565b6000806040838503121561336257613361612ee7565b5b600061337085828601612ff5565b925050602083013567ffffffffffffffff81111561339157613390612eec565b5b61339d8582860161331d565b9150509250929050565b6133b081613149565b82525050565b60006020820190506133cb60008301846133a7565b92915050565b6000806000606084860312156133ea576133e9612ee7565b5b60006133f886828701612ff5565b935050602061340986828701612ff5565b925050604061341a8682870161316a565b9150509250925092565b6000806040838503121561343b5761343a612ee7565b5b60006134498582860161316a565b925050602061345a8582860161316a565b9150509250929050565b600060408201905061347960008301856131ac565b61348660208301846133a7565b9392505050565b600067ffffffffffffffff8211156134a8576134a7613220565b5b602082029050602081019050919050565b600080fd5b60006134d16134cc8461348d565b613280565b905080838252602082019050602084028301858111156134f4576134f36134b9565b5b835b8181101561353b57803567ffffffffffffffff81111561351957613518613216565b5b808601613526898261331d565b855260208501945050506020810190506134f6565b5050509392505050565b600082601f83011261355a57613559613216565b5b813561356a8482602086016134be565b91505092915050565b60006020828403121561358957613588612ee7565b5b600082013567ffffffffffffffff8111156135a7576135a6612eec565b5b6135b384828501613545565b91505092915050565b6000602082840312156135d2576135d1612ee7565b5b60006135e084828501612ff5565b91505092915050565b60008060006060848603121561360257613601612ee7565b5b60006136108682870161316a565b93505060206136218682870161316a565b925050604061363286828701612ff5565b9150509250925092565b61364581612f76565b811461365057600080fd5b50565b6000813590506136628161363c565b92915050565b6000806040838503121561367f5761367e612ee7565b5b600061368d85828601612ff5565b925050602061369e85828601613653565b9150509250929050565b600067ffffffffffffffff8211156136c3576136c2613220565b5b6136cc826130dd565b9050602081019050919050565b60006136ec6136e7846136a8565b613280565b9050828152602081018484840111156137085761370761321b565b5b6137138482856132cc565b509392505050565b600082601f8301126137305761372f613216565b5b81356137408482602086016136d9565b91505092915050565b6000806000806080858703121561376357613762612ee7565b5b600061377187828801612ff5565b945050602061378287828801612ff5565b93505060406137938782880161316a565b925050606085013567ffffffffffffffff8111156137b4576137b3612eec565b5b6137c08782880161371b565b91505092959194509250565b6000602082840312156137e2576137e1612ee7565b5b600082013567ffffffffffffffff811115613800576137ff612eec565b5b61380c8482850161331d565b91505092915050565b6000806040838503121561382c5761382b612ee7565b5b600061383a85828601612ff5565b925050602061384b85828601612ff5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061389c57607f821691505b6020821081036138af576138ae613855565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613911602183613099565b915061391c826138b5565b604082019050919050565b6000602082019050818103600083015261394081613904565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006139a3603e83613099565b91506139ae82613947565b604082019050919050565b600060208201905081810360008301526139d281613996565b9050919050565b7f52756e206f7574206f6620736f756c20626f756e6420746f6b656e7300000000600082015250565b6000613a0f601c83613099565b9150613a1a826139d9565b602082019050919050565b60006020820190508181036000830152613a3e81613a02565b9050919050565b600081905092915050565b6000613a5b8261308e565b613a658185613a45565b9350613a758185602086016130aa565b80840191505092915050565b6000613a8d8284613a50565b915081905092915050565b7f496e76616c696420636974790000000000000000000000000000000000000000600082015250565b6000613ace600c83613099565b9150613ad982613a98565b602082019050919050565b60006020820190508181036000830152613afd81613ac1565b9050919050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613b3a600583613a45565b9150613b4582613b04565b600582019050919050565b6000613b5c8284613a50565b9150613b6782613b2d565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613bac82613149565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613bde57613bdd613b72565b5b600182019050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613c45602e83613099565b9150613c5082613be9565b604082019050919050565b60006020820190508181036000830152613c7481613c38565b9050919050565b6000613c8682613149565b9150613c9183613149565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613cca57613cc9613b72565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d0f82613149565b9150613d1a83613149565b925082613d2a57613d29613cd5565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613d91602b83613099565b9150613d9c82613d35565b604082019050919050565b60006020820190508181036000830152613dc081613d84565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613e23602c83613099565b9150613e2e82613dc7565b604082019050919050565b60006020820190508181036000830152613e5281613e16565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613ebe601f83613099565b9150613ec982613e88565b602082019050919050565b60006020820190508181036000830152613eed81613eb1565b9050919050565b7f4e6f7420656e6f75676820617661696c61626c6520746f206d696e7400000000600082015250565b6000613f2a601c83613099565b9150613f3582613ef4565b602082019050919050565b60006020820190508181036000830152613f5981613f1d565b9050919050565b7f496e76616c696420616d6f756e74206f66206369746965732073656c6563746560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000613fbc602183613099565b9150613fc782613f60565b604082019050919050565b60006020820190508181036000830152613feb81613faf565b9050919050565b6000613ffd82613149565b915061400883613149565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561403d5761403c613b72565b5b828201905092915050565b7f4e6f7420656e6f756768207075626c696320746f6b656e7320617661696c616260008201527f6c65000000000000000000000000000000000000000000000000000000000000602082015250565b60006140a4602283613099565b91506140af82614048565b604082019050919050565b600060208201905081810360008301526140d381614097565b9050919050565b7f496e73756666696369656e742045544800000000000000000000000000000000600082015250565b6000614110601083613099565b915061411b826140da565b602082019050919050565b6000602082019050818103600083015261413f81614103565b9050919050565b60008151905061415581613153565b92915050565b60006020828403121561417157614170612ee7565b5b600061417f84828501614146565b91505092915050565b7f526571756972657320616c6c6f77206c697374204e4654000000000000000000600082015250565b60006141be601783613099565b91506141c982614188565b602082019050919050565b600060208201905081810360008301526141ed816141b1565b9050919050565b60006141ff82613149565b915061420a83613149565b92508282101561421d5761421c613b72565b5b828203905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061425e601883613099565b915061426982614228565b602082019050919050565b6000602082019050818103600083015261428d81614251565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006142f0602983613099565b91506142fb82614294565b604082019050919050565b6000602082019050818103600083015261431f816142e3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614382602683613099565b915061438d82614326565b604082019050919050565b600060208201905081810360008301526143b181614375565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006143ee602083613099565b91506143f9826143b8565b602082019050919050565b6000602082019050818103600083015261441d816143e1565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614480602a83613099565b915061448b82614424565b604082019050919050565b600060208201905081810360008301526144af81614473565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006144ec601983613099565b91506144f7826144b6565b602082019050919050565b6000602082019050818103600083015261451b816144df565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614558602083613099565b915061456382614522565b602082019050919050565b600060208201905081810360008301526145878161454b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006145c4601c83613099565b91506145cf8261458e565b602082019050919050565b600060208201905081810360008301526145f3816145b7565b9050919050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614656602e83613099565b9150614661826145fa565b604082019050919050565b6000602082019050818103600083015261468581614649565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006146e8602583613099565b91506146f38261468c565b604082019050919050565b60006020820190508181036000830152614717816146db565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061477a602483613099565b91506147858261471e565b604082019050919050565b600060208201905081810360008301526147a98161476d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006147e6601983613099565b91506147f1826147b0565b602082019050919050565b60006020820190508181036000830152614815816147d9565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614878603283613099565b91506148838261481c565b604082019050919050565b600060208201905081810360008301526148a78161486b565b9050919050565b60006148ba8285613a50565b91506148c68284613a50565b91508190509392505050565b7f4552524f523a20544f4b454e20495320534f554c20424f554e44000000000000600082015250565b6000614908601a83613099565b9150614913826148d2565b602082019050919050565b60006020820190508181036000830152614937816148fb565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149658261493e565b61496f8185614949565b935061497f8185602086016130aa565b614988816130dd565b840191505092915050565b60006080820190506149a860008301876131ac565b6149b560208301866131ac565b6149c260408301856133a7565b81810360608301526149d4818461495a565b905095945050505050565b6000815190506149ee81612f1d565b92915050565b600060208284031215614a0a57614a09612ee7565b5b6000614a18848285016149df565b91505092915050565b6000614a2c82613149565b9150614a3783613149565b925082614a4757614a46613cd5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe697066733a2f2f516d526776755976355934716a5166587a374b73687a5170536e65316b4d356450346a415775467979547a5a47482fa26469706673582212201620ff048984aaefd0b169a0f14b3ab21ff8a82ce561117a1bef7b41a8c6fa1864736f6c634300080d0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.