Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
5,433 STRBRY
Holders
390
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 STRBRYLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Strawberries
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// contracts/Strawberries.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "./ISeeds.sol"; import "./FruitsLibrary.sol"; contract Strawberries is ERC721Enumerable { /** MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMWKkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkKWMMMMMMMMMMMM MMMMMMMMWKOkdc'..................................'cdkOKWMMMMMMMM MMMMMMWKx:...',;,'''''''''''''''''''''''''''''',;,'...:xKWMMMMMM MMMMWKx:......',;;,,'''''''''''''''''''''''',,;;,'......:xKWMMMM MMWKx:..........',;;,,,,,,,,,,,,,,,,,,,,,,,,;;,'..........:xKWMM WKx:..............',;:;;;;;;;;;;;;;;;;;;;;:;,'..............:xKW No............................................................oN Xl. ..........''''''''''''''''''''''''''''''''''''.......... .lX Xl. ........,oO0000000000000000000000000000000000Oo,........ .lX Xl. ......,oOKKXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXKKOo,...... .lX Xl. ... .:kKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKk:. ... .lX Xl. ... .:OXXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXXO:. ... .lX Xl. ... .:OXXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXXO:. ... .lX Xl. ... .:OXXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXXO:. ... .lX Xl. ... .:OXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXO:. ... .lX Xl. ... .:OXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXO:. ... .lX Xl. ... .:OXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXO:. ... .lX Xl. ... .:OXXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXXO:. ... .lX Xl. .....,oOKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKOo,..... .lX Xl. ..... .c0XXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXX0c. ..... .lX Xl. .......,oOKXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXKOo,....... .lX Xl. .........,oOKXXKKKKKKKKKKKKKKKKKKKKKKKKKKXXKOo,......... .lX Xl. ...........,oOKXKKKKKKKKKKKKKKKKKKKKKKKKXKOo,........... .lX Xl. .............,oOKXXXXXXXXXXXXXXXXXXXXXXKOo,............. .lX Nk:................,looooooooooooooooooooool,................:kN MWKc. .................................................... .cKWM MMNk:..............,;;;;;;;;;;;;;;;;;;;;;;;;,..............:kNMM MMMWXx;.............','''''''''''''''''''','.............;xXWMMM MMMMMWXx:...........''''''''''''''''''''''''...........:xXWMMMMM MMMMMMMWXx:;,......................................,;:xXWMMMMMMM MMMMMMMMMWNX0c. .c0XNWMMMMMMMMM :cheese::astronaut::cheese: RIP 7767 :cheese::astronaut::cheese: **/ using FruitsLibrary for uint8; struct Trait { string traitName; string traitType; string traitLayout; string traitColors; } //Mappings mapping(string => bool) hashToMinted; mapping(uint256 => string) internal tokenIdToHash; mapping(bytes => Trait[]) public traitTypes; uint32 currentMappingVersion; //uint256s uint256 MAX_SUPPLY = 10000; uint256 MINTS_PER_TIER = 3000; uint256 SEEDS_NONCE = 0; // Price uint256 public price = 50000000000000000; // 0.05 eth //uint arrays uint16[][5] TIERS; //address address seedsAddress; address _owner; constructor() ERC721("Strawberries", "STRBRY") { _owner = msg.sender; //Declare all the rarity tiers //Hat TIERS[0] = [50, 100, 300, 500, 1250, 1500, 1600, 2200, 2500]; //Eyes TIERS[1] = [100, 200, 400, 500, 700, 1000, 1100, 1200, 1300, 1400, 2100]; //Mouth TIERS[2] = [100, 300, 600, 900, 1250, 1750, 2350, 2750]; //Base TIERS[3] = [50, 100, 250, 400, 500, 600, 600, 800, 1000, 1200, 1500, 3000]; //Background TIERS[4] = [100, 100, 100, 400, 500, 1300, 1500, 6000]; } /** * @dev Converts a digit from 0 - 10000 into its corresponding rarity based on the given rarity tier. * @param _randinput The input from 0 - 10000 to use for rarity gen. * @param _rarityTier The tier to use. */ function rarityGen(uint256 _randinput, uint8 _rarityTier) internal view returns (string memory) { uint16 currentLowerBound = 0; for (uint8 i = 0; i < TIERS[_rarityTier].length; i++) { uint16 thisPercentage = TIERS[_rarityTier][i]; if ( _randinput >= currentLowerBound && _randinput < currentLowerBound + thisPercentage ){ return i.toString(); } currentLowerBound = currentLowerBound + thisPercentage; } revert(); } /** * @dev Generates a 9 digit hash from a tokenId, address, and random number. * @param _t The token id to be used within the hash. * @param _a The address to be used within the hash. * @param _c The custom nonce to be used within the hash. */ function hash( uint256 _t, address _a, uint256 _c ) internal returns (string memory) { require(_c < 10); // This will generate a 8 character string. //The last 7 digits are random, the first two are 00, due to the strawberry not being burned. string memory currentHash = "00"; for (uint8 i = 0; i < 5; i++) { SEEDS_NONCE++; uint16 _randinput = uint16( uint256( keccak256( abi.encodePacked( block.timestamp, block.difficulty, _t, _a, _c, SEEDS_NONCE ) ) ) % 10000 ); currentHash = string( abi.encodePacked(currentHash, FruitsLibrary.slice( string(abi.encodePacked("00",rarityGen(_randinput, i))),2 )) ); } if (hashToMinted[currentHash]) return hash(_t, _a, _c + 1); return currentHash; } /** * @dev Returns the current seeds cost of minting. */ function currentSeedsCost() public view returns (uint256) { uint256 _totalSupply = totalSupply(); if (_totalSupply <= 3000) return 1000000000000000000; if (_totalSupply > 3000 && _totalSupply <= 4000) return 1000000000000000000; if (_totalSupply > 4000 && _totalSupply <= 6000) return 2000000000000000000; if (_totalSupply > 6000 && _totalSupply <= 8000) return 3000000000000000000; if (_totalSupply > 8000 && _totalSupply <= 10000) return 4000000000000000000; revert(); } /** * @dev Mint internal, this is to avoid code duplication. */ function mintInternal() internal { uint256 _totalSupply = totalSupply(); require((_totalSupply < MAX_SUPPLY) && (!FruitsLibrary.isContract(msg.sender))); uint256 thisTokenId = _totalSupply; tokenIdToHash[thisTokenId] = hash(thisTokenId, msg.sender, 0); hashToMinted[tokenIdToHash[thisTokenId]] = true; _mint(msg.sender, thisTokenId); } /** * @dev Mints new tokens. */ function mintStrawberry(uint256 _times) public payable { require((_times > 0 && _times <= 20) && (msg.value == _times * price) && (totalSupply() < MINTS_PER_TIER), "Check values."); for(uint256 i=0; i< _times; i++){ mintInternal(); } } /** * @dev Mints new tokens. */ function mintStrawberryWithSeeds(uint256 _times) public { require((_times > 0 && _times <= 20)); //Burn this much seeds ISeeds(seedsAddress).burnFrom(msg.sender, currentSeedsCost()*_times); for(uint256 i=0; i< _times; i++){ mintInternal(); } return; } /** * @dev Burns and mints new. * @param _tokenId The token to burn. */ function burnForMint(uint256 _tokenId) public { require(ownerOf(_tokenId) == msg.sender); //Burn token _transfer( msg.sender, 0x000000000000000000000000000000000000dEaD, _tokenId ); mintInternal(); } /** * @dev Hash to SVG function */ function hashToSVG(string memory _hash) public view returns (string memory) { string memory traitLayout; string memory traitColors; uint index = (uint8(bytes(_hash).length)/2)-1; for (uint8 i = 0; i < bytes(_hash).length; i+=2) { uint8 thisTraitIndex = FruitsLibrary.parseInt( FruitsLibrary.substring(_hash, index*2, (index*2) + 2) ); Trait storage trait = traitTypes[abi.encodePacked(currentMappingVersion, index)][thisTraitIndex]; traitLayout = string(abi.encodePacked(traitLayout,trait.traitLayout)); traitColors = string(abi.encodePacked(traitColors,trait.traitColors)); if(index > 0){ index--; } } return string( abi.encodePacked( '<svg style="shape-rendering: crispedges;" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 32 32"> ', traitLayout, "<style>rect{width:1px;height:1px;}", traitColors, "</style></svg>" ) ); } /** * @dev Hash to metadata function */ function hashToMetadata(string memory _hash) public view returns (string memory) { string memory metadataString; uint index = 0; for (uint8 i = 0; i < bytes(_hash).length; i+=2) { uint8 thisTraitIndex = FruitsLibrary.parseInt( FruitsLibrary.substring(_hash, i, i + 2) ); Trait storage trait = traitTypes[abi.encodePacked(currentMappingVersion, index)][thisTraitIndex]; metadataString = string( abi.encodePacked( metadataString, '{"trait_type":"', trait.traitType, '","value":"', trait.traitName, '"}' ) ); if (index != 5) metadataString = string(abi.encodePacked(metadataString, ",")); index++; } return string(abi.encodePacked("[", metadataString, "]")); } /** * @dev Returns the SVG and metadata for a token Id * @param _tokenId The tokenId to return the SVG and metadata for. */ function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId)); string memory tokenHash = _tokenIdToHash(_tokenId); return string( abi.encodePacked( "data:application/json;base64,", FruitsLibrary.encode( bytes( string( abi.encodePacked( '{"name": "Strawberries #', FruitsLibrary.toString(_tokenId), '", "description": "A collection of 10,000 unique strawberries. All the metadata and images are generated and stored on-chain. No IPFS, no API. Just the blockchain.", "image": "data:image/svg+xml;base64,', FruitsLibrary.encode( bytes(hashToSVG(tokenHash)) ), '","attributes":', hashToMetadata(tokenHash), "}" ) ) ) ) ) ); } /** * @dev Returns a hash for a given tokenId * @param _tokenId The tokenId to return the hash for. */ function _tokenIdToHash(uint256 _tokenId) public view returns (string memory) { string memory tokenHash = tokenIdToHash[_tokenId]; //If this is a burned token, override the previous hash if (ownerOf(_tokenId) == 0x000000000000000000000000000000000000dEaD) { tokenHash = string( abi.encodePacked( "01", FruitsLibrary.substring(tokenHash, 2, 12) ) ); } return tokenHash; } /** * @dev Returns the wallet of a given wallet. Mainly for ease for frontend devs. * @param _wallet The wallet to get the tokens of. */ function walletOfOwner(address _wallet) public view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_wallet); uint256[] memory tokensId = new uint256[](tokenCount); for (uint256 i; i < tokenCount; i++) { tokensId[i] = tokenOfOwnerByIndex(_wallet, i); } return tokensId; } function getTraits(uint256 _traitTypeIndex) internal returns(Trait[] storage) { return traitTypes[abi.encodePacked(currentMappingVersion, _traitTypeIndex)]; } /*function setTraits(uint256 _traitTypeIndex, Trait[] memory _traits) internal { traitTypes[abi.encodePacked(currentMappingVersion, _traitTypeIndex)] = _traits; }*/ function clearTraits() external onlyOwner { currentMappingVersion++; } /** * @dev Recover gas for deleted traits * @param _version The version of traits to delete * @param _traitTypeIndex The trait type index */ function recoverGas(uint32 _version, uint256 _traitTypeIndex) external onlyOwner { require(_version < currentMappingVersion); delete(traitTypes[abi.encodePacked(_version, _traitTypeIndex)]); } /** * @dev Add trait types * @param _traitTypeIndex The trait type index * @param traits to add */ function addTraitTypes(uint256 _traitTypeIndex, Trait[] memory traits) public onlyOwner { for(uint i = 0; i < traits.length; i++){ getTraits(_traitTypeIndex).push( Trait( traits[i].traitName, traits[i].traitType, traits[i].traitLayout, traits[i].traitColors ) ); } return; } /** * @dev Add to a trait type * @param _traitTypeIndex The trait type index * @param _traitIndex The trait index * @param traitLayout to add */ function addTraitLayoutChunk(uint256 _traitTypeIndex, uint256 _traitIndex, string memory traitLayout) public onlyOwner { Trait storage oldTrait = getTraits(_traitTypeIndex)[_traitIndex]; getTraits(_traitTypeIndex)[_traitIndex] = Trait( oldTrait.traitName, oldTrait.traitType, string(abi.encodePacked(oldTrait.traitLayout,traitLayout)), oldTrait.traitColors ); return; } /** * @dev Sets the seeds ERC20 address * @param _seedsAddress The seed address */ function setSeedsAddress(address _seedsAddress) public onlyOwner { seedsAddress = _seedsAddress; } /** * @dev Withdraws balance */ function withdraw() public onlyOwner { payable(msg.sender).transfer(address(this).balance); } function contractURI() public view returns (string memory) { return "https://www.thefruitnft.com/strawberry.json"; } /** * @dev Modifier to only allow owner to call functions */ modifier onlyOwner() { require(_owner == msg.sender); _; } }
// 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(); } }
// contracts/ISeed.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface ISeeds is IERC20 { function burnFrom(address account, uint256 amount) external; function balanceOf(address _fruitAddress, address staker) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; library FruitsLibrary { string internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ""; // load the table into memory string memory table = TABLE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for { } lt(dataPtr, endPtr) { } { dataPtr := add(dataPtr, 3) // read 3 bytes let input := mload(dataPtr) // write 4 characters mstore( resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F)))) ) resultPtr := add(resultPtr, 1) mstore( resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F)))) ) resultPtr := add(resultPtr, 1) mstore( resultPtr, shl(248, mload(add(tablePtr, and(shr(6, input), 0x3F)))) ) resultPtr := add(resultPtr, 1) mstore( resultPtr, shl(248, mload(add(tablePtr, and(input, 0x3F)))) ) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { 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); } function parseInt(string memory _a) internal pure returns (uint8 _parsedInt) { bytes memory bresult = bytes(_a); uint8 mint = 0; for (uint8 i = 0; i < bresult.length; i++) { if ( (uint8(uint8(bresult[i])) >= 48) && (uint8(uint8(bresult[i])) <= 57) ) { mint *= 10; mint += uint8(bresult[i]) - 48; } } return mint; } function subbyte( bytes memory strBytes, uint256 startIndex, uint256 endIndex ) internal pure returns (string memory) { bytes memory result = new bytes(endIndex - startIndex); for (uint256 i = startIndex; i < endIndex; i++) { result[i - startIndex] = strBytes[i]; } return string(result); } function substring( string memory str, uint256 startIndex, uint256 endIndex ) internal pure returns (string memory) { bytes memory strBytes = bytes(str); bytes memory result = new bytes(endIndex - startIndex); for (uint256 i = startIndex; i < endIndex; i++) { result[i - startIndex] = strBytes[i]; } return string(result); } function slice( string memory str, uint startIndex ) internal pure returns (string memory) { bytes memory strBytes = bytes(str); return substring(str,strBytes.length-startIndex,strBytes.length); } 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; } }
// 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; 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; /** * @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; 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; /** * @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; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev 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; 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 Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"uint256","name":"_tokenId","type":"uint256"}],"name":"_tokenIdToHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_traitTypeIndex","type":"uint256"},{"internalType":"uint256","name":"_traitIndex","type":"uint256"},{"internalType":"string","name":"traitLayout","type":"string"}],"name":"addTraitLayoutChunk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_traitTypeIndex","type":"uint256"},{"components":[{"internalType":"string","name":"traitName","type":"string"},{"internalType":"string","name":"traitType","type":"string"},{"internalType":"string","name":"traitLayout","type":"string"},{"internalType":"string","name":"traitColors","type":"string"}],"internalType":"struct Strawberries.Trait[]","name":"traits","type":"tuple[]"}],"name":"addTraitTypes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burnForMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearTraits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSeedsCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_hash","type":"string"}],"name":"hashToMetadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_hash","type":"string"}],"name":"hashToSVG","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uint256","name":"_times","type":"uint256"}],"name":"mintStrawberry","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_times","type":"uint256"}],"name":"mintStrawberryWithSeeds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_version","type":"uint32"},{"internalType":"uint256","name":"_traitTypeIndex","type":"uint256"}],"name":"recoverGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_seedsAddress","type":"address"}],"name":"setSeedsAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"traitTypes","outputs":[{"internalType":"string","name":"traitName","type":"string"},{"internalType":"string","name":"traitType","type":"string"},{"internalType":"string","name":"traitLayout","type":"string"},{"internalType":"string","name":"traitColors","type":"string"}],"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":"_wallet","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052612710600e55610bb8600f55600060105566b1a2bc2ec500006011553480156200002d57600080fd5b506040518060400160405280600c81526020017f53747261776265727269657300000000000000000000000000000000000000008152506040518060400160405280600681526020017f53545242525900000000000000000000000000000000000000000000000000008152508160009080519060200190620000b29291906200044e565b508060019080519060200190620000cb9291906200044e565b50505033601860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806101200160405280603261ffff168152602001606461ffff16815260200161012c61ffff1681526020016101f461ffff1681526020016104e261ffff1681526020016105dc61ffff16815260200161064061ffff16815260200161089861ffff1681526020016109c461ffff1681525060126000600581106200019b576200019a620007c2565b5b01906009620001ac929190620004df565b50604051806101600160405280606461ffff16815260200160c861ffff16815260200161019061ffff1681526020016101f461ffff1681526020016102bc61ffff1681526020016103e861ffff16815260200161044c61ffff1681526020016104b061ffff16815260200161051461ffff16815260200161057861ffff16815260200161083461ffff168152506012600160058110620002515762000250620007c2565b5b0190600b6200026292919062000590565b50604051806101000160405280606461ffff16815260200161012c61ffff16815260200161025861ffff16815260200161038461ffff1681526020016104e261ffff1681526020016106d661ffff16815260200161092e61ffff168152602001610abe61ffff168152506012600260058110620002e457620002e3620007c2565b5b01906008620002f592919062000641565b50604051806101800160405280603261ffff168152602001606461ffff16815260200160fa61ffff16815260200161019061ffff1681526020016101f461ffff16815260200161025861ffff16815260200161025861ffff16815260200161032061ffff1681526020016103e861ffff1681526020016104b061ffff1681526020016105dc61ffff168152602001610bb861ffff168152506012600360058110620003a557620003a4620007c2565b5b0190600c620003b6929190620006f2565b50604051806101000160405280606461ffff168152602001606461ffff168152602001606461ffff16815260200161019061ffff1681526020016101f461ffff16815260200161051461ffff1681526020016105dc61ffff16815260200161177061ffff168152506012600460058110620004365762000435620007c2565b5b019060086200044792919062000641565b5062000856565b8280546200045c9062000820565b90600052602060002090601f016020900481019282620004805760008555620004cc565b82601f106200049b57805160ff1916838001178555620004cc565b82800160010185558215620004cc579182015b82811115620004cb578251825591602001919060010190620004ae565b5b509050620004db9190620007a3565b5090565b82805482825590600052602060002090600f016010900481019282156200057d5791602002820160005b838211156200054b57835183826101000a81548161ffff021916908361ffff160217905550926020019260020160208160010104928301926001030262000509565b80156200057b5782816101000a81549061ffff02191690556002016020816001010492830192600103026200054b565b505b5090506200058c9190620007a3565b5090565b82805482825590600052602060002090600f016010900481019282156200062e5791602002820160005b83821115620005fc57835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302620005ba565b80156200062c5782816101000a81549061ffff0219169055600201602081600101049283019260010302620005fc565b505b5090506200063d9190620007a3565b5090565b82805482825590600052602060002090600f01601090048101928215620006df5791602002820160005b83821115620006ad57835183826101000a81548161ffff021916908361ffff16021790555092602001926002016020816001010492830192600103026200066b565b8015620006dd5782816101000a81549061ffff0219169055600201602081600101049283019260010302620006ad565b505b509050620006ee9190620007a3565b5090565b82805482825590600052602060002090600f01601090048101928215620007905791602002820160005b838211156200075e57835183826101000a81548161ffff021916908361ffff16021790555092602001926002016020816001010492830192600103026200071c565b80156200078e5782816101000a81549061ffff02191690556002016020816001010492830192600103026200075e565b505b5090506200079f9190620007a3565b5090565b5b80821115620007be576000816000905550600101620007a4565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200083957607f821691505b6020821081141562000850576200084f620007f1565b5b50919050565b615f8480620008666000396000f3fe6080604052600436106101ed5760003560e01c806370a082311161010d578063c2f415f7116100a0578063d769a7341161006f578063d769a73414610738578063e34d4d6b14610763578063e8a3d4851461078c578063e985e9c5146107b7578063f15b4b01146107f4576101ed565b8063c2f415f714610676578063c4ef71c714610692578063c6352774146106bb578063c87b56dd146106fb576101ed565b8063a22cb465116100dc578063a22cb465146105d2578063b88d4fde146105fb578063b94b59f414610624578063bc2040b51461064d576101ed565b806370a082311461050257806389ce30741461053f57806395d89b411461057c578063a035b1fe146105a7576101ed565b80632f745c59116101855780634f6ccce7116101545780634f6ccce7146104225780636352211e1461045f578063638baaf31461049c57806366e33870146104c5576101ed565b80632f745c59146103685780633ccfd60b146103a557806342842e0e146103bc578063438b6300146103e5576101ed565b8063095ea7b3116101c1578063095ea7b3146102d4578063098afd4b146102fd57806318160ddd1461031457806323b872dd1461033f576101ed565b80625ea307146101f257806301ffc9a71461022f57806306fdde031461026c578063081812fc14610297575b600080fd5b3480156101fe57600080fd5b5061021960048036038101906102149190613ad6565b61081d565b6040516102269190613b9c565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190613c16565b610935565b6040516102639190613c5e565b60405180910390f35b34801561027857600080fd5b506102816109af565b60405161028e9190613b9c565b60405180910390f35b3480156102a357600080fd5b506102be60048036038101906102b99190613ad6565b610a41565b6040516102cb9190613cba565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613d01565b610ac6565b005b34801561030957600080fd5b50610312610bde565b005b34801561032057600080fd5b50610329610c7b565b6040516103369190613d50565b60405180910390f35b34801561034b57600080fd5b5061036660048036038101906103619190613d6b565b610c88565b005b34801561037457600080fd5b5061038f600480360381019061038a9190613d01565b610ce8565b60405161039c9190613d50565b60405180910390f35b3480156103b157600080fd5b506103ba610d8d565b005b3480156103c857600080fd5b506103e360048036038101906103de9190613d6b565b610e30565b005b3480156103f157600080fd5b5061040c60048036038101906104079190613dbe565b610e50565b6040516104199190613ea9565b60405180910390f35b34801561042e57600080fd5b5061044960048036038101906104449190613ad6565b610efe565b6040516104569190613d50565b60405180910390f35b34801561046b57600080fd5b5061048660048036038101906104819190613ad6565b610f6f565b6040516104939190613cba565b60405180910390f35b3480156104a857600080fd5b506104c360048036038101906104be9190613dbe565b611021565b005b3480156104d157600080fd5b506104ec60048036038101906104e79190614000565b6110bf565b6040516104f99190613b9c565b60405180910390f35b34801561050e57600080fd5b5061052960048036038101906105249190613dbe565b611218565b6040516105369190613d50565b60405180910390f35b34801561054b57600080fd5b5061056660048036038101906105619190614000565b6112d0565b6040516105739190613b9c565b60405180910390f35b34801561058857600080fd5b50610591611460565b60405161059e9190613b9c565b60405180910390f35b3480156105b357600080fd5b506105bc6114f2565b6040516105c99190613d50565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f49190614075565b6114f8565b005b34801561060757600080fd5b50610622600480360381019061061d9190614156565b611679565b005b34801561063057600080fd5b5061064b600480360381019061064691906141d9565b6116db565b005b34801561065957600080fd5b50610674600480360381019061066f9190614420565b6119f1565b005b610690600480360381019061068b9190613ad6565b611bb0565b005b34801561069e57600080fd5b506106b960048036038101906106b49190613ad6565b611c56565b005b3480156106c757600080fd5b506106e260048036038101906106dd919061447c565b611cae565b6040516106f294939291906144d8565b60405180910390f35b34801561070757600080fd5b50610722600480360381019061071d9190613ad6565b611f31565b60405161072f9190613b9c565b60405180910390f35b34801561074457600080fd5b5061074d611fc5565b60405161075a9190613d50565b60405180910390f35b34801561076f57600080fd5b5061078a60048036038101906107859190614575565b612098565b005b34801561079857600080fd5b506107a161216b565b6040516107ae9190613b9c565b60405180910390f35b3480156107c357600080fd5b506107de60048036038101906107d991906145b5565b61218b565b6040516107eb9190613c5e565b60405180910390f35b34801561080057600080fd5b5061081b60048036038101906108169190613ad6565b61221f565b005b60606000600b6000848152602001908152602001600020805461083f90614624565b80601f016020809104026020016040519081016040528092919081815260200182805461086b90614624565b80156108b85780601f1061088d576101008083540402835291602001916108b8565b820191906000526020600020905b81548152906001019060200180831161089b57829003601f168201915b5050505050905061dead73ffffffffffffffffffffffffffffffffffffffff166108e184610f6f565b73ffffffffffffffffffffffffffffffffffffffff16141561092c5761090a816002600c612304565b60405160200161091a91906146de565b60405160208183030381529060405290505b80915050919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109a857506109a782612400565b5b9050919050565b6060600080546109be90614624565b80601f01602080910402602001604051908101604052809291908181526020018280546109ea90614624565b8015610a375780601f10610a0c57610100808354040283529160200191610a37565b820191906000526020600020905b815481529060010190602001808311610a1a57829003601f168201915b5050505050905090565b6000610a4c826124e2565b610a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8290614772565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ad182610f6f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3990614804565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b6161254e565b73ffffffffffffffffffffffffffffffffffffffff161480610b905750610b8f81610b8a61254e565b61218b565b5b610bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc690614896565b60405180910390fd5b610bd98383612556565b505050565b3373ffffffffffffffffffffffffffffffffffffffff16601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c3857600080fd5b600d600081819054906101000a900463ffffffff1680929190610c5a906148e5565b91906101000a81548163ffffffff021916908363ffffffff16021790555050565b6000600880549050905090565b610c99610c9361254e565b8261260f565b610cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccf90614984565b60405180910390fd5b610ce38383836126ed565b505050565b6000610cf383611218565b8210610d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2b90614a16565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b3373ffffffffffffffffffffffffffffffffffffffff16601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610de757600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e2d573d6000803e3d6000fd5b50565b610e4b83838360405180602001604052806000815250611679565b505050565b60606000610e5d83611218565b905060008167ffffffffffffffff811115610e7b57610e7a613ed5565b5b604051908082528060200260200182016040528015610ea95781602001602082028036833780820191505090505b50905060005b82811015610ef357610ec18582610ce8565b828281518110610ed457610ed3614a36565b5b6020026020010181815250508080610eeb90614a65565b915050610eaf565b508092505050919050565b6000610f08610c7b565b8210610f49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4090614b20565b60405180910390fd5b60088281548110610f5d57610f5c614a36565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f90614bb2565b60405180910390fd5b80915050919050565b3373ffffffffffffffffffffffffffffffffffffffff16601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461107b57600080fd5b80601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060806000805b84518160ff1610156111ee5760006110f96110f4878460ff166002866110ec9190614bdf565b60ff16612304565b612949565b90506000600c600d60009054906101000a900463ffffffff1685604051602001611124929190614c6d565b6040516020818303038152906040526040516111409190614ce0565b90815260200160405180910390208260ff168154811061116357611162614a36565b5b9060005260206000209060040201905084816001018260000160405160200161118e93929190614e6f565b6040516020818303038152906040529450600584146111ca57846040516020016111b89190614f0d565b60405160208183030381529060405294505b83806111d590614a65565b94505050506002816111e79190614bdf565b90506110c6565b50816040516020016112009190614fc7565b60405160208183030381529060405292505050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128090615066565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606080606060006001600286516112e791906150b5565b6112f191906150e6565b60ff16905060005b85518160ff16101561143357600061133d6113388860028661131b919061511a565b60028088611329919061511a565b6113339190615174565b612304565b612949565b90506000600c600d60009054906101000a900463ffffffff1685604051602001611368929190614c6d565b6040516020818303038152906040526040516113849190614ce0565b90815260200160405180910390208260ff16815481106113a7576113a6614a36565b5b9060005260206000209060040201905085816002016040516020016113cd9291906151ca565b604051602081830303815290604052955084816003016040516020016113f49291906151ca565b6040516020818303038152906040529450600084111561141d578380611419906151ee565b9450505b505060028161142c9190614bdf565b90506112f9565b5082826040516020016114479291906153ba565b6040516020818303038152906040529350505050919050565b60606001805461146f90614624565b80601f016020809104026020016040519081016040528092919081815260200182805461149b90614624565b80156114e85780601f106114bd576101008083540402835291602001916114e8565b820191906000526020600020905b8154815290600101906020018083116114cb57829003601f168201915b5050505050905090565b60115481565b61150061254e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561156e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115659061544b565b60405180910390fd5b806005600061157b61254e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661162861254e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161166d9190613c5e565b60405180910390a35050565b61168a61168461254e565b8361260f565b6116c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c090614984565b60405180910390fd5b6116d584848484612a2d565b50505050565b3373ffffffffffffffffffffffffffffffffffffffff16601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461173557600080fd5b600061174084612a89565b838154811061175257611751614a36565b5b90600052602060002090600402019050604051806080016040528082600001805461177c90614624565b80601f01602080910402602001604051908101604052809291908181526020018280546117a890614624565b80156117f55780601f106117ca576101008083540402835291602001916117f5565b820191906000526020600020905b8154815290600101906020018083116117d857829003601f168201915b5050505050815260200182600101805461180e90614624565b80601f016020809104026020016040519081016040528092919081815260200182805461183a90614624565b80156118875780601f1061185c57610100808354040283529160200191611887565b820191906000526020600020905b81548152906001019060200180831161186a57829003601f168201915b5050505050815260200182600201846040516020016118a792919061546b565b60405160208183030381529060405281526020018260030180546118ca90614624565b80601f01602080910402602001604051908101604052809291908181526020018280546118f690614624565b80156119435780601f1061191857610100808354040283529160200191611943565b820191906000526020600020905b81548152906001019060200180831161192657829003601f168201915b505050505081525061195485612a89565b848154811061196657611965614a36565b5b9060005260206000209060040201600082015181600001908051906020019061199092919061392e565b5060208201518160010190805190602001906119ad92919061392e565b5060408201518160020190805190602001906119ca92919061392e565b5060608201518160030190805190602001906119e792919061392e565b5090505050505050565b3373ffffffffffffffffffffffffffffffffffffffff16601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a4b57600080fd5b60005b8151811015611bab57611a6083612a89565b6040518060800160405280848481518110611a7e57611a7d614a36565b5b6020026020010151600001518152602001848481518110611aa257611aa1614a36565b5b6020026020010151602001518152602001848481518110611ac657611ac5614a36565b5b6020026020010151604001518152602001848481518110611aea57611ae9614a36565b5b60200260200101516060015181525090806001815401808255809150506001900390600052602060002090600402016000909190919091506000820151816000019080519060200190611b3e92919061392e565b506020820151816001019080519060200190611b5b92919061392e565b506040820151816002019080519060200190611b7892919061392e565b506060820151816003019080519060200190611b9592919061392e565b5050508080611ba390614a65565b915050611a4e565b505050565b600081118015611bc1575060148111155b8015611bd9575060115481611bd6919061511a565b34145b8015611bed5750600f54611beb610c7b565b105b611c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c23906154db565b60405180910390fd5b60005b81811015611c5257611c3f612ae3565b8080611c4a90614a65565b915050611c2f565b5050565b3373ffffffffffffffffffffffffffffffffffffffff16611c7682610f6f565b73ffffffffffffffffffffffffffffffffffffffff1614611c9657600080fd5b611ca33361dead836126ed565b611cab612ae3565b50565b600c828051602081018201805184825260208301602085012081835280955050505050508181548110611ce057600080fd5b906000526020600020906004020160009150915050806000018054611d0490614624565b80601f0160208091040260200160405190810160405280929190818152602001828054611d3090614624565b8015611d7d5780601f10611d5257610100808354040283529160200191611d7d565b820191906000526020600020905b815481529060010190602001808311611d6057829003601f168201915b505050505090806001018054611d9290614624565b80601f0160208091040260200160405190810160405280929190818152602001828054611dbe90614624565b8015611e0b5780601f10611de057610100808354040283529160200191611e0b565b820191906000526020600020905b815481529060010190602001808311611dee57829003601f168201915b505050505090806002018054611e2090614624565b80601f0160208091040260200160405190810160405280929190818152602001828054611e4c90614624565b8015611e995780601f10611e6e57610100808354040283529160200191611e99565b820191906000526020600020905b815481529060010190602001808311611e7c57829003601f168201915b505050505090806003018054611eae90614624565b80601f0160208091040260200160405190810160405280929190818152602001828054611eda90614624565b8015611f275780601f10611efc57610100808354040283529160200191611f27565b820191906000526020600020905b815481529060010190602001808311611f0a57829003601f168201915b5050505050905084565b6060611f3c826124e2565b611f4557600080fd5b6000611f508361081d565b9050611f9e611f5e84612b9e565b611f6f611f6a846112d0565b612cff565b611f78846110bf565b604051602001611f8a9392919061570f565b604051602081830303815290604052612cff565b604051602001611fae91906157b8565b604051602081830303815290604052915050919050565b600080611fd0610c7b565b9050610bb88111611fec57670de0b6b3a7640000915050612095565b610bb881118015611fff5750610fa08111155b1561201557670de0b6b3a7640000915050612095565b610fa08111801561202857506117708111155b1561203e57671bc16d674ec80000915050612095565b611770811180156120515750611f408111155b15612067576729a2241af62c0000915050612095565b611f408111801561207a57506127108111155b1561209057673782dace9d900000915050612095565b600080fd5b90565b3373ffffffffffffffffffffffffffffffffffffffff16601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146120f257600080fd5b600d60009054906101000a900463ffffffff1663ffffffff168263ffffffff161061211c57600080fd5b600c8282604051602001612131929190614c6d565b60405160208183030381529060405260405161214d9190614ce0565b9081526020016040518091039020600061216791906139b4565b5050565b60606040518060600160405280602b8152602001615ee4602b9139905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600081118015612230575060148111155b61223957600080fd5b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc67903383612281611fc5565b61228b919061511a565b6040518363ffffffff1660e01b81526004016122a89291906157da565b600060405180830381600087803b1580156122c257600080fd5b505af11580156122d6573d6000803e3d6000fd5b5050505060005b81811015612300576122ed612ae3565b80806122f890614a65565b9150506122dd565b5050565b60606000849050600084846123199190615803565b67ffffffffffffffff81111561233257612331613ed5565b5b6040519080825280601f01601f1916602001820160405280156123645781602001600182028036833780820191505090505b50905060008590505b848110156123f35782818151811061238857612387614a36565b5b602001015160f81c60f81b8287836123a09190615803565b815181106123b1576123b0614a36565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080806123eb90614a65565b91505061236d565b5080925050509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124cb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124db57506124da82612e84565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125c983610f6f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061261a826124e2565b612659576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612650906158a9565b60405180910390fd5b600061266483610f6f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806126d357508373ffffffffffffffffffffffffffffffffffffffff166126bb84610a41565b73ffffffffffffffffffffffffffffffffffffffff16145b806126e457506126e3818561218b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661270d82610f6f565b73ffffffffffffffffffffffffffffffffffffffff1614612763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275a9061593b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ca906159cd565b60405180910390fd5b6127de838383612eee565b6127e9600082612556565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128399190615803565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128909190615174565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000808290506000805b82518160ff161015612a22576030838260ff168151811061297757612976614a36565b5b602001015160f81c60f81b60f81c60ff16101580156129bd57506039838260ff16815181106129a9576129a8614a36565b5b602001015160f81c60f81b60f81c60ff1611155b15612a0f57600a826129cf91906159ed565b91506030838260ff16815181106129e9576129e8614a36565b5b602001015160f81c60f81b60f81c612a0191906150e6565b82612a0c9190614bdf565b91505b8080612a1a90615a28565b915050612953565b508092505050919050565b612a388484846126ed565b612a4484848484613002565b612a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7a90615ac4565b60405180910390fd5b50505050565b6000600c600d60009054906101000a900463ffffffff1683604051602001612ab2929190614c6d565b604051602081830303815290604052604051612ace9190614ce0565b90815260200160405180910390209050919050565b6000612aed610c7b565b9050600e5481108015612b065750612b0433613199565b155b612b0f57600080fd5b6000819050612b20813360006131ac565b600b60008381526020019081526020016000209080519060200190612b4692919061392e565b506001600a600b6000848152602001908152602001600020604051612b6b9190615ae4565b908152602001604051809103902060006101000a81548160ff021916908315150217905550612b9a338261332e565b5050565b60606000821415612be6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cfa565b600082905060005b60008214612c18578080612c0190614a65565b915050600a82612c119190615afb565b9150612bee565b60008167ffffffffffffffff811115612c3457612c33613ed5565b5b6040519080825280601f01601f191660200182016040528015612c665781602001600182028036833780820191505090505b5090505b60008514612cf357600182612c7f9190615803565b9150600a85612c8e9190615b2c565b6030612c9a9190615174565b60f81b818381518110612cb057612caf614a36565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cec9190615afb565b9450612c6a565b8093505050505b919050565b6060600082511415612d2257604051806020016040528060008152509050612e7f565b6000604051806060016040528060408152602001615f0f6040913990506000600360028551612d519190615174565b612d5b9190615afb565b6004612d67919061511a565b90506000602082612d789190615174565b67ffffffffffffffff811115612d9157612d90613ed5565b5b6040519080825280601f01601f191660200182016040528015612dc35781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612e3e576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b825260018201915050612dd7565b600389510660018114612e585760028114612e6857612e73565b613d3d60f01b6002830352612e73565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612ef98383836134fc565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f3c57612f3781613501565b612f7b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f7a57612f79838261354a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612fbe57612fb9816136b7565b612ffd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612ffc57612ffb8282613788565b5b5b505050565b60006130238473ffffffffffffffffffffffffffffffffffffffff16613807565b1561318c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261304c61254e565b8786866040518563ffffffff1660e01b815260040161306e9493929190615ba7565b602060405180830381600087803b15801561308857600080fd5b505af19250505080156130b957506040513d601f19601f820116820180604052508101906130b69190615c08565b60015b61313c573d80600081146130e9576040519150601f19603f3d011682016040523d82523d6000602084013e6130ee565b606091505b50600081511415613134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312b90615ac4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613191565b600190505b949350505050565b600080823b905060008111915050919050565b6060600a82106131bb57600080fd5b60006040518060400160405280600281526020017f3030000000000000000000000000000000000000000000000000000000000000815250905060005b60058160ff1610156132d1576010600081548092919061321790614a65565b91905055506000612710424489898960105460405160200161323e96959493929190615c7d565b6040516020818303038152906040528051906020012060001c6132619190615b2c565b90508261329b6132758361ffff168561381a565b6040516020016132859190615d39565b6040516020818303038152906040526002613906565b6040516020016132ac929190615d5b565b60405160208183030381529060405292505080806132c990615a28565b9150506131f8565b50600a816040516132e29190615d7f565b908152602001604051809103902060009054906101000a900460ff16156133225761331a85856001866133159190615174565b6131ac565b915050613327565b809150505b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561339e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339590615de2565b60405180910390fd5b6133a7816124e2565b156133e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133de90615e4e565b60405180910390fd5b6133f360008383612eee565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134439190615174565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161355784611218565b6135619190615803565b9050600060076000848152602001908152602001600020549050818114613646576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506136cb9190615803565b90506000600960008481526020019081526020016000205490506000600883815481106136fb576136fa614a36565b5b90600052602060002001549050806008838154811061371d5761371c614a36565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061376c5761376b615e6e565b5b6001900381819060005260206000200160009055905550505050565b600061379383611218565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b60606000805b60128460ff166005811061383757613836614a36565b5b01805490508160ff1610156138fa57600060128560ff166005811061385f5761385e614a36565b5b018260ff168154811061387557613874614a36565b5b90600052602060002090601091828204019190066002029054906101000a900461ffff1690508261ffff1686101580156138bd575080836138b69190615eab565b61ffff1686105b156138d8576138ce8260ff16612b9e565b9350505050613900565b80836138e49190615eab565b92505080806138f290615a28565b915050613820565b50600080fd5b92915050565b606060008390506139258484835161391e9190615803565b8351612304565b91505092915050565b82805461393a90614624565b90600052602060002090601f01602090048101928261395c57600085556139a3565b82601f1061397557805160ff19168380011785556139a3565b828001600101855582156139a3579182015b828111156139a2578251825591602001919060010190613987565b5b5090506139b091906139d8565b5090565b50805460008255600402906000526020600020908101906139d591906139f5565b50565b5b808211156139f15760008160009055506001016139d9565b5090565b5b80821115613a485760008082016000613a0f9190613a4c565b600182016000613a1f9190613a4c565b600282016000613a2f9190613a4c565b600382016000613a3f9190613a4c565b506004016139f6565b5090565b508054613a5890614624565b6000825580601f10613a6a5750613a89565b601f016020900490600052602060002090810190613a8891906139d8565b5b50565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b613ab381613aa0565b8114613abe57600080fd5b50565b600081359050613ad081613aaa565b92915050565b600060208284031215613aec57613aeb613a96565b5b6000613afa84828501613ac1565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b3d578082015181840152602081019050613b22565b83811115613b4c576000848401525b50505050565b6000601f19601f8301169050919050565b6000613b6e82613b03565b613b788185613b0e565b9350613b88818560208601613b1f565b613b9181613b52565b840191505092915050565b60006020820190508181036000830152613bb68184613b63565b905092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613bf381613bbe565b8114613bfe57600080fd5b50565b600081359050613c1081613bea565b92915050565b600060208284031215613c2c57613c2b613a96565b5b6000613c3a84828501613c01565b91505092915050565b60008115159050919050565b613c5881613c43565b82525050565b6000602082019050613c736000830184613c4f565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ca482613c79565b9050919050565b613cb481613c99565b82525050565b6000602082019050613ccf6000830184613cab565b92915050565b613cde81613c99565b8114613ce957600080fd5b50565b600081359050613cfb81613cd5565b92915050565b60008060408385031215613d1857613d17613a96565b5b6000613d2685828601613cec565b9250506020613d3785828601613ac1565b9150509250929050565b613d4a81613aa0565b82525050565b6000602082019050613d656000830184613d41565b92915050565b600080600060608486031215613d8457613d83613a96565b5b6000613d9286828701613cec565b9350506020613da386828701613cec565b9250506040613db486828701613ac1565b9150509250925092565b600060208284031215613dd457613dd3613a96565b5b6000613de284828501613cec565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613e2081613aa0565b82525050565b6000613e328383613e17565b60208301905092915050565b6000602082019050919050565b6000613e5682613deb565b613e608185613df6565b9350613e6b83613e07565b8060005b83811015613e9c578151613e838882613e26565b9750613e8e83613e3e565b925050600181019050613e6f565b5085935050505092915050565b60006020820190508181036000830152613ec38184613e4b565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f0d82613b52565b810181811067ffffffffffffffff82111715613f2c57613f2b613ed5565b5b80604052505050565b6000613f3f613a8c565b9050613f4b8282613f04565b919050565b600067ffffffffffffffff821115613f6b57613f6a613ed5565b5b613f7482613b52565b9050602081019050919050565b82818337600083830152505050565b6000613fa3613f9e84613f50565b613f35565b905082815260208101848484011115613fbf57613fbe613ed0565b5b613fca848285613f81565b509392505050565b600082601f830112613fe757613fe6613ecb565b5b8135613ff7848260208601613f90565b91505092915050565b60006020828403121561401657614015613a96565b5b600082013567ffffffffffffffff81111561403457614033613a9b565b5b61404084828501613fd2565b91505092915050565b61405281613c43565b811461405d57600080fd5b50565b60008135905061406f81614049565b92915050565b6000806040838503121561408c5761408b613a96565b5b600061409a85828601613cec565b92505060206140ab85828601614060565b9150509250929050565b600067ffffffffffffffff8211156140d0576140cf613ed5565b5b6140d982613b52565b9050602081019050919050565b60006140f96140f4846140b5565b613f35565b90508281526020810184848401111561411557614114613ed0565b5b614120848285613f81565b509392505050565b600082601f83011261413d5761413c613ecb565b5b813561414d8482602086016140e6565b91505092915050565b600080600080608085870312156141705761416f613a96565b5b600061417e87828801613cec565b945050602061418f87828801613cec565b93505060406141a087828801613ac1565b925050606085013567ffffffffffffffff8111156141c1576141c0613a9b565b5b6141cd87828801614128565b91505092959194509250565b6000806000606084860312156141f2576141f1613a96565b5b600061420086828701613ac1565b935050602061421186828701613ac1565b925050604084013567ffffffffffffffff81111561423257614231613a9b565b5b61423e86828701613fd2565b9150509250925092565b600067ffffffffffffffff82111561426357614262613ed5565b5b602082029050602081019050919050565b600080fd5b600080fd5b600080fd5b60006080828403121561429957614298614279565b5b6142a36080613f35565b9050600082013567ffffffffffffffff8111156142c3576142c261427e565b5b6142cf84828501613fd2565b600083015250602082013567ffffffffffffffff8111156142f3576142f261427e565b5b6142ff84828501613fd2565b602083015250604082013567ffffffffffffffff8111156143235761432261427e565b5b61432f84828501613fd2565b604083015250606082013567ffffffffffffffff8111156143535761435261427e565b5b61435f84828501613fd2565b60608301525092915050565b600061437e61437984614248565b613f35565b905080838252602082019050602084028301858111156143a1576143a0614274565b5b835b818110156143e857803567ffffffffffffffff8111156143c6576143c5613ecb565b5b8086016143d38982614283565b855260208501945050506020810190506143a3565b5050509392505050565b600082601f83011261440757614406613ecb565b5b813561441784826020860161436b565b91505092915050565b6000806040838503121561443757614436613a96565b5b600061444585828601613ac1565b925050602083013567ffffffffffffffff81111561446657614465613a9b565b5b614472858286016143f2565b9150509250929050565b6000806040838503121561449357614492613a96565b5b600083013567ffffffffffffffff8111156144b1576144b0613a9b565b5b6144bd85828601614128565b92505060206144ce85828601613ac1565b9150509250929050565b600060808201905081810360008301526144f28187613b63565b905081810360208301526145068186613b63565b9050818103604083015261451a8185613b63565b9050818103606083015261452e8184613b63565b905095945050505050565b600063ffffffff82169050919050565b61455281614539565b811461455d57600080fd5b50565b60008135905061456f81614549565b92915050565b6000806040838503121561458c5761458b613a96565b5b600061459a85828601614560565b92505060206145ab85828601613ac1565b9150509250929050565b600080604083850312156145cc576145cb613a96565b5b60006145da85828601613cec565b92505060206145eb85828601613cec565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061463c57607f821691505b602082108114156146505761464f6145f5565b5b50919050565b600081905092915050565b7f3031000000000000000000000000000000000000000000000000000000000000600082015250565b6000614697600283614656565b91506146a282614661565b600282019050919050565b60006146b882613b03565b6146c28185614656565b93506146d2818560208601613b1f565b80840191505092915050565b60006146e98261468a565b91506146f582846146ad565b915081905092915050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061475c602c83613b0e565b915061476782614700565b604082019050919050565b6000602082019050818103600083015261478b8161474f565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006147ee602183613b0e565b91506147f982614792565b604082019050919050565b6000602082019050818103600083015261481d816147e1565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614880603883613b0e565b915061488b82614824565b604082019050919050565b600060208201905081810360008301526148af81614873565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148f082614539565b915063ffffffff821415614907576149066148b6565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061496e603183613b0e565b915061497982614912565b604082019050919050565b6000602082019050818103600083015261499d81614961565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614a00602b83613b0e565b9150614a0b826149a4565b604082019050919050565b60006020820190508181036000830152614a2f816149f3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614a7082613aa0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614aa357614aa26148b6565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614b0a602c83613b0e565b9150614b1582614aae565b604082019050919050565b60006020820190508181036000830152614b3981614afd565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614b9c602983613b0e565b9150614ba782614b40565b604082019050919050565b60006020820190508181036000830152614bcb81614b8f565b9050919050565b600060ff82169050919050565b6000614bea82614bd2565b9150614bf583614bd2565b92508260ff03821115614c0b57614c0a6148b6565b5b828201905092915050565b60008160e01b9050919050565b6000614c2e82614c16565b9050919050565b614c46614c4182614539565b614c23565b82525050565b6000819050919050565b614c67614c6282613aa0565b614c4c565b82525050565b6000614c798285614c35565b600482019150614c898284614c56565b6020820191508190509392505050565b600081519050919050565b600081905092915050565b6000614cba82614c99565b614cc48185614ca4565b9350614cd4818560208601613b1f565b80840191505092915050565b6000614cec8284614caf565b915081905092915050565b7f7b2274726169745f74797065223a220000000000000000000000000000000000600082015250565b6000614d2d600f83614656565b9150614d3882614cf7565b600f82019050919050565b60008190508160005260206000209050919050565b60008154614d6581614624565b614d6f8186614656565b94506001821660008114614d8a5760018114614d9b57614dce565b60ff19831686528186019350614dce565b614da485614d43565b60005b83811015614dc657815481890152600182019150602081019050614da7565b838801955050505b50505092915050565b7f222c2276616c7565223a22000000000000000000000000000000000000000000600082015250565b6000614e0d600b83614656565b9150614e1882614dd7565b600b82019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e59600283614656565b9150614e6482614e23565b600282019050919050565b6000614e7b82866146ad565b9150614e8682614d20565b9150614e928285614d58565b9150614e9d82614e00565b9150614ea98284614d58565b9150614eb482614e4c565b9150819050949350505050565b7f2c00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ef7600183614656565b9150614f0282614ec1565b600182019050919050565b6000614f1982846146ad565b9150614f2482614eea565b915081905092915050565b7f5b00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614f65600183614656565b9150614f7082614f2f565b600182019050919050565b7f5d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614fb1600183614656565b9150614fbc82614f7b565b600182019050919050565b6000614fd282614f58565b9150614fde82846146ad565b9150614fe982614fa4565b915081905092915050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615050602a83613b0e565b915061505b82614ff4565b604082019050919050565b6000602082019050818103600083015261507f81615043565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006150c082614bd2565b91506150cb83614bd2565b9250826150db576150da615086565b5b828204905092915050565b60006150f182614bd2565b91506150fc83614bd2565b92508282101561510f5761510e6148b6565b5b828203905092915050565b600061512582613aa0565b915061513083613aa0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615169576151686148b6565b5b828202905092915050565b600061517f82613aa0565b915061518a83613aa0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156151bf576151be6148b6565b5b828201905092915050565b60006151d682856146ad565b91506151e28284614d58565b91508190509392505050565b60006151f982613aa0565b9150600082141561520d5761520c6148b6565b5b600182039050919050565b7f3c737667207374796c653d2273686170652d72656e646572696e673a2063726960008201527f737065646765733b2220786d6c6e733d22687474703a2f2f7777772e77332e6f60208201527f72672f323030302f73766722207072657365727665417370656374526174696f60408201527f3d22784d696e594d696e206d656574222076696577426f783d2230203020333260608201527f203332223e200000000000000000000000000000000000000000000000000000608082015250565b60006152e6608683614656565b91506152f182615218565b608682019050919050565b7f3c7374796c653e726563747b77696474683a3170783b6865696768743a31707860008201527f3b7d000000000000000000000000000000000000000000000000000000000000602082015250565b6000615358602283614656565b9150615363826152fc565b602282019050919050565b7f3c2f7374796c653e3c2f7376673e000000000000000000000000000000000000600082015250565b60006153a4600e83614656565b91506153af8261536e565b600e82019050919050565b60006153c5826152d9565b91506153d182856146ad565b91506153dc8261534b565b91506153e882846146ad565b91506153f382615397565b91508190509392505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615435601983613b0e565b9150615440826153ff565b602082019050919050565b6000602082019050818103600083015261546481615428565b9050919050565b60006154778285614d58565b915061548382846146ad565b91508190509392505050565b7f436865636b2076616c7565732e00000000000000000000000000000000000000600082015250565b60006154c5600d83613b0e565b91506154d08261548f565b602082019050919050565b600060208201905081810360008301526154f4816154b8565b9050919050565b7f7b226e616d65223a202253747261776265727269657320230000000000000000600082015250565b6000615531601883614656565b915061553c826154fb565b601882019050919050565b7f222c20226465736372697074696f6e223a20224120636f6c6c656374696f6e2060008201527f6f662031302c30303020756e69717565207374726177626572726965732e204160208201527f6c6c20746865206d6574616461746120616e6420696d6167657320617265206760408201527f656e65726174656420616e642073746f726564206f6e2d636861696e2e204e6f60608201527f20495046532c206e6f204150492e204a7573742074686520626c6f636b63686160808201527f696e2e222c2022696d616765223a2022646174613a696d6167652f7376672b7860a08201527f6d6c3b6261736536342c0000000000000000000000000000000000000000000060c082015250565b600061566160ca83614656565b915061566c82615547565b60ca82019050919050565b7f222c2261747472696275746573223a0000000000000000000000000000000000600082015250565b60006156ad600f83614656565b91506156b882615677565b600f82019050919050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b60006156f9600183614656565b9150615704826156c3565b600182019050919050565b600061571a82615524565b915061572682866146ad565b915061573182615654565b915061573d82856146ad565b9150615748826156a0565b915061575482846146ad565b915061575f826156ec565b9150819050949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b60006157a2601d83614656565b91506157ad8261576c565b601d82019050919050565b60006157c382615795565b91506157cf82846146ad565b915081905092915050565b60006040820190506157ef6000830185613cab565b6157fc6020830184613d41565b9392505050565b600061580e82613aa0565b915061581983613aa0565b92508282101561582c5761582b6148b6565b5b828203905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615893602c83613b0e565b915061589e82615837565b604082019050919050565b600060208201905081810360008301526158c281615886565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000615925602983613b0e565b9150615930826158c9565b604082019050919050565b6000602082019050818103600083015261595481615918565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006159b7602483613b0e565b91506159c28261595b565b604082019050919050565b600060208201905081810360008301526159e6816159aa565b9050919050565b60006159f882614bd2565b9150615a0383614bd2565b92508160ff0483118215151615615a1d57615a1c6148b6565b5b828202905092915050565b6000615a3382614bd2565b915060ff821415615a4757615a466148b6565b5b600182019050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615aae603283613b0e565b9150615ab982615a52565b604082019050919050565b60006020820190508181036000830152615add81615aa1565b9050919050565b6000615af08284614d58565b915081905092915050565b6000615b0682613aa0565b9150615b1183613aa0565b925082615b2157615b20615086565b5b828204905092915050565b6000615b3782613aa0565b9150615b4283613aa0565b925082615b5257615b51615086565b5b828206905092915050565b600082825260208201905092915050565b6000615b7982614c99565b615b838185615b5d565b9350615b93818560208601613b1f565b615b9c81613b52565b840191505092915050565b6000608082019050615bbc6000830187613cab565b615bc96020830186613cab565b615bd66040830185613d41565b8181036060830152615be88184615b6e565b905095945050505050565b600081519050615c0281613bea565b92915050565b600060208284031215615c1e57615c1d613a96565b5b6000615c2c84828501615bf3565b91505092915050565b60008160601b9050919050565b6000615c4d82615c35565b9050919050565b6000615c5f82615c42565b9050919050565b615c77615c7282613c99565b615c54565b82525050565b6000615c898289614c56565b602082019150615c998288614c56565b602082019150615ca98287614c56565b602082019150615cb98286615c66565b601482019150615cc98285614c56565b602082019150615cd98284614c56565b602082019150819050979650505050505050565b7f3030000000000000000000000000000000000000000000000000000000000000600082015250565b6000615d23600283614656565b9150615d2e82615ced565b600282019050919050565b6000615d4482615d16565b9150615d5082846146ad565b915081905092915050565b6000615d6782856146ad565b9150615d7382846146ad565b91508190509392505050565b6000615d8b82846146ad565b915081905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615dcc602083613b0e565b9150615dd782615d96565b602082019050919050565b60006020820190508181036000830152615dfb81615dbf565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615e38601c83613b0e565b9150615e4382615e02565b602082019050919050565b60006020820190508181036000830152615e6781615e2b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600061ffff82169050919050565b6000615eb682615e9d565b9150615ec183615e9d565b92508261ffff03821115615ed857615ed76148b6565b5b82820190509291505056fe68747470733a2f2f7777772e74686566727569746e66742e636f6d2f737472617762657272792e6a736f6e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220aedaf7590f628c19c3a34ace873cc9125da32f179c26928893ed90894900f67664736f6c63430008090033
Deployed Bytecode
0x6080604052600436106101ed5760003560e01c806370a082311161010d578063c2f415f7116100a0578063d769a7341161006f578063d769a73414610738578063e34d4d6b14610763578063e8a3d4851461078c578063e985e9c5146107b7578063f15b4b01146107f4576101ed565b8063c2f415f714610676578063c4ef71c714610692578063c6352774146106bb578063c87b56dd146106fb576101ed565b8063a22cb465116100dc578063a22cb465146105d2578063b88d4fde146105fb578063b94b59f414610624578063bc2040b51461064d576101ed565b806370a082311461050257806389ce30741461053f57806395d89b411461057c578063a035b1fe146105a7576101ed565b80632f745c59116101855780634f6ccce7116101545780634f6ccce7146104225780636352211e1461045f578063638baaf31461049c57806366e33870146104c5576101ed565b80632f745c59146103685780633ccfd60b146103a557806342842e0e146103bc578063438b6300146103e5576101ed565b8063095ea7b3116101c1578063095ea7b3146102d4578063098afd4b146102fd57806318160ddd1461031457806323b872dd1461033f576101ed565b80625ea307146101f257806301ffc9a71461022f57806306fdde031461026c578063081812fc14610297575b600080fd5b3480156101fe57600080fd5b5061021960048036038101906102149190613ad6565b61081d565b6040516102269190613b9c565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190613c16565b610935565b6040516102639190613c5e565b60405180910390f35b34801561027857600080fd5b506102816109af565b60405161028e9190613b9c565b60405180910390f35b3480156102a357600080fd5b506102be60048036038101906102b99190613ad6565b610a41565b6040516102cb9190613cba565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613d01565b610ac6565b005b34801561030957600080fd5b50610312610bde565b005b34801561032057600080fd5b50610329610c7b565b6040516103369190613d50565b60405180910390f35b34801561034b57600080fd5b5061036660048036038101906103619190613d6b565b610c88565b005b34801561037457600080fd5b5061038f600480360381019061038a9190613d01565b610ce8565b60405161039c9190613d50565b60405180910390f35b3480156103b157600080fd5b506103ba610d8d565b005b3480156103c857600080fd5b506103e360048036038101906103de9190613d6b565b610e30565b005b3480156103f157600080fd5b5061040c60048036038101906104079190613dbe565b610e50565b6040516104199190613ea9565b60405180910390f35b34801561042e57600080fd5b5061044960048036038101906104449190613ad6565b610efe565b6040516104569190613d50565b60405180910390f35b34801561046b57600080fd5b5061048660048036038101906104819190613ad6565b610f6f565b6040516104939190613cba565b60405180910390f35b3480156104a857600080fd5b506104c360048036038101906104be9190613dbe565b611021565b005b3480156104d157600080fd5b506104ec60048036038101906104e79190614000565b6110bf565b6040516104f99190613b9c565b60405180910390f35b34801561050e57600080fd5b5061052960048036038101906105249190613dbe565b611218565b6040516105369190613d50565b60405180910390f35b34801561054b57600080fd5b5061056660048036038101906105619190614000565b6112d0565b6040516105739190613b9c565b60405180910390f35b34801561058857600080fd5b50610591611460565b60405161059e9190613b9c565b60405180910390f35b3480156105b357600080fd5b506105bc6114f2565b6040516105c99190613d50565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f49190614075565b6114f8565b005b34801561060757600080fd5b50610622600480360381019061061d9190614156565b611679565b005b34801561063057600080fd5b5061064b600480360381019061064691906141d9565b6116db565b005b34801561065957600080fd5b50610674600480360381019061066f9190614420565b6119f1565b005b610690600480360381019061068b9190613ad6565b611bb0565b005b34801561069e57600080fd5b506106b960048036038101906106b49190613ad6565b611c56565b005b3480156106c757600080fd5b506106e260048036038101906106dd919061447c565b611cae565b6040516106f294939291906144d8565b60405180910390f35b34801561070757600080fd5b50610722600480360381019061071d9190613ad6565b611f31565b60405161072f9190613b9c565b60405180910390f35b34801561074457600080fd5b5061074d611fc5565b60405161075a9190613d50565b60405180910390f35b34801561076f57600080fd5b5061078a60048036038101906107859190614575565b612098565b005b34801561079857600080fd5b506107a161216b565b6040516107ae9190613b9c565b60405180910390f35b3480156107c357600080fd5b506107de60048036038101906107d991906145b5565b61218b565b6040516107eb9190613c5e565b60405180910390f35b34801561080057600080fd5b5061081b60048036038101906108169190613ad6565b61221f565b005b60606000600b6000848152602001908152602001600020805461083f90614624565b80601f016020809104026020016040519081016040528092919081815260200182805461086b90614624565b80156108b85780601f1061088d576101008083540402835291602001916108b8565b820191906000526020600020905b81548152906001019060200180831161089b57829003601f168201915b5050505050905061dead73ffffffffffffffffffffffffffffffffffffffff166108e184610f6f565b73ffffffffffffffffffffffffffffffffffffffff16141561092c5761090a816002600c612304565b60405160200161091a91906146de565b60405160208183030381529060405290505b80915050919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109a857506109a782612400565b5b9050919050565b6060600080546109be90614624565b80601f01602080910402602001604051908101604052809291908181526020018280546109ea90614624565b8015610a375780601f10610a0c57610100808354040283529160200191610a37565b820191906000526020600020905b815481529060010190602001808311610a1a57829003601f168201915b5050505050905090565b6000610a4c826124e2565b610a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8290614772565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ad182610f6f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3990614804565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b6161254e565b73ffffffffffffffffffffffffffffffffffffffff161480610b905750610b8f81610b8a61254e565b61218b565b5b610bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc690614896565b60405180910390fd5b610bd98383612556565b505050565b3373ffffffffffffffffffffffffffffffffffffffff16601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c3857600080fd5b600d600081819054906101000a900463ffffffff1680929190610c5a906148e5565b91906101000a81548163ffffffff021916908363ffffffff16021790555050565b6000600880549050905090565b610c99610c9361254e565b8261260f565b610cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccf90614984565b60405180910390fd5b610ce38383836126ed565b505050565b6000610cf383611218565b8210610d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2b90614a16565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b3373ffffffffffffffffffffffffffffffffffffffff16601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610de757600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e2d573d6000803e3d6000fd5b50565b610e4b83838360405180602001604052806000815250611679565b505050565b60606000610e5d83611218565b905060008167ffffffffffffffff811115610e7b57610e7a613ed5565b5b604051908082528060200260200182016040528015610ea95781602001602082028036833780820191505090505b50905060005b82811015610ef357610ec18582610ce8565b828281518110610ed457610ed3614a36565b5b6020026020010181815250508080610eeb90614a65565b915050610eaf565b508092505050919050565b6000610f08610c7b565b8210610f49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4090614b20565b60405180910390fd5b60088281548110610f5d57610f5c614a36565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f90614bb2565b60405180910390fd5b80915050919050565b3373ffffffffffffffffffffffffffffffffffffffff16601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461107b57600080fd5b80601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060806000805b84518160ff1610156111ee5760006110f96110f4878460ff166002866110ec9190614bdf565b60ff16612304565b612949565b90506000600c600d60009054906101000a900463ffffffff1685604051602001611124929190614c6d565b6040516020818303038152906040526040516111409190614ce0565b90815260200160405180910390208260ff168154811061116357611162614a36565b5b9060005260206000209060040201905084816001018260000160405160200161118e93929190614e6f565b6040516020818303038152906040529450600584146111ca57846040516020016111b89190614f0d565b60405160208183030381529060405294505b83806111d590614a65565b94505050506002816111e79190614bdf565b90506110c6565b50816040516020016112009190614fc7565b60405160208183030381529060405292505050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128090615066565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606080606060006001600286516112e791906150b5565b6112f191906150e6565b60ff16905060005b85518160ff16101561143357600061133d6113388860028661131b919061511a565b60028088611329919061511a565b6113339190615174565b612304565b612949565b90506000600c600d60009054906101000a900463ffffffff1685604051602001611368929190614c6d565b6040516020818303038152906040526040516113849190614ce0565b90815260200160405180910390208260ff16815481106113a7576113a6614a36565b5b9060005260206000209060040201905085816002016040516020016113cd9291906151ca565b604051602081830303815290604052955084816003016040516020016113f49291906151ca565b6040516020818303038152906040529450600084111561141d578380611419906151ee565b9450505b505060028161142c9190614bdf565b90506112f9565b5082826040516020016114479291906153ba565b6040516020818303038152906040529350505050919050565b60606001805461146f90614624565b80601f016020809104026020016040519081016040528092919081815260200182805461149b90614624565b80156114e85780601f106114bd576101008083540402835291602001916114e8565b820191906000526020600020905b8154815290600101906020018083116114cb57829003601f168201915b5050505050905090565b60115481565b61150061254e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561156e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115659061544b565b60405180910390fd5b806005600061157b61254e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661162861254e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161166d9190613c5e565b60405180910390a35050565b61168a61168461254e565b8361260f565b6116c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c090614984565b60405180910390fd5b6116d584848484612a2d565b50505050565b3373ffffffffffffffffffffffffffffffffffffffff16601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461173557600080fd5b600061174084612a89565b838154811061175257611751614a36565b5b90600052602060002090600402019050604051806080016040528082600001805461177c90614624565b80601f01602080910402602001604051908101604052809291908181526020018280546117a890614624565b80156117f55780601f106117ca576101008083540402835291602001916117f5565b820191906000526020600020905b8154815290600101906020018083116117d857829003601f168201915b5050505050815260200182600101805461180e90614624565b80601f016020809104026020016040519081016040528092919081815260200182805461183a90614624565b80156118875780601f1061185c57610100808354040283529160200191611887565b820191906000526020600020905b81548152906001019060200180831161186a57829003601f168201915b5050505050815260200182600201846040516020016118a792919061546b565b60405160208183030381529060405281526020018260030180546118ca90614624565b80601f01602080910402602001604051908101604052809291908181526020018280546118f690614624565b80156119435780601f1061191857610100808354040283529160200191611943565b820191906000526020600020905b81548152906001019060200180831161192657829003601f168201915b505050505081525061195485612a89565b848154811061196657611965614a36565b5b9060005260206000209060040201600082015181600001908051906020019061199092919061392e565b5060208201518160010190805190602001906119ad92919061392e565b5060408201518160020190805190602001906119ca92919061392e565b5060608201518160030190805190602001906119e792919061392e565b5090505050505050565b3373ffffffffffffffffffffffffffffffffffffffff16601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a4b57600080fd5b60005b8151811015611bab57611a6083612a89565b6040518060800160405280848481518110611a7e57611a7d614a36565b5b6020026020010151600001518152602001848481518110611aa257611aa1614a36565b5b6020026020010151602001518152602001848481518110611ac657611ac5614a36565b5b6020026020010151604001518152602001848481518110611aea57611ae9614a36565b5b60200260200101516060015181525090806001815401808255809150506001900390600052602060002090600402016000909190919091506000820151816000019080519060200190611b3e92919061392e565b506020820151816001019080519060200190611b5b92919061392e565b506040820151816002019080519060200190611b7892919061392e565b506060820151816003019080519060200190611b9592919061392e565b5050508080611ba390614a65565b915050611a4e565b505050565b600081118015611bc1575060148111155b8015611bd9575060115481611bd6919061511a565b34145b8015611bed5750600f54611beb610c7b565b105b611c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c23906154db565b60405180910390fd5b60005b81811015611c5257611c3f612ae3565b8080611c4a90614a65565b915050611c2f565b5050565b3373ffffffffffffffffffffffffffffffffffffffff16611c7682610f6f565b73ffffffffffffffffffffffffffffffffffffffff1614611c9657600080fd5b611ca33361dead836126ed565b611cab612ae3565b50565b600c828051602081018201805184825260208301602085012081835280955050505050508181548110611ce057600080fd5b906000526020600020906004020160009150915050806000018054611d0490614624565b80601f0160208091040260200160405190810160405280929190818152602001828054611d3090614624565b8015611d7d5780601f10611d5257610100808354040283529160200191611d7d565b820191906000526020600020905b815481529060010190602001808311611d6057829003601f168201915b505050505090806001018054611d9290614624565b80601f0160208091040260200160405190810160405280929190818152602001828054611dbe90614624565b8015611e0b5780601f10611de057610100808354040283529160200191611e0b565b820191906000526020600020905b815481529060010190602001808311611dee57829003601f168201915b505050505090806002018054611e2090614624565b80601f0160208091040260200160405190810160405280929190818152602001828054611e4c90614624565b8015611e995780601f10611e6e57610100808354040283529160200191611e99565b820191906000526020600020905b815481529060010190602001808311611e7c57829003601f168201915b505050505090806003018054611eae90614624565b80601f0160208091040260200160405190810160405280929190818152602001828054611eda90614624565b8015611f275780601f10611efc57610100808354040283529160200191611f27565b820191906000526020600020905b815481529060010190602001808311611f0a57829003601f168201915b5050505050905084565b6060611f3c826124e2565b611f4557600080fd5b6000611f508361081d565b9050611f9e611f5e84612b9e565b611f6f611f6a846112d0565b612cff565b611f78846110bf565b604051602001611f8a9392919061570f565b604051602081830303815290604052612cff565b604051602001611fae91906157b8565b604051602081830303815290604052915050919050565b600080611fd0610c7b565b9050610bb88111611fec57670de0b6b3a7640000915050612095565b610bb881118015611fff5750610fa08111155b1561201557670de0b6b3a7640000915050612095565b610fa08111801561202857506117708111155b1561203e57671bc16d674ec80000915050612095565b611770811180156120515750611f408111155b15612067576729a2241af62c0000915050612095565b611f408111801561207a57506127108111155b1561209057673782dace9d900000915050612095565b600080fd5b90565b3373ffffffffffffffffffffffffffffffffffffffff16601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146120f257600080fd5b600d60009054906101000a900463ffffffff1663ffffffff168263ffffffff161061211c57600080fd5b600c8282604051602001612131929190614c6d565b60405160208183030381529060405260405161214d9190614ce0565b9081526020016040518091039020600061216791906139b4565b5050565b60606040518060600160405280602b8152602001615ee4602b9139905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600081118015612230575060148111155b61223957600080fd5b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc67903383612281611fc5565b61228b919061511a565b6040518363ffffffff1660e01b81526004016122a89291906157da565b600060405180830381600087803b1580156122c257600080fd5b505af11580156122d6573d6000803e3d6000fd5b5050505060005b81811015612300576122ed612ae3565b80806122f890614a65565b9150506122dd565b5050565b60606000849050600084846123199190615803565b67ffffffffffffffff81111561233257612331613ed5565b5b6040519080825280601f01601f1916602001820160405280156123645781602001600182028036833780820191505090505b50905060008590505b848110156123f35782818151811061238857612387614a36565b5b602001015160f81c60f81b8287836123a09190615803565b815181106123b1576123b0614a36565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080806123eb90614a65565b91505061236d565b5080925050509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124cb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124db57506124da82612e84565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125c983610f6f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061261a826124e2565b612659576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612650906158a9565b60405180910390fd5b600061266483610f6f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806126d357508373ffffffffffffffffffffffffffffffffffffffff166126bb84610a41565b73ffffffffffffffffffffffffffffffffffffffff16145b806126e457506126e3818561218b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661270d82610f6f565b73ffffffffffffffffffffffffffffffffffffffff1614612763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275a9061593b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ca906159cd565b60405180910390fd5b6127de838383612eee565b6127e9600082612556565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128399190615803565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128909190615174565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000808290506000805b82518160ff161015612a22576030838260ff168151811061297757612976614a36565b5b602001015160f81c60f81b60f81c60ff16101580156129bd57506039838260ff16815181106129a9576129a8614a36565b5b602001015160f81c60f81b60f81c60ff1611155b15612a0f57600a826129cf91906159ed565b91506030838260ff16815181106129e9576129e8614a36565b5b602001015160f81c60f81b60f81c612a0191906150e6565b82612a0c9190614bdf565b91505b8080612a1a90615a28565b915050612953565b508092505050919050565b612a388484846126ed565b612a4484848484613002565b612a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7a90615ac4565b60405180910390fd5b50505050565b6000600c600d60009054906101000a900463ffffffff1683604051602001612ab2929190614c6d565b604051602081830303815290604052604051612ace9190614ce0565b90815260200160405180910390209050919050565b6000612aed610c7b565b9050600e5481108015612b065750612b0433613199565b155b612b0f57600080fd5b6000819050612b20813360006131ac565b600b60008381526020019081526020016000209080519060200190612b4692919061392e565b506001600a600b6000848152602001908152602001600020604051612b6b9190615ae4565b908152602001604051809103902060006101000a81548160ff021916908315150217905550612b9a338261332e565b5050565b60606000821415612be6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cfa565b600082905060005b60008214612c18578080612c0190614a65565b915050600a82612c119190615afb565b9150612bee565b60008167ffffffffffffffff811115612c3457612c33613ed5565b5b6040519080825280601f01601f191660200182016040528015612c665781602001600182028036833780820191505090505b5090505b60008514612cf357600182612c7f9190615803565b9150600a85612c8e9190615b2c565b6030612c9a9190615174565b60f81b818381518110612cb057612caf614a36565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cec9190615afb565b9450612c6a565b8093505050505b919050565b6060600082511415612d2257604051806020016040528060008152509050612e7f565b6000604051806060016040528060408152602001615f0f6040913990506000600360028551612d519190615174565b612d5b9190615afb565b6004612d67919061511a565b90506000602082612d789190615174565b67ffffffffffffffff811115612d9157612d90613ed5565b5b6040519080825280601f01601f191660200182016040528015612dc35781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612e3e576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b825260018201915050612dd7565b600389510660018114612e585760028114612e6857612e73565b613d3d60f01b6002830352612e73565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612ef98383836134fc565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f3c57612f3781613501565b612f7b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f7a57612f79838261354a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612fbe57612fb9816136b7565b612ffd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612ffc57612ffb8282613788565b5b5b505050565b60006130238473ffffffffffffffffffffffffffffffffffffffff16613807565b1561318c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261304c61254e565b8786866040518563ffffffff1660e01b815260040161306e9493929190615ba7565b602060405180830381600087803b15801561308857600080fd5b505af19250505080156130b957506040513d601f19601f820116820180604052508101906130b69190615c08565b60015b61313c573d80600081146130e9576040519150601f19603f3d011682016040523d82523d6000602084013e6130ee565b606091505b50600081511415613134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312b90615ac4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613191565b600190505b949350505050565b600080823b905060008111915050919050565b6060600a82106131bb57600080fd5b60006040518060400160405280600281526020017f3030000000000000000000000000000000000000000000000000000000000000815250905060005b60058160ff1610156132d1576010600081548092919061321790614a65565b91905055506000612710424489898960105460405160200161323e96959493929190615c7d565b6040516020818303038152906040528051906020012060001c6132619190615b2c565b90508261329b6132758361ffff168561381a565b6040516020016132859190615d39565b6040516020818303038152906040526002613906565b6040516020016132ac929190615d5b565b60405160208183030381529060405292505080806132c990615a28565b9150506131f8565b50600a816040516132e29190615d7f565b908152602001604051809103902060009054906101000a900460ff16156133225761331a85856001866133159190615174565b6131ac565b915050613327565b809150505b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561339e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339590615de2565b60405180910390fd5b6133a7816124e2565b156133e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133de90615e4e565b60405180910390fd5b6133f360008383612eee565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134439190615174565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161355784611218565b6135619190615803565b9050600060076000848152602001908152602001600020549050818114613646576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506136cb9190615803565b90506000600960008481526020019081526020016000205490506000600883815481106136fb576136fa614a36565b5b90600052602060002001549050806008838154811061371d5761371c614a36565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061376c5761376b615e6e565b5b6001900381819060005260206000200160009055905550505050565b600061379383611218565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b60606000805b60128460ff166005811061383757613836614a36565b5b01805490508160ff1610156138fa57600060128560ff166005811061385f5761385e614a36565b5b018260ff168154811061387557613874614a36565b5b90600052602060002090601091828204019190066002029054906101000a900461ffff1690508261ffff1686101580156138bd575080836138b69190615eab565b61ffff1686105b156138d8576138ce8260ff16612b9e565b9350505050613900565b80836138e49190615eab565b92505080806138f290615a28565b915050613820565b50600080fd5b92915050565b606060008390506139258484835161391e9190615803565b8351612304565b91505092915050565b82805461393a90614624565b90600052602060002090601f01602090048101928261395c57600085556139a3565b82601f1061397557805160ff19168380011785556139a3565b828001600101855582156139a3579182015b828111156139a2578251825591602001919060010190613987565b5b5090506139b091906139d8565b5090565b50805460008255600402906000526020600020908101906139d591906139f5565b50565b5b808211156139f15760008160009055506001016139d9565b5090565b5b80821115613a485760008082016000613a0f9190613a4c565b600182016000613a1f9190613a4c565b600282016000613a2f9190613a4c565b600382016000613a3f9190613a4c565b506004016139f6565b5090565b508054613a5890614624565b6000825580601f10613a6a5750613a89565b601f016020900490600052602060002090810190613a8891906139d8565b5b50565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b613ab381613aa0565b8114613abe57600080fd5b50565b600081359050613ad081613aaa565b92915050565b600060208284031215613aec57613aeb613a96565b5b6000613afa84828501613ac1565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b3d578082015181840152602081019050613b22565b83811115613b4c576000848401525b50505050565b6000601f19601f8301169050919050565b6000613b6e82613b03565b613b788185613b0e565b9350613b88818560208601613b1f565b613b9181613b52565b840191505092915050565b60006020820190508181036000830152613bb68184613b63565b905092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613bf381613bbe565b8114613bfe57600080fd5b50565b600081359050613c1081613bea565b92915050565b600060208284031215613c2c57613c2b613a96565b5b6000613c3a84828501613c01565b91505092915050565b60008115159050919050565b613c5881613c43565b82525050565b6000602082019050613c736000830184613c4f565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ca482613c79565b9050919050565b613cb481613c99565b82525050565b6000602082019050613ccf6000830184613cab565b92915050565b613cde81613c99565b8114613ce957600080fd5b50565b600081359050613cfb81613cd5565b92915050565b60008060408385031215613d1857613d17613a96565b5b6000613d2685828601613cec565b9250506020613d3785828601613ac1565b9150509250929050565b613d4a81613aa0565b82525050565b6000602082019050613d656000830184613d41565b92915050565b600080600060608486031215613d8457613d83613a96565b5b6000613d9286828701613cec565b9350506020613da386828701613cec565b9250506040613db486828701613ac1565b9150509250925092565b600060208284031215613dd457613dd3613a96565b5b6000613de284828501613cec565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613e2081613aa0565b82525050565b6000613e328383613e17565b60208301905092915050565b6000602082019050919050565b6000613e5682613deb565b613e608185613df6565b9350613e6b83613e07565b8060005b83811015613e9c578151613e838882613e26565b9750613e8e83613e3e565b925050600181019050613e6f565b5085935050505092915050565b60006020820190508181036000830152613ec38184613e4b565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f0d82613b52565b810181811067ffffffffffffffff82111715613f2c57613f2b613ed5565b5b80604052505050565b6000613f3f613a8c565b9050613f4b8282613f04565b919050565b600067ffffffffffffffff821115613f6b57613f6a613ed5565b5b613f7482613b52565b9050602081019050919050565b82818337600083830152505050565b6000613fa3613f9e84613f50565b613f35565b905082815260208101848484011115613fbf57613fbe613ed0565b5b613fca848285613f81565b509392505050565b600082601f830112613fe757613fe6613ecb565b5b8135613ff7848260208601613f90565b91505092915050565b60006020828403121561401657614015613a96565b5b600082013567ffffffffffffffff81111561403457614033613a9b565b5b61404084828501613fd2565b91505092915050565b61405281613c43565b811461405d57600080fd5b50565b60008135905061406f81614049565b92915050565b6000806040838503121561408c5761408b613a96565b5b600061409a85828601613cec565b92505060206140ab85828601614060565b9150509250929050565b600067ffffffffffffffff8211156140d0576140cf613ed5565b5b6140d982613b52565b9050602081019050919050565b60006140f96140f4846140b5565b613f35565b90508281526020810184848401111561411557614114613ed0565b5b614120848285613f81565b509392505050565b600082601f83011261413d5761413c613ecb565b5b813561414d8482602086016140e6565b91505092915050565b600080600080608085870312156141705761416f613a96565b5b600061417e87828801613cec565b945050602061418f87828801613cec565b93505060406141a087828801613ac1565b925050606085013567ffffffffffffffff8111156141c1576141c0613a9b565b5b6141cd87828801614128565b91505092959194509250565b6000806000606084860312156141f2576141f1613a96565b5b600061420086828701613ac1565b935050602061421186828701613ac1565b925050604084013567ffffffffffffffff81111561423257614231613a9b565b5b61423e86828701613fd2565b9150509250925092565b600067ffffffffffffffff82111561426357614262613ed5565b5b602082029050602081019050919050565b600080fd5b600080fd5b600080fd5b60006080828403121561429957614298614279565b5b6142a36080613f35565b9050600082013567ffffffffffffffff8111156142c3576142c261427e565b5b6142cf84828501613fd2565b600083015250602082013567ffffffffffffffff8111156142f3576142f261427e565b5b6142ff84828501613fd2565b602083015250604082013567ffffffffffffffff8111156143235761432261427e565b5b61432f84828501613fd2565b604083015250606082013567ffffffffffffffff8111156143535761435261427e565b5b61435f84828501613fd2565b60608301525092915050565b600061437e61437984614248565b613f35565b905080838252602082019050602084028301858111156143a1576143a0614274565b5b835b818110156143e857803567ffffffffffffffff8111156143c6576143c5613ecb565b5b8086016143d38982614283565b855260208501945050506020810190506143a3565b5050509392505050565b600082601f83011261440757614406613ecb565b5b813561441784826020860161436b565b91505092915050565b6000806040838503121561443757614436613a96565b5b600061444585828601613ac1565b925050602083013567ffffffffffffffff81111561446657614465613a9b565b5b614472858286016143f2565b9150509250929050565b6000806040838503121561449357614492613a96565b5b600083013567ffffffffffffffff8111156144b1576144b0613a9b565b5b6144bd85828601614128565b92505060206144ce85828601613ac1565b9150509250929050565b600060808201905081810360008301526144f28187613b63565b905081810360208301526145068186613b63565b9050818103604083015261451a8185613b63565b9050818103606083015261452e8184613b63565b905095945050505050565b600063ffffffff82169050919050565b61455281614539565b811461455d57600080fd5b50565b60008135905061456f81614549565b92915050565b6000806040838503121561458c5761458b613a96565b5b600061459a85828601614560565b92505060206145ab85828601613ac1565b9150509250929050565b600080604083850312156145cc576145cb613a96565b5b60006145da85828601613cec565b92505060206145eb85828601613cec565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061463c57607f821691505b602082108114156146505761464f6145f5565b5b50919050565b600081905092915050565b7f3031000000000000000000000000000000000000000000000000000000000000600082015250565b6000614697600283614656565b91506146a282614661565b600282019050919050565b60006146b882613b03565b6146c28185614656565b93506146d2818560208601613b1f565b80840191505092915050565b60006146e98261468a565b91506146f582846146ad565b915081905092915050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061475c602c83613b0e565b915061476782614700565b604082019050919050565b6000602082019050818103600083015261478b8161474f565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006147ee602183613b0e565b91506147f982614792565b604082019050919050565b6000602082019050818103600083015261481d816147e1565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614880603883613b0e565b915061488b82614824565b604082019050919050565b600060208201905081810360008301526148af81614873565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148f082614539565b915063ffffffff821415614907576149066148b6565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061496e603183613b0e565b915061497982614912565b604082019050919050565b6000602082019050818103600083015261499d81614961565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614a00602b83613b0e565b9150614a0b826149a4565b604082019050919050565b60006020820190508181036000830152614a2f816149f3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614a7082613aa0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614aa357614aa26148b6565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614b0a602c83613b0e565b9150614b1582614aae565b604082019050919050565b60006020820190508181036000830152614b3981614afd565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614b9c602983613b0e565b9150614ba782614b40565b604082019050919050565b60006020820190508181036000830152614bcb81614b8f565b9050919050565b600060ff82169050919050565b6000614bea82614bd2565b9150614bf583614bd2565b92508260ff03821115614c0b57614c0a6148b6565b5b828201905092915050565b60008160e01b9050919050565b6000614c2e82614c16565b9050919050565b614c46614c4182614539565b614c23565b82525050565b6000819050919050565b614c67614c6282613aa0565b614c4c565b82525050565b6000614c798285614c35565b600482019150614c898284614c56565b6020820191508190509392505050565b600081519050919050565b600081905092915050565b6000614cba82614c99565b614cc48185614ca4565b9350614cd4818560208601613b1f565b80840191505092915050565b6000614cec8284614caf565b915081905092915050565b7f7b2274726169745f74797065223a220000000000000000000000000000000000600082015250565b6000614d2d600f83614656565b9150614d3882614cf7565b600f82019050919050565b60008190508160005260206000209050919050565b60008154614d6581614624565b614d6f8186614656565b94506001821660008114614d8a5760018114614d9b57614dce565b60ff19831686528186019350614dce565b614da485614d43565b60005b83811015614dc657815481890152600182019150602081019050614da7565b838801955050505b50505092915050565b7f222c2276616c7565223a22000000000000000000000000000000000000000000600082015250565b6000614e0d600b83614656565b9150614e1882614dd7565b600b82019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e59600283614656565b9150614e6482614e23565b600282019050919050565b6000614e7b82866146ad565b9150614e8682614d20565b9150614e928285614d58565b9150614e9d82614e00565b9150614ea98284614d58565b9150614eb482614e4c565b9150819050949350505050565b7f2c00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ef7600183614656565b9150614f0282614ec1565b600182019050919050565b6000614f1982846146ad565b9150614f2482614eea565b915081905092915050565b7f5b00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614f65600183614656565b9150614f7082614f2f565b600182019050919050565b7f5d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614fb1600183614656565b9150614fbc82614f7b565b600182019050919050565b6000614fd282614f58565b9150614fde82846146ad565b9150614fe982614fa4565b915081905092915050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615050602a83613b0e565b915061505b82614ff4565b604082019050919050565b6000602082019050818103600083015261507f81615043565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006150c082614bd2565b91506150cb83614bd2565b9250826150db576150da615086565b5b828204905092915050565b60006150f182614bd2565b91506150fc83614bd2565b92508282101561510f5761510e6148b6565b5b828203905092915050565b600061512582613aa0565b915061513083613aa0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615169576151686148b6565b5b828202905092915050565b600061517f82613aa0565b915061518a83613aa0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156151bf576151be6148b6565b5b828201905092915050565b60006151d682856146ad565b91506151e28284614d58565b91508190509392505050565b60006151f982613aa0565b9150600082141561520d5761520c6148b6565b5b600182039050919050565b7f3c737667207374796c653d2273686170652d72656e646572696e673a2063726960008201527f737065646765733b2220786d6c6e733d22687474703a2f2f7777772e77332e6f60208201527f72672f323030302f73766722207072657365727665417370656374526174696f60408201527f3d22784d696e594d696e206d656574222076696577426f783d2230203020333260608201527f203332223e200000000000000000000000000000000000000000000000000000608082015250565b60006152e6608683614656565b91506152f182615218565b608682019050919050565b7f3c7374796c653e726563747b77696474683a3170783b6865696768743a31707860008201527f3b7d000000000000000000000000000000000000000000000000000000000000602082015250565b6000615358602283614656565b9150615363826152fc565b602282019050919050565b7f3c2f7374796c653e3c2f7376673e000000000000000000000000000000000000600082015250565b60006153a4600e83614656565b91506153af8261536e565b600e82019050919050565b60006153c5826152d9565b91506153d182856146ad565b91506153dc8261534b565b91506153e882846146ad565b91506153f382615397565b91508190509392505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615435601983613b0e565b9150615440826153ff565b602082019050919050565b6000602082019050818103600083015261546481615428565b9050919050565b60006154778285614d58565b915061548382846146ad565b91508190509392505050565b7f436865636b2076616c7565732e00000000000000000000000000000000000000600082015250565b60006154c5600d83613b0e565b91506154d08261548f565b602082019050919050565b600060208201905081810360008301526154f4816154b8565b9050919050565b7f7b226e616d65223a202253747261776265727269657320230000000000000000600082015250565b6000615531601883614656565b915061553c826154fb565b601882019050919050565b7f222c20226465736372697074696f6e223a20224120636f6c6c656374696f6e2060008201527f6f662031302c30303020756e69717565207374726177626572726965732e204160208201527f6c6c20746865206d6574616461746120616e6420696d6167657320617265206760408201527f656e65726174656420616e642073746f726564206f6e2d636861696e2e204e6f60608201527f20495046532c206e6f204150492e204a7573742074686520626c6f636b63686160808201527f696e2e222c2022696d616765223a2022646174613a696d6167652f7376672b7860a08201527f6d6c3b6261736536342c0000000000000000000000000000000000000000000060c082015250565b600061566160ca83614656565b915061566c82615547565b60ca82019050919050565b7f222c2261747472696275746573223a0000000000000000000000000000000000600082015250565b60006156ad600f83614656565b91506156b882615677565b600f82019050919050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b60006156f9600183614656565b9150615704826156c3565b600182019050919050565b600061571a82615524565b915061572682866146ad565b915061573182615654565b915061573d82856146ad565b9150615748826156a0565b915061575482846146ad565b915061575f826156ec565b9150819050949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b60006157a2601d83614656565b91506157ad8261576c565b601d82019050919050565b60006157c382615795565b91506157cf82846146ad565b915081905092915050565b60006040820190506157ef6000830185613cab565b6157fc6020830184613d41565b9392505050565b600061580e82613aa0565b915061581983613aa0565b92508282101561582c5761582b6148b6565b5b828203905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615893602c83613b0e565b915061589e82615837565b604082019050919050565b600060208201905081810360008301526158c281615886565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000615925602983613b0e565b9150615930826158c9565b604082019050919050565b6000602082019050818103600083015261595481615918565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006159b7602483613b0e565b91506159c28261595b565b604082019050919050565b600060208201905081810360008301526159e6816159aa565b9050919050565b60006159f882614bd2565b9150615a0383614bd2565b92508160ff0483118215151615615a1d57615a1c6148b6565b5b828202905092915050565b6000615a3382614bd2565b915060ff821415615a4757615a466148b6565b5b600182019050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615aae603283613b0e565b9150615ab982615a52565b604082019050919050565b60006020820190508181036000830152615add81615aa1565b9050919050565b6000615af08284614d58565b915081905092915050565b6000615b0682613aa0565b9150615b1183613aa0565b925082615b2157615b20615086565b5b828204905092915050565b6000615b3782613aa0565b9150615b4283613aa0565b925082615b5257615b51615086565b5b828206905092915050565b600082825260208201905092915050565b6000615b7982614c99565b615b838185615b5d565b9350615b93818560208601613b1f565b615b9c81613b52565b840191505092915050565b6000608082019050615bbc6000830187613cab565b615bc96020830186613cab565b615bd66040830185613d41565b8181036060830152615be88184615b6e565b905095945050505050565b600081519050615c0281613bea565b92915050565b600060208284031215615c1e57615c1d613a96565b5b6000615c2c84828501615bf3565b91505092915050565b60008160601b9050919050565b6000615c4d82615c35565b9050919050565b6000615c5f82615c42565b9050919050565b615c77615c7282613c99565b615c54565b82525050565b6000615c898289614c56565b602082019150615c998288614c56565b602082019150615ca98287614c56565b602082019150615cb98286615c66565b601482019150615cc98285614c56565b602082019150615cd98284614c56565b602082019150819050979650505050505050565b7f3030000000000000000000000000000000000000000000000000000000000000600082015250565b6000615d23600283614656565b9150615d2e82615ced565b600282019050919050565b6000615d4482615d16565b9150615d5082846146ad565b915081905092915050565b6000615d6782856146ad565b9150615d7382846146ad565b91508190509392505050565b6000615d8b82846146ad565b915081905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615dcc602083613b0e565b9150615dd782615d96565b602082019050919050565b60006020820190508181036000830152615dfb81615dbf565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615e38601c83613b0e565b9150615e4382615e02565b602082019050919050565b60006020820190508181036000830152615e6781615e2b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600061ffff82169050919050565b6000615eb682615e9d565b9150615ec183615e9d565b92508261ffff03821115615ed857615ed76148b6565b5b82820190509291505056fe68747470733a2f2f7777772e74686566727569746e66742e636f6d2f737472617762657272792e6a736f6e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220aedaf7590f628c19c3a34ace873cc9125da32f179c26928893ed90894900f67664736f6c63430008090033
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.