ERC-721
Overview
Max Total Supply
750 STAR
Holders
210
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 STARLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TroverseStars
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// contracs/TroverseStars.sol // SPDX-License-Identifier: MIT // ████████╗██████╗ ██████╗ ██╗ ██╗███████╗██████╗ ███████╗███████╗ // ╚══██╔══╝██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗██╔════╝██╔════╝ // ██║ ██████╔╝██║ ██║██║ ██║█████╗ ██████╔╝███████╗█████╗ // ██║ ██╔══██╗██║ ██║╚██╗ ██╔╝██╔══╝ ██╔══██╗╚════██║██╔══╝ // ██║ ██║ ██║╚██████╔╝ ╚████╔╝ ███████╗██║ ██║███████║███████╗ // ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝ pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface IYieldToken { function burn(address _from, uint256 _amount) external; } contract TroverseStars is ERC721Enumerable, Ownable { uint256 public constant TOTAL_STARS = 750; string private _baseTokenURI; IYieldToken public yieldToken; address public minter; mapping (uint256 => string) private _starName; mapping (string => bool) private _nameReserved; mapping (uint256 => string) private _starDescription; uint256 public nameChangePrice = 100 ether; uint256 public descriptionChangePrice = 100 ether; event YieldTokenChanged(address _yieldToken); event UpdatedMinter(address _minter); event NameChanged(uint256 starId, string starName); event NameCleared(uint256 starId, bool permanent); event DescriptionChanged(uint256 starId, string starDescription); event DescriptionCleared(uint256 starId); event UpdatedNameChangePrice(uint256 price); event UpdatedDescriptionChangePrice(uint256 price); constructor() ERC721("Troverse Stars", "STAR") { } modifier onlyMinter() { require(msg.sender == minter, "The caller is not the minter"); _; } function updateMinter(address _minter) external onlyOwner { require(_minter != address(0), "Bad Minter address"); minter = _minter; emit UpdatedMinter(_minter); } function Mint(address to, uint256 quantity) external onlyMinter { require(totalSupply() + quantity <= TOTAL_STARS, "Reached max supply"); uint256 firstIndex = totalSupply() + 1; uint256 lastIndex = firstIndex + quantity - 1; for (uint256 i = firstIndex; i <= lastIndex; i++) { _safeMint(to, i); } } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function setYieldToken(address _yieldToken) external onlyOwner { require(_yieldToken != address(0), "Bad YieldToken address"); yieldToken = IYieldToken(_yieldToken); emit YieldTokenChanged(_yieldToken); } function updateNameChangePrice(uint256 price) external onlyOwner { nameChangePrice = price; emit UpdatedNameChangePrice(price); } function updateDescriptionChangePrice(uint256 price) external onlyOwner { descriptionChangePrice = price; emit UpdatedDescriptionChangePrice(price); } /** * @notice Changes the name of a star. Make sure to use appropriate names only */ function changeName(uint256 starId, string memory newName) external { require(_msgSender() == ownerOf(starId), "Caller is not the owner"); require(validateName(newName) == true, "Not a valid new name"); require(sha256(bytes(newName)) != sha256(bytes(_starName[starId])), "New name is same as the current one"); require(isNameReserved(newName) == false, "Name already reserved"); if (bytes(_starName[starId]).length > 0) { toggleReserveName(_starName[starId], false); } toggleReserveName(newName, true); if (nameChangePrice > 0) { yieldToken.burn(msg.sender, nameChangePrice); } _starName[starId] = newName; emit NameChanged(starId, newName); } /** * @notice Clears the name of a star, in case an inappropriate name has set */ function clearName(uint256 starId, bool permanent) external onlyOwner { if (!permanent) { toggleReserveName(_starName[starId], false); } delete _starName[starId]; emit NameCleared(starId, permanent); } /** * @notice Changes the description of a star. Make sure to use appropriate descriptions only */ function changeDescription(uint256 starId, string memory newDescription) external { require(_msgSender() == ownerOf(starId), "Caller is not the owner"); if (descriptionChangePrice > 0) { yieldToken.burn(msg.sender, descriptionChangePrice); } _starDescription[starId] = newDescription; emit DescriptionChanged(starId, newDescription); } /** * @notice Clears the description of a star, in case an inappropriate description has set */ function clearDescription(uint256 starId) external onlyOwner { delete _starDescription[starId]; emit DescriptionCleared(starId); } /** * Changes a name reserve state */ function toggleReserveName(string memory name, bool isReserve) internal { _nameReserved[toLower(name)] = isReserve; } /** * Returns the name of the star at index */ function starNameByIndex(uint256 index) external view returns (string memory) { return _starName[index]; } /** * Returns the description of the star at index */ function starDescriptionByIndex(uint256 index) external view returns (string memory) { return _starDescription[index]; } /** * Returns true if the name has been reserved */ function isNameReserved(string memory nameString) public view returns (bool) { return _nameReserved[toLower(nameString)]; } /** * Validates a name string */ function validateName(string memory newName) public pure returns (bool) { bytes memory b = bytes(newName); if (b.length < 1) return false; if (b.length > 25) return false; // Cannot be longer than 25 characters if (b[0] == 0x20) return false; // Leading space if (b[b.length - 1] == 0x20) return false; // Trailing space bytes1 lastChar = b[0]; for(uint256 i; i < b.length; i++){ bytes1 char = b[i]; if (char == 0x20 && lastChar == 0x20) return false; // Cannot contain continous spaces if( !(char >= 0x30 && char <= 0x39) && //9-0 !(char >= 0x41 && char <= 0x5A) && //A-Z !(char >= 0x61 && char <= 0x7A) && //a-z !(char == 0x20) //space ) return false; lastChar = char; } return true; } /** * Converts a string to lowercase */ function toLower(string memory str) internal pure returns (string memory) { bytes memory bStr = bytes(str); bytes memory bLower = new bytes(bStr.length); for (uint256 i = 0; i < bStr.length; i++) { if ((uint8(bStr[i]) >= 65) && (uint8(bStr[i]) <= 90)) { bLower[i] = bytes1(uint8(bStr[i]) + 32); } else { bLower[i] = bStr[i]; } } return string(bLower); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _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 a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @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 (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 v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/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.5.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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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" ] } }, "libraries": {} }
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":false,"internalType":"uint256","name":"starId","type":"uint256"},{"indexed":false,"internalType":"string","name":"starDescription","type":"string"}],"name":"DescriptionChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"starId","type":"uint256"}],"name":"DescriptionCleared","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"starId","type":"uint256"},{"indexed":false,"internalType":"string","name":"starName","type":"string"}],"name":"NameChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"starId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"permanent","type":"bool"}],"name":"NameCleared","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"UpdatedDescriptionChangePrice","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_minter","type":"address"}],"name":"UpdatedMinter","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"UpdatedNameChangePrice","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_yieldToken","type":"address"}],"name":"YieldTokenChanged","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"Mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"TOTAL_STARS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"starId","type":"uint256"},{"internalType":"string","name":"newDescription","type":"string"}],"name":"changeDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"starId","type":"uint256"},{"internalType":"string","name":"newName","type":"string"}],"name":"changeName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"starId","type":"uint256"}],"name":"clearDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"starId","type":"uint256"},{"internalType":"bool","name":"permanent","type":"bool"}],"name":"clearName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"descriptionChangePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"nameString","type":"string"}],"name":"isNameReserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nameChangePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_yieldToken","type":"address"}],"name":"setYieldToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"starDescriptionByIndex","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"starNameByIndex","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"updateDescriptionChangePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"updateMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"updateNameChangePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newName","type":"string"}],"name":"validateName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"yieldToken","outputs":[{"internalType":"contract IYieldToken","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405268056bc75e2d6310000060115568056bc75e2d631000006012553480156200002b57600080fd5b506040518060400160405280600e81526020017f54726f76657273652053746172730000000000000000000000000000000000008152506040518060400160405280600481526020017f53544152000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000b0929190620001c0565b508060019080519060200190620000c9929190620001c0565b505050620000ec620000e0620000f260201b60201c565b620000fa60201b60201c565b620002d5565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ce9062000270565b90600052602060002090601f016020900481019282620001f257600085556200023e565b82601f106200020d57805160ff19168380011785556200023e565b828001600101855582156200023e579182015b828111156200023d57825182559160200191906001019062000220565b5b5090506200024d919062000251565b5090565b5b808211156200026c57600081600090555060010162000252565b5090565b600060028204905060018216806200028957607f821691505b60208210811415620002a0576200029f620002a6565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61554680620002e56000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c80636352211e11610130578063b88d4fde116100b8578063de6a06ed1161007c578063de6a06ed146106af578063e13e08f8146106cb578063e49e5515146106e7578063e985e9c514610703578063f2fde38b1461073357610232565b8063b88d4fde1461060d578063ba787ea914610629578063c39cbef114610647578063c87b56dd14610663578063d9237bb21461069357610232565b80637b73be21116100ff5780637b73be21146105695780638da5cb5b1461058557806395d89b41146105a35780639ffdb65a146105c1578063a22cb465146105f157610232565b80636352211e146104e157806370a0823114610511578063715018a61461054157806376d5de851461054b57610232565b806323ffce85116101be578063498afa5c11610182578063498afa5c1461042b5780634eb03f6e146104495780634f6ccce71461046557806355f804b3146104955780635d26132c146104b157610232565b806323ffce85146103755780632f745c591461039157806342842e0e146103c15780634300b774146103dd57806345ca77381461040d57610232565b8063095ea7b311610205578063095ea7b3146102d35780630f6798a5146102ef57806315b56d101461030b57806318160ddd1461033b57806323b872dd1461035957610232565b806301ffc9a71461023757806306fdde03146102675780630754617214610285578063081812fc146102a3575b600080fd5b610251600480360381019061024c9190613d6b565b61074f565b60405161025e919061453a565b60405180910390f35b61026f6107c9565b60405161027c9190614570565b60405180910390f35b61028d61085b565b60405161029a91906144aa565b60405180910390f35b6102bd60048036038101906102b89190613e5b565b610881565b6040516102ca91906144aa565b60405180910390f35b6102ed60048036038101906102e89190613cfe565b610906565b005b61030960048036038101906103049190613cfe565b610a1e565b005b61032560048036038101906103209190613e12565b610b6a565b604051610332919061453a565b60405180910390f35b610343610ba7565b60405161035091906148d2565b60405180910390f35b610373600480360381019061036e9190613be8565b610bb4565b005b61038f600480360381019061038a9190613b7b565b610c14565b005b6103ab60048036038101906103a69190613cfe565b610d7b565b6040516103b891906148d2565b60405180910390f35b6103db60048036038101906103d69190613be8565b610e20565b005b6103f760048036038101906103f29190613e5b565b610e40565b6040516104049190614570565b60405180910390f35b610415610ee5565b60405161042291906148d2565b60405180910390f35b610433610eeb565b60405161044091906148d2565b60405180910390f35b610463600480360381019061045e9190613b7b565b610ef1565b005b61047f600480360381019061047a9190613e5b565b611058565b60405161048c91906148d2565b60405180910390f35b6104af60048036038101906104aa9190613dc5565b6110c9565b005b6104cb60048036038101906104c69190613e5b565b61115b565b6040516104d89190614570565b60405180910390f35b6104fb60048036038101906104f69190613e5b565b611200565b60405161050891906144aa565b60405180910390f35b61052b60048036038101906105269190613b7b565b6112b2565b60405161053891906148d2565b60405180910390f35b61054961136a565b005b6105536113f2565b6040516105609190614555565b60405180910390f35b610583600480360381019061057e9190613e5b565b611418565b005b61058d6114d5565b60405161059a91906144aa565b60405180910390f35b6105ab6114ff565b6040516105b89190614570565b60405180910390f35b6105db60048036038101906105d69190613e12565b611591565b6040516105e8919061453a565b60405180910390f35b61060b60048036038101906106069190613cbe565b6118c3565b005b61062760048036038101906106229190613c3b565b6118d9565b005b61063161193b565b60405161063e91906148d2565b60405180910390f35b610661600480360381019061065c9190613ec8565b611941565b005b61067d60048036038101906106789190613e5b565b611d2b565b60405161068a9190614570565b60405180910390f35b6106ad60048036038101906106a89190613e5b565b611dd2565b005b6106c960048036038101906106c49190613ec8565b611ea7565b005b6106e560048036038101906106e09190613e5b565b612026565b005b61070160048036038101906106fc9190613e88565b6120e3565b005b61071d60048036038101906107189190613ba8565b612267565b60405161072a919061453a565b60405180910390f35b61074d60048036038101906107489190613b7b565b6122fb565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107c257506107c1826123f3565b5b9050919050565b6060600080546107d890614c13565b80601f016020809104026020016040519081016040528092919081815260200182805461080490614c13565b80156108515780601f1061082657610100808354040283529160200191610851565b820191906000526020600020905b81548152906001019060200180831161083457829003601f168201915b5050505050905090565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061088c826124d5565b6108cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c2906147d2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061091182611200565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097990614852565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109a1612541565b73ffffffffffffffffffffffffffffffffffffffff1614806109d057506109cf816109ca612541565b612267565b5b610a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0690614712565b60405180910390fd5b610a198383612549565b505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610aae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa5906145f2565b60405180910390fd5b6102ee81610aba610ba7565b610ac49190614a30565b1115610b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afc90614672565b60405180910390fd5b60006001610b11610ba7565b610b1b9190614a30565b9050600060018383610b2d9190614a30565b610b379190614aee565b905060008290505b818111610b6357610b508582612602565b8080610b5b90614c76565b915050610b3f565b5050505050565b6000600f610b7783612620565b604051610b84919061446f565b908152602001604051809103902060009054906101000a900460ff169050919050565b6000600880549050905090565b610bc5610bbf612541565b826127d8565b610c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfb90614872565b60405180910390fd5b610c0f8383836128b6565b505050565b610c1c612541565b73ffffffffffffffffffffffffffffffffffffffff16610c3a6114d5565b73ffffffffffffffffffffffffffffffffffffffff1614610c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c87906147f2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf7906146f2565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507faa7a2151be5d8de1944ae1c30f2b61e11af1651d9b3af8a557d8f3284b05630381604051610d7091906144aa565b60405180910390a150565b6000610d86836112b2565b8210610dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbe906145b2565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e3b838383604051806020016040528060008152506118d9565b505050565b6060600e60008381526020019081526020016000208054610e6090614c13565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8c90614c13565b8015610ed95780601f10610eae57610100808354040283529160200191610ed9565b820191906000526020600020905b815481529060010190602001808311610ebc57829003601f168201915b50505050509050919050565b60115481565b60125481565b610ef9612541565b73ffffffffffffffffffffffffffffffffffffffff16610f176114d5565b73ffffffffffffffffffffffffffffffffffffffff1614610f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f64906147f2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd4906147b2565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f228705e29661e4dcf7935e345670432770e37f065e18ce10a9adbe52638a1b498160405161104d91906144aa565b60405180910390a150565b6000611062610ba7565b82106110a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a90614892565b60405180910390fd5b600882815481106110b7576110b6614dac565b5b90600052602060002001549050919050565b6110d1612541565b73ffffffffffffffffffffffffffffffffffffffff166110ef6114d5565b73ffffffffffffffffffffffffffffffffffffffff1614611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113c906147f2565b60405180910390fd5b8181600b919061115692919061385e565b505050565b606060106000838152602001908152602001600020805461117b90614c13565b80601f01602080910402602001604051908101604052809291908181526020018280546111a790614c13565b80156111f45780601f106111c9576101008083540402835291602001916111f4565b820191906000526020600020905b8154815290600101906020018083116111d757829003601f168201915b50505050509050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a090614752565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131a90614732565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611372612541565b73ffffffffffffffffffffffffffffffffffffffff166113906114d5565b73ffffffffffffffffffffffffffffffffffffffff16146113e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113dd906147f2565b60405180910390fd5b6113f06000612b1d565b565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611420612541565b73ffffffffffffffffffffffffffffffffffffffff1661143e6114d5565b73ffffffffffffffffffffffffffffffffffffffff1614611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b906147f2565b60405180910390fd5b806011819055507f3c52d5f1bceaad52fcb59158f326d21936c8288007f07ee9ff1a18f0a0b21bf2816040516114ca91906148d2565b60405180910390a150565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461150e90614c13565b80601f016020809104026020016040519081016040528092919081815260200182805461153a90614c13565b80156115875780601f1061155c57610100808354040283529160200191611587565b820191906000526020600020905b81548152906001019060200180831161156a57829003601f168201915b5050505050905090565b6000808290506001815110156115ab5760009150506118be565b6019815111156115bf5760009150506118be565b602060f81b816000815181106115d8576115d7614dac565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156116155760009150506118be565b602060f81b81600183516116299190614aee565b8151811061163a57611639614dac565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156116775760009150506118be565b60008160008151811061168d5761168c614dac565b5b602001015160f81c60f81b905060005b82518110156118b65760008382815181106116bb576116ba614dac565b5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480156117225750602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b156117345760009450505050506118be565b603060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156117905750603960f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b1580156117f65750604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156117f45750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b801561185b5750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156118595750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b801561188d5750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b1561189f5760009450505050506118be565b8092505080806118ae90614c76565b91505061169d565b506001925050505b919050565b6118d56118ce612541565b8383612be3565b5050565b6118ea6118e4612541565b836127d8565b611929576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192090614872565b60405180910390fd5b61193584848484612d50565b50505050565b6102ee81565b61194a82611200565b73ffffffffffffffffffffffffffffffffffffffff16611968612541565b73ffffffffffffffffffffffffffffffffffffffff16146119be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b590614592565b60405180910390fd5b600115156119cb82611591565b151514611a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a04906148b2565b60405180910390fd5b6002600e6000848152602001908152602001600020604051611a2f9190614458565b602060405180830381855afa158015611a4c573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611a6f9190613d3e565b600282604051611a7f9190614441565b602060405180830381855afa158015611a9c573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611abf9190613d3e565b1415611b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af790614832565b60405180910390fd5b60001515611b0d82610b6a565b151514611b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4690614792565b60405180910390fd5b6000600e60008481526020019081526020016000208054611b6f90614c13565b90501115611c1e57611c1d600e60008481526020019081526020016000208054611b9890614c13565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc490614c13565b8015611c115780601f10611be657610100808354040283529160200191611c11565b820191906000526020600020905b815481529060010190602001808311611bf457829003601f168201915b50505050506000612dac565b5b611c29816001612dac565b60006011541115611cc657600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac336011546040518363ffffffff1660e01b8152600401611c93929190614511565b600060405180830381600087803b158015611cad57600080fd5b505af1158015611cc1573d6000803e3d6000fd5b505050505b80600e60008481526020019081526020016000209080519060200190611ced9291906138e4565b507f8edfa912e70e283a8ef6d6f52cd1faef9690ff989eff2f11a134e8478ba7b28b8282604051611d1f929190614916565b60405180910390a15050565b6060611d36826124d5565b611d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6c90614812565b60405180910390fd5b6000611d7f612dee565b90506000815111611d9f5760405180602001604052806000815250611dca565b80611da984612e80565b604051602001611dba929190614486565b6040516020818303038152906040525b915050919050565b611dda612541565b73ffffffffffffffffffffffffffffffffffffffff16611df86114d5565b73ffffffffffffffffffffffffffffffffffffffff1614611e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e45906147f2565b60405180910390fd5b601060008281526020019081526020016000206000611e6d919061396a565b7f10fa05bf84877f739813bed176379895f9359eac4059ecb6cfddacb4aa0c36b381604051611e9c91906148d2565b60405180910390a150565b611eb082611200565b73ffffffffffffffffffffffffffffffffffffffff16611ece612541565b73ffffffffffffffffffffffffffffffffffffffff1614611f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1b90614592565b60405180910390fd5b60006012541115611fc157600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac336012546040518363ffffffff1660e01b8152600401611f8e929190614511565b600060405180830381600087803b158015611fa857600080fd5b505af1158015611fbc573d6000803e3d6000fd5b505050505b80601060008481526020019081526020016000209080519060200190611fe89291906138e4565b507ff2da8d33c1b28dc862c3260e93659ab53e6453f33919b9c86c39070dee2389ca828260405161201a929190614916565b60405180910390a15050565b61202e612541565b73ffffffffffffffffffffffffffffffffffffffff1661204c6114d5565b73ffffffffffffffffffffffffffffffffffffffff16146120a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612099906147f2565b60405180910390fd5b806012819055507f796bcd6ae4e2daef54269c2d07125e515bf2f2177b9af10cba12f148a3240cb1816040516120d891906148d2565b60405180910390a150565b6120eb612541565b73ffffffffffffffffffffffffffffffffffffffff166121096114d5565b73ffffffffffffffffffffffffffffffffffffffff161461215f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612156906147f2565b60405180910390fd5b8061220b5761220a600e6000848152602001908152602001600020805461218590614c13565b80601f01602080910402602001604051908101604052809291908181526020018280546121b190614c13565b80156121fe5780601f106121d3576101008083540402835291602001916121fe565b820191906000526020600020905b8154815290600101906020018083116121e157829003601f168201915b50505050506000612dac565b5b600e6000838152602001908152602001600020600061222a919061396a565b7fc924253c9276b8834d6f7ed4a8162eece38f0a80410af4b28c4bced4c6134beb828260405161225b9291906148ed565b60405180910390a15050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612303612541565b73ffffffffffffffffffffffffffffffffffffffff166123216114d5565b73ffffffffffffffffffffffffffffffffffffffff1614612377576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236e906147f2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123de90614612565b60405180910390fd5b6123f081612b1d565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124be57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124ce57506124cd82612fe1565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125bc83611200565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61261c82826040518060200160405280600081525061304b565b5050565b606060008290506000815167ffffffffffffffff81111561264457612643614ddb565b5b6040519080825280601f01601f1916602001820160405280156126765781602001600182028036833780820191505090505b50905060005b82518110156127cd57604183828151811061269a57612699614dac565b5b602001015160f81c60f81b60f81c60ff16101580156126dd5750605a8382815181106126c9576126c8614dac565b5b602001015160f81c60f81b60f81c60ff1611155b156127595760208382815181106126f7576126f6614dac565b5b602001015160f81c60f81b60f81c61270f9190614a86565b60f81b82828151811061272557612724614dac565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506127ba565b82818151811061276c5761276b614dac565b5b602001015160f81c60f81b82828151811061278a57612789614dac565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b80806127c590614c76565b91505061267c565b508092505050919050565b60006127e3826124d5565b612822576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612819906146d2565b60405180910390fd5b600061282d83611200565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061289c57508373ffffffffffffffffffffffffffffffffffffffff1661288484610881565b73ffffffffffffffffffffffffffffffffffffffff16145b806128ad57506128ac8185612267565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166128d682611200565b73ffffffffffffffffffffffffffffffffffffffff161461292c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292390614632565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561299c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299390614692565b60405180910390fd5b6129a78383836130a6565b6129b2600082612549565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a029190614aee565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a599190614a30565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b188383836131ba565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c49906146b2565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d43919061453a565b60405180910390a3505050565b612d5b8484846128b6565b612d67848484846131bf565b612da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9d906145d2565b60405180910390fd5b50505050565b80600f612db884612620565b604051612dc5919061446f565b908152602001604051809103902060006101000a81548160ff0219169083151502179055505050565b6060600b8054612dfd90614c13565b80601f0160208091040260200160405190810160405280929190818152602001828054612e2990614c13565b8015612e765780601f10612e4b57610100808354040283529160200191612e76565b820191906000526020600020905b815481529060010190602001808311612e5957829003601f168201915b5050505050905090565b60606000821415612ec8576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fdc565b600082905060005b60008214612efa578080612ee390614c76565b915050600a82612ef39190614abd565b9150612ed0565b60008167ffffffffffffffff811115612f1657612f15614ddb565b5b6040519080825280601f01601f191660200182016040528015612f485781602001600182028036833780820191505090505b5090505b60008514612fd557600182612f619190614aee565b9150600a85612f709190614cbf565b6030612f7c9190614a30565b60f81b818381518110612f9257612f91614dac565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fce9190614abd565b9450612f4c565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6130558383613356565b61306260008484846131bf565b6130a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613098906145d2565b60405180910390fd5b505050565b6130b1838383613530565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130f4576130ef81613535565b613133565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461313257613131838261357e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561317657613171816136eb565b6131b5565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131b4576131b382826137bc565b5b5b505050565b505050565b60006131e08473ffffffffffffffffffffffffffffffffffffffff1661383b565b15613349578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613209612541565b8786866040518563ffffffff1660e01b815260040161322b94939291906144c5565b602060405180830381600087803b15801561324557600080fd5b505af192505050801561327657506040513d601f19601f820116820180604052508101906132739190613d98565b60015b6132f9573d80600081146132a6576040519150601f19603f3d011682016040523d82523d6000602084013e6132ab565b606091505b506000815114156132f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e8906145d2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061334e565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133bd90614772565b60405180910390fd5b6133cf816124d5565b1561340f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340690614652565b60405180910390fd5b61341b600083836130a6565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461346b9190614a30565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461352c600083836131ba565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161358b846112b2565b6135959190614aee565b905060006007600084815260200190815260200160002054905081811461367a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506136ff9190614aee565b905060006009600084815260200190815260200160002054905060006008838154811061372f5761372e614dac565b5b90600052602060002001549050806008838154811061375157613750614dac565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806137a05761379f614d7d565b5b6001900381819060005260206000200160009055905550505050565b60006137c7836112b2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461386a90614c13565b90600052602060002090601f01602090048101928261388c57600085556138d3565b82601f106138a557803560ff19168380011785556138d3565b828001600101855582156138d3579182015b828111156138d25782358255916020019190600101906138b7565b5b5090506138e091906139aa565b5090565b8280546138f090614c13565b90600052602060002090601f0160209004810192826139125760008555613959565b82601f1061392b57805160ff1916838001178555613959565b82800160010185558215613959579182015b8281111561395857825182559160200191906001019061393d565b5b50905061396691906139aa565b5090565b50805461397690614c13565b6000825580601f1061398857506139a7565b601f0160209004906000526020600020908101906139a691906139aa565b5b50565b5b808211156139c35760008160009055506001016139ab565b5090565b60006139da6139d58461496b565b614946565b9050828152602081018484840111156139f6576139f5614e19565b5b613a01848285614bd1565b509392505050565b6000613a1c613a178461499c565b614946565b905082815260208101848484011115613a3857613a37614e19565b5b613a43848285614bd1565b509392505050565b600081359050613a5a8161549d565b92915050565b600081359050613a6f816154b4565b92915050565b600081519050613a84816154cb565b92915050565b600081359050613a99816154e2565b92915050565b600081519050613aae816154e2565b92915050565b600082601f830112613ac957613ac8614e0f565b5b8135613ad98482602086016139c7565b91505092915050565b60008083601f840112613af857613af7614e0f565b5b8235905067ffffffffffffffff811115613b1557613b14614e0a565b5b602083019150836001820283011115613b3157613b30614e14565b5b9250929050565b600082601f830112613b4d57613b4c614e0f565b5b8135613b5d848260208601613a09565b91505092915050565b600081359050613b75816154f9565b92915050565b600060208284031215613b9157613b90614e23565b5b6000613b9f84828501613a4b565b91505092915050565b60008060408385031215613bbf57613bbe614e23565b5b6000613bcd85828601613a4b565b9250506020613bde85828601613a4b565b9150509250929050565b600080600060608486031215613c0157613c00614e23565b5b6000613c0f86828701613a4b565b9350506020613c2086828701613a4b565b9250506040613c3186828701613b66565b9150509250925092565b60008060008060808587031215613c5557613c54614e23565b5b6000613c6387828801613a4b565b9450506020613c7487828801613a4b565b9350506040613c8587828801613b66565b925050606085013567ffffffffffffffff811115613ca657613ca5614e1e565b5b613cb287828801613ab4565b91505092959194509250565b60008060408385031215613cd557613cd4614e23565b5b6000613ce385828601613a4b565b9250506020613cf485828601613a60565b9150509250929050565b60008060408385031215613d1557613d14614e23565b5b6000613d2385828601613a4b565b9250506020613d3485828601613b66565b9150509250929050565b600060208284031215613d5457613d53614e23565b5b6000613d6284828501613a75565b91505092915050565b600060208284031215613d8157613d80614e23565b5b6000613d8f84828501613a8a565b91505092915050565b600060208284031215613dae57613dad614e23565b5b6000613dbc84828501613a9f565b91505092915050565b60008060208385031215613ddc57613ddb614e23565b5b600083013567ffffffffffffffff811115613dfa57613df9614e1e565b5b613e0685828601613ae2565b92509250509250929050565b600060208284031215613e2857613e27614e23565b5b600082013567ffffffffffffffff811115613e4657613e45614e1e565b5b613e5284828501613b38565b91505092915050565b600060208284031215613e7157613e70614e23565b5b6000613e7f84828501613b66565b91505092915050565b60008060408385031215613e9f57613e9e614e23565b5b6000613ead85828601613b66565b9250506020613ebe85828601613a60565b9150509250929050565b60008060408385031215613edf57613ede614e23565b5b6000613eed85828601613b66565b925050602083013567ffffffffffffffff811115613f0e57613f0d614e1e565b5b613f1a85828601613b38565b9150509250929050565b613f2d81614b22565b82525050565b613f3c81614b34565b82525050565b6000613f4d826149e2565b613f5781856149f8565b9350613f67818560208601614be0565b613f7081614e28565b840191505092915050565b6000613f86826149e2565b613f908185614a09565b9350613fa0818560208601614be0565b80840191505092915050565b60008154613fb981614c13565b613fc38186614a09565b94506001821660008114613fde5760018114613fef57614022565b60ff19831686528186019350614022565b613ff8856149cd565b60005b8381101561401a57815481890152600182019150602081019050613ffb565b838801955050505b50505092915050565b61403481614bad565b82525050565b6000614045826149ed565b61404f8185614a14565b935061405f818560208601614be0565b61406881614e28565b840191505092915050565b600061407e826149ed565b6140888185614a25565b9350614098818560208601614be0565b80840191505092915050565b60006140b1601783614a14565b91506140bc82614e39565b602082019050919050565b60006140d4602b83614a14565b91506140df82614e62565b604082019050919050565b60006140f7603283614a14565b915061410282614eb1565b604082019050919050565b600061411a601c83614a14565b915061412582614f00565b602082019050919050565b600061413d602683614a14565b915061414882614f29565b604082019050919050565b6000614160602583614a14565b915061416b82614f78565b604082019050919050565b6000614183601c83614a14565b915061418e82614fc7565b602082019050919050565b60006141a6601283614a14565b91506141b182614ff0565b602082019050919050565b60006141c9602483614a14565b91506141d482615019565b604082019050919050565b60006141ec601983614a14565b91506141f782615068565b602082019050919050565b600061420f602c83614a14565b915061421a82615091565b604082019050919050565b6000614232601683614a14565b915061423d826150e0565b602082019050919050565b6000614255603883614a14565b915061426082615109565b604082019050919050565b6000614278602a83614a14565b915061428382615158565b604082019050919050565b600061429b602983614a14565b91506142a6826151a7565b604082019050919050565b60006142be602083614a14565b91506142c9826151f6565b602082019050919050565b60006142e1601583614a14565b91506142ec8261521f565b602082019050919050565b6000614304601283614a14565b915061430f82615248565b602082019050919050565b6000614327602c83614a14565b915061433282615271565b604082019050919050565b600061434a602083614a14565b9150614355826152c0565b602082019050919050565b600061436d602f83614a14565b9150614378826152e9565b604082019050919050565b6000614390602383614a14565b915061439b82615338565b604082019050919050565b60006143b3602183614a14565b91506143be82615387565b604082019050919050565b60006143d6603183614a14565b91506143e1826153d6565b604082019050919050565b60006143f9602c83614a14565b915061440482615425565b604082019050919050565b600061441c601483614a14565b915061442782615474565b602082019050919050565b61443b81614b96565b82525050565b600061444d8284613f7b565b915081905092915050565b60006144648284613fac565b915081905092915050565b600061447b8284614073565b915081905092915050565b60006144928285614073565b915061449e8284614073565b91508190509392505050565b60006020820190506144bf6000830184613f24565b92915050565b60006080820190506144da6000830187613f24565b6144e76020830186613f24565b6144f46040830185614432565b81810360608301526145068184613f42565b905095945050505050565b60006040820190506145266000830185613f24565b6145336020830184614432565b9392505050565b600060208201905061454f6000830184613f33565b92915050565b600060208201905061456a600083018461402b565b92915050565b6000602082019050818103600083015261458a818461403a565b905092915050565b600060208201905081810360008301526145ab816140a4565b9050919050565b600060208201905081810360008301526145cb816140c7565b9050919050565b600060208201905081810360008301526145eb816140ea565b9050919050565b6000602082019050818103600083015261460b8161410d565b9050919050565b6000602082019050818103600083015261462b81614130565b9050919050565b6000602082019050818103600083015261464b81614153565b9050919050565b6000602082019050818103600083015261466b81614176565b9050919050565b6000602082019050818103600083015261468b81614199565b9050919050565b600060208201905081810360008301526146ab816141bc565b9050919050565b600060208201905081810360008301526146cb816141df565b9050919050565b600060208201905081810360008301526146eb81614202565b9050919050565b6000602082019050818103600083015261470b81614225565b9050919050565b6000602082019050818103600083015261472b81614248565b9050919050565b6000602082019050818103600083015261474b8161426b565b9050919050565b6000602082019050818103600083015261476b8161428e565b9050919050565b6000602082019050818103600083015261478b816142b1565b9050919050565b600060208201905081810360008301526147ab816142d4565b9050919050565b600060208201905081810360008301526147cb816142f7565b9050919050565b600060208201905081810360008301526147eb8161431a565b9050919050565b6000602082019050818103600083015261480b8161433d565b9050919050565b6000602082019050818103600083015261482b81614360565b9050919050565b6000602082019050818103600083015261484b81614383565b9050919050565b6000602082019050818103600083015261486b816143a6565b9050919050565b6000602082019050818103600083015261488b816143c9565b9050919050565b600060208201905081810360008301526148ab816143ec565b9050919050565b600060208201905081810360008301526148cb8161440f565b9050919050565b60006020820190506148e76000830184614432565b92915050565b60006040820190506149026000830185614432565b61490f6020830184613f33565b9392505050565b600060408201905061492b6000830185614432565b818103602083015261493d818461403a565b90509392505050565b6000614950614961565b905061495c8282614c45565b919050565b6000604051905090565b600067ffffffffffffffff82111561498657614985614ddb565b5b61498f82614e28565b9050602081019050919050565b600067ffffffffffffffff8211156149b7576149b6614ddb565b5b6149c082614e28565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a3b82614b96565b9150614a4683614b96565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a7b57614a7a614cf0565b5b828201905092915050565b6000614a9182614ba0565b9150614a9c83614ba0565b92508260ff03821115614ab257614ab1614cf0565b5b828201905092915050565b6000614ac882614b96565b9150614ad383614b96565b925082614ae357614ae2614d1f565b5b828204905092915050565b6000614af982614b96565b9150614b0483614b96565b925082821015614b1757614b16614cf0565b5b828203905092915050565b6000614b2d82614b76565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614bb882614bbf565b9050919050565b6000614bca82614b76565b9050919050565b82818337600083830152505050565b60005b83811015614bfe578082015181840152602081019050614be3565b83811115614c0d576000848401525b50505050565b60006002820490506001821680614c2b57607f821691505b60208210811415614c3f57614c3e614d4e565b5b50919050565b614c4e82614e28565b810181811067ffffffffffffffff82111715614c6d57614c6c614ddb565b5b80604052505050565b6000614c8182614b96565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614cb457614cb3614cf0565b5b600182019050919050565b6000614cca82614b96565b9150614cd583614b96565b925082614ce557614ce4614d1f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f43616c6c6572206973206e6f7420746865206f776e6572000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f5468652063616c6c6572206973206e6f7420746865206d696e74657200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f52656163686564206d617820737570706c790000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f426164205969656c64546f6b656e206164647265737300000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e616d6520616c72656164792072657365727665640000000000000000000000600082015250565b7f426164204d696e74657220616464726573730000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4e6577206e616d652069732073616d65206173207468652063757272656e742060008201527f6f6e650000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4e6f7420612076616c6964206e6577206e616d65000000000000000000000000600082015250565b6154a681614b22565b81146154b157600080fd5b50565b6154bd81614b34565b81146154c857600080fd5b50565b6154d481614b40565b81146154df57600080fd5b50565b6154eb81614b4a565b81146154f657600080fd5b50565b61550281614b96565b811461550d57600080fd5b5056fea2646970667358221220cd6fce76ad3e48ffafdf2d5217e199895f0704d6902870254731b0763dcf569c64736f6c63430008060033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102325760003560e01c80636352211e11610130578063b88d4fde116100b8578063de6a06ed1161007c578063de6a06ed146106af578063e13e08f8146106cb578063e49e5515146106e7578063e985e9c514610703578063f2fde38b1461073357610232565b8063b88d4fde1461060d578063ba787ea914610629578063c39cbef114610647578063c87b56dd14610663578063d9237bb21461069357610232565b80637b73be21116100ff5780637b73be21146105695780638da5cb5b1461058557806395d89b41146105a35780639ffdb65a146105c1578063a22cb465146105f157610232565b80636352211e146104e157806370a0823114610511578063715018a61461054157806376d5de851461054b57610232565b806323ffce85116101be578063498afa5c11610182578063498afa5c1461042b5780634eb03f6e146104495780634f6ccce71461046557806355f804b3146104955780635d26132c146104b157610232565b806323ffce85146103755780632f745c591461039157806342842e0e146103c15780634300b774146103dd57806345ca77381461040d57610232565b8063095ea7b311610205578063095ea7b3146102d35780630f6798a5146102ef57806315b56d101461030b57806318160ddd1461033b57806323b872dd1461035957610232565b806301ffc9a71461023757806306fdde03146102675780630754617214610285578063081812fc146102a3575b600080fd5b610251600480360381019061024c9190613d6b565b61074f565b60405161025e919061453a565b60405180910390f35b61026f6107c9565b60405161027c9190614570565b60405180910390f35b61028d61085b565b60405161029a91906144aa565b60405180910390f35b6102bd60048036038101906102b89190613e5b565b610881565b6040516102ca91906144aa565b60405180910390f35b6102ed60048036038101906102e89190613cfe565b610906565b005b61030960048036038101906103049190613cfe565b610a1e565b005b61032560048036038101906103209190613e12565b610b6a565b604051610332919061453a565b60405180910390f35b610343610ba7565b60405161035091906148d2565b60405180910390f35b610373600480360381019061036e9190613be8565b610bb4565b005b61038f600480360381019061038a9190613b7b565b610c14565b005b6103ab60048036038101906103a69190613cfe565b610d7b565b6040516103b891906148d2565b60405180910390f35b6103db60048036038101906103d69190613be8565b610e20565b005b6103f760048036038101906103f29190613e5b565b610e40565b6040516104049190614570565b60405180910390f35b610415610ee5565b60405161042291906148d2565b60405180910390f35b610433610eeb565b60405161044091906148d2565b60405180910390f35b610463600480360381019061045e9190613b7b565b610ef1565b005b61047f600480360381019061047a9190613e5b565b611058565b60405161048c91906148d2565b60405180910390f35b6104af60048036038101906104aa9190613dc5565b6110c9565b005b6104cb60048036038101906104c69190613e5b565b61115b565b6040516104d89190614570565b60405180910390f35b6104fb60048036038101906104f69190613e5b565b611200565b60405161050891906144aa565b60405180910390f35b61052b60048036038101906105269190613b7b565b6112b2565b60405161053891906148d2565b60405180910390f35b61054961136a565b005b6105536113f2565b6040516105609190614555565b60405180910390f35b610583600480360381019061057e9190613e5b565b611418565b005b61058d6114d5565b60405161059a91906144aa565b60405180910390f35b6105ab6114ff565b6040516105b89190614570565b60405180910390f35b6105db60048036038101906105d69190613e12565b611591565b6040516105e8919061453a565b60405180910390f35b61060b60048036038101906106069190613cbe565b6118c3565b005b61062760048036038101906106229190613c3b565b6118d9565b005b61063161193b565b60405161063e91906148d2565b60405180910390f35b610661600480360381019061065c9190613ec8565b611941565b005b61067d60048036038101906106789190613e5b565b611d2b565b60405161068a9190614570565b60405180910390f35b6106ad60048036038101906106a89190613e5b565b611dd2565b005b6106c960048036038101906106c49190613ec8565b611ea7565b005b6106e560048036038101906106e09190613e5b565b612026565b005b61070160048036038101906106fc9190613e88565b6120e3565b005b61071d60048036038101906107189190613ba8565b612267565b60405161072a919061453a565b60405180910390f35b61074d60048036038101906107489190613b7b565b6122fb565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107c257506107c1826123f3565b5b9050919050565b6060600080546107d890614c13565b80601f016020809104026020016040519081016040528092919081815260200182805461080490614c13565b80156108515780601f1061082657610100808354040283529160200191610851565b820191906000526020600020905b81548152906001019060200180831161083457829003601f168201915b5050505050905090565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061088c826124d5565b6108cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c2906147d2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061091182611200565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097990614852565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109a1612541565b73ffffffffffffffffffffffffffffffffffffffff1614806109d057506109cf816109ca612541565b612267565b5b610a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0690614712565b60405180910390fd5b610a198383612549565b505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610aae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa5906145f2565b60405180910390fd5b6102ee81610aba610ba7565b610ac49190614a30565b1115610b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afc90614672565b60405180910390fd5b60006001610b11610ba7565b610b1b9190614a30565b9050600060018383610b2d9190614a30565b610b379190614aee565b905060008290505b818111610b6357610b508582612602565b8080610b5b90614c76565b915050610b3f565b5050505050565b6000600f610b7783612620565b604051610b84919061446f565b908152602001604051809103902060009054906101000a900460ff169050919050565b6000600880549050905090565b610bc5610bbf612541565b826127d8565b610c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfb90614872565b60405180910390fd5b610c0f8383836128b6565b505050565b610c1c612541565b73ffffffffffffffffffffffffffffffffffffffff16610c3a6114d5565b73ffffffffffffffffffffffffffffffffffffffff1614610c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c87906147f2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf7906146f2565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507faa7a2151be5d8de1944ae1c30f2b61e11af1651d9b3af8a557d8f3284b05630381604051610d7091906144aa565b60405180910390a150565b6000610d86836112b2565b8210610dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbe906145b2565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e3b838383604051806020016040528060008152506118d9565b505050565b6060600e60008381526020019081526020016000208054610e6090614c13565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8c90614c13565b8015610ed95780601f10610eae57610100808354040283529160200191610ed9565b820191906000526020600020905b815481529060010190602001808311610ebc57829003601f168201915b50505050509050919050565b60115481565b60125481565b610ef9612541565b73ffffffffffffffffffffffffffffffffffffffff16610f176114d5565b73ffffffffffffffffffffffffffffffffffffffff1614610f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f64906147f2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd4906147b2565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f228705e29661e4dcf7935e345670432770e37f065e18ce10a9adbe52638a1b498160405161104d91906144aa565b60405180910390a150565b6000611062610ba7565b82106110a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a90614892565b60405180910390fd5b600882815481106110b7576110b6614dac565b5b90600052602060002001549050919050565b6110d1612541565b73ffffffffffffffffffffffffffffffffffffffff166110ef6114d5565b73ffffffffffffffffffffffffffffffffffffffff1614611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113c906147f2565b60405180910390fd5b8181600b919061115692919061385e565b505050565b606060106000838152602001908152602001600020805461117b90614c13565b80601f01602080910402602001604051908101604052809291908181526020018280546111a790614c13565b80156111f45780601f106111c9576101008083540402835291602001916111f4565b820191906000526020600020905b8154815290600101906020018083116111d757829003601f168201915b50505050509050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a090614752565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131a90614732565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611372612541565b73ffffffffffffffffffffffffffffffffffffffff166113906114d5565b73ffffffffffffffffffffffffffffffffffffffff16146113e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113dd906147f2565b60405180910390fd5b6113f06000612b1d565b565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611420612541565b73ffffffffffffffffffffffffffffffffffffffff1661143e6114d5565b73ffffffffffffffffffffffffffffffffffffffff1614611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b906147f2565b60405180910390fd5b806011819055507f3c52d5f1bceaad52fcb59158f326d21936c8288007f07ee9ff1a18f0a0b21bf2816040516114ca91906148d2565b60405180910390a150565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461150e90614c13565b80601f016020809104026020016040519081016040528092919081815260200182805461153a90614c13565b80156115875780601f1061155c57610100808354040283529160200191611587565b820191906000526020600020905b81548152906001019060200180831161156a57829003601f168201915b5050505050905090565b6000808290506001815110156115ab5760009150506118be565b6019815111156115bf5760009150506118be565b602060f81b816000815181106115d8576115d7614dac565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156116155760009150506118be565b602060f81b81600183516116299190614aee565b8151811061163a57611639614dac565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156116775760009150506118be565b60008160008151811061168d5761168c614dac565b5b602001015160f81c60f81b905060005b82518110156118b65760008382815181106116bb576116ba614dac565b5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480156117225750602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b156117345760009450505050506118be565b603060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156117905750603960f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b1580156117f65750604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156117f45750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b801561185b5750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156118595750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b801561188d5750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b1561189f5760009450505050506118be565b8092505080806118ae90614c76565b91505061169d565b506001925050505b919050565b6118d56118ce612541565b8383612be3565b5050565b6118ea6118e4612541565b836127d8565b611929576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192090614872565b60405180910390fd5b61193584848484612d50565b50505050565b6102ee81565b61194a82611200565b73ffffffffffffffffffffffffffffffffffffffff16611968612541565b73ffffffffffffffffffffffffffffffffffffffff16146119be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b590614592565b60405180910390fd5b600115156119cb82611591565b151514611a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a04906148b2565b60405180910390fd5b6002600e6000848152602001908152602001600020604051611a2f9190614458565b602060405180830381855afa158015611a4c573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611a6f9190613d3e565b600282604051611a7f9190614441565b602060405180830381855afa158015611a9c573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611abf9190613d3e565b1415611b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af790614832565b60405180910390fd5b60001515611b0d82610b6a565b151514611b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4690614792565b60405180910390fd5b6000600e60008481526020019081526020016000208054611b6f90614c13565b90501115611c1e57611c1d600e60008481526020019081526020016000208054611b9890614c13565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc490614c13565b8015611c115780601f10611be657610100808354040283529160200191611c11565b820191906000526020600020905b815481529060010190602001808311611bf457829003601f168201915b50505050506000612dac565b5b611c29816001612dac565b60006011541115611cc657600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac336011546040518363ffffffff1660e01b8152600401611c93929190614511565b600060405180830381600087803b158015611cad57600080fd5b505af1158015611cc1573d6000803e3d6000fd5b505050505b80600e60008481526020019081526020016000209080519060200190611ced9291906138e4565b507f8edfa912e70e283a8ef6d6f52cd1faef9690ff989eff2f11a134e8478ba7b28b8282604051611d1f929190614916565b60405180910390a15050565b6060611d36826124d5565b611d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6c90614812565b60405180910390fd5b6000611d7f612dee565b90506000815111611d9f5760405180602001604052806000815250611dca565b80611da984612e80565b604051602001611dba929190614486565b6040516020818303038152906040525b915050919050565b611dda612541565b73ffffffffffffffffffffffffffffffffffffffff16611df86114d5565b73ffffffffffffffffffffffffffffffffffffffff1614611e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e45906147f2565b60405180910390fd5b601060008281526020019081526020016000206000611e6d919061396a565b7f10fa05bf84877f739813bed176379895f9359eac4059ecb6cfddacb4aa0c36b381604051611e9c91906148d2565b60405180910390a150565b611eb082611200565b73ffffffffffffffffffffffffffffffffffffffff16611ece612541565b73ffffffffffffffffffffffffffffffffffffffff1614611f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1b90614592565b60405180910390fd5b60006012541115611fc157600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac336012546040518363ffffffff1660e01b8152600401611f8e929190614511565b600060405180830381600087803b158015611fa857600080fd5b505af1158015611fbc573d6000803e3d6000fd5b505050505b80601060008481526020019081526020016000209080519060200190611fe89291906138e4565b507ff2da8d33c1b28dc862c3260e93659ab53e6453f33919b9c86c39070dee2389ca828260405161201a929190614916565b60405180910390a15050565b61202e612541565b73ffffffffffffffffffffffffffffffffffffffff1661204c6114d5565b73ffffffffffffffffffffffffffffffffffffffff16146120a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612099906147f2565b60405180910390fd5b806012819055507f796bcd6ae4e2daef54269c2d07125e515bf2f2177b9af10cba12f148a3240cb1816040516120d891906148d2565b60405180910390a150565b6120eb612541565b73ffffffffffffffffffffffffffffffffffffffff166121096114d5565b73ffffffffffffffffffffffffffffffffffffffff161461215f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612156906147f2565b60405180910390fd5b8061220b5761220a600e6000848152602001908152602001600020805461218590614c13565b80601f01602080910402602001604051908101604052809291908181526020018280546121b190614c13565b80156121fe5780601f106121d3576101008083540402835291602001916121fe565b820191906000526020600020905b8154815290600101906020018083116121e157829003601f168201915b50505050506000612dac565b5b600e6000838152602001908152602001600020600061222a919061396a565b7fc924253c9276b8834d6f7ed4a8162eece38f0a80410af4b28c4bced4c6134beb828260405161225b9291906148ed565b60405180910390a15050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612303612541565b73ffffffffffffffffffffffffffffffffffffffff166123216114d5565b73ffffffffffffffffffffffffffffffffffffffff1614612377576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236e906147f2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123de90614612565b60405180910390fd5b6123f081612b1d565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124be57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124ce57506124cd82612fe1565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125bc83611200565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61261c82826040518060200160405280600081525061304b565b5050565b606060008290506000815167ffffffffffffffff81111561264457612643614ddb565b5b6040519080825280601f01601f1916602001820160405280156126765781602001600182028036833780820191505090505b50905060005b82518110156127cd57604183828151811061269a57612699614dac565b5b602001015160f81c60f81b60f81c60ff16101580156126dd5750605a8382815181106126c9576126c8614dac565b5b602001015160f81c60f81b60f81c60ff1611155b156127595760208382815181106126f7576126f6614dac565b5b602001015160f81c60f81b60f81c61270f9190614a86565b60f81b82828151811061272557612724614dac565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506127ba565b82818151811061276c5761276b614dac565b5b602001015160f81c60f81b82828151811061278a57612789614dac565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b80806127c590614c76565b91505061267c565b508092505050919050565b60006127e3826124d5565b612822576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612819906146d2565b60405180910390fd5b600061282d83611200565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061289c57508373ffffffffffffffffffffffffffffffffffffffff1661288484610881565b73ffffffffffffffffffffffffffffffffffffffff16145b806128ad57506128ac8185612267565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166128d682611200565b73ffffffffffffffffffffffffffffffffffffffff161461292c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292390614632565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561299c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299390614692565b60405180910390fd5b6129a78383836130a6565b6129b2600082612549565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a029190614aee565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a599190614a30565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b188383836131ba565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c49906146b2565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d43919061453a565b60405180910390a3505050565b612d5b8484846128b6565b612d67848484846131bf565b612da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9d906145d2565b60405180910390fd5b50505050565b80600f612db884612620565b604051612dc5919061446f565b908152602001604051809103902060006101000a81548160ff0219169083151502179055505050565b6060600b8054612dfd90614c13565b80601f0160208091040260200160405190810160405280929190818152602001828054612e2990614c13565b8015612e765780601f10612e4b57610100808354040283529160200191612e76565b820191906000526020600020905b815481529060010190602001808311612e5957829003601f168201915b5050505050905090565b60606000821415612ec8576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fdc565b600082905060005b60008214612efa578080612ee390614c76565b915050600a82612ef39190614abd565b9150612ed0565b60008167ffffffffffffffff811115612f1657612f15614ddb565b5b6040519080825280601f01601f191660200182016040528015612f485781602001600182028036833780820191505090505b5090505b60008514612fd557600182612f619190614aee565b9150600a85612f709190614cbf565b6030612f7c9190614a30565b60f81b818381518110612f9257612f91614dac565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fce9190614abd565b9450612f4c565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6130558383613356565b61306260008484846131bf565b6130a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613098906145d2565b60405180910390fd5b505050565b6130b1838383613530565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130f4576130ef81613535565b613133565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461313257613131838261357e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561317657613171816136eb565b6131b5565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131b4576131b382826137bc565b5b5b505050565b505050565b60006131e08473ffffffffffffffffffffffffffffffffffffffff1661383b565b15613349578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613209612541565b8786866040518563ffffffff1660e01b815260040161322b94939291906144c5565b602060405180830381600087803b15801561324557600080fd5b505af192505050801561327657506040513d601f19601f820116820180604052508101906132739190613d98565b60015b6132f9573d80600081146132a6576040519150601f19603f3d011682016040523d82523d6000602084013e6132ab565b606091505b506000815114156132f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e8906145d2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061334e565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133bd90614772565b60405180910390fd5b6133cf816124d5565b1561340f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340690614652565b60405180910390fd5b61341b600083836130a6565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461346b9190614a30565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461352c600083836131ba565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161358b846112b2565b6135959190614aee565b905060006007600084815260200190815260200160002054905081811461367a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506136ff9190614aee565b905060006009600084815260200190815260200160002054905060006008838154811061372f5761372e614dac565b5b90600052602060002001549050806008838154811061375157613750614dac565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806137a05761379f614d7d565b5b6001900381819060005260206000200160009055905550505050565b60006137c7836112b2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461386a90614c13565b90600052602060002090601f01602090048101928261388c57600085556138d3565b82601f106138a557803560ff19168380011785556138d3565b828001600101855582156138d3579182015b828111156138d25782358255916020019190600101906138b7565b5b5090506138e091906139aa565b5090565b8280546138f090614c13565b90600052602060002090601f0160209004810192826139125760008555613959565b82601f1061392b57805160ff1916838001178555613959565b82800160010185558215613959579182015b8281111561395857825182559160200191906001019061393d565b5b50905061396691906139aa565b5090565b50805461397690614c13565b6000825580601f1061398857506139a7565b601f0160209004906000526020600020908101906139a691906139aa565b5b50565b5b808211156139c35760008160009055506001016139ab565b5090565b60006139da6139d58461496b565b614946565b9050828152602081018484840111156139f6576139f5614e19565b5b613a01848285614bd1565b509392505050565b6000613a1c613a178461499c565b614946565b905082815260208101848484011115613a3857613a37614e19565b5b613a43848285614bd1565b509392505050565b600081359050613a5a8161549d565b92915050565b600081359050613a6f816154b4565b92915050565b600081519050613a84816154cb565b92915050565b600081359050613a99816154e2565b92915050565b600081519050613aae816154e2565b92915050565b600082601f830112613ac957613ac8614e0f565b5b8135613ad98482602086016139c7565b91505092915050565b60008083601f840112613af857613af7614e0f565b5b8235905067ffffffffffffffff811115613b1557613b14614e0a565b5b602083019150836001820283011115613b3157613b30614e14565b5b9250929050565b600082601f830112613b4d57613b4c614e0f565b5b8135613b5d848260208601613a09565b91505092915050565b600081359050613b75816154f9565b92915050565b600060208284031215613b9157613b90614e23565b5b6000613b9f84828501613a4b565b91505092915050565b60008060408385031215613bbf57613bbe614e23565b5b6000613bcd85828601613a4b565b9250506020613bde85828601613a4b565b9150509250929050565b600080600060608486031215613c0157613c00614e23565b5b6000613c0f86828701613a4b565b9350506020613c2086828701613a4b565b9250506040613c3186828701613b66565b9150509250925092565b60008060008060808587031215613c5557613c54614e23565b5b6000613c6387828801613a4b565b9450506020613c7487828801613a4b565b9350506040613c8587828801613b66565b925050606085013567ffffffffffffffff811115613ca657613ca5614e1e565b5b613cb287828801613ab4565b91505092959194509250565b60008060408385031215613cd557613cd4614e23565b5b6000613ce385828601613a4b565b9250506020613cf485828601613a60565b9150509250929050565b60008060408385031215613d1557613d14614e23565b5b6000613d2385828601613a4b565b9250506020613d3485828601613b66565b9150509250929050565b600060208284031215613d5457613d53614e23565b5b6000613d6284828501613a75565b91505092915050565b600060208284031215613d8157613d80614e23565b5b6000613d8f84828501613a8a565b91505092915050565b600060208284031215613dae57613dad614e23565b5b6000613dbc84828501613a9f565b91505092915050565b60008060208385031215613ddc57613ddb614e23565b5b600083013567ffffffffffffffff811115613dfa57613df9614e1e565b5b613e0685828601613ae2565b92509250509250929050565b600060208284031215613e2857613e27614e23565b5b600082013567ffffffffffffffff811115613e4657613e45614e1e565b5b613e5284828501613b38565b91505092915050565b600060208284031215613e7157613e70614e23565b5b6000613e7f84828501613b66565b91505092915050565b60008060408385031215613e9f57613e9e614e23565b5b6000613ead85828601613b66565b9250506020613ebe85828601613a60565b9150509250929050565b60008060408385031215613edf57613ede614e23565b5b6000613eed85828601613b66565b925050602083013567ffffffffffffffff811115613f0e57613f0d614e1e565b5b613f1a85828601613b38565b9150509250929050565b613f2d81614b22565b82525050565b613f3c81614b34565b82525050565b6000613f4d826149e2565b613f5781856149f8565b9350613f67818560208601614be0565b613f7081614e28565b840191505092915050565b6000613f86826149e2565b613f908185614a09565b9350613fa0818560208601614be0565b80840191505092915050565b60008154613fb981614c13565b613fc38186614a09565b94506001821660008114613fde5760018114613fef57614022565b60ff19831686528186019350614022565b613ff8856149cd565b60005b8381101561401a57815481890152600182019150602081019050613ffb565b838801955050505b50505092915050565b61403481614bad565b82525050565b6000614045826149ed565b61404f8185614a14565b935061405f818560208601614be0565b61406881614e28565b840191505092915050565b600061407e826149ed565b6140888185614a25565b9350614098818560208601614be0565b80840191505092915050565b60006140b1601783614a14565b91506140bc82614e39565b602082019050919050565b60006140d4602b83614a14565b91506140df82614e62565b604082019050919050565b60006140f7603283614a14565b915061410282614eb1565b604082019050919050565b600061411a601c83614a14565b915061412582614f00565b602082019050919050565b600061413d602683614a14565b915061414882614f29565b604082019050919050565b6000614160602583614a14565b915061416b82614f78565b604082019050919050565b6000614183601c83614a14565b915061418e82614fc7565b602082019050919050565b60006141a6601283614a14565b91506141b182614ff0565b602082019050919050565b60006141c9602483614a14565b91506141d482615019565b604082019050919050565b60006141ec601983614a14565b91506141f782615068565b602082019050919050565b600061420f602c83614a14565b915061421a82615091565b604082019050919050565b6000614232601683614a14565b915061423d826150e0565b602082019050919050565b6000614255603883614a14565b915061426082615109565b604082019050919050565b6000614278602a83614a14565b915061428382615158565b604082019050919050565b600061429b602983614a14565b91506142a6826151a7565b604082019050919050565b60006142be602083614a14565b91506142c9826151f6565b602082019050919050565b60006142e1601583614a14565b91506142ec8261521f565b602082019050919050565b6000614304601283614a14565b915061430f82615248565b602082019050919050565b6000614327602c83614a14565b915061433282615271565b604082019050919050565b600061434a602083614a14565b9150614355826152c0565b602082019050919050565b600061436d602f83614a14565b9150614378826152e9565b604082019050919050565b6000614390602383614a14565b915061439b82615338565b604082019050919050565b60006143b3602183614a14565b91506143be82615387565b604082019050919050565b60006143d6603183614a14565b91506143e1826153d6565b604082019050919050565b60006143f9602c83614a14565b915061440482615425565b604082019050919050565b600061441c601483614a14565b915061442782615474565b602082019050919050565b61443b81614b96565b82525050565b600061444d8284613f7b565b915081905092915050565b60006144648284613fac565b915081905092915050565b600061447b8284614073565b915081905092915050565b60006144928285614073565b915061449e8284614073565b91508190509392505050565b60006020820190506144bf6000830184613f24565b92915050565b60006080820190506144da6000830187613f24565b6144e76020830186613f24565b6144f46040830185614432565b81810360608301526145068184613f42565b905095945050505050565b60006040820190506145266000830185613f24565b6145336020830184614432565b9392505050565b600060208201905061454f6000830184613f33565b92915050565b600060208201905061456a600083018461402b565b92915050565b6000602082019050818103600083015261458a818461403a565b905092915050565b600060208201905081810360008301526145ab816140a4565b9050919050565b600060208201905081810360008301526145cb816140c7565b9050919050565b600060208201905081810360008301526145eb816140ea565b9050919050565b6000602082019050818103600083015261460b8161410d565b9050919050565b6000602082019050818103600083015261462b81614130565b9050919050565b6000602082019050818103600083015261464b81614153565b9050919050565b6000602082019050818103600083015261466b81614176565b9050919050565b6000602082019050818103600083015261468b81614199565b9050919050565b600060208201905081810360008301526146ab816141bc565b9050919050565b600060208201905081810360008301526146cb816141df565b9050919050565b600060208201905081810360008301526146eb81614202565b9050919050565b6000602082019050818103600083015261470b81614225565b9050919050565b6000602082019050818103600083015261472b81614248565b9050919050565b6000602082019050818103600083015261474b8161426b565b9050919050565b6000602082019050818103600083015261476b8161428e565b9050919050565b6000602082019050818103600083015261478b816142b1565b9050919050565b600060208201905081810360008301526147ab816142d4565b9050919050565b600060208201905081810360008301526147cb816142f7565b9050919050565b600060208201905081810360008301526147eb8161431a565b9050919050565b6000602082019050818103600083015261480b8161433d565b9050919050565b6000602082019050818103600083015261482b81614360565b9050919050565b6000602082019050818103600083015261484b81614383565b9050919050565b6000602082019050818103600083015261486b816143a6565b9050919050565b6000602082019050818103600083015261488b816143c9565b9050919050565b600060208201905081810360008301526148ab816143ec565b9050919050565b600060208201905081810360008301526148cb8161440f565b9050919050565b60006020820190506148e76000830184614432565b92915050565b60006040820190506149026000830185614432565b61490f6020830184613f33565b9392505050565b600060408201905061492b6000830185614432565b818103602083015261493d818461403a565b90509392505050565b6000614950614961565b905061495c8282614c45565b919050565b6000604051905090565b600067ffffffffffffffff82111561498657614985614ddb565b5b61498f82614e28565b9050602081019050919050565b600067ffffffffffffffff8211156149b7576149b6614ddb565b5b6149c082614e28565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a3b82614b96565b9150614a4683614b96565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a7b57614a7a614cf0565b5b828201905092915050565b6000614a9182614ba0565b9150614a9c83614ba0565b92508260ff03821115614ab257614ab1614cf0565b5b828201905092915050565b6000614ac882614b96565b9150614ad383614b96565b925082614ae357614ae2614d1f565b5b828204905092915050565b6000614af982614b96565b9150614b0483614b96565b925082821015614b1757614b16614cf0565b5b828203905092915050565b6000614b2d82614b76565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614bb882614bbf565b9050919050565b6000614bca82614b76565b9050919050565b82818337600083830152505050565b60005b83811015614bfe578082015181840152602081019050614be3565b83811115614c0d576000848401525b50505050565b60006002820490506001821680614c2b57607f821691505b60208210811415614c3f57614c3e614d4e565b5b50919050565b614c4e82614e28565b810181811067ffffffffffffffff82111715614c6d57614c6c614ddb565b5b80604052505050565b6000614c8182614b96565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614cb457614cb3614cf0565b5b600182019050919050565b6000614cca82614b96565b9150614cd583614b96565b925082614ce557614ce4614d1f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f43616c6c6572206973206e6f7420746865206f776e6572000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f5468652063616c6c6572206973206e6f7420746865206d696e74657200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f52656163686564206d617820737570706c790000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f426164205969656c64546f6b656e206164647265737300000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e616d6520616c72656164792072657365727665640000000000000000000000600082015250565b7f426164204d696e74657220616464726573730000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4e6577206e616d652069732073616d65206173207468652063757272656e742060008201527f6f6e650000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4e6f7420612076616c6964206e6577206e616d65000000000000000000000000600082015250565b6154a681614b22565b81146154b157600080fd5b50565b6154bd81614b34565b81146154c857600080fd5b50565b6154d481614b40565b81146154df57600080fd5b50565b6154eb81614b4a565b81146154f657600080fd5b50565b61550281614b96565b811461550d57600080fd5b5056fea2646970667358221220cd6fce76ad3e48ffafdf2d5217e199895f0704d6902870254731b0763dcf569c64736f6c63430008060033
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.