Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
846 LFSG
Holders
277
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 LFSGLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LoFiStargazer
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; contract LoFiStargazer is ERC721Enumerable, Ownable { using SafeMath for uint256; using Counters for Counters.Counter; IERC721Enumerable skylines; bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; string public animationURI; address payable admin; ProxyRegistry private _proxyRegistry; Counters.Counter private _tokenIds; mapping(uint256 => bytes32) bHash; mapping(uint256 => bool) claimedToken; constructor( string memory _name, string memory _symbol, address payable _admin, string memory _animationURI, address _skylines, address openseaProxyRegistry_ ) ERC721(_name, _symbol) { admin = _admin; animationURI = _animationURI; skylines = IERC721Enumerable(_skylines); if (address(0) != openseaProxyRegistry_) { _setOpenSeaRegistry(openseaProxyRegistry_); } } function freeClaim() public { uint256 bal = skylines.balanceOf(msg.sender); for (uint8 i = 0; i < bal; i++) { uint256 tokenId = skylines.tokenOfOwnerByIndex(msg.sender, i); if (claimedToken[tokenId]) { continue; } _mint(msg.sender, tokenId); bHash[tokenId] = bytes32( keccak256(abi.encodePacked(address(msg.sender), tokenId)) ); claimedToken[tokenId] = true; } } function canTokenClaim(uint256 _token) public view returns (bool) { return claimedToken[_token]; } function purchased() public view returns(uint256) { return _tokenIds.current(); } function mint(uint256 _amount) public payable { require( uint256(200000000000000000).mul(_amount) == msg.value, "Invalid value" ); require(_amount <= 20, "Cannot mint more than 20 at a time"); require( _tokenIds.current().add(_amount) <= 1111, "Mint exceeds max supply" ); for (uint256 i = 0; i < _amount; i++) { _tokenIds.increment(); uint256 newNftTokenId = _tokenIds.current().add(3333); _mint(msg.sender, newNftTokenId); bHash[newNftTokenId] = bytes32( keccak256(abi.encodePacked(address(msg.sender), newNftTokenId)) ); } } function setAnimationURI(string memory newAnimationURI) public onlyOwner { animationURI = newAnimationURI; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "Token does not exist"); string memory seed = bytes32ToString(bHash[_tokenId]); string memory baseColor = strSlice(59, 64, seed); string memory fg = baseColor; return string( abi.encodePacked( 'data:application/json;utf8,{"name":"', uint2str(_tokenId), '","animation_url":"', string(abi.encodePacked(animationURI, seed)), '","image_data":"', baseImg(fg, getBG(baseColor)), '"}' ) ); } function baseImg(string memory fg, string memory bg) public pure returns (string memory) { return string( abi.encodePacked( "<svg xmlns='http://www.w3.org/2000/svg' width='512px' height='512px'>", "<rect width='100%' height='100%' fill='", bg, "'/><text x='194' y='224' font-size='64' fill='#", fg, "'>LoFi</text>", "<text x='134' y='288' font-size='64' fill='#", fg, "'>Stargazer</text><circle cx='20' cy='26' r='50' fill='#", fg, "'/><circle cx='100' cy='200' r='20' fill='#", fg, "'/><circle cx='88' cy='440' r='70' fill='#", fg, "'/><circle cx='277' cy='360' r='43' fill='#", fg, "'/><circle cx='433' cy='444' r='12' fill='#", fg, "'/><circle cx='376' cy='75' r='65' fill='#", fg, "'/><circle cx='475' cy='230' r='32' fill='#", fg, "'/></svg>" ) ); } function getBG(string memory _seedColor) internal pure returns (string memory) { string memory s1 = strSlice(1, 2, _seedColor); string memory s2 = strSlice(3, 4, _seedColor); string memory s3 = strSlice(5, 6, _seedColor); uint256 ss1 = fromHex(s1); uint256 ss2 = fromHex(s2); uint256 ss3 = fromHex(s3); uint256 i1 = ss1 ^ uint256(255); uint256 i2 = ss2 ^ uint256(255); uint256 i3 = ss3 ^ uint256(255); return string( abi.encodePacked( "#", toHexString(i1), toHexString(i2), toHexString(i3) ) ); } function withdraw(uint256 amount) external payable onlyOwner { require(amount <= address(this).balance); admin.transfer(amount); } function uint2str(uint256 _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint256 j = _i; uint256 len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint256 k = len; while (_i != 0) { k = k - 1; uint8 temp = (48 + uint8(_i - (_i / 10) * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } function bytes32ToString(bytes32 _bytes32) public pure returns (string memory) { uint8 i = 0; bytes memory bytesArray = new bytes(64); for (i = 0; i < bytesArray.length; i++) { uint8 _f = uint8(_bytes32[i / 2] & 0x0f); uint8 _l = uint8(_bytes32[i / 2] >> 4); bytesArray[i] = toByte(_f); i = i + 1; bytesArray[i] = toByte(_l); } return string(bytesArray); } function toByte(uint8 _uint8) public pure returns (bytes1) { if (_uint8 < 10) { return bytes1(_uint8 + 48); } else { return bytes1(_uint8 + 87); } } function strSlice( uint256 begin, uint256 end, string memory text ) public pure returns (string memory) { bytes memory a = new bytes(end - begin + 1); for (uint256 i = 0; i <= end - begin; i++) { a[i] = bytes(text)[i + begin - 1]; } return string(a); } function fromHexChar(uint8 c) public pure returns (uint8) { if (bytes1(c) >= bytes1("0") && bytes1(c) <= bytes1("9")) { return c - uint8(bytes1("0")); } if (bytes1(c) >= bytes1("a") && bytes1(c) <= bytes1("f")) { return 10 + c - uint8(bytes1("a")); } if (bytes1(c) >= bytes1("A") && bytes1(c) <= bytes1("F")) { return 10 + c - uint8(bytes1("A")); } } function fromHex(string memory s) public pure returns (uint256) { bytes memory ss = bytes(s); require(ss.length % 2 == 0); bytes memory r = new bytes(ss.length / 2); uint256 total; for (uint256 i = 0; i < ss.length / 2; ++i) { total += (fromHexChar(uint8(ss[2 * i])) * 16 + fromHexChar(uint8(ss[2 * i + 1]))); } return total; } 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); } function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); 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); } function isOwnersOpenSeaProxy(address owner, address operator) public view returns (bool) { ProxyRegistry proxyRegistry = _proxyRegistry; return address(proxyRegistry) != address(0) && address(proxyRegistry.proxies(owner)) == operator; } function _setOpenSeaRegistry(address proxyRegistryAddress) internal { _proxyRegistry = ProxyRegistry(proxyRegistryAddress); } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { if (isOwnersOpenSeaProxy(owner, operator)) { return true; } return super.isApprovedForAll(owner, operator); } function setOpenSeaRegistry(address proxyRegistryAddress) external onlyOwner { _proxyRegistry = ProxyRegistry(proxyRegistryAddress); } } contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address payable","name":"_admin","type":"address"},{"internalType":"string","name":"_animationURI","type":"string"},{"internalType":"address","name":"_skylines","type":"address"},{"internalType":"address","name":"openseaProxyRegistry_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"animationURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"string","name":"fg","type":"string"},{"internalType":"string","name":"bg","type":"string"}],"name":"baseImg","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_bytes32","type":"bytes32"}],"name":"bytes32ToString","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_token","type":"uint256"}],"name":"canTokenClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"s","type":"string"}],"name":"fromHex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint8","name":"c","type":"uint8"}],"name":"fromHexChar","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isOwnersOpenSeaProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"purchased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newAnimationURI","type":"string"}],"name":"setAnimationURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"proxyRegistryAddress","type":"address"}],"name":"setOpenSeaRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"begin","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"},{"internalType":"string","name":"text","type":"string"}],"name":"strSlice","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":"uint8","name":"_uint8","type":"uint8"}],"name":"toByte","outputs":[{"internalType":"bytes1","name":"","type":"bytes1"}],"stateMutability":"pure","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":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200632e3803806200632e8339818101604052810190620000379190620003e9565b85858160009080519060200190620000519291906200028d565b5080600190805190602001906200006a9291906200028d565b5050506200008d620000816200017b60201b60201c565b6200018360201b60201c565b83600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600c9080519060200190620000e69291906200028d565b5081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff16146200016f576200016e816200024960201b60201c565b5b505050505050620006e2565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8280546200029b90620005bf565b90600052602060002090601f016020900481019282620002bf57600085556200030b565b82601f10620002da57805160ff19168380011785556200030b565b828001600101855582156200030b579182015b828111156200030a578251825591602001919060010190620002ed565b5b5090506200031a91906200031e565b5090565b5b80821115620003395760008160009055506001016200031f565b5090565b6000620003546200034e846200050b565b620004e2565b9050828152602081018484840111156200037357620003726200068e565b5b6200038084828562000589565b509392505050565b6000815190506200039981620006ae565b92915050565b600081519050620003b081620006c8565b92915050565b600082601f830112620003ce57620003cd62000689565b5b8151620003e08482602086016200033d565b91505092915050565b60008060008060008060c0878903121562000409576200040862000698565b5b600087015167ffffffffffffffff8111156200042a576200042962000693565b5b6200043889828a01620003b6565b965050602087015167ffffffffffffffff8111156200045c576200045b62000693565b5b6200046a89828a01620003b6565b95505060406200047d89828a016200039f565b945050606087015167ffffffffffffffff811115620004a157620004a062000693565b5b620004af89828a01620003b6565b9350506080620004c289828a0162000388565b92505060a0620004d589828a0162000388565b9150509295509295509295565b6000620004ee62000501565b9050620004fc8282620005f5565b919050565b6000604051905090565b600067ffffffffffffffff8211156200052957620005286200065a565b5b62000534826200069d565b9050602081019050919050565b60006200054e8262000569565b9050919050565b6000620005628262000569565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620005a95780820151818401526020810190506200058c565b83811115620005b9576000848401525b50505050565b60006002820490506001821680620005d857607f821691505b60208210811415620005ef57620005ee6200062b565b5b50919050565b62000600826200069d565b810181811067ffffffffffffffff821117156200062257620006216200065a565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620006b98162000541565b8114620006c557600080fd5b50565b620006d38162000555565b8114620006df57600080fd5b50565b615c3c80620006f26000396000f3fe6080604052600436106101f95760003560e01c8063715018a61161010d578063a86b73f0116100a0578063c5ac58e11161006f578063c5ac58e11461079b578063c87b56dd146107c4578063e88d3b3e14610801578063e985e9c514610818578063f2fde38b14610855576101f9565b8063a86b73f0146106e1578063b51bbbdf1461071e578063b5f4975914610749578063b88d4fde14610772576101f9565b80639201de55116100dc5780639201de551461063457806395d89b4114610671578063a0712d681461069c578063a22cb465146106b8576101f9565b8063715018a61461058a578063879f9c96146105a15780638da5cb5b146105cc5780638e7e34d7146105f7576101f9565b80632ecb20d3116101905780635e0fee241161015f5780635e0fee24146104595780636102de98146104965780636352211e146104d35780637052c5871461051057806370a082311461054d576101f9565b80632ecb20d3146103795780632f745c59146103b657806342842e0e146103f35780634f6ccce71461041c576101f9565b80630c0d35ed116101cc5780630c0d35ed146102cc57806318160ddd1461030957806323b872dd146103345780632e1a7d4d1461035d576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190613b26565b61087e565b604051610232919061471a565b60405180910390f35b34801561024757600080fd5b506102506108f8565b60405161025d9190614750565b60405180910390f35b34801561027257600080fd5b5061028d60048036038101906102889190613c6e565b61098a565b60405161029a919061468a565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190613ab9565b610a0f565b005b3480156102d857600080fd5b506102f360048036038101906102ee9190613cc8565b610b27565b6040516103009190614750565b60405180910390f35b34801561031557600080fd5b5061031e610c3c565b60405161032b9190614a32565b60405180910390f35b34801561034057600080fd5b5061035b600480360381019061035691906139a3565b610c49565b005b61037760048036038101906103729190613c6e565b610ca9565b005b34801561038557600080fd5b506103a0600480360381019061039b9190613d37565b610d9e565b6040516103ad9190614a4d565b60405180910390f35b3480156103c257600080fd5b506103dd60048036038101906103d89190613ab9565b611109565b6040516103ea9190614a32565b60405180910390f35b3480156103ff57600080fd5b5061041a600480360381019061041591906139a3565b6111ae565b005b34801561042857600080fd5b50610443600480360381019061043e9190613c6e565b6111ce565b6040516104509190614a32565b60405180910390f35b34801561046557600080fd5b50610480600480360381019061047b9190613bf6565b61123f565b60405161048d9190614750565b60405180910390f35b3480156104a257600080fd5b506104bd60048036038101906104b89190613963565b61127b565b6040516104ca919061471a565b60405180910390f35b3480156104df57600080fd5b506104fa60048036038101906104f59190613c6e565b61139c565b604051610507919061468a565b60405180910390f35b34801561051c57600080fd5b5061053760048036038101906105329190613c6e565b61144e565b604051610544919061471a565b60405180910390f35b34801561055957600080fd5b50610574600480360381019061056f9190613936565b611478565b6040516105819190614a32565b60405180910390f35b34801561059657600080fd5b5061059f611530565b005b3480156105ad57600080fd5b506105b66115b8565b6040516105c39190614a32565b60405180910390f35b3480156105d857600080fd5b506105e16115c9565b6040516105ee919061468a565b60405180910390f35b34801561060357600080fd5b5061061e60048036038101906106199190613bad565b6115f3565b60405161062b9190614a32565b60405180910390f35b34801561064057600080fd5b5061065b60048036038101906106569190613af9565b611747565b6040516106689190614750565b60405180910390f35b34801561067d57600080fd5b506106866118fd565b6040516106939190614750565b60405180910390f35b6106b660048036038101906106b19190613c6e565b61198f565b005b3480156106c457600080fd5b506106df60048036038101906106da9190613a79565b611b28565b005b3480156106ed57600080fd5b5061070860048036038101906107039190613d37565b611ca9565b6040516107159190614735565b60405180910390f35b34801561072a57600080fd5b50610733611ce6565b6040516107409190614750565b60405180910390f35b34801561075557600080fd5b50610770600480360381019061076b9190613936565b611d74565b005b34801561077e57600080fd5b50610799600480360381019061079491906139f6565b611e34565b005b3480156107a757600080fd5b506107c260048036038101906107bd9190613bad565b611e96565b005b3480156107d057600080fd5b506107eb60048036038101906107e69190613c6e565b611f2c565b6040516107f89190614750565b60405180910390f35b34801561080d57600080fd5b50610816612015565b005b34801561082457600080fd5b5061083f600480360381019061083a9190613963565b61223e565b60405161084c919061471a565b60405180910390f35b34801561086157600080fd5b5061087c60048036038101906108779190613936565b61226b565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108f157506108f082612363565b5b9050919050565b60606000805461090790614e7a565b80601f016020809104026020016040519081016040528092919081815260200182805461093390614e7a565b80156109805780601f1061095557610100808354040283529160200191610980565b820191906000526020600020905b81548152906001019060200180831161096357829003601f168201915b5050505050905090565b600061099582612445565b6109d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614952565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a1a8261139c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a82906149d2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aaa6124b1565b73ffffffffffffffffffffffffffffffffffffffff161480610ad95750610ad881610ad36124b1565b61223e565b5b610b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0f906148d2565b60405180910390fd5b610b2283836124b9565b505050565b6060600060018585610b399190614ccb565b610b439190614b47565b67ffffffffffffffff811115610b5c57610b5b61509a565b5b6040519080825280601f01601f191660200182016040528015610b8e5781602001600182028036833780820191505090505b50905060005b8585610ba09190614ccb565b8111610c30578360018783610bb59190614b47565b610bbf9190614ccb565b81518110610bd057610bcf61506b565b5b602001015160f81c60f81b828281518110610bee57610bed61506b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080610c2890614edd565b915050610b94565b50809150509392505050565b6000600880549050905090565b610c5a610c546124b1565b82612572565b610c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c90906149f2565b60405180910390fd5b610ca4838383612650565b505050565b610cb16124b1565b73ffffffffffffffffffffffffffffffffffffffff16610ccf6115c9565b73ffffffffffffffffffffffffffffffffffffffff1614610d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1c90614972565b60405180910390fd5b47811115610d3257600080fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d9a573d6000803e3d6000fd5b5050565b60007f30000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015610e7e57507f39000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b15610eb9577f300000000000000000000000000000000000000000000000000000000000000060f81c82610eb29190614cff565b9050611104565b7f61000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015610f9757507f66000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b15610fde577f610000000000000000000000000000000000000000000000000000000000000060f81c82600a610fcd9190614b9d565b610fd79190614cff565b9050611104565b7f41000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156110bc57507f46000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b15611103577f410000000000000000000000000000000000000000000000000000000000000060f81c82600a6110f29190614b9d565b6110fc9190614cff565b9050611104565b5b919050565b600061111483611478565b8210611155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114c906147b2565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6111c983838360405180602001604052806000815250611e34565b505050565b60006111d8610c3c565b8210611219576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121090614a12565b60405180910390fd5b6008828154811061122d5761122c61506b565b5b90600052602060002001549050919050565b606081838485868788898a8b6040516020016112649a99989796959493929190614533565b604051602081830303815290604052905092915050565b600080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561139357508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b815260040161132b919061468a565b60206040518083038186803b15801561134357600080fd5b505afa158015611357573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137b9190613b80565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611445576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143c90614912565b60405180910390fd5b80915050919050565b60006011600083815260200190815260200160002060009054906101000a900460ff169050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e0906148f2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115386124b1565b73ffffffffffffffffffffffffffffffffffffffff166115566115c9565b73ffffffffffffffffffffffffffffffffffffffff16146115ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a390614972565b60405180910390fd5b6115b660006128ac565b565b60006115c4600f612972565b905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000808290506000600282516116099190614f7e565b1461161357600080fd5b6000600282516116239190614bd4565b67ffffffffffffffff81111561163c5761163b61509a565b5b6040519080825280601f01601f19166020018201604052801561166e5781602001600182028036833780820191505090505b509050600080600090505b600284516116879190614bd4565b81101561173b576116cf8460018360026116a19190614c36565b6116ab9190614b47565b815181106116bc576116bb61506b565b5b602001015160f81c60f81b60f81c610d9e565b6010611706868460026116e29190614c36565b815181106116f3576116f261506b565b5b602001015160f81c60f81b60f81c610d9e565b6117109190614c90565b61171a9190614b9d565b60ff16826117289190614b47565b91508061173490614edd565b9050611679565b50809350505050919050565b6060600080604067ffffffffffffffff8111156117675761176661509a565b5b6040519080825280601f01601f1916602001820160405280156117995781602001600182028036833780820191505090505b509050600091505b80518260ff1610156118f3576000600f60f81b856002856117c29190614c05565b60ff16602081106117d6576117d561506b565b5b1a60f81b1660f81c905060006004866002866117f29190614c05565b60ff16602081106118065761180561506b565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c905061183c82611ca9565b838560ff16815181106118525761185161506b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060018461188e9190614b9d565b935061189981611ca9565b838560ff16815181106118af576118ae61506b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350505081806118eb90614f26565b9250506117a1565b8092505050919050565b60606001805461190c90614e7a565b80601f016020809104026020016040519081016040528092919081815260200182805461193890614e7a565b80156119855780601f1061195a57610100808354040283529160200191611985565b820191906000526020600020905b81548152906001019060200180831161196857829003601f168201915b5050505050905090565b346119ab826702c68af0bb14000061298090919063ffffffff16565b146119eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e2906149b2565b60405180910390fd5b6014811115611a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a26906148b2565b60405180910390fd5b610457611a4e82611a40600f612972565b61299690919063ffffffff16565b1115611a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8690614792565b60405180910390fd5b60005b81811015611b2457611aa4600f6129ac565b6000611ac4610d05611ab6600f612972565b61299690919063ffffffff16565b9050611ad033826129c2565b3381604051602001611ae3929190614486565b604051602081830303815290604052805190602001206010600083815260200190815260200160002081905550508080611b1c90614edd565b915050611a92565b5050565b611b306124b1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9590614852565b60405180910390fd5b8060056000611bab6124b1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c586124b1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c9d919061471a565b60405180910390a35050565b6000600a8260ff161015611cce57603082611cc49190614b9d565b60f81b9050611ce1565b605782611cdb9190614b9d565b60f81b90505b919050565b600c8054611cf390614e7a565b80601f0160208091040260200160405190810160405280929190818152602001828054611d1f90614e7a565b8015611d6c5780601f10611d4157610100808354040283529160200191611d6c565b820191906000526020600020905b815481529060010190602001808311611d4f57829003601f168201915b505050505081565b611d7c6124b1565b73ffffffffffffffffffffffffffffffffffffffff16611d9a6115c9565b73ffffffffffffffffffffffffffffffffffffffff1614611df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de790614972565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611e45611e3f6124b1565b83612572565b611e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7b906149f2565b60405180910390fd5b611e9084848484612b90565b50505050565b611e9e6124b1565b73ffffffffffffffffffffffffffffffffffffffff16611ebc6115c9565b73ffffffffffffffffffffffffffffffffffffffff1614611f12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0990614972565b60405180910390fd5b80600c9080519060200190611f289291906136f6565b5050565b6060611f3782612445565b611f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6d90614872565b60405180910390fd5b6000611f946010600085815260200190815260200160002054611747565b90506000611fa5603b604084610b27565b90506000819050611fb585612bec565b600c84604051602001611fc99291906144b2565b604051602081830303815290604052611fea83611fe586612d75565b61123f565b604051602001611ffc939291906144d6565b6040516020818303038152906040529350505050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401612072919061468a565b60206040518083038186803b15801561208a57600080fd5b505afa15801561209e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c29190613c9b565b905060005b818160ff16101561223a576000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5933846040518363ffffffff1660e01b81526004016121319291906146f1565b60206040518083038186803b15801561214957600080fd5b505afa15801561215d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121819190613c9b565b90506011600082815260200190815260200160002060009054906101000a900460ff16156121af5750612227565b6121b933826129c2565b33816040516020016121cc929190614486565b60405160208183030381529060405280519060200120601060008381526020019081526020016000208190555060016011600083815260200190815260200160002060006101000a81548160ff021916908315150217905550505b808061223290614f26565b9150506120c7565b5050565b600061224a838361127b565b156122585760019050612265565b6122628383612e35565b90505b92915050565b6122736124b1565b73ffffffffffffffffffffffffffffffffffffffff166122916115c9565b73ffffffffffffffffffffffffffffffffffffffff16146122e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122de90614972565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612357576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234e906147f2565b60405180910390fd5b612360816128ac565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061242e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061243e575061243d82612ec9565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661252c8361139c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061257d82612445565b6125bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b390614892565b60405180910390fd5b60006125c78361139c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061263657508373ffffffffffffffffffffffffffffffffffffffff1661261e8461098a565b73ffffffffffffffffffffffffffffffffffffffff16145b806126475750612646818561223e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166126708261139c565b73ffffffffffffffffffffffffffffffffffffffff16146126c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bd90614992565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612736576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272d90614832565b60405180910390fd5b612741838383612f33565b61274c6000826124b9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461279c9190614ccb565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127f39190614b47565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b6000818361298e9190614c36565b905092915050565b600081836129a49190614b47565b905092915050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2990614932565b60405180910390fd5b612a3b81612445565b15612a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7290614812565b60405180910390fd5b612a8760008383612f33565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ad79190614b47565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612b9b848484612650565b612ba784848484613047565b612be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdd906147d2565b60405180910390fd5b50505050565b60606000821415612c34576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d70565b600082905060005b60008214612c66578080612c4f90614edd565b915050600a82612c5f9190614bd4565b9150612c3c565b60008167ffffffffffffffff811115612c8257612c8161509a565b5b6040519080825280601f01601f191660200182016040528015612cb45781602001600182028036833780820191505090505b50905060008290505b60008614612d6857600181612cd29190614ccb565b90506000600a8088612ce49190614bd4565b612cee9190614c36565b87612cf99190614ccb565b6030612d059190614b9d565b905060008160f81b905080848481518110612d2357612d2261506b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a88612d5f9190614bd4565b97505050612cbd565b819450505050505b919050565b60606000612d866001600285610b27565b90506000612d976003600486610b27565b90506000612da86005600687610b27565b90506000612db5846115f3565b90506000612dc2846115f3565b90506000612dcf846115f3565b9050600060ff84189050600060ff84189050600060ff84189050612df2836131de565b612dfb836131de565b612e04836131de565b604051602001612e169392919061464e565b6040516020818303038152906040529950505050505050505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f3e838383613264565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f8157612f7c81613269565b612fc0565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612fbf57612fbe83826132b2565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561300357612ffe8161341f565b613042565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130415761304082826134f0565b5b5b505050565b60006130688473ffffffffffffffffffffffffffffffffffffffff1661356f565b156131d1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130916124b1565b8786866040518563ffffffff1660e01b81526004016130b394939291906146a5565b602060405180830381600087803b1580156130cd57600080fd5b505af19250505080156130fe57506040513d601f19601f820116820180604052508101906130fb9190613b53565b60015b613181573d806000811461312e576040519150601f19603f3d011682016040523d82523d6000602084013e613133565b606091505b50600081511415613179576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613170906147d2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131d6565b600190505b949350505050565b60606000821415613226576040518060400160405280600481526020017f3078303000000000000000000000000000000000000000000000000000000000815250905061325f565b600082905060005b6000821461325057808061324190614edd565b915050600882901c915061322e565b61325a8482613582565b925050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016132bf84611478565b6132c99190614ccb565b90506000600760008481526020019081526020016000205490508181146133ae576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506134339190614ccb565b90506000600960008481526020019081526020016000205490506000600883815481106134635761346261506b565b5b9060005260206000200154905080600883815481106134855761348461506b565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806134d4576134d361503c565b5b6001900381819060005260206000200160009055905550505050565b60006134fb83611478565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b6060600060028360026135959190614c36565b61359f9190614b47565b67ffffffffffffffff8111156135b8576135b761509a565b5b6040519080825280601f01601f1916602001820160405280156135ea5781602001600182028036833780820191505090505b509050600060018460026135fe9190614c36565b6136089190614b47565b90505b60018111156136a8577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061364a5761364961506b565b5b1a60f81b8282815181106136615761366061506b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806136a190614e50565b905061360b565b50600084146136ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136e390614772565b60405180910390fd5b8091505092915050565b82805461370290614e7a565b90600052602060002090601f016020900481019282613724576000855561376b565b82601f1061373d57805160ff191683800117855561376b565b8280016001018555821561376b579182015b8281111561376a57825182559160200191906001019061374f565b5b509050613778919061377c565b5090565b5b8082111561379557600081600090555060010161377d565b5090565b60006137ac6137a784614a8d565b614a68565b9050828152602081018484840111156137c8576137c76150ce565b5b6137d3848285614e0e565b509392505050565b60006137ee6137e984614abe565b614a68565b90508281526020810184848401111561380a576138096150ce565b5b613815848285614e0e565b509392505050565b60008135905061382c81615b65565b92915050565b60008135905061384181615b7c565b92915050565b60008135905061385681615b93565b92915050565b60008135905061386b81615baa565b92915050565b60008151905061388081615baa565b92915050565b600082601f83011261389b5761389a6150c9565b5b81356138ab848260208601613799565b91505092915050565b6000815190506138c381615bc1565b92915050565b600082601f8301126138de576138dd6150c9565b5b81356138ee8482602086016137db565b91505092915050565b60008135905061390681615bd8565b92915050565b60008151905061391b81615bd8565b92915050565b60008135905061393081615bef565b92915050565b60006020828403121561394c5761394b6150d8565b5b600061395a8482850161381d565b91505092915050565b6000806040838503121561397a576139796150d8565b5b60006139888582860161381d565b92505060206139998582860161381d565b9150509250929050565b6000806000606084860312156139bc576139bb6150d8565b5b60006139ca8682870161381d565b93505060206139db8682870161381d565b92505060406139ec868287016138f7565b9150509250925092565b60008060008060808587031215613a1057613a0f6150d8565b5b6000613a1e8782880161381d565b9450506020613a2f8782880161381d565b9350506040613a40878288016138f7565b925050606085013567ffffffffffffffff811115613a6157613a606150d3565b5b613a6d87828801613886565b91505092959194509250565b60008060408385031215613a9057613a8f6150d8565b5b6000613a9e8582860161381d565b9250506020613aaf85828601613832565b9150509250929050565b60008060408385031215613ad057613acf6150d8565b5b6000613ade8582860161381d565b9250506020613aef858286016138f7565b9150509250929050565b600060208284031215613b0f57613b0e6150d8565b5b6000613b1d84828501613847565b91505092915050565b600060208284031215613b3c57613b3b6150d8565b5b6000613b4a8482850161385c565b91505092915050565b600060208284031215613b6957613b686150d8565b5b6000613b7784828501613871565b91505092915050565b600060208284031215613b9657613b956150d8565b5b6000613ba4848285016138b4565b91505092915050565b600060208284031215613bc357613bc26150d8565b5b600082013567ffffffffffffffff811115613be157613be06150d3565b5b613bed848285016138c9565b91505092915050565b60008060408385031215613c0d57613c0c6150d8565b5b600083013567ffffffffffffffff811115613c2b57613c2a6150d3565b5b613c37858286016138c9565b925050602083013567ffffffffffffffff811115613c5857613c576150d3565b5b613c64858286016138c9565b9150509250929050565b600060208284031215613c8457613c836150d8565b5b6000613c92848285016138f7565b91505092915050565b600060208284031215613cb157613cb06150d8565b5b6000613cbf8482850161390c565b91505092915050565b600080600060608486031215613ce157613ce06150d8565b5b6000613cef868287016138f7565b9350506020613d00868287016138f7565b925050604084013567ffffffffffffffff811115613d2157613d206150d3565b5b613d2d868287016138c9565b9150509250925092565b600060208284031215613d4d57613d4c6150d8565b5b6000613d5b84828501613921565b91505092915050565b613d6d81614d33565b82525050565b613d84613d7f82614d33565b614f50565b82525050565b613d9381614d45565b82525050565b613da281614d51565b82525050565b6000613db382614b04565b613dbd8185614b1a565b9350613dcd818560208601614e1d565b613dd6816150dd565b840191505092915050565b6000613dec82614b0f565b613df68185614b2b565b9350613e06818560208601614e1d565b613e0f816150dd565b840191505092915050565b6000613e2582614b0f565b613e2f8185614b3c565b9350613e3f818560208601614e1d565b80840191505092915050565b60008154613e5881614e7a565b613e628186614b3c565b94506001821660008114613e7d5760018114613e8e57613ec1565b60ff19831686528186019350613ec1565b613e9785614aef565b60005b83811015613eb957815481890152600182019150602081019050613e9a565b838801955050505b50505092915050565b6000613ed7601083614b3c565b9150613ee2826150fb565b601082019050919050565b6000613efa602083614b2b565b9150613f0582615124565b602082019050919050565b6000613f1d601783614b2b565b9150613f288261514d565b602082019050919050565b6000613f40602b83614b2b565b9150613f4b82615176565b604082019050919050565b6000613f63603283614b2b565b9150613f6e826151c5565b604082019050919050565b6000613f86602683614b2b565b9150613f9182615214565b604082019050919050565b6000613fa9601c83614b2b565b9150613fb482615263565b602082019050919050565b6000613fcc602483614b2b565b9150613fd78261528c565b604082019050919050565b6000613fef601983614b2b565b9150613ffa826152db565b602082019050919050565b6000614012602b83614b3c565b915061401d82615304565b602b82019050919050565b6000614035601483614b2b565b915061404082615353565b602082019050919050565b6000614058602c83614b2b565b91506140638261537c565b604082019050919050565b600061407b600983614b3c565b9150614086826153cb565b600982019050919050565b600061409e603883614b3c565b91506140a9826153f4565b603882019050919050565b60006140c1601383614b3c565b91506140cc82615443565b601382019050919050565b60006140e4602283614b2b565b91506140ef8261546c565b604082019050919050565b6000614107603883614b2b565b9150614112826154bb565b604082019050919050565b600061412a602a83614b2b565b91506141358261550a565b604082019050919050565b600061414d602983614b2b565b915061415882615559565b604082019050919050565b6000614170602a83614b3c565b915061417b826155a8565b602a82019050919050565b6000614193600283614b3c565b915061419e826155f7565b600282019050919050565b60006141b6602a83614b3c565b91506141c182615620565b602a82019050919050565b60006141d9602083614b2b565b91506141e48261566f565b602082019050919050565b60006141fc602483614b3c565b915061420782615698565b602482019050919050565b600061421f602c83614b2b565b915061422a826156e7565b604082019050919050565b6000614242602783614b3c565b915061424d82615736565b602782019050919050565b6000614265602083614b2b565b915061427082615785565b602082019050919050565b6000614288602983614b2b565b9150614293826157ae565b604082019050919050565b60006142ab600d83614b2b565b91506142b6826157fd565b602082019050919050565b60006142ce604583614b3c565b91506142d982615826565b604582019050919050565b60006142f1602c83614b3c565b91506142fc8261589b565b602c82019050919050565b6000614314600183614b3c565b915061431f826158ea565b600182019050919050565b6000614337602183614b2b565b915061434282615913565b604082019050919050565b600061435a602b83614b3c565b915061436582615962565b602b82019050919050565b600061437d602b83614b3c565b9150614388826159b1565b602b82019050919050565b60006143a0603183614b2b565b91506143ab82615a00565b604082019050919050565b60006143c3602f83614b3c565b91506143ce82615a4f565b602f82019050919050565b60006143e6602c83614b2b565b91506143f182615a9e565b604082019050919050565b6000614409600d83614b3c565b915061441482615aed565b600d82019050919050565b600061442c602b83614b3c565b915061443782615b16565b602b82019050919050565b61444b81614de5565b82525050565b61446261445d82614de5565b614f74565b82525050565b61447181614dfc565b82525050565b61448081614def565b82525050565b60006144928285613d73565b6014820191506144a28284614451565b6020820191508190509392505050565b60006144be8285613e4b565b91506144ca8284613e1a565b91508190509392505050565b60006144e1826141ef565b91506144ed8286613e1a565b91506144f8826140b4565b91506145048285613e1a565b915061450f82613eca565b915061451b8284613e1a565b915061452682614186565b9150819050949350505050565b600061453e826142c1565b915061454982614235565b9150614555828d613e1a565b9150614560826143b6565b915061456c828c613e1a565b9150614577826143fc565b9150614582826142e4565b915061458e828b613e1a565b915061459982614091565b91506145a5828a613e1a565b91506145b08261441f565b91506145bc8289613e1a565b91506145c7826141a9565b91506145d38288613e1a565b91506145de8261434d565b91506145ea8287613e1a565b91506145f582614005565b91506146018286613e1a565b915061460c82614163565b91506146188285613e1a565b915061462382614370565b915061462f8284613e1a565b915061463a8261406e565b91508190509b9a5050505050505050505050565b600061465982614307565b91506146658286613e1a565b91506146718285613e1a565b915061467d8284613e1a565b9150819050949350505050565b600060208201905061469f6000830184613d64565b92915050565b60006080820190506146ba6000830187613d64565b6146c76020830186613d64565b6146d46040830185614442565b81810360608301526146e68184613da8565b905095945050505050565b60006040820190506147066000830185613d64565b6147136020830184614468565b9392505050565b600060208201905061472f6000830184613d8a565b92915050565b600060208201905061474a6000830184613d99565b92915050565b6000602082019050818103600083015261476a8184613de1565b905092915050565b6000602082019050818103600083015261478b81613eed565b9050919050565b600060208201905081810360008301526147ab81613f10565b9050919050565b600060208201905081810360008301526147cb81613f33565b9050919050565b600060208201905081810360008301526147eb81613f56565b9050919050565b6000602082019050818103600083015261480b81613f79565b9050919050565b6000602082019050818103600083015261482b81613f9c565b9050919050565b6000602082019050818103600083015261484b81613fbf565b9050919050565b6000602082019050818103600083015261486b81613fe2565b9050919050565b6000602082019050818103600083015261488b81614028565b9050919050565b600060208201905081810360008301526148ab8161404b565b9050919050565b600060208201905081810360008301526148cb816140d7565b9050919050565b600060208201905081810360008301526148eb816140fa565b9050919050565b6000602082019050818103600083015261490b8161411d565b9050919050565b6000602082019050818103600083015261492b81614140565b9050919050565b6000602082019050818103600083015261494b816141cc565b9050919050565b6000602082019050818103600083015261496b81614212565b9050919050565b6000602082019050818103600083015261498b81614258565b9050919050565b600060208201905081810360008301526149ab8161427b565b9050919050565b600060208201905081810360008301526149cb8161429e565b9050919050565b600060208201905081810360008301526149eb8161432a565b9050919050565b60006020820190508181036000830152614a0b81614393565b9050919050565b60006020820190508181036000830152614a2b816143d9565b9050919050565b6000602082019050614a476000830184614442565b92915050565b6000602082019050614a626000830184614477565b92915050565b6000614a72614a83565b9050614a7e8282614eac565b919050565b6000604051905090565b600067ffffffffffffffff821115614aa857614aa761509a565b5b614ab1826150dd565b9050602081019050919050565b600067ffffffffffffffff821115614ad957614ad861509a565b5b614ae2826150dd565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b5282614de5565b9150614b5d83614de5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b9257614b91614faf565b5b828201905092915050565b6000614ba882614def565b9150614bb383614def565b92508260ff03821115614bc957614bc8614faf565b5b828201905092915050565b6000614bdf82614de5565b9150614bea83614de5565b925082614bfa57614bf9614fde565b5b828204905092915050565b6000614c1082614def565b9150614c1b83614def565b925082614c2b57614c2a614fde565b5b828204905092915050565b6000614c4182614de5565b9150614c4c83614de5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c8557614c84614faf565b5b828202905092915050565b6000614c9b82614def565b9150614ca683614def565b92508160ff0483118215151615614cc057614cbf614faf565b5b828202905092915050565b6000614cd682614de5565b9150614ce183614de5565b925082821015614cf457614cf3614faf565b5b828203905092915050565b6000614d0a82614def565b9150614d1583614def565b925082821015614d2857614d27614faf565b5b828203905092915050565b6000614d3e82614dc5565b9050919050565b60008115159050919050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614dbe82614d33565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614e0782614def565b9050919050565b82818337600083830152505050565b60005b83811015614e3b578082015181840152602081019050614e20565b83811115614e4a576000848401525b50505050565b6000614e5b82614de5565b91506000821415614e6f57614e6e614faf565b5b600182039050919050565b60006002820490506001821680614e9257607f821691505b60208210811415614ea657614ea561500d565b5b50919050565b614eb5826150dd565b810181811067ffffffffffffffff82111715614ed457614ed361509a565b5b80604052505050565b6000614ee882614de5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f1b57614f1a614faf565b5b600182019050919050565b6000614f3182614def565b915060ff821415614f4557614f44614faf565b5b600182019050919050565b6000614f5b82614f62565b9050919050565b6000614f6d826150ee565b9050919050565b6000819050919050565b6000614f8982614de5565b9150614f9483614de5565b925082614fa457614fa3614fde565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f222c22696d6167655f64617461223a2200000000000000000000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4d696e742065786365656473206d617820737570706c79000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f272f3e3c636972636c652063783d27343333272063793d273434342720723d2760008201527f3132272066696c6c3d2723000000000000000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f272f3e3c2f7376673e0000000000000000000000000000000000000000000000600082015250565b7f273e5374617267617a65723c2f746578743e3c636972636c652063783d27323060008201527f272063793d2732362720723d273530272066696c6c3d27230000000000000000602082015250565b7f222c22616e696d6174696f6e5f75726c223a2200000000000000000000000000600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e203230206174206120746960008201527f6d65000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f272f3e3c636972636c652063783d27333736272063793d2737352720723d273660008201527f35272066696c6c3d272300000000000000000000000000000000000000000000602082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f272f3e3c636972636c652063783d273838272063793d273434302720723d273760008201527f30272066696c6c3d272300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c7b226e616d60008201527f65223a2200000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f3c726563742077696474683d273130302527206865696768743d27313030252760008201527f2066696c6c3d2700000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f496e76616c69642076616c756500000000000000000000000000000000000000600082015250565b7f3c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323060008201527f30302f737667272077696474683d27353132707827206865696768743d27353160208201527f327078273e000000000000000000000000000000000000000000000000000000604082015250565b7f3c7465787420783d273133342720793d273238382720666f6e742d73697a653d60008201527f273634272066696c6c3d27230000000000000000000000000000000000000000602082015250565b7f2300000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f272f3e3c636972636c652063783d27323737272063793d273336302720723d2760008201527f3433272066696c6c3d2723000000000000000000000000000000000000000000602082015250565b7f272f3e3c636972636c652063783d27343735272063793d273233302720723d2760008201527f3332272066696c6c3d2723000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f272f3e3c7465787420783d273139342720793d273232342720666f6e742d736960008201527f7a653d273634272066696c6c3d27230000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f273e4c6f46693c2f746578743e00000000000000000000000000000000000000600082015250565b7f272f3e3c636972636c652063783d27313030272063793d273230302720723d2760008201527f3230272066696c6c3d2723000000000000000000000000000000000000000000602082015250565b615b6e81614d33565b8114615b7957600080fd5b50565b615b8581614d45565b8114615b9057600080fd5b50565b615b9c81614d7d565b8114615ba757600080fd5b50565b615bb381614d87565b8114615bbe57600080fd5b50565b615bca81614db3565b8114615bd557600080fd5b50565b615be181614de5565b8114615bec57600080fd5b50565b615bf881614def565b8114615c0357600080fd5b5056fea2646970667358221220b5a56d9001b084309cb9b773cffd614eee5122ea8c51c54b699f802438e5b3a164736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000007682969b74d73dd72963fdb353476a5c3cecf7860000000000000000000000000000000000000000000000000000000000000140000000000000000000000000f7c2df4db0ab7a1d4fc524a910b6a18eb108a960000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000000d4c6f46695374617267617a65720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044c46534700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005e68747470733a2f2f6c6f6669736b796c696e65732e6d7970696e6174612e636c6f75642f697066732f516d56556a686268523472473976643842707a665a68444850446d4e505948386568374e625666574146333637692f3f736565643d0000
Deployed Bytecode
0x6080604052600436106101f95760003560e01c8063715018a61161010d578063a86b73f0116100a0578063c5ac58e11161006f578063c5ac58e11461079b578063c87b56dd146107c4578063e88d3b3e14610801578063e985e9c514610818578063f2fde38b14610855576101f9565b8063a86b73f0146106e1578063b51bbbdf1461071e578063b5f4975914610749578063b88d4fde14610772576101f9565b80639201de55116100dc5780639201de551461063457806395d89b4114610671578063a0712d681461069c578063a22cb465146106b8576101f9565b8063715018a61461058a578063879f9c96146105a15780638da5cb5b146105cc5780638e7e34d7146105f7576101f9565b80632ecb20d3116101905780635e0fee241161015f5780635e0fee24146104595780636102de98146104965780636352211e146104d35780637052c5871461051057806370a082311461054d576101f9565b80632ecb20d3146103795780632f745c59146103b657806342842e0e146103f35780634f6ccce71461041c576101f9565b80630c0d35ed116101cc5780630c0d35ed146102cc57806318160ddd1461030957806323b872dd146103345780632e1a7d4d1461035d576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190613b26565b61087e565b604051610232919061471a565b60405180910390f35b34801561024757600080fd5b506102506108f8565b60405161025d9190614750565b60405180910390f35b34801561027257600080fd5b5061028d60048036038101906102889190613c6e565b61098a565b60405161029a919061468a565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190613ab9565b610a0f565b005b3480156102d857600080fd5b506102f360048036038101906102ee9190613cc8565b610b27565b6040516103009190614750565b60405180910390f35b34801561031557600080fd5b5061031e610c3c565b60405161032b9190614a32565b60405180910390f35b34801561034057600080fd5b5061035b600480360381019061035691906139a3565b610c49565b005b61037760048036038101906103729190613c6e565b610ca9565b005b34801561038557600080fd5b506103a0600480360381019061039b9190613d37565b610d9e565b6040516103ad9190614a4d565b60405180910390f35b3480156103c257600080fd5b506103dd60048036038101906103d89190613ab9565b611109565b6040516103ea9190614a32565b60405180910390f35b3480156103ff57600080fd5b5061041a600480360381019061041591906139a3565b6111ae565b005b34801561042857600080fd5b50610443600480360381019061043e9190613c6e565b6111ce565b6040516104509190614a32565b60405180910390f35b34801561046557600080fd5b50610480600480360381019061047b9190613bf6565b61123f565b60405161048d9190614750565b60405180910390f35b3480156104a257600080fd5b506104bd60048036038101906104b89190613963565b61127b565b6040516104ca919061471a565b60405180910390f35b3480156104df57600080fd5b506104fa60048036038101906104f59190613c6e565b61139c565b604051610507919061468a565b60405180910390f35b34801561051c57600080fd5b5061053760048036038101906105329190613c6e565b61144e565b604051610544919061471a565b60405180910390f35b34801561055957600080fd5b50610574600480360381019061056f9190613936565b611478565b6040516105819190614a32565b60405180910390f35b34801561059657600080fd5b5061059f611530565b005b3480156105ad57600080fd5b506105b66115b8565b6040516105c39190614a32565b60405180910390f35b3480156105d857600080fd5b506105e16115c9565b6040516105ee919061468a565b60405180910390f35b34801561060357600080fd5b5061061e60048036038101906106199190613bad565b6115f3565b60405161062b9190614a32565b60405180910390f35b34801561064057600080fd5b5061065b60048036038101906106569190613af9565b611747565b6040516106689190614750565b60405180910390f35b34801561067d57600080fd5b506106866118fd565b6040516106939190614750565b60405180910390f35b6106b660048036038101906106b19190613c6e565b61198f565b005b3480156106c457600080fd5b506106df60048036038101906106da9190613a79565b611b28565b005b3480156106ed57600080fd5b5061070860048036038101906107039190613d37565b611ca9565b6040516107159190614735565b60405180910390f35b34801561072a57600080fd5b50610733611ce6565b6040516107409190614750565b60405180910390f35b34801561075557600080fd5b50610770600480360381019061076b9190613936565b611d74565b005b34801561077e57600080fd5b50610799600480360381019061079491906139f6565b611e34565b005b3480156107a757600080fd5b506107c260048036038101906107bd9190613bad565b611e96565b005b3480156107d057600080fd5b506107eb60048036038101906107e69190613c6e565b611f2c565b6040516107f89190614750565b60405180910390f35b34801561080d57600080fd5b50610816612015565b005b34801561082457600080fd5b5061083f600480360381019061083a9190613963565b61223e565b60405161084c919061471a565b60405180910390f35b34801561086157600080fd5b5061087c60048036038101906108779190613936565b61226b565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108f157506108f082612363565b5b9050919050565b60606000805461090790614e7a565b80601f016020809104026020016040519081016040528092919081815260200182805461093390614e7a565b80156109805780601f1061095557610100808354040283529160200191610980565b820191906000526020600020905b81548152906001019060200180831161096357829003601f168201915b5050505050905090565b600061099582612445565b6109d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb90614952565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a1a8261139c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a82906149d2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aaa6124b1565b73ffffffffffffffffffffffffffffffffffffffff161480610ad95750610ad881610ad36124b1565b61223e565b5b610b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0f906148d2565b60405180910390fd5b610b2283836124b9565b505050565b6060600060018585610b399190614ccb565b610b439190614b47565b67ffffffffffffffff811115610b5c57610b5b61509a565b5b6040519080825280601f01601f191660200182016040528015610b8e5781602001600182028036833780820191505090505b50905060005b8585610ba09190614ccb565b8111610c30578360018783610bb59190614b47565b610bbf9190614ccb565b81518110610bd057610bcf61506b565b5b602001015160f81c60f81b828281518110610bee57610bed61506b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080610c2890614edd565b915050610b94565b50809150509392505050565b6000600880549050905090565b610c5a610c546124b1565b82612572565b610c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c90906149f2565b60405180910390fd5b610ca4838383612650565b505050565b610cb16124b1565b73ffffffffffffffffffffffffffffffffffffffff16610ccf6115c9565b73ffffffffffffffffffffffffffffffffffffffff1614610d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1c90614972565b60405180910390fd5b47811115610d3257600080fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d9a573d6000803e3d6000fd5b5050565b60007f30000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015610e7e57507f39000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b15610eb9577f300000000000000000000000000000000000000000000000000000000000000060f81c82610eb29190614cff565b9050611104565b7f61000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015610f9757507f66000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b15610fde577f610000000000000000000000000000000000000000000000000000000000000060f81c82600a610fcd9190614b9d565b610fd79190614cff565b9050611104565b7f41000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156110bc57507f46000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b15611103577f410000000000000000000000000000000000000000000000000000000000000060f81c82600a6110f29190614b9d565b6110fc9190614cff565b9050611104565b5b919050565b600061111483611478565b8210611155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114c906147b2565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6111c983838360405180602001604052806000815250611e34565b505050565b60006111d8610c3c565b8210611219576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121090614a12565b60405180910390fd5b6008828154811061122d5761122c61506b565b5b90600052602060002001549050919050565b606081838485868788898a8b6040516020016112649a99989796959493929190614533565b604051602081830303815290604052905092915050565b600080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561139357508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b815260040161132b919061468a565b60206040518083038186803b15801561134357600080fd5b505afa158015611357573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137b9190613b80565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611445576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143c90614912565b60405180910390fd5b80915050919050565b60006011600083815260200190815260200160002060009054906101000a900460ff169050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e0906148f2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115386124b1565b73ffffffffffffffffffffffffffffffffffffffff166115566115c9565b73ffffffffffffffffffffffffffffffffffffffff16146115ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a390614972565b60405180910390fd5b6115b660006128ac565b565b60006115c4600f612972565b905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000808290506000600282516116099190614f7e565b1461161357600080fd5b6000600282516116239190614bd4565b67ffffffffffffffff81111561163c5761163b61509a565b5b6040519080825280601f01601f19166020018201604052801561166e5781602001600182028036833780820191505090505b509050600080600090505b600284516116879190614bd4565b81101561173b576116cf8460018360026116a19190614c36565b6116ab9190614b47565b815181106116bc576116bb61506b565b5b602001015160f81c60f81b60f81c610d9e565b6010611706868460026116e29190614c36565b815181106116f3576116f261506b565b5b602001015160f81c60f81b60f81c610d9e565b6117109190614c90565b61171a9190614b9d565b60ff16826117289190614b47565b91508061173490614edd565b9050611679565b50809350505050919050565b6060600080604067ffffffffffffffff8111156117675761176661509a565b5b6040519080825280601f01601f1916602001820160405280156117995781602001600182028036833780820191505090505b509050600091505b80518260ff1610156118f3576000600f60f81b856002856117c29190614c05565b60ff16602081106117d6576117d561506b565b5b1a60f81b1660f81c905060006004866002866117f29190614c05565b60ff16602081106118065761180561506b565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c905061183c82611ca9565b838560ff16815181106118525761185161506b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060018461188e9190614b9d565b935061189981611ca9565b838560ff16815181106118af576118ae61506b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350505081806118eb90614f26565b9250506117a1565b8092505050919050565b60606001805461190c90614e7a565b80601f016020809104026020016040519081016040528092919081815260200182805461193890614e7a565b80156119855780601f1061195a57610100808354040283529160200191611985565b820191906000526020600020905b81548152906001019060200180831161196857829003601f168201915b5050505050905090565b346119ab826702c68af0bb14000061298090919063ffffffff16565b146119eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e2906149b2565b60405180910390fd5b6014811115611a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a26906148b2565b60405180910390fd5b610457611a4e82611a40600f612972565b61299690919063ffffffff16565b1115611a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8690614792565b60405180910390fd5b60005b81811015611b2457611aa4600f6129ac565b6000611ac4610d05611ab6600f612972565b61299690919063ffffffff16565b9050611ad033826129c2565b3381604051602001611ae3929190614486565b604051602081830303815290604052805190602001206010600083815260200190815260200160002081905550508080611b1c90614edd565b915050611a92565b5050565b611b306124b1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9590614852565b60405180910390fd5b8060056000611bab6124b1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c586124b1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c9d919061471a565b60405180910390a35050565b6000600a8260ff161015611cce57603082611cc49190614b9d565b60f81b9050611ce1565b605782611cdb9190614b9d565b60f81b90505b919050565b600c8054611cf390614e7a565b80601f0160208091040260200160405190810160405280929190818152602001828054611d1f90614e7a565b8015611d6c5780601f10611d4157610100808354040283529160200191611d6c565b820191906000526020600020905b815481529060010190602001808311611d4f57829003601f168201915b505050505081565b611d7c6124b1565b73ffffffffffffffffffffffffffffffffffffffff16611d9a6115c9565b73ffffffffffffffffffffffffffffffffffffffff1614611df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de790614972565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611e45611e3f6124b1565b83612572565b611e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7b906149f2565b60405180910390fd5b611e9084848484612b90565b50505050565b611e9e6124b1565b73ffffffffffffffffffffffffffffffffffffffff16611ebc6115c9565b73ffffffffffffffffffffffffffffffffffffffff1614611f12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0990614972565b60405180910390fd5b80600c9080519060200190611f289291906136f6565b5050565b6060611f3782612445565b611f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6d90614872565b60405180910390fd5b6000611f946010600085815260200190815260200160002054611747565b90506000611fa5603b604084610b27565b90506000819050611fb585612bec565b600c84604051602001611fc99291906144b2565b604051602081830303815290604052611fea83611fe586612d75565b61123f565b604051602001611ffc939291906144d6565b6040516020818303038152906040529350505050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401612072919061468a565b60206040518083038186803b15801561208a57600080fd5b505afa15801561209e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c29190613c9b565b905060005b818160ff16101561223a576000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5933846040518363ffffffff1660e01b81526004016121319291906146f1565b60206040518083038186803b15801561214957600080fd5b505afa15801561215d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121819190613c9b565b90506011600082815260200190815260200160002060009054906101000a900460ff16156121af5750612227565b6121b933826129c2565b33816040516020016121cc929190614486565b60405160208183030381529060405280519060200120601060008381526020019081526020016000208190555060016011600083815260200190815260200160002060006101000a81548160ff021916908315150217905550505b808061223290614f26565b9150506120c7565b5050565b600061224a838361127b565b156122585760019050612265565b6122628383612e35565b90505b92915050565b6122736124b1565b73ffffffffffffffffffffffffffffffffffffffff166122916115c9565b73ffffffffffffffffffffffffffffffffffffffff16146122e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122de90614972565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612357576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234e906147f2565b60405180910390fd5b612360816128ac565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061242e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061243e575061243d82612ec9565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661252c8361139c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061257d82612445565b6125bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b390614892565b60405180910390fd5b60006125c78361139c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061263657508373ffffffffffffffffffffffffffffffffffffffff1661261e8461098a565b73ffffffffffffffffffffffffffffffffffffffff16145b806126475750612646818561223e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166126708261139c565b73ffffffffffffffffffffffffffffffffffffffff16146126c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bd90614992565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612736576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272d90614832565b60405180910390fd5b612741838383612f33565b61274c6000826124b9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461279c9190614ccb565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127f39190614b47565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b6000818361298e9190614c36565b905092915050565b600081836129a49190614b47565b905092915050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2990614932565b60405180910390fd5b612a3b81612445565b15612a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7290614812565b60405180910390fd5b612a8760008383612f33565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ad79190614b47565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612b9b848484612650565b612ba784848484613047565b612be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdd906147d2565b60405180910390fd5b50505050565b60606000821415612c34576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d70565b600082905060005b60008214612c66578080612c4f90614edd565b915050600a82612c5f9190614bd4565b9150612c3c565b60008167ffffffffffffffff811115612c8257612c8161509a565b5b6040519080825280601f01601f191660200182016040528015612cb45781602001600182028036833780820191505090505b50905060008290505b60008614612d6857600181612cd29190614ccb565b90506000600a8088612ce49190614bd4565b612cee9190614c36565b87612cf99190614ccb565b6030612d059190614b9d565b905060008160f81b905080848481518110612d2357612d2261506b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a88612d5f9190614bd4565b97505050612cbd565b819450505050505b919050565b60606000612d866001600285610b27565b90506000612d976003600486610b27565b90506000612da86005600687610b27565b90506000612db5846115f3565b90506000612dc2846115f3565b90506000612dcf846115f3565b9050600060ff84189050600060ff84189050600060ff84189050612df2836131de565b612dfb836131de565b612e04836131de565b604051602001612e169392919061464e565b6040516020818303038152906040529950505050505050505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f3e838383613264565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f8157612f7c81613269565b612fc0565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612fbf57612fbe83826132b2565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561300357612ffe8161341f565b613042565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130415761304082826134f0565b5b5b505050565b60006130688473ffffffffffffffffffffffffffffffffffffffff1661356f565b156131d1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130916124b1565b8786866040518563ffffffff1660e01b81526004016130b394939291906146a5565b602060405180830381600087803b1580156130cd57600080fd5b505af19250505080156130fe57506040513d601f19601f820116820180604052508101906130fb9190613b53565b60015b613181573d806000811461312e576040519150601f19603f3d011682016040523d82523d6000602084013e613133565b606091505b50600081511415613179576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613170906147d2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131d6565b600190505b949350505050565b60606000821415613226576040518060400160405280600481526020017f3078303000000000000000000000000000000000000000000000000000000000815250905061325f565b600082905060005b6000821461325057808061324190614edd565b915050600882901c915061322e565b61325a8482613582565b925050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016132bf84611478565b6132c99190614ccb565b90506000600760008481526020019081526020016000205490508181146133ae576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506134339190614ccb565b90506000600960008481526020019081526020016000205490506000600883815481106134635761346261506b565b5b9060005260206000200154905080600883815481106134855761348461506b565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806134d4576134d361503c565b5b6001900381819060005260206000200160009055905550505050565b60006134fb83611478565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b6060600060028360026135959190614c36565b61359f9190614b47565b67ffffffffffffffff8111156135b8576135b761509a565b5b6040519080825280601f01601f1916602001820160405280156135ea5781602001600182028036833780820191505090505b509050600060018460026135fe9190614c36565b6136089190614b47565b90505b60018111156136a8577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061364a5761364961506b565b5b1a60f81b8282815181106136615761366061506b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806136a190614e50565b905061360b565b50600084146136ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136e390614772565b60405180910390fd5b8091505092915050565b82805461370290614e7a565b90600052602060002090601f016020900481019282613724576000855561376b565b82601f1061373d57805160ff191683800117855561376b565b8280016001018555821561376b579182015b8281111561376a57825182559160200191906001019061374f565b5b509050613778919061377c565b5090565b5b8082111561379557600081600090555060010161377d565b5090565b60006137ac6137a784614a8d565b614a68565b9050828152602081018484840111156137c8576137c76150ce565b5b6137d3848285614e0e565b509392505050565b60006137ee6137e984614abe565b614a68565b90508281526020810184848401111561380a576138096150ce565b5b613815848285614e0e565b509392505050565b60008135905061382c81615b65565b92915050565b60008135905061384181615b7c565b92915050565b60008135905061385681615b93565b92915050565b60008135905061386b81615baa565b92915050565b60008151905061388081615baa565b92915050565b600082601f83011261389b5761389a6150c9565b5b81356138ab848260208601613799565b91505092915050565b6000815190506138c381615bc1565b92915050565b600082601f8301126138de576138dd6150c9565b5b81356138ee8482602086016137db565b91505092915050565b60008135905061390681615bd8565b92915050565b60008151905061391b81615bd8565b92915050565b60008135905061393081615bef565b92915050565b60006020828403121561394c5761394b6150d8565b5b600061395a8482850161381d565b91505092915050565b6000806040838503121561397a576139796150d8565b5b60006139888582860161381d565b92505060206139998582860161381d565b9150509250929050565b6000806000606084860312156139bc576139bb6150d8565b5b60006139ca8682870161381d565b93505060206139db8682870161381d565b92505060406139ec868287016138f7565b9150509250925092565b60008060008060808587031215613a1057613a0f6150d8565b5b6000613a1e8782880161381d565b9450506020613a2f8782880161381d565b9350506040613a40878288016138f7565b925050606085013567ffffffffffffffff811115613a6157613a606150d3565b5b613a6d87828801613886565b91505092959194509250565b60008060408385031215613a9057613a8f6150d8565b5b6000613a9e8582860161381d565b9250506020613aaf85828601613832565b9150509250929050565b60008060408385031215613ad057613acf6150d8565b5b6000613ade8582860161381d565b9250506020613aef858286016138f7565b9150509250929050565b600060208284031215613b0f57613b0e6150d8565b5b6000613b1d84828501613847565b91505092915050565b600060208284031215613b3c57613b3b6150d8565b5b6000613b4a8482850161385c565b91505092915050565b600060208284031215613b6957613b686150d8565b5b6000613b7784828501613871565b91505092915050565b600060208284031215613b9657613b956150d8565b5b6000613ba4848285016138b4565b91505092915050565b600060208284031215613bc357613bc26150d8565b5b600082013567ffffffffffffffff811115613be157613be06150d3565b5b613bed848285016138c9565b91505092915050565b60008060408385031215613c0d57613c0c6150d8565b5b600083013567ffffffffffffffff811115613c2b57613c2a6150d3565b5b613c37858286016138c9565b925050602083013567ffffffffffffffff811115613c5857613c576150d3565b5b613c64858286016138c9565b9150509250929050565b600060208284031215613c8457613c836150d8565b5b6000613c92848285016138f7565b91505092915050565b600060208284031215613cb157613cb06150d8565b5b6000613cbf8482850161390c565b91505092915050565b600080600060608486031215613ce157613ce06150d8565b5b6000613cef868287016138f7565b9350506020613d00868287016138f7565b925050604084013567ffffffffffffffff811115613d2157613d206150d3565b5b613d2d868287016138c9565b9150509250925092565b600060208284031215613d4d57613d4c6150d8565b5b6000613d5b84828501613921565b91505092915050565b613d6d81614d33565b82525050565b613d84613d7f82614d33565b614f50565b82525050565b613d9381614d45565b82525050565b613da281614d51565b82525050565b6000613db382614b04565b613dbd8185614b1a565b9350613dcd818560208601614e1d565b613dd6816150dd565b840191505092915050565b6000613dec82614b0f565b613df68185614b2b565b9350613e06818560208601614e1d565b613e0f816150dd565b840191505092915050565b6000613e2582614b0f565b613e2f8185614b3c565b9350613e3f818560208601614e1d565b80840191505092915050565b60008154613e5881614e7a565b613e628186614b3c565b94506001821660008114613e7d5760018114613e8e57613ec1565b60ff19831686528186019350613ec1565b613e9785614aef565b60005b83811015613eb957815481890152600182019150602081019050613e9a565b838801955050505b50505092915050565b6000613ed7601083614b3c565b9150613ee2826150fb565b601082019050919050565b6000613efa602083614b2b565b9150613f0582615124565b602082019050919050565b6000613f1d601783614b2b565b9150613f288261514d565b602082019050919050565b6000613f40602b83614b2b565b9150613f4b82615176565b604082019050919050565b6000613f63603283614b2b565b9150613f6e826151c5565b604082019050919050565b6000613f86602683614b2b565b9150613f9182615214565b604082019050919050565b6000613fa9601c83614b2b565b9150613fb482615263565b602082019050919050565b6000613fcc602483614b2b565b9150613fd78261528c565b604082019050919050565b6000613fef601983614b2b565b9150613ffa826152db565b602082019050919050565b6000614012602b83614b3c565b915061401d82615304565b602b82019050919050565b6000614035601483614b2b565b915061404082615353565b602082019050919050565b6000614058602c83614b2b565b91506140638261537c565b604082019050919050565b600061407b600983614b3c565b9150614086826153cb565b600982019050919050565b600061409e603883614b3c565b91506140a9826153f4565b603882019050919050565b60006140c1601383614b3c565b91506140cc82615443565b601382019050919050565b60006140e4602283614b2b565b91506140ef8261546c565b604082019050919050565b6000614107603883614b2b565b9150614112826154bb565b604082019050919050565b600061412a602a83614b2b565b91506141358261550a565b604082019050919050565b600061414d602983614b2b565b915061415882615559565b604082019050919050565b6000614170602a83614b3c565b915061417b826155a8565b602a82019050919050565b6000614193600283614b3c565b915061419e826155f7565b600282019050919050565b60006141b6602a83614b3c565b91506141c182615620565b602a82019050919050565b60006141d9602083614b2b565b91506141e48261566f565b602082019050919050565b60006141fc602483614b3c565b915061420782615698565b602482019050919050565b600061421f602c83614b2b565b915061422a826156e7565b604082019050919050565b6000614242602783614b3c565b915061424d82615736565b602782019050919050565b6000614265602083614b2b565b915061427082615785565b602082019050919050565b6000614288602983614b2b565b9150614293826157ae565b604082019050919050565b60006142ab600d83614b2b565b91506142b6826157fd565b602082019050919050565b60006142ce604583614b3c565b91506142d982615826565b604582019050919050565b60006142f1602c83614b3c565b91506142fc8261589b565b602c82019050919050565b6000614314600183614b3c565b915061431f826158ea565b600182019050919050565b6000614337602183614b2b565b915061434282615913565b604082019050919050565b600061435a602b83614b3c565b915061436582615962565b602b82019050919050565b600061437d602b83614b3c565b9150614388826159b1565b602b82019050919050565b60006143a0603183614b2b565b91506143ab82615a00565b604082019050919050565b60006143c3602f83614b3c565b91506143ce82615a4f565b602f82019050919050565b60006143e6602c83614b2b565b91506143f182615a9e565b604082019050919050565b6000614409600d83614b3c565b915061441482615aed565b600d82019050919050565b600061442c602b83614b3c565b915061443782615b16565b602b82019050919050565b61444b81614de5565b82525050565b61446261445d82614de5565b614f74565b82525050565b61447181614dfc565b82525050565b61448081614def565b82525050565b60006144928285613d73565b6014820191506144a28284614451565b6020820191508190509392505050565b60006144be8285613e4b565b91506144ca8284613e1a565b91508190509392505050565b60006144e1826141ef565b91506144ed8286613e1a565b91506144f8826140b4565b91506145048285613e1a565b915061450f82613eca565b915061451b8284613e1a565b915061452682614186565b9150819050949350505050565b600061453e826142c1565b915061454982614235565b9150614555828d613e1a565b9150614560826143b6565b915061456c828c613e1a565b9150614577826143fc565b9150614582826142e4565b915061458e828b613e1a565b915061459982614091565b91506145a5828a613e1a565b91506145b08261441f565b91506145bc8289613e1a565b91506145c7826141a9565b91506145d38288613e1a565b91506145de8261434d565b91506145ea8287613e1a565b91506145f582614005565b91506146018286613e1a565b915061460c82614163565b91506146188285613e1a565b915061462382614370565b915061462f8284613e1a565b915061463a8261406e565b91508190509b9a5050505050505050505050565b600061465982614307565b91506146658286613e1a565b91506146718285613e1a565b915061467d8284613e1a565b9150819050949350505050565b600060208201905061469f6000830184613d64565b92915050565b60006080820190506146ba6000830187613d64565b6146c76020830186613d64565b6146d46040830185614442565b81810360608301526146e68184613da8565b905095945050505050565b60006040820190506147066000830185613d64565b6147136020830184614468565b9392505050565b600060208201905061472f6000830184613d8a565b92915050565b600060208201905061474a6000830184613d99565b92915050565b6000602082019050818103600083015261476a8184613de1565b905092915050565b6000602082019050818103600083015261478b81613eed565b9050919050565b600060208201905081810360008301526147ab81613f10565b9050919050565b600060208201905081810360008301526147cb81613f33565b9050919050565b600060208201905081810360008301526147eb81613f56565b9050919050565b6000602082019050818103600083015261480b81613f79565b9050919050565b6000602082019050818103600083015261482b81613f9c565b9050919050565b6000602082019050818103600083015261484b81613fbf565b9050919050565b6000602082019050818103600083015261486b81613fe2565b9050919050565b6000602082019050818103600083015261488b81614028565b9050919050565b600060208201905081810360008301526148ab8161404b565b9050919050565b600060208201905081810360008301526148cb816140d7565b9050919050565b600060208201905081810360008301526148eb816140fa565b9050919050565b6000602082019050818103600083015261490b8161411d565b9050919050565b6000602082019050818103600083015261492b81614140565b9050919050565b6000602082019050818103600083015261494b816141cc565b9050919050565b6000602082019050818103600083015261496b81614212565b9050919050565b6000602082019050818103600083015261498b81614258565b9050919050565b600060208201905081810360008301526149ab8161427b565b9050919050565b600060208201905081810360008301526149cb8161429e565b9050919050565b600060208201905081810360008301526149eb8161432a565b9050919050565b60006020820190508181036000830152614a0b81614393565b9050919050565b60006020820190508181036000830152614a2b816143d9565b9050919050565b6000602082019050614a476000830184614442565b92915050565b6000602082019050614a626000830184614477565b92915050565b6000614a72614a83565b9050614a7e8282614eac565b919050565b6000604051905090565b600067ffffffffffffffff821115614aa857614aa761509a565b5b614ab1826150dd565b9050602081019050919050565b600067ffffffffffffffff821115614ad957614ad861509a565b5b614ae2826150dd565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b5282614de5565b9150614b5d83614de5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b9257614b91614faf565b5b828201905092915050565b6000614ba882614def565b9150614bb383614def565b92508260ff03821115614bc957614bc8614faf565b5b828201905092915050565b6000614bdf82614de5565b9150614bea83614de5565b925082614bfa57614bf9614fde565b5b828204905092915050565b6000614c1082614def565b9150614c1b83614def565b925082614c2b57614c2a614fde565b5b828204905092915050565b6000614c4182614de5565b9150614c4c83614de5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c8557614c84614faf565b5b828202905092915050565b6000614c9b82614def565b9150614ca683614def565b92508160ff0483118215151615614cc057614cbf614faf565b5b828202905092915050565b6000614cd682614de5565b9150614ce183614de5565b925082821015614cf457614cf3614faf565b5b828203905092915050565b6000614d0a82614def565b9150614d1583614def565b925082821015614d2857614d27614faf565b5b828203905092915050565b6000614d3e82614dc5565b9050919050565b60008115159050919050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614dbe82614d33565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614e0782614def565b9050919050565b82818337600083830152505050565b60005b83811015614e3b578082015181840152602081019050614e20565b83811115614e4a576000848401525b50505050565b6000614e5b82614de5565b91506000821415614e6f57614e6e614faf565b5b600182039050919050565b60006002820490506001821680614e9257607f821691505b60208210811415614ea657614ea561500d565b5b50919050565b614eb5826150dd565b810181811067ffffffffffffffff82111715614ed457614ed361509a565b5b80604052505050565b6000614ee882614de5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f1b57614f1a614faf565b5b600182019050919050565b6000614f3182614def565b915060ff821415614f4557614f44614faf565b5b600182019050919050565b6000614f5b82614f62565b9050919050565b6000614f6d826150ee565b9050919050565b6000819050919050565b6000614f8982614de5565b9150614f9483614de5565b925082614fa457614fa3614fde565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f222c22696d6167655f64617461223a2200000000000000000000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4d696e742065786365656473206d617820737570706c79000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f272f3e3c636972636c652063783d27343333272063793d273434342720723d2760008201527f3132272066696c6c3d2723000000000000000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f272f3e3c2f7376673e0000000000000000000000000000000000000000000000600082015250565b7f273e5374617267617a65723c2f746578743e3c636972636c652063783d27323060008201527f272063793d2732362720723d273530272066696c6c3d27230000000000000000602082015250565b7f222c22616e696d6174696f6e5f75726c223a2200000000000000000000000000600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e203230206174206120746960008201527f6d65000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f272f3e3c636972636c652063783d27333736272063793d2737352720723d273660008201527f35272066696c6c3d272300000000000000000000000000000000000000000000602082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f272f3e3c636972636c652063783d273838272063793d273434302720723d273760008201527f30272066696c6c3d272300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c7b226e616d60008201527f65223a2200000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f3c726563742077696474683d273130302527206865696768743d27313030252760008201527f2066696c6c3d2700000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f496e76616c69642076616c756500000000000000000000000000000000000000600082015250565b7f3c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323060008201527f30302f737667272077696474683d27353132707827206865696768743d27353160208201527f327078273e000000000000000000000000000000000000000000000000000000604082015250565b7f3c7465787420783d273133342720793d273238382720666f6e742d73697a653d60008201527f273634272066696c6c3d27230000000000000000000000000000000000000000602082015250565b7f2300000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f272f3e3c636972636c652063783d27323737272063793d273336302720723d2760008201527f3433272066696c6c3d2723000000000000000000000000000000000000000000602082015250565b7f272f3e3c636972636c652063783d27343735272063793d273233302720723d2760008201527f3332272066696c6c3d2723000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f272f3e3c7465787420783d273139342720793d273232342720666f6e742d736960008201527f7a653d273634272066696c6c3d27230000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f273e4c6f46693c2f746578743e00000000000000000000000000000000000000600082015250565b7f272f3e3c636972636c652063783d27313030272063793d273230302720723d2760008201527f3230272066696c6c3d2723000000000000000000000000000000000000000000602082015250565b615b6e81614d33565b8114615b7957600080fd5b50565b615b8581614d45565b8114615b9057600080fd5b50565b615b9c81614d7d565b8114615ba757600080fd5b50565b615bb381614d87565b8114615bbe57600080fd5b50565b615bca81614db3565b8114615bd557600080fd5b50565b615be181614de5565b8114615bec57600080fd5b50565b615bf881614def565b8114615c0357600080fd5b5056fea2646970667358221220b5a56d9001b084309cb9b773cffd614eee5122ea8c51c54b699f802438e5b3a164736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000007682969b74d73dd72963fdb353476a5c3cecf7860000000000000000000000000000000000000000000000000000000000000140000000000000000000000000f7c2df4db0ab7a1d4fc524a910b6a18eb108a960000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000000d4c6f46695374617267617a65720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044c46534700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005e68747470733a2f2f6c6f6669736b796c696e65732e6d7970696e6174612e636c6f75642f697066732f516d56556a686268523472473976643842707a665a68444850446d4e505948386568374e625666574146333637692f3f736565643d0000
-----Decoded View---------------
Arg [0] : _name (string): LoFiStargazer
Arg [1] : _symbol (string): LFSG
Arg [2] : _admin (address): 0x7682969b74d73dd72963Fdb353476a5C3cecf786
Arg [3] : _animationURI (string): https://lofiskylines.mypinata.cloud/ipfs/QmVUjhbhR4rG9vd8BpzfZhDHPDmNPYH8eh7NbVfWAF367i/?seed=
Arg [4] : _skylines (address): 0xF7C2Df4dB0Ab7a1D4fc524A910b6a18Eb108A960
Arg [5] : openseaProxyRegistry_ (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000007682969b74d73dd72963fdb353476a5c3cecf786
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [4] : 000000000000000000000000f7c2df4db0ab7a1d4fc524a910b6a18eb108a960
Arg [5] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [7] : 4c6f46695374617267617a657200000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 4c46534700000000000000000000000000000000000000000000000000000000
Arg [10] : 000000000000000000000000000000000000000000000000000000000000005e
Arg [11] : 68747470733a2f2f6c6f6669736b796c696e65732e6d7970696e6174612e636c
Arg [12] : 6f75642f697066732f516d56556a686268523472473976643842707a665a6844
Arg [13] : 4850446d4e505948386568374e625666574146333637692f3f736565643d0000
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.