ERC-721
NFT
Overview
Max Total Supply
3,333 LFSL
Holders
1,258
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 LFSLLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LoFiSkylines
Compiler Version
v0.8.0+commit.c7dfd78e
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/security/ReentrancyGuard.sol"; contract LoFiSkylines is ERC721Enumerable, Ownable, ReentrancyGuard { using SafeMath for uint256; using Counters for Counters.Counter; uint256 public max_supply = 3333; string private _contractURI; bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; string animationCode; string animationURI; address payable admin; ProxyRegistry private _proxyRegistry; Counters.Counter private _tokenIds; mapping(uint256 => bytes32) bHash; modifier onlyAdmin() { require(admin == msg.sender, "Only Owner allowed"); _; } constructor( string memory _name, string memory _symbol, address payable _admin, string memory _animationURI, address openseaProxyRegistry_ ) ERC721(_name, _symbol) { admin = _admin; animationURI = _animationURI; if (address(0) != openseaProxyRegistry_) { _setOpenSeaRegistry(openseaProxyRegistry_); } } function mint(uint256 _amount) public payable nonReentrant { require( uint256(100000000000000000).mul(_amount) == msg.value, "Invalid value" ); require(_amount <= 20, "Cannot mint more than 20 at a time"); require( _tokenIds.current().add(_amount) <= max_supply, "Mint exceeds max supply" ); for (uint256 i = 0; i < _amount; i++) { _tokenIds.increment(); uint256 newNftTokenId = _tokenIds.current(); _mint(msg.sender, newNftTokenId); bHash[newNftTokenId] = bytes32( keccak256(abi.encodePacked(address(msg.sender), newNftTokenId)) ); } } function setAnimationCode(string memory newAnimationCode) public onlyAdmin { animationCode = newAnimationCode; } function setAnimationURI(string memory newAnimationURI) public onlyAdmin { 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; string memory bg = getBG(baseColor); return string( abi.encodePacked( 'data:application/json;utf8,{"name":"', uint2str(_tokenId), '","animation_url":"', animationURL(_tokenId, seed), '","image_data":"', baseImg(fg, bg), '"}' ) ); } function animationURL(uint256 _tokenId, string memory _seed) internal view returns (string memory) { return string(abi.encodePacked(animationURI, _seed)); } function baseImg(string memory fg, string memory bg) public view 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, "'>SkyLines</text>", "<rect x='20' y='256' width='50' height='512' fill-opacity='0' stroke='#", fg, "'/>", "<rect x='100' y='325' width='50' height='512' fill-opacity='0' stroke='#", fg, "'/>", "<rect x='175' y='450' width='50' height='512' fill-opacity='0' stroke='#", fg, "'/>", "<rect x='250' y='400' width='50' height='512' fill-opacity='0' stroke='#", fg, "'/>", "<rect x='325' y='475' width='50' height='512' fill-opacity='0' stroke='#", fg, "'/>", "<rect x='400' y='275' width='50' height='512' fill-opacity='0' stroke='#", fg, "'/>", "<rect x='475' y='375' width='50' height='512' fill-opacity='0' stroke='#", 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 onlyAdmin { 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); } /// @notice Returns the contract URI function. Used on OpenSea to get details // about a contract (owner, royalties etc...) function contractURI() public view returns (string memory) { return _contractURI; } /// @notice Helper for OpenSea gas-less trading /// @dev Allows to check if `operator` is owner's OpenSea proxy /// @param owner the owner we check for /// @param operator the operator (proxy) we check for function isOwnersOpenSeaProxy(address owner, address operator) public view returns (bool) { ProxyRegistry proxyRegistry = _proxyRegistry; return // we have a proxy registry address address(proxyRegistry) != address(0) && // current operator is owner's proxy address address(proxyRegistry.proxies(owner)) == operator; } /// @dev Internal function to set the _contractURI /// @param contractURI_ the new contract uri function _setContractURI(string memory contractURI_) internal { _contractURI = contractURI_; } /// @dev Internal function to set the _proxyRegistry /// @param proxyRegistryAddress the new proxy registry address function _setOpenSeaRegistry(address proxyRegistryAddress) internal { _proxyRegistry = ProxyRegistry(proxyRegistryAddress); } /// @notice Allows gas-less trading on OpenSea by safelisting the Proxy of the user /// @dev Override isApprovedForAll to check first if current operator is owner's OpenSea proxy /// @inheritdoc ERC721 function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { // allows gas less trading on OpenSea if (isOwnersOpenSeaProxy(owner, operator)) { return true; } return super.isApprovedForAll(owner, operator); } /// @dev Internal function to set the _proxyRegistry /// @param proxyRegistryAddress the new proxy registry address function setOpenSeaRegistry(address proxyRegistryAddress) external onlyAdmin { _proxyRegistry = ProxyRegistry(proxyRegistryAddress); } /// @notice Helper for the owner of the contract to set the new contract URI /// @dev needs to be owner /// @param contractURI_ new contract URI function setContractURI(string memory contractURI_) external onlyOwner { _setContractURI(contractURI_); } } contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT 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 "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../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; /** * @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; 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 "./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); }
// 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); }
{ "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":"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":[{"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":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_bytes32","type":"bytes32"}],"name":"bytes32ToString","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":[],"name":"max_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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":"newAnimationCode","type":"string"}],"name":"setAnimationCode","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":"string","name":"contractURI_","type":"string"}],"name":"setContractURI","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
6080604052610d05600c553480156200001757600080fd5b50604051620064373803806200643783398181016040528101906200003d9190620003a9565b848481600090805190602001906200005792919062000259565b5080600190805190602001906200007092919062000259565b50505062000093620000876200014760201b60201c565b6200014f60201b60201c565b6001600b8190555082601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600f9080519060200190620000f492919062000259565b508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff16146200013c576200013b816200021560201b60201c565b5b505050505062000623565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b82805462000267906200055b565b90600052602060002090601f0160209004810192826200028b5760008555620002d7565b82601f10620002a657805160ff1916838001178555620002d7565b82800160010185558215620002d7579182015b82811115620002d6578251825591602001919060010190620002b9565b5b509050620002e69190620002ea565b5090565b5b8082111562000305576000816000905550600101620002eb565b5090565b6000620003206200031a84620004aa565b62000476565b9050828152602081018484840111156200033957600080fd5b6200034684828562000525565b509392505050565b6000815190506200035f81620005ef565b92915050565b600081519050620003768162000609565b92915050565b600082601f8301126200038e57600080fd5b8151620003a084826020860162000309565b91505092915050565b600080600080600060a08688031215620003c257600080fd5b600086015167ffffffffffffffff811115620003dd57600080fd5b620003eb888289016200037c565b955050602086015167ffffffffffffffff8111156200040957600080fd5b62000417888289016200037c565b94505060406200042a8882890162000365565b935050606086015167ffffffffffffffff8111156200044857600080fd5b62000456888289016200037c565b925050608062000469888289016200034e565b9150509295509295909350565b6000604051905081810181811067ffffffffffffffff82111715620004a0576200049f620005c0565b5b8060405250919050565b600067ffffffffffffffff821115620004c857620004c7620005c0565b5b601f19601f8301169050602081019050919050565b6000620004ea8262000505565b9050919050565b6000620004fe8262000505565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200054557808201518184015260208101905062000528565b8381111562000555576000848401525b50505050565b600060028204905060018216806200057457607f821691505b602082108114156200058b576200058a62000591565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620005fa81620004dd565b81146200060657600080fd5b50565b6200061481620004f1565b81146200062057600080fd5b50565b615e0480620006336000396000f3fe6080604052600436106101f95760003560e01c80638a333b501161010d578063a86b73f0116100a0578063c87b56dd1161006f578063c87b56dd14610785578063d17565c8146107c2578063e8a3d485146107eb578063e985e9c514610816578063f2fde38b14610853576101f9565b8063a86b73f0146106cd578063b5f497591461070a578063b88d4fde14610733578063c5ac58e11461075c576101f9565b8063938e3d7b116100dc578063938e3d7b1461063457806395d89b411461065d578063a0712d6814610688578063a22cb465146106a4576101f9565b80638a333b50146105645780638da5cb5b1461058f5780638e7e34d7146105ba5780639201de55146105f7576101f9565b80632ecb20d3116101905780635e0fee241161015f5780635e0fee24146104595780636102de98146104965780636352211e146104d357806370a0823114610510578063715018a61461054d576101f9565b80632ecb20d3146103795780632f745c59146103b657806342842e0e146103f35780634f6ccce71461041c576101f9565b80630c0d35ed116101cc5780630c0d35ed146102cc57806318160ddd1461030957806323b872dd146103345780632e1a7d4d1461035d576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190613d61565b61087c565b60405161023291906153b7565b60405180910390f35b34801561024757600080fd5b506102506108f6565b60405161025d91906153ed565b60405180910390f35b34801561027257600080fd5b5061028d60048036038101906102889190613e89565b610988565b60405161029a9190615350565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190613cfc565b610a0d565b005b3480156102d857600080fd5b506102f360048036038101906102ee9190613eb2565b610b25565b60405161030091906153ed565b60405180910390f35b34801561031557600080fd5b5061031e610cac565b60405161032b919061570f565b60405180910390f35b34801561034057600080fd5b5061035b60048036038101906103569190613bf6565b610cb9565b005b61037760048036038101906103729190613e89565b610d19565b005b34801561038557600080fd5b506103a0600480360381019061039b9190613f19565b610e22565b6040516103ad919061572a565b60405180910390f35b3480156103c257600080fd5b506103dd60048036038101906103d89190613cfc565b61118d565b6040516103ea919061570f565b60405180910390f35b3480156103ff57600080fd5b5061041a60048036038101906104159190613bf6565b611232565b005b34801561042857600080fd5b50610443600480360381019061043e9190613e89565b611252565b604051610450919061570f565b60405180910390f35b34801561046557600080fd5b50610480600480360381019061047b9190613e1d565b6112e9565b60405161048d91906153ed565b60405180910390f35b3480156104a257600080fd5b506104bd60048036038101906104b89190613bba565b611325565b6040516104ca91906153b7565b60405180910390f35b3480156104df57600080fd5b506104fa60048036038101906104f59190613e89565b611446565b6040516105079190615350565b60405180910390f35b34801561051c57600080fd5b5061053760048036038101906105329190613b91565b6114f8565b604051610544919061570f565b60405180910390f35b34801561055957600080fd5b506105626115b0565b005b34801561057057600080fd5b50610579611638565b604051610586919061570f565b60405180910390f35b34801561059b57600080fd5b506105a461163e565b6040516105b19190615350565b60405180910390f35b3480156105c657600080fd5b506105e160048036038101906105dc9190613ddc565b611668565b6040516105ee919061570f565b60405180910390f35b34801561060357600080fd5b5061061e60048036038101906106199190613d38565b61182e565b60405161062b91906153ed565b60405180910390f35b34801561064057600080fd5b5061065b60048036038101906106569190613ddc565b611aa2565b005b34801561066957600080fd5b50610672611b2a565b60405161067f91906153ed565b60405180910390f35b6106a2600480360381019061069d9190613e89565b611bbc565b005b3480156106b057600080fd5b506106cb60048036038101906106c69190613cc0565b611d97565b005b3480156106d957600080fd5b506106f460048036038101906106ef9190613f19565b611f18565b60405161070191906153d2565b60405180910390f35b34801561071657600080fd5b50610731600480360381019061072c9190613b91565b611f55565b005b34801561073f57600080fd5b5061075a60048036038101906107559190613c45565b612029565b005b34801561076857600080fd5b50610783600480360381019061077e9190613ddc565b61208b565b005b34801561079157600080fd5b506107ac60048036038101906107a79190613e89565b612135565b6040516107b991906153ed565b60405180910390f35b3480156107ce57600080fd5b506107e960048036038101906107e49190613ddc565b61220b565b005b3480156107f757600080fd5b506108006122b5565b60405161080d91906153ed565b60405180910390f35b34801561082257600080fd5b5061083d60048036038101906108389190613bba565b612347565b60405161084a91906153b7565b60405180910390f35b34801561085f57600080fd5b5061087a60048036038101906108759190613b91565b612374565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108ef57506108ee8261246c565b5b9050919050565b60606000805461090590615b4f565b80601f016020809104026020016040519081016040528092919081815260200182805461093190615b4f565b801561097e5780601f106109535761010080835404028352916020019161097e565b820191906000526020600020905b81548152906001019060200180831161096157829003601f168201915b5050505050905090565b60006109938261254e565b6109d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c99061560f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a1882611446565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a809061568f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa86125ba565b73ffffffffffffffffffffffffffffffffffffffff161480610ad75750610ad681610ad16125ba565b612347565b5b610b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0d9061556f565b60405180910390fd5b610b2083836125c2565b505050565b6060600060018585610b3791906159b2565b610b41919061582e565b67ffffffffffffffff811115610b80577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610bb25781602001600182028036833780820191505090505b50905060005b8585610bc491906159b2565b8111610ca0578360018783610bd9919061582e565b610be391906159b2565b81518110610c1a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b828281518110610c5e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080610c9890615b81565b915050610bb8565b50809150509392505050565b6000600880549050905090565b610cca610cc46125ba565b8261267b565b610d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d00906156af565b60405180910390fd5b610d14838383612759565b505050565b3373ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da0906155cf565b60405180910390fd5b47811115610db657600080fd5b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e1e573d6000803e3d6000fd5b5050565b60007f30000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015610f0257507f39000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b15610f3d577f300000000000000000000000000000000000000000000000000000000000000060f81c82610f3691906159e6565b9050611188565b7f61000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015801561101b57507f66000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b15611062577f610000000000000000000000000000000000000000000000000000000000000060f81c82600a6110519190615884565b61105b91906159e6565b9050611188565b7f41000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015801561114057507f46000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b15611187577f410000000000000000000000000000000000000000000000000000000000000060f81c82600a6111769190615884565b61118091906159e6565b9050611188565b5b919050565b6000611198836114f8565b82106111d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d09061544f565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61124d83838360405180602001604052806000815250612029565b505050565b600061125c610cac565b821061129d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611294906156cf565b60405180910390fd5b600882815481106112d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b606081838485868788898a8b60405160200161130e9a99989796959493929190615196565b604051602081830303815290604052905092915050565b600080601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561143d57508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016113d59190615350565b60206040518083038186803b1580156113ed57600080fd5b505afa158015611401573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114259190613db3565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e6906155af565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611569576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115609061558f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115b86125ba565b73ffffffffffffffffffffffffffffffffffffffff166115d661163e565b73ffffffffffffffffffffffffffffffffffffffff161461162c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116239061562f565b60405180910390fd5b61163660006129b5565b565b600c5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008082905060006002825161167e9190615c22565b1461168857600080fd5b60006002825161169891906158bb565b67ffffffffffffffff8111156116d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156117095781602001600182028036833780820191505090505b509050600080600090505b6002845161172291906158bb565b8110156118225761179084600183600261173c919061591d565b611746919061582e565b8151811061177d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c610e22565b60106117ed868460026117a3919061591d565b815181106117da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c610e22565b6117f79190615977565b6118019190615884565b60ff168261180f919061582e565b91508061181b90615b81565b9050611714565b50809350505050919050565b6060600080604067ffffffffffffffff811115611874577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156118a65781602001600182028036833780820191505090505b509050600091505b80518260ff161015611a98576000600f60f81b856002856118cf91906158ec565b60ff1660208110611909577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b1660f81c9050600060048660028661192591906158ec565b60ff166020811061195f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c905061199582611f18565b838560ff16815181106119d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600184611a0d9190615884565b9350611a1881611f18565b838560ff1681518110611a54577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535050508180611a9090615bca565b9250506118ae565b8092505050919050565b611aaa6125ba565b73ffffffffffffffffffffffffffffffffffffffff16611ac861163e565b73ffffffffffffffffffffffffffffffffffffffff1614611b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b159061562f565b60405180910390fd5b611b2781612a7b565b50565b606060018054611b3990615b4f565b80601f0160208091040260200160405190810160405280929190818152602001828054611b6590615b4f565b8015611bb25780601f10611b8757610100808354040283529160200191611bb2565b820191906000526020600020905b815481529060010190602001808311611b9557829003601f168201915b5050505050905090565b6002600b541415611c02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf9906156ef565b60405180910390fd5b6002600b8190555034611c268267016345785d8a0000612a9590919063ffffffff16565b14611c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5d9061566f565b60405180910390fd5b6014811115611caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca19061554f565b60405180910390fd5b600c54611cc982611cbb6012612aab565b612ab990919063ffffffff16565b1115611d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d019061542f565b60405180910390fd5b60005b81811015611d8b57611d1f6012612acf565b6000611d2b6012612aab565b9050611d373382612ae5565b3381604051602001611d4a9291906150e9565b604051602081830303815290604052805190602001206013600083815260200190815260200160002081905550508080611d8390615b81565b915050611d0d565b506001600b8190555050565b611d9f6125ba565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e04906154ef565b60405180910390fd5b8060056000611e1a6125ba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ec76125ba565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f0c91906153b7565b60405180910390a35050565b6000600a8260ff161015611f3d57603082611f339190615884565b60f81b9050611f50565b605782611f4a9190615884565b60f81b90505b919050565b3373ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611fe5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdc906155cf565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61203a6120346125ba565b8361267b565b612079576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612070906156af565b60405180910390fd5b61208584848484612cb3565b50505050565b3373ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461211b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612112906155cf565b60405180910390fd5b80600f9080519060200190612131929190613976565b5050565b60606121408261254e565b61217f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121769061550f565b60405180910390fd5b600061219d601360008581526020019081526020016000205461182e565b905060006121ae603b604084610b25565b9050600081905060006121c083612d0f565b90506121cb86612dcf565b6121d58786612fa4565b6121df84846112e9565b6040516020016121f193929190615139565b604051602081830303815290604052945050505050919050565b3373ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461229b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612292906155cf565b60405180910390fd5b80600e90805190602001906122b1929190613976565b5050565b6060600d80546122c490615b4f565b80601f01602080910402602001604051908101604052809291908181526020018280546122f090615b4f565b801561233d5780601f106123125761010080835404028352916020019161233d565b820191906000526020600020905b81548152906001019060200180831161232057829003601f168201915b5050505050905090565b60006123538383611325565b15612361576001905061236e565b61236b8383612fd1565b90505b92915050565b61237c6125ba565b73ffffffffffffffffffffffffffffffffffffffff1661239a61163e565b73ffffffffffffffffffffffffffffffffffffffff16146123f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e79061562f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612460576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124579061548f565b60405180910390fd5b612469816129b5565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061253757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612547575061254682613065565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661263583611446565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006126868261254e565b6126c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bc9061552f565b60405180910390fd5b60006126d083611446565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061273f57508373ffffffffffffffffffffffffffffffffffffffff1661272784610988565b73ffffffffffffffffffffffffffffffffffffffff16145b80612750575061274f8185612347565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661277982611446565b73ffffffffffffffffffffffffffffffffffffffff16146127cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c69061564f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561283f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612836906154cf565b60405180910390fd5b61284a8383836130cf565b6128556000826125c2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128a591906159b2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128fc919061582e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600d9080519060200190612a91929190613976565b5050565b60008183612aa3919061591d565b905092915050565b600081600001549050919050565b60008183612ac7919061582e565b905092915050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4c906155ef565b60405180910390fd5b612b5e8161254e565b15612b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b95906154af565b60405180910390fd5b612baa600083836130cf565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bfa919061582e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612cbe848484612759565b612cca848484846131e3565b612d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d009061546f565b60405180910390fd5b50505050565b60606000612d206001600285610b25565b90506000612d316003600486610b25565b90506000612d426005600687610b25565b90506000612d4f84611668565b90506000612d5c84611668565b90506000612d6984611668565b9050600060ff84189050600060ff84189050600060ff84189050612d8c8361337a565b612d958361337a565b612d9e8361337a565b604051602001612db093929190615314565b6040516020818303038152906040529950505050505050505050919050565b60606000821415612e17576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f9f565b600082905060005b60008214612e49578080612e3290615b81565b915050600a82612e4291906158bb565b9150612e1f565b60008167ffffffffffffffff811115612e8b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612ebd5781602001600182028036833780820191505090505b50905060008290505b60008614612f9757600181612edb91906159b2565b90506000600a8088612eed91906158bb565b612ef7919061591d565b87612f0291906159b2565b6030612f0e9190615884565b905060008160f81b905080848481518110612f52577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a88612f8e91906158bb565b97505050612ec6565b819450505050505b919050565b6060600f82604051602001612fba929190615115565b604051602081830303815290604052905092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6130da838383613400565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561311d5761311881613405565b61315c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461315b5761315a838261344e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561319f5761319a816135bb565b6131de565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131dd576131dc82826136fe565b5b5b505050565b60006132048473ffffffffffffffffffffffffffffffffffffffff1661377d565b1561336d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261322d6125ba565b8786866040518563ffffffff1660e01b815260040161324f949392919061536b565b602060405180830381600087803b15801561326957600080fd5b505af192505050801561329a57506040513d601f19601f820116820180604052508101906132979190613d8a565b60015b61331d573d80600081146132ca576040519150601f19603f3d011682016040523d82523d6000602084013e6132cf565b606091505b50600081511415613315576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330c9061546f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613372565b600190505b949350505050565b606060008214156133c2576040518060400160405280600481526020017f307830300000000000000000000000000000000000000000000000000000000081525090506133fb565b600082905060005b600082146133ec5780806133dd90615b81565b915050600882901c91506133ca565b6133f68482613790565b925050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161345b846114f8565b61346591906159b2565b905060006007600084815260200190815260200160002054905081811461354a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506135cf91906159b2565b9050600060096000848152602001908152602001600020549050600060088381548110613625577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061366d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806136e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613709836114f8565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b6060600060028360026137a3919061591d565b6137ad919061582e565b67ffffffffffffffff8111156137ec577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561381e5781602001600182028036833780820191505090505b50905060006001846002613832919061591d565b61383c919061582e565b90505b6001811115613928577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106138a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106138e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061392190615b25565b905061383f565b506000841461396c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139639061540f565b60405180910390fd5b8091505092915050565b82805461398290615b4f565b90600052602060002090601f0160209004810192826139a457600085556139eb565b82601f106139bd57805160ff19168380011785556139eb565b828001600101855582156139eb579182015b828111156139ea5782518255916020019190600101906139cf565b5b5090506139f891906139fc565b5090565b5b80821115613a155760008160009055506001016139fd565b5090565b6000613a2c613a2784615776565b615745565b905082815260208101848484011115613a4457600080fd5b613a4f848285615ae3565b509392505050565b6000613a6a613a65846157a6565b615745565b905082815260208101848484011115613a8257600080fd5b613a8d848285615ae3565b509392505050565b600081359050613aa481615d2d565b92915050565b600081359050613ab981615d44565b92915050565b600081359050613ace81615d5b565b92915050565b600081359050613ae381615d72565b92915050565b600081519050613af881615d72565b92915050565b600082601f830112613b0f57600080fd5b8135613b1f848260208601613a19565b91505092915050565b600081519050613b3781615d89565b92915050565b600082601f830112613b4e57600080fd5b8135613b5e848260208601613a57565b91505092915050565b600081359050613b7681615da0565b92915050565b600081359050613b8b81615db7565b92915050565b600060208284031215613ba357600080fd5b6000613bb184828501613a95565b91505092915050565b60008060408385031215613bcd57600080fd5b6000613bdb85828601613a95565b9250506020613bec85828601613a95565b9150509250929050565b600080600060608486031215613c0b57600080fd5b6000613c1986828701613a95565b9350506020613c2a86828701613a95565b9250506040613c3b86828701613b67565b9150509250925092565b60008060008060808587031215613c5b57600080fd5b6000613c6987828801613a95565b9450506020613c7a87828801613a95565b9350506040613c8b87828801613b67565b925050606085013567ffffffffffffffff811115613ca857600080fd5b613cb487828801613afe565b91505092959194509250565b60008060408385031215613cd357600080fd5b6000613ce185828601613a95565b9250506020613cf285828601613aaa565b9150509250929050565b60008060408385031215613d0f57600080fd5b6000613d1d85828601613a95565b9250506020613d2e85828601613b67565b9150509250929050565b600060208284031215613d4a57600080fd5b6000613d5884828501613abf565b91505092915050565b600060208284031215613d7357600080fd5b6000613d8184828501613ad4565b91505092915050565b600060208284031215613d9c57600080fd5b6000613daa84828501613ae9565b91505092915050565b600060208284031215613dc557600080fd5b6000613dd384828501613b28565b91505092915050565b600060208284031215613dee57600080fd5b600082013567ffffffffffffffff811115613e0857600080fd5b613e1484828501613b3d565b91505092915050565b60008060408385031215613e3057600080fd5b600083013567ffffffffffffffff811115613e4a57600080fd5b613e5685828601613b3d565b925050602083013567ffffffffffffffff811115613e7357600080fd5b613e7f85828601613b3d565b9150509250929050565b600060208284031215613e9b57600080fd5b6000613ea984828501613b67565b91505092915050565b600080600060608486031215613ec757600080fd5b6000613ed586828701613b67565b9350506020613ee686828701613b67565b925050604084013567ffffffffffffffff811115613f0357600080fd5b613f0f86828701613b3d565b9150509250925092565b600060208284031215613f2b57600080fd5b6000613f3984828501613b7c565b91505092915050565b613f4b81615a1a565b82525050565b613f62613f5d82615a1a565b615bf4565b82525050565b613f7181615a2c565b82525050565b613f8081615a38565b82525050565b6000613f91826157eb565b613f9b8185615801565b9350613fab818560208601615af2565b613fb481615d0f565b840191505092915050565b6000613fca826157f6565b613fd48185615812565b9350613fe4818560208601615af2565b613fed81615d0f565b840191505092915050565b6000614003826157f6565b61400d8185615823565b935061401d818560208601615af2565b80840191505092915050565b6000815461403681615b4f565b6140408186615823565b9450600182166000811461405b576001811461406c5761409f565b60ff1983168652818601935061409f565b614075856157d6565b60005b8381101561409757815481890152600182019150602081019050614078565b838801955050505b50505092915050565b60006140b5601083615823565b91507f222c22696d6167655f64617461223a22000000000000000000000000000000006000830152601082019050919050565b60006140f5602083615812565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b6000614135604783615823565b91507f3c7265637420783d2732302720793d27323536272077696474683d273530272060008301527f6865696768743d27353132272066696c6c2d6f7061636974793d27302720737460208301527f726f6b653d2723000000000000000000000000000000000000000000000000006040830152604782019050919050565b60006141c1601783615812565b91507f4d696e742065786365656473206d617820737570706c790000000000000000006000830152602082019050919050565b6000614201604883615823565b91507f3c7265637420783d273430302720793d27323735272077696474683d2735302760008301527f206865696768743d27353132272066696c6c2d6f7061636974793d273027207360208301527f74726f6b653d27230000000000000000000000000000000000000000000000006040830152604882019050919050565b600061428d602b83615812565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006142f3603283615812565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614359604883615823565b91507f3c7265637420783d273130302720793d27333235272077696474683d2735302760008301527f206865696768743d27353132272066696c6c2d6f7061636974793d273027207360208301527f74726f6b653d27230000000000000000000000000000000000000000000000006040830152604882019050919050565b60006143e5602683615812565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061444b601c83615812565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061448b602483615812565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006144f1601983615812565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614531601483615812565b91507f546f6b656e20646f6573206e6f742065786973740000000000000000000000006000830152602082019050919050565b6000614571602c83615812565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006145d7600383615823565b91507f272f3e00000000000000000000000000000000000000000000000000000000006000830152600382019050919050565b6000614617601383615823565b91507f222c22616e696d6174696f6e5f75726c223a22000000000000000000000000006000830152601382019050919050565b6000614657602283615812565b91507f43616e6e6f74206d696e74206d6f7265207468616e203230206174206120746960008301527f6d650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006146bd603883615812565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614723604883615823565b91507f3c7265637420783d273332352720793d27343735272077696474683d2735302760008301527f206865696768743d27353132272066696c6c2d6f7061636974793d273027207360208301527f74726f6b653d27230000000000000000000000000000000000000000000000006040830152604882019050919050565b60006147af602a83615812565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614815602983615812565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061487b600283615823565b91507f227d0000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b60006148bb601183615823565b91507f273e536b794c696e65733c2f746578743e0000000000000000000000000000006000830152601182019050919050565b60006148fb601283615812565b91507f4f6e6c79204f776e657220616c6c6f77656400000000000000000000000000006000830152602082019050919050565b600061493b602083615812565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b600061497b602483615823565b91507f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c7b226e616d60008301527f65223a22000000000000000000000000000000000000000000000000000000006020830152602482019050919050565b60006149e1602c83615812565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614a47602783615823565b91507f3c726563742077696474683d273130302527206865696768743d27313030252760008301527f2066696c6c3d27000000000000000000000000000000000000000000000000006020830152602782019050919050565b6000614aad602083615812565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614aed602983615812565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b53600d83615812565b91507f496e76616c69642076616c7565000000000000000000000000000000000000006000830152602082019050919050565b6000614b93604583615823565b91507f3c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323060008301527f30302f737667272077696474683d27353132707827206865696768743d27353160208301527f327078273e0000000000000000000000000000000000000000000000000000006040830152604582019050919050565b6000614c1f602c83615823565b91507f3c7465787420783d273133342720793d273238382720666f6e742d73697a653d60008301527f273634272066696c6c3d272300000000000000000000000000000000000000006020830152602c82019050919050565b6000614c85604883615823565b91507f3c7265637420783d273437352720793d27333735272077696474683d2735302760008301527f206865696768743d27353132272066696c6c2d6f7061636974793d273027207360208301527f74726f6b653d27230000000000000000000000000000000000000000000000006040830152604882019050919050565b6000614d11600183615823565b91507f23000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000614d51602183615812565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614db7603183615812565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614e1d602c83615812565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614e83600d83615823565b91507f273e4c6f46693c2f746578743e000000000000000000000000000000000000006000830152600d82019050919050565b6000614ec3602c83615823565b91507f3c7465787420783d273139342720793d273232342720666f6e742d73697a653d60008301527f273634272066696c6c3d272300000000000000000000000000000000000000006020830152602c82019050919050565b6000614f29601f83615812565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000614f69604883615823565b91507f3c7265637420783d273137352720793d27343530272077696474683d2735302760008301527f206865696768743d27353132272066696c6c2d6f7061636974793d273027207360208301527f74726f6b653d27230000000000000000000000000000000000000000000000006040830152604882019050919050565b6000614ff5600683615823565b91507f3c2f7376673e00000000000000000000000000000000000000000000000000006000830152600682019050919050565b6000615035604883615823565b91507f3c7265637420783d273235302720793d27343030272077696474683d2735302760008301527f206865696768743d27353132272066696c6c2d6f7061636974793d273027207360208301527f74726f6b653d27230000000000000000000000000000000000000000000000006040830152604882019050919050565b6150bd81615acc565b82525050565b6150d46150cf82615acc565b615c18565b82525050565b6150e381615ad6565b82525050565b60006150f58285613f51565b60148201915061510582846150c3565b6020820191508190509392505050565b60006151218285614029565b915061512d8284613ff8565b91508190509392505050565b60006151448261496e565b91506151508286613ff8565b915061515b8261460a565b91506151678285613ff8565b9150615172826140a8565b915061517e8284613ff8565b91506151898261486e565b9150819050949350505050565b60006151a182614b86565b91506151ac82614a3a565b91506151b8828d613ff8565b91506151c3826145ca565b91506151ce82614eb6565b91506151da828c613ff8565b91506151e582614e76565b91506151f082614c12565b91506151fc828b613ff8565b9150615207826148ae565b915061521282614128565b915061521e828a613ff8565b9150615229826145ca565b91506152348261434c565b91506152408289613ff8565b915061524b826145ca565b915061525682614f5c565b91506152628288613ff8565b915061526d826145ca565b915061527882615028565b91506152848287613ff8565b915061528f826145ca565b915061529a82614716565b91506152a68286613ff8565b91506152b1826145ca565b91506152bc826141f4565b91506152c88285613ff8565b91506152d3826145ca565b91506152de82614c78565b91506152ea8284613ff8565b91506152f5826145ca565b915061530082614fe8565b91508190509b9a5050505050505050505050565b600061531f82614d04565b915061532b8286613ff8565b91506153378285613ff8565b91506153438284613ff8565b9150819050949350505050565b60006020820190506153656000830184613f42565b92915050565b60006080820190506153806000830187613f42565b61538d6020830186613f42565b61539a60408301856150b4565b81810360608301526153ac8184613f86565b905095945050505050565b60006020820190506153cc6000830184613f68565b92915050565b60006020820190506153e76000830184613f77565b92915050565b600060208201905081810360008301526154078184613fbf565b905092915050565b60006020820190508181036000830152615428816140e8565b9050919050565b60006020820190508181036000830152615448816141b4565b9050919050565b6000602082019050818103600083015261546881614280565b9050919050565b60006020820190508181036000830152615488816142e6565b9050919050565b600060208201905081810360008301526154a8816143d8565b9050919050565b600060208201905081810360008301526154c88161443e565b9050919050565b600060208201905081810360008301526154e88161447e565b9050919050565b60006020820190508181036000830152615508816144e4565b9050919050565b6000602082019050818103600083015261552881614524565b9050919050565b6000602082019050818103600083015261554881614564565b9050919050565b600060208201905081810360008301526155688161464a565b9050919050565b60006020820190508181036000830152615588816146b0565b9050919050565b600060208201905081810360008301526155a8816147a2565b9050919050565b600060208201905081810360008301526155c881614808565b9050919050565b600060208201905081810360008301526155e8816148ee565b9050919050565b600060208201905081810360008301526156088161492e565b9050919050565b60006020820190508181036000830152615628816149d4565b9050919050565b6000602082019050818103600083015261564881614aa0565b9050919050565b6000602082019050818103600083015261566881614ae0565b9050919050565b6000602082019050818103600083015261568881614b46565b9050919050565b600060208201905081810360008301526156a881614d44565b9050919050565b600060208201905081810360008301526156c881614daa565b9050919050565b600060208201905081810360008301526156e881614e10565b9050919050565b6000602082019050818103600083015261570881614f1c565b9050919050565b600060208201905061572460008301846150b4565b92915050565b600060208201905061573f60008301846150da565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561576c5761576b615ce0565b5b8060405250919050565b600067ffffffffffffffff82111561579157615790615ce0565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156157c1576157c0615ce0565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061583982615acc565b915061584483615acc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561587957615878615c53565b5b828201905092915050565b600061588f82615ad6565b915061589a83615ad6565b92508260ff038211156158b0576158af615c53565b5b828201905092915050565b60006158c682615acc565b91506158d183615acc565b9250826158e1576158e0615c82565b5b828204905092915050565b60006158f782615ad6565b915061590283615ad6565b92508261591257615911615c82565b5b828204905092915050565b600061592882615acc565b915061593383615acc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561596c5761596b615c53565b5b828202905092915050565b600061598282615ad6565b915061598d83615ad6565b92508160ff04831182151516156159a7576159a6615c53565b5b828202905092915050565b60006159bd82615acc565b91506159c883615acc565b9250828210156159db576159da615c53565b5b828203905092915050565b60006159f182615ad6565b91506159fc83615ad6565b925082821015615a0f57615a0e615c53565b5b828203905092915050565b6000615a2582615aac565b9050919050565b60008115159050919050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000615aa582615a1a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015615b10578082015181840152602081019050615af5565b83811115615b1f576000848401525b50505050565b6000615b3082615acc565b91506000821415615b4457615b43615c53565b5b600182039050919050565b60006002820490506001821680615b6757607f821691505b60208210811415615b7b57615b7a615cb1565b5b50919050565b6000615b8c82615acc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615bbf57615bbe615c53565b5b600182019050919050565b6000615bd582615ad6565b915060ff821415615be957615be8615c53565b5b600182019050919050565b6000615bff82615c06565b9050919050565b6000615c1182615d20565b9050919050565b6000819050919050565b6000615c2d82615acc565b9150615c3883615acc565b925082615c4857615c47615c82565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b615d3681615a1a565b8114615d4157600080fd5b50565b615d4d81615a2c565b8114615d5857600080fd5b50565b615d6481615a64565b8114615d6f57600080fd5b50565b615d7b81615a6e565b8114615d8657600080fd5b50565b615d9281615a9a565b8114615d9d57600080fd5b50565b615da981615acc565b8114615db457600080fd5b50565b615dc081615ad6565b8114615dcb57600080fd5b5056fea2646970667358221220008799cb847a7db88fe9177a3b7df88d9b3827710682ce0bc829427e360cbfda64736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000007682969b74d73dd72963fdb353476a5c3cecf7860000000000000000000000000000000000000000000000000000000000000120000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000000c4c6f4669536b796c696e6573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044c46534c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005e68747470733a2f2f6c6f6669736b796c696e65732e6d7970696e6174612e636c6f75642f697066732f516d51434a795764525273464e595a64706b68474c5a56614d4c7638324744754b47327746474250426f61736f412f3f736565643d0000
Deployed Bytecode
0x6080604052600436106101f95760003560e01c80638a333b501161010d578063a86b73f0116100a0578063c87b56dd1161006f578063c87b56dd14610785578063d17565c8146107c2578063e8a3d485146107eb578063e985e9c514610816578063f2fde38b14610853576101f9565b8063a86b73f0146106cd578063b5f497591461070a578063b88d4fde14610733578063c5ac58e11461075c576101f9565b8063938e3d7b116100dc578063938e3d7b1461063457806395d89b411461065d578063a0712d6814610688578063a22cb465146106a4576101f9565b80638a333b50146105645780638da5cb5b1461058f5780638e7e34d7146105ba5780639201de55146105f7576101f9565b80632ecb20d3116101905780635e0fee241161015f5780635e0fee24146104595780636102de98146104965780636352211e146104d357806370a0823114610510578063715018a61461054d576101f9565b80632ecb20d3146103795780632f745c59146103b657806342842e0e146103f35780634f6ccce71461041c576101f9565b80630c0d35ed116101cc5780630c0d35ed146102cc57806318160ddd1461030957806323b872dd146103345780632e1a7d4d1461035d576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190613d61565b61087c565b60405161023291906153b7565b60405180910390f35b34801561024757600080fd5b506102506108f6565b60405161025d91906153ed565b60405180910390f35b34801561027257600080fd5b5061028d60048036038101906102889190613e89565b610988565b60405161029a9190615350565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190613cfc565b610a0d565b005b3480156102d857600080fd5b506102f360048036038101906102ee9190613eb2565b610b25565b60405161030091906153ed565b60405180910390f35b34801561031557600080fd5b5061031e610cac565b60405161032b919061570f565b60405180910390f35b34801561034057600080fd5b5061035b60048036038101906103569190613bf6565b610cb9565b005b61037760048036038101906103729190613e89565b610d19565b005b34801561038557600080fd5b506103a0600480360381019061039b9190613f19565b610e22565b6040516103ad919061572a565b60405180910390f35b3480156103c257600080fd5b506103dd60048036038101906103d89190613cfc565b61118d565b6040516103ea919061570f565b60405180910390f35b3480156103ff57600080fd5b5061041a60048036038101906104159190613bf6565b611232565b005b34801561042857600080fd5b50610443600480360381019061043e9190613e89565b611252565b604051610450919061570f565b60405180910390f35b34801561046557600080fd5b50610480600480360381019061047b9190613e1d565b6112e9565b60405161048d91906153ed565b60405180910390f35b3480156104a257600080fd5b506104bd60048036038101906104b89190613bba565b611325565b6040516104ca91906153b7565b60405180910390f35b3480156104df57600080fd5b506104fa60048036038101906104f59190613e89565b611446565b6040516105079190615350565b60405180910390f35b34801561051c57600080fd5b5061053760048036038101906105329190613b91565b6114f8565b604051610544919061570f565b60405180910390f35b34801561055957600080fd5b506105626115b0565b005b34801561057057600080fd5b50610579611638565b604051610586919061570f565b60405180910390f35b34801561059b57600080fd5b506105a461163e565b6040516105b19190615350565b60405180910390f35b3480156105c657600080fd5b506105e160048036038101906105dc9190613ddc565b611668565b6040516105ee919061570f565b60405180910390f35b34801561060357600080fd5b5061061e60048036038101906106199190613d38565b61182e565b60405161062b91906153ed565b60405180910390f35b34801561064057600080fd5b5061065b60048036038101906106569190613ddc565b611aa2565b005b34801561066957600080fd5b50610672611b2a565b60405161067f91906153ed565b60405180910390f35b6106a2600480360381019061069d9190613e89565b611bbc565b005b3480156106b057600080fd5b506106cb60048036038101906106c69190613cc0565b611d97565b005b3480156106d957600080fd5b506106f460048036038101906106ef9190613f19565b611f18565b60405161070191906153d2565b60405180910390f35b34801561071657600080fd5b50610731600480360381019061072c9190613b91565b611f55565b005b34801561073f57600080fd5b5061075a60048036038101906107559190613c45565b612029565b005b34801561076857600080fd5b50610783600480360381019061077e9190613ddc565b61208b565b005b34801561079157600080fd5b506107ac60048036038101906107a79190613e89565b612135565b6040516107b991906153ed565b60405180910390f35b3480156107ce57600080fd5b506107e960048036038101906107e49190613ddc565b61220b565b005b3480156107f757600080fd5b506108006122b5565b60405161080d91906153ed565b60405180910390f35b34801561082257600080fd5b5061083d60048036038101906108389190613bba565b612347565b60405161084a91906153b7565b60405180910390f35b34801561085f57600080fd5b5061087a60048036038101906108759190613b91565b612374565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108ef57506108ee8261246c565b5b9050919050565b60606000805461090590615b4f565b80601f016020809104026020016040519081016040528092919081815260200182805461093190615b4f565b801561097e5780601f106109535761010080835404028352916020019161097e565b820191906000526020600020905b81548152906001019060200180831161096157829003601f168201915b5050505050905090565b60006109938261254e565b6109d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c99061560f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a1882611446565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a809061568f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa86125ba565b73ffffffffffffffffffffffffffffffffffffffff161480610ad75750610ad681610ad16125ba565b612347565b5b610b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0d9061556f565b60405180910390fd5b610b2083836125c2565b505050565b6060600060018585610b3791906159b2565b610b41919061582e565b67ffffffffffffffff811115610b80577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610bb25781602001600182028036833780820191505090505b50905060005b8585610bc491906159b2565b8111610ca0578360018783610bd9919061582e565b610be391906159b2565b81518110610c1a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b828281518110610c5e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080610c9890615b81565b915050610bb8565b50809150509392505050565b6000600880549050905090565b610cca610cc46125ba565b8261267b565b610d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d00906156af565b60405180910390fd5b610d14838383612759565b505050565b3373ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da0906155cf565b60405180910390fd5b47811115610db657600080fd5b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e1e573d6000803e3d6000fd5b5050565b60007f30000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015610f0257507f39000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b15610f3d577f300000000000000000000000000000000000000000000000000000000000000060f81c82610f3691906159e6565b9050611188565b7f61000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015801561101b57507f66000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b15611062577f610000000000000000000000000000000000000000000000000000000000000060f81c82600a6110519190615884565b61105b91906159e6565b9050611188565b7f41000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015801561114057507f46000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b15611187577f410000000000000000000000000000000000000000000000000000000000000060f81c82600a6111769190615884565b61118091906159e6565b9050611188565b5b919050565b6000611198836114f8565b82106111d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d09061544f565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61124d83838360405180602001604052806000815250612029565b505050565b600061125c610cac565b821061129d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611294906156cf565b60405180910390fd5b600882815481106112d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b606081838485868788898a8b60405160200161130e9a99989796959493929190615196565b604051602081830303815290604052905092915050565b600080601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561143d57508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016113d59190615350565b60206040518083038186803b1580156113ed57600080fd5b505afa158015611401573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114259190613db3565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e6906155af565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611569576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115609061558f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115b86125ba565b73ffffffffffffffffffffffffffffffffffffffff166115d661163e565b73ffffffffffffffffffffffffffffffffffffffff161461162c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116239061562f565b60405180910390fd5b61163660006129b5565b565b600c5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008082905060006002825161167e9190615c22565b1461168857600080fd5b60006002825161169891906158bb565b67ffffffffffffffff8111156116d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156117095781602001600182028036833780820191505090505b509050600080600090505b6002845161172291906158bb565b8110156118225761179084600183600261173c919061591d565b611746919061582e565b8151811061177d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c610e22565b60106117ed868460026117a3919061591d565b815181106117da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c610e22565b6117f79190615977565b6118019190615884565b60ff168261180f919061582e565b91508061181b90615b81565b9050611714565b50809350505050919050565b6060600080604067ffffffffffffffff811115611874577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156118a65781602001600182028036833780820191505090505b509050600091505b80518260ff161015611a98576000600f60f81b856002856118cf91906158ec565b60ff1660208110611909577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b1660f81c9050600060048660028661192591906158ec565b60ff166020811061195f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c905061199582611f18565b838560ff16815181106119d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600184611a0d9190615884565b9350611a1881611f18565b838560ff1681518110611a54577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535050508180611a9090615bca565b9250506118ae565b8092505050919050565b611aaa6125ba565b73ffffffffffffffffffffffffffffffffffffffff16611ac861163e565b73ffffffffffffffffffffffffffffffffffffffff1614611b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b159061562f565b60405180910390fd5b611b2781612a7b565b50565b606060018054611b3990615b4f565b80601f0160208091040260200160405190810160405280929190818152602001828054611b6590615b4f565b8015611bb25780601f10611b8757610100808354040283529160200191611bb2565b820191906000526020600020905b815481529060010190602001808311611b9557829003601f168201915b5050505050905090565b6002600b541415611c02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf9906156ef565b60405180910390fd5b6002600b8190555034611c268267016345785d8a0000612a9590919063ffffffff16565b14611c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5d9061566f565b60405180910390fd5b6014811115611caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca19061554f565b60405180910390fd5b600c54611cc982611cbb6012612aab565b612ab990919063ffffffff16565b1115611d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d019061542f565b60405180910390fd5b60005b81811015611d8b57611d1f6012612acf565b6000611d2b6012612aab565b9050611d373382612ae5565b3381604051602001611d4a9291906150e9565b604051602081830303815290604052805190602001206013600083815260200190815260200160002081905550508080611d8390615b81565b915050611d0d565b506001600b8190555050565b611d9f6125ba565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e04906154ef565b60405180910390fd5b8060056000611e1a6125ba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ec76125ba565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f0c91906153b7565b60405180910390a35050565b6000600a8260ff161015611f3d57603082611f339190615884565b60f81b9050611f50565b605782611f4a9190615884565b60f81b90505b919050565b3373ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611fe5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdc906155cf565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61203a6120346125ba565b8361267b565b612079576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612070906156af565b60405180910390fd5b61208584848484612cb3565b50505050565b3373ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461211b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612112906155cf565b60405180910390fd5b80600f9080519060200190612131929190613976565b5050565b60606121408261254e565b61217f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121769061550f565b60405180910390fd5b600061219d601360008581526020019081526020016000205461182e565b905060006121ae603b604084610b25565b9050600081905060006121c083612d0f565b90506121cb86612dcf565b6121d58786612fa4565b6121df84846112e9565b6040516020016121f193929190615139565b604051602081830303815290604052945050505050919050565b3373ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461229b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612292906155cf565b60405180910390fd5b80600e90805190602001906122b1929190613976565b5050565b6060600d80546122c490615b4f565b80601f01602080910402602001604051908101604052809291908181526020018280546122f090615b4f565b801561233d5780601f106123125761010080835404028352916020019161233d565b820191906000526020600020905b81548152906001019060200180831161232057829003601f168201915b5050505050905090565b60006123538383611325565b15612361576001905061236e565b61236b8383612fd1565b90505b92915050565b61237c6125ba565b73ffffffffffffffffffffffffffffffffffffffff1661239a61163e565b73ffffffffffffffffffffffffffffffffffffffff16146123f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e79061562f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612460576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124579061548f565b60405180910390fd5b612469816129b5565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061253757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612547575061254682613065565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661263583611446565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006126868261254e565b6126c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bc9061552f565b60405180910390fd5b60006126d083611446565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061273f57508373ffffffffffffffffffffffffffffffffffffffff1661272784610988565b73ffffffffffffffffffffffffffffffffffffffff16145b80612750575061274f8185612347565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661277982611446565b73ffffffffffffffffffffffffffffffffffffffff16146127cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c69061564f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561283f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612836906154cf565b60405180910390fd5b61284a8383836130cf565b6128556000826125c2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128a591906159b2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128fc919061582e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600d9080519060200190612a91929190613976565b5050565b60008183612aa3919061591d565b905092915050565b600081600001549050919050565b60008183612ac7919061582e565b905092915050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4c906155ef565b60405180910390fd5b612b5e8161254e565b15612b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b95906154af565b60405180910390fd5b612baa600083836130cf565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bfa919061582e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612cbe848484612759565b612cca848484846131e3565b612d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d009061546f565b60405180910390fd5b50505050565b60606000612d206001600285610b25565b90506000612d316003600486610b25565b90506000612d426005600687610b25565b90506000612d4f84611668565b90506000612d5c84611668565b90506000612d6984611668565b9050600060ff84189050600060ff84189050600060ff84189050612d8c8361337a565b612d958361337a565b612d9e8361337a565b604051602001612db093929190615314565b6040516020818303038152906040529950505050505050505050919050565b60606000821415612e17576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f9f565b600082905060005b60008214612e49578080612e3290615b81565b915050600a82612e4291906158bb565b9150612e1f565b60008167ffffffffffffffff811115612e8b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612ebd5781602001600182028036833780820191505090505b50905060008290505b60008614612f9757600181612edb91906159b2565b90506000600a8088612eed91906158bb565b612ef7919061591d565b87612f0291906159b2565b6030612f0e9190615884565b905060008160f81b905080848481518110612f52577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a88612f8e91906158bb565b97505050612ec6565b819450505050505b919050565b6060600f82604051602001612fba929190615115565b604051602081830303815290604052905092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6130da838383613400565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561311d5761311881613405565b61315c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461315b5761315a838261344e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561319f5761319a816135bb565b6131de565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131dd576131dc82826136fe565b5b5b505050565b60006132048473ffffffffffffffffffffffffffffffffffffffff1661377d565b1561336d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261322d6125ba565b8786866040518563ffffffff1660e01b815260040161324f949392919061536b565b602060405180830381600087803b15801561326957600080fd5b505af192505050801561329a57506040513d601f19601f820116820180604052508101906132979190613d8a565b60015b61331d573d80600081146132ca576040519150601f19603f3d011682016040523d82523d6000602084013e6132cf565b606091505b50600081511415613315576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330c9061546f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613372565b600190505b949350505050565b606060008214156133c2576040518060400160405280600481526020017f307830300000000000000000000000000000000000000000000000000000000081525090506133fb565b600082905060005b600082146133ec5780806133dd90615b81565b915050600882901c91506133ca565b6133f68482613790565b925050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161345b846114f8565b61346591906159b2565b905060006007600084815260200190815260200160002054905081811461354a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506135cf91906159b2565b9050600060096000848152602001908152602001600020549050600060088381548110613625577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061366d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806136e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613709836114f8565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b6060600060028360026137a3919061591d565b6137ad919061582e565b67ffffffffffffffff8111156137ec577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561381e5781602001600182028036833780820191505090505b50905060006001846002613832919061591d565b61383c919061582e565b90505b6001811115613928577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106138a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106138e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061392190615b25565b905061383f565b506000841461396c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139639061540f565b60405180910390fd5b8091505092915050565b82805461398290615b4f565b90600052602060002090601f0160209004810192826139a457600085556139eb565b82601f106139bd57805160ff19168380011785556139eb565b828001600101855582156139eb579182015b828111156139ea5782518255916020019190600101906139cf565b5b5090506139f891906139fc565b5090565b5b80821115613a155760008160009055506001016139fd565b5090565b6000613a2c613a2784615776565b615745565b905082815260208101848484011115613a4457600080fd5b613a4f848285615ae3565b509392505050565b6000613a6a613a65846157a6565b615745565b905082815260208101848484011115613a8257600080fd5b613a8d848285615ae3565b509392505050565b600081359050613aa481615d2d565b92915050565b600081359050613ab981615d44565b92915050565b600081359050613ace81615d5b565b92915050565b600081359050613ae381615d72565b92915050565b600081519050613af881615d72565b92915050565b600082601f830112613b0f57600080fd5b8135613b1f848260208601613a19565b91505092915050565b600081519050613b3781615d89565b92915050565b600082601f830112613b4e57600080fd5b8135613b5e848260208601613a57565b91505092915050565b600081359050613b7681615da0565b92915050565b600081359050613b8b81615db7565b92915050565b600060208284031215613ba357600080fd5b6000613bb184828501613a95565b91505092915050565b60008060408385031215613bcd57600080fd5b6000613bdb85828601613a95565b9250506020613bec85828601613a95565b9150509250929050565b600080600060608486031215613c0b57600080fd5b6000613c1986828701613a95565b9350506020613c2a86828701613a95565b9250506040613c3b86828701613b67565b9150509250925092565b60008060008060808587031215613c5b57600080fd5b6000613c6987828801613a95565b9450506020613c7a87828801613a95565b9350506040613c8b87828801613b67565b925050606085013567ffffffffffffffff811115613ca857600080fd5b613cb487828801613afe565b91505092959194509250565b60008060408385031215613cd357600080fd5b6000613ce185828601613a95565b9250506020613cf285828601613aaa565b9150509250929050565b60008060408385031215613d0f57600080fd5b6000613d1d85828601613a95565b9250506020613d2e85828601613b67565b9150509250929050565b600060208284031215613d4a57600080fd5b6000613d5884828501613abf565b91505092915050565b600060208284031215613d7357600080fd5b6000613d8184828501613ad4565b91505092915050565b600060208284031215613d9c57600080fd5b6000613daa84828501613ae9565b91505092915050565b600060208284031215613dc557600080fd5b6000613dd384828501613b28565b91505092915050565b600060208284031215613dee57600080fd5b600082013567ffffffffffffffff811115613e0857600080fd5b613e1484828501613b3d565b91505092915050565b60008060408385031215613e3057600080fd5b600083013567ffffffffffffffff811115613e4a57600080fd5b613e5685828601613b3d565b925050602083013567ffffffffffffffff811115613e7357600080fd5b613e7f85828601613b3d565b9150509250929050565b600060208284031215613e9b57600080fd5b6000613ea984828501613b67565b91505092915050565b600080600060608486031215613ec757600080fd5b6000613ed586828701613b67565b9350506020613ee686828701613b67565b925050604084013567ffffffffffffffff811115613f0357600080fd5b613f0f86828701613b3d565b9150509250925092565b600060208284031215613f2b57600080fd5b6000613f3984828501613b7c565b91505092915050565b613f4b81615a1a565b82525050565b613f62613f5d82615a1a565b615bf4565b82525050565b613f7181615a2c565b82525050565b613f8081615a38565b82525050565b6000613f91826157eb565b613f9b8185615801565b9350613fab818560208601615af2565b613fb481615d0f565b840191505092915050565b6000613fca826157f6565b613fd48185615812565b9350613fe4818560208601615af2565b613fed81615d0f565b840191505092915050565b6000614003826157f6565b61400d8185615823565b935061401d818560208601615af2565b80840191505092915050565b6000815461403681615b4f565b6140408186615823565b9450600182166000811461405b576001811461406c5761409f565b60ff1983168652818601935061409f565b614075856157d6565b60005b8381101561409757815481890152600182019150602081019050614078565b838801955050505b50505092915050565b60006140b5601083615823565b91507f222c22696d6167655f64617461223a22000000000000000000000000000000006000830152601082019050919050565b60006140f5602083615812565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b6000614135604783615823565b91507f3c7265637420783d2732302720793d27323536272077696474683d273530272060008301527f6865696768743d27353132272066696c6c2d6f7061636974793d27302720737460208301527f726f6b653d2723000000000000000000000000000000000000000000000000006040830152604782019050919050565b60006141c1601783615812565b91507f4d696e742065786365656473206d617820737570706c790000000000000000006000830152602082019050919050565b6000614201604883615823565b91507f3c7265637420783d273430302720793d27323735272077696474683d2735302760008301527f206865696768743d27353132272066696c6c2d6f7061636974793d273027207360208301527f74726f6b653d27230000000000000000000000000000000000000000000000006040830152604882019050919050565b600061428d602b83615812565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006142f3603283615812565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614359604883615823565b91507f3c7265637420783d273130302720793d27333235272077696474683d2735302760008301527f206865696768743d27353132272066696c6c2d6f7061636974793d273027207360208301527f74726f6b653d27230000000000000000000000000000000000000000000000006040830152604882019050919050565b60006143e5602683615812565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061444b601c83615812565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061448b602483615812565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006144f1601983615812565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614531601483615812565b91507f546f6b656e20646f6573206e6f742065786973740000000000000000000000006000830152602082019050919050565b6000614571602c83615812565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006145d7600383615823565b91507f272f3e00000000000000000000000000000000000000000000000000000000006000830152600382019050919050565b6000614617601383615823565b91507f222c22616e696d6174696f6e5f75726c223a22000000000000000000000000006000830152601382019050919050565b6000614657602283615812565b91507f43616e6e6f74206d696e74206d6f7265207468616e203230206174206120746960008301527f6d650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006146bd603883615812565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614723604883615823565b91507f3c7265637420783d273332352720793d27343735272077696474683d2735302760008301527f206865696768743d27353132272066696c6c2d6f7061636974793d273027207360208301527f74726f6b653d27230000000000000000000000000000000000000000000000006040830152604882019050919050565b60006147af602a83615812565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614815602983615812565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061487b600283615823565b91507f227d0000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b60006148bb601183615823565b91507f273e536b794c696e65733c2f746578743e0000000000000000000000000000006000830152601182019050919050565b60006148fb601283615812565b91507f4f6e6c79204f776e657220616c6c6f77656400000000000000000000000000006000830152602082019050919050565b600061493b602083615812565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b600061497b602483615823565b91507f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c7b226e616d60008301527f65223a22000000000000000000000000000000000000000000000000000000006020830152602482019050919050565b60006149e1602c83615812565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614a47602783615823565b91507f3c726563742077696474683d273130302527206865696768743d27313030252760008301527f2066696c6c3d27000000000000000000000000000000000000000000000000006020830152602782019050919050565b6000614aad602083615812565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614aed602983615812565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b53600d83615812565b91507f496e76616c69642076616c7565000000000000000000000000000000000000006000830152602082019050919050565b6000614b93604583615823565b91507f3c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323060008301527f30302f737667272077696474683d27353132707827206865696768743d27353160208301527f327078273e0000000000000000000000000000000000000000000000000000006040830152604582019050919050565b6000614c1f602c83615823565b91507f3c7465787420783d273133342720793d273238382720666f6e742d73697a653d60008301527f273634272066696c6c3d272300000000000000000000000000000000000000006020830152602c82019050919050565b6000614c85604883615823565b91507f3c7265637420783d273437352720793d27333735272077696474683d2735302760008301527f206865696768743d27353132272066696c6c2d6f7061636974793d273027207360208301527f74726f6b653d27230000000000000000000000000000000000000000000000006040830152604882019050919050565b6000614d11600183615823565b91507f23000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000614d51602183615812565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614db7603183615812565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614e1d602c83615812565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614e83600d83615823565b91507f273e4c6f46693c2f746578743e000000000000000000000000000000000000006000830152600d82019050919050565b6000614ec3602c83615823565b91507f3c7465787420783d273139342720793d273232342720666f6e742d73697a653d60008301527f273634272066696c6c3d272300000000000000000000000000000000000000006020830152602c82019050919050565b6000614f29601f83615812565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000614f69604883615823565b91507f3c7265637420783d273137352720793d27343530272077696474683d2735302760008301527f206865696768743d27353132272066696c6c2d6f7061636974793d273027207360208301527f74726f6b653d27230000000000000000000000000000000000000000000000006040830152604882019050919050565b6000614ff5600683615823565b91507f3c2f7376673e00000000000000000000000000000000000000000000000000006000830152600682019050919050565b6000615035604883615823565b91507f3c7265637420783d273235302720793d27343030272077696474683d2735302760008301527f206865696768743d27353132272066696c6c2d6f7061636974793d273027207360208301527f74726f6b653d27230000000000000000000000000000000000000000000000006040830152604882019050919050565b6150bd81615acc565b82525050565b6150d46150cf82615acc565b615c18565b82525050565b6150e381615ad6565b82525050565b60006150f58285613f51565b60148201915061510582846150c3565b6020820191508190509392505050565b60006151218285614029565b915061512d8284613ff8565b91508190509392505050565b60006151448261496e565b91506151508286613ff8565b915061515b8261460a565b91506151678285613ff8565b9150615172826140a8565b915061517e8284613ff8565b91506151898261486e565b9150819050949350505050565b60006151a182614b86565b91506151ac82614a3a565b91506151b8828d613ff8565b91506151c3826145ca565b91506151ce82614eb6565b91506151da828c613ff8565b91506151e582614e76565b91506151f082614c12565b91506151fc828b613ff8565b9150615207826148ae565b915061521282614128565b915061521e828a613ff8565b9150615229826145ca565b91506152348261434c565b91506152408289613ff8565b915061524b826145ca565b915061525682614f5c565b91506152628288613ff8565b915061526d826145ca565b915061527882615028565b91506152848287613ff8565b915061528f826145ca565b915061529a82614716565b91506152a68286613ff8565b91506152b1826145ca565b91506152bc826141f4565b91506152c88285613ff8565b91506152d3826145ca565b91506152de82614c78565b91506152ea8284613ff8565b91506152f5826145ca565b915061530082614fe8565b91508190509b9a5050505050505050505050565b600061531f82614d04565b915061532b8286613ff8565b91506153378285613ff8565b91506153438284613ff8565b9150819050949350505050565b60006020820190506153656000830184613f42565b92915050565b60006080820190506153806000830187613f42565b61538d6020830186613f42565b61539a60408301856150b4565b81810360608301526153ac8184613f86565b905095945050505050565b60006020820190506153cc6000830184613f68565b92915050565b60006020820190506153e76000830184613f77565b92915050565b600060208201905081810360008301526154078184613fbf565b905092915050565b60006020820190508181036000830152615428816140e8565b9050919050565b60006020820190508181036000830152615448816141b4565b9050919050565b6000602082019050818103600083015261546881614280565b9050919050565b60006020820190508181036000830152615488816142e6565b9050919050565b600060208201905081810360008301526154a8816143d8565b9050919050565b600060208201905081810360008301526154c88161443e565b9050919050565b600060208201905081810360008301526154e88161447e565b9050919050565b60006020820190508181036000830152615508816144e4565b9050919050565b6000602082019050818103600083015261552881614524565b9050919050565b6000602082019050818103600083015261554881614564565b9050919050565b600060208201905081810360008301526155688161464a565b9050919050565b60006020820190508181036000830152615588816146b0565b9050919050565b600060208201905081810360008301526155a8816147a2565b9050919050565b600060208201905081810360008301526155c881614808565b9050919050565b600060208201905081810360008301526155e8816148ee565b9050919050565b600060208201905081810360008301526156088161492e565b9050919050565b60006020820190508181036000830152615628816149d4565b9050919050565b6000602082019050818103600083015261564881614aa0565b9050919050565b6000602082019050818103600083015261566881614ae0565b9050919050565b6000602082019050818103600083015261568881614b46565b9050919050565b600060208201905081810360008301526156a881614d44565b9050919050565b600060208201905081810360008301526156c881614daa565b9050919050565b600060208201905081810360008301526156e881614e10565b9050919050565b6000602082019050818103600083015261570881614f1c565b9050919050565b600060208201905061572460008301846150b4565b92915050565b600060208201905061573f60008301846150da565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561576c5761576b615ce0565b5b8060405250919050565b600067ffffffffffffffff82111561579157615790615ce0565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156157c1576157c0615ce0565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061583982615acc565b915061584483615acc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561587957615878615c53565b5b828201905092915050565b600061588f82615ad6565b915061589a83615ad6565b92508260ff038211156158b0576158af615c53565b5b828201905092915050565b60006158c682615acc565b91506158d183615acc565b9250826158e1576158e0615c82565b5b828204905092915050565b60006158f782615ad6565b915061590283615ad6565b92508261591257615911615c82565b5b828204905092915050565b600061592882615acc565b915061593383615acc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561596c5761596b615c53565b5b828202905092915050565b600061598282615ad6565b915061598d83615ad6565b92508160ff04831182151516156159a7576159a6615c53565b5b828202905092915050565b60006159bd82615acc565b91506159c883615acc565b9250828210156159db576159da615c53565b5b828203905092915050565b60006159f182615ad6565b91506159fc83615ad6565b925082821015615a0f57615a0e615c53565b5b828203905092915050565b6000615a2582615aac565b9050919050565b60008115159050919050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000615aa582615a1a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015615b10578082015181840152602081019050615af5565b83811115615b1f576000848401525b50505050565b6000615b3082615acc565b91506000821415615b4457615b43615c53565b5b600182039050919050565b60006002820490506001821680615b6757607f821691505b60208210811415615b7b57615b7a615cb1565b5b50919050565b6000615b8c82615acc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615bbf57615bbe615c53565b5b600182019050919050565b6000615bd582615ad6565b915060ff821415615be957615be8615c53565b5b600182019050919050565b6000615bff82615c06565b9050919050565b6000615c1182615d20565b9050919050565b6000819050919050565b6000615c2d82615acc565b9150615c3883615acc565b925082615c4857615c47615c82565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b615d3681615a1a565b8114615d4157600080fd5b50565b615d4d81615a2c565b8114615d5857600080fd5b50565b615d6481615a64565b8114615d6f57600080fd5b50565b615d7b81615a6e565b8114615d8657600080fd5b50565b615d9281615a9a565b8114615d9d57600080fd5b50565b615da981615acc565b8114615db457600080fd5b50565b615dc081615ad6565b8114615dcb57600080fd5b5056fea2646970667358221220008799cb847a7db88fe9177a3b7df88d9b3827710682ce0bc829427e360cbfda64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000007682969b74d73dd72963fdb353476a5c3cecf7860000000000000000000000000000000000000000000000000000000000000120000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000000c4c6f4669536b796c696e6573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044c46534c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005e68747470733a2f2f6c6f6669736b796c696e65732e6d7970696e6174612e636c6f75642f697066732f516d51434a795764525273464e595a64706b68474c5a56614d4c7638324744754b47327746474250426f61736f412f3f736565643d0000
-----Decoded View---------------
Arg [0] : _name (string): LoFiSkylines
Arg [1] : _symbol (string): LFSL
Arg [2] : _admin (address): 0x7682969b74d73dd72963Fdb353476a5C3cecf786
Arg [3] : _animationURI (string): https://lofiskylines.mypinata.cloud/ipfs/QmQCJyWdRRsFNYZdpkhGLZVaMLv82GDuKG2wFGBPBoasoA/?seed=
Arg [4] : openseaProxyRegistry_ (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000007682969b74d73dd72963fdb353476a5c3cecf786
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [4] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [6] : 4c6f4669536b796c696e65730000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 4c46534c00000000000000000000000000000000000000000000000000000000
Arg [9] : 000000000000000000000000000000000000000000000000000000000000005e
Arg [10] : 68747470733a2f2f6c6f6669736b796c696e65732e6d7970696e6174612e636c
Arg [11] : 6f75642f697066732f516d51434a795764525273464e595a64706b68474c5a56
Arg [12] : 614d4c7638324744754b47327746474250426f61736f412f3f736565643d0000
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.